Pull request #3440 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ca09b63b56b08b4243e81c6a11b4387350c2b679+feccc1132204ea0a3421d61f23242004f0b740e5 (dac3eb09f287559c6394f39fda06abb179975704) 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-3440/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 > 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a 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-3440/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 > 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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- DOCKER_IMAGE_NAME_SUFFIX: -go 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-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-3820’ is offline; ‘prd-centos7-docker-4c-2g-3822’ is offline; ‘prd-centos7-docker-4c-2g-3823’ is offline; ‘prd-centos7-docker-4c-2g-3824’ is offline; ‘prd-centos7-docker-4c-2g-3830’ is offline; ‘prd-centos7-docker-4c-2g-3832’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-3829’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3817’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3825’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3827’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3828’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3833 in /w/workspace/edgexfoundry_edgex-go_PR-3440 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3440/head:refs/remotes/origin/PR-3440 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit feccc1132204ea0a3421d61f23242004f0b740e5 into PR head commit ca09b63b56b08b4243e81c6a11b4387350c2b679 Merge succeeded, producing ca09b63b56b08b4243e81c6a11b4387350c2b679 Checking out Revision ca09b63b56b08b4243e81c6a11b4387350c2b679 (PR-3440) > git config core.sparsecheckout # timeout=10 > git checkout -f ca09b63b56b08b4243e81c6a11b4387350c2b679 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge feccc1132204ea0a3421d61f23242004f0b740e5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca09b63b56b08b4243e81c6a11b4387350c2b679 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-09T11:28:03.542Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-09T11:28:03.732Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-09T11:28:03.845Z] ========================================================= [2021-05-09T11:28:03.845Z] EdgeX Global Pipelines Version Info [2021-05-09T11:28:03.845Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:28:06.909Z] ------------------- [2021-05-09T11:28:06.909Z] stable info: [2021-05-09T11:28:06.909Z] ------------------- [2021-05-09T11:28:06.909Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-09T11:28:06.909Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T11:28:06.909Z] Message: update stable to v1.0.191 [2021-05-09T11:28:07.927Z] ------------------- [2021-05-09T11:28:07.927Z] experimental info: [2021-05-09T11:28:07.927Z] ------------------- [2021-05-09T11:28:07.927Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-09T11:28:07.927Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-09T11:28:07.927Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-09T11:28:08.215Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo [2021-05-09T11:28:08.270Z] [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo [2021-05-09T11:28:08.325Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-09T11:28:08.394Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-09T11:28:08.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-09T11:28:08.566Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-09T11:28:08.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-09T11:28:08.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo [2021-05-09T11:28:08.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo [2021-05-09T11:28:08.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo [2021-05-09T11:28:08.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-09T11:28:08.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-09T11:28:09.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-09T11:28:09.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-09T11:28:09.133Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T11:28:09.209Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-09T11:28:09.286Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-09T11:28:09.345Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-09T11:28:09.402Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-09T11:28:09.458Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-09T11:28:09.514Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-09T11:28:09.567Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-09T11:28:09.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3440 [Pipeline] echo [2021-05-09T11:28:09.687Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3440 [Pipeline] echo [2021-05-09T11:28:09.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3440 [Pipeline] echo [2021-05-09T11:28:09.855Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca09b63b56b08b4243e81c6a11b4387350c2b679 [Pipeline] echo [2021-05-09T11:28:09.907Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca09b63 [Pipeline] echo [2021-05-09T11:28:09.962Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:28:10.104Z] provisioning config files... [2021-05-09T11:28:10.143Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config9039483567058939287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:28:10.576Z] ---> docker-login.sh [2021-05-09T11:28:10.576Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:28:11.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:11.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:11.902Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:11.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:11.902Z] [2021-05-09T11:28:11.902Z] Login Succeeded [2021-05-09T11:28:11.902Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:28:12.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:12.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:12.483Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:12.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:12.483Z] [2021-05-09T11:28:12.483Z] Login Succeeded [2021-05-09T11:28:12.483Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:28:13.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:13.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:13.135Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:13.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:13.135Z] [2021-05-09T11:28:13.135Z] Login Succeeded [2021-05-09T11:28:13.135Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:28:13.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:13.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:13.410Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:13.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:13.410Z] [2021-05-09T11:28:13.410Z] Login Succeeded [2021-05-09T11:28:13.410Z] docker.io [2021-05-09T11:28:13.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:28:14.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:28:14.011Z] Configure a credential helper to remove this warning. See [2021-05-09T11:28:14.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:28:14.011Z] [2021-05-09T11:28:14.011Z] Login Succeeded [2021-05-09T11:28:14.011Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:28:14.051Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:28:14.563Z] ++ 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-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] ++ dirname cmd/core-command/Dockerfile [2021-05-09T11:28:14.564Z] + echo core-command,cmd/core-command/Dockerfile [2021-05-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ dirname cmd/core-data/Dockerfile [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] + echo core-data,cmd/core-data/Dockerfile [2021-05-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] ++ dirname cmd/core-metadata/Dockerfile [2021-05-09T11:28:14.564Z] + echo core-metadata,cmd/core-metadata/Dockerfile [2021-05-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ dirname cmd/security-bootstrapper/Dockerfile [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile [2021-05-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ dirname cmd/security-proxy-setup/Dockerfile [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile [2021-05-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ dirname cmd/security-secretstore-setup/Dockerfile [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile [2021-05-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] ++ dirname cmd/support-notifications/Dockerfile [2021-05-09T11:28:14.564Z] + echo support-notifications,cmd/support-notifications/Dockerfile [2021-05-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] ++ dirname cmd/support-scheduler/Dockerfile [2021-05-09T11:28:14.564Z] + echo support-scheduler,cmd/support-scheduler/Dockerfile [2021-05-09T11:28:14.564Z] + for file in '`ls cmd/**/Dockerfile`' [2021-05-09T11:28:14.564Z] ++ dirname cmd/sys-mgmt-agent/Dockerfile [2021-05-09T11:28:14.564Z] ++ cut -d/ -f2 [2021-05-09T11:28:14.564Z] + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo [2021-05-09T11:28:14.790Z] Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrapper-go, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:28:15.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:15.648Z] [2021-05-09T11:28:15.648Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:28:16.035Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:16.321Z] latest: Pulling from edgex-devops/git-semver [2021-05-09T11:28:16.321Z] 31603596830f: Pulling fs layer [2021-05-09T11:28:16.321Z] 54011a49482f: Pulling fs layer [2021-05-09T11:28:16.321Z] a6820b24f6d8: Pulling fs layer [2021-05-09T11:28:16.321Z] f581987b2513: Pulling fs layer [2021-05-09T11:28:16.321Z] f581987b2513: Waiting [2021-05-09T11:28:16.321Z] 54011a49482f: Verifying Checksum [2021-05-09T11:28:16.321Z] 54011a49482f: Download complete [2021-05-09T11:28:17.025Z] 31603596830f: Verifying Checksum [2021-05-09T11:28:17.025Z] 31603596830f: Download complete [2021-05-09T11:28:17.650Z] f581987b2513: Verifying Checksum [2021-05-09T11:28:17.650Z] f581987b2513: Download complete [2021-05-09T11:28:17.650Z] a6820b24f6d8: Verifying Checksum [2021-05-09T11:28:17.650Z] a6820b24f6d8: Download complete [2021-05-09T11:28:17.922Z] 31603596830f: Pull complete [2021-05-09T11:28:18.203Z] 54011a49482f: Pull complete [2021-05-09T11:28:20.226Z] a6820b24f6d8: Pull complete [2021-05-09T11:28:20.510Z] f581987b2513: Pull complete [2021-05-09T11:28:20.510Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-09T11:28:20.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-09T11:28:20.510Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-09T11:28:20.845Z] prd-centos7-docker-4c-2g-3833 does not seem to be running inside a container [2021-05-09T11:28:20.966Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-09T11:28:23.933Z] $ docker top ea67a7a3f1b439dcef285880346a8c3466caddbbd0b0a49edae3e5d62a86b082 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-09T11:28:24.281Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:28:24.281Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:28:24.859Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:28:24.871Z] $ docker exec ea67a7a3f1b439dcef285880346a8c3466caddbbd0b0a49edae3e5d62a86b082 ssh-agent [2021-05-09T11:28:25.605Z] SSH_AUTH_SOCK=/tmp/ssh-qDknvm87me5N/agent.11 [2021-05-09T11:28:25.605Z] SSH_AGENT_PID=16 [2021-05-09T11:28:25.623Z] Running ssh-add (command line suppressed) [2021-05-09T11:28:26.086Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_4521651605662817107.key (/w/workspace/edgex-go/1@tmp/private_key_4521651605662817107.key) [2021-05-09T11:28:26.248Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:28:26.696Z] + git tag --points-at HEAD [Pipeline] } [2021-05-09T11:28:26.753Z] $ docker exec --env ******** --env ******** ea67a7a3f1b439dcef285880346a8c3466caddbbd0b0a49edae3e5d62a86b082 ssh-agent -k [2021-05-09T11:28:27.147Z] unset SSH_AUTH_SOCK; [2021-05-09T11:28:27.147Z] unset SSH_AGENT_PID; [2021-05-09T11:28:27.147Z] echo Agent pid 16 killed; [2021-05-09T11:28:27.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-09T11:28:27.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-09T11:28:27.377Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-09T11:28:28.251Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-09T11:28:28.256Z] $ docker exec ea67a7a3f1b439dcef285880346a8c3466caddbbd0b0a49edae3e5d62a86b082 ssh-agent [2021-05-09T11:28:28.931Z] SSH_AUTH_SOCK=/tmp/ssh-3YLxTOTVy7ui/agent.45 [2021-05-09T11:28:28.931Z] SSH_AGENT_PID=50 [2021-05-09T11:28:28.949Z] Running ssh-add (command line suppressed) [2021-05-09T11:28:29.265Z] Identity added: /w/workspace/edgex-go/1@tmp/private_key_3899478939565854764.key (/w/workspace/edgex-go/1@tmp/private_key_3899478939565854764.key) [2021-05-09T11:28:29.388Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-09T11:28:30.158Z] + git semver init [2021-05-09T11:28:30.158Z] # -> Open(): unable to determine branch for HEAD [2021-05-09T11:28:30.158Z] # $GIT_DIR = /w/workspace/edgex-go/1/.git [2021-05-09T11:28:30.158Z] # $GIT_WORK_TREE = /w/workspace/edgex-go/1 [2021-05-09T11:28:30.158Z] # $SEMVER_REMOTE_NAME = origin [2021-05-09T11:28:30.158Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-09T11:28:30.158Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-09T11:28:30.158Z] # $SEMVER_BRANCH = PR-3440 [2021-05-09T11:28:30.158Z] # $SEMVER_TEMP = /tmp/semver-749504735 [2021-05-09T11:28:30.158Z] # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP [2021-05-09T11:29:10.174Z] # '/tmp/semver-749504735' -> '/w/workspace/edgex-go/1/.semver' [2021-05-09T11:29:10.175Z] # -> Force: false [2021-05-09T11:29:10.175Z] # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } [2021-05-09T11:29:10.204Z] $ docker exec --env ******** --env ******** ea67a7a3f1b439dcef285880346a8c3466caddbbd0b0a49edae3e5d62a86b082 ssh-agent -k [2021-05-09T11:29:10.729Z] unset SSH_AUTH_SOCK; [2021-05-09T11:29:10.730Z] unset SSH_AGENT_PID; [2021-05-09T11:29:10.730Z] echo Agent pid 50 killed; [2021-05-09T11:29:10.883Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-09T11:29:11.689Z] + git semver [Pipeline] } [2021-05-09T11:29:11.740Z] $ docker stop --time=1 ea67a7a3f1b439dcef285880346a8c3466caddbbd0b0a49edae3e5d62a86b082 [2021-05-09T11:29:13.747Z] $ docker rm -f ea67a7a3f1b439dcef285880346a8c3466caddbbd0b0a49edae3e5d62a86b082 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-09T11:29:14.376Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-09T11:29:15.579Z] Stashed 1 file(s) [Pipeline] echo [2021-05-09T11:29:15.602Z] [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-09T11:29:16.693Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:29:17.087Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:29:17.500Z] + sudo service docker restart [2021-05-09T11:29:17.501Z] + true [2021-05-09T11:29:17.501Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] echo [2021-05-09T11:29:18.978Z] ========================================================= [2021-05-09T11:29:18.978Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-09T11:29:18.978Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:29:19.374Z] + 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-09T11:29:26.982Z] Sending build context to Docker daemon 330MB [2021-05-09T11:29:26.982Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-09T11:29:26.982Z] Step 2/6 : FROM ${BASE} [2021-05-09T11:29:26.982Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-09T11:29:26.982Z] 540db60ca938: Pulling fs layer [2021-05-09T11:29:26.982Z] adcc1eea9eea: Pulling fs layer [2021-05-09T11:29:26.982Z] 4c4ab2625f07: Pulling fs layer [2021-05-09T11:29:26.982Z] 0510c868ecb4: Pulling fs layer [2021-05-09T11:29:26.982Z] afea3b2eda06: Pulling fs layer [2021-05-09T11:29:26.982Z] 7809a108b3ef: Pulling fs layer [2021-05-09T11:29:26.982Z] f706445af74f: Pulling fs layer [2021-05-09T11:29:26.982Z] 0510c868ecb4: Waiting [2021-05-09T11:29:26.982Z] afea3b2eda06: Waiting [2021-05-09T11:29:26.982Z] 7809a108b3ef: Waiting [2021-05-09T11:29:26.982Z] f706445af74f: Waiting [2021-05-09T11:29:26.982Z] 4c4ab2625f07: Verifying Checksum [2021-05-09T11:29:26.982Z] 4c4ab2625f07: Download complete [2021-05-09T11:29:26.982Z] adcc1eea9eea: Download complete [2021-05-09T11:29:26.982Z] afea3b2eda06: Verifying Checksum [2021-05-09T11:29:26.982Z] afea3b2eda06: Download complete [2021-05-09T11:29:26.982Z] 7809a108b3ef: Verifying Checksum [2021-05-09T11:29:26.982Z] 7809a108b3ef: Download complete [2021-05-09T11:29:26.982Z] 540db60ca938: Verifying Checksum [2021-05-09T11:29:26.982Z] 540db60ca938: Download complete [2021-05-09T11:29:27.956Z] 540db60ca938: Pull complete [2021-05-09T11:29:27.956Z] adcc1eea9eea: Pull complete [2021-05-09T11:29:28.224Z] 4c4ab2625f07: Pull complete [2021-05-09T11:29:29.678Z] f706445af74f: Verifying Checksum [2021-05-09T11:29:29.678Z] f706445af74f: Download complete [2021-05-09T11:29:31.010Z] Still waiting to schedule task [2021-05-09T11:29:31.010Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-09T11:29:33.071Z] 0510c868ecb4: Download complete [2021-05-09T11:29:43.382Z] 0510c868ecb4: Pull complete [2021-05-09T11:29:43.382Z] afea3b2eda06: Pull complete [2021-05-09T11:29:43.382Z] 7809a108b3ef: Pull complete [2021-05-09T11:29:48.920Z] f706445af74f: Pull complete [2021-05-09T11:29:48.920Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-09T11:29:48.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-09T11:29:48.921Z] ---> b068be0155e3 [2021-05-09T11:29:48.921Z] 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-09T11:29:49.523Z] ---> Running in e0b76736fdba [2021-05-09T11:29:50.990Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-09T11:29:52.424Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-09T11:29:53.392Z] (1/12) Installing libmagic (5.39-r0) [2021-05-09T11:29:54.820Z] (2/12) Installing file (5.39-r0) [2021-05-09T11:29:54.820Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-09T11:29:54.820Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-09T11:30:13.200Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-09T11:30:13.470Z] (6/12) Installing patch (2.7.6-r6) [2021-05-09T11:30:13.470Z] (7/12) Installing build-base (0.5-r2) [2021-05-09T11:30:13.748Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-09T11:30:14.024Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-09T11:30:14.024Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-09T11:30:14.291Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-09T11:30:14.881Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-09T11:30:14.881Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T11:30:14.881Z] OK: 219 MiB in 52 packages [2021-05-09T11:30:20.476Z] Removing intermediate container e0b76736fdba [2021-05-09T11:30:20.476Z] ---> 6f179d486dcf [2021-05-09T11:30:20.476Z] Step 4/6 : WORKDIR /edgex-go [2021-05-09T11:30:20.476Z] ---> Running in 673094ceb45f [2021-05-09T11:30:20.476Z] Removing intermediate container 673094ceb45f [2021-05-09T11:30:20.476Z] ---> 7290cd582e29 [2021-05-09T11:30:20.476Z] Step 5/6 : COPY go.mod . [2021-05-09T11:30:21.485Z] ---> 225f57204a52 [2021-05-09T11:30:21.485Z] Step 6/6 : RUN go mod download [2021-05-09T11:30:21.485Z] ---> Running in 21148c8312b6 [2021-05-09T11:30:54.067Z] Removing intermediate container 21148c8312b6 [2021-05-09T11:30:54.067Z] ---> 245b4fde3b7c [2021-05-09T11:30:54.067Z] Successfully built 245b4fde3b7c [2021-05-09T11:30:54.067Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:30:54.902Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T11:30:54.902Z] . [Pipeline] withDockerContainer [2021-05-09T11:30:55.580Z] prd-centos7-docker-4c-2g-3833 does not seem to be running inside a container [2021-05-09T11:30:55.746Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-09T11:30:57.993Z] $ docker top c768ac92f69f68829d01973ff2f3fa19b8cd20728630464610f51348702ae9ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:30:59.295Z] + go version [2021-05-09T11:30:59.295Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-09T11:30:59.338Z] $ docker stop --time=1 c768ac92f69f68829d01973ff2f3fa19b8cd20728630464610f51348702ae9ba [2021-05-09T11:31:01.144Z] $ docker rm -f c768ac92f69f68829d01973ff2f3fa19b8cd20728630464610f51348702ae9ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:31:02.069Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-09T11:31:02.070Z] . [Pipeline] withDockerContainer [2021-05-09T11:31:02.447Z] prd-centos7-docker-4c-2g-3833 does not seem to be running inside a container [2021-05-09T11:31:02.565Z] $ 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 ******** ci-base-image-x86_64 cat [2021-05-09T11:31:04.110Z] $ docker top 8f380c0d3484ed76ee0a45935f69d245dc2340319dd9818d277cfe7758a60da7 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-09T11:31:04.419Z] ========================================================= [2021-05-09T11:31:04.419Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-09T11:31:04.419Z] ========================================================= [Pipeline] sh [2021-05-09T11:31:04.789Z] + go mod tidy [Pipeline] sh [2021-05-09T11:31:08.169Z] + make test [2021-05-09T11:31:08.169Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-09T11:31:23.614Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-09T11:31:46.622Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [2021-05-09T11:31:46.622Z] internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-09T11:31:46.622Z] internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:31:46.622Z] internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:31:46.622Z] internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:32:01.934Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3840 in /w/workspace/edgexfoundry_edgex-go_PR-3440 [Pipeline] { [Pipeline] ws [2021-05-09T11:32:02.000Z] Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout [2021-05-09T11:32:08.942Z] using credential edgex-jenkins-ssh [2021-05-09T11:32:08.971Z] Cloning the remote Git repository [2021-05-09T11:32:09.036Z] Cloning repository git@github.com:edgexfoundry/edgex-go.git [2021-05-09T11:32:09.162Z] > git init /w/workspace/edgex-go/1 # timeout=10 [2021-05-09T11:32:09.257Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-09T11:32:09.258Z] > git --version # timeout=10 [2021-05-09T11:32:09.278Z] > git --version # 'git version 2.17.1' [2021-05-09T11:32:09.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:32:09.358Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:32:26.433Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [2021-05-09T11:32:26.433Z] internal/support/scheduler/v2/application/intervalaction.go:166:5: unknown field 'RequestBody' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".RESTAddress [2021-05-09T11:32:29.143Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-09T11:32:29.739Z] Merging remotes/origin/master commit feccc1132204ea0a3421d61f23242004f0b740e5 into PR head commit ca09b63b56b08b4243e81c6a11b4387350c2b679 [2021-05-09T11:32:29.764Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.094s coverage: 19.8% of statements [2021-05-09T11:32:30.160Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-09T11:32:30.160Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-09T11:32:30.231Z] Merge succeeded, producing ca09b63b56b08b4243e81c6a11b4387350c2b679 [2021-05-09T11:32:30.231Z] Checking out Revision ca09b63b56b08b4243e81c6a11b4387350c2b679 (PR-3440) [2021-05-09T11:32:28.875Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-09T11:32:28.896Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-09T11:32:28.927Z] > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 [2021-05-09T11:32:28.967Z] Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git [2021-05-09T11:32:28.968Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:32:28.984Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3440/head:refs/remotes/origin/PR-3440 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-09T11:32:29.770Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:32:29.794Z] > git checkout -f ca09b63b56b08b4243e81c6a11b4387350c2b679 # timeout=10 [2021-05-09T11:32:30.149Z] > git remote # timeout=10 [2021-05-09T11:32:30.169Z] > git config --get remote.origin.url # timeout=10 [2021-05-09T11:32:30.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-09T11:32:30.196Z] > git merge feccc1132204ea0a3421d61f23242004f0b740e5 # timeout=10 [2021-05-09T11:32:30.221Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-09T11:32:30.243Z] > git config core.sparsecheckout # timeout=10 [2021-05-09T11:32:30.263Z] > git checkout -f ca09b63b56b08b4243e81c6a11b4387350c2b679 # timeout=10 [2021-05-09T11:32:31.292Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.103s coverage: 100.0% of statements [2021-05-09T11:32:32.014Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.264s coverage: 100.0% of statements [2021-05-09T11:32:32.014Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2021-05-09T11:32:32.014Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-05-09T11:32:32.721Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.115s coverage: 78.9% of statements [2021-05-09T11:32:32.721Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-09T11:32:34.256Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.155s coverage: 100.0% of statements [2021-05-09T11:32:34.256Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.138s coverage: 100.0% of statements [2021-05-09T11:32:34.766Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-09T11:32:34.837Z] > git --version # timeout=10 [2021-05-09T11:32:34.851Z] > git --version # 'git version 2.17.1' [2021-05-09T11:32:34.871Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-09T11:32:35.915Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.199s coverage: 86.7% of statements [2021-05-09T11:32:36.570Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:32:36.903Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.435s coverage: 97.5% of statements [2021-05-09T11:32:37.015Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-09T11:32:37.292Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] [2021-05-09T11:32:37.292Z] internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-09T11:32:37.292Z] internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:32:37.292Z] internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:32:37.292Z] internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:32:37.379Z] + + truesudo service [2021-05-09T11:32:37.379Z] docker restart [2021-05-09T11:32:37.598Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.217s coverage: 78.3% of statements [2021-05-09T11:32:37.599Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-05-09T11:32:37.599Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.253s coverage: 58.8% of statements [2021-05-09T11:32:37.599Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-05-09T11:32:37.599Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] [2021-05-09T11:32:39.200Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.135s coverage: 47.1% of statements [2021-05-09T11:32:39.816Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.169s coverage: 79.5% of statements [2021-05-09T11:32:39.816Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.090s coverage: 94.1% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-09T11:32:40.128Z] provisioning config files... [2021-05-09T11:32:40.185Z] copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config4195413496016871724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:32:40.406Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.147s coverage: 96.3% of statements [2021-05-09T11:32:40.635Z] ---> docker-login.sh [2021-05-09T11:32:40.635Z] nexus3.edgexfoundry.org:10001 [2021-05-09T11:32:40.926Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.147s coverage: 87.5% of statements [2021-05-09T11:32:41.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:41.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:41.905Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:41.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:41.905Z] [2021-05-09T11:32:41.905Z] Login Succeeded [2021-05-09T11:32:41.905Z] nexus3.edgexfoundry.org:10002 [2021-05-09T11:32:42.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:42.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:42.777Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:42.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:42.777Z] [2021-05-09T11:32:42.777Z] Login Succeeded [2021-05-09T11:32:42.777Z] nexus3.edgexfoundry.org:10003 [2021-05-09T11:32:43.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:43.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:43.052Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:43.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:43.052Z] [2021-05-09T11:32:43.052Z] Login Succeeded [2021-05-09T11:32:43.052Z] nexus3.edgexfoundry.org:10004 [2021-05-09T11:32:43.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:43.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:43.649Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:43.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:43.649Z] [2021-05-09T11:32:43.649Z] Login Succeeded [2021-05-09T11:32:43.649Z] docker.io [2021-05-09T11:32:44.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-09T11:32:44.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-09T11:32:44.516Z] Configure a credential helper to remove this warning. See [2021-05-09T11:32:44.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-09T11:32:44.516Z] [2021-05-09T11:32:44.516Z] Login Succeeded [2021-05-09T11:32:44.516Z] ---> docker-login.sh ends [Pipeline] } [2021-05-09T11:32:44.549Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-09T11:32:44.996Z] ========================================================= [2021-05-09T11:32:44.996Z] [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-09T11:32:44.996Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:32:45.393Z] + 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-09T11:32:48.048Z] Sending build context to Docker daemon 167.6MB [2021-05-09T11:32:48.048Z] Step 1/6 : ARG BASE=golang:1.16-alpine3.12 [2021-05-09T11:32:48.048Z] Step 2/6 : FROM ${BASE} [2021-05-09T11:32:48.048Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-09T11:32:48.048Z] 595b0fe564bb: Pulling fs layer [2021-05-09T11:32:48.048Z] 7186ed65a4f7: Pulling fs layer [2021-05-09T11:32:48.048Z] 316046926c0a: Pulling fs layer [2021-05-09T11:32:48.048Z] 4ebd0625c992: Pulling fs layer [2021-05-09T11:32:48.048Z] 207e8628e3a3: Pulling fs layer [2021-05-09T11:32:48.048Z] c791037a9be2: Pulling fs layer [2021-05-09T11:32:48.048Z] ffd874e62e21: Pulling fs layer [2021-05-09T11:32:48.048Z] c791037a9be2: Waiting [2021-05-09T11:32:48.048Z] 207e8628e3a3: Waiting [2021-05-09T11:32:48.048Z] ffd874e62e21: Waiting [2021-05-09T11:32:48.048Z] 4ebd0625c992: Waiting [2021-05-09T11:32:48.048Z] 316046926c0a: Verifying Checksum [2021-05-09T11:32:48.048Z] 316046926c0a: Download complete [2021-05-09T11:32:48.048Z] 7186ed65a4f7: Download complete [2021-05-09T11:32:48.048Z] 207e8628e3a3: Verifying Checksum [2021-05-09T11:32:48.048Z] 207e8628e3a3: Download complete [2021-05-09T11:32:48.048Z] c791037a9be2: Verifying Checksum [2021-05-09T11:32:48.048Z] c791037a9be2: Download complete [2021-05-09T11:32:48.048Z] 595b0fe564bb: Verifying Checksum [2021-05-09T11:32:48.048Z] 595b0fe564bb: Download complete [2021-05-09T11:32:48.651Z] 595b0fe564bb: Pull complete [2021-05-09T11:32:49.254Z] 7186ed65a4f7: Pull complete [2021-05-09T11:32:49.860Z] 316046926c0a: Pull complete [2021-05-09T11:32:50.840Z] ffd874e62e21: Verifying Checksum [2021-05-09T11:32:50.840Z] ffd874e62e21: Download complete [2021-05-09T11:32:52.270Z] 4ebd0625c992: Verifying Checksum [2021-05-09T11:32:52.270Z] 4ebd0625c992: Download complete [2021-05-09T11:32:54.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.173s coverage: 94.4% of statements [2021-05-09T11:32:54.721Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.116s coverage: 44.8% of statements [2021-05-09T11:32:58.221Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.773s coverage: 81.8% of statements [2021-05-09T11:33:02.438Z] 4ebd0625c992: Pull complete [2021-05-09T11:33:02.438Z] 207e8628e3a3: Pull complete [2021-05-09T11:33:02.438Z] c791037a9be2: Pull complete [2021-05-09T11:33:05.832Z] ffd874e62e21: Pull complete [2021-05-09T11:33:05.832Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-09T11:33:05.832Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-09T11:33:05.832Z] ---> cfc18b08335c [2021-05-09T11:33:05.832Z] 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-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.251s coverage: 92.9% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.061s coverage: 65.1% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.133s coverage: 87.2% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.059s coverage: 100.0% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.290s coverage: 76.0% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.090s coverage: 80.0% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.143s coverage: 87.2% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.145s coverage: 85.4% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.223s coverage: 91.2% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.560s coverage: 64.4% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.100s coverage: 100.0% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.280s coverage: 91.3% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.076s coverage: 100.0% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.058s coverage: 73.7% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.035s coverage: 100.0% of statements [2021-05-09T11:33:07.111Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.022s coverage: 66.9% of statements [2021-05-09T11:33:09.397Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.384s coverage: 43.4% of statements [2021-05-09T11:33:09.397Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.227s coverage: 89.5% of statements [2021-05-09T11:33:09.397Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.063s coverage: 84.8% of statements [2021-05-09T11:33:09.397Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-09T11:33:09.397Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] [2021-05-09T11:33:09.397Z] internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value [2021-05-09T11:33:10.412Z] ---> Running in 4d36e2563881 [2021-05-09T11:33:10.952Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.122s coverage: 100.0% of statements [2021-05-09T11:33:11.037Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-09T11:33:11.244Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.138s coverage: 100.0% of statements [2021-05-09T11:33:11.244Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] [2021-05-09T11:33:11.244Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-05-09T11:33:11.244Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-09T11:33:13.373Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.244s coverage: 99.0% of statements [2021-05-09T11:33:13.373Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.122s coverage: 100.0% of statements [2021-05-09T11:33:13.373Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-05-09T11:33:13.373Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] [2021-05-09T11:33:13.373Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.067s coverage: 0.0% of statements [2021-05-09T11:33:13.373Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.040s coverage: 100.0% of statements [2021-05-09T11:33:14.073Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.085s coverage: 87.9% of statements [2021-05-09T11:33:14.346Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.053s coverage: 100.0% of statements [2021-05-09T11:33:14.424Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-09T11:33:14.619Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.058s coverage: 28.1% of statements [2021-05-09T11:33:14.892Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.046s coverage: 100.0% of statements [2021-05-09T11:33:15.480Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-09T11:33:15.534Z] $ docker stop --time=1 8f380c0d3484ed76ee0a45935f69d245dc2340319dd9818d277cfe7758a60da7 [2021-05-09T11:33:18.044Z] $ docker rm -f 8f380c0d3484ed76ee0a45935f69d245dc2340319dd9818d277cfe7758a60da7 [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-09T11:33:19.591Z] Failed in branch amd64 [2021-05-09T11:33:19.830Z] (1/12) Installing libmagic (5.39-r0) [2021-05-09T11:33:20.104Z] (2/12) Installing file (5.39-r0) [2021-05-09T11:33:20.377Z] (3/12) Installing libc-dev (0.7.2-r3) [2021-05-09T11:33:20.651Z] (4/12) Installing g++ (10.2.1_pre1-r3) [2021-05-09T11:33:47.422Z] (5/12) Installing fortify-headers (1.1-r0) [2021-05-09T11:33:47.422Z] (6/12) Installing patch (2.7.6-r6) [2021-05-09T11:33:47.422Z] (7/12) Installing build-base (0.5-r2) [2021-05-09T11:33:47.422Z] (8/12) Installing libsodium (1.0.18-r0) [2021-05-09T11:33:47.422Z] (9/12) Installing pkgconf (1.7.3-r0) [2021-05-09T11:33:47.422Z] (10/12) Installing libsodium-dev (1.0.18-r0) [2021-05-09T11:33:47.422Z] (11/12) Installing libzmq (4.3.3-r1) [2021-05-09T11:33:47.422Z] (12/12) Installing zeromq-dev (4.3.3-r1) [2021-05-09T11:33:47.422Z] Executing busybox-1.32.1-r6.trigger [2021-05-09T11:33:47.698Z] OK: 218 MiB in 52 packages [2021-05-09T11:33:52.019Z] Removing intermediate container 4d36e2563881 [2021-05-09T11:33:52.019Z] ---> f76bbb56e70a [2021-05-09T11:33:52.019Z] Step 4/6 : WORKDIR /edgex-go [2021-05-09T11:33:52.019Z] ---> Running in 920919fcad17 [2021-05-09T11:33:52.650Z] Removing intermediate container 920919fcad17 [2021-05-09T11:33:52.650Z] ---> ddd08f2d49d5 [2021-05-09T11:33:52.650Z] Step 5/6 : COPY go.mod . [2021-05-09T11:33:53.629Z] ---> a1ebd68a6419 [2021-05-09T11:33:53.629Z] Step 6/6 : RUN go mod download [2021-05-09T11:33:53.629Z] ---> Running in 0dd3e990bf97 [2021-05-09T11:34:25.963Z] Removing intermediate container 0dd3e990bf97 [2021-05-09T11:34:25.963Z] ---> 89329c4b0840 [2021-05-09T11:34:25.963Z] Successfully built 89329c4b0840 [2021-05-09T11:34:25.963Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:34:26.346Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T11:34:26.346Z] . [Pipeline] withDockerContainer [2021-05-09T11:34:26.626Z] prd-ubuntu18.04-docker-arm64-4c-16g-3840 does not seem to be running inside a container [2021-05-09T11:34:26.726Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-09T11:34:28.162Z] $ docker top 52698dc6ff6d4c92782dbd36b3aca2b794701c78d4f1d695766d23e94c80a558 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:34:29.148Z] + go version [2021-05-09T11:34:29.148Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-09T11:34:29.196Z] $ docker stop --time=1 52698dc6ff6d4c92782dbd36b3aca2b794701c78d4f1d695766d23e94c80a558 [2021-05-09T11:34:31.145Z] $ docker rm -f 52698dc6ff6d4c92782dbd36b3aca2b794701c78d4f1d695766d23e94c80a558 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:34:32.093Z] + docker inspect -f . ci-base-image-arm64 [2021-05-09T11:34:32.093Z] . [Pipeline] withDockerContainer [2021-05-09T11:34:32.372Z] prd-ubuntu18.04-docker-arm64-4c-16g-3840 does not seem to be running inside a container [2021-05-09T11:34:32.470Z] $ 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 ******** ci-base-image-arm64 cat [2021-05-09T11:34:35.411Z] $ docker top ab7cf680fe55e0e017c6ce5aac86ec6c0c5fa44d6c33ca33e8fc3646e1aade37 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-05-09T11:34:35.808Z] ========================================================= [2021-05-09T11:34:35.808Z] [edgeXBuildGoParallel] Running Tests and Build... [2021-05-09T11:34:35.808Z] ========================================================= [Pipeline] sh [2021-05-09T11:34:36.473Z] + go mod tidy [Pipeline] sh [2021-05-09T11:34:38.162Z] + make test [2021-05-09T11:34:38.163Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-09T11:35:04.949Z] ? github.com/edgexfoundry/edgex-go [no test files] [2021-05-09T11:35:44.000Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [2021-05-09T11:35:44.000Z] internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-09T11:35:44.000Z] internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:35:44.000Z] internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:35:44.000Z] internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:36:31.025Z] # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application [2021-05-09T11:36:31.025Z] internal/support/scheduler/v2/application/intervalaction.go:166:5: unknown field 'RequestBody' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".RESTAddress [2021-05-09T11:36:35.341Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] [2021-05-09T11:36:35.947Z] ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.135s coverage: 19.8% of statements [2021-05-09T11:36:37.399Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] [2021-05-09T11:36:37.399Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] [2021-05-09T11:36:37.676Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.206s coverage: 100.0% of statements [2021-05-09T11:36:38.664Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.194s coverage: 100.0% of statements [2021-05-09T11:36:38.664Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] [2021-05-09T11:36:38.664Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] [2021-05-09T11:36:39.656Z] ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.199s coverage: 78.9% of statements [2021-05-09T11:36:39.656Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] [2021-05-09T11:36:43.063Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.254s coverage: 100.0% of statements [2021-05-09T11:36:43.063Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.209s coverage: 100.0% of statements [2021-05-09T11:36:45.707Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.511s coverage: 86.7% of statements [2021-05-09T11:36:46.312Z] # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] [2021-05-09T11:36:46.312Z] internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) [2021-05-09T11:36:46.312Z] internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:36:46.312Z] internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:36:46.312Z] internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) [2021-05-09T11:36:46.312Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.507s coverage: 97.5% of statements [2021-05-09T11:36:46.312Z] ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.259s coverage: 78.3% of statements [2021-05-09T11:36:46.312Z] FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] [2021-05-09T11:36:49.224Z] ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.119s coverage: 58.8% of statements [2021-05-09T11:36:49.224Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] [2021-05-09T11:36:49.224Z] FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] [2021-05-09T11:36:49.496Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.190s coverage: 47.1% of statements [2021-05-09T11:36:49.496Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.288s coverage: 79.5% of statements [2021-05-09T11:36:50.487Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.202s coverage: 94.1% of statements [2021-05-09T11:36:51.932Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.244s coverage: 96.3% of statements [2021-05-09T11:36:52.205Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.152s coverage: 87.5% of statements [2021-05-09T11:37:04.629Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.195s coverage: 94.4% of statements [2021-05-09T11:37:04.629Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.124s coverage: 44.8% of statements [2021-05-09T11:37:11.342Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.601s coverage: 81.8% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.217s coverage: 92.9% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.063s coverage: 65.1% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.081s coverage: 87.2% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.132s coverage: 100.0% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.163s coverage: 76.0% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.197s coverage: 80.0% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.236s coverage: 87.2% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.208s coverage: 85.4% of statements [2021-05-09T11:37:18.078Z] ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.245s coverage: 91.2% of statements [2021-05-09T11:37:19.522Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.870s coverage: 64.4% of statements [2021-05-09T11:37:19.522Z] ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.130s coverage: 100.0% of statements [2021-05-09T11:37:19.522Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.098s coverage: 91.3% of statements [2021-05-09T11:37:19.522Z] ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.053s coverage: 100.0% of statements [2021-05-09T11:37:19.522Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.058s coverage: 73.7% of statements [2021-05-09T11:37:20.127Z] ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.082s coverage: 100.0% of statements [2021-05-09T11:37:25.569Z] ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.027s coverage: 66.9% of statements [2021-05-09T11:37:26.166Z] # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] [2021-05-09T11:37:26.166Z] internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value [2021-05-09T11:37:26.446Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.737s coverage: 43.4% of statements [2021-05-09T11:37:26.446Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.141s coverage: 89.5% of statements [2021-05-09T11:37:26.446Z] ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.093s coverage: 84.8% of statements [2021-05-09T11:37:26.446Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] [2021-05-09T11:37:27.883Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.119s coverage: 100.0% of statements [2021-05-09T11:37:28.158Z] ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.096s coverage: 100.0% of statements [2021-05-09T11:37:28.158Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] [2021-05-09T11:37:28.158Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] [2021-05-09T11:37:28.433Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] [2021-05-09T11:37:32.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.190s coverage: 99.0% of statements [2021-05-09T11:37:32.761Z] ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.220s coverage: 100.0% of statements [2021-05-09T11:37:32.761Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] [2021-05-09T11:37:32.761Z] FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] [2021-05-09T11:37:32.761Z] ok github.com/edgexfoundry/edgex-go/internal/system 0.044s coverage: 0.0% of statements [2021-05-09T11:37:32.761Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.089s coverage: 100.0% of statements [2021-05-09T11:37:32.761Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.114s coverage: 87.9% of statements [2021-05-09T11:37:32.761Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.057s coverage: 100.0% of statements [2021-05-09T11:37:33.363Z] ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.146s coverage: 28.1% of statements [2021-05-09T11:37:34.360Z] ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements [2021-05-09T11:37:35.340Z] make: *** [Makefile:94: test] Error 2 [Pipeline] } [2021-05-09T11:37:35.415Z] $ docker stop --time=1 ab7cf680fe55e0e017c6ce5aac86ec6c0c5fa44d6c33ca33e8fc3646e1aade37 [2021-05-09T11:37:37.795Z] $ docker rm -f ab7cf680fe55e0e017c6ce5aac86ec6c0c5fa44d6c33ca33e8fc3646e1aade37 [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-09T11:37:39.669Z] ---> job-cost.sh [2021-05-09T11:37:39.669Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yUcO [2021-05-09T11:38:36.189Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-09T11:40:12.965Z] lf-activate-venv(): INFO: Adding /tmp/venv-yUcO/bin to PATH [2021-05-09T11:40:12.965Z] INFO: No Stack... [2021-05-09T11:40:12.965Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-09T11:40:12.965Z] INFO: Archiving Costs [Pipeline] sh [2021-05-09T11:40:13.332Z] + + cat /w/workspace/edgex-go/1/archives/cost.csvcut [2021-05-09T11:40:13.332Z] -d, -f6 [Pipeline] lock [2021-05-09T11:40:13.471Z] Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3440-1-stack-cost] [2021-05-09T11:40:13.477Z] Resource [jenkins-edgexfoundry-edgex-go-PR-3440-1-stack-cost] did not exist. Created. [2021-05-09T11:40:13.478Z] Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-09T11:40:13.923Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-09T11:40:14.754Z] Stashed 1 file(s) [Pipeline] } [2021-05-09T11:40:14.774Z] Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3440-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-09T11:40:15.301Z] 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-09T11:40:17.053Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:40:18.232Z] ---> package-listing.sh [2021-05-09T11:40:18.232Z] ++ facter osfamily [2021-05-09T11:40:18.232Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-09T11:40:18.499Z] + OS_FAMILY=redhat [2021-05-09T11:40:18.499Z] + workspace=/w/workspace/edgex-go/1 [2021-05-09T11:40:18.499Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-09T11:40:18.499Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-09T11:40:18.499Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-09T11:40:18.499Z] + PACKAGES=/tmp/packages_start.txt [2021-05-09T11:40:18.499Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-09T11:40:18.499Z] + PACKAGES=/tmp/packages_end.txt [2021-05-09T11:40:18.499Z] + case "${OS_FAMILY}" in [2021-05-09T11:40:18.499Z] + rpm -qa [2021-05-09T11:40:18.499Z] + sort [2021-05-09T11:40:25.237Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-09T11:40:25.237Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-09T11:40:25.237Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-09T11:40:25.237Z] + '[' /w/workspace/edgex-go/1 ']' [2021-05-09T11:40:25.237Z] + mkdir -p /w/workspace/edgex-go/1/archives/ [2021-05-09T11:40:25.237Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo [2021-05-09T11:40:25.280Z] 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-09T11:40:25.644Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:40:26.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:40:26.642Z] [2021-05-09T11:40:26.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-09T11:40:27.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:40:27.376Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-09T11:40:27.376Z] df20fa9351a1: Pulling fs layer [2021-05-09T11:40:27.376Z] 36b3adc4ff6f: Pulling fs layer [2021-05-09T11:40:27.376Z] 8ad3a11d3b57: Pulling fs layer [2021-05-09T11:40:27.376Z] 46f8f816bc3b: Pulling fs layer [2021-05-09T11:40:27.376Z] 93b61091891f: Pulling fs layer [2021-05-09T11:40:27.376Z] 93b9cdb0e59b: Pulling fs layer [2021-05-09T11:40:27.376Z] 5e14af77c1be: Pulling fs layer [2021-05-09T11:40:27.377Z] 01666e4c0597: Pulling fs layer [2021-05-09T11:40:27.377Z] aa168da1d23b: Pulling fs layer [2021-05-09T11:40:27.377Z] 5e14af77c1be: Waiting [2021-05-09T11:40:27.377Z] 46f8f816bc3b: Waiting [2021-05-09T11:40:27.377Z] 93b61091891f: Waiting [2021-05-09T11:40:27.377Z] 93b9cdb0e59b: Waiting [2021-05-09T11:40:27.377Z] aa168da1d23b: Waiting [2021-05-09T11:40:27.377Z] 01666e4c0597: Waiting [2021-05-09T11:40:27.377Z] 36b3adc4ff6f: Verifying Checksum [2021-05-09T11:40:27.377Z] 36b3adc4ff6f: Download complete [2021-05-09T11:40:27.377Z] 46f8f816bc3b: Verifying Checksum [2021-05-09T11:40:27.377Z] 46f8f816bc3b: Download complete [2021-05-09T11:40:27.377Z] df20fa9351a1: Verifying Checksum [2021-05-09T11:40:27.377Z] df20fa9351a1: Download complete [2021-05-09T11:40:27.377Z] 93b9cdb0e59b: Verifying Checksum [2021-05-09T11:40:27.377Z] 93b9cdb0e59b: Download complete [2021-05-09T11:40:27.671Z] 5e14af77c1be: Verifying Checksum [2021-05-09T11:40:27.671Z] 5e14af77c1be: Download complete [2021-05-09T11:40:27.671Z] 01666e4c0597: Verifying Checksum [2021-05-09T11:40:27.671Z] 01666e4c0597: Download complete [2021-05-09T11:40:27.671Z] 93b61091891f: Verifying Checksum [2021-05-09T11:40:27.672Z] 93b61091891f: Download complete [2021-05-09T11:40:28.854Z] df20fa9351a1: Pull complete [2021-05-09T11:40:28.854Z] 8ad3a11d3b57: Verifying Checksum [2021-05-09T11:40:28.854Z] 8ad3a11d3b57: Download complete [2021-05-09T11:40:30.046Z] 36b3adc4ff6f: Pull complete [2021-05-09T11:40:32.840Z] 8ad3a11d3b57: Pull complete [2021-05-09T11:40:34.014Z] 46f8f816bc3b: Pull complete [2021-05-09T11:40:35.589Z] 93b61091891f: Pull complete [2021-05-09T11:40:35.874Z] aa168da1d23b: Verifying Checksum [2021-05-09T11:40:35.874Z] aa168da1d23b: Download complete [2021-05-09T11:40:36.197Z] 93b9cdb0e59b: Pull complete [2021-05-09T11:40:36.800Z] 5e14af77c1be: Pull complete [2021-05-09T11:40:37.081Z] 01666e4c0597: Pull complete [2021-05-09T11:40:55.733Z] aa168da1d23b: Pull complete [2021-05-09T11:40:55.733Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-09T11:40:55.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-09T11:40:55.733Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-09T11:40:56.156Z] prd-centos7-docker-4c-2g-3833 does not seem to be running inside a container [2021-05-09T11:40:56.268Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-09T11:40:59.176Z] $ docker top 1a11ebfba9bfd7197aa9ce14b0f5ff44a8276754b3e852bcdef5b6b66c6d3e4c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-09T11:40:59.887Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-09T11:41:00.357Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-09T11:41:00.765Z] + ls /var/log/sa-host [2021-05-09T11:41:00.765Z] + sadf -c /var/log/sa-host/sa09 [2021-05-09T11:41:01.033Z] file_magic: OK [2021-05-09T11:41:01.033Z] HZ: Using current value: 100 [2021-05-09T11:41:01.033Z] file_header: OK [2021-05-09T11:41:01.033Z] 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-09T11:41:01.033Z] Statistics: [2021-05-09T11:41:01.033Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...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-09T11:41:01.033Z] File successfully converted to sysstat format version 12.2.1 [2021-05-09T11:41:01.033Z] + sadf -c /var/log/sa-host/sa23 [2021-05-09T11:41:01.033Z] file_magic: OK [2021-05-09T11:41:01.033Z] HZ: Using current value: 100 [2021-05-09T11:41:01.033Z] file_header: OK [2021-05-09T11:41:01.033Z] 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-09T11:41:01.033Z] Statistics: [2021-05-09T11:41:01.033Z] Hnuu...uuuununununu... [2021-05-09T11:41:01.033Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-09T11:41:01.293Z] provisioning config files... [2021-05-09T11:41:01.313Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config4525065988988337508tmp [Pipeline] { [Pipeline] echo [2021-05-09T11:41:01.370Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:02.066Z] ---> create-netrc.sh [Pipeline] } [2021-05-09T11:41:02.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-09T11:41:02.172Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:02.627Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-09T11:41:02.670Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:03.468Z] ---> sudo-logs.sh [2021-05-09T11:41:03.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-09T11:41:03.612Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:04.353Z] ---> job-cost.sh [2021-05-09T11:41:04.353Z] lf-activate-venv: SKIPPING [2021-05-09T11:41:04.353Z] DEBUG: total: 0.20999999344348907 [2021-05-09T11:41:04.353Z] INFO: Retrieving Stack Cost... [2021-05-09T11:41:05.780Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-09T11:41:06.414Z] INFO: Archiving Costs [Pipeline] echo [2021-05-09T11:41:06.470Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-09T11:41:07.498Z] ---> logs-deploy.sh [2021-05-09T11:41:07.498Z] lf-activate-venv: SKIPPING [2021-05-09T11:41:07.498Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3440/1 [2021-05-09T11:41:07.498Z] INFO: archiving workspace using pattern(s): [2021-05-09T11:41:09.790Z] Archives upload complete. [2021-05-09T11:41:10.062Z] INFO: archiving logs to Nexus