Pull request #3209 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f449589684537117749158b8f5baa0c9171f70e9+f0a5054a805e8aad79e6fefc9c847f3d46b91de1 (a6c8dd7f660b1baec1a294ea6133064dd096f3a9) 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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-3209/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e395d696b4e6122b6a4fdab5d2b3787aeaccfdce # timeout=10 Commit message: "Merge pull request #320 from ernestojeda/fix-email" > 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-3209/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 e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 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.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-28174 in /w/workspace/edgexfoundry_edgex-go_PR-3209 [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 Merging remotes/origin/master commit f0a5054a805e8aad79e6fefc9c847f3d46b91de1 into PR head commit f449589684537117749158b8f5baa0c9171f70e9 Merge succeeded, producing f449589684537117749158b8f5baa0c9171f70e9 Checking out Revision f449589684537117749158b8f5baa0c9171f70e9 (PR-3209) > 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/3209/head:refs/remotes/origin/PR-3209 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f449589684537117749158b8f5baa0c9171f70e9 # 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 f0a5054a805e8aad79e6fefc9c847f3d46b91de1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f449589684537117749158b8f5baa0c9171f70e9 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:10 ========================================================= 05:50:10 EdgeX Global Pipelines Version Info 05:50:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:12 ------------------- 05:50:12 stable info: 05:50:12 ------------------- 05:50:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:12 Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 05:50:12 Message: update stable to v1.0.183 05:50:12 ------------------- 05:50:12 experimental info: 05:50:12 ------------------- 05:50:12 Commited By: **** collab-it+edgex@linuxfoundation.org 05:50:12 Commit SHA: e395d696b4e6122b6a4fdab5d2b3787aeaccfdce 05:50:12 Message: update experimental to v1.0.183 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 05:50:13 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 05:50:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:50:14 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:50:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 05:50:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 05:50:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 05:50:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:50:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:15 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:50:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:50:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:50:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:50:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3209 [Pipeline] echo 05:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3209 [Pipeline] echo 05:50:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3209 [Pipeline] echo 05:50:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f449589684537117749158b8f5baa0c9171f70e9 [Pipeline] echo 05:50:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f449589 [Pipeline] echo 05:50:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:50:17 provisioning config files... 05:50:17 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6644305435821783411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:18 ---> docker-login.sh 05:50:18 nexus3.edgexfoundry.org:10001 05:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:18 Configure a credential helper to remove this warning. See 05:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:18 05:50:18 Login Succeeded 05:50:18 nexus3.edgexfoundry.org:10002 05:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:18 Configure a credential helper to remove this warning. See 05:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:18 05:50:18 Login Succeeded 05:50:18 nexus3.edgexfoundry.org:10003 05:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:18 Configure a credential helper to remove this warning. See 05:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:18 05:50:18 Login Succeeded 05:50:18 nexus3.edgexfoundry.org:10004 05:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:19 Configure a credential helper to remove this warning. See 05:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:19 05:50:19 Login Succeeded 05:50:19 docker.io 05:50:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:19 Configure a credential helper to remove this warning. See 05:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:19 05:50:19 Login Succeeded 05:50:19 ---> docker-login.sh ends [Pipeline] } 05:50:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:20 ++ 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 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/core-command/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo core-command,cmd/core-command/Dockerfile 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/core-data/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo core-data,cmd/core-data/Dockerfile 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/core-metadata/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo core-metadata,cmd/core-metadata/Dockerfile 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/security-bootstrapper/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/security-proxy-setup/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/security-secretstore-setup/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/support-notifications/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo support-notifications,cmd/support-notifications/Dockerfile 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/support-scheduler/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo support-scheduler,cmd/support-scheduler/Dockerfile 05:50:20 + for file in '`ls cmd/**/Dockerfile`' 05:50:20 ++ dirname cmd/sys-mgmt-agent/Dockerfile 05:50:20 ++ cut -d/ -f2 05:50:20 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 05:50:20 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 05:50:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:21 05:50:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:50:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:21 latest: Pulling from edgex-devops/git-semver 05:50:21 31603596830f: Pulling fs layer 05:50:21 2a8b12db71e7: Pulling fs layer 05:50:21 6ca5941a6612: Pulling fs layer 05:50:21 ecc8261a40a4: Pulling fs layer 05:50:21 ecc8261a40a4: Waiting 05:50:21 2a8b12db71e7: Verifying Checksum 05:50:21 2a8b12db71e7: Download complete 05:50:22 31603596830f: Verifying Checksum 05:50:22 31603596830f: Download complete 05:50:22 6ca5941a6612: Verifying Checksum 05:50:22 6ca5941a6612: Download complete 05:50:22 ecc8261a40a4: Download complete 05:50:22 31603596830f: Pull complete 05:50:22 2a8b12db71e7: Pull complete 05:50:23 6ca5941a6612: Pull complete 05:50:23 ecc8261a40a4: Pull complete 05:50:23 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:50:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:23 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:50:23 prd-centos7-docker-4c-2g-28174 does not seem to be running inside a container 05:50:23 $ 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 05:50:26 $ docker top f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:26 [ssh-agent] Looking for ssh-agent implementation... 05:50:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:27 $ docker exec f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 ssh-agent 05:50:27 SSH_AUTH_SOCK=/tmp/ssh-NhVusvZ4VCcv/agent.11 05:50:27 SSH_AGENT_PID=16 05:50:27 Running ssh-add (command line suppressed) 05:50:27 Identity added: /w/workspace/edgex-go/1@tmp/private_key_6309061411355169767.key (/w/workspace/edgex-go/1@tmp/private_key_6309061411355169767.key) 05:50:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:27 + git tag --points-at HEAD [Pipeline] } 05:50:27 $ docker exec --env ******** --env ******** f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 ssh-agent -k 05:50:28 unset SSH_AUTH_SOCK; 05:50:28 unset SSH_AGENT_PID; 05:50:28 echo Agent pid 16 killed; 05:50:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:50:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:28 [ssh-agent] Looking for ssh-agent implementation... 05:50:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:28 $ docker exec f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 ssh-agent 05:50:28 SSH_AUTH_SOCK=/tmp/ssh-4DxGzOexieNQ/agent.45 05:50:28 SSH_AGENT_PID=50 05:50:28 Running ssh-add (command line suppressed) 05:50:28 Identity added: /w/workspace/edgex-go/1@tmp/private_key_2193025921197905008.key (/w/workspace/edgex-go/1@tmp/private_key_2193025921197905008.key) 05:50:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:29 + git semver init 05:50:29 # -> Open(): unable to determine branch for HEAD 05:50:29 # $GIT_DIR = /w/workspace/edgex-go/1/.git 05:50:29 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 05:50:29 # $SEMVER_REMOTE_NAME = origin 05:50:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:50:29 # $SEMVER_USER_NAME = edgex-jenkins 05:50:29 # $SEMVER_BRANCH = PR-3209 05:50:29 # $SEMVER_TEMP = /tmp/semver-189880752 05:50:29 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 05:51:01 # '/tmp/semver-189880752' -> '/w/workspace/edgex-go/1/.semver' 05:51:01 # -> Force: false 05:51:01 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 05:51:01 $ docker exec --env ******** --env ******** f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 ssh-agent -k 05:51:01 unset SSH_AUTH_SOCK; 05:51:01 unset SSH_AGENT_PID; 05:51:01 echo Agent pid 50 killed; 05:51:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:02 + git semver [Pipeline] } 05:51:02 $ docker stop --time=1 f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 05:51:04 $ docker rm -f f43bca477f9c961b3c66e5d91a9b2a24b5e69782fc51360cc2d3662dc26b4566 [Pipeline] // withDockerContainer [Pipeline] sh 05:51:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:51:05 Stashed 1 file(s) [Pipeline] echo 05:51:05 [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 05:51:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:51:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:51:07 + sudo service docker restart 05:51:07 + true 05:51:07 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 05:51:07 ========================================================= 05:51:07 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:51:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:51:08 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 05:51:11 Sending build context to Docker daemon 328.1MB 05:51:11 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 05:51:11 Step 2/6 : FROM ${BASE} 05:51:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:51:11 188c0c94c7c5: Pulling fs layer 05:51:11 0ef7d3d256c8: Pulling fs layer 05:51:11 de9db76c5a1d: Pulling fs layer 05:51:11 bca2f99d35d6: Pulling fs layer 05:51:11 93359f2a8cfa: Pulling fs layer 05:51:11 7c6f9722023f: Pulling fs layer 05:51:11 a35cf1a2eb13: Pulling fs layer 05:51:11 93359f2a8cfa: Waiting 05:51:11 a35cf1a2eb13: Waiting 05:51:11 bca2f99d35d6: Waiting 05:51:11 7c6f9722023f: Waiting 05:51:11 0ef7d3d256c8: Download complete 05:51:11 de9db76c5a1d: Verifying Checksum 05:51:11 de9db76c5a1d: Download complete 05:51:11 93359f2a8cfa: Verifying Checksum 05:51:11 93359f2a8cfa: Download complete 05:51:11 188c0c94c7c5: Download complete 05:51:11 7c6f9722023f: Verifying Checksum 05:51:11 7c6f9722023f: Download complete 05:51:12 188c0c94c7c5: Pull complete 05:51:12 0ef7d3d256c8: Pull complete 05:51:12 de9db76c5a1d: Pull complete 05:51:15 bca2f99d35d6: Verifying Checksum 05:51:15 bca2f99d35d6: Download complete 05:51:15 a35cf1a2eb13: Verifying Checksum 05:51:15 a35cf1a2eb13: Download complete 05:51:20 bca2f99d35d6: Pull complete 05:51:20 93359f2a8cfa: Pull complete 05:51:20 7c6f9722023f: Pull complete 05:51:20 Still waiting to schedule task 05:51:20 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 05:51:25 a35cf1a2eb13: Pull complete 05:51:25 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:51:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:51:25 ---> a62c8e92a672 05:51:25 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 05:51:25 ---> Running in 2050abb11754 05:51:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:28 (1/12) Installing libmagic (5.38-r0) 05:51:28 (2/12) Installing file (5.38-r0) 05:51:28 (3/12) Installing libc-dev (0.7.2-r3) 05:51:28 (4/12) Installing g++ (9.3.0-r2) 05:51:50 (5/12) Installing fortify-headers (1.1-r0) 05:51:50 (6/12) Installing patch (2.7.6-r6) 05:51:50 (7/12) Installing build-base (0.5-r2) 05:51:50 (8/12) Installing libsodium (1.0.18-r0) 05:51:50 (9/12) Installing pkgconf (1.7.2-r0) 05:51:50 (10/12) Installing libsodium-dev (1.0.18-r0) 05:51:50 (11/12) Installing libzmq (4.3.3-r0) 05:51:51 (12/12) Installing zeromq-dev (4.3.3-r0) 05:51:51 Executing busybox-1.31.1-r19.trigger 05:51:51 OK: 233 MiB in 51 packages 05:51:54 Removing intermediate container 2050abb11754 05:51:54 ---> b27a1dc6628d 05:51:54 Step 4/6 : WORKDIR /edgex-go 05:51:54 ---> Running in 244779ada787 05:51:54 Removing intermediate container 244779ada787 05:51:54 ---> 817a2b13ed83 05:51:54 Step 5/6 : COPY go.mod . 05:51:55 ---> 15ce3849880e 05:51:55 Step 6/6 : RUN go mod download 05:51:55 ---> Running in 8957c1ac212b 05:52:17 Removing intermediate container 8957c1ac212b 05:52:17 ---> 6ab814b4b4c4 05:52:17 Successfully built 6ab814b4b4c4 05:52:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:52:17 + docker inspect -f . ci-base-image-x86_64 05:52:17 . [Pipeline] withDockerContainer 05:52:17 prd-centos7-docker-4c-2g-28174 does not seem to be running inside a container 05:52:17 $ 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 05:52:18 $ docker top f63551ba9bc434f74fa45b6a51cf2f05f47198b381edf66483a9ae2b2728cb94 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:19 + go version 05:52:19 go version go1.15.5 linux/amd64 [Pipeline] } 05:52:19 $ docker stop --time=1 f63551ba9bc434f74fa45b6a51cf2f05f47198b381edf66483a9ae2b2728cb94 05:52:20 $ docker rm -f f63551ba9bc434f74fa45b6a51cf2f05f47198b381edf66483a9ae2b2728cb94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:22 + docker inspect -f . ci-base-image-x86_64 05:52:22 . [Pipeline] withDockerContainer 05:52:22 prd-centos7-docker-4c-2g-28174 does not seem to be running inside a container 05:52:22 $ 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 05:52:22 $ docker top 9b587faf17e453a60f71effd205b994dd5090d9cf0b588699335689b5f0e7230 -eo pid,comm [Pipeline] { [Pipeline] echo 05:52:23 ========================================================= 05:52:23 [edgeXBuildGoParallel] Running Tests and Build... 05:52:23 ========================================================= [Pipeline] sh 05:52:23 + make test 05:52:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:52:33 ? github.com/edgexfoundry/edgex-go [no test files] 05:52:49 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 05:52:53 # github.com/edgexfoundry/edgex-go/internal/core/data/v2 05:52:53 internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute 05:53:01 # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] 05:53:01 internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent 05:53:01 have (string, string) 05:53:01 want (string, string, string) 05:53:01 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 05:53:01 internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute 05:53:02 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.103s coverage: 45.9% of statements 05:53:02 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 05:53:02 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 05:53:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.038s coverage: 100.0% of statements 05:53:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.041s coverage: 100.0% of statements 05:53:04 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.095s coverage: 65.8% of statements 05:53:04 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 05:53:05 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.346s coverage: 28.6% of statements 05:53:05 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.364s coverage: 100.0% of statements 05:53:05 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.040s coverage: 100.0% of statements 05:53:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.107s coverage: 86.7% of statements 05:53:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.114s coverage: 97.5% of statements 05:53:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.063s coverage: 78.3% of statements 05:53:06 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 05:53:06 internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent 05:53:06 internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent 05:53:06 internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent 05:53:06 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 05:53:06 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.033s coverage: 58.8% of statements 05:53:08 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.058s coverage: 0.1% of statements 05:53:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.034s coverage: 45.5% of statements 05:53:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.058s coverage: 79.5% of statements 05:53:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.037s coverage: 94.1% of statements 05:53:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.044s coverage: 96.3% of statements 05:53:08 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.031s coverage: 87.5% of statements 05:53:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.042s coverage: 94.4% of statements 05:53:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.039s coverage: 44.8% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.074s coverage: 92.9% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.038s coverage: 77.8% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.042s coverage: 87.2% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.033s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.043s coverage: 75.5% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.032s coverage: 80.8% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.063s coverage: 87.2% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.044s coverage: 84.6% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.075s coverage: 91.6% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.157s coverage: 62.4% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.032s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.042s coverage: 91.3% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.032s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.032s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.285s coverage: 69.1% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.097s coverage: 38.4% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.045s coverage: 89.5% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.035s coverage: 84.8% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.129s coverage: 47.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.047s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.043s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.119s coverage: 89.4% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.764s coverage: 29.1% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.065s coverage: 99.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.046s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.063s coverage: 94.3% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/system 0.030s coverage: 0.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.033s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.035s coverage: 87.9% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.034s coverage: 100.0% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.034s coverage: 32.1% of statements 05:53:31 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 05:53:31 make: *** [Makefile:94: test] Error 2 [Pipeline] } 05:53:31 $ docker stop --time=1 9b587faf17e453a60f71effd205b994dd5090d9cf0b588699335689b5f0e7230 05:53:33 $ docker rm -f 9b587faf17e453a60f71effd205b994dd5090d9cf0b588699335689b5f0e7230 [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] } 05:53:35 Failed in branch amd64 05:54:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-28177 in /w/workspace/edgexfoundry_edgex-go_PR-3209 [Pipeline] { [Pipeline] ws 05:54:27 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 05:54:32 using credential edgex-jenkins-ssh 05:54:32 Cloning the remote Git repository 05:54:32 Cloning repository git@github.com:edgexfoundry/edgex-go.git 05:54:33 > git init /w/workspace/edgex-go/1 # timeout=10 05:54:33 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 05:54:33 > git --version # timeout=10 05:54:33 > git --version # 'git version 2.17.1' 05:54:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:49 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 05:54:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:50 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 05:54:50 Merging remotes/origin/master commit f0a5054a805e8aad79e6fefc9c847f3d46b91de1 into PR head commit f449589684537117749158b8f5baa0c9171f70e9 05:54:51 Merge succeeded, producing f449589684537117749158b8f5baa0c9171f70e9 05:54:51 Checking out Revision f449589684537117749158b8f5baa0c9171f70e9 (PR-3209) 05:54:50 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 05:54:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3209/head:refs/remotes/origin/PR-3209 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:54:50 > git config core.sparsecheckout # timeout=10 05:54:50 > git checkout -f f449589684537117749158b8f5baa0c9171f70e9 # timeout=10 05:54:51 > git remote # timeout=10 05:54:51 > git config --get remote.origin.url # timeout=10 05:54:51 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:51 > git merge f0a5054a805e8aad79e6fefc9c847f3d46b91de1 # timeout=10 05:54:51 > git rev-parse HEAD^{commit} # timeout=10 05:54:51 > git config core.sparsecheckout # timeout=10 05:54:51 > git checkout -f f449589684537117749158b8f5baa0c9171f70e9 # timeout=10 05:54:55 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:54:55 > git --version # timeout=10 05:54:55 > git --version # 'git version 2.17.1' 05:54:55 fatal: bad object e395d696b4e6122b6a4fdab5d2b3787aeaccfdce [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:57 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:54:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:54:58 + true 05:54:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:55:00 provisioning config files... 05:55:00 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config6520607311233188001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:00 ---> docker-login.sh 05:55:00 nexus3.edgexfoundry.org:10001 05:55:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:02 Configure a credential helper to remove this warning. See 05:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:02 05:55:02 Login Succeeded 05:55:02 nexus3.edgexfoundry.org:10002 05:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:02 Configure a credential helper to remove this warning. See 05:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:02 05:55:02 Login Succeeded 05:55:02 nexus3.edgexfoundry.org:10003 05:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:03 Configure a credential helper to remove this warning. See 05:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:03 05:55:03 Login Succeeded 05:55:03 nexus3.edgexfoundry.org:10004 05:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:03 Configure a credential helper to remove this warning. See 05:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:03 05:55:03 Login Succeeded 05:55:03 docker.io 05:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:04 Configure a credential helper to remove this warning. See 05:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:04 05:55:04 Login Succeeded 05:55:04 ---> docker-login.sh ends [Pipeline] } 05:55:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:05 ========================================================= 05:55:05 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:55:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:55:05 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:55:08 Sending build context to Docker daemon 166.4MB 05:55:08 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 05:55:08 Step 2/6 : FROM ${BASE} 05:55:08 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:55:08 5f621e34cdf4: Pulling fs layer 05:55:08 a4357932f1b6: Pulling fs layer 05:55:08 18c013af1878: Pulling fs layer 05:55:08 00ac8860ef70: Pulling fs layer 05:55:08 63d7cb157983: Pulling fs layer 05:55:08 b116817d02f9: Pulling fs layer 05:55:08 745a02a5169b: Pulling fs layer 05:55:08 63d7cb157983: Waiting 05:55:08 b116817d02f9: Waiting 05:55:08 00ac8860ef70: Waiting 05:55:08 745a02a5169b: Waiting 05:55:08 18c013af1878: Download complete 05:55:08 a4357932f1b6: Download complete 05:55:08 63d7cb157983: Verifying Checksum 05:55:08 63d7cb157983: Download complete 05:55:08 b116817d02f9: Verifying Checksum 05:55:08 b116817d02f9: Download complete 05:55:08 5f621e34cdf4: Verifying Checksum 05:55:08 5f621e34cdf4: Download complete 05:55:09 5f621e34cdf4: Pull complete 05:55:09 a4357932f1b6: Pull complete 05:55:10 18c013af1878: Pull complete 05:55:11 745a02a5169b: Verifying Checksum 05:55:11 745a02a5169b: Download complete 05:55:11 00ac8860ef70: Verifying Checksum 05:55:11 00ac8860ef70: Download complete 05:55:21 00ac8860ef70: Pull complete 05:55:21 63d7cb157983: Pull complete 05:55:22 b116817d02f9: Pull complete 05:55:26 745a02a5169b: Pull complete 05:55:26 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:55:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:55:26 ---> b7e6874047d6 05:55:26 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 05:55:29 ---> Running in 0d710d510b6e 05:55:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:55:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:55:32 (1/12) Installing libmagic (5.38-r0) 05:55:32 (2/12) Installing file (5.38-r0) 05:55:32 (3/12) Installing libc-dev (0.7.2-r3) 05:55:32 (4/12) Installing g++ (9.3.0-r2) 05:55:35 (5/12) Installing fortify-headers (1.1-r0) 05:55:35 (6/12) Installing patch (2.7.6-r6) 05:55:35 (7/12) Installing build-base (0.5-r2) 05:55:35 (8/12) Installing libsodium (1.0.18-r0) 05:55:36 (9/12) Installing pkgconf (1.7.2-r0) 05:55:36 (10/12) Installing libsodium-dev (1.0.18-r0) 05:55:36 (11/12) Installing libzmq (4.3.3-r0) 05:55:36 (12/12) Installing zeromq-dev (4.3.3-r0) 05:55:36 Executing busybox-1.31.1-r19.trigger 05:55:36 OK: 217 MiB in 51 packages 05:55:40 Removing intermediate container 0d710d510b6e 05:55:40 ---> e6ee05a844c8 05:55:40 Step 4/6 : WORKDIR /edgex-go 05:55:40 ---> Running in 8fead4389ec2 05:55:40 Removing intermediate container 8fead4389ec2 05:55:40 ---> 4770bf45e7d1 05:55:40 Step 5/6 : COPY go.mod . 05:55:41 ---> a52206e90f28 05:55:41 Step 6/6 : RUN go mod download 05:55:41 ---> Running in 502fc1b8cae1 05:56:08 Removing intermediate container 502fc1b8cae1 05:56:08 ---> 48cf0e415d36 05:56:08 Successfully built 48cf0e415d36 05:56:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:56:09 + docker inspect -f . ci-base-image-arm64 05:56:09 . [Pipeline] withDockerContainer 05:56:09 prd-ubuntu18.04-docker-arm64-4c-16g-28177 does not seem to be running inside a container 05:56:09 $ 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 05:56:11 $ docker top 6cf88f5b4bcf940a24ee14fc979f6fa50fbc775bbafbce13949fd5b8fa44eba0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:12 + go version 05:56:12 go version go1.15.5 linux/arm64 [Pipeline] } 05:56:12 $ docker stop --time=1 6cf88f5b4bcf940a24ee14fc979f6fa50fbc775bbafbce13949fd5b8fa44eba0 05:56:14 $ docker rm -f 6cf88f5b4bcf940a24ee14fc979f6fa50fbc775bbafbce13949fd5b8fa44eba0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:56:15 + docker inspect -f . ci-base-image-arm64 05:56:15 . [Pipeline] withDockerContainer 05:56:15 prd-ubuntu18.04-docker-arm64-4c-16g-28177 does not seem to be running inside a container 05:56:15 $ 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 05:56:17 $ docker top 0bc6a51ba1bfd74931bc2de3cd3ef136d1ae25d828ee853b693c2aaf0e8f3125 -eo pid,comm [Pipeline] { [Pipeline] echo 05:56:17 ========================================================= 05:56:17 [edgeXBuildGoParallel] Running Tests and Build... 05:56:17 ========================================================= [Pipeline] sh 05:56:18 + make test 05:56:18 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:56:40 ? github.com/edgexfoundry/edgex-go [no test files] 05:57:27 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 05:57:30 # github.com/edgexfoundry/edgex-go/internal/core/data/v2 05:57:30 internal/core/data/v2/router.go:27:15: undefined: v2.ApiEventProfileNameDeviceNameRoute 05:58:02 # github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http.test] 05:58:02 internal/core/command/v2/controller/http/command_test.go:156:24: not enough arguments in call to dtos.NewEvent 05:58:02 have (string, string) 05:58:02 want (string, string, string) 05:58:02 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http.test] 05:58:02 internal/core/data/v2/controller/http/event_test.go:211:49: undefined: v2.ApiEventProfileNameDeviceNameRoute 05:58:02 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.318s coverage: 45.9% of statements 05:58:02 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 05:58:02 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 05:58:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.093s coverage: 100.0% of statements 05:58:02 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.083s coverage: 100.0% of statements 05:58:06 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.272s coverage: 65.8% of statements 05:58:06 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 05:58:11 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http.test] 05:58:11 internal/core/metadata/v2/controller/http/device_test.go:38:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent 05:58:11 internal/core/metadata/v2/controller/http/device_test.go:82:4: unknown field 'Resource' in struct literal of type dtos.AutoEvent 05:58:11 internal/core/metadata/v2/controller/http/provisionwatcher_test.go:42:3: unknown field 'Resource' in struct literal of type dtos.AutoEvent 05:58:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.293s coverage: 28.6% of statements 05:58:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.129s coverage: 100.0% of statements 05:58:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.075s coverage: 100.0% of statements 05:58:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.337s coverage: 86.7% of statements 05:58:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.346s coverage: 97.5% of statements 05:58:13 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.190s coverage: 78.3% of statements 05:58:13 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 05:58:13 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.059s coverage: 58.8% of statements 05:58:18 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.191s coverage: 0.1% of statements 05:58:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.130s coverage: 45.5% of statements 05:58:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.101s coverage: 79.5% of statements 05:58:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.055s coverage: 94.1% of statements 05:58:18 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.143s coverage: 96.3% of statements 05:58:19 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.063s coverage: 87.5% of statements 05:58:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.075s coverage: 94.4% of statements 05:58:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.050s coverage: 44.8% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 24.140s coverage: 92.9% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.053s coverage: 77.8% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.089s coverage: 87.2% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.046s coverage: 100.0% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.078s coverage: 75.5% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.068s coverage: 80.8% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.118s coverage: 87.2% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.150s coverage: 84.6% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.151s coverage: 91.6% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.472s coverage: 62.4% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.071s coverage: 100.0% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.077s coverage: 91.3% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.055s coverage: 100.0% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.074s coverage: 73.7% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.058s coverage: 100.0% of statements 05:58:46 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.809s coverage: 69.1% of statements 05:58:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.396s coverage: 38.4% of statements 05:58:47 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.088s coverage: 89.5% of statements 05:58:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.093s coverage: 84.8% of statements 05:58:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.448s coverage: 47.0% of statements 05:58:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.127s coverage: 100.0% of statements 05:58:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.134s coverage: 100.0% of statements 05:58:53 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http 0.316s coverage: 89.4% of statements 05:59:01 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 2.952s coverage: 29.1% of statements 05:59:01 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.178s coverage: 99.0% of statements 05:59:01 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.107s coverage: 100.0% of statements 05:59:01 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http 0.153s coverage: 94.3% of statements 05:59:01 ok github.com/edgexfoundry/edgex-go/internal/system 0.045s coverage: 0.0% of statements 05:59:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.072s coverage: 100.0% of statements 05:59:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.124s coverage: 87.9% of statements 05:59:01 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.067s coverage: 100.0% of statements 05:59:02 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.047s coverage: 32.1% of statements 05:59:03 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.080s coverage: 100.0% of statements 05:59:03 make: *** [Makefile:94: test] Error 2 [Pipeline] } 05:59:03 $ docker stop --time=1 0bc6a51ba1bfd74931bc2de3cd3ef136d1ae25d828ee853b693c2aaf0e8f3125 05:59:05 $ docker rm -f 0bc6a51ba1bfd74931bc2de3cd3ef136d1ae25d828ee853b693c2aaf0e8f3125 [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 05:59:08 ---> job-cost.sh 05:59:08 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Fypu 05:59:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:02:09 lf-activate-venv(): INFO: Adding /tmp/venv-Fypu/bin to PATH 06:02:09 INFO: No Stack... 06:02:09 INFO: Retrieving Pricing Info for: lf-standard-4 06:02:09 INFO: Archiving Costs [Pipeline] sh 06:02:09 + cat /w/workspace/edgex-go/1/archives/cost.csv 06:02:09 + cut -d, -f6 [Pipeline] lock 06:02:09 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3209-1-stack-cost] 06:02:09 Resource [jenkins-edgexfoundry-edgex-go-PR-3209-1-stack-cost] did not exist. Created. 06:02:09 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:10 + echo total: 0.20999999344348907 [Pipeline] stash 06:02:11 Stashed 1 file(s) [Pipeline] } 06:02:11 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3209-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:02:12 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 06:02:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:02:16 ---> package-listing.sh 06:02:16 ++ facter osfamily 06:02:16 ++ tr '[:upper:]' '[:lower:]' 06:02:16 + OS_FAMILY=redhat 06:02:16 + workspace=/w/workspace/edgex-go/1 06:02:16 + START_PACKAGES=/tmp/packages_start.txt 06:02:16 + END_PACKAGES=/tmp/packages_end.txt 06:02:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:02:16 + PACKAGES=/tmp/packages_start.txt 06:02:16 + '[' /w/workspace/edgex-go/1 ']' 06:02:16 + PACKAGES=/tmp/packages_end.txt 06:02:16 + case "${OS_FAMILY}" in 06:02:16 + rpm -qa 06:02:16 + sort 06:02:21 + '[' -f /tmp/packages_start.txt ']' 06:02:21 + '[' -f /tmp/packages_end.txt ']' 06:02:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:02:21 + '[' /w/workspace/edgex-go/1 ']' 06:02:21 + mkdir -p /w/workspace/edgex-go/1/archives/ 06:02:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 06:02:21 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 06:02:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:02:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:22 06:02:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:02:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:23 alpine: Pulling from edgex-lftools-log-publisher 06:02:23 df20fa9351a1: Pulling fs layer 06:02:23 36b3adc4ff6f: Pulling fs layer 06:02:23 8ad3a11d3b57: Pulling fs layer 06:02:23 46f8f816bc3b: Pulling fs layer 06:02:23 93b61091891f: Pulling fs layer 06:02:23 93b9cdb0e59b: Pulling fs layer 06:02:23 5e14af77c1be: Pulling fs layer 06:02:23 01666e4c0597: Pulling fs layer 06:02:23 aa168da1d23b: Pulling fs layer 06:02:23 93b9cdb0e59b: Waiting 06:02:23 5e14af77c1be: Waiting 06:02:23 01666e4c0597: Waiting 06:02:23 aa168da1d23b: Waiting 06:02:23 46f8f816bc3b: Waiting 06:02:23 36b3adc4ff6f: Verifying Checksum 06:02:23 36b3adc4ff6f: Download complete 06:02:23 df20fa9351a1: Verifying Checksum 06:02:23 df20fa9351a1: Download complete 06:02:23 93b61091891f: Verifying Checksum 06:02:23 93b61091891f: Download complete 06:02:23 93b9cdb0e59b: Verifying Checksum 06:02:23 93b9cdb0e59b: Download complete 06:02:23 5e14af77c1be: Verifying Checksum 06:02:23 5e14af77c1be: Download complete 06:02:23 46f8f816bc3b: Verifying Checksum 06:02:23 46f8f816bc3b: Download complete 06:02:23 01666e4c0597: Verifying Checksum 06:02:23 01666e4c0597: Download complete 06:02:23 8ad3a11d3b57: Verifying Checksum 06:02:23 8ad3a11d3b57: Download complete 06:02:23 df20fa9351a1: Pull complete 06:02:23 36b3adc4ff6f: Pull complete 06:02:24 8ad3a11d3b57: Pull complete 06:02:25 46f8f816bc3b: Pull complete 06:02:25 93b61091891f: Pull complete 06:02:25 93b9cdb0e59b: Pull complete 06:02:25 aa168da1d23b: Verifying Checksum 06:02:25 5e14af77c1be: Pull complete 06:02:25 01666e4c0597: Pull complete 06:02:34 aa168da1d23b: Pull complete 06:02:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:02:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:02:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:02:34 prd-centos7-docker-4c-2g-28174 does not seem to be running inside a container 06:02:34 $ 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 06:02:37 $ docker top 7841e98c948ca904ee2f5a59b1a92554a058459f0e9d9d1113d2e0665506a023 -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:02:38 + mkdir -p /var/log/sa [Pipeline] sh 06:02:38 + ls /var/log/sa-host 06:02:38 + sadf -c /var/log/sa-host/sa02 06:02:38 file_magic: OK 06:02:38 HZ: Using current value: 100 06:02:38 file_header: OK 06:02:38 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 06:02:38 Statistics: 06:02:38 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... 06:02:38 File successfully converted to sysstat format version 12.2.1 06:02:38 + sadf -c /var/log/sa-host/sa23 06:02:38 file_magic: OK 06:02:38 HZ: Using current value: 100 06:02:38 file_header: OK 06:02:38 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 06:02:38 Statistics: 06:02:38 Hnuu...uuuununununu... 06:02:38 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:39 provisioning config files... 06:02:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config2901601311284842509tmp [Pipeline] { [Pipeline] echo 06:02:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:02:39 ---> create-netrc.sh [Pipeline] } 06:02:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:02:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:02:40 ---> python-tools-install.sh [Pipeline] echo 06:02:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:02:40 ---> sudo-logs.sh 06:02:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:02:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:02:41 ---> job-cost.sh 06:02:41 lf-activate-venv: SKIPPING 06:02:41 DEBUG: total: 0.20999999344348907 06:02:41 INFO: Retrieving Stack Cost... 06:02:42 INFO: Retrieving Pricing Info for: v1-standard-2 06:02:42 INFO: Archiving Costs [Pipeline] echo 06:02:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:02:43 ---> logs-deploy.sh 06:02:43 lf-activate-venv: SKIPPING 06:02:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3209/1 06:02:43 INFO: archiving workspace using pattern(s): 06:02:44 Archives upload complete. 06:02:44 INFO: archiving logs to Nexus