Pull request #3664 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch main at 70a7de6140c9210a4916c44f40b1630081c5c4da rather than d9f3b7f7daa4464a5873cbf7f3395f005174e4c1 Obtained Jenkinsfile from 70a7de6140c9210a4916c44f40b1630081c5c4da Running in Durability level: MAX_SURVIVABILITY 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-ssh6775968235799853791.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c 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-ssh3889674551882391093.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 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3664/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3664/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2425123885109217165.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3664/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5381546876694452223.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c # timeout=10 Commit message: "Merge pull request #352 from ernestojeda/parallel-go-mod-download" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2690468324572863066.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3664/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3664/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh114776643816243000.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-119 in /w/workspace/edgexfoundry_edgex-go_PR-3664 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/1 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.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/1@tmp/jenkins-gitclient-ssh1784757556422526438.key > 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 [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/1@tmp/jenkins-gitclient-ssh7033468800430273838.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3664/head:refs/remotes/origin/PR-3664 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 70a7de6140c9210a4916c44f40b1630081c5c4da into PR head commit d9f3b7f7daa4464a5873cbf7f3395f005174e4c1 Merge succeeded, producing 68c36bebdda7f987e00bebe29f65242b6b0debdf Checking out Revision 68c36bebdda7f987e00bebe29f65242b6b0debdf (PR-3664) > git config core.sparsecheckout # timeout=10 > git checkout -f d9f3b7f7daa4464a5873cbf7f3395f005174e4c1 # 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/1@tmp/jenkins-gitclient-ssh8357580436536588673.key > git merge 70a7de6140c9210a4916c44f40b1630081c5c4da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68c36bebdda7f987e00bebe29f65242b6b0debdf # timeout=10 Commit message: "Merge commit '70a7de6140c9210a4916c44f40b1630081c5c4da' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-09T12:50:10.824Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-09T12:50:11.012Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-09T12:50:11.121Z] ========================================================= [2021-08-09T12:50:11.121Z] EdgeX Global Pipelines Version Info [2021-08-09T12:50:11.121Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:50:12.398Z] ------------------- [2021-08-09T12:50:12.399Z] stable info: [2021-08-09T12:50:12.399Z] ------------------- [2021-08-09T12:50:12.399Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-09T12:50:12.399Z] Commit SHA: 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c [2021-08-09T12:50:12.399Z] Message: update stable to v1.0.204 [2021-08-09T12:50:12.984Z] ------------------- [2021-08-09T12:50:12.984Z] experimental info: [2021-08-09T12:50:12.984Z] ------------------- [2021-08-09T12:50:12.984Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-09T12:50:12.984Z] Commit SHA: 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c [2021-08-09T12:50:12.984Z] Message: update experimental to v1.0.204 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-09T12:50:13.229Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-08-09T12:50:13.284Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-08-09T12:50:13.340Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-09T12:50:13.394Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-09T12:50:13.452Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-09T12:50:13.516Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-09T12:50:13.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-09T12:50:13.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-08-09T12:50:13.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-08-09T12:50:13.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-08-09T12:50:13.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-09T12:50:13.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-09T12:50:13.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-09T12:50:13.997Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-09T12:50:14.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-09T12:50:14.127Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-09T12:50:14.183Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-08-09T12:50:14.256Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-09T12:50:14.314Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-09T12:50:14.371Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-09T12:50:14.429Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-09T12:50:14.488Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-08-09T12:50:14.546Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-09T12:50:14.605Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3664 [Pipeline] echo [2021-08-09T12:50:14.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3664 [Pipeline] echo [2021-08-09T12:50:14.719Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3664 [Pipeline] echo [2021-08-09T12:50:14.783Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68c36bebdda7f987e00bebe29f65242b6b0debdf [Pipeline] echo [2021-08-09T12:50:14.840Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68c36be [Pipeline] echo [2021-08-09T12:50:14.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-09T12:50:15.061Z] provisioning config files... [2021-08-09T12:50:15.082Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5826125698598138860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:50:15.478Z] ---> docker-login.sh [2021-08-09T12:50:15.478Z] nexus3.edgexfoundry.org:10001 [2021-08-09T12:50:15.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:50:15.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:50:15.749Z] Configure a credential helper to remove this warning. See [2021-08-09T12:50:15.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:50:15.749Z] [2021-08-09T12:50:15.749Z] Login Succeeded [2021-08-09T12:50:15.749Z] nexus3.edgexfoundry.org:10002 [2021-08-09T12:50:15.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:50:16.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:50:16.045Z] Configure a credential helper to remove this warning. See [2021-08-09T12:50:16.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:50:16.045Z] [2021-08-09T12:50:16.045Z] Login Succeeded [2021-08-09T12:50:16.045Z] nexus3.edgexfoundry.org:10003 [2021-08-09T12:50:16.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:50:16.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:50:16.045Z] Configure a credential helper to remove this warning. See [2021-08-09T12:50:16.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:50:16.045Z] [2021-08-09T12:50:16.045Z] Login Succeeded [2021-08-09T12:50:16.045Z] nexus3.edgexfoundry.org:10004 [2021-08-09T12:50:16.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:50:16.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:50:16.314Z] Configure a credential helper to remove this warning. See [2021-08-09T12:50:16.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:50:16.314Z] [2021-08-09T12:50:16.314Z] Login Succeeded [2021-08-09T12:50:16.314Z] docker.io [2021-08-09T12:50:16.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:50:16.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:50:16.580Z] Configure a credential helper to remove this warning. See [2021-08-09T12:50:16.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:50:16.580Z] [2021-08-09T12:50:16.580Z] Login Succeeded [2021-08-09T12:50:16.580Z] ---> docker-login.sh ends [Pipeline] } [2021-08-09T12:50:16.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-09T12:50:17.049Z] ++ 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-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/core-command/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo core-command,cmd/core-command/Dockerfile [2021-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/core-data/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo core-data,cmd/core-data/Dockerfile [2021-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/core-metadata/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/support-notifications/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-08-09T12:50:17.049Z] + for file in '`ls cmd/**/Dockerfile`' [2021-08-09T12:50:17.049Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-08-09T12:50:17.049Z] ++ cut -d/ -f2 [2021-08-09T12:50:17.049Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-08-09T12:50:17.130Z] 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-08-09T12:50:18.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-09T12:50:18.506Z] [2021-08-09T12:50:18.506Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-09T12:50:18.874Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-09T12:50:18.874Z] latest: Pulling from edgex-devops/git-semver [2021-08-09T12:50:18.874Z] 31603596830f: Pulling fs layer [2021-08-09T12:50:18.874Z] d4622e32a9a9: Pulling fs layer [2021-08-09T12:50:18.874Z] 1030fce36090: Pulling fs layer [2021-08-09T12:50:18.874Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-09T12:50:18.874Z] 6c6cb7e1b49b: Waiting [2021-08-09T12:50:18.874Z] d4622e32a9a9: Verifying Checksum [2021-08-09T12:50:18.874Z] d4622e32a9a9: Download complete [2021-08-09T12:50:19.142Z] 31603596830f: Verifying Checksum [2021-08-09T12:50:19.142Z] 31603596830f: Download complete [2021-08-09T12:50:19.414Z] 31603596830f: Pull complete [2021-08-09T12:50:19.414Z] d4622e32a9a9: Pull complete [2021-08-09T12:50:19.414Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-09T12:50:19.414Z] 6c6cb7e1b49b: Download complete [2021-08-09T12:50:19.414Z] 1030fce36090: Verifying Checksum [2021-08-09T12:50:19.414Z] 1030fce36090: Download complete [2021-08-09T12:50:19.999Z] 1030fce36090: Pull complete [2021-08-09T12:50:20.271Z] 6c6cb7e1b49b: Pull complete [2021-08-09T12:50:20.271Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-09T12:50:20.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-09T12:50:20.271Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-09T12:50:20.381Z] prd-centos7-docker-4c-2g-119 does not seem to be running inside a container [2021-08-09T12:50:20.446Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-08-09T12:50:21.267Z] $ docker top bd488ca549ef0364b83ecbff5e0439fc57c5014b8b22c54f8fc371717f91c46e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-09T12:50:21.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-09T12:50:21.491Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-09T12:50:21.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-09T12:50:21.634Z] $ docker exec bd488ca549ef0364b83ecbff5e0439fc57c5014b8b22c54f8fc371717f91c46e ssh-agent [2021-08-09T12:50:21.754Z] SSH_AUTH_SOCK=/tmp/ssh-QqLDRTkAJzAq/agent.12 [2021-08-09T12:50:21.754Z] SSH_AGENT_PID=19 [2021-08-09T12:50:21.767Z] Running ssh-add (command line suppressed) [2021-08-09T12:50:21.878Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8625723587739410021.key (/w/workspace/edgex-go/1@tmp/private_key_8625723587739410021.key) [2021-08-09T12:50:21.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-09T12:50:22.275Z] + git tag --points-at HEAD [Pipeline] } [2021-08-09T12:50:22.309Z] $ docker exec --env ******** --env ******** bd488ca549ef0364b83ecbff5e0439fc57c5014b8b22c54f8fc371717f91c46e ssh-agent -k [2021-08-09T12:50:22.421Z] unset SSH_AUTH_SOCK; [2021-08-09T12:50:22.422Z] unset SSH_AGENT_PID; [2021-08-09T12:50:22.422Z] echo Agent pid 19 killed; [2021-08-09T12:50:22.437Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-09T12:50:22.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-09T12:50:22.533Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-09T12:50:22.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-09T12:50:22.682Z] $ docker exec bd488ca549ef0364b83ecbff5e0439fc57c5014b8b22c54f8fc371717f91c46e ssh-agent [2021-08-09T12:50:22.812Z] SSH_AUTH_SOCK=/tmp/ssh-1En0qtwkwDHS/agent.52 [2021-08-09T12:50:22.812Z] SSH_AGENT_PID=58 [2021-08-09T12:50:22.820Z] Running ssh-add (command line suppressed) [2021-08-09T12:50:22.933Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8412353767516440319.key (/w/workspace/edgex-go/1@tmp/private_key_8412353767516440319.key) [2021-08-09T12:50:22.960Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-09T12:50:23.328Z] + git semver init [2021-08-09T12:50:23.328Z] # -> Open(): unable to determine branch for HEAD [2021-08-09T12:50:23.328Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-08-09T12:50:23.328Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-08-09T12:50:23.328Z] # $SEMVER_REMOTE_NAME = origin [2021-08-09T12:50:23.328Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-09T12:50:23.328Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-09T12:50:23.328Z] # $SEMVER_BRANCH = PR-3664 [2021-08-09T12:50:23.328Z] # $SEMVER_TEMP = /tmp/semver-433409288 [2021-08-09T12:50:23.328Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-08-09T12:50:38.361Z] # '/tmp/semver-433409288' -> '/w/workspace/edgex-go/1/.semver' [2021-08-09T12:50:38.361Z] # -> Force: false [2021-08-09T12:50:38.361Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-08-09T12:50:38.398Z] $ docker exec --env ******** --env ******** bd488ca549ef0364b83ecbff5e0439fc57c5014b8b22c54f8fc371717f91c46e ssh-agent -k [2021-08-09T12:50:38.503Z] unset SSH_AUTH_SOCK; [2021-08-09T12:50:38.504Z] unset SSH_AGENT_PID; [2021-08-09T12:50:38.504Z] echo Agent pid 58 killed; [2021-08-09T12:50:38.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-09T12:50:38.977Z] + git semver [Pipeline] } [2021-08-09T12:50:39.020Z] $ docker stop --time=1 bd488ca549ef0364b83ecbff5e0439fc57c5014b8b22c54f8fc371717f91c46e [2021-08-09T12:50:40.893Z] $ docker rm -f bd488ca549ef0364b83ecbff5e0439fc57c5014b8b22c54f8fc371717f91c46e [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-09T12:50:41.349Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-09T12:50:41.751Z] Stashed 1 file(s) [Pipeline] echo [2021-08-09T12:50:41.773Z] [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-08-09T12:50:42.344Z] ========================================================= [2021-08-09T12:50:42.345Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-09T12:50:42.345Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-08-09T12:50:42.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-09T12:50:42.716Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-09T12:50:42.716Z] 540db60ca938: Pulling fs layer [2021-08-09T12:50:42.716Z] adcc1eea9eea: Pulling fs layer [2021-08-09T12:50:42.716Z] 4c4ab2625f07: Pulling fs layer [2021-08-09T12:50:42.716Z] db62176df00c: Pulling fs layer [2021-08-09T12:50:42.716Z] 3b30891b0d05: Pulling fs layer [2021-08-09T12:50:42.716Z] 06b49ca38bd5: Pulling fs layer [2021-08-09T12:50:42.716Z] c788192a36de: Pulling fs layer [2021-08-09T12:50:42.716Z] a77e37c0d609: Pulling fs layer [2021-08-09T12:50:42.716Z] c3185cebc471: Pulling fs layer [2021-08-09T12:50:42.716Z] db62176df00c: Waiting [2021-08-09T12:50:42.716Z] 3b30891b0d05: Waiting [2021-08-09T12:50:42.716Z] 06b49ca38bd5: Waiting [2021-08-09T12:50:42.716Z] c788192a36de: Waiting [2021-08-09T12:50:42.716Z] a77e37c0d609: Waiting [2021-08-09T12:50:42.716Z] c3185cebc471: Waiting [2021-08-09T12:50:42.716Z] 4c4ab2625f07: Download complete [2021-08-09T12:50:42.716Z] adcc1eea9eea: Download complete [2021-08-09T12:50:42.716Z] 3b30891b0d05: Verifying Checksum [2021-08-09T12:50:42.716Z] 3b30891b0d05: Download complete [2021-08-09T12:50:42.989Z] 06b49ca38bd5: Verifying Checksum [2021-08-09T12:50:42.989Z] 06b49ca38bd5: Download complete [2021-08-09T12:50:42.989Z] 540db60ca938: Verifying Checksum [2021-08-09T12:50:42.989Z] 540db60ca938: Download complete [2021-08-09T12:50:42.989Z] c788192a36de: Verifying Checksum [2021-08-09T12:50:42.989Z] c788192a36de: Download complete [2021-08-09T12:50:42.989Z] 540db60ca938: Pull complete [2021-08-09T12:50:43.257Z] adcc1eea9eea: Pull complete [2021-08-09T12:50:43.257Z] 4c4ab2625f07: Pull complete [2021-08-09T12:50:43.523Z] a77e37c0d609: Verifying Checksum [2021-08-09T12:50:43.523Z] a77e37c0d609: Download complete [2021-08-09T12:50:47.770Z] c3185cebc471: Verifying Checksum [2021-08-09T12:50:47.771Z] c3185cebc471: Download complete [2021-08-09T12:50:47.771Z] db62176df00c: Verifying Checksum [2021-08-09T12:50:47.771Z] db62176df00c: Download complete [2021-08-09T12:50:51.123Z] db62176df00c: Pull complete [2021-08-09T12:50:51.123Z] 3b30891b0d05: Pull complete [2021-08-09T12:50:51.123Z] 06b49ca38bd5: Pull complete [2021-08-09T12:50:51.124Z] c788192a36de: Pull complete [2021-08-09T12:50:51.124Z] a77e37c0d609: Pull complete [2021-08-09T12:50:53.091Z] c3185cebc471: Pull complete [2021-08-09T12:50:53.092Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-09T12:50:53.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-09T12:50:53.092Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-08-09T12:50:53.491Z] + echo 'FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-09T12:50:53.491Z] WORKDIR /edgex [2021-08-09T12:50:53.491Z] COPY go.mod . [2021-08-09T12:50:53.491Z] RUN go mod download' [2021-08-09T12:50:53.491Z] + docker build -t ci-base-image-x86_64 -f - . [2021-08-09T12:50:54.908Z] Sending build context to Docker daemon 328.6MB [2021-08-09T12:50:54.908Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-09T12:50:54.908Z] ---> 031687cdd783 [2021-08-09T12:50:54.908Z] Step 2/4 : WORKDIR /edgex [2021-08-09T12:50:56.317Z] ---> Running in 035e5b7f6170 [2021-08-09T12:50:56.317Z] Removing intermediate container 035e5b7f6170 [2021-08-09T12:50:56.317Z] ---> 700f8ac30e38 [2021-08-09T12:50:56.317Z] Step 3/4 : COPY go.mod . [2021-08-09T12:50:56.593Z] ---> 8fa92a7cf9cc [2021-08-09T12:50:56.593Z] Step 4/4 : RUN go mod download [2021-08-09T12:50:56.593Z] ---> Running in 063abbcdaa83 [2021-08-09T12:50:57.136Z] Still waiting to schedule task [2021-08-09T12:50:57.136Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ is offline [2021-08-09T12:51:28.859Z] Removing intermediate container 063abbcdaa83 [2021-08-09T12:51:28.859Z] ---> 8c1a8f546311 [2021-08-09T12:51:28.859Z] Successfully built 8c1a8f546311 [2021-08-09T12:51:28.859Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-09T12:51:29.225Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-09T12:51:29.225Z] . [Pipeline] withDockerContainer [2021-08-09T12:51:29.341Z] prd-centos7-docker-4c-2g-119 does not seem to be running inside a container [2021-08-09T12:51:29.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-09T12:51:29.776Z] $ docker top 53c62229a81f23fc0dd5a2439d0d12ce76a9924e5ded9b5d9170d693d4b7582e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-09T12:51:30.231Z] + go version [2021-08-09T12:51:30.231Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-09T12:51:30.278Z] $ docker stop --time=1 53c62229a81f23fc0dd5a2439d0d12ce76a9924e5ded9b5d9170d693d4b7582e [2021-08-09T12:51:31.496Z] $ docker rm -f 53c62229a81f23fc0dd5a2439d0d12ce76a9924e5ded9b5d9170d693d4b7582e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-09T12:51:32.206Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-09T12:51:32.206Z] . [Pipeline] withDockerContainer [2021-08-09T12:51:32.318Z] prd-centos7-docker-4c-2g-119 does not seem to be running inside a container [2021-08-09T12:51:32.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-08-09T12:51:32.722Z] $ docker top 29f2bec42aac4a3047ece73de9de2bace7ae890af9a80c96e752e64ecfe76d81 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-09T12:51:32.855Z] ========================================================= [2021-08-09T12:51:32.855Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-08-09T12:51:32.855Z] ========================================================= [Pipeline] sh [2021-08-09T12:51:33.182Z] + go mod tidy [Pipeline] sh [2021-08-09T12:51:33.791Z] + make test [2021-08-09T12:51:33.791Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "x86_64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-08-09T12:51:34.061Z] go mod tidy [2021-08-09T12:51:34.061Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-09T12:51:39.445Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-08-09T12:51:57.736Z] # github.com/edgexfoundry/edgex-go/internal/pkg/correlation [2021-08-09T12:51:57.736Z] internal/pkg/correlation/middleware.go:56:4: Fatalf call has error-wrapping directive %w [2021-08-09T12:51:57.736Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-08-09T12:52:01.136Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-08-09T12:52:01.413Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-08-09T12:52:02.003Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-08-09T12:52:04.625Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-08-09T12:52:05.235Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-08-09T12:52:05.235Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-08-09T12:52:05.235Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-08-09T12:52:05.843Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-08-09T12:52:06.112Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-08-09T12:52:06.384Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-08-09T12:52:06.384Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-08-09T12:52:06.384Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-08-09T12:52:06.384Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-08-09T12:52:08.977Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.052s coverage: 28.7% of statements [2021-08-09T12:52:08.977Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-08-09T12:52:08.977Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-08-09T12:52:09.942Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.066s coverage: 100.0% of statements [2021-08-09T12:52:09.942Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-08-09T12:52:10.209Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.089s coverage: 46.3% of statements [2021-08-09T12:52:10.209Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-08-09T12:52:10.209Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-08-09T12:52:11.184Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.122s coverage: 90.1% of statements [2021-08-09T12:52:11.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-08-09T12:52:11.184Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-08-09T12:52:12.168Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.079s coverage: 81.2% of statements [2021-08-09T12:52:12.168Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-08-09T12:52:12.168Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-08-09T12:52:12.168Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-08-09T12:52:12.168Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-08-09T12:52:12.168Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-08-09T12:52:13.135Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.261s coverage: 94.2% of statements [2021-08-09T12:52:13.135Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-08-09T12:52:13.135Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-08-09T12:52:13.135Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.045s coverage: 59.1% of statements [2021-08-09T12:52:13.135Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-08-09T12:52:13.135Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-08-09T12:52:13.135Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-08-09T12:52:13.135Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-08-09T12:52:13.135Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-08-09T12:52:13.405Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.061s coverage: 60.0% of statements [2021-08-09T12:52:14.372Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.052s coverage: 0.8% of statements [2021-08-09T12:52:14.372Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.050s coverage: 58.8% of statements [2021-08-09T12:52:14.372Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.058s coverage: 22.0% of statements [2021-08-09T12:52:14.639Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.051s coverage: 47.1% of statements [2021-08-09T12:52:14.910Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.052s coverage: 79.5% of statements [2021-08-09T12:52:15.178Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.052s coverage: 94.1% of statements [2021-08-09T12:52:15.447Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.076s coverage: 96.3% of statements [2021-08-09T12:52:15.720Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.050s coverage: 87.5% of statements [2021-08-09T12:52:28.054Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.062s coverage: 94.4% of statements [2021-08-09T12:52:28.054Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements [2021-08-09T12:52:32.321Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 15.215s coverage: 81.8% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.097s coverage: 92.9% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.022s coverage: 65.1% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.064s coverage: 87.2% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.052s coverage: 58.8% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.052s coverage: 80.0% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.051s coverage: 87.2% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.069s coverage: 85.4% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.083s coverage: 91.2% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.137s coverage: 64.4% of statements [2021-08-09T12:52:50.549Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.042s coverage: 100.0% of statements [2021-08-09T12:52:50.550Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 91.3% of statements [2021-08-09T12:52:50.550Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2021-08-09T12:52:50.550Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements [2021-08-09T12:52:50.550Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.031s coverage: 100.0% of statements [2021-08-09T12:52:50.817Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.193s coverage: 66.9% of statements [2021-08-09T12:52:51.786Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.117s coverage: 43.6% of statements [2021-08-09T12:52:51.786Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.058s coverage: 89.5% of statements [2021-08-09T12:52:52.053Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.058s coverage: 84.8% of statements [2021-08-09T12:52:58.727Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.058s coverage: 19.5% of statements [2021-08-09T12:52:58.727Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.133s coverage: 92.0% of statements [2021-08-09T12:52:58.727Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.053s coverage: 62.7% of statements [2021-08-09T12:52:58.727Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.096s coverage: 97.7% of statements [2021-08-09T12:52:58.727Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.045s coverage: 28.9% of statements [2021-08-09T12:52:58.727Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements [2021-08-09T12:52:58.727Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.031s coverage: 95.4% of statements [2021-08-09T12:52:58.993Z] make: *** [Makefile:101: test] Error 2 [Pipeline] } [2021-08-09T12:52:59.059Z] $ docker stop --time=1 29f2bec42aac4a3047ece73de9de2bace7ae890af9a80c96e752e64ecfe76d81 [2021-08-09T12:53:00.440Z] $ docker rm -f 29f2bec42aac4a3047ece73de9de2bace7ae890af9a80c96e752e64ecfe76d81 [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) [2021-08-09T12:53:01.102Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-120 in /w/workspace/edgexfoundry_edgex-go_PR-3664 [Pipeline] { Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] ws [2021-08-09T12:53:01.193Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] checkout Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2021-08-09T12:53:01.586Z] The recommended git tool is: git [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-09T12:53:01.716Z] Failed in branch amd64 [2021-08-09T12:53:06.938Z] using credential edgex-jenkins-ssh [2021-08-09T12:53:06.958Z] Cloning the remote Git repository [2021-08-09T12:53:07.010Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-08-09T12:53:07.136Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-08-09T12:53:07.201Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-08-09T12:53:07.202Z] > git --version # timeout=10 [2021-08-09T12:53:07.220Z] > git --version # 'git version 2.17.1' [2021-08-09T12:53:07.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-09T12:53:07.305Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-09T12:53:23.700Z] Merging remotes/origin/main commit 70a7de6140c9210a4916c44f40b1630081c5c4da into PR head commit d9f3b7f7daa4464a5873cbf7f3395f005174e4c1 [2021-08-09T12:53:22.849Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-08-09T12:53:22.864Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-09T12:53:22.885Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-08-09T12:53:22.913Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-08-09T12:53:22.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-09T12:53:22.929Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3664/head:refs/remotes/origin/PR-3664 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-08-09T12:53:23.720Z] > git config core.sparsecheckout # timeout=10 [2021-08-09T12:53:23.735Z] > git checkout -f d9f3b7f7daa4464a5873cbf7f3395f005174e4c1 # timeout=10 [2021-08-09T12:53:24.184Z] Merge succeeded, producing 03df2d31327d9b73ea8b94344d8523a21375de52 [2021-08-09T12:53:24.184Z] Checking out Revision 03df2d31327d9b73ea8b94344d8523a21375de52 (PR-3664) [2021-08-09T12:53:23.944Z] > git remote # timeout=10 [2021-08-09T12:53:23.960Z] > git config --get remote.origin.url # timeout=10 [2021-08-09T12:53:23.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-09T12:53:23.983Z] > git merge 70a7de6140c9210a4916c44f40b1630081c5c4da # timeout=10 [2021-08-09T12:53:24.168Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-08-09T12:53:24.189Z] > git config core.sparsecheckout # timeout=10 [2021-08-09T12:53:24.209Z] > git checkout -f 03df2d31327d9b73ea8b94344d8523a21375de52 # timeout=10 [2021-08-09T12:53:28.448Z] Commit message: "Merge commit '70a7de6140c9210a4916c44f40b1630081c5c4da' into HEAD" [2021-08-09T12:53:28.449Z] First time build. Skipping changelog. [2021-08-09T12:53:28.512Z] > git --version # timeout=10 [2021-08-09T12:53:28.525Z] > git --version # 'git version 2.17.1' [2021-08-09T12:53:28.538Z] fatal: bad object 4fbf90f19193a45d2dbdd9e9e5fbe6e31255a08c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-09T12:53:29.397Z] provisioning config files... [2021-08-09T12:53:29.434Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config2016137940236682582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:53:30.072Z] ---> docker-login.sh [2021-08-09T12:53:30.072Z] nexus3.edgexfoundry.org:10001 [2021-08-09T12:53:31.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:53:31.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:53:31.336Z] Configure a credential helper to remove this warning. See [2021-08-09T12:53:31.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:53:31.336Z] [2021-08-09T12:53:31.336Z] Login Succeeded [2021-08-09T12:53:31.336Z] nexus3.edgexfoundry.org:10002 [2021-08-09T12:53:31.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:53:31.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:53:31.959Z] Configure a credential helper to remove this warning. See [2021-08-09T12:53:31.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:53:31.959Z] [2021-08-09T12:53:31.959Z] Login Succeeded [2021-08-09T12:53:31.959Z] nexus3.edgexfoundry.org:10003 [2021-08-09T12:53:32.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:53:32.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:53:32.548Z] Configure a credential helper to remove this warning. See [2021-08-09T12:53:32.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:53:32.548Z] [2021-08-09T12:53:32.548Z] Login Succeeded [2021-08-09T12:53:32.548Z] nexus3.edgexfoundry.org:10004 [2021-08-09T12:53:32.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:53:33.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:53:33.097Z] Configure a credential helper to remove this warning. See [2021-08-09T12:53:33.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:53:33.097Z] [2021-08-09T12:53:33.097Z] Login Succeeded [2021-08-09T12:53:33.097Z] docker.io [2021-08-09T12:53:33.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-09T12:53:33.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-09T12:53:33.976Z] Configure a credential helper to remove this warning. See [2021-08-09T12:53:33.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-09T12:53:33.976Z] [2021-08-09T12:53:33.976Z] Login Succeeded [2021-08-09T12:53:33.976Z] ---> docker-login.sh ends [Pipeline] } [2021-08-09T12:53:34.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-09T12:53:34.675Z] ========================================================= [2021-08-09T12:53:34.675Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-09T12:53:34.675Z] ========================================================= [Pipeline] fileExists [Pipeline] sh [2021-08-09T12:53:35.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-09T12:53:35.413Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-09T12:53:35.413Z] 595b0fe564bb: Pulling fs layer [2021-08-09T12:53:35.413Z] 24495759ef45: Pulling fs layer [2021-08-09T12:53:35.413Z] d148012ef14d: Pulling fs layer [2021-08-09T12:53:35.413Z] e90a11edd702: Pulling fs layer [2021-08-09T12:53:35.413Z] d77568369979: Pulling fs layer [2021-08-09T12:53:35.413Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-09T12:53:35.413Z] 170f2ba95c9a: Pulling fs layer [2021-08-09T12:53:35.413Z] 97ac5df62f85: Pulling fs layer [2021-08-09T12:53:35.413Z] d77568369979: Waiting [2021-08-09T12:53:35.413Z] fc1c9f9a7f3b: Waiting [2021-08-09T12:53:35.413Z] 170f2ba95c9a: Waiting [2021-08-09T12:53:35.413Z] e90a11edd702: Waiting [2021-08-09T12:53:35.413Z] 97ac5df62f85: Waiting [2021-08-09T12:53:35.413Z] d148012ef14d: Verifying Checksum [2021-08-09T12:53:35.413Z] 24495759ef45: Verifying Checksum [2021-08-09T12:53:35.413Z] 24495759ef45: Download complete [2021-08-09T12:53:35.413Z] d77568369979: Download complete [2021-08-09T12:53:35.689Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-09T12:53:35.690Z] fc1c9f9a7f3b: Download complete [2021-08-09T12:53:35.690Z] 595b0fe564bb: Download complete [2021-08-09T12:53:35.690Z] 170f2ba95c9a: Verifying Checksum [2021-08-09T12:53:35.690Z] 170f2ba95c9a: Download complete [2021-08-09T12:53:36.298Z] 595b0fe564bb: Pull complete [2021-08-09T12:53:36.904Z] 24495759ef45: Pull complete [2021-08-09T12:53:37.508Z] d148012ef14d: Pull complete [2021-08-09T12:53:38.948Z] 97ac5df62f85: Verifying Checksum [2021-08-09T12:53:38.948Z] 97ac5df62f85: Download complete [2021-08-09T12:53:40.389Z] e90a11edd702: Verifying Checksum [2021-08-09T12:53:40.389Z] e90a11edd702: Download complete [2021-08-09T12:53:50.556Z] e90a11edd702: Pull complete [2021-08-09T12:53:50.556Z] d77568369979: Pull complete [2021-08-09T12:53:50.830Z] fc1c9f9a7f3b: Pull complete [2021-08-09T12:53:51.110Z] 170f2ba95c9a: Pull complete [2021-08-09T12:53:57.839Z] 97ac5df62f85: Pull complete [2021-08-09T12:53:57.839Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-09T12:53:57.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-09T12:53:57.839Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [Pipeline] fileExists [Pipeline] sh [2021-08-09T12:53:58.284Z] + echo FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-09T12:53:58.284Z] WORKDIR /edgex [2021-08-09T12:53:58.284Z] COPY go.mod . [2021-08-09T12:53:58.284Z] RUN go mod download [2021-08-09T12:53:58.284Z] + docker build -t ci-base-image-arm64 -f - . [2021-08-09T12:54:00.274Z] Sending build context to Docker daemon 165.9MB [2021-08-09T12:54:00.551Z] Step 1/4 : FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-09T12:54:00.551Z] ---> 04bc70af865f [2021-08-09T12:54:00.551Z] Step 2/4 : WORKDIR /edgex [2021-08-09T12:54:03.954Z] ---> Running in 65323113603c [2021-08-09T12:54:04.228Z] Removing intermediate container 65323113603c [2021-08-09T12:54:04.228Z] ---> 1c4e09692575 [2021-08-09T12:54:04.228Z] Step 3/4 : COPY go.mod . [2021-08-09T12:54:05.228Z] ---> 1b45455f10d1 [2021-08-09T12:54:05.228Z] Step 4/4 : RUN go mod download [2021-08-09T12:54:05.228Z] ---> Running in 97e2b40f6abc [2021-08-09T12:55:42.057Z] Removing intermediate container 97e2b40f6abc [2021-08-09T12:55:42.057Z] ---> 124243e330e2 [2021-08-09T12:55:42.057Z] Successfully built 124243e330e2 [2021-08-09T12:55:42.057Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-09T12:55:42.440Z] + docker inspect -f . ci-base-image-arm64 [2021-08-09T12:55:42.440Z] . [Pipeline] withDockerContainer [2021-08-09T12:55:42.730Z] prd-ubuntu18.04-docker-arm64-4c-16g-120 does not seem to be running inside a container [2021-08-09T12:55:42.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-09T12:55:44.586Z] $ docker top 5ce3e7d1a5b6e64bd097efa897e30c86f696d2e3742d568da3ab64a17a36b1ad -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-09T12:55:45.635Z] + go version [2021-08-09T12:55:45.635Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-09T12:55:45.672Z] $ docker stop --time=1 5ce3e7d1a5b6e64bd097efa897e30c86f696d2e3742d568da3ab64a17a36b1ad [2021-08-09T12:55:47.501Z] $ docker rm -f 5ce3e7d1a5b6e64bd097efa897e30c86f696d2e3742d568da3ab64a17a36b1ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-09T12:55:48.462Z] + docker inspect -f . ci-base-image-arm64 [2021-08-09T12:55:48.462Z] . [Pipeline] withDockerContainer [2021-08-09T12:55:48.744Z] prd-ubuntu18.04-docker-arm64-4c-16g-120 does not seem to be running inside a container [2021-08-09T12:55:48.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-08-09T12:55:50.510Z] $ docker top 7454cc4bab7bd74c535eccd7e0117c06b7c26e07ae667e43d643f09d3194b308 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-09T12:55:50.897Z] ========================================================= [2021-08-09T12:55:50.897Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-08-09T12:55:50.897Z] ========================================================= [Pipeline] sh [2021-08-09T12:55:51.562Z] + go mod tidy [Pipeline] sh [2021-08-09T12:55:53.255Z] + make test [2021-08-09T12:55:53.255Z] if which hadolint > /dev/null ; then hadolint --config .hadolint.yml `find * -type f -name 'Dockerfile*' -print` ; elif test "aarch64" = "x86_64" && which docker > /dev/null ; then docker run --rm -v `pwd`:/host:ro,z --entrypoint /bin/hadolint hadolint/hadolint:latest --config /host/.hadolint.yml `find * -type f -name 'Dockerfile*' | xargs -i echo '/host/{}'` ; fi [2021-08-09T12:55:53.255Z] go mod tidy [2021-08-09T12:55:53.857Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-09T12:56:20.669Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-08-09T12:57:17.277Z] # github.com/edgexfoundry/edgex-go/internal/pkg/correlation [2021-08-09T12:57:17.277Z] internal/pkg/correlation/middleware.go:56:4: Fatalf call has error-wrapping directive %w [2021-08-09T12:57:17.277Z] ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] [2021-08-09T12:57:19.267Z] ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] [2021-08-09T12:57:20.259Z] ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] [2021-08-09T12:57:20.861Z] ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] [2021-08-09T12:57:33.326Z] ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrapper [no test files] [2021-08-09T12:57:33.326Z] ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] [2021-08-09T12:57:33.326Z] ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] [2021-08-09T12:57:33.326Z] ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] [2021-08-09T12:57:33.326Z] ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] [2021-08-09T12:57:33.326Z] ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] [2021-08-09T12:57:34.316Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] [2021-08-09T12:57:34.316Z] ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] [2021-08-09T12:57:34.316Z] ? github.com/edgexfoundry/edgex-go/internal [no test files] [2021-08-09T12:57:34.316Z] ? github.com/edgexfoundry/edgex-go/internal/core/command [no test files] [2021-08-09T12:57:46.757Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.175s coverage: 28.7% of statements [2021-08-09T12:57:46.757Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] [2021-08-09T12:57:46.757Z] ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] [2021-08-09T12:57:48.754Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.376s coverage: 100.0% of statements [2021-08-09T12:57:48.754Z] ? github.com/edgexfoundry/edgex-go/internal/core/data [no test files] [2021-08-09T12:57:49.747Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.320s coverage: 46.3% of statements [2021-08-09T12:57:49.747Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] [2021-08-09T12:57:49.747Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] [2021-08-09T12:57:51.751Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/controller/http 0.556s coverage: 90.1% of statements [2021-08-09T12:57:51.751Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces [no test files] [2021-08-09T12:57:51.751Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/infrastructure/interfaces/mocks [no test files] [2021-08-09T12:57:53.743Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.234s coverage: 81.2% of statements [2021-08-09T12:57:53.743Z] ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] [2021-08-09T12:57:53.743Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata [no test files] [2021-08-09T12:57:53.743Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/application [no test files] [2021-08-09T12:57:53.743Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] [2021-08-09T12:57:53.743Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] [2021-08-09T12:57:59.207Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.443s coverage: 94.2% of statements [2021-08-09T12:57:59.207Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces [no test files] [2021-08-09T12:57:59.207Z] ? github.com/edgexfoundry/edgex-go/internal/core/metadata/infrastructure/interfaces/mocks [no test files] [2021-08-09T12:57:59.207Z] ok github.com/edgexfoundry/edgex-go/internal/io 0.206s coverage: 59.1% of statements [2021-08-09T12:57:59.207Z] ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] [2021-08-09T12:57:59.207Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/application [no test files] [2021-08-09T12:57:59.207Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers [no test files] [2021-08-09T12:57:59.207Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] [2021-08-09T12:57:59.207Z] ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] [2021-08-09T12:57:59.207Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.202s coverage: 60.0% of statements [2021-08-09T12:57:59.207Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.330s coverage: 0.8% of statements [2021-08-09T12:57:59.207Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.162s coverage: 58.8% of statements [2021-08-09T12:57:59.207Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.218s coverage: 22.0% of statements [2021-08-09T12:57:59.483Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.193s coverage: 47.1% of statements [2021-08-09T12:58:02.125Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.200s coverage: 79.5% of statements [2021-08-09T12:58:02.125Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.169s coverage: 94.1% of statements [2021-08-09T12:58:02.125Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.205s coverage: 96.3% of statements [2021-08-09T12:58:02.410Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.251s coverage: 87.5% of statements [2021-08-09T12:58:14.836Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.202s coverage: 94.4% of statements [2021-08-09T12:58:14.836Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.166s coverage: 44.8% of statements [2021-08-09T12:58:20.259Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.641s coverage: 81.8% of statements [2021-08-09T12:58:28.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.257s coverage: 92.9% of statements [2021-08-09T12:58:28.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.053s coverage: 65.1% of statements [2021-08-09T12:58:28.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.176s coverage: 87.2% of statements [2021-08-09T12:58:28.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.153s coverage: 100.0% of statements [2021-08-09T12:58:28.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.170s coverage: 58.8% of statements [2021-08-09T12:58:28.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.185s coverage: 80.0% of statements [2021-08-09T12:58:28.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.275s coverage: 87.2% of statements [2021-08-09T12:58:28.601Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.276s coverage: 85.4% of statements [2021-08-09T12:58:28.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.289s coverage: 91.2% of statements [2021-08-09T12:58:28.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.577s coverage: 64.4% of statements [2021-08-09T12:58:28.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.180s coverage: 100.0% of statements [2021-08-09T12:58:28.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.116s coverage: 91.3% of statements [2021-08-09T12:58:28.602Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.078s coverage: 100.0% of statements [2021-08-09T12:58:30.068Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.155s coverage: 73.7% of statements [2021-08-09T12:58:30.068Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.076s coverage: 100.0% of statements [2021-08-09T12:58:33.495Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.108s coverage: 66.9% of statements [2021-08-09T12:58:36.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.754s coverage: 43.6% of statements [2021-08-09T12:58:36.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.223s coverage: 89.5% of statements [2021-08-09T12:58:36.893Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.265s coverage: 84.8% of statements [2021-08-09T12:58:45.186Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.353s coverage: 19.5% of statements [2021-08-09T12:58:45.186Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.592s coverage: 92.0% of statements [2021-08-09T12:58:45.186Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.208s coverage: 62.7% of statements [2021-08-09T12:58:45.186Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.385s coverage: 97.7% of statements [2021-08-09T12:58:45.186Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.163s coverage: 28.9% of statements [2021-08-09T12:58:45.186Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.166s coverage: 100.0% of statements [2021-08-09T12:58:45.186Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 95.4% of statements [2021-08-09T12:58:45.186Z] make: *** [Makefile:101: test] Error 2 [Pipeline] } [2021-08-09T12:58:45.246Z] $ docker stop --time=1 7454cc4bab7bd74c535eccd7e0117c06b7c26e07ae667e43d643f09d3194b308 [2021-08-09T12:58:47.281Z] $ docker rm -f 7454cc4bab7bd74c535eccd7e0117c06b7c26e07ae667e43d643f09d3194b308 [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-08-09T12:58:49.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-09T12:58:49.004Z] [2021-08-09T12:58:49.004Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-09T12:58:49.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-09T12:58:49.703Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-09T12:58:49.703Z] 448f6bf000e3: Pulling fs layer [2021-08-09T12:58:49.703Z] f757da607395: Pulling fs layer [2021-08-09T12:58:49.703Z] 05883995daec: Pulling fs layer [2021-08-09T12:58:49.703Z] 8603b9c90790: Pulling fs layer [2021-08-09T12:58:49.703Z] 1560dd03e051: Pulling fs layer [2021-08-09T12:58:49.703Z] 27f5ce0e4adf: Pulling fs layer [2021-08-09T12:58:49.703Z] c2d8d7efcc4b: Pulling fs layer [2021-08-09T12:58:49.703Z] 1560dd03e051: Waiting [2021-08-09T12:58:49.703Z] c2d8d7efcc4b: Waiting [2021-08-09T12:58:49.703Z] 8603b9c90790: Waiting [2021-08-09T12:58:49.980Z] f757da607395: Verifying Checksum [2021-08-09T12:58:49.980Z] f757da607395: Download complete [2021-08-09T12:58:50.266Z] 8603b9c90790: Verifying Checksum [2021-08-09T12:58:50.266Z] 8603b9c90790: Download complete [2021-08-09T12:58:50.266Z] 1560dd03e051: Verifying Checksum [2021-08-09T12:58:50.266Z] 1560dd03e051: Download complete [2021-08-09T12:58:50.266Z] 27f5ce0e4adf: Verifying Checksum [2021-08-09T12:58:50.266Z] 27f5ce0e4adf: Download complete [2021-08-09T12:58:50.542Z] 05883995daec: Download complete [2021-08-09T12:58:51.522Z] 448f6bf000e3: Verifying Checksum [2021-08-09T12:58:51.522Z] 448f6bf000e3: Download complete [2021-08-09T12:58:54.151Z] c2d8d7efcc4b: Verifying Checksum [2021-08-09T12:58:54.151Z] c2d8d7efcc4b: Download complete [2021-08-09T12:58:55.128Z] 448f6bf000e3: Pull complete [2021-08-09T12:58:55.722Z] f757da607395: Pull complete [2021-08-09T12:58:57.713Z] 05883995daec: Pull complete [2021-08-09T12:58:57.714Z] 8603b9c90790: Pull complete [2021-08-09T12:58:58.695Z] 1560dd03e051: Pull complete [2021-08-09T12:58:59.292Z] 27f5ce0e4adf: Pull complete [2021-08-09T12:59:14.404Z] c2d8d7efcc4b: Pull complete [2021-08-09T12:59:14.404Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-09T12:59:14.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-09T12:59:14.404Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-09T12:59:14.688Z] prd-ubuntu18.04-docker-arm64-4c-16g-120 does not seem to be running inside a container [2021-08-09T12:59:14.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-08-09T12:59:18.814Z] $ docker top 8552bca582b5a835d3c7d6272af2793474436f189b46c3b23de36fb178ab0a38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:59:20.060Z] ---> job-cost.sh [2021-08-09T12:59:20.060Z] lf-activate-venv: SKIPPING [2021-08-09T12:59:20.060Z] INFO: No Stack... [2021-08-09T12:59:21.492Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-09T12:59:21.763Z] INFO: Archiving Costs [Pipeline] sh [2021-08-09T12:59:22.461Z] + + cut -d,cat -f6 /w/workspace/edgex-go/1/archives/cost.csv [2021-08-09T12:59:22.461Z] [Pipeline] lock [2021-08-09T12:59:22.552Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3664-1-stack-cost] [2021-08-09T12:59:22.559Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3664-1-stack-cost] did not exist. Created. [2021-08-09T12:59:22.559Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3664-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-09T12:59:23.347Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-09T12:59:24.012Z] Stashed 1 file(s) [Pipeline] } [2021-08-09T12:59:24.035Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3664-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-09T12:59:24.126Z] $ docker stop --time=1 8552bca582b5a835d3c7d6272af2793474436f189b46c3b23de36fb178ab0a38 [2021-08-09T12:59:25.786Z] $ docker rm -f 8552bca582b5a835d3c7d6272af2793474436f189b46c3b23de36fb178ab0a38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-09T12:59:26.640Z] 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-08-09T12:59:28.565Z] + '[' -d /w/workspace/edgex-go/1/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:59:28.944Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:59:29.587Z] ---> package-listing.sh [2021-08-09T12:59:29.587Z] ++ facter osfamily [2021-08-09T12:59:29.587Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-09T12:59:29.864Z] + OS_FAMILY=redhat [2021-08-09T12:59:29.864Z] + workspace=/w/workspace/edgex-go/1 [2021-08-09T12:59:29.864Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-09T12:59:29.864Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-09T12:59:29.864Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-09T12:59:29.864Z] + PACKAGES=/tmp/packages_start.txt [2021-08-09T12:59:29.864Z] + '[' /w/workspace/edgex-go/1 ']' [2021-08-09T12:59:29.864Z] + PACKAGES=/tmp/packages_end.txt [2021-08-09T12:59:29.864Z] + case "${OS_FAMILY}" in [2021-08-09T12:59:29.864Z] + rpm -qa [2021-08-09T12:59:29.864Z] + sort [2021-08-09T12:59:30.447Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-09T12:59:30.447Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-09T12:59:30.447Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-09T12:59:30.447Z] + '[' /w/workspace/edgex-go/1 ']' [2021-08-09T12:59:30.447Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-08-09T12:59:30.447Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-08-09T12:59:30.484Z] 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-08-09T12:59:30.819Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-09T12:59:31.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-09T12:59:31.440Z] [2021-08-09T12:59:31.440Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-09T12:59:31.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-09T12:59:31.815Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-09T12:59:31.815Z] b4d181a07f80: Pulling fs layer [2021-08-09T12:59:31.815Z] a1111a8f2ec3: Pulling fs layer [2021-08-09T12:59:31.815Z] ed53099fbce6: Pulling fs layer [2021-08-09T12:59:31.815Z] dc539afda2c1: Pulling fs layer [2021-08-09T12:59:31.815Z] 77bc0d833cb6: Pulling fs layer [2021-08-09T12:59:31.815Z] 9065ff56babe: Pulling fs layer [2021-08-09T12:59:31.815Z] d287ab97295c: Pulling fs layer [2021-08-09T12:59:31.815Z] 77bc0d833cb6: Waiting [2021-08-09T12:59:31.815Z] 9065ff56babe: Waiting [2021-08-09T12:59:31.815Z] d287ab97295c: Waiting [2021-08-09T12:59:31.815Z] dc539afda2c1: Waiting [2021-08-09T12:59:32.082Z] a1111a8f2ec3: Download complete [2021-08-09T12:59:32.082Z] dc539afda2c1: Verifying Checksum [2021-08-09T12:59:32.082Z] dc539afda2c1: Download complete [2021-08-09T12:59:32.348Z] 77bc0d833cb6: Verifying Checksum [2021-08-09T12:59:32.348Z] 77bc0d833cb6: Download complete [2021-08-09T12:59:32.348Z] 9065ff56babe: Verifying Checksum [2021-08-09T12:59:32.348Z] 9065ff56babe: Download complete [2021-08-09T12:59:32.614Z] ed53099fbce6: Verifying Checksum [2021-08-09T12:59:32.614Z] ed53099fbce6: Download complete [2021-08-09T12:59:33.209Z] b4d181a07f80: Verifying Checksum [2021-08-09T12:59:33.210Z] b4d181a07f80: Download complete [2021-08-09T12:59:34.629Z] b4d181a07f80: Pull complete [2021-08-09T12:59:34.629Z] a1111a8f2ec3: Pull complete [2021-08-09T12:59:35.217Z] ed53099fbce6: Pull complete [2021-08-09T12:59:35.217Z] dc539afda2c1: Pull complete [2021-08-09T12:59:35.481Z] 77bc0d833cb6: Pull complete [2021-08-09T12:59:35.481Z] 9065ff56babe: Pull complete [2021-08-09T12:59:36.884Z] d287ab97295c: Verifying Checksum [2021-08-09T12:59:36.884Z] d287ab97295c: Download complete [2021-08-09T12:59:41.158Z] d287ab97295c: Pull complete [2021-08-09T12:59:41.158Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-09T12:59:41.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-09T12:59:41.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-09T12:59:41.279Z] prd-centos7-docker-4c-2g-119 does not seem to be running inside a container [2021-08-09T12:59:41.345Z] $ 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/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-08-09T12:59:43.531Z] $ docker top 24cd5adc0cf581c301946899efa71349ebde5ae0e94b697339f3d713a8bd40a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-09T12:59:44.329Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-09T12:59:44.831Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-09T12:59:45.168Z] + ls /var/log/sa-host [2021-08-09T12:59:45.168Z] + sadf -c /var/log/sa-host/sa05 [2021-08-09T12:59:45.168Z] file_magic: OK [2021-08-09T12:59:45.168Z] HZ: Using current value: 100 [2021-08-09T12:59:45.168Z] file_header: OK [2021-08-09T12:59:45.168Z] 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-08-09T12:59:45.168Z] Statistics: [2021-08-09T12:59:45.168Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-09T12:59:45.168Z] File successfully converted to sysstat format version 12.0.3 [2021-08-09T12:59:45.168Z] + sadf -c /var/log/sa-host/sa09 [2021-08-09T12:59:45.168Z] file_magic: OK [2021-08-09T12:59:45.168Z] HZ: Using current value: 100 [2021-08-09T12:59:45.168Z] file_header: OK [2021-08-09T12:59:45.168Z] 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-08-09T12:59:45.168Z] Statistics: [2021-08-09T12:59:45.168Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-09T12:59:45.168Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-09T12:59:45.777Z] provisioning config files... [2021-08-09T12:59:45.793Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config3017647408138331162tmp [Pipeline] { [Pipeline] echo [2021-08-09T12:59:45.865Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:59:46.219Z] ---> create-netrc.sh [Pipeline] } [2021-08-09T12:59:46.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:59:46.718Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-09T12:59:46.752Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:59:47.108Z] ---> sudo-logs.sh [2021-08-09T12:59:47.108Z] Archiving 'sudo' log.. [2021-08-09T12:59:47.108Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-119.vexxhost.local: Name or service not known [2021-08-09T12:59:47.108Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-119.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-09T12:59:47.193Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:59:47.550Z] ---> job-cost.sh [2021-08-09T12:59:47.550Z] lf-activate-venv: SKIPPING [2021-08-09T12:59:47.550Z] DEBUG: total: 0.18000000715255737 [2021-08-09T12:59:47.550Z] INFO: Retrieving Stack Cost... [2021-08-09T12:59:48.954Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-09T12:59:49.224Z] INFO: Archiving Costs [Pipeline] echo [2021-08-09T12:59:49.260Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-09T12:59:49.612Z] ---> logs-deploy.sh [2021-08-09T12:59:49.612Z] lf-activate-venv: SKIPPING [2021-08-09T12:59:49.612Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3664/1 [2021-08-09T12:59:49.612Z] INFO: archiving workspace using pattern(s): [2021-08-09T12:59:50.195Z] Archives upload complete. [2021-08-09T12:59:50.462Z] INFO: archiving logs to Nexus