Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at 4428e4d1b6445bf1b64e4b4ca5eff36de518c634 rather than f72980ee2e3b65de4e42a8ac343d76ba1da632ca Obtained Jenkinsfile from 4428e4d1b6445bf1b64e4b4ca5eff36de518c634 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1000876841204397485.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1069803033195362033.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1462729790784799772.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1975012683219299732.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3577/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1453571996705025789.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: DOCKER_IMAGE_NAME_SUFFIX: DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-1825’ is offline Running on prd-centos7-docker-4c-2g-329 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/edgex-go.git > git init /w/workspace/edgex-go/2 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh5290250967391580028.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4428e4d1b6445bf1b64e4b4ca5eff36de518c634 into PR head commit f72980ee2e3b65de4e42a8ac343d76ba1da632ca Merge succeeded, producing f40f419bc40e96f5621619f2e42d467523d28e82 Checking out Revision f40f419bc40e96f5621619f2e42d467523d28e82 (PR-3577) > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh2298185129953228960.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3577/head:refs/remotes/origin/PR-3577 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgex-go/2@tmp/jenkins-gitclient-ssh2323879347635027796.key > git merge 4428e4d1b6445bf1b64e4b4ca5eff36de518c634 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f40f419bc40e96f5621619f2e42d467523d28e82 # timeout=10 Commit message: "Merge commit '4428e4d1b6445bf1b64e4b4ca5eff36de518c634' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:31:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:31:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:31:18 ========================================================= 08:31:18 EdgeX Global Pipelines Version Info 08:31:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:31:20 ------------------- 08:31:20 stable info: 08:31:20 ------------------- 08:31:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:31:20 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 08:31:20 Message: update stable to v1.0.195 08:31:21 ------------------- 08:31:21 experimental info: 08:31:21 ------------------- 08:31:21 Commited By: **** collab-it+edgex@linuxfoundation.org 08:31:21 Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 08:31:21 Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 08:31:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3577 [Pipeline] echo 08:31:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3577 [Pipeline] echo 08:31:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3577 [Pipeline] echo 08:31:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f40f419bc40e96f5621619f2e42d467523d28e82 [Pipeline] echo 08:31:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f40f419 [Pipeline] echo 08:31:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:31:23 provisioning config files... 08:31:23 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config4068514535116109638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:31:24 ---> docker-login.sh 08:31:24 nexus3.edgexfoundry.org:10001 08:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:24 Configure a credential helper to remove this warning. See 08:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:24 08:31:24 Login Succeeded 08:31:24 nexus3.edgexfoundry.org:10002 08:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:24 Configure a credential helper to remove this warning. See 08:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:24 08:31:24 Login Succeeded 08:31:24 nexus3.edgexfoundry.org:10003 08:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:24 Configure a credential helper to remove this warning. See 08:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:24 08:31:24 Login Succeeded 08:31:24 nexus3.edgexfoundry.org:10004 08:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:24 Configure a credential helper to remove this warning. See 08:31:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:24 08:31:24 Login Succeeded 08:31:24 docker.io 08:31:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:31:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:31:25 Configure a credential helper to remove this warning. See 08:31:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:31:25 08:31:25 Login Succeeded 08:31:25 ---> docker-login.sh ends [Pipeline] } 08:31:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:25 ++ 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 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/core-command/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo core-command,cmd/core-command/Dockerfile 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/core-data/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo core-data,cmd/core-data/Dockerfile 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/core-metadata/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo core-metadata,cmd/core-metadata/Dockerfile 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/security-bootstrapper/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/security-proxy-setup/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/security-secretstore-setup/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/support-notifications/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo support-notifications,cmd/support-notifications/Dockerfile 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/support-scheduler/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo support-scheduler,cmd/support-scheduler/Dockerfile 08:31:25 + for file in '`ls cmd/**/Dockerfile`' 08:31:25 ++ dirname cmd/sys-mgmt-agent/Dockerfile 08:31:25 ++ cut -d/ -f2 08:31:25 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 08:31:25 Generate Dockers from filesystem: [[image:core-command, dockerfile:cmd/core-command/Dockerfile], [image:core-data, dockerfile:cmd/core-data/Dockerfile], [image:core-metadata, dockerfile:cmd/core-metadata/Dockerfile], [image:security-bootstrapper, dockerfile:cmd/security-bootstrapper/Dockerfile], [image:security-proxy-setup, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:security-secretstore-setup, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:support-notifications, dockerfile:cmd/support-notifications/Dockerfile], [image:support-scheduler, dockerfile:cmd/support-scheduler/Dockerfile], [image:sys-mgmt-agent, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 08:31:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:31:26 08:31:26 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:31:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:31:26 latest: Pulling from edgex-devops/git-semver 08:31:26 31603596830f: Pulling fs layer 08:31:26 54011a49482f: Pulling fs layer 08:31:26 a6820b24f6d8: Pulling fs layer 08:31:26 f581987b2513: Pulling fs layer 08:31:26 f581987b2513: Waiting 08:31:26 54011a49482f: Verifying Checksum 08:31:26 54011a49482f: Download complete 08:31:27 31603596830f: Verifying Checksum 08:31:27 31603596830f: Download complete 08:31:27 f581987b2513: Verifying Checksum 08:31:27 f581987b2513: Download complete 08:31:27 a6820b24f6d8: Verifying Checksum 08:31:27 a6820b24f6d8: Download complete 08:31:27 31603596830f: Pull complete 08:31:27 54011a49482f: Pull complete 08:31:28 a6820b24f6d8: Pull complete 08:31:28 f581987b2513: Pull complete 08:31:28 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 08:31:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:31:28 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:31:28 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 08:31:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:31:29 $ docker top 47a63361f7f581c5a17a57fe8c5c8971e352b2e42ed40c2e07be27f74833592f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:31:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:29 [ssh-agent] Looking for ssh-agent implementation... 08:31:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:30 $ docker exec 47a63361f7f581c5a17a57fe8c5c8971e352b2e42ed40c2e07be27f74833592f ssh-agent 08:31:30 SSH_AUTH_SOCK=/tmp/ssh-VhYOyPKTsnjb/agent.14 08:31:30 SSH_AGENT_PID=20 08:31:30 Running ssh-add (command line suppressed) 08:31:30 Identity added: /w/workspace/edgex-go/2@tmp/private_key_6652551975761557087.key (/w/workspace/edgex-go/2@tmp/private_key_6652551975761557087.key) 08:31:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:30 + git tag --points-at HEAD [Pipeline] } 08:31:30 $ docker exec --env ******** --env ******** 47a63361f7f581c5a17a57fe8c5c8971e352b2e42ed40c2e07be27f74833592f ssh-agent -k 08:31:30 unset SSH_AUTH_SOCK; 08:31:30 unset SSH_AGENT_PID; 08:31:30 echo Agent pid 20 killed; 08:31:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:31:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:31:30 [ssh-agent] Looking for ssh-agent implementation... 08:31:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:31:31 $ docker exec 47a63361f7f581c5a17a57fe8c5c8971e352b2e42ed40c2e07be27f74833592f ssh-agent 08:31:31 SSH_AUTH_SOCK=/tmp/ssh-J31a6oYzJmQf/agent.53 08:31:31 SSH_AGENT_PID=59 08:31:31 Running ssh-add (command line suppressed) 08:31:31 Identity added: /w/workspace/edgex-go/2@tmp/private_key_7138446878864789796.key (/w/workspace/edgex-go/2@tmp/private_key_7138446878864789796.key) 08:31:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:31:31 + git semver init 08:31:31 # -> Open(): unable to determine branch for HEAD 08:31:31 # $GIT_DIR = /w/workspace/edgex-go/2/.git 08:31:31 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 08:31:31 # $SEMVER_REMOTE_NAME = origin 08:31:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:31:31 # $SEMVER_USER_NAME = edgex-jenkins 08:31:31 # $SEMVER_BRANCH = PR-3577 08:31:31 # $SEMVER_TEMP = /tmp/semver-944337439 08:31:31 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 08:31:46 # '/tmp/semver-944337439' -> '/w/workspace/edgex-go/2/.semver' 08:31:46 # -> Force: false 08:31:46 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 08:31:46 $ docker exec --env ******** --env ******** 47a63361f7f581c5a17a57fe8c5c8971e352b2e42ed40c2e07be27f74833592f ssh-agent -k 08:31:46 unset SSH_AUTH_SOCK; 08:31:46 unset SSH_AGENT_PID; 08:31:46 echo Agent pid 59 killed; 08:31:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:31:47 + git semver [Pipeline] } 08:31:47 $ docker stop --time=1 47a63361f7f581c5a17a57fe8c5c8971e352b2e42ed40c2e07be27f74833592f 08:31:52 $ docker rm -f 47a63361f7f581c5a17a57fe8c5c8971e352b2e42ed40c2e07be27f74833592f [Pipeline] // withDockerContainer [Pipeline] sh 08:31:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:31:53 Stashed 1 file(s) [Pipeline] echo 08:31:53 [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 08:31:54 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:31:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:31:55 + true 08:31:55 + sudo service docker restart 08:31:55 Redirecting to /bin/systemctl restart docker.service 08:32:09 Still waiting to schedule task 08:32:09 ‘prd-ubuntu18.04-docker-arm64-4c-16g-330’ is offline [Pipeline] echo 08:32:13 ========================================================= 08:32:13 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 08:32:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:32:14 + 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 . 08:32:15 Sending build context to Docker daemon 329.6MB 08:32:15 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 08:32:15 Step 2/6 : FROM ${BASE} 08:32:15 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 08:32:15 540db60ca938: Pulling fs layer 08:32:15 adcc1eea9eea: Pulling fs layer 08:32:15 4c4ab2625f07: Pulling fs layer 08:32:15 0510c868ecb4: Pulling fs layer 08:32:15 afea3b2eda06: Pulling fs layer 08:32:15 7809a108b3ef: Pulling fs layer 08:32:15 f706445af74f: Pulling fs layer 08:32:15 0510c868ecb4: Waiting 08:32:15 afea3b2eda06: Waiting 08:32:15 7809a108b3ef: Waiting 08:32:15 f706445af74f: Waiting 08:32:15 4c4ab2625f07: Verifying Checksum 08:32:15 4c4ab2625f07: Download complete 08:32:15 adcc1eea9eea: Verifying Checksum 08:32:15 adcc1eea9eea: Download complete 08:32:15 afea3b2eda06: Verifying Checksum 08:32:15 afea3b2eda06: Download complete 08:32:15 7809a108b3ef: Verifying Checksum 08:32:15 7809a108b3ef: Download complete 08:32:15 540db60ca938: Verifying Checksum 08:32:15 540db60ca938: Download complete 08:32:15 540db60ca938: Pull complete 08:32:16 adcc1eea9eea: Pull complete 08:32:16 4c4ab2625f07: Pull complete 08:32:17 f706445af74f: Verifying Checksum 08:32:17 f706445af74f: Download complete 08:32:17 0510c868ecb4: Verifying Checksum 08:32:17 0510c868ecb4: Download complete 08:32:22 0510c868ecb4: Pull complete 08:32:22 afea3b2eda06: Pull complete 08:32:22 7809a108b3ef: Pull complete 08:32:24 f706445af74f: Pull complete 08:32:24 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 08:32:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 08:32:24 ---> b068be0155e3 08:32:24 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 08:32:26 ---> Running in e70ec16ed2f3 08:32:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 08:32:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 08:32:27 (1/12) Installing libmagic (5.39-r0) 08:32:28 (2/12) Installing file (5.39-r0) 08:32:28 (3/12) Installing libc-dev (0.7.2-r3) 08:32:28 (4/12) Installing g++ (10.2.1_pre1-r3) 08:32:33 (5/12) Installing fortify-headers (1.1-r0) 08:32:33 (6/12) Installing patch (2.7.6-r6) 08:32:33 (7/12) Installing build-base (0.5-r2) 08:32:33 (8/12) Installing libsodium (1.0.18-r0) 08:32:33 (9/12) Installing pkgconf (1.7.3-r0) 08:32:33 (10/12) Installing libsodium-dev (1.0.18-r0) 08:32:33 (11/12) Installing libzmq (4.3.3-r1) 08:32:33 (12/12) Installing zeromq-dev (4.3.3-r1) 08:32:33 Executing busybox-1.32.1-r6.trigger 08:32:33 OK: 219 MiB in 52 packages 08:32:35 Removing intermediate container e70ec16ed2f3 08:32:35 ---> c2b1a7af868e 08:32:35 Step 4/6 : WORKDIR /edgex-go 08:32:35 ---> Running in 3d055b4414cb 08:32:35 Removing intermediate container 3d055b4414cb 08:32:35 ---> b4bcbb0e5cae 08:32:35 Step 5/6 : COPY go.mod . 08:32:35 ---> c7b999252518 08:32:35 Step 6/6 : RUN go mod download 08:32:35 ---> Running in 4c891d74619d 08:32:48 Removing intermediate container 4c891d74619d 08:32:48 ---> 809d5bcf0e94 08:32:48 Successfully built 809d5bcf0e94 08:32:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:32:48 + docker inspect -f . ci-base-image-x86_64 08:32:48 . [Pipeline] withDockerContainer 08:32:48 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 08:32:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:32:49 $ docker top c73c4c2e21fd77ce4417a8955c34a01fb8c5e2793f3f386ec69d9f68c9b200c4 -eo pid,comm [Pipeline] { [Pipeline] sh 08:32:49 + go version 08:32:49 go version go1.16.3 linux/amd64 [Pipeline] } 08:32:49 $ docker stop --time=1 c73c4c2e21fd77ce4417a8955c34a01fb8c5e2793f3f386ec69d9f68c9b200c4 08:32:50 $ docker rm -f c73c4c2e21fd77ce4417a8955c34a01fb8c5e2793f3f386ec69d9f68c9b200c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:32:51 + docker inspect -f . ci-base-image-x86_64 08:32:51 . [Pipeline] withDockerContainer 08:32:51 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 08:32:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:32:52 $ docker top bc5a541c6077e49675ade7149ba510dd72146454c94d5b42eee1e53f3abd955b -eo pid,comm [Pipeline] { [Pipeline] echo 08:32:52 ========================================================= 08:32:52 [edgeXBuildGoParallel] Running Tests and Build... 08:32:52 ========================================================= [Pipeline] sh 08:32:52 + go mod tidy [Pipeline] sh 08:32:53 + make test 08:32:53 go mod tidy 08:32:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:33:00 ? github.com/edgexfoundry/edgex-go [no test files] 08:33:18 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:33:21 # github.com/edgexfoundry/edgex-go/internal/core/data 08:33:21 internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute 08:33:31 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.057s coverage: 28.7% of statements 08:33:32 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.060s coverage: 100.0% of statements 08:33:32 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 08:33:32 internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute 08:33:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.064s coverage: 50.5% of statements 08:33:32 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 08:33:32 ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.048s coverage: 78.9% of statements 08:33:34 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.049s coverage: 81.2% of statements 08:33:34 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 0.224s coverage: 95.1% of statements 08:33:34 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.055s coverage: 60.0% of statements 08:33:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.051s coverage: 0.8% of statements 08:33:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.041s coverage: 58.8% of statements 08:33:36 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.079s coverage: 22.0% of statements 08:33:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.060s coverage: 47.1% of statements 08:33:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.061s coverage: 79.5% of statements 08:33:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.052s coverage: 94.1% of statements 08:33:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.083s coverage: 96.3% of statements 08:33:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.043s coverage: 87.5% of statements 08:33:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.067s coverage: 94.4% of statements 08:33:52 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.054s coverage: 44.8% of statements 08:33:56 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 17.206s coverage: 81.8% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.095s coverage: 92.9% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.062s coverage: 87.2% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.054s coverage: 100.0% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.053s coverage: 58.8% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.054s coverage: 80.0% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.065s coverage: 87.2% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.066s coverage: 85.4% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.080s coverage: 91.2% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.132s coverage: 64.4% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.045s coverage: 100.0% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.042s coverage: 91.3% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.025s coverage: 100.0% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.029s coverage: 73.7% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.027s coverage: 100.0% of statements 08:34:14 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.178s coverage: 66.9% of statements 08:34:15 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.148s coverage: 43.6% of statements 08:34:15 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.061s coverage: 89.5% of statements 08:34:15 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.053s coverage: 84.8% of statements 08:34:22 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.061s coverage: 19.3% of statements 08:34:22 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.136s coverage: 91.9% of statements 08:34:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.053s coverage: 62.7% of statements 08:34:22 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.094s coverage: 97.6% of statements 08:34:22 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.055s coverage: 28.9% of statements 08:34:22 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.044s coverage: 100.0% of statements 08:34:22 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.033s coverage: 95.4% of statements 08:34:22 make: *** [Makefile:98: test] Error 2 [Pipeline] } 08:34:22 $ docker stop --time=1 bc5a541c6077e49675ade7149ba510dd72146454c94d5b42eee1e53f3abd955b 08:34:24 $ docker rm -f bc5a541c6077e49675ade7149ba510dd72146454c94d5b42eee1e53f3abd955b [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] } 08:34:25 Failed in branch amd64 08:34:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-332 in /w/workspace/edgexfoundry_edgex-go_PR-3577 [Pipeline] { [Pipeline] ws 08:34:52 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 08:34:52 The recommended git tool is: git 08:34:58 using credential edgex-jenkins-ssh 08:34:58 Cloning the remote Git repository 08:34:58 Cloning repository git@github.com:edgexfoundry/edgex-go.git 08:34:58 > git init /w/workspace/edgex-go/2 # timeout=10 08:34:58 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:34:58 > git --version # timeout=10 08:34:58 > git --version # 'git version 2.17.1' 08:34:58 using GIT_SSH to set credentials SSH Credentials for GitHub 08:34:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:14 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:35:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:35:15 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 08:35:15 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 08:35:15 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3577/head:refs/remotes/origin/PR-3577 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:35:15 Merging remotes/origin/master commit 4428e4d1b6445bf1b64e4b4ca5eff36de518c634 into PR head commit f72980ee2e3b65de4e42a8ac343d76ba1da632ca 08:35:16 Merge succeeded, producing f7b09103b9710c31def593220aa64d4e1f28818e 08:35:16 Checking out Revision f7b09103b9710c31def593220aa64d4e1f28818e (PR-3577) 08:35:16 > git config core.sparsecheckout # timeout=10 08:35:16 > git checkout -f f72980ee2e3b65de4e42a8ac343d76ba1da632ca # timeout=10 08:35:16 > git remote # timeout=10 08:35:16 > git config --get remote.origin.url # timeout=10 08:35:16 using GIT_SSH to set credentials SSH Credentials for GitHub 08:35:16 > git merge 4428e4d1b6445bf1b64e4b4ca5eff36de518c634 # timeout=10 08:35:16 > git rev-parse HEAD^{commit} # timeout=10 08:35:16 > git config core.sparsecheckout # timeout=10 08:35:16 > git checkout -f f7b09103b9710c31def593220aa64d4e1f28818e # timeout=10 08:35:21 Commit message: "Merge commit '4428e4d1b6445bf1b64e4b4ca5eff36de518c634' into HEAD" 08:35:21 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:22 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 08:35:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:35:23 + + sudo service dockertrue restart 08:35:23 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:35:41 provisioning config files... 08:35:42 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8314509213106483873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:35:42 ---> docker-login.sh 08:35:42 nexus3.edgexfoundry.org:10001 08:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:43 Configure a credential helper to remove this warning. See 08:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:43 08:35:43 Login Succeeded 08:35:43 nexus3.edgexfoundry.org:10002 08:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:44 Configure a credential helper to remove this warning. See 08:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:44 08:35:44 Login Succeeded 08:35:44 nexus3.edgexfoundry.org:10003 08:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:44 Configure a credential helper to remove this warning. See 08:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:44 08:35:44 Login Succeeded 08:35:44 nexus3.edgexfoundry.org:10004 08:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:45 Configure a credential helper to remove this warning. See 08:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:45 08:35:45 Login Succeeded 08:35:45 docker.io 08:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:35:45 Configure a credential helper to remove this warning. See 08:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:35:45 08:35:45 Login Succeeded 08:35:45 ---> docker-login.sh ends [Pipeline] } 08:35:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:35:46 ========================================================= 08:35:46 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 08:35:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:35:46 + 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 . 08:35:49 Sending build context to Docker daemon 166.4MB 08:35:49 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 08:35:49 Step 2/6 : FROM ${BASE} 08:35:49 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:35:49 595b0fe564bb: Pulling fs layer 08:35:49 3088b5b3c5c0: Pulling fs layer 08:35:49 5b7225fbf94c: Pulling fs layer 08:35:49 ba82ee9f976e: Pulling fs layer 08:35:49 506bd15cee9f: Pulling fs layer 08:35:49 75a0a4a0db45: Pulling fs layer 08:35:49 618dc40b7e24: Pulling fs layer 08:35:49 506bd15cee9f: Waiting 08:35:49 ba82ee9f976e: Waiting 08:35:49 75a0a4a0db45: Waiting 08:35:49 618dc40b7e24: Waiting 08:35:49 5b7225fbf94c: Verifying Checksum 08:35:49 5b7225fbf94c: Download complete 08:35:49 3088b5b3c5c0: Verifying Checksum 08:35:49 3088b5b3c5c0: Download complete 08:35:49 506bd15cee9f: Verifying Checksum 08:35:49 506bd15cee9f: Download complete 08:35:49 75a0a4a0db45: Verifying Checksum 08:35:49 75a0a4a0db45: Download complete 08:35:49 595b0fe564bb: Verifying Checksum 08:35:49 595b0fe564bb: Download complete 08:35:50 595b0fe564bb: Pull complete 08:35:51 3088b5b3c5c0: Pull complete 08:35:51 5b7225fbf94c: Pull complete 08:35:51 618dc40b7e24: Verifying Checksum 08:35:51 618dc40b7e24: Download complete 08:35:52 ba82ee9f976e: Verifying Checksum 08:35:52 ba82ee9f976e: Download complete 08:36:02 ba82ee9f976e: Pull complete 08:36:03 506bd15cee9f: Pull complete 08:36:03 75a0a4a0db45: Pull complete 08:36:06 618dc40b7e24: Pull complete 08:36:06 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 08:36:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 08:36:06 ---> a36622ca3599 08:36:06 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 08:36:10 ---> Running in 544a80271ef8 08:36:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 08:36:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 08:36:13 (1/12) Installing libmagic (5.39-r0) 08:36:13 (2/12) Installing file (5.39-r0) 08:36:13 (3/12) Installing libc-dev (0.7.2-r3) 08:36:13 (4/12) Installing g++ (10.2.1_pre1-r3) 08:36:18 (5/12) Installing fortify-headers (1.1-r0) 08:36:18 (6/12) Installing patch (2.7.6-r6) 08:36:18 (7/12) Installing build-base (0.5-r2) 08:36:18 (8/12) Installing libsodium (1.0.18-r0) 08:36:18 (9/12) Installing pkgconf (1.7.3-r0) 08:36:18 (10/12) Installing libsodium-dev (1.0.18-r0) 08:36:19 (11/12) Installing libzmq (4.3.3-r1) 08:36:19 (12/12) Installing zeromq-dev (4.3.3-r1) 08:36:19 Executing busybox-1.32.1-r6.trigger 08:36:19 OK: 218 MiB in 52 packages 08:36:23 Removing intermediate container 544a80271ef8 08:36:23 ---> 07a9bfec2d2f 08:36:23 Step 4/6 : WORKDIR /edgex-go 08:36:23 ---> Running in 26835b3e57fd 08:36:24 Removing intermediate container 26835b3e57fd 08:36:24 ---> f9f2eb7a039d 08:36:24 Step 5/6 : COPY go.mod . 08:36:24 ---> 0e1236226c6a 08:36:24 Step 6/6 : RUN go mod download 08:36:25 ---> Running in 5cfa30092fce 08:36:51 Removing intermediate container 5cfa30092fce 08:36:51 ---> 59c8d969b127 08:36:51 Successfully built 59c8d969b127 08:36:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:36:52 + docker inspect -f . ci-base-image-arm64 08:36:52 . [Pipeline] withDockerContainer 08:36:52 prd-ubuntu18.04-docker-arm64-4c-16g-332 does not seem to be running inside a container 08:36:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:36:54 $ docker top 1572fe0d4185b0b9ae2aafb5b6d37b2e9e6fb0ada23c8df6336d916915a76809 -eo pid,comm [Pipeline] { [Pipeline] sh 08:36:55 + go version 08:36:55 go version go1.16.5 linux/arm64 [Pipeline] } 08:36:55 $ docker stop --time=1 1572fe0d4185b0b9ae2aafb5b6d37b2e9e6fb0ada23c8df6336d916915a76809 08:36:57 $ docker rm -f 1572fe0d4185b0b9ae2aafb5b6d37b2e9e6fb0ada23c8df6336d916915a76809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:36:58 + docker inspect -f . ci-base-image-arm64 08:36:58 . [Pipeline] withDockerContainer 08:36:58 prd-ubuntu18.04-docker-arm64-4c-16g-332 does not seem to be running inside a container 08:36:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:37:00 $ docker top e5be7d71137fc19267a82c26653c9af011d0ad10c1b56ae13427fdd11d3efc3a -eo pid,comm [Pipeline] { [Pipeline] echo 08:37:01 ========================================================= 08:37:01 [edgeXBuildGoParallel] Running Tests and Build... 08:37:01 ========================================================= [Pipeline] sh 08:37:01 + go mod tidy [Pipeline] sh 08:37:02 + make test 08:37:02 go mod tidy 08:37:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 08:37:30 ? github.com/edgexfoundry/edgex-go [no test files] 08:38:38 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 08:38:38 # github.com/edgexfoundry/edgex-go/internal/core/data 08:38:38 internal/core/data/router.go:50:15: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute 08:39:10 # github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/controller/http.test] 08:39:10 internal/core/data/controller/http/reading_test.go:386:48: undefined: "github.com/edgexfoundry/go-mod-core-contracts/v2/common".ApiReadingByResourceNameAndTimeRangeRoute 08:39:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/application 0.193s coverage: 28.7% of statements 08:39:10 ok github.com/edgexfoundry/edgex-go/internal/core/command/controller/http 0.313s coverage: 100.0% of statements 08:39:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/application 0.329s coverage: 50.5% of statements 08:39:10 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/controller/http [build failed] 08:39:10 ok github.com/edgexfoundry/edgex-go/internal/core/data/io 0.225s coverage: 78.9% of statements 08:39:15 ok github.com/edgexfoundry/edgex-go/internal/core/data/messaging 1.230s coverage: 81.2% of statements 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/controller/http 1.602s coverage: 95.1% of statements 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/controller/http 0.196s coverage: 60.0% of statements 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/infrastructure/redis 0.425s coverage: 0.8% of statements 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.173s coverage: 58.8% of statements 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/utils 0.184s coverage: 22.0% of statements 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.196s coverage: 47.1% of statements 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.250s coverage: 79.5% of statements 08:39:20 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.228s coverage: 94.1% of statements 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.229s coverage: 96.3% of statements 08:39:22 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.183s coverage: 87.5% of statements 08:39:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.298s coverage: 94.4% of statements 08:39:35 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.194s coverage: 44.8% of statements 08:39:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.581s coverage: 81.8% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.253s coverage: 92.9% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.054s coverage: 65.1% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.176s coverage: 87.2% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.159s coverage: 100.0% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.202s coverage: 58.8% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.169s coverage: 80.0% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.248s coverage: 87.2% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.240s coverage: 85.4% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.301s coverage: 91.2% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.815s coverage: 64.4% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.165s coverage: 100.0% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.083s coverage: 91.3% of statements 08:39:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.057s coverage: 100.0% of statements 08:39:49 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.064s coverage: 73.7% of statements 08:39:49 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.093s coverage: 100.0% of statements 08:39:54 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 1.202s coverage: 66.9% of statements 08:39:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.749s coverage: 43.6% of statements 08:39:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.225s coverage: 89.5% of statements 08:39:55 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.220s coverage: 84.8% of statements 08:40:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/application 6.278s coverage: 19.3% of statements 08:40:03 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/controller/http 0.568s coverage: 91.9% of statements 08:40:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/application/scheduler 0.337s coverage: 62.7% of statements 08:40:03 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/controller/http 0.489s coverage: 97.6% of statements 08:40:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/application/direct 0.184s coverage: 28.9% of statements 08:40:03 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.167s coverage: 100.0% of statements 08:40:03 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.077s coverage: 95.4% of statements 08:40:04 make: *** [Makefile:98: test] Error 2 [Pipeline] } 08:40:04 $ docker stop --time=1 e5be7d71137fc19267a82c26653c9af011d0ad10c1b56ae13427fdd11d3efc3a 08:40:06 $ docker rm -f e5be7d71137fc19267a82c26653c9af011d0ad10c1b56ae13427fdd11d3efc3a [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 08:40:09 ---> job-cost.sh 08:40:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-qUsS 08:41:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 08:43:12 lf-activate-venv(): INFO: Adding /tmp/venv-qUsS/bin to PATH 08:43:12 INFO: No Stack... 08:43:12 INFO: Retrieving Pricing Info for: v2-standard-4 08:43:12 INFO: Archiving Costs [Pipeline] sh 08:43:12 + cut -d, -f6 08:43:12 + cat /w/workspace/edgex-go/2/archives/cost.csv [Pipeline] lock 08:43:12 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3577-2-stack-cost] 08:43:12 Resource [jenkins-edgexfoundry-edgex-go-PR-3577-2-stack-cost] did not exist. Created. 08:43:12 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3577-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:43:13 + echo total: 0.18000000715255737 [Pipeline] stash 08:43:14 Stashed 1 file(s) [Pipeline] } 08:43:14 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3577-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:43:14 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 08:43:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:43:17 ---> package-listing.sh 08:43:17 ++ facter osfamily 08:43:17 ++ tr '[:upper:]' '[:lower:]' 08:43:18 + OS_FAMILY=redhat 08:43:18 + workspace=/w/workspace/edgex-go/2 08:43:18 + START_PACKAGES=/tmp/packages_start.txt 08:43:18 + END_PACKAGES=/tmp/packages_end.txt 08:43:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:43:18 + PACKAGES=/tmp/packages_start.txt 08:43:18 + '[' /w/workspace/edgex-go/2 ']' 08:43:18 + PACKAGES=/tmp/packages_end.txt 08:43:18 + case "${OS_FAMILY}" in 08:43:18 + sort 08:43:18 + rpm -qa 08:43:18 + '[' -f /tmp/packages_start.txt ']' 08:43:18 + '[' -f /tmp/packages_end.txt ']' 08:43:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:43:18 + '[' /w/workspace/edgex-go/2 ']' 08:43:18 + mkdir -p /w/workspace/edgex-go/2/archives/ 08:43:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 08:43:18 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:43:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:43:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:43:19 08:43:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:43:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:43:20 alpine: Pulling from edgex-lftools-log-publisher 08:43:20 df20fa9351a1: Pulling fs layer 08:43:20 36b3adc4ff6f: Pulling fs layer 08:43:20 8ad3a11d3b57: Pulling fs layer 08:43:20 46f8f816bc3b: Pulling fs layer 08:43:20 93b61091891f: Pulling fs layer 08:43:20 93b9cdb0e59b: Pulling fs layer 08:43:20 5e14af77c1be: Pulling fs layer 08:43:20 01666e4c0597: Pulling fs layer 08:43:20 aa168da1d23b: Pulling fs layer 08:43:20 93b9cdb0e59b: Waiting 08:43:20 5e14af77c1be: Waiting 08:43:20 01666e4c0597: Waiting 08:43:20 aa168da1d23b: Waiting 08:43:20 46f8f816bc3b: Waiting 08:43:20 93b61091891f: Waiting 08:43:20 36b3adc4ff6f: Verifying Checksum 08:43:20 36b3adc4ff6f: Download complete 08:43:20 46f8f816bc3b: Verifying Checksum 08:43:20 46f8f816bc3b: Download complete 08:43:20 df20fa9351a1: Verifying Checksum 08:43:20 93b9cdb0e59b: Verifying Checksum 08:43:20 93b9cdb0e59b: Download complete 08:43:20 93b61091891f: Verifying Checksum 08:43:20 93b61091891f: Download complete 08:43:20 01666e4c0597: Verifying Checksum 08:43:20 01666e4c0597: Download complete 08:43:20 5e14af77c1be: Verifying Checksum 08:43:20 5e14af77c1be: Download complete 08:43:20 df20fa9351a1: Pull complete 08:43:20 36b3adc4ff6f: Pull complete 08:43:20 8ad3a11d3b57: Verifying Checksum 08:43:20 8ad3a11d3b57: Download complete 08:43:20 8ad3a11d3b57: Pull complete 08:43:21 46f8f816bc3b: Pull complete 08:43:21 93b61091891f: Pull complete 08:43:21 93b9cdb0e59b: Pull complete 08:43:21 5e14af77c1be: Pull complete 08:43:21 01666e4c0597: Pull complete 08:43:22 aa168da1d23b: Verifying Checksum 08:43:22 aa168da1d23b: Download complete 08:43:26 aa168da1d23b: Pull complete 08:43:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:43:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:43:26 prd-centos7-docker-4c-2g-329 does not seem to be running inside a container 08:43:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:43:29 $ docker top 9284d0237f9492db1ee0f49d9600156c253c5f386c429057792056040fbaaa73 -eo pid,comm [Pipeline] { [Pipeline] sh 08:43:29 + touch /tmp/pre-build-complete [Pipeline] sh 08:43:30 + mkdir -p /var/log/sa [Pipeline] sh 08:43:30 + ls /var/log/sa-host 08:43:30 + sadf -c /var/log/sa-host/sa05 08:43:30 file_magic: OK 08:43:30 HZ: Using current value: 100 08:43:30 file_header: OK 08:43:30 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 08:43:30 Statistics: 08:43:30 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:43:30 File successfully converted to sysstat format version 12.2.1 08:43:30 + sadf -c /var/log/sa-host/sa19 08:43:30 file_magic: OK 08:43:30 HZ: Using current value: 100 08:43:30 file_header: OK 08:43:30 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 08:43:30 Statistics: 08:43:30 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... 08:43:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:43:31 provisioning config files... 08:43:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config3005209762146143471tmp [Pipeline] { [Pipeline] echo 08:43:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:43:31 ---> create-netrc.sh [Pipeline] } 08:43:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:43:32 ---> python-tools-install.sh [Pipeline] echo 08:43:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:43:32 ---> sudo-logs.sh 08:43:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:43:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:43:33 ---> job-cost.sh 08:43:33 lf-activate-venv: SKIPPING 08:43:33 DEBUG: total: 0.18000000715255737 08:43:33 INFO: Retrieving Stack Cost... 08:43:34 INFO: Retrieving Pricing Info for: v3-standard-2 08:43:34 INFO: Archiving Costs [Pipeline] echo 08:43:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:43:34 ---> logs-deploy.sh 08:43:34 lf-activate-venv: SKIPPING 08:43:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3577/2 08:43:34 INFO: archiving workspace using pattern(s): 08:43:35 Archives upload complete. 08:43:35 INFO: archiving logs to Nexus