Pull request #3514 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c+550dbfbb7a3c0bbee0312ba32fc98e89501b71b9 (0f4474a754a424243ea01e56509e3594b57d3b05) 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8734191486147191549.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4989960182512077869.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 9d0281235b943b7ad605f650702698f9078b2862 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-3514/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3514/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7664505234288216804.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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3514/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh150818948691729152.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5868465634256251882.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-3514/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3514/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7508682661696127679.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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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 9d0281235b943b7ad605f650702698f9078b2862 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/v1, 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_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/v1 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 ‘prd-centos7-builder-2c-1g-307’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-309’ is offline ‘prd-centos7-docker-4c-2g-591’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-590’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-593 in /w/workspace/edgexfoundry_edgex-go_PR-3514 [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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh7007897227087142161.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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh5826091319591449868.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3514/head:refs/remotes/origin/PR-3514 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 550dbfbb7a3c0bbee0312ba32fc98e89501b71b9 into PR head commit 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c Merge succeeded, producing 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c Checking out Revision 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c (PR-3514) > git config core.sparsecheckout # timeout=10 > git checkout -f 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/1@tmp/jenkins-gitclient-ssh7707049621791498550.key > git merge 550dbfbb7a3c0bbee0312ba32fc98e89501b71b9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-secrets/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-27T05:48:57.945Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-27T05:48:58.186Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-27T05:48:58.379Z] ========================================================= [2021-05-27T05:48:58.379Z] EdgeX Global Pipelines Version Info [2021-05-27T05:48:58.379Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:49:00.020Z] ------------------- [2021-05-27T05:49:00.020Z] stable info: [2021-05-27T05:49:00.020Z] ------------------- [2021-05-27T05:49:00.020Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-27T05:49:00.020Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-27T05:49:00.020Z] Message: update stable to v1.0.192 [2021-05-27T05:49:00.992Z] ------------------- [2021-05-27T05:49:00.992Z] experimental info: [2021-05-27T05:49:00.992Z] ------------------- [2021-05-27T05:49:00.992Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-27T05:49:00.992Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-27T05:49:00.992Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-27T05:49:01.257Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-27T05:49:01.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-27T05:49:01.413Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-27T05:49:01.486Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-27T05:49:01.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-27T05:49:01.657Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-27T05:49:01.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-27T05:49:01.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-27T05:49:01.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo [2021-05-27T05:49:01.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo [2021-05-27T05:49:01.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-27T05:49:02.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-27T05:49:02.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-27T05:49:02.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-27T05:49:02.283Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-27T05:49:02.342Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-27T05:49:02.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-27T05:49:02.474Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-27T05:49:02.537Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-27T05:49:02.593Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-27T05:49:02.686Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-27T05:49:02.741Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-27T05:49:02.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3514 [Pipeline] echo [2021-05-27T05:49:02.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3514 [Pipeline] echo [2021-05-27T05:49:02.916Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3514 [Pipeline] echo [2021-05-27T05:49:03.001Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c [Pipeline] echo [2021-05-27T05:49:03.066Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9737d39 [Pipeline] echo [2021-05-27T05:49:03.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-27T05:49:03.314Z] provisioning config files... [2021-05-27T05:49:03.331Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config302036965698898168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:49:03.739Z] ---> docker-login.sh [2021-05-27T05:49:03.739Z] nexus3.edgexfoundry.org:10001 [2021-05-27T05:49:04.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:49:04.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:49:04.005Z] Configure a credential helper to remove this warning. See [2021-05-27T05:49:04.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:49:04.005Z] [2021-05-27T05:49:04.005Z] Login Succeeded [2021-05-27T05:49:04.005Z] nexus3.edgexfoundry.org:10002 [2021-05-27T05:49:04.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:49:04.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:49:04.268Z] Configure a credential helper to remove this warning. See [2021-05-27T05:49:04.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:49:04.268Z] [2021-05-27T05:49:04.268Z] Login Succeeded [2021-05-27T05:49:04.268Z] nexus3.edgexfoundry.org:10003 [2021-05-27T05:49:04.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:49:04.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:49:04.268Z] Configure a credential helper to remove this warning. See [2021-05-27T05:49:04.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:49:04.268Z] [2021-05-27T05:49:04.268Z] Login Succeeded [2021-05-27T05:49:04.268Z] nexus3.edgexfoundry.org:10004 [2021-05-27T05:49:04.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:49:04.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:49:04.533Z] Configure a credential helper to remove this warning. See [2021-05-27T05:49:04.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:49:04.533Z] [2021-05-27T05:49:04.533Z] Login Succeeded [2021-05-27T05:49:04.533Z] docker.io [2021-05-27T05:49:04.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:49:04.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:49:04.795Z] Configure a credential helper to remove this warning. See [2021-05-27T05:49:04.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:49:04.795Z] [2021-05-27T05:49:04.795Z] Login Succeeded [2021-05-27T05:49:04.795Z] ---> docker-login.sh ends [Pipeline] } [2021-05-27T05:49:04.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-27T05:49:05.315Z] ++ 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-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] ++ dirname cmd/core-command/Dockerfile [2021-05-27T05:49:05.315Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ dirname cmd/core-data/Dockerfile [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-27T05:49:05.315Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-27T05:49:05.315Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-27T05:49:05.315Z] ++ cut -d/ -f2 [2021-05-27T05:49:05.315Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-27T05:49:05.391Z] 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-05-27T05:49:06.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-27T05:49:06.279Z] [2021-05-27T05:49:06.279Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:49:06.637Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-27T05:49:06.637Z] latest: Pulling from edgex-devops/git-semver [2021-05-27T05:49:06.637Z] 31603596830f: Pulling fs layer [2021-05-27T05:49:06.637Z] 54011a49482f: Pulling fs layer [2021-05-27T05:49:06.637Z] a6820b24f6d8: Pulling fs layer [2021-05-27T05:49:06.637Z] f581987b2513: Pulling fs layer [2021-05-27T05:49:06.637Z] f581987b2513: Waiting [2021-05-27T05:49:06.637Z] 54011a49482f: Verifying Checksum [2021-05-27T05:49:06.637Z] 54011a49482f: Download complete [2021-05-27T05:49:06.914Z] 31603596830f: Verifying Checksum [2021-05-27T05:49:06.914Z] 31603596830f: Download complete [2021-05-27T05:49:07.179Z] 31603596830f: Pull complete [2021-05-27T05:49:07.179Z] f581987b2513: Verifying Checksum [2021-05-27T05:49:07.179Z] f581987b2513: Download complete [2021-05-27T05:49:07.179Z] a6820b24f6d8: Verifying Checksum [2021-05-27T05:49:07.179Z] a6820b24f6d8: Download complete [2021-05-27T05:49:07.179Z] 54011a49482f: Pull complete [2021-05-27T05:49:07.771Z] a6820b24f6d8: Pull complete [2021-05-27T05:49:08.036Z] f581987b2513: Pull complete [2021-05-27T05:49:08.036Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-27T05:49:08.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-27T05:49:08.036Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-27T05:49:08.162Z] prd-centos7-docker-4c-2g-593 does not seem to be running inside a container [2021-05-27T05:49:08.209Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-27T05:49:11.455Z] $ docker top 27b01861849f1d568222ed6674b6b30edeb5a0a9b087352f79264be51a755775 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-27T05:49:11.700Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-27T05:49:11.700Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-27T05:49:11.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-27T05:49:11.832Z] $ docker exec 27b01861849f1d568222ed6674b6b30edeb5a0a9b087352f79264be51a755775 ssh-agent [2021-05-27T05:49:11.961Z] SSH_AUTH_SOCK=/tmp/ssh-LeCysWxjdnHx/agent.13 [2021-05-27T05:49:11.961Z] SSH_AGENT_PID=19 [2021-05-27T05:49:11.970Z] Running ssh-add (command line suppressed) [2021-05-27T05:49:12.089Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8275180238599115794.key (/w/workspace/edgex-go/1@tmp/private_key_8275180238599115794.key) [2021-05-27T05:49:12.110Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-27T05:49:12.460Z] + git tag --points-at HEAD [Pipeline] } [2021-05-27T05:49:12.476Z] $ docker exec --env ******** --env ******** 27b01861849f1d568222ed6674b6b30edeb5a0a9b087352f79264be51a755775 ssh-agent -k [2021-05-27T05:49:12.584Z] unset SSH_AUTH_SOCK; [2021-05-27T05:49:12.584Z] unset SSH_AGENT_PID; [2021-05-27T05:49:12.584Z] echo Agent pid 19 killed; [2021-05-27T05:49:12.602Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-27T05:49:12.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-27T05:49:12.693Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-27T05:49:12.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-27T05:49:12.817Z] $ docker exec 27b01861849f1d568222ed6674b6b30edeb5a0a9b087352f79264be51a755775 ssh-agent [2021-05-27T05:49:12.941Z] SSH_AUTH_SOCK=/tmp/ssh-78TLV4wx4Zdz/agent.53 [2021-05-27T05:49:12.941Z] SSH_AGENT_PID=59 [2021-05-27T05:49:12.947Z] Running ssh-add (command line suppressed) [2021-05-27T05:49:13.055Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_8474047287600198178.key (/w/workspace/edgex-go/1@tmp/private_key_8474047287600198178.key) [2021-05-27T05:49:13.081Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-27T05:49:13.426Z] + git semver init [2021-05-27T05:49:13.426Z] # -> Open(): unable to determine branch for HEAD [2021-05-27T05:49:13.426Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-05-27T05:49:13.426Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-05-27T05:49:13.426Z] # $SEMVER_REMOTE_NAME = origin [2021-05-27T05:49:13.426Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-27T05:49:13.426Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-27T05:49:13.426Z] # $SEMVER_BRANCH = PR-3514 [2021-05-27T05:49:13.426Z] # $SEMVER_TEMP = /tmp/semver-805120916 [2021-05-27T05:49:13.426Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-27T05:49:40.035Z] # '/tmp/semver-805120916' -> '/w/workspace/edgex-go/1/.semver' [2021-05-27T05:49:40.035Z] # -> Force: false [2021-05-27T05:49:40.035Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-05-27T05:49:40.097Z] $ docker exec --env ******** --env ******** 27b01861849f1d568222ed6674b6b30edeb5a0a9b087352f79264be51a755775 ssh-agent -k [2021-05-27T05:49:40.194Z] unset SSH_AUTH_SOCK; [2021-05-27T05:49:40.195Z] unset SSH_AGENT_PID; [2021-05-27T05:49:40.195Z] echo Agent pid 59 killed; [2021-05-27T05:49:40.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-27T05:49:40.644Z] + git semver [Pipeline] } [2021-05-27T05:49:40.667Z] $ docker stop --time=1 27b01861849f1d568222ed6674b6b30edeb5a0a9b087352f79264be51a755775 [2021-05-27T05:49:44.679Z] $ docker rm -f 27b01861849f1d568222ed6674b6b30edeb5a0a9b087352f79264be51a755775 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-27T05:49:45.168Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-27T05:49:45.515Z] Stashed 1 file(s) [Pipeline] echo [2021-05-27T05:49:45.539Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-27T05:49:46.433Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-27T05:49:46.752Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-27T05:49:47.115Z] + sudo service docker restart [2021-05-27T05:49:47.115Z] + true [2021-05-27T05:49:47.115Z] Redirecting to /bin/systemctl restart docker.service [2021-05-27T05:50:00.904Z] Still waiting to schedule task [2021-05-27T05:50:00.905Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [Pipeline] echo [2021-05-27T05:50:05.309Z] ========================================================= [2021-05-27T05:50:05.309Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-27T05:50:05.309Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:50:05.687Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-27T05:50:07.082Z] Sending build context to Docker daemon 330.8MB [2021-05-27T05:50:07.082Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-27T05:50:07.082Z] Step 2/6 : FROM ${BASE} [2021-05-27T05:50:07.345Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-27T05:50:07.345Z] 540db60ca938: Pulling fs layer [2021-05-27T05:50:07.345Z] adcc1eea9eea: Pulling fs layer [2021-05-27T05:50:07.345Z] 4c4ab2625f07: Pulling fs layer [2021-05-27T05:50:07.345Z] 0510c868ecb4: Pulling fs layer [2021-05-27T05:50:07.345Z] afea3b2eda06: Pulling fs layer [2021-05-27T05:50:07.345Z] 7809a108b3ef: Pulling fs layer [2021-05-27T05:50:07.345Z] f706445af74f: Pulling fs layer [2021-05-27T05:50:07.345Z] 0510c868ecb4: Waiting [2021-05-27T05:50:07.345Z] afea3b2eda06: Waiting [2021-05-27T05:50:07.345Z] 7809a108b3ef: Waiting [2021-05-27T05:50:07.345Z] f706445af74f: Waiting [2021-05-27T05:50:07.345Z] 4c4ab2625f07: Verifying Checksum [2021-05-27T05:50:07.345Z] 4c4ab2625f07: Download complete [2021-05-27T05:50:07.345Z] adcc1eea9eea: Verifying Checksum [2021-05-27T05:50:07.345Z] adcc1eea9eea: Download complete [2021-05-27T05:50:07.345Z] afea3b2eda06: Verifying Checksum [2021-05-27T05:50:07.345Z] afea3b2eda06: Download complete [2021-05-27T05:50:07.345Z] 7809a108b3ef: Verifying Checksum [2021-05-27T05:50:07.345Z] 7809a108b3ef: Download complete [2021-05-27T05:50:07.345Z] 540db60ca938: Verifying Checksum [2021-05-27T05:50:07.345Z] 540db60ca938: Download complete [2021-05-27T05:50:07.610Z] 540db60ca938: Pull complete [2021-05-27T05:50:07.610Z] adcc1eea9eea: Pull complete [2021-05-27T05:50:07.876Z] 4c4ab2625f07: Pull complete [2021-05-27T05:50:09.267Z] f706445af74f: Verifying Checksum [2021-05-27T05:50:09.267Z] f706445af74f: Download complete [2021-05-27T05:50:10.216Z] 0510c868ecb4: Verifying Checksum [2021-05-27T05:50:10.216Z] 0510c868ecb4: Download complete [2021-05-27T05:50:14.471Z] 0510c868ecb4: Pull complete [2021-05-27T05:50:14.472Z] afea3b2eda06: Pull complete [2021-05-27T05:50:14.472Z] 7809a108b3ef: Pull complete [2021-05-27T05:50:19.809Z] f706445af74f: Pull complete [2021-05-27T05:50:19.809Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-27T05:50:19.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-27T05:50:19.809Z] ---> b068be0155e3 [2021-05-27T05:50:19.809Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-05-27T05:50:25.116Z] ---> Running in 7841f35f1716 [2021-05-27T05:50:25.116Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-27T05:50:25.377Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-27T05:50:26.772Z] (1/12) Installing libmagic (5.39-r0) [2021-05-27T05:50:27.345Z] (2/12) Installing file (5.39-r0) [2021-05-27T05:50:27.607Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-27T05:50:27.607Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-27T05:50:39.860Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-27T05:50:39.860Z] (6/12) Installing patch (2.7.6-r6) [2021-05-27T05:50:39.860Z] (7/12) Installing build-base (0.5-r2) [2021-05-27T05:50:39.860Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-27T05:50:39.860Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-27T05:50:39.860Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-27T05:50:39.860Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-27T05:50:39.860Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-27T05:50:39.860Z] Executing busybox-1.32.1-r6.trigger [2021-05-27T05:50:39.860Z] OK: 219 MiB in 52 packages [2021-05-27T05:50:42.411Z] Removing intermediate container 7841f35f1716 [2021-05-27T05:50:42.411Z] ---> 078bb5f6d457 [2021-05-27T05:50:42.411Z] Step 4/6 : WORKDIR /edgex-go [2021-05-27T05:50:42.411Z] ---> Running in 6df90d3c4473 [2021-05-27T05:50:42.675Z] Removing intermediate container 6df90d3c4473 [2021-05-27T05:50:42.675Z] ---> 9fe33d904241 [2021-05-27T05:50:42.675Z] Step 5/6 : COPY go.mod . [2021-05-27T05:50:42.675Z] ---> bbdde25b6c1d [2021-05-27T05:50:42.675Z] Step 6/6 : RUN go mod download [2021-05-27T05:50:42.675Z] ---> Running in 021538c79d6c [2021-05-27T05:51:04.668Z] Removing intermediate container 021538c79d6c [2021-05-27T05:51:04.668Z] ---> 2e0f6c698c20 [2021-05-27T05:51:04.668Z] Successfully built 2e0f6c698c20 [2021-05-27T05:51:04.668Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:51:05.029Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-27T05:51:05.029Z] . [Pipeline] withDockerContainer [2021-05-27T05:51:05.139Z] prd-centos7-docker-4c-2g-593 does not seem to be running inside a container [2021-05-27T05:51:05.183Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-27T05:51:05.741Z] $ docker top ef31663073f3ec56d33549fe726b5459126ea371577f34473508b13b6a112e44 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-27T05:51:06.187Z] + go version [2021-05-27T05:51:06.187Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-27T05:51:06.211Z] $ docker stop --time=1 ef31663073f3ec56d33549fe726b5459126ea371577f34473508b13b6a112e44 [2021-05-27T05:51:07.487Z] $ docker rm -f ef31663073f3ec56d33549fe726b5459126ea371577f34473508b13b6a112e44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:51:08.230Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-27T05:51:08.230Z] . [Pipeline] withDockerContainer [2021-05-27T05:51:08.364Z] prd-centos7-docker-4c-2g-593 does not seem to be running inside a container [2021-05-27T05:51:08.399Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-27T05:51:08.785Z] $ docker top cf0d3fc0b1d7a8fafa9f4ad2f2f5939d54b9f7eeef6c8759479f4ce93fd89363 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-27T05:51:08.933Z] ========================================================= [2021-05-27T05:51:08.933Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-27T05:51:08.933Z] ========================================================= [Pipeline] sh [2021-05-27T05:51:09.254Z] + go mod tidy [Pipeline] sh [2021-05-27T05:51:09.853Z] + make test [2021-05-27T05:51:09.853Z] go mod tidy [2021-05-27T05:51:10.132Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-27T05:51:16.794Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-27T05:51:29.172Z] # github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret [2021-05-27T05:51:29.172Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.59/bootstrap/secret/secret.go:112:3: unknown field 'AdditionalRetryAttempts' in struct literal of type "github.com/edgexfoundry/go-mod-secrets/v2/pkg/types".SecretConfig [2021-05-27T05:51:29.172Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.59/bootstrap/secret/secret.go:113:3: unknown field 'RetryWaitPeriod' in struct literal of type "github.com/edgexfoundry/go-mod-secrets/v2/pkg/types".SecretConfig [2021-05-27T05:51:47.389Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-27T05:51:47.655Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.047s coverage: 28.7% of statements [2021-05-27T05:51:47.917Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.065s coverage: 100.0% of statements [2021-05-27T05:51:47.917Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-27T05:51:47.917Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/messaging [build failed] [2021-05-27T05:51:48.512Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.042s coverage: 100.0% of statements [2021-05-27T05:51:48.512Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.048s coverage: 100.0% of statements [2021-05-27T05:51:49.941Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.057s coverage: 58.6% of statements [2021-05-27T05:51:50.205Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.105s coverage: 87.7% of statements [2021-05-27T05:51:50.470Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.046s coverage: 78.9% of statements [2021-05-27T05:51:50.740Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-27T05:51:51.318Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.072s coverage: 100.0% of statements [2021-05-27T05:51:51.318Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.045s coverage: 100.0% of statements [2021-05-27T05:51:52.269Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.098s coverage: 86.7% of statements [2021-05-27T05:51:52.269Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.095s coverage: 97.5% of statements [2021-05-27T05:51:52.850Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.072s coverage: 78.3% of statements [2021-05-27T05:51:54.248Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.243s coverage: 95.1% of statements [2021-05-27T05:51:54.248Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.048s coverage: 58.8% of statements [2021-05-27T05:51:55.204Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.056s coverage: 0.8% of statements [2021-05-27T05:51:55.204Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.044s coverage: 21.7% of statements [2021-05-27T05:51:55.204Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.062s coverage: 47.1% of statements [2021-05-27T05:51:55.467Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.051s coverage: 79.5% of statements [2021-05-27T05:51:55.731Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.049s coverage: 94.1% of statements [2021-05-27T05:51:56.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.089s coverage: 96.3% of statements [2021-05-27T05:51:56.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.053s coverage: 87.5% of statements [2021-05-27T05:52:08.572Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.062s coverage: 94.4% of statements [2021-05-27T05:52:08.572Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.048s coverage: 44.8% of statements [2021-05-27T05:52:15.173Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.405s coverage: 81.8% of statements [2021-05-27T05:52:27.972Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-599 in /w/workspace/edgexfoundry_edgex-go_PR-3514 [Pipeline] { [Pipeline] ws [2021-05-27T05:52:28.029Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-05-27T05:52:28.295Z] The recommended git tool is: git [2021-05-27T05:52:33.327Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.082s coverage: 92.9% of statements [2021-05-27T05:52:33.327Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.029s coverage: 65.1% of statements [2021-05-27T05:52:33.327Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.042s coverage: 87.2% of statements [2021-05-27T05:52:33.327Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements [2021-05-27T05:52:33.327Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.052s coverage: 76.0% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.052s coverage: 80.0% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.053s coverage: 85.4% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.074s coverage: 91.2% of statements [2021-05-27T05:52:33.328Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2021-05-27T05:52:33.328Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.031s coverage: 91.3% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.030s coverage: 100.0% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.023s coverage: 100.0% of statements [2021-05-27T05:52:33.328Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2021-05-27T05:52:33.328Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.031s coverage: 89.5% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.027s coverage: 84.8% of statements [2021-05-27T05:52:33.328Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.036s coverage: 100.0% of statements [2021-05-27T05:52:33.328Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.044s coverage: 100.0% of statements [2021-05-27T05:52:34.471Z] using credential edgex-jenkins-ssh [2021-05-27T05:52:34.489Z] Cloning the remote Git repository [2021-05-27T05:52:34.546Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-27T05:52:34.663Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-05-27T05:52:34.738Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-27T05:52:34.739Z] > git --version # timeout=10 [2021-05-27T05:52:34.756Z] > git --version # 'git version 2.17.1' [2021-05-27T05:52:34.757Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:52:34.856Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-27T05:52:36.944Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.068s coverage: 18.9% of statements [2021-05-27T05:52:36.944Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.133s coverage: 91.9% of statements [2021-05-27T05:52:36.944Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-27T05:52:36.944Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.044s coverage: 99.0% of statements [2021-05-27T05:52:36.944Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.052s coverage: 100.0% of statements [2021-05-27T05:52:36.944Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.055s coverage: 64.6% of statements [2021-05-27T05:52:36.944Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.083s coverage: 97.6% of statements [2021-05-27T05:52:36.944Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.022s coverage: 0.0% of statements [2021-05-27T05:52:36.944Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.019s coverage: 100.0% of statements [2021-05-27T05:52:37.299Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.029s coverage: 87.9% of statements [2021-05-27T05:52:37.299Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.023s coverage: 100.0% of statements [2021-05-27T05:52:37.299Z] FAIL github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig [build failed] [2021-05-27T05:52:37.716Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 0.046s coverage: 27.9% of statements [2021-05-27T05:52:37.716Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.034s coverage: 100.0% of statements [2021-05-27T05:52:38.098Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-05-27T05:52:38.150Z] $ docker stop --time=1 cf0d3fc0b1d7a8fafa9f4ad2f2f5939d54b9f7eeef6c8759479f4ce93fd89363 [2021-05-27T05:52:39.484Z] $ docker rm -f cf0d3fc0b1d7a8fafa9f4ad2f2f5939d54b9f7eeef6c8759479f4ce93fd89363 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-27T05:52:40.523Z] Failed in branch amd64 [2021-05-27T05:52:51.429Z] Merging remotes/origin/master commit 550dbfbb7a3c0bbee0312ba32fc98e89501b71b9 into PR head commit 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c [2021-05-27T05:52:51.843Z] Merge succeeded, producing 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c [2021-05-27T05:52:51.844Z] Checking out Revision 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c (PR-3514) [2021-05-27T05:52:50.579Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-27T05:52:50.592Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-27T05:52:50.623Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-27T05:52:50.657Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-27T05:52:50.658Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:52:50.669Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3514/head:refs/remotes/origin/PR-3514 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-27T05:52:51.441Z] > git config core.sparsecheckout # timeout=10 [2021-05-27T05:52:51.452Z] > git checkout -f 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c # timeout=10 [2021-05-27T05:52:51.762Z] > git remote # timeout=10 [2021-05-27T05:52:51.779Z] > git config --get remote.origin.url # timeout=10 [2021-05-27T05:52:51.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:52:51.803Z] > git merge 550dbfbb7a3c0bbee0312ba32fc98e89501b71b9 # timeout=10 [2021-05-27T05:52:51.825Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-27T05:52:51.847Z] > git config core.sparsecheckout # timeout=10 [2021-05-27T05:52:51.856Z] > git checkout -f 9737d39227f0cc0ce7836d6bc7cccfbabd1aa80c # timeout=10 [2021-05-27T05:52:56.270Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-secrets/v2" [2021-05-27T05:52:56.322Z] > git --version # timeout=10 [2021-05-27T05:52:56.331Z] > git --version # 'git version 2.17.1' [2021-05-27T05:52:56.345Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-27T05:52:57.914Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-27T05:52:58.343Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-27T05:52:58.712Z] + true [2021-05-27T05:52:58.712Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-27T05:53:17.156Z] provisioning config files... [2021-05-27T05:53:17.190Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config1128857979590100069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:53:17.623Z] ---> docker-login.sh [2021-05-27T05:53:17.623Z] nexus3.edgexfoundry.org:10001 [2021-05-27T05:53:18.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:53:18.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:53:18.878Z] Configure a credential helper to remove this warning. See [2021-05-27T05:53:18.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:53:18.878Z] [2021-05-27T05:53:18.879Z] Login Succeeded [2021-05-27T05:53:18.879Z] nexus3.edgexfoundry.org:10002 [2021-05-27T05:53:19.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:53:19.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:53:19.434Z] Configure a credential helper to remove this warning. See [2021-05-27T05:53:19.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:53:19.434Z] [2021-05-27T05:53:19.434Z] Login Succeeded [2021-05-27T05:53:19.434Z] nexus3.edgexfoundry.org:10003 [2021-05-27T05:53:20.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:53:20.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:53:20.031Z] Configure a credential helper to remove this warning. See [2021-05-27T05:53:20.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:53:20.031Z] [2021-05-27T05:53:20.031Z] Login Succeeded [2021-05-27T05:53:20.031Z] nexus3.edgexfoundry.org:10004 [2021-05-27T05:53:20.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:53:20.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:53:20.642Z] Configure a credential helper to remove this warning. See [2021-05-27T05:53:20.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:53:20.642Z] [2021-05-27T05:53:20.642Z] Login Succeeded [2021-05-27T05:53:20.642Z] docker.io [2021-05-27T05:53:20.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:53:21.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:53:21.518Z] Configure a credential helper to remove this warning. See [2021-05-27T05:53:21.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:53:21.518Z] [2021-05-27T05:53:21.518Z] Login Succeeded [2021-05-27T05:53:21.518Z] ---> docker-login.sh ends [Pipeline] } [2021-05-27T05:53:21.550Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-27T05:53:22.188Z] ========================================================= [2021-05-27T05:53:22.188Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-27T05:53:22.188Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:53:22.628Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-27T05:53:25.314Z] Sending build context to Docker daemon 168.1MB [2021-05-27T05:53:25.314Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-27T05:53:25.314Z] Step 2/6 : FROM ${BASE} [2021-05-27T05:53:25.314Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-27T05:53:25.314Z] 595b0fe564bb: Pulling fs layer [2021-05-27T05:53:25.314Z] 7186ed65a4f7: Pulling fs layer [2021-05-27T05:53:25.314Z] 316046926c0a: Pulling fs layer [2021-05-27T05:53:25.314Z] 4ebd0625c992: Pulling fs layer [2021-05-27T05:53:25.314Z] 207e8628e3a3: Pulling fs layer [2021-05-27T05:53:25.314Z] c791037a9be2: Pulling fs layer [2021-05-27T05:53:25.314Z] ffd874e62e21: Pulling fs layer [2021-05-27T05:53:25.314Z] 4ebd0625c992: Waiting [2021-05-27T05:53:25.314Z] 207e8628e3a3: Waiting [2021-05-27T05:53:25.314Z] c791037a9be2: Waiting [2021-05-27T05:53:25.314Z] ffd874e62e21: Waiting [2021-05-27T05:53:25.314Z] 316046926c0a: Verifying Checksum [2021-05-27T05:53:25.314Z] 316046926c0a: Download complete [2021-05-27T05:53:25.314Z] 7186ed65a4f7: Verifying Checksum [2021-05-27T05:53:25.314Z] 7186ed65a4f7: Download complete [2021-05-27T05:53:25.314Z] 207e8628e3a3: Verifying Checksum [2021-05-27T05:53:25.314Z] 207e8628e3a3: Download complete [2021-05-27T05:53:25.314Z] c791037a9be2: Download complete [2021-05-27T05:53:25.314Z] 595b0fe564bb: Verifying Checksum [2021-05-27T05:53:25.314Z] 595b0fe564bb: Download complete [2021-05-27T05:53:25.914Z] 595b0fe564bb: Pull complete [2021-05-27T05:53:26.521Z] 7186ed65a4f7: Pull complete [2021-05-27T05:53:27.136Z] 316046926c0a: Pull complete [2021-05-27T05:53:27.744Z] ffd874e62e21: Verifying Checksum [2021-05-27T05:53:27.744Z] ffd874e62e21: Download complete [2021-05-27T05:53:29.189Z] 4ebd0625c992: Verifying Checksum [2021-05-27T05:53:29.189Z] 4ebd0625c992: Download complete [2021-05-27T05:53:39.359Z] 4ebd0625c992: Pull complete [2021-05-27T05:53:39.359Z] 207e8628e3a3: Pull complete [2021-05-27T05:53:39.637Z] c791037a9be2: Pull complete [2021-05-27T05:53:43.982Z] ffd874e62e21: Pull complete [2021-05-27T05:53:43.982Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-27T05:53:43.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-27T05:53:43.982Z] ---> cfc18b08335c [2021-05-27T05:53:43.982Z] Step 3/6 : RUN apk add --update --no-cache make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch [2021-05-27T05:53:46.614Z] ---> Running in 342338d699a4 [2021-05-27T05:53:48.051Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-27T05:53:49.029Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-27T05:53:50.020Z] (1/12) Installing libmagic (5.39-r0) [2021-05-27T05:53:50.292Z] (2/12) Installing file (5.39-r0) [2021-05-27T05:53:50.292Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-27T05:53:50.571Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-27T05:54:08.892Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-27T05:54:08.892Z] (6/12) Installing patch (2.7.6-r6) [2021-05-27T05:54:08.892Z] (7/12) Installing build-base (0.5-r2) [2021-05-27T05:54:08.892Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-27T05:54:08.892Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-27T05:54:08.892Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-27T05:54:08.892Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-27T05:54:08.892Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-27T05:54:08.892Z] Executing busybox-1.32.1-r6.trigger [2021-05-27T05:54:08.892Z] OK: 218 MiB in 52 packages [2021-05-27T05:54:11.833Z] Removing intermediate container 342338d699a4 [2021-05-27T05:54:11.834Z] ---> 1bdc8fe14613 [2021-05-27T05:54:11.834Z] Step 4/6 : WORKDIR /edgex-go [2021-05-27T05:54:11.834Z] ---> Running in 6e377edceb6c [2021-05-27T05:54:11.834Z] Removing intermediate container 6e377edceb6c [2021-05-27T05:54:11.834Z] ---> 25d92961a929 [2021-05-27T05:54:11.834Z] Step 5/6 : COPY go.mod . [2021-05-27T05:54:12.446Z] ---> 7d42c29581fe [2021-05-27T05:54:12.446Z] Step 6/6 : RUN go mod download [2021-05-27T05:54:12.740Z] ---> Running in ec81681ccac2 [2021-05-27T05:54:39.594Z] Removing intermediate container ec81681ccac2 [2021-05-27T05:54:39.594Z] ---> 258aa7bb5d14 [2021-05-27T05:54:39.594Z] Successfully built 258aa7bb5d14 [2021-05-27T05:54:39.594Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:54:39.975Z] + docker inspect -f . ci-base-image-arm64 [2021-05-27T05:54:39.975Z] . [Pipeline] withDockerContainer [2021-05-27T05:54:40.239Z] prd-ubuntu18.04-docker-arm64-4c-16g-599 does not seem to be running inside a container [2021-05-27T05:54:40.331Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-27T05:54:42.004Z] $ docker top 92e733432977d7f6af029151f513105e184739f71a57939c1e76d64a46af8d1b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-27T05:54:43.017Z] + go version [2021-05-27T05:54:43.017Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-27T05:54:43.053Z] $ docker stop --time=1 92e733432977d7f6af029151f513105e184739f71a57939c1e76d64a46af8d1b [2021-05-27T05:54:44.942Z] $ docker rm -f 92e733432977d7f6af029151f513105e184739f71a57939c1e76d64a46af8d1b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:54:45.897Z] + docker inspect -f . ci-base-image-arm64 [2021-05-27T05:54:45.897Z] . [Pipeline] withDockerContainer [2021-05-27T05:54:46.198Z] prd-ubuntu18.04-docker-arm64-4c-16g-599 does not seem to be running inside a container [2021-05-27T05:54:46.288Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-27T05:54:47.930Z] $ docker top 1fb0972bbd23aa896d6f923d9470fdddf4c108c37bdbcd579599e6e31be09e15 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-27T05:54:48.327Z] ========================================================= [2021-05-27T05:54:48.327Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-27T05:54:48.327Z] ========================================================= [Pipeline] sh [2021-05-27T05:54:49.003Z] + go mod tidy [Pipeline] sh [2021-05-27T05:54:50.664Z] + make test [2021-05-27T05:54:50.664Z] go mod tidy [2021-05-27T05:54:51.265Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-27T05:55:18.075Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-27T05:56:05.093Z] # github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/secret [2021-05-27T05:56:05.093Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.59/bootstrap/secret/secret.go:112:3: unknown field 'AdditionalRetryAttempts' in struct literal of type "github.com/edgexfoundry/go-mod-secrets/v2/pkg/types".SecretConfig [2021-05-27T05:56:05.093Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v2@v2.0.0-dev.59/bootstrap/secret/secret.go:113:3: unknown field 'RetryWaitPeriod' in struct literal of type "github.com/edgexfoundry/go-mod-secrets/v2/pkg/types".SecretConfig [2021-05-27T05:56:52.128Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-27T05:56:52.128Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.220s coverage: 28.7% of statements [2021-05-27T05:56:54.783Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http 0.368s coverage: 100.0% of statements [2021-05-27T05:56:54.783Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-27T05:56:54.783Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/messaging [build failed] [2021-05-27T05:56:54.783Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.306s coverage: 100.0% of statements [2021-05-27T05:56:54.783Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.318s coverage: 100.0% of statements [2021-05-27T05:57:00.352Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.427s coverage: 58.6% of statements [2021-05-27T05:57:02.589Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.789s coverage: 87.7% of statements [2021-05-27T05:57:02.589Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.232s coverage: 78.9% of statements [2021-05-27T05:57:02.589Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-27T05:57:03.198Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.350s coverage: 100.0% of statements [2021-05-27T05:57:03.198Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.321s coverage: 100.0% of statements [2021-05-27T05:57:06.644Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.536s coverage: 86.7% of statements [2021-05-27T05:57:08.100Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.559s coverage: 97.5% of statements [2021-05-27T05:57:08.100Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.365s coverage: 78.3% of statements [2021-05-27T05:57:16.433Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.264s coverage: 95.1% of statements [2021-05-27T05:57:16.433Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.159s coverage: 58.8% of statements [2021-05-27T05:57:16.433Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.292s coverage: 0.8% of statements [2021-05-27T05:57:16.433Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 0.187s coverage: 21.7% of statements [2021-05-27T05:57:16.433Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.168s coverage: 47.1% of statements [2021-05-27T05:57:16.433Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.282s coverage: 79.5% of statements [2021-05-27T05:57:16.714Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.207s coverage: 94.1% of statements [2021-05-27T05:57:18.175Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.221s coverage: 96.3% of statements [2021-05-27T05:57:19.179Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.218s coverage: 87.5% of statements [2021-05-27T05:57:31.599Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.245s coverage: 94.4% of statements [2021-05-27T05:57:31.599Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.174s coverage: 44.8% of statements [2021-05-27T05:57:36.999Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.632s coverage: 81.8% of statements [2021-05-27T05:57:45.317Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.275s coverage: 92.9% of statements [2021-05-27T05:57:45.317Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.061s coverage: 65.1% of statements [2021-05-27T05:57:45.317Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.083s coverage: 87.2% of statements [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.178s coverage: 100.0% of statements [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.215s coverage: 76.0% of statements [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.175s coverage: 80.0% of statements [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.292s coverage: 87.2% of statements [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.275s coverage: 85.4% of statements [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.318s coverage: 91.2% of statements [2021-05-27T05:57:45.318Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider [build failed] [2021-05-27T05:57:45.318Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks [build failed] [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.085s coverage: 91.3% of statements [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.081s coverage: 100.0% of statements [2021-05-27T05:57:45.318Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.092s coverage: 73.7% of statements [2021-05-27T05:57:46.769Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.075s coverage: 100.0% of statements [2021-05-27T05:57:46.769Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/proxy [build failed] [2021-05-27T05:57:46.769Z] FAIL github.com/edgexfoundry/edgex-go/internal/security/secretstore [build failed] [2021-05-27T05:57:47.762Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.135s coverage: 89.5% of statements [2021-05-27T05:57:48.371Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.115s coverage: 84.8% of statements [2021-05-27T05:57:48.371Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-27T05:57:50.368Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.150s coverage: 100.0% of statements [2021-05-27T05:57:50.978Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.134s coverage: 100.0% of statements [2021-05-27T05:57:56.413Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application 3.207s coverage: 18.9% of statements [2021-05-27T05:57:56.413Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.515s coverage: 91.9% of statements [2021-05-27T05:57:56.413Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-27T05:57:56.413Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.246s coverage: 99.0% of statements [2021-05-27T05:57:57.412Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.261s coverage: 100.0% of statements [2021-05-27T05:57:58.858Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler 0.238s coverage: 64.6% of statements [2021-05-27T05:58:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.430s coverage: 97.6% of statements [2021-05-27T05:58:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.084s coverage: 0.0% of statements [2021-05-27T05:58:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.064s coverage: 100.0% of statements [2021-05-27T05:58:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.082s coverage: 87.9% of statements [2021-05-27T05:58:00.837Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.085s coverage: 100.0% of statements [2021-05-27T05:58:00.837Z] FAIL github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig [build failed] [2021-05-27T05:58:01.837Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/v2/application/direct 0.160s coverage: 27.9% of statements [2021-05-27T05:58:01.837Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.078s coverage: 100.0% of statements [2021-05-27T05:58:02.826Z] make: *** [Makefile:98: test] Error 2 [Pipeline] } [2021-05-27T05:58:02.886Z] $ docker stop --time=1 1fb0972bbd23aa896d6f923d9470fdddf4c108c37bdbcd579599e6e31be09e15 [2021-05-27T05:58:05.051Z] $ docker rm -f 1fb0972bbd23aa896d6f923d9470fdddf4c108c37bdbcd579599e6e31be09e15 [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] libraryResource [Pipeline] sh [2021-05-27T05:58:06.869Z] ---> job-cost.sh [2021-05-27T05:58:06.869Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EjGY [2021-05-27T05:58:45.833Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-27T06:00:22.639Z] lf-activate-venv(): INFO: Adding /tmp/venv-EjGY/bin to PATH [2021-05-27T06:00:22.639Z] INFO: No Stack... [2021-05-27T06:00:22.639Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-27T06:00:22.639Z] INFO: Archiving Costs [Pipeline] sh [2021-05-27T06:00:22.995Z] + cut -d, -f6 [2021-05-27T06:00:22.995Z] + cat /w/workspace/edgex-go/1/archives/cost.csv [Pipeline] lock [2021-05-27T06:00:23.078Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3514-1-stack-cost] [2021-05-27T06:00:23.084Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3514-1-stack-cost] did not exist. Created. [2021-05-27T06:00:23.084Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3514-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-27T06:00:23.527Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-27T06:00:24.512Z] Stashed 1 file(s) [Pipeline] } [2021-05-27T06:00:24.536Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3514-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-27T06:00:25.120Z] 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] libraryResource [Pipeline] sh [2021-05-27T06:00:26.830Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T06:00:27.431Z] ---> package-listing.sh [2021-05-27T06:00:27.431Z] ++ facter osfamily [2021-05-27T06:00:27.431Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-27T06:00:27.695Z] + OS_FAMILY=redhat [2021-05-27T06:00:27.695Z] + workspace=/w/workspace/edgex-go/1 [2021-05-27T06:00:27.695Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-27T06:00:27.695Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-27T06:00:27.695Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-27T06:00:27.695Z] + PACKAGES=/tmp/packages_start.txt [2021-05-27T06:00:27.695Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-27T06:00:27.695Z] + PACKAGES=/tmp/packages_end.txt [2021-05-27T06:00:27.695Z] + case "${OS_FAMILY}" in [2021-05-27T06:00:27.695Z] + rpm -qa [2021-05-27T06:00:27.695Z] + sort [2021-05-27T06:00:28.267Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-27T06:00:28.267Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-27T06:00:28.267Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-27T06:00:28.267Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-27T06:00:28.267Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-05-27T06:00:28.267Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-05-27T06:00:28.317Z] 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-05-27T06:00:28.623Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-27T06:00:29.216Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-27T06:00:29.217Z] [2021-05-27T06:00:29.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-27T06:00:29.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-27T06:00:29.582Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-27T06:00:29.582Z] df20fa9351a1: Pulling fs layer [2021-05-27T06:00:29.582Z] 36b3adc4ff6f: Pulling fs layer [2021-05-27T06:00:29.582Z] 8ad3a11d3b57: Pulling fs layer [2021-05-27T06:00:29.582Z] 46f8f816bc3b: Pulling fs layer [2021-05-27T06:00:29.582Z] 93b61091891f: Pulling fs layer [2021-05-27T06:00:29.582Z] 93b9cdb0e59b: Pulling fs layer [2021-05-27T06:00:29.582Z] 5e14af77c1be: Pulling fs layer [2021-05-27T06:00:29.582Z] 01666e4c0597: Pulling fs layer [2021-05-27T06:00:29.582Z] aa168da1d23b: Pulling fs layer [2021-05-27T06:00:29.582Z] 93b61091891f: Waiting [2021-05-27T06:00:29.582Z] 93b9cdb0e59b: Waiting [2021-05-27T06:00:29.582Z] 5e14af77c1be: Waiting [2021-05-27T06:00:29.582Z] 01666e4c0597: Waiting [2021-05-27T06:00:29.582Z] aa168da1d23b: Waiting [2021-05-27T06:00:29.582Z] 46f8f816bc3b: Waiting [2021-05-27T06:00:29.582Z] 36b3adc4ff6f: Verifying Checksum [2021-05-27T06:00:29.582Z] 36b3adc4ff6f: Download complete [2021-05-27T06:00:29.582Z] 46f8f816bc3b: Verifying Checksum [2021-05-27T06:00:29.582Z] 46f8f816bc3b: Download complete [2021-05-27T06:00:29.582Z] df20fa9351a1: Verifying Checksum [2021-05-27T06:00:29.582Z] df20fa9351a1: Download complete [2021-05-27T06:00:29.843Z] 93b9cdb0e59b: Verifying Checksum [2021-05-27T06:00:29.843Z] 93b9cdb0e59b: Download complete [2021-05-27T06:00:29.843Z] 93b61091891f: Verifying Checksum [2021-05-27T06:00:29.843Z] 93b61091891f: Download complete [2021-05-27T06:00:29.843Z] 5e14af77c1be: Verifying Checksum [2021-05-27T06:00:29.843Z] 5e14af77c1be: Download complete [2021-05-27T06:00:29.843Z] 01666e4c0597: Verifying Checksum [2021-05-27T06:00:29.843Z] 01666e4c0597: Download complete [2021-05-27T06:00:29.843Z] 8ad3a11d3b57: Verifying Checksum [2021-05-27T06:00:29.843Z] 8ad3a11d3b57: Download complete [2021-05-27T06:00:29.843Z] df20fa9351a1: Pull complete [2021-05-27T06:00:30.108Z] 36b3adc4ff6f: Pull complete [2021-05-27T06:00:30.371Z] 8ad3a11d3b57: Pull complete [2021-05-27T06:00:30.371Z] 46f8f816bc3b: Pull complete [2021-05-27T06:00:30.641Z] 93b61091891f: Pull complete [2021-05-27T06:00:30.902Z] 93b9cdb0e59b: Pull complete [2021-05-27T06:00:30.902Z] 5e14af77c1be: Pull complete [2021-05-27T06:00:30.902Z] 01666e4c0597: Pull complete [2021-05-27T06:00:31.846Z] aa168da1d23b: Verifying Checksum [2021-05-27T06:00:31.846Z] aa168da1d23b: Download complete [2021-05-27T06:00:36.063Z] aa168da1d23b: Pull complete [2021-05-27T06:00:36.063Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-27T06:00:36.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-27T06:00:36.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-27T06:00:36.186Z] prd-centos7-docker-4c-2g-593 does not seem to be running inside a container [2021-05-27T06:00:36.231Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-27T06:00:38.451Z] $ docker top 36b01889193f3dd4a5a96c5feb434abb3efb9f8f84780a59c8fe127b55330207 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-27T06:00:38.880Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-27T06:00:39.190Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-27T06:00:39.504Z] + ls /var/log/sa-host [2021-05-27T06:00:39.504Z] + sadf -c /var/log/sa-host/sa05 [2021-05-27T06:00:39.504Z] file_magic: OK [2021-05-27T06:00:39.504Z] HZ: Using current value: 100 [2021-05-27T06:00:39.504Z] file_header: OK [2021-05-27T06:00:39.504Z] 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-05-27T06:00:39.504Z] Statistics: [2021-05-27T06:00:39.504Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-27T06:00:39.504Z] File successfully converted to sysstat format version 12.2.1 [2021-05-27T06:00:39.504Z] + sadf -c /var/log/sa-host/sa27 [2021-05-27T06:00:39.504Z] file_magic: OK [2021-05-27T06:00:39.504Z] HZ: Using current value: 100 [2021-05-27T06:00:39.504Z] file_header: OK [2021-05-27T06:00:39.504Z] 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-05-27T06:00:39.504Z] Statistics: [2021-05-27T06:00:39.504Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-27T06:00:39.504Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-27T06:00:39.771Z] provisioning config files... [2021-05-27T06:00:39.783Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config6384366714531772402tmp [Pipeline] { [Pipeline] echo [2021-05-27T06:00:39.837Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T06:00:40.162Z] ---> create-netrc.sh [Pipeline] } [2021-05-27T06:00:40.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-27T06:00:40.250Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T06:00:40.576Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-27T06:00:40.609Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T06:00:40.953Z] ---> sudo-logs.sh [2021-05-27T06:00:40.953Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-27T06:00:41.036Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T06:00:41.368Z] ---> job-cost.sh [2021-05-27T06:00:41.368Z] lf-activate-venv: SKIPPING [2021-05-27T06:00:41.368Z] DEBUG: total: 0.18000000715255737 [2021-05-27T06:00:41.368Z] INFO: Retrieving Stack Cost... [2021-05-27T06:00:42.311Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-27T06:00:42.573Z] INFO: Archiving Costs [Pipeline] echo [2021-05-27T06:00:42.606Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T06:00:42.944Z] ---> logs-deploy.sh [2021-05-27T06:00:42.944Z] lf-activate-venv: SKIPPING [2021-05-27T06:00:42.944Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3514/1 [2021-05-27T06:00:42.944Z] INFO: archiving workspace using pattern(s): [2021-05-27T06:00:43.912Z] Archives upload complete. [2021-05-27T06:00:43.912Z] INFO: archiving logs to Nexus