Branch indexing 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 edgego for edgexfoundry/edgex-go Loading trusted files from base branch main at e2bcede5a0d4e7e9b0fcf2d4a4892af33f93e0b1 rather than fdedb7c4f18be2ab8b039937087657789280bd56 Obtained Jenkinsfile from e2bcede5a0d4e7e9b0fcf2d4a4892af33f93e0b1 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-ssh15511449943984536060.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh4349159541447388806.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-3842/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6410509266606226116.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11647661875321012613.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3842/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-3842/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17091221374573841032.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16242 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/72 [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/72 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e2bcede5a0d4e7e9b0fcf2d4a4892af33f93e0b1 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 Merge succeeded, producing c9a87eeebf182408547ad5c6f9616f03d41612e3 Checking out Revision c9a87eeebf182408547ad5c6f9616f03d41612e3 (PR-3842) > git config core.sparsecheckout # timeout=10 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # 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 e2bcede5a0d4e7e9b0fcf2d4a4892af33f93e0b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9a87eeebf182408547ad5c6f9616f03d41612e3 # timeout=10 Commit message: "Merge commit 'e2bcede5a0d4e7e9b0fcf2d4a4892af33f93e0b1' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:31:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:31:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:31:06 ========================================================= 16:31:06 EdgeX Global Pipelines Version Info 16:31:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6a44aa9a084cb99d6225c848a9b8dbb9d0f90e8e # timeout=10 16:31:07 ------------------- 16:31:07 stable info: 16:31:07 ------------------- 16:31:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:31:07 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:31:07 Message: update stable to v1.0.234 16:31:07 ------------------- 16:31:07 experimental info: 16:31:07 ------------------- 16:31:07 Commited By: **** collab-it+edgex@linuxfoundation.org 16:31:07 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 16:31:07 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:31:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3842 [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3842 [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3842 [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9a87eeebf182408547ad5c6f9616f03d41612e3 [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9a87ee [Pipeline] echo 16:31:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:31:08 provisioning config files... 16:31:08 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/72@tmp/config7740389884502148671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:08 ---> docker-login.sh 16:31:08 nexus3.edgexfoundry.org:10001 16:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:08 Configure a credential helper to remove this warning. See 16:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:08 16:31:08 Login Succeeded 16:31:08 nexus3.edgexfoundry.org:10002 16:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:08 Configure a credential helper to remove this warning. See 16:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:08 16:31:08 Login Succeeded 16:31:08 nexus3.edgexfoundry.org:10003 16:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:08 Configure a credential helper to remove this warning. See 16:31:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:08 16:31:08 Login Succeeded 16:31:08 nexus3.edgexfoundry.org:10004 16:31:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:09 Configure a credential helper to remove this warning. See 16:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:09 16:31:09 Login Succeeded 16:31:09 docker.io 16:31:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:31:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:31:09 Configure a credential helper to remove this warning. See 16:31:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:31:09 16:31:09 Login Succeeded 16:31:09 ---> docker-login.sh ends [Pipeline] } 16:31:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:09 + 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 16:31:09 + dirname cmd/core-command/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo core-command,cmd/core-command/Dockerfile 16:31:09 + + dirname cmd/core-data/Dockerfile 16:31:09 cut -d/ -f2 16:31:09 + echo core-data,cmd/core-data/Dockerfile 16:31:09 + dirname cmd/core-metadata/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo core-metadata,cmd/core-metadata/Dockerfile 16:31:09 + dirname cmd/security-bootstrapper/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 16:31:09 + dirname cmd/security-proxy-setup/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 16:31:09 + dirname cmd/security-secretstore-setup/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 16:31:09 + dirname cmd/security-spiffe-token-provider/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo security-spiffe-token-provider,cmd/security-spiffe-token-provider/Dockerfile 16:31:09 + dirname cmd/security-spire-agent/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo security-spire-agent,cmd/security-spire-agent/Dockerfile 16:31:09 + dirname cmd/security-spire-config/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo security-spire-config,cmd/security-spire-config/Dockerfile 16:31:09 + dirname cmd/security-spire-server/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo security-spire-server,cmd/security-spire-server/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + dirname cmd/support-notifications/Dockerfile 16:31:09 + echo support-notifications,cmd/support-notifications/Dockerfile 16:31:09 + dirname cmd/support-scheduler/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo support-scheduler,cmd/support-scheduler/Dockerfile 16:31:09 + dirname cmd/sys-mgmt-agent/Dockerfile 16:31:09 + cut -d/ -f2 16:31:09 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 16:31:09 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 16:31:10 + git rev-list -1 --merges c9a87eeebf182408547ad5c6f9616f03d41612e3~1..c9a87eeebf182408547ad5c6f9616f03d41612e3 [Pipeline] echo 16:31:10 -----------> git rev-list -1 --merges c9a87eeebf182408547ad5c6f9616f03d41612e3~1..c9a87eeebf182408547ad5c6f9616f03d41612e3 c9a87eeebf182408547ad5c6f9616f03d41612e3 16:31:10 c9a87eeebf182408547ad5c6f9616f03d41612e3 [false] [Pipeline] sh 16:31:10 + git log --format=format:%s -1 c9a87eeebf182408547ad5c6f9616f03d41612e3 [Pipeline] echo 16:31:10 ========================================================= 16:31:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:31:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 16:31:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:31:11 + grep -v github /etc/ssh/ssh_known_hosts 16:31:11 + [ -e /tmp/ssh_known_hosts ] 16:31:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:31:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:31:11 + sudo tee -a /etc/ssh/ssh_known_hosts 16:31:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:31:11 16:31:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:31:11 0.1.4: Pulling from edgex-devops/py-git-semver 16:31:11 42c077c10790: Pulling fs layer 16:31:11 f63e77b7563a: Pulling fs layer 16:31:11 bd5fdadae976: Pulling fs layer 16:31:11 205491f53016: Pulling fs layer 16:31:11 df18705c85c3: Pulling fs layer 16:31:11 bdb3f477010e: Pulling fs layer 16:31:11 c8a8fc8e1c8f: Pulling fs layer 16:31:11 2c6e9b1d212d: Pulling fs layer 16:31:11 bdb8f0575790: Pulling fs layer 16:31:11 386e3cb2ff24: Pulling fs layer 16:31:11 2343380bae48: Pulling fs layer 16:31:11 c8a8fc8e1c8f: Waiting 16:31:11 205491f53016: Waiting 16:31:11 bdb3f477010e: Waiting 16:31:11 2343380bae48: Waiting 16:31:11 386e3cb2ff24: Waiting 16:31:11 2c6e9b1d212d: Waiting 16:31:11 f63e77b7563a: Download complete 16:31:11 205491f53016: Download complete 16:31:11 df18705c85c3: Verifying Checksum 16:31:11 df18705c85c3: Download complete 16:31:11 bd5fdadae976: Verifying Checksum 16:31:11 bd5fdadae976: Download complete 16:31:11 bdb3f477010e: Download complete 16:31:11 2c6e9b1d212d: Download complete 16:31:11 bdb8f0575790: Verifying Checksum 16:31:11 bdb8f0575790: Download complete 16:31:11 386e3cb2ff24: Verifying Checksum 16:31:11 386e3cb2ff24: Download complete 16:31:11 2343380bae48: Verifying Checksum 16:31:11 2343380bae48: Download complete 16:31:11 42c077c10790: Verifying Checksum 16:31:11 42c077c10790: Download complete 16:31:12 c8a8fc8e1c8f: Verifying Checksum 16:31:12 c8a8fc8e1c8f: Download complete 16:31:13 42c077c10790: Pull complete 16:31:13 f63e77b7563a: Pull complete 16:31:13 bd5fdadae976: Pull complete 16:31:13 205491f53016: Pull complete 16:31:14 df18705c85c3: Pull complete 16:31:14 bdb3f477010e: Pull complete 16:31:16 c8a8fc8e1c8f: Pull complete 16:31:16 2c6e9b1d212d: Pull complete 16:31:16 bdb8f0575790: Pull complete 16:31:16 386e3cb2ff24: Pull complete 16:31:16 2343380bae48: Pull complete 16:31:16 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 16:31:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:31:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:16 prd-ubuntu20.04-docker-8c-8g-16242 does not seem to be running inside a container 16:31:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/72 -v /w/workspace/edgex-go/72:/w/workspace/edgex-go/72:rw,z -v /w/workspace/edgex-go/72@tmp:/w/workspace/edgex-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:31:18 $ docker top 1381c09959836601e9e94e8eeb8a85f5e195399071b63e6e6d7edf0b31627302 -eo pid,comm 16:31:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:31:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:31:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:18 [ssh-agent] Looking for ssh-agent implementation... 16:31:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:18 $ docker exec 1381c09959836601e9e94e8eeb8a85f5e195399071b63e6e6d7edf0b31627302 ssh-agent 16:31:18 SSH_AUTH_SOCK=/tmp/ssh-14GshM5AufSD/agent.34 16:31:18 SSH_AGENT_PID=41 16:31:18 Running ssh-add (command line suppressed) 16:31:18 Identity added: /w/workspace/edgex-go/72@tmp/private_key_6515113092729786325.key (/w/workspace/edgex-go/72@tmp/private_key_6515113092729786325.key) 16:31:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:18 + git tag --points-at HEAD [Pipeline] } 16:31:18 $ docker exec --env ******** --env ******** 1381c09959836601e9e94e8eeb8a85f5e195399071b63e6e6d7edf0b31627302 ssh-agent -k 16:31:18 unset SSH_AUTH_SOCK; 16:31:18 unset SSH_AGENT_PID; 16:31:18 echo Agent pid 41 killed; 16:31:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:31:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:31:18 [ssh-agent] Looking for ssh-agent implementation... 16:31:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:31:19 $ docker exec 1381c09959836601e9e94e8eeb8a85f5e195399071b63e6e6d7edf0b31627302 ssh-agent 16:31:19 SSH_AUTH_SOCK=/tmp/ssh-Pp4jihD3OKkQ/agent.76 16:31:19 SSH_AGENT_PID=83 16:31:19 Running ssh-add (command line suppressed) 16:31:19 Identity added: /w/workspace/edgex-go/72@tmp/private_key_5969651483955611133.key (/w/workspace/edgex-go/72@tmp/private_key_5969651483955611133.key) 16:31:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:31:19 + git semver init 16:31:19 2022-06-28 16:31:19,826 [run_init] DEBUG init version:0.0.0 force:False 16:31:19 2022-06-28 16:31:19,827 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgex-go/72/.semver 16:31:19 2022-06-28 16:31:19,828 [execute] INFO git clone -b semver git@github.com:edgexfoundry/edgex-go.git /w/workspace/edgex-go/72/.semver 16:31:19 2022-06-28 16:31:19,828 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/edgex-go.git', '/w/workspace/edgex-go/72/.semver'], cwd=/w/workspace/edgex-go/72, universal_newlines=False, shell=None, istream=None) 16:31:24 2022-06-28 16:31:23,764 [append_file] DEBUG append to file:/w/workspace/edgex-go/72/.git/info/exclude 16:31:24 2022-06-28 16:31:23,765 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgex-go/72/.semver/PR-3842 with force:False 16:31:24 2022-06-28 16:31:23,765 [write_file] DEBUG write to file:/w/workspace/edgex-go/72/.semver/PR-3842 16:31:24 2022-06-28 16:31:23,769 [execute] INFO git cat-file --batch-check 16:31:24 2022-06-28 16:31:23,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgex-go/72/.semver, universal_newlines=False, shell=None, istream=) 16:31:24 2022-06-28 16:31:23,776 [execute] INFO git cat-file --batch 16:31:24 2022-06-28 16:31:23,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgex-go/72/.semver, universal_newlines=False, shell=None, istream=) 16:31:24 2022-06-28 16:31:23,782 [read_version] DEBUG read version from /w/workspace/edgex-go/72/.semver/PR-3842 16:31:24 0.0.0 [Pipeline] } 16:31:24 $ docker exec --env ******** --env ******** 1381c09959836601e9e94e8eeb8a85f5e195399071b63e6e6d7edf0b31627302 ssh-agent -k 16:31:24 unset SSH_AUTH_SOCK; 16:31:24 unset SSH_AGENT_PID; 16:31:24 echo Agent pid 83 killed; 16:31:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:31:24 + git semver [Pipeline] } 16:31:24 $ docker stop --time=1 1381c09959836601e9e94e8eeb8a85f5e195399071b63e6e6d7edf0b31627302 16:31:26 $ docker rm -f 1381c09959836601e9e94e8eeb8a85f5e195399071b63e6e6d7edf0b31627302 [Pipeline] // withDockerContainer [Pipeline] sh 16:31:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:31:26 Stashed 1 file(s) [Pipeline] echo 16:31:26 [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 16:31:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:31:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:31:26 ========================================================= 16:31:26 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:31:26 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:31:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:31:27 59bf1c3509f3: Pulling fs layer 16:31:27 666ba61612fd: Pulling fs layer 16:31:27 8ed8ca486205: Pulling fs layer 16:31:27 cc1cd167ecdc: Pulling fs layer 16:31:27 c516ae0d96e1: Pulling fs layer 16:31:27 684cea983483: Pulling fs layer 16:31:27 dd3240ac7de5: Pulling fs layer 16:31:27 b1e948a4e11c: Pulling fs layer 16:31:27 a8fd76ee1af6: Pulling fs layer 16:31:27 646ad004c059: Pulling fs layer 16:31:27 684cea983483: Waiting 16:31:27 cc1cd167ecdc: Waiting 16:31:27 c516ae0d96e1: Waiting 16:31:27 646ad004c059: Waiting 16:31:27 a8fd76ee1af6: Waiting 16:31:27 b1e948a4e11c: Waiting 16:31:27 8ed8ca486205: Verifying Checksum 16:31:27 8ed8ca486205: Download complete 16:31:27 666ba61612fd: Download complete 16:31:27 c516ae0d96e1: Verifying Checksum 16:31:27 c516ae0d96e1: Download complete 16:31:27 684cea983483: Verifying Checksum 16:31:27 684cea983483: Download complete 16:31:27 dd3240ac7de5: Verifying Checksum 16:31:27 dd3240ac7de5: Download complete 16:31:27 59bf1c3509f3: Verifying Checksum 16:31:27 59bf1c3509f3: Download complete 16:31:27 b1e948a4e11c: Verifying Checksum 16:31:27 b1e948a4e11c: Download complete 16:31:27 59bf1c3509f3: Pull complete 16:31:27 666ba61612fd: Pull complete 16:31:27 8ed8ca486205: Pull complete 16:31:28 646ad004c059: Verifying Checksum 16:31:28 646ad004c059: Download complete 16:31:28 a8fd76ee1af6: Verifying Checksum 16:31:28 a8fd76ee1af6: Download complete 16:31:28 cc1cd167ecdc: Verifying Checksum 16:31:28 cc1cd167ecdc: Download complete 16:31:32 cc1cd167ecdc: Pull complete 16:31:32 c516ae0d96e1: Pull complete 16:31:32 684cea983483: Pull complete 16:31:32 dd3240ac7de5: Pull complete 16:31:32 b1e948a4e11c: Pull complete 16:31:34 a8fd76ee1af6: Pull complete 16:31:34 646ad004c059: Pull complete 16:31:34 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 16:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:31:35 + echo+ FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:35 WORKDIR /edgex 16:31:35 COPY go.mod . 16:31:35 RUN go mod download 16:31:35 docker build -t ci-base-image-x86_64 -f - . 16:31:36 Sending build context to Docker daemon 335.2MB 16:31:36 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:31:36 ---> 8f69c11f6b0c 16:31:36 Step 2/4 : WORKDIR /edgex 16:31:38 ---> Running in 19dbbaa953bb 16:31:38 Removing intermediate container 19dbbaa953bb 16:31:38 ---> bf842a131fe4 16:31:38 Step 3/4 : COPY go.mod . 16:31:38 ---> 912a01b18db3 16:31:38 Step 4/4 : RUN go mod download 16:31:38 ---> Running in d00776abbf7b 16:31:41 Still waiting to schedule task 16:31:41 ‘prd-centos7-blackbox-4c-2g-15591’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:31:41 ‘prd-ubuntu20.04-docker-8c-8g-16234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:31:41 ‘prd-ubuntu20.04-docker-8c-8g-16241’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:31:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16235’ is offline 16:31:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16243’ is offline 16:31:53 Removing intermediate container d00776abbf7b 16:31:53 ---> 0cd503c0e053 16:31:53 Successfully built 0cd503c0e053 16:31:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:54 + docker inspect -f . ci-base-image-x86_64 16:31:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:54 prd-ubuntu20.04-docker-8c-8g-16242 does not seem to be running inside a container 16:31:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/72 -v /w/workspace/edgex-go/72:/w/workspace/edgex-go/72:rw,z -v /w/workspace/edgex-go/72@tmp:/w/workspace/edgex-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:31:54 $ docker top b29af85678d04de79029d23502fb10679b218aab9d3e60c1c38e6715e3627fac -eo pid,comm [Pipeline] { [Pipeline] sh 16:31:55 + go version 16:31:55 go version go1.17.7 linux/amd64 [Pipeline] } 16:31:55 $ docker stop --time=1 b29af85678d04de79029d23502fb10679b218aab9d3e60c1c38e6715e3627fac 16:31:56 $ docker rm -f b29af85678d04de79029d23502fb10679b218aab9d3e60c1c38e6715e3627fac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:56 + docker inspect -f . ci-base-image-x86_64 16:31:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:31:56 prd-ubuntu20.04-docker-8c-8g-16242 does not seem to be running inside a container 16:31:56 $ 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/72 -v /w/workspace/edgex-go/72:/w/workspace/edgex-go/72:rw,z -v /w/workspace/edgex-go/72@tmp:/w/workspace/edgex-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:31:57 $ docker top 79d7da73515e71a638b73a5face865cfb85b5ee3fcf92e528a2a39a556ba68ca -eo pid,comm [Pipeline] { [Pipeline] echo 16:31:57 ========================================================= 16:31:57 [edgeXBuildGoParallel] Running Tests and Build... 16:31:57 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:31:57 + make test 16:31:57 go mod tidy -compat=1.17 16:31:57 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 16:31:57 go: finding module for package github.com/prometheus/client_golang/prometheus 16:31:57 go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp 16:31:58 go: downloading github.com/prometheus/client_golang v1.12.2 16:31:58 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1658 16:32:03 go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.2 16:32:03 go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.2 16:32:03 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1658 16:32:04 go: downloading github.com/prometheus/client_model v0.2.0 16:32:04 go: downloading github.com/prometheus/common v0.32.1 16:32:04 go: downloading github.com/beorn7/perks v1.0.1 16:32:04 go: downloading github.com/cespare/xxhash/v2 v2.1.2 16:32:04 go: downloading github.com/prometheus/procfs v0.7.3 16:32:04 go: downloading gopkg.in/ini.v1 v1.66.2 16:32:04 go: downloading github.com/json-iterator/go v1.1.12 16:32:04 go: downloading github.com/modern-go/reflect2 v1.0.2 16:32:04 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af 16:32:04 go: downloading gopkg.in/yaml.v2 v2.4.0 16:32:04 go: downloading github.com/google/btree v1.0.0 16:32:04 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:32:04 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 16:32:04 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 16:32:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:32:09 ? github.com/edgexfoundry/edgex-go [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:32:21 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 16:32:22 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 16:32:22 internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) 16:32:22 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 16:32:22 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 16:32:22 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 16:32:22 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 16:32:22 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 16:32:22 internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) 16:32:22 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 16:32:22 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 16:32:22 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 16:32:22 /w/workspace/edgex-go/72/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 16:32:22 internal/support/notifications/application/channel/sender.go:106:15: too many errors 16:32:22 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.071s coverage: 28.7% of statements 16:32:23 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.106s coverage: 98.5% of statements 16:32:23 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.096s coverage: 54.2% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 2.978s coverage: 89.2% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.111s coverage: 83.8% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.436s coverage: 95.6% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/io 0.075s coverage: 72.2% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.051s coverage: 60.0% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.066s coverage: 0.9% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.068s coverage: 58.8% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.065s coverage: 29.6% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.059s coverage: 47.1% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.065s coverage: 79.5% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.063s coverage: 94.1% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.089s coverage: 96.3% of statements 16:32:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.056s coverage: 87.5% of statements 16:32:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.082s coverage: 94.4% of statements 16:32:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.075s coverage: 44.8% of statements 16:32:38 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.187s coverage: 82.5% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.079s coverage: 92.9% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.040s coverage: 65.1% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.069s coverage: 87.2% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.043s coverage: 100.0% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 58.8% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.0% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.051s coverage: 87.2% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.075s coverage: 85.4% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.205s coverage: 91.2% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.161s coverage: 64.4% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.067s coverage: 100.0% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.037s coverage: 89.4% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.031s coverage: 100.0% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.035s coverage: 100.0% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.305s coverage: 65.4% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.155s coverage: 43.8% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.065s coverage: 89.5% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.050s coverage: 84.8% of statements 16:32:48 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 16:32:48 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.057s coverage: 63.2% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.101s coverage: 97.7% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.063s coverage: 28.9% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.054s coverage: 100.0% of statements 16:32:48 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.032s coverage: 96.9% of statements 16:32:48 make: *** [Makefile:132: unittest] Error 2 [Pipeline] } 16:32:48 $ docker stop --time=1 79d7da73515e71a638b73a5face865cfb85b5ee3fcf92e528a2a39a556ba68ca 16:32:50 $ docker rm -f 79d7da73515e71a638b73a5face865cfb85b5ee3fcf92e528a2a39a556ba68ca [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] } 16:32:50 Failed in branch amd64 16:34:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16246 in /w/workspace/edgexfoundry_edgex-go_PR-3842 [Pipeline] { [Pipeline] ws 16:34:48 Running in /w/workspace/edgex-go/72 [Pipeline] { [Pipeline] checkout 16:34:48 The recommended git tool is: git 16:34:55 using credential edgex-jenkins-ssh 16:34:55 Cloning the remote Git repository 16:34:56 Cloning repository git@github.com:edgexfoundry/edgex-go.git 16:34:56 > git init /w/workspace/edgex-go/72 # timeout=10 16:34:56 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:34:56 > git --version # timeout=10 16:34:56 > git --version # 'git version 2.25.1' 16:34:56 using GIT_SSH to set credentials SSH Credentials for GitHub 16:34:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:15 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:35:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:35:15 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 16:35:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 16:35:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3842/head:refs/remotes/origin/PR-3842 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:35:16 Merging remotes/origin/main commit e2bcede5a0d4e7e9b0fcf2d4a4892af33f93e0b1 into PR head commit fdedb7c4f18be2ab8b039937087657789280bd56 16:35:17 Merge succeeded, producing 6c228d4b4ee0cea3c30d3c294fcf9dcc656ae5ae 16:35:17 Checking out Revision 6c228d4b4ee0cea3c30d3c294fcf9dcc656ae5ae (PR-3842) 16:35:16 > git config core.sparsecheckout # timeout=10 16:35:16 > git checkout -f fdedb7c4f18be2ab8b039937087657789280bd56 # timeout=10 16:35:16 > git remote # timeout=10 16:35:16 > git config --get remote.origin.url # timeout=10 16:35:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:35:16 > git merge e2bcede5a0d4e7e9b0fcf2d4a4892af33f93e0b1 # timeout=10 16:35:17 > git rev-parse HEAD^{commit} # timeout=10 16:35:17 > git config core.sparsecheckout # timeout=10 16:35:17 > git checkout -f 6c228d4b4ee0cea3c30d3c294fcf9dcc656ae5ae # timeout=10 16:35:21 Commit message: "Merge commit 'e2bcede5a0d4e7e9b0fcf2d4a4892af33f93e0b1' into HEAD" 16:35:21 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:35:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:35:22 % Total % Received % Xferd Average Speed Time Time Time Current 16:35:22 Dload Upload Total Spent Left Speed 16:35:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 16:35:21 > git rev-list --no-walk 6a44aa9a084cb99d6225c848a9b8dbb9d0f90e8e # timeout=10 16:35:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:35:23 + sudo tee /etc/docker/daemon.new 16:35:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:35:23 { 16:35:23 "registry-mirrors": [ 16:35:23 "https://nexus3.edgexfoundry.org:10001" 16:35:23 ], 16:35:23 "bip": "10.250.0.254/24", 16:35:23 "hosts": [ 16:35:23 "tcp://0.0.0.0:5555", 16:35:23 "unix:///var/run/docker.sock" 16:35:23 ], 16:35:23 "mtu": 1458, 16:35:23 "selinux-enabled": true, 16:35:23 "seccomp-profile": "/etc/docker/seccomp.json" 16:35:23 } [Pipeline] sh 16:35:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:35:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:42 provisioning config files... 16:35:42 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/72@tmp/config8368387969025247191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:43 ---> docker-login.sh 16:35:43 nexus3.edgexfoundry.org:10001 16:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:44 Configure a credential helper to remove this warning. See 16:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:44 16:35:44 Login Succeeded 16:35:44 nexus3.edgexfoundry.org:10002 16:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:44 Configure a credential helper to remove this warning. See 16:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:44 16:35:44 Login Succeeded 16:35:44 nexus3.edgexfoundry.org:10003 16:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:45 Configure a credential helper to remove this warning. See 16:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:45 16:35:45 Login Succeeded 16:35:45 nexus3.edgexfoundry.org:10004 16:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:45 Configure a credential helper to remove this warning. See 16:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:45 16:35:45 Login Succeeded 16:35:45 docker.io 16:35:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:35:46 Configure a credential helper to remove this warning. See 16:35:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:35:46 16:35:46 Login Succeeded 16:35:46 ---> docker-login.sh ends [Pipeline] } 16:35:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:35:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:35:46 ========================================================= 16:35:46 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:35:46 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:35:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:35:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:35:47 9b3977197b4f: Pulling fs layer 16:35:47 1a89e8eeedd5: Pulling fs layer 16:35:47 94645a83ff95: Pulling fs layer 16:35:47 e6fb740bc735: Pulling fs layer 16:35:47 3a77bd46dcc9: Pulling fs layer 16:35:47 355e64cbe906: Pulling fs layer 16:35:47 63ab81a10011: Pulling fs layer 16:35:47 555d1d1c4555: Pulling fs layer 16:35:47 7d9057610161: Pulling fs layer 16:35:47 e6fb740bc735: Waiting 16:35:47 3a77bd46dcc9: Waiting 16:35:47 355e64cbe906: Waiting 16:35:47 63ab81a10011: Waiting 16:35:47 555d1d1c4555: Waiting 16:35:47 7d9057610161: Waiting 16:35:47 94645a83ff95: Download complete 16:35:47 1a89e8eeedd5: Verifying Checksum 16:35:47 1a89e8eeedd5: Download complete 16:35:47 3a77bd46dcc9: Verifying Checksum 16:35:47 3a77bd46dcc9: Download complete 16:35:47 355e64cbe906: Verifying Checksum 16:35:47 9b3977197b4f: Download complete 16:35:47 355e64cbe906: Download complete 16:35:47 63ab81a10011: Verifying Checksum 16:35:47 63ab81a10011: Download complete 16:35:48 9b3977197b4f: Pull complete 16:35:48 7d9057610161: Verifying Checksum 16:35:48 7d9057610161: Download complete 16:35:48 1a89e8eeedd5: Pull complete 16:35:49 94645a83ff95: Pull complete 16:35:49 555d1d1c4555: Verifying Checksum 16:35:49 555d1d1c4555: Download complete 16:35:50 e6fb740bc735: Verifying Checksum 16:35:50 e6fb740bc735: Download complete 16:36:05 e6fb740bc735: Pull complete 16:36:05 3a77bd46dcc9: Pull complete 16:36:05 355e64cbe906: Pull complete 16:36:05 63ab81a10011: Pull complete 16:36:10 555d1d1c4555: Pull complete 16:36:13 7d9057610161: Pull complete 16:36:13 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:36:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:36:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [Pipeline] fileExists [Pipeline] sh 16:36:13 + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:36:13 WORKDIR /edgex 16:36:13 COPY go.mod . 16:36:13 RUN go mod download 16:36:13 + docker build -t ci-base-image-arm64 -f - . 16:36:16 Sending build context to Docker daemon 169.3MB 16:36:16 Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:36:16 ---> 819e984ddca1 16:36:16 Step 2/4 : WORKDIR /edgex 16:36:18 ---> Running in 006034f72c19 16:36:18 Removing intermediate container 006034f72c19 16:36:18 ---> efeedc8ff849 16:36:18 Step 3/4 : COPY go.mod . 16:36:19 ---> 0ec7e54e0dfe 16:36:19 Step 4/4 : RUN go mod download 16:36:19 ---> Running in 0d28c19590dc 16:37:15 Removing intermediate container 0d28c19590dc 16:37:15 ---> c45bb1d87c68 16:37:15 Successfully built c45bb1d87c68 16:37:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:16 + docker inspect -f . ci-base-image-arm64 16:37:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:16 prd-ubuntu20.04-docker-arm64-4c-16g-16246 does not seem to be running inside a container 16:37:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/72 -v /w/workspace/edgex-go/72:/w/workspace/edgex-go/72:rw,z -v /w/workspace/edgex-go/72@tmp:/w/workspace/edgex-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:37:17 $ docker top c5eb4e23672b979566010543946dabfd909d8a2e3934a8abffd4a432614a360e -eo pid,comm [Pipeline] { [Pipeline] sh 16:37:18 + go version 16:37:18 go version go1.17.7 linux/arm64 [Pipeline] } 16:37:18 $ docker stop --time=1 c5eb4e23672b979566010543946dabfd909d8a2e3934a8abffd4a432614a360e 16:37:20 $ docker rm -f c5eb4e23672b979566010543946dabfd909d8a2e3934a8abffd4a432614a360e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:21 + docker inspect -f . ci-base-image-arm64 16:37:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:21 prd-ubuntu20.04-docker-arm64-4c-16g-16246 does not seem to be running inside a container 16:37:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/72 -v /w/workspace/edgex-go/72:/w/workspace/edgex-go/72:rw,z -v /w/workspace/edgex-go/72@tmp:/w/workspace/edgex-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:37:22 $ docker top b60449d514c2cccf4e4cf8759886903d6b144c9b0e12ccaff6a3dca438e9ab50 -eo pid,comm [Pipeline] { [Pipeline] echo 16:37:23 ========================================================= 16:37:23 [edgeXBuildGoParallel] Running Tests and Build... 16:37:23 ========================================================= [Pipeline] fileExists [Pipeline] sh 16:37:23 + make test 16:37:23 go mod tidy -compat=1.17 16:37:24 go: finding module for package github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi 16:37:24 go: finding module for package github.com/prometheus/client_golang/prometheus/promhttp 16:37:24 go: finding module for package github.com/prometheus/client_golang/prometheus 16:37:25 go: downloading github.com/prometheus/client_golang v1.12.2 16:37:25 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1658 16:37:52 go: found github.com/prometheus/client_golang/prometheus in github.com/prometheus/client_golang v1.12.2 16:37:52 go: found github.com/prometheus/client_golang/prometheus/promhttp in github.com/prometheus/client_golang v1.12.2 16:37:52 go: found github.com/aliyun/alibaba-cloud-sdk-go/services/dysmsapi in github.com/aliyun/alibaba-cloud-sdk-go v1.61.1658 16:37:52 go: downloading github.com/prometheus/client_model v0.2.0 16:37:52 go: downloading github.com/prometheus/common v0.32.1 16:37:52 go: downloading github.com/beorn7/perks v1.0.1 16:37:52 go: downloading github.com/cespare/xxhash/v2 v2.1.2 16:37:52 go: downloading github.com/prometheus/procfs v0.7.3 16:37:52 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 16:37:52 go: downloading gopkg.in/ini.v1 v1.66.2 16:37:52 go: downloading github.com/json-iterator/go v1.1.12 16:37:52 go: downloading github.com/modern-go/reflect2 v1.0.2 16:37:52 go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af 16:37:52 go: downloading gopkg.in/yaml.v2 v2.4.0 16:37:52 go: downloading github.com/google/btree v1.0.0 16:37:52 go: downloading github.com/hashicorp/golang-lru v0.5.1 16:37:52 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 16:37:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:38:31 ? github.com/edgexfoundry/edgex-go [no test files] 16:40:38 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 16:40:38 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 16:40:38 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 16:40:38 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 16:40:46 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] 16:40:46 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 16:40:46 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 16:40:46 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 16:40:46 ? github.com/edgexfoundry/edgex-go/cmd/security-spiffe-token-provider [no test files] 16:41:13 # github.com/edgexfoundry/edgex-go/internal/support/notifications/application/channel 16:41:13 internal/support/notifications/application/channel/sender.go:52:68: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).SmsInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method SmsInfo) 16:41:13 internal/support/notifications/application/channel/sender.go:54:29: undefined: models.SmsAddress 16:41:13 internal/support/notifications/application/channel/sender.go:90:12: undefined: fmt 16:41:13 internal/support/notifications/application/channel/sender.go:91:13: undefined: hmac 16:41:13 internal/support/notifications/application/channel/sender.go:91:22: undefined: sha256 16:41:13 internal/support/notifications/application/channel/sender.go:94:9: undefined: base64 16:41:13 internal/support/notifications/application/channel/sender.go:99:69: "github.com/edgexfoundry/edgex-go/internal/support/notifications/container".ConfigurationFrom(sender.dic.Get).DingdingInfo undefined (type *"github.com/edgexfoundry/edgex-go/internal/support/notifications/config".ConfigurationStruct has no field or method DingdingInfo) 16:41:13 internal/support/notifications/application/channel/sender.go:101:30: undefined: models.DingdingAddress 16:41:13 internal/support/notifications/application/channel/sender.go:106:15: undefined: time 16:41:13 internal/support/notifications/application/channel/sender.go:137:6: NewRESTSender redeclared in this block 16:41:13 /w/workspace/edgex-go/72/internal/support/notifications/application/channel/sender.go:45:39: previous declaration 16:41:13 internal/support/notifications/application/channel/sender.go:106:15: too many errors 16:41:13 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.253s coverage: 28.7% of statements 16:41:14 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.423s coverage: 98.5% of statements 16:41:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.465s coverage: 54.2% of statements 16:41:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 21.120s coverage: 89.2% of statements 16:41:41 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.901s coverage: 83.8% of statements 16:41:42 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 2.343s coverage: 95.6% of statements 16:41:42 ok github.com/edgexfoundry/edgex-go/internal/io 0.324s coverage: 72.2% of statements 16:41:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.331s coverage: 60.0% of statements 16:41:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.526s coverage: 0.9% of statements 16:41:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.500s coverage: 58.8% of statements 16:41:42 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.281s coverage: 29.6% of statements 16:41:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.280s coverage: 47.1% of statements 16:41:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.348s coverage: 79.5% of statements 16:41:43 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.249s coverage: 94.1% of statements 16:41:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.235s coverage: 96.3% of statements 16:41:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.314s coverage: 87.5% of statements 16:41:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.426s coverage: 94.4% of statements 16:41:58 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.228s coverage: 44.8% of statements 16:42:05 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.707s coverage: 82.5% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.287s coverage: 92.9% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.072s coverage: 65.1% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.221s coverage: 87.2% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.197s coverage: 100.0% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.322s coverage: 58.8% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.383s coverage: 80.0% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.260s coverage: 87.2% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.349s coverage: 85.4% of statements 16:42:12 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 1.094s coverage: 91.2% of statements 16:42:18 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 1.064s coverage: 64.4% of statements 16:42:18 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.289s coverage: 100.0% of statements 16:42:18 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.099s coverage: 89.4% of statements 16:42:18 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.065s coverage: 100.0% of statements 16:42:18 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.071s coverage: 73.7% of statements 16:42:18 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.060s coverage: 100.0% of statements 16:42:29 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.559s coverage: 65.4% of statements 16:42:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.978s coverage: 43.8% of statements 16:42:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.272s coverage: 89.5% of statements 16:42:30 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.427s coverage: 84.8% of statements 16:42:30 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/application [build failed] 16:42:30 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http [build failed] 16:42:30 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.277s coverage: 63.2% of statements 16:42:34 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.481s coverage: 97.7% of statements 16:42:34 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.254s coverage: 28.9% of statements 16:42:34 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.232s coverage: 100.0% of statements 16:42:34 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.103s coverage: 96.9% of statements 16:42:34 make: *** [Makefile:132: unittest] Error 2 [Pipeline] } 16:42:34 $ docker stop --time=1 b60449d514c2cccf4e4cf8759886903d6b144c9b0e12ccaff6a3dca438e9ab50 16:42:36 $ docker rm -f b60449d514c2cccf4e4cf8759886903d6b144c9b0e12ccaff6a3dca438e9ab50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:42:42 16:42:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:42:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:42:43 arm64: Pulling from edgex-lftools-log-publisher 16:42:43 8998bd30e6a1: Pulling fs layer 16:42:43 04944245beec: Pulling fs layer 16:42:43 699f458cf7ca: Pulling fs layer 16:42:43 765212b225bb: Pulling fs layer 16:42:43 f23df028b6ca: Pulling fs layer 16:42:43 d65c8cfc05b1: Pulling fs layer 16:42:43 2437ff75d9bd: Pulling fs layer 16:42:43 765212b225bb: Waiting 16:42:43 f23df028b6ca: Waiting 16:42:43 d65c8cfc05b1: Waiting 16:42:43 2437ff75d9bd: Waiting 16:42:43 04944245beec: Verifying Checksum 16:42:43 04944245beec: Download complete 16:42:43 765212b225bb: Verifying Checksum 16:42:43 765212b225bb: Download complete 16:42:43 f23df028b6ca: Verifying Checksum 16:42:43 f23df028b6ca: Download complete 16:42:43 d65c8cfc05b1: Verifying Checksum 16:42:43 d65c8cfc05b1: Download complete 16:42:43 699f458cf7ca: Verifying Checksum 16:42:43 699f458cf7ca: Download complete 16:42:43 8998bd30e6a1: Verifying Checksum 16:42:43 8998bd30e6a1: Download complete 16:42:46 2437ff75d9bd: Verifying Checksum 16:42:46 2437ff75d9bd: Download complete 16:42:48 8998bd30e6a1: Pull complete 16:42:48 04944245beec: Pull complete 16:42:50 699f458cf7ca: Pull complete 16:42:50 765212b225bb: Pull complete 16:42:51 f23df028b6ca: Pull complete 16:42:51 d65c8cfc05b1: Pull complete 16:43:06 2437ff75d9bd: Pull complete 16:43:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:43:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:43:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:43:07 prd-ubuntu20.04-docker-arm64-4c-16g-16246 does not seem to be running inside a container 16:43:07 $ 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/72 -v /w/workspace/edgex-go/72:/w/workspace/edgex-go/72:rw,z -v /w/workspace/edgex-go/72@tmp:/w/workspace/edgex-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:43:10 $ docker top bcb8b18d53164a84d17003cc6276892cd75fd896d23a3f3f43111db2934ab38f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:43:11 ---> job-cost.sh 16:43:11 lf-activate-venv: SKIPPING 16:43:11 INFO: No Stack... 16:43:11 INFO: Retrieving Pricing Info for: v3-standard-4 16:43:12 INFO: Archiving Costs [Pipeline] sh 16:43:12 + + cut -d, -f6cat 16:43:12 /w/workspace/edgex-go/72/archives/cost.csv [Pipeline] lock 16:43:13 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3842-72-stack-cost] 16:43:13 Resource [jenkins-edgexfoundry-edgex-go-PR-3842-72-stack-cost] did not exist. Created. 16:43:13 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3842-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:43:13 + echo total: 0.10999999940395355 [Pipeline] stash 16:43:14 Stashed 1 file(s) [Pipeline] } 16:43:14 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3842-72-stack-cost] [Pipeline] // lock [Pipeline] } 16:43:14 $ docker stop --time=1 bcb8b18d53164a84d17003cc6276892cd75fd896d23a3f3f43111db2934ab38f 16:43:15 $ docker rm -f bcb8b18d53164a84d17003cc6276892cd75fd896d23a3f3f43111db2934ab38f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:43:16 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 16:43:16 + [ -d /w/workspace/edgex-go/72/archives ] [Pipeline] libraryResource [Pipeline] sh 16:43:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:43:17 ---> package-listing.sh 16:43:17 ++ facter osfamily 16:43:17 ++ tr '[:upper:]' '[:lower:]' 16:43:18 + OS_FAMILY=debian 16:43:18 + workspace=/w/workspace/edgex-go/72 16:43:18 + START_PACKAGES=/tmp/packages_start.txt 16:43:18 + END_PACKAGES=/tmp/packages_end.txt 16:43:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:43:18 + PACKAGES=/tmp/packages_start.txt 16:43:18 + '[' /w/workspace/edgex-go/72 ']' 16:43:18 + PACKAGES=/tmp/packages_end.txt 16:43:18 + case "${OS_FAMILY}" in 16:43:18 + dpkg -l 16:43:18 + grep '^ii' 16:43:18 + '[' -f /tmp/packages_start.txt ']' 16:43:18 + '[' -f /tmp/packages_end.txt ']' 16:43:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:43:18 + '[' /w/workspace/edgex-go/72 ']' 16:43:18 + mkdir -p /w/workspace/edgex-go/72/archives/ 16:43:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/72/archives/ [Pipeline] echo 16:43:18 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/72/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:43:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:43:19 16:43:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:43:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:43:19 latest: Pulling from edgex-lftools-log-publisher 16:43:19 5eb5b503b376: Pulling fs layer 16:43:19 5c69ac0246d0: Pulling fs layer 16:43:19 ec43610c2a17: Pulling fs layer 16:43:19 3a2ae6a8a46f: Pulling fs layer 16:43:19 33b1e0a273af: Pulling fs layer 16:43:19 5d3b04190fa2: Pulling fs layer 16:43:19 2f39f015ded8: Pulling fs layer 16:43:19 33b1e0a273af: Waiting 16:43:19 5d3b04190fa2: Waiting 16:43:19 2f39f015ded8: Waiting 16:43:19 5c69ac0246d0: Verifying Checksum 16:43:19 5c69ac0246d0: Download complete 16:43:19 3a2ae6a8a46f: Verifying Checksum 16:43:19 3a2ae6a8a46f: Download complete 16:43:19 ec43610c2a17: Verifying Checksum 16:43:19 ec43610c2a17: Download complete 16:43:19 5d3b04190fa2: Download complete 16:43:19 33b1e0a273af: Verifying Checksum 16:43:19 33b1e0a273af: Download complete 16:43:19 5eb5b503b376: Verifying Checksum 16:43:19 5eb5b503b376: Download complete 16:43:20 2f39f015ded8: Download complete 16:43:20 5eb5b503b376: Pull complete 16:43:20 5c69ac0246d0: Pull complete 16:43:21 ec43610c2a17: Pull complete 16:43:21 3a2ae6a8a46f: Pull complete 16:43:21 33b1e0a273af: Pull complete 16:43:21 5d3b04190fa2: Pull complete 16:43:25 2f39f015ded8: Pull complete 16:43:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:43:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:43:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:43:26 prd-ubuntu20.04-docker-8c-8g-16242 does not seem to be running inside a container 16:43:26 $ 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/72/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/72 -v /w/workspace/edgex-go/72:/w/workspace/edgex-go/72:rw,z -v /w/workspace/edgex-go/72@tmp:/w/workspace/edgex-go/72@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:43:27 $ docker top 10383f431f2f06c7f9d50c620abce52183a10316e700c229a23ed91cc4bfdba1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:43:28 + touch /tmp/pre-build-complete [Pipeline] sh 16:43:28 + mkdir -p /var/log/sysstat [Pipeline] sh 16:43:28 + ls /var/log/sa-host 16:43:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:43:28 provisioning config files... 16:43:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/72@tmp/config8057149411458584860tmp [Pipeline] { [Pipeline] echo 16:43:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:43:29 ---> create-netrc.sh [Pipeline] } 16:43:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:43:29 ---> python-tools-install.sh [Pipeline] echo 16:43:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:43:29 ---> sudo-logs.sh 16:43:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:43:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:43:30 ---> job-cost.sh 16:43:30 lf-activate-venv: SKIPPING 16:43:30 DEBUG: total: 0.10999999940395355 16:43:30 INFO: Retrieving Stack Cost... 16:43:30 INFO: Retrieving Pricing Info for: v3-standard-8 16:43:30 INFO: Archiving Costs [Pipeline] echo 16:43:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:43:31 ---> logs-deploy.sh 16:43:31 lf-activate-venv: SKIPPING 16:43:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3842/72 16:43:31 INFO: archiving workspace using pattern(s): 16:43:32 Archives upload complete. 16:43:32 INFO: archiving logs to Nexus