Pull request #3766 updated 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 judehung for edgexfoundry/edgex-go Obtained Jenkinsfile from d6a824c83185bc9301c1f503f9901c1d90cf650d+86411704c056e83a3fc2a54d4c214538f329b007 (a7b755ab11ce9489b9c0e3d147d4b95388772131) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh3342486001032109179.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh2636394598291956760.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-3766/workspace@libs/edgex-global-pipelines/.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-3766/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8838689948775912514.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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 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-ssh3171854272133879055.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-3766/workspace@libs/lf-pipelines/.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-3766/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh69741240211191200.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 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: [[centos7-docker-4c-2g, ubuntu18.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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-529 in /w/workspace/edgexfoundry_edgex-go_PR-3766 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh9035152474753989972.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 86411704c056e83a3fc2a54d4c214538f329b007 into PR head commit d6a824c83185bc9301c1f503f9901c1d90cf650d Merge succeeded, producing d6a824c83185bc9301c1f503f9901c1d90cf650d Checking out Revision d6a824c83185bc9301c1f503f9901c1d90cf650d (PR-3766) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh4657807918577495850.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3766/head:refs/remotes/origin/PR-3766 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6a824c83185bc9301c1f503f9901c1d90cf650d # timeout=10 > git remote # timeout=10 > 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 /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh6789119652431496960.key > git merge 86411704c056e83a3fc2a54d4c214538f329b007 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6a824c83185bc9301c1f503f9901c1d90cf650d # timeout=10 Commit message: "feat(data): new API to search Readings by multiple resource names" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-20T14:13:26.492Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-20T14:13:26.548Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-20T14:13:26.563Z] ========================================================= [2021-10-20T14:13:26.563Z] EdgeX Global Pipelines Version Info [2021-10-20T14:13:26.563Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b7bc12fe09005458275216f0f5ec47cc7e7b4590 # timeout=10 [2021-10-20T14:13:27.695Z] ------------------- [2021-10-20T14:13:27.695Z] stable info: [2021-10-20T14:13:27.695Z] ------------------- [2021-10-20T14:13:27.695Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-20T14:13:27.695Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T14:13:27.695Z] Message: update stable to v1.0.210 [2021-10-20T14:13:28.272Z] ------------------- [2021-10-20T14:13:28.272Z] experimental info: [2021-10-20T14:13:28.272Z] ------------------- [2021-10-20T14:13:28.272Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-20T14:13:28.272Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-20T14:13:28.272Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-20T14:13:28.354Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-10-20T14:13:28.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-10-20T14:13:28.375Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-20T14:13:28.384Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-20T14:13:28.394Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-20T14:13:28.403Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-20T14:13:28.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-20T14:13:28.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-10-20T14:13:28.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-10-20T14:13:28.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-10-20T14:13:28.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-20T14:13:28.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-20T14:13:28.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-20T14:13:28.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-20T14:13:28.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-20T14:13:28.505Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-20T14:13:28.513Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-20T14:13:28.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-20T14:13:28.526Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-20T14:13:28.533Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-20T14:13:28.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-10-20T14:13:28.547Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-20T14:13:28.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3766 [Pipeline] echo [2021-10-20T14:13:28.565Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3766 [Pipeline] echo [2021-10-20T14:13:28.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3766 [Pipeline] echo [2021-10-20T14:13:28.583Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6a824c83185bc9301c1f503f9901c1d90cf650d [Pipeline] echo [2021-10-20T14:13:28.593Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6a824c [Pipeline] echo [2021-10-20T14:13:28.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T14:13:28.640Z] provisioning config files... [2021-10-20T14:13:28.657Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config6506613175573936706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:13:28.999Z] ---> docker-login.sh [2021-10-20T14:13:28.999Z] nexus3.edgexfoundry.org:10001 [2021-10-20T14:13:28.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:13:28.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:13:28.999Z] Configure a credential helper to remove this warning. See [2021-10-20T14:13:28.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:13:28.999Z] [2021-10-20T14:13:28.999Z] Login Succeeded [2021-10-20T14:13:28.999Z] nexus3.edgexfoundry.org:10002 [2021-10-20T14:13:29.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:13:29.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:13:29.259Z] Configure a credential helper to remove this warning. See [2021-10-20T14:13:29.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:13:29.259Z] [2021-10-20T14:13:29.259Z] Login Succeeded [2021-10-20T14:13:29.259Z] nexus3.edgexfoundry.org:10003 [2021-10-20T14:13:29.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:13:29.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:13:29.259Z] Configure a credential helper to remove this warning. See [2021-10-20T14:13:29.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:13:29.259Z] [2021-10-20T14:13:29.259Z] Login Succeeded [2021-10-20T14:13:29.259Z] nexus3.edgexfoundry.org:10004 [2021-10-20T14:13:29.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:13:29.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:13:29.520Z] Configure a credential helper to remove this warning. See [2021-10-20T14:13:29.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:13:29.520Z] [2021-10-20T14:13:29.520Z] Login Succeeded [2021-10-20T14:13:29.520Z] docker.io [2021-10-20T14:13:29.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:13:29.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:13:29.780Z] Configure a credential helper to remove this warning. See [2021-10-20T14:13:29.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:13:29.780Z] [2021-10-20T14:13:29.780Z] Login Succeeded [2021-10-20T14:13:29.780Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T14:13:29.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-20T14:13:30.093Z] ++ 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/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/core-command/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo core-command,cmd/core-command/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/core-data/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo core-data,cmd/core-data/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/core-metadata/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/support-notifications/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-10-20T14:13:30.093Z] + for file in '`ls cmd/**/Dockerfile`' [2021-10-20T14:13:30.093Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-10-20T14:13:30.093Z] ++ cut -d/ -f2 [2021-10-20T14:13:30.093Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-10-20T14:13:30.132Z] 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: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] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:13:30.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T14:13:30.962Z] [2021-10-20T14:13:30.962Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:13:31.271Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T14:13:31.271Z] latest: Pulling from edgex-devops/git-semver [2021-10-20T14:13:31.271Z] a0d0a0d46f8b: Pulling fs layer [2021-10-20T14:13:31.271Z] 3e5f54012d9b: Pulling fs layer [2021-10-20T14:13:31.271Z] 4c7163046ea9: Pulling fs layer [2021-10-20T14:13:31.271Z] 0c2d73faf560: Pulling fs layer [2021-10-20T14:13:31.271Z] 0c2d73faf560: Waiting [2021-10-20T14:13:31.271Z] 3e5f54012d9b: Verifying Checksum [2021-10-20T14:13:31.271Z] 3e5f54012d9b: Download complete [2021-10-20T14:13:31.271Z] a0d0a0d46f8b: Verifying Checksum [2021-10-20T14:13:31.271Z] a0d0a0d46f8b: Download complete [2021-10-20T14:13:31.271Z] 0c2d73faf560: Verifying Checksum [2021-10-20T14:13:31.271Z] 0c2d73faf560: Download complete [2021-10-20T14:13:31.271Z] 4c7163046ea9: Verifying Checksum [2021-10-20T14:13:31.271Z] 4c7163046ea9: Download complete [2021-10-20T14:13:31.542Z] a0d0a0d46f8b: Pull complete [2021-10-20T14:13:31.542Z] 3e5f54012d9b: Pull complete [2021-10-20T14:13:31.804Z] 4c7163046ea9: Pull complete [2021-10-20T14:13:32.067Z] 0c2d73faf560: Pull complete [2021-10-20T14:13:32.067Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-20T14:13:32.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-20T14:13:32.067Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-20T14:13:32.156Z] prd-centos7-docker-4c-2g-529 does not seem to be running inside a container [2021-10-20T14:13:32.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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:10004/edgex-devops/git-semver:latest cat [2021-10-20T14:13:32.866Z] $ docker top 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-20T14:13:32.958Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T14:13:32.958Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T14:13:33.067Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T14:13:33.069Z] $ docker exec 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 ssh-agent [2021-10-20T14:13:33.163Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpIIIKg/agent.15 [2021-10-20T14:13:33.163Z] SSH_AGENT_PID=22 [2021-10-20T14:13:33.170Z] Running ssh-add (command line suppressed) [2021-10-20T14:13:33.264Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_8681054583582523367.key (/w/workspace/edgex-go/2@tmp/private_key_8681054583582523367.key) [2021-10-20T14:13:33.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T14:13:33.570Z] + git tag --points-at HEAD [Pipeline] } [2021-10-20T14:13:33.584Z] $ docker exec --env ******** --env ******** 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 ssh-agent -k [2021-10-20T14:13:33.674Z] unset SSH_AUTH_SOCK; [2021-10-20T14:13:33.674Z] unset SSH_AGENT_PID; [2021-10-20T14:13:33.674Z] echo Agent pid 22 killed; [2021-10-20T14:13:33.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-20T14:13:33.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-20T14:13:33.705Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-20T14:13:33.831Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-20T14:13:33.834Z] $ docker exec 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 ssh-agent [2021-10-20T14:13:33.944Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBNLebC/agent.55 [2021-10-20T14:13:33.944Z] SSH_AGENT_PID=61 [2021-10-20T14:13:33.949Z] Running ssh-add (command line suppressed) [2021-10-20T14:13:34.059Z] Identity added: /w/workspace/edgex-go/2@tmp/private_key_6336905087757195155.key (/w/workspace/edgex-go/2@tmp/private_key_6336905087757195155.key) [2021-10-20T14:13:34.069Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-20T14:13:34.361Z] + git semver init [2021-10-20T14:13:34.361Z] # -> Open(): unable to determine branch for HEAD [2021-10-20T14:13:34.361Z] # $GIT_DIR = /w/workspace/edgex-go/2/.git [2021-10-20T14:13:34.361Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/2 [2021-10-20T14:13:34.361Z] # $SEMVER_REMOTE_NAME = origin [2021-10-20T14:13:34.361Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-20T14:13:34.361Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-20T14:13:34.361Z] # $SEMVER_BRANCH = PR-3766 [2021-10-20T14:13:34.361Z] # $SEMVER_TEMP = /tmp/semver-566234383 [2021-10-20T14:13:34.361Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-10-20T14:13:49.325Z] # '/tmp/semver-566234383' -> '/w/workspace/edgex-go/2/.semver' [2021-10-20T14:13:49.325Z] # -> Force: false [2021-10-20T14:13:49.325Z] # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } [2021-10-20T14:13:49.335Z] $ docker exec --env ******** --env ******** 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 ssh-agent -k [2021-10-20T14:13:49.436Z] unset SSH_AUTH_SOCK; [2021-10-20T14:13:49.438Z] unset SSH_AGENT_PID; [2021-10-20T14:13:49.438Z] echo Agent pid 61 killed; [2021-10-20T14:13:49.445Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-20T14:13:49.764Z] + git semver [Pipeline] } [2021-10-20T14:13:49.777Z] $ docker stop --time=1 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 [2021-10-20T14:13:51.665Z] $ docker rm -f 3a05a87d9f5a96453e8c99cf462726f2731e6b90a7eb51a8161e903e2468ac47 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-20T14:13:52.029Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-20T14:13:52.253Z] Stashed 1 file(s) [Pipeline] echo [2021-10-20T14:13:52.254Z] [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 [2021-10-20T14:13:52.551Z] ========================================================= [2021-10-20T14:13:52.551Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-20T14:13:52.551Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-10-20T14:13:52.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-20T14:13:52.848Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-20T14:13:52.848Z] a0d0a0d46f8b: Already exists [2021-10-20T14:13:52.848Z] 31adcdaf11c8: Pulling fs layer [2021-10-20T14:13:52.848Z] b8b176561691: Pulling fs layer [2021-10-20T14:13:52.848Z] 4527c011a84f: Pulling fs layer [2021-10-20T14:13:52.848Z] 5d74067f8e1e: Pulling fs layer [2021-10-20T14:13:52.848Z] e0aca202a116: Pulling fs layer [2021-10-20T14:13:52.848Z] 3a43be97a3b4: Pulling fs layer [2021-10-20T14:13:52.848Z] 34cad66bf833: Pulling fs layer [2021-10-20T14:13:52.848Z] b4e3c513aaa6: Pulling fs layer [2021-10-20T14:13:52.848Z] 5d74067f8e1e: Waiting [2021-10-20T14:13:52.848Z] e0aca202a116: Waiting [2021-10-20T14:13:52.848Z] 3a43be97a3b4: Waiting [2021-10-20T14:13:52.848Z] 34cad66bf833: Waiting [2021-10-20T14:13:52.848Z] b4e3c513aaa6: Waiting [2021-10-20T14:13:52.848Z] b8b176561691: Verifying Checksum [2021-10-20T14:13:52.848Z] b8b176561691: Download complete [2021-10-20T14:13:52.848Z] 31adcdaf11c8: Verifying Checksum [2021-10-20T14:13:52.848Z] 31adcdaf11c8: Download complete [2021-10-20T14:13:52.848Z] 5d74067f8e1e: Verifying Checksum [2021-10-20T14:13:52.848Z] 5d74067f8e1e: Download complete [2021-10-20T14:13:52.848Z] e0aca202a116: Verifying Checksum [2021-10-20T14:13:52.848Z] e0aca202a116: Download complete [2021-10-20T14:13:52.848Z] 3a43be97a3b4: Verifying Checksum [2021-10-20T14:13:52.848Z] 3a43be97a3b4: Download complete [2021-10-20T14:13:53.115Z] 34cad66bf833: Verifying Checksum [2021-10-20T14:13:53.115Z] 34cad66bf833: Download complete [2021-10-20T14:13:53.115Z] 31adcdaf11c8: Pull complete [2021-10-20T14:13:53.381Z] b8b176561691: Pull complete [2021-10-20T14:13:53.381Z] b4e3c513aaa6: Verifying Checksum [2021-10-20T14:13:53.381Z] b4e3c513aaa6: Download complete [2021-10-20T14:13:53.641Z] 4527c011a84f: Verifying Checksum [2021-10-20T14:13:53.641Z] 4527c011a84f: Download complete [2021-10-20T14:13:57.868Z] 4527c011a84f: Pull complete [2021-10-20T14:13:57.869Z] 5d74067f8e1e: Pull complete [2021-10-20T14:13:57.869Z] e0aca202a116: Pull complete [2021-10-20T14:13:57.869Z] 3a43be97a3b4: Pull complete [2021-10-20T14:13:57.869Z] 34cad66bf833: Pull complete [2021-10-20T14:13:59.800Z] b4e3c513aaa6: Pull complete [2021-10-20T14:13:59.800Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-20T14:13:59.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-20T14:13:59.800Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-10-20T14:14:00.109Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-20T14:14:00.110Z] WORKDIR /edgex [2021-10-20T14:14:00.110Z] COPY go.mod . [2021-10-20T14:14:00.110Z] RUN go mod download' [2021-10-20T14:14:00.110Z] + docker build -t ci-base-image-x86_64 -f - . [2021-10-20T14:14:01.509Z] Sending build context to Docker daemon 329.6MB [2021-10-20T14:14:01.509Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-20T14:14:01.509Z] ---> 9f6097aaca64 [2021-10-20T14:14:01.509Z] Step 2/4 : WORKDIR /edgex [2021-10-20T14:14:03.435Z] ---> Running in c8c97705133a [2021-10-20T14:14:03.435Z] Removing intermediate container c8c97705133a [2021-10-20T14:14:03.435Z] ---> a4c547604e70 [2021-10-20T14:14:03.435Z] Step 3/4 : COPY go.mod . [2021-10-20T14:14:03.435Z] ---> b168a54169ae [2021-10-20T14:14:03.435Z] Step 4/4 : RUN go mod download [2021-10-20T14:14:03.435Z] ---> Running in c1274650ff7c [2021-10-20T14:14:07.517Z] Still waiting to schedule task [2021-10-20T14:14:07.517Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-20T14:14:35.593Z] Removing intermediate container c1274650ff7c [2021-10-20T14:14:35.593Z] ---> 6a134d422e14 [2021-10-20T14:14:35.593Z] Successfully built 6a134d422e14 [2021-10-20T14:14:35.593Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:14:35.898Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-20T14:14:35.898Z] . [Pipeline] withDockerContainer [2021-10-20T14:14:35.979Z] prd-centos7-docker-4c-2g-529 does not seem to be running inside a container [2021-10-20T14:14:36.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-10-20T14:14:36.407Z] $ docker top 8b5dc0ba10091dfd8bc37feec69e0caefc798009bf72ea4fa5bdea15ab52244a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T14:14:36.766Z] + go version [2021-10-20T14:14:36.767Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-20T14:14:36.779Z] $ docker stop --time=1 8b5dc0ba10091dfd8bc37feec69e0caefc798009bf72ea4fa5bdea15ab52244a [2021-10-20T14:14:37.975Z] $ docker rm -f 8b5dc0ba10091dfd8bc37feec69e0caefc798009bf72ea4fa5bdea15ab52244a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:14:38.501Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-20T14:14:38.501Z] . [Pipeline] withDockerContainer [2021-10-20T14:14:38.560Z] prd-centos7-docker-4c-2g-529 does not seem to be running inside a container [2021-10-20T14:14:38.593Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-10-20T14:14:38.875Z] $ docker top 98ee1df26c1374842805143b5f048bd0c5e53d36561b1b4451fe76859a265f84 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-20T14:14:38.946Z] ========================================================= [2021-10-20T14:14:38.946Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-10-20T14:14:38.946Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-10-20T14:14:39.247Z] + make test [2021-10-20T14:14:39.247Z] go mod tidy [2021-10-20T14:14:39.247Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-20T14:14:44.582Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-10-20T14:15:02.774Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-10-20T14:15:04.752Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [2021-10-20T14:15:04.752Z] internal/core/data/controller/http/reading.go:278:29: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ResourceNames [2021-10-20T14:15:12.964Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.052s coverage: 28.7% of statements [2021-10-20T14:15:13.226Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.066s coverage: 98.5% of statements [2021-10-20T14:15:13.226Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2021-10-20T14:15:13.226Z] internal/core/data/controller/http/reading.go:278: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ResourceNames [2021-10-20T14:15:13.489Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.048s coverage: 44.7% of statements [2021-10-20T14:15:13.489Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2021-10-20T14:15:15.410Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.055s coverage: 84.4% of statements [2021-10-20T14:15:15.410Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.279s coverage: 94.2% of statements [2021-10-20T14:15:15.410Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.055s coverage: 59.1% of statements [2021-10-20T14:15:15.994Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.053s coverage: 60.0% of statements [2021-10-20T14:15:16.572Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.073s coverage: 0.9% of statements [2021-10-20T14:15:16.572Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.058s coverage: 58.8% of statements [2021-10-20T14:15:16.834Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.043s coverage: 21.7% of statements [2021-10-20T14:15:17.096Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.044s coverage: 47.1% of statements [2021-10-20T14:15:18.500Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.048s coverage: 79.5% of statements [2021-10-20T14:15:18.500Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.040s coverage: 94.1% of statements [2021-10-20T14:15:18.500Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.061s coverage: 96.3% of statements [2021-10-20T14:15:18.500Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.050s coverage: 87.5% of statements [2021-10-20T14:15:30.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.050s coverage: 94.4% of statements [2021-10-20T14:15:30.748Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.055s coverage: 44.8% of statements [2021-10-20T14:15:34.954Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.191s coverage: 82.5% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.080s coverage: 92.9% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.032s coverage: 65.1% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.066s coverage: 58.8% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.050s coverage: 80.0% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.066s coverage: 87.2% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.063s coverage: 85.4% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.115s coverage: 91.2% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.127s coverage: 64.4% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.040s coverage: 100.0% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.030s coverage: 89.4% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements [2021-10-20T14:15:53.089Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.022s coverage: 100.0% of statements [2021-10-20T14:15:53.662Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.242s coverage: 70.4% of statements [2021-10-20T14:15:53.925Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.118s coverage: 43.4% of statements [2021-10-20T14:15:54.190Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.050s coverage: 89.5% of statements [2021-10-20T14:15:54.451Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.043s coverage: 84.8% of statements [2021-10-20T14:16:01.052Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.061s coverage: 18.1% of statements [2021-10-20T14:16:01.052Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.131s coverage: 92.0% of statements [2021-10-20T14:16:01.052Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.051s coverage: 63.2% of statements [2021-10-20T14:16:01.052Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.093s coverage: 97.7% of statements [2021-10-20T14:16:01.052Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.040s coverage: 28.9% of statements [2021-10-20T14:16:01.052Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.041s coverage: 100.0% of statements [2021-10-20T14:16:01.052Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.030s coverage: 96.9% of statements [2021-10-20T14:16:01.313Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2021-10-20T14:16:01.326Z] $ docker stop --time=1 98ee1df26c1374842805143b5f048bd0c5e53d36561b1b4451fe76859a265f84 [2021-10-20T14:16:02.651Z] $ docker rm -f 98ee1df26c1374842805143b5f048bd0c5e53d36561b1b4451fe76859a265f84 [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] } [2021-10-20T14:16:03.302Z] Failed in branch amd64 [2021-10-20T14:17:44.728Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-532 in /w/workspace/edgexfoundry_edgex-go_PR-3766 [Pipeline] { [Pipeline] ws [2021-10-20T14:17:44.736Z] Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout [2021-10-20T14:17:44.982Z] The recommended git tool is: git [2021-10-20T14:17:51.659Z] using credential edgex-jenkins-ssh [2021-10-20T14:17:51.682Z] Cloning the remote Git repository [2021-10-20T14:17:51.744Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-10-20T14:17:51.875Z] > git init /w/workspace/edgex-go/2 # timeout=10 [2021-10-20T14:17:51.992Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-10-20T14:17:51.993Z] > git --version # timeout=10 [2021-10-20T14:17:52.018Z] > git --version # 'git version 2.17.1' [2021-10-20T14:17:52.020Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T14:17:52.168Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T14:18:08.660Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-10-20T14:18:08.679Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-20T14:18:08.709Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-10-20T14:18:08.748Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-10-20T14:18:08.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T14:18:08.764Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3766/head:refs/remotes/origin/PR-3766 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-20T14:18:09.679Z] Merging remotes/origin/main commit 86411704c056e83a3fc2a54d4c214538f329b007 into PR head commit d6a824c83185bc9301c1f503f9901c1d90cf650d [2021-10-20T14:18:10.047Z] Merge succeeded, producing d6a824c83185bc9301c1f503f9901c1d90cf650d [2021-10-20T14:18:10.047Z] Checking out Revision d6a824c83185bc9301c1f503f9901c1d90cf650d (PR-3766) [2021-10-20T14:18:09.700Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T14:18:09.726Z] > git checkout -f d6a824c83185bc9301c1f503f9901c1d90cf650d # timeout=10 [2021-10-20T14:18:09.948Z] > git remote # timeout=10 [2021-10-20T14:18:09.968Z] > git config --get remote.origin.url # timeout=10 [2021-10-20T14:18:09.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-20T14:18:09.992Z] > git merge 86411704c056e83a3fc2a54d4c214538f329b007 # timeout=10 [2021-10-20T14:18:10.028Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-20T14:18:10.053Z] > git config core.sparsecheckout # timeout=10 [2021-10-20T14:18:10.072Z] > git checkout -f d6a824c83185bc9301c1f503f9901c1d90cf650d # timeout=10 [2021-10-20T14:18:14.904Z] Commit message: "feat(data): new API to search Readings by multiple resource names" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-20T14:18:15.812Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-20T14:18:15.813Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-20T14:18:15.813Z] Dload Upload Total Spent Left Speed [2021-10-20T14:18:15.813Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2021-10-20T14:18:16.241Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-20T14:18:16.598Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-20T14:18:16.598Z] + sudo tee /etc/docker/daemon.new [2021-10-20T14:18:16.598Z] { [2021-10-20T14:18:16.598Z] "registry-mirrors": [ [2021-10-20T14:18:16.598Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-20T14:18:16.598Z] ], [2021-10-20T14:18:16.598Z] "bip": "10.250.0.254/24", [2021-10-20T14:18:16.598Z] "hosts": [ [2021-10-20T14:18:16.598Z] "tcp://0.0.0.0:5555", [2021-10-20T14:18:16.598Z] "unix:///var/run/docker.sock" [2021-10-20T14:18:16.598Z] ], [2021-10-20T14:18:16.598Z] "mtu": 1458, [2021-10-20T14:18:16.598Z] "selinux-enabled": true, [2021-10-20T14:18:16.598Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-20T14:18:16.598Z] } [Pipeline] sh [2021-10-20T14:18:17.020Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-20T14:18:17.393Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T14:18:35.822Z] provisioning config files... [2021-10-20T14:18:35.852Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config1293741111466106425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:18:36.222Z] ---> docker-login.sh [2021-10-20T14:18:36.222Z] nexus3.edgexfoundry.org:10001 [2021-10-20T14:18:37.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:18:38.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:18:38.297Z] Configure a credential helper to remove this warning. See [2021-10-20T14:18:38.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:18:38.297Z] [2021-10-20T14:18:38.297Z] Login Succeeded [2021-10-20T14:18:38.297Z] nexus3.edgexfoundry.org:10002 [2021-10-20T14:18:38.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:18:38.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:18:38.858Z] Configure a credential helper to remove this warning. See [2021-10-20T14:18:38.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:18:38.858Z] [2021-10-20T14:18:38.858Z] Login Succeeded [2021-10-20T14:18:38.858Z] nexus3.edgexfoundry.org:10003 [2021-10-20T14:18:39.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:18:39.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:18:39.419Z] Configure a credential helper to remove this warning. See [2021-10-20T14:18:39.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:18:39.419Z] [2021-10-20T14:18:39.419Z] Login Succeeded [2021-10-20T14:18:39.419Z] nexus3.edgexfoundry.org:10004 [2021-10-20T14:18:39.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:18:39.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:18:39.983Z] Configure a credential helper to remove this warning. See [2021-10-20T14:18:39.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:18:39.983Z] [2021-10-20T14:18:39.983Z] Login Succeeded [2021-10-20T14:18:39.983Z] docker.io [2021-10-20T14:18:40.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-20T14:18:40.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-20T14:18:40.864Z] Configure a credential helper to remove this warning. See [2021-10-20T14:18:40.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-20T14:18:40.864Z] [2021-10-20T14:18:40.864Z] Login Succeeded [2021-10-20T14:18:40.864Z] ---> docker-login.sh ends [Pipeline] } [2021-10-20T14:18:40.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-20T14:18:41.421Z] ========================================================= [2021-10-20T14:18:41.421Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-20T14:18:41.421Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-10-20T14:18:41.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-20T14:18:42.150Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-20T14:18:42.150Z] 552d1f2373af: Pulling fs layer [2021-10-20T14:18:42.150Z] ea3f2d53f512: Pulling fs layer [2021-10-20T14:18:42.150Z] 9e70ebbbe112: Pulling fs layer [2021-10-20T14:18:42.150Z] 7a9cfe048b4a: Pulling fs layer [2021-10-20T14:18:42.150Z] 72dc09318566: Pulling fs layer [2021-10-20T14:18:42.150Z] f4f7b4309257: Pulling fs layer [2021-10-20T14:18:42.150Z] 0ac9a79272e3: Pulling fs layer [2021-10-20T14:18:42.150Z] b78e95d17946: Pulling fs layer [2021-10-20T14:18:42.150Z] 72dc09318566: Waiting [2021-10-20T14:18:42.150Z] f4f7b4309257: Waiting [2021-10-20T14:18:42.150Z] 0ac9a79272e3: Waiting [2021-10-20T14:18:42.150Z] b78e95d17946: Waiting [2021-10-20T14:18:42.150Z] 7a9cfe048b4a: Waiting [2021-10-20T14:18:42.150Z] 9e70ebbbe112: Verifying Checksum [2021-10-20T14:18:42.150Z] 9e70ebbbe112: Download complete [2021-10-20T14:18:42.150Z] ea3f2d53f512: Verifying Checksum [2021-10-20T14:18:42.150Z] ea3f2d53f512: Download complete [2021-10-20T14:18:42.150Z] 72dc09318566: Verifying Checksum [2021-10-20T14:18:42.150Z] 72dc09318566: Download complete [2021-10-20T14:18:42.431Z] f4f7b4309257: Verifying Checksum [2021-10-20T14:18:42.431Z] f4f7b4309257: Download complete [2021-10-20T14:18:42.431Z] 0ac9a79272e3: Verifying Checksum [2021-10-20T14:18:42.431Z] 0ac9a79272e3: Download complete [2021-10-20T14:18:42.431Z] 552d1f2373af: Verifying Checksum [2021-10-20T14:18:42.431Z] 552d1f2373af: Download complete [2021-10-20T14:18:43.443Z] 552d1f2373af: Pull complete [2021-10-20T14:18:44.067Z] ea3f2d53f512: Pull complete [2021-10-20T14:18:44.352Z] 9e70ebbbe112: Pull complete [2021-10-20T14:18:44.629Z] b78e95d17946: Verifying Checksum [2021-10-20T14:18:44.630Z] b78e95d17946: Download complete [2021-10-20T14:18:44.910Z] 7a9cfe048b4a: Verifying Checksum [2021-10-20T14:18:44.910Z] 7a9cfe048b4a: Download complete [2021-10-20T14:18:55.146Z] 7a9cfe048b4a: Pull complete [2021-10-20T14:18:55.146Z] 72dc09318566: Pull complete [2021-10-20T14:18:55.146Z] f4f7b4309257: Pull complete [2021-10-20T14:18:55.146Z] 0ac9a79272e3: Pull complete [2021-10-20T14:19:00.583Z] b78e95d17946: Pull complete [2021-10-20T14:19:00.583Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-20T14:19:00.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-20T14:19:00.583Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-10-20T14:19:00.943Z] + docker build -t ci-base-image-arm64 -f - . [2021-10-20T14:19:00.943Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-20T14:19:00.943Z] WORKDIR /edgex [2021-10-20T14:19:00.943Z] COPY go.mod . [2021-10-20T14:19:00.943Z] RUN go mod download [2021-10-20T14:19:02.945Z] Sending build context to Docker daemon 166.5MB [2021-10-20T14:19:02.945Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-20T14:19:02.945Z] ---> 8b459fc5aaf0 [2021-10-20T14:19:02.945Z] Step 2/4 : WORKDIR /edgex [2021-10-20T14:19:09.696Z] ---> Running in c95fdbdcd11b [2021-10-20T14:19:09.696Z] Removing intermediate container c95fdbdcd11b [2021-10-20T14:19:09.696Z] ---> 3b1af9f93f6b [2021-10-20T14:19:09.696Z] Step 3/4 : COPY go.mod . [2021-10-20T14:19:10.305Z] ---> 4b8641f1ed9b [2021-10-20T14:19:10.305Z] Step 4/4 : RUN go mod download [2021-10-20T14:19:10.590Z] ---> Running in bd0fab621de7 [2021-10-20T14:20:32.556Z] Removing intermediate container bd0fab621de7 [2021-10-20T14:20:32.556Z] ---> a0d0687e0a9e [2021-10-20T14:20:32.556Z] Successfully built a0d0687e0a9e [2021-10-20T14:20:32.556Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:20:32.914Z] + docker inspect -f . ci-base-image-arm64 [2021-10-20T14:20:32.914Z] . [Pipeline] withDockerContainer [2021-10-20T14:20:33.196Z] prd-ubuntu18.04-docker-arm64-4c-16g-532 does not seem to be running inside a container [2021-10-20T14:20:33.295Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-10-20T14:20:34.957Z] $ docker top fc2b9cabb2d7933f549060af30f4194b39800f37dd34455cf77c6e4d53642739 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T14:20:35.968Z] + go version [2021-10-20T14:20:35.968Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-20T14:20:35.996Z] $ docker stop --time=1 fc2b9cabb2d7933f549060af30f4194b39800f37dd34455cf77c6e4d53642739 [2021-10-20T14:20:37.828Z] $ docker rm -f fc2b9cabb2d7933f549060af30f4194b39800f37dd34455cf77c6e4d53642739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:20:38.593Z] + docker inspect -f . ci-base-image-arm64 [2021-10-20T14:20:38.593Z] . [Pipeline] withDockerContainer [2021-10-20T14:20:38.880Z] prd-ubuntu18.04-docker-arm64-4c-16g-532 does not seem to be running inside a container [2021-10-20T14:20:38.978Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-10-20T14:20:40.571Z] $ docker top f420fc041a05c5904891ed2369010cfe08797ccddb62cb6f94fd1be6bff64d06 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-20T14:20:40.900Z] ========================================================= [2021-10-20T14:20:40.900Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-10-20T14:20:40.900Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-10-20T14:20:41.576Z] + make test [2021-10-20T14:20:41.576Z] go mod tidy [2021-10-20T14:20:42.186Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-20T14:21:09.107Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-10-20T14:22:05.863Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-10-20T14:22:05.863Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [2021-10-20T14:22:05.863Z] internal/core/data/controller/http/reading.go:278:29: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ResourceNames [2021-10-20T14:22:32.800Z] # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] [2021-10-20T14:22:32.800Z] internal/core/data/controller/http/reading.go:278: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ResourceNames [2021-10-20T14:22:32.800Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.291s coverage: 28.7% of statements [2021-10-20T14:22:33.821Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.326s coverage: 98.5% of statements [2021-10-20T14:22:34.832Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.313s coverage: 44.7% of statements [2021-10-20T14:22:34.832Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] [2021-10-20T14:22:34.832Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.218s coverage: 84.4% of statements [2021-10-20T14:22:43.208Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.604s coverage: 94.2% of statements [2021-10-20T14:22:43.208Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.213s coverage: 59.1% of statements [2021-10-20T14:22:43.208Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.212s coverage: 60.0% of statements [2021-10-20T14:22:43.208Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.301s coverage: 0.9% of statements [2021-10-20T14:22:43.208Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.212s coverage: 58.8% of statements [2021-10-20T14:22:43.208Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.188s coverage: 21.7% of statements [2021-10-20T14:22:43.208Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.222s coverage: 47.1% of statements [2021-10-20T14:22:43.490Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.184s coverage: 79.5% of statements [2021-10-20T14:22:44.103Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.321s coverage: 94.1% of statements [2021-10-20T14:22:45.105Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.244s coverage: 96.3% of statements [2021-10-20T14:22:45.105Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.229s coverage: 87.5% of statements [2021-10-20T14:22:57.635Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.200s coverage: 94.4% of statements [2021-10-20T14:22:57.635Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.196s coverage: 44.8% of statements [2021-10-20T14:23:03.084Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.524s coverage: 82.5% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.280s coverage: 92.9% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.187s coverage: 87.2% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.148s coverage: 100.0% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.231s coverage: 58.8% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.346s coverage: 80.0% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.305s coverage: 87.2% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.250s coverage: 85.4% of statements [2021-10-20T14:23:10.210Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.736s coverage: 91.2% of statements [2021-10-20T14:23:11.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.815s coverage: 64.4% of statements [2021-10-20T14:23:11.211Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.168s coverage: 100.0% of statements [2021-10-20T14:23:11.493Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.093s coverage: 89.4% of statements [2021-10-20T14:23:11.493Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.064s coverage: 100.0% of statements [2021-10-20T14:23:12.497Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.083s coverage: 73.7% of statements [2021-10-20T14:23:13.105Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.047s coverage: 100.0% of statements [2021-10-20T14:23:16.554Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.139s coverage: 70.4% of statements [2021-10-20T14:23:19.232Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.713s coverage: 43.4% of statements [2021-10-20T14:23:19.232Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.224s coverage: 89.5% of statements [2021-10-20T14:23:19.232Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.231s coverage: 84.8% of statements [2021-10-20T14:23:27.593Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.370s coverage: 18.1% of statements [2021-10-20T14:23:27.593Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.568s coverage: 92.0% of statements [2021-10-20T14:23:27.593Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.191s coverage: 63.2% of statements [2021-10-20T14:23:27.593Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.397s coverage: 97.7% of statements [2021-10-20T14:23:27.593Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.181s coverage: 28.9% of statements [2021-10-20T14:23:27.593Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.186s coverage: 100.0% of statements [2021-10-20T14:23:27.593Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.074s coverage: 96.9% of statements [2021-10-20T14:23:27.593Z] make: *** [Makefile:98: unittest] Error 2 [Pipeline] } [2021-10-20T14:23:27.617Z] $ docker stop --time=1 f420fc041a05c5904891ed2369010cfe08797ccddb62cb6f94fd1be6bff64d06 [2021-10-20T14:23:29.735Z] $ docker rm -f f420fc041a05c5904891ed2369010cfe08797ccddb62cb6f94fd1be6bff64d06 [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 [2021-10-20T14:23:31.191Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T14:23:31.191Z] [2021-10-20T14:23:31.191Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:23:31.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T14:23:31.830Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-20T14:23:31.830Z] 448f6bf000e3: Pulling fs layer [2021-10-20T14:23:31.830Z] f757da607395: Pulling fs layer [2021-10-20T14:23:31.830Z] 05883995daec: Pulling fs layer [2021-10-20T14:23:31.830Z] 8603b9c90790: Pulling fs layer [2021-10-20T14:23:31.830Z] 1560dd03e051: Pulling fs layer [2021-10-20T14:23:31.830Z] 27f5ce0e4adf: Pulling fs layer [2021-10-20T14:23:31.830Z] c2d8d7efcc4b: Pulling fs layer [2021-10-20T14:23:31.830Z] 1560dd03e051: Waiting [2021-10-20T14:23:31.830Z] 8603b9c90790: Waiting [2021-10-20T14:23:31.830Z] 27f5ce0e4adf: Waiting [2021-10-20T14:23:31.830Z] c2d8d7efcc4b: Waiting [2021-10-20T14:23:32.112Z] f757da607395: Verifying Checksum [2021-10-20T14:23:32.112Z] f757da607395: Download complete [2021-10-20T14:23:32.112Z] 8603b9c90790: Verifying Checksum [2021-10-20T14:23:32.112Z] 8603b9c90790: Download complete [2021-10-20T14:23:32.396Z] 05883995daec: Verifying Checksum [2021-10-20T14:23:32.396Z] 05883995daec: Download complete [2021-10-20T14:23:32.396Z] 1560dd03e051: Verifying Checksum [2021-10-20T14:23:32.396Z] 1560dd03e051: Download complete [2021-10-20T14:23:32.396Z] 27f5ce0e4adf: Download complete [2021-10-20T14:23:32.676Z] 448f6bf000e3: Verifying Checksum [2021-10-20T14:23:32.676Z] 448f6bf000e3: Download complete [2021-10-20T14:23:35.331Z] c2d8d7efcc4b: Verifying Checksum [2021-10-20T14:23:35.331Z] c2d8d7efcc4b: Download complete [2021-10-20T14:23:36.326Z] 448f6bf000e3: Pull complete [2021-10-20T14:23:36.929Z] f757da607395: Pull complete [2021-10-20T14:23:38.384Z] 05883995daec: Pull complete [2021-10-20T14:23:38.660Z] 8603b9c90790: Pull complete [2021-10-20T14:23:39.654Z] 1560dd03e051: Pull complete [2021-10-20T14:23:39.930Z] 27f5ce0e4adf: Pull complete [2021-10-20T14:23:55.085Z] c2d8d7efcc4b: Pull complete [2021-10-20T14:23:55.085Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-20T14:23:55.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-20T14:23:55.085Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-20T14:23:55.328Z] prd-ubuntu18.04-docker-arm64-4c-16g-532 does not seem to be running inside a container [2021-10-20T14:23:55.414Z] $ 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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-10-20T14:23:58.662Z] $ docker top b7ec19b46a929267e02d784e21bfc8b117930aeaabdbce55647e44005acc4adc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:23:59.677Z] ---> job-cost.sh [2021-10-20T14:23:59.678Z] lf-activate-venv: SKIPPING [2021-10-20T14:23:59.678Z] INFO: No Stack... [2021-10-20T14:24:00.665Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-20T14:24:00.943Z] INFO: Archiving Costs [Pipeline] sh [2021-10-20T14:24:01.617Z] + cut -d, -f6 [2021-10-20T14:24:01.618Z] + cat /w/workspace/edgex-go/2/archives/cost.csv [Pipeline] lock [2021-10-20T14:24:01.688Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3766-2-stack-cost] [2021-10-20T14:24:01.693Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3766-2-stack-cost] did not exist. Created. [2021-10-20T14:24:01.693Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3766-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-20T14:24:02.365Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-20T14:24:03.056Z] Stashed 1 file(s) [Pipeline] } [2021-10-20T14:24:03.066Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3766-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-20T14:24:03.086Z] $ docker stop --time=1 b7ec19b46a929267e02d784e21bfc8b117930aeaabdbce55647e44005acc4adc [2021-10-20T14:24:04.754Z] $ docker rm -f b7ec19b46a929267e02d784e21bfc8b117930aeaabdbce55647e44005acc4adc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-20T14:24:05.236Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-20T14:24:06.120Z] + '[' -d /w/workspace/edgex-go/2/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:24:06.417Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:24:06.992Z] ---> package-listing.sh [2021-10-20T14:24:06.992Z] ++ facter osfamily [2021-10-20T14:24:06.992Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-20T14:24:06.992Z] + OS_FAMILY=redhat [2021-10-20T14:24:06.992Z] + workspace=/w/workspace/edgex-go/2 [2021-10-20T14:24:06.992Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-20T14:24:06.992Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-20T14:24:06.992Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-20T14:24:06.992Z] + PACKAGES=/tmp/packages_start.txt [2021-10-20T14:24:06.992Z] + '[' /w/workspace/edgex-go/2 ']' [2021-10-20T14:24:06.992Z] + PACKAGES=/tmp/packages_end.txt [2021-10-20T14:24:06.992Z] + case "${OS_FAMILY}" in [2021-10-20T14:24:06.992Z] + rpm -qa [2021-10-20T14:24:07.273Z] + sort [2021-10-20T14:24:07.844Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-20T14:24:07.844Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-20T14:24:07.844Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-20T14:24:07.844Z] + '[' /w/workspace/edgex-go/2 ']' [2021-10-20T14:24:07.844Z] + mkdir -p /w/workspace/edgex-go/2/archives/ [2021-10-20T14:24:07.844Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo [2021-10-20T14:24:07.855Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-20T14:24:08.139Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:24:08.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T14:24:08.706Z] [2021-10-20T14:24:08.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-20T14:24:09.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T14:24:09.014Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-20T14:24:09.014Z] b4d181a07f80: Pulling fs layer [2021-10-20T14:24:09.014Z] a1111a8f2ec3: Pulling fs layer [2021-10-20T14:24:09.014Z] ed53099fbce6: Pulling fs layer [2021-10-20T14:24:09.014Z] dc539afda2c1: Pulling fs layer [2021-10-20T14:24:09.014Z] 77bc0d833cb6: Pulling fs layer [2021-10-20T14:24:09.014Z] 9065ff56babe: Pulling fs layer [2021-10-20T14:24:09.014Z] d287ab97295c: Pulling fs layer [2021-10-20T14:24:09.014Z] dc539afda2c1: Waiting [2021-10-20T14:24:09.014Z] 77bc0d833cb6: Waiting [2021-10-20T14:24:09.014Z] 9065ff56babe: Waiting [2021-10-20T14:24:09.014Z] d287ab97295c: Waiting [2021-10-20T14:24:09.014Z] a1111a8f2ec3: Verifying Checksum [2021-10-20T14:24:09.014Z] a1111a8f2ec3: Download complete [2021-10-20T14:24:09.014Z] dc539afda2c1: Verifying Checksum [2021-10-20T14:24:09.014Z] dc539afda2c1: Download complete [2021-10-20T14:24:09.014Z] ed53099fbce6: Verifying Checksum [2021-10-20T14:24:09.014Z] ed53099fbce6: Download complete [2021-10-20T14:24:09.014Z] 9065ff56babe: Verifying Checksum [2021-10-20T14:24:09.014Z] 9065ff56babe: Download complete [2021-10-20T14:24:09.274Z] 77bc0d833cb6: Verifying Checksum [2021-10-20T14:24:09.274Z] 77bc0d833cb6: Download complete [2021-10-20T14:24:09.274Z] b4d181a07f80: Verifying Checksum [2021-10-20T14:24:09.274Z] b4d181a07f80: Download complete [2021-10-20T14:24:09.851Z] d287ab97295c: Verifying Checksum [2021-10-20T14:24:09.852Z] d287ab97295c: Download complete [2021-10-20T14:24:10.800Z] b4d181a07f80: Pull complete [2021-10-20T14:24:10.800Z] a1111a8f2ec3: Pull complete [2021-10-20T14:24:11.378Z] ed53099fbce6: Pull complete [2021-10-20T14:24:11.378Z] dc539afda2c1: Pull complete [2021-10-20T14:24:11.640Z] 77bc0d833cb6: Pull complete [2021-10-20T14:24:11.911Z] 9065ff56babe: Pull complete [2021-10-20T14:24:17.237Z] d287ab97295c: Pull complete [2021-10-20T14:24:17.237Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-20T14:24:17.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-20T14:24:17.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-20T14:24:17.296Z] prd-centos7-docker-4c-2g-529 does not seem to be running inside a container [2021-10-20T14:24:17.326Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/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/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@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 [2021-10-20T14:24:19.528Z] $ docker top a8600c41405cb75f8ef997292a0e41749da88d73e819bef98ea4210e19b90d10 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-20T14:24:19.878Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-20T14:24:20.170Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-20T14:24:20.466Z] + ls /var/log/sa-host [2021-10-20T14:24:20.466Z] + sadf -c /var/log/sa-host/sa20 [2021-10-20T14:24:20.466Z] file_magic: OK [2021-10-20T14:24:20.466Z] HZ: Using current value: 100 [2021-10-20T14:24:20.466Z] file_header: OK [2021-10-20T14:24:20.466Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-20T14:24:20.466Z] Statistics: [2021-10-20T14:24:20.466Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-20T14:24:20.466Z] File successfully converted to sysstat format version 12.0.3 [2021-10-20T14:24:20.466Z] + sadf -c /var/log/sa-host/sa30 [2021-10-20T14:24:20.466Z] file_magic: OK [2021-10-20T14:24:20.466Z] HZ: Using current value: 100 [2021-10-20T14:24:20.466Z] file_header: OK [2021-10-20T14:24:20.466Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-20T14:24:20.466Z] Statistics: [2021-10-20T14:24:20.466Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-20T14:24:20.466Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-20T14:24:20.537Z] provisioning config files... [2021-10-20T14:24:20.545Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config3286828035170848205tmp [Pipeline] { [Pipeline] echo [2021-10-20T14:24:20.558Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:24:20.845Z] ---> create-netrc.sh [Pipeline] } [2021-10-20T14:24:20.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:24:21.176Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-20T14:24:21.184Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:24:21.470Z] ---> sudo-logs.sh [2021-10-20T14:24:21.470Z] Archiving 'sudo' log.. [2021-10-20T14:24:21.470Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-529.novalocal: Name or service not known [2021-10-20T14:24:21.470Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-529.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-20T14:24:21.640Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:24:22.058Z] ---> job-cost.sh [2021-10-20T14:24:22.058Z] lf-activate-venv: SKIPPING [2021-10-20T14:24:22.058Z] DEBUG: total: 0.10999999940395355 [2021-10-20T14:24:22.058Z] INFO: Retrieving Stack Cost... [2021-10-20T14:24:22.374Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-20T14:24:22.660Z] INFO: Archiving Costs [Pipeline] echo [2021-10-20T14:24:22.671Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-20T14:24:22.960Z] ---> logs-deploy.sh [2021-10-20T14:24:22.960Z] lf-activate-venv: SKIPPING [2021-10-20T14:24:22.960Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3766/2 [2021-10-20T14:24:22.960Z] INFO: archiving workspace using pattern(s): [2021-10-20T14:24:23.531Z] Archives upload complete. [2021-10-20T14:24:23.792Z] INFO: archiving logs to Nexus