Pull request #3436 opened 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 lenny-intel for edgexfoundry/edgex-go Obtained Jenkinsfile from 7cb33e9bba44eb6548abca1bff4d78b3dabf0227+3103214cdd745ba99e56243b14eeb2a0a0c23a57 (a6afa04a313acefab0ed792a8665995a2ad8fc85) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3436/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/edgex-go/branches/PR-3436/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3681 in /w/workspace/edgexfoundry_edgex-go_PR-3436 [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 3103214cdd745ba99e56243b14eeb2a0a0c23a57 into PR head commit 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 > 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/3436/head:refs/remotes/origin/PR-3436 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 # timeout=10 Merge succeeded, producing 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 Checking out Revision 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 (PR-3436) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3103214cdd745ba99e56243b14eeb2a0a0c23a57 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 # timeout=10 Commit message: "feat: Add secure MessageBus capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:57:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:57:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:57:55 ========================================================= 21:57:55 EdgeX Global Pipelines Version Info 21:57:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:57:56 ------------------- 21:57:56 stable info: 21:57:56 ------------------- 21:57:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:57:56 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 21:57:56 Message: update stable to v1.0.191 21:57:57 ------------------- 21:57:57 experimental info: 21:57:57 ------------------- 21:57:57 Commited By: **** collab-it+edgex@linuxfoundation.org 21:57:57 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 21:57:57 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:57:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 21:57:57 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:57:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3436 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3436 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3436 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cb33e9 [Pipeline] echo 21:57:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 21:57:59 provisioning config files... 21:57:59 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config5287564885793318928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:58:00 ---> docker-login.sh 21:58:00 nexus3.edgexfoundry.org:10001 21:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:00 Configure a credential helper to remove this warning. See 21:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:00 21:58:00 Login Succeeded 21:58:00 nexus3.edgexfoundry.org:10002 21:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:00 Configure a credential helper to remove this warning. See 21:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:00 21:58:00 Login Succeeded 21:58:00 nexus3.edgexfoundry.org:10003 21:58:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:00 Configure a credential helper to remove this warning. See 21:58:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:00 21:58:00 Login Succeeded 21:58:00 nexus3.edgexfoundry.org:10004 21:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:01 Configure a credential helper to remove this warning. See 21:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:01 21:58:01 Login Succeeded 21:58:01 docker.io 21:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:58:01 Configure a credential helper to remove this warning. See 21:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:58:01 21:58:01 Login Succeeded 21:58:01 ---> docker-login.sh ends [Pipeline] } 21:58:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:02 ++ 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 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/core-command/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo core-command,cmd/core-command/Dockerfile 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/core-data/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo core-data,cmd/core-data/Dockerfile 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/core-metadata/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo core-metadata,cmd/core-metadata/Dockerfile 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/security-bootstrapper/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/security-proxy-setup/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/security-secretstore-setup/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/support-notifications/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo support-notifications,cmd/support-notifications/Dockerfile 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/support-scheduler/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo support-scheduler,cmd/support-scheduler/Dockerfile 21:58:02 + for file in '`ls cmd/**/Dockerfile`' 21:58:02 ++ dirname cmd/sys-mgmt-agent/Dockerfile 21:58:02 ++ cut -d/ -f2 21:58:02 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 21:58:02 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 21:58:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:58:03 21:58:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:58:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:58:03 latest: Pulling from edgex-devops/git-semver 21:58:03 31603596830f: Pulling fs layer 21:58:03 54011a49482f: Pulling fs layer 21:58:03 a6820b24f6d8: Pulling fs layer 21:58:03 f581987b2513: Pulling fs layer 21:58:03 f581987b2513: Waiting 21:58:03 54011a49482f: Verifying Checksum 21:58:03 54011a49482f: Download complete 21:58:03 31603596830f: Download complete 21:58:03 f581987b2513: Verifying Checksum 21:58:03 f581987b2513: Download complete 21:58:03 a6820b24f6d8: Verifying Checksum 21:58:03 a6820b24f6d8: Download complete 21:58:03 31603596830f: Pull complete 21:58:04 54011a49482f: Pull complete 21:58:04 a6820b24f6d8: Pull complete 21:58:05 f581987b2513: Pull complete 21:58:05 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 21:58:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:58:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:58:05 prd-centos7-docker-4c-2g-3681 does not seem to be running inside a container 21:58:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:58:07 $ docker top ad8139854025c34f0c957ad3bb0b0cebb35eac2af63677e0445aab1f1e4aecab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:58:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:08 [ssh-agent] Looking for ssh-agent implementation... 21:58:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:08 $ docker exec ad8139854025c34f0c957ad3bb0b0cebb35eac2af63677e0445aab1f1e4aecab ssh-agent 21:58:08 SSH_AUTH_SOCK=/tmp/ssh-T8nGY693Qdze/agent.12 21:58:08 SSH_AGENT_PID=17 21:58:08 Running ssh-add (command line suppressed) 21:58:08 Identity added: /w/workspace/edgex-go/1@tmp/private_key_393258058167332453.key (/w/workspace/edgex-go/1@tmp/private_key_393258058167332453.key) 21:58:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:09 + git tag --points-at HEAD [Pipeline] } 21:58:09 $ docker exec --env ******** --env ******** ad8139854025c34f0c957ad3bb0b0cebb35eac2af63677e0445aab1f1e4aecab ssh-agent -k 21:58:09 unset SSH_AUTH_SOCK; 21:58:09 unset SSH_AGENT_PID; 21:58:09 echo Agent pid 17 killed; 21:58:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:58:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:58:09 [ssh-agent] Looking for ssh-agent implementation... 21:58:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:58:09 $ docker exec ad8139854025c34f0c957ad3bb0b0cebb35eac2af63677e0445aab1f1e4aecab ssh-agent 21:58:09 SSH_AUTH_SOCK=/tmp/ssh-N047MIJUe1dt/agent.47 21:58:09 SSH_AGENT_PID=53 21:58:09 Running ssh-add (command line suppressed) 21:58:09 Identity added: /w/workspace/edgex-go/1@tmp/private_key_4978701337035259316.key (/w/workspace/edgex-go/1@tmp/private_key_4978701337035259316.key) 21:58:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:58:10 + git semver init 21:58:10 # -> Open(): unable to determine branch for HEAD 21:58:10 # $GIT_DIR = /w/workspace/edgex-go/1/.git 21:58:10 # $GIT_WORK_TREE = /w/workspace/edgex-go/1 21:58:10 # $SEMVER_REMOTE_NAME = origin 21:58:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:58:10 # $SEMVER_USER_NAME = edgex-jenkins 21:58:10 # $SEMVER_BRANCH = PR-3436 21:58:10 # $SEMVER_TEMP = /tmp/semver-575100227 21:58:10 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 21:58:32 # '/tmp/semver-575100227' -> '/w/workspace/edgex-go/1/.semver' 21:58:32 # -> Force: false 21:58:32 # $SEMVER_DIR = /w/workspace/edgex-go/1/.semver [Pipeline] } 21:58:32 $ docker exec --env ******** --env ******** ad8139854025c34f0c957ad3bb0b0cebb35eac2af63677e0445aab1f1e4aecab ssh-agent -k 21:58:32 unset SSH_AUTH_SOCK; 21:58:32 unset SSH_AGENT_PID; 21:58:32 echo Agent pid 53 killed; 21:58:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:58:33 + git semver [Pipeline] } 21:58:33 $ docker stop --time=1 ad8139854025c34f0c957ad3bb0b0cebb35eac2af63677e0445aab1f1e4aecab 21:58:35 $ docker rm -f ad8139854025c34f0c957ad3bb0b0cebb35eac2af63677e0445aab1f1e4aecab [Pipeline] // withDockerContainer [Pipeline] sh 21:58:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:58:36 Stashed 1 file(s) [Pipeline] echo 21:58:36 [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 21:58:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 21:58:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 21:58:37 + sudo service docker restart 21:58:37 + true 21:58:37 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 21:58:38 ========================================================= 21:58:38 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:58:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 21:58:38 + 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 . 21:58:41 Sending build context to Docker daemon 330.1MB 21:58:41 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 21:58:41 Step 2/6 : FROM ${BASE} 21:58:41 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:58:41 540db60ca938: Pulling fs layer 21:58:41 adcc1eea9eea: Pulling fs layer 21:58:41 4c4ab2625f07: Pulling fs layer 21:58:41 0510c868ecb4: Pulling fs layer 21:58:41 afea3b2eda06: Pulling fs layer 21:58:41 7809a108b3ef: Pulling fs layer 21:58:41 f706445af74f: Pulling fs layer 21:58:41 afea3b2eda06: Waiting 21:58:41 7809a108b3ef: Waiting 21:58:41 f706445af74f: Waiting 21:58:41 0510c868ecb4: Waiting 21:58:42 4c4ab2625f07: Download complete 21:58:42 adcc1eea9eea: Verifying Checksum 21:58:42 adcc1eea9eea: Download complete 21:58:42 afea3b2eda06: Verifying Checksum 21:58:42 afea3b2eda06: Download complete 21:58:42 7809a108b3ef: Verifying Checksum 21:58:42 7809a108b3ef: Download complete 21:58:42 540db60ca938: Verifying Checksum 21:58:42 540db60ca938: Download complete 21:58:42 540db60ca938: Pull complete 21:58:43 adcc1eea9eea: Pull complete 21:58:43 4c4ab2625f07: Pull complete 21:58:45 f706445af74f: Verifying Checksum 21:58:45 f706445af74f: Download complete 21:58:45 0510c868ecb4: Verifying Checksum 21:58:45 0510c868ecb4: Download complete 21:58:50 0510c868ecb4: Pull complete 21:58:50 afea3b2eda06: Pull complete 21:58:50 7809a108b3ef: Pull complete 21:58:51 Still waiting to schedule task 21:58:51 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3679’ 21:58:56 f706445af74f: Pull complete 21:58:56 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 21:58:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:58:56 ---> b068be0155e3 21:58:56 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 21:58:56 ---> Running in 863934f4bce9 21:58:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 21:58:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 21:58:58 (1/12) Installing libmagic (5.39-r0) 21:58:58 (2/12) Installing file (5.39-r0) 21:58:58 (3/12) Installing libc-dev (0.7.2-r3) 21:58:58 (4/12) Installing g++ (10.2.1_pre1-r3) 21:59:06 (5/12) Installing fortify-headers (1.1-r0) 21:59:06 (6/12) Installing patch (2.7.6-r6) 21:59:06 (7/12) Installing build-base (0.5-r2) 21:59:06 (8/12) Installing libsodium (1.0.18-r0) 21:59:06 (9/12) Installing pkgconf (1.7.3-r0) 21:59:06 (10/12) Installing libsodium-dev (1.0.18-r0) 21:59:06 (11/12) Installing libzmq (4.3.3-r1) 21:59:06 (12/12) Installing zeromq-dev (4.3.3-r1) 21:59:06 Executing busybox-1.32.1-r6.trigger 21:59:06 OK: 219 MiB in 52 packages 21:59:10 Removing intermediate container 863934f4bce9 21:59:10 ---> 37ac931e7ef1 21:59:10 Step 4/6 : WORKDIR /edgex-go 21:59:10 ---> Running in ca1312f88874 21:59:10 Removing intermediate container ca1312f88874 21:59:10 ---> b3c6717e3ef3 21:59:10 Step 5/6 : COPY go.mod . 21:59:10 ---> 987240f6ca0f 21:59:10 Step 6/6 : RUN go mod download 21:59:10 ---> Running in a9e74d105bfa 21:59:33 Removing intermediate container a9e74d105bfa 21:59:33 ---> 64522a9afdd0 21:59:33 Successfully built 64522a9afdd0 21:59:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:59:33 + docker inspect -f . ci-base-image-x86_64 21:59:33 . [Pipeline] withDockerContainer 21:59:33 prd-centos7-docker-4c-2g-3681 does not seem to be running inside a container 21:59:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:59:34 $ docker top 8f8fe81588205cefa83f090b8ed22e0b960fdec88d1d4a7183127fc535e9a9f0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:59:35 + go version 21:59:35 go version go1.16.3 linux/amd64 [Pipeline] } 21:59:35 $ docker stop --time=1 8f8fe81588205cefa83f090b8ed22e0b960fdec88d1d4a7183127fc535e9a9f0 21:59:36 $ docker rm -f 8f8fe81588205cefa83f090b8ed22e0b960fdec88d1d4a7183127fc535e9a9f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:59:37 + docker inspect -f . ci-base-image-x86_64 21:59:37 . [Pipeline] withDockerContainer 21:59:37 prd-centos7-docker-4c-2g-3681 does not seem to be running inside a container 21:59:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:59:38 $ docker top 0003efe62ae278194c3d205a15eb713ecbcce2b200eaafa08b82a7b93112e5de -eo pid,comm [Pipeline] { [Pipeline] echo 21:59:38 ========================================================= 21:59:38 [edgeXBuildGoParallel] Running Tests and Build... 21:59:38 ========================================================= [Pipeline] sh 21:59:39 + go mod tidy [Pipeline] sh 21:59:40 + make test 21:59:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:59:48 ? github.com/edgexfoundry/edgex-go [no test files] 22:00:03 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 22:00:03 internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) 22:00:03 internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:00:03 internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:00:03 internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:00:16 # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application 22:00:16 internal/support/scheduler/v2/application/intervalaction.go:166:5: unknown field 'RequestBody' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".RESTAddress 22:00:19 FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] 22:00:19 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.057s coverage: 19.8% of statements 22:00:19 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 22:00:19 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 22:00:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.086s coverage: 100.0% of statements 22:00:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.069s coverage: 100.0% of statements 22:00:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 22:00:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 22:00:20 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.066s coverage: 78.9% of statements 22:00:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 22:00:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.106s coverage: 100.0% of statements 22:00:21 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.057s coverage: 100.0% of statements 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.181s coverage: 86.7% of statements 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.151s coverage: 97.5% of statements 22:00:22 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] 22:00:22 internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) 22:00:22 internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:00:22 internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:00:22 internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.086s coverage: 78.3% of statements 22:00:22 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 22:00:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.089s coverage: 58.8% of statements 22:00:23 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 22:00:23 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] 22:00:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.071s coverage: 47.1% of statements 22:00:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.062s coverage: 79.5% of statements 22:00:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.056s coverage: 94.1% of statements 22:00:23 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.088s coverage: 96.3% of statements 22:00:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.054s coverage: 87.5% of statements 22:00:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.066s coverage: 94.4% of statements 22:00:36 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.052s coverage: 44.8% of statements 22:00:40 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 14.500s coverage: 81.8% of statements 22:00:46 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] 22:00:46 internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.096s coverage: 92.9% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.034s coverage: 65.1% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.048s coverage: 87.2% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.053s coverage: 100.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.064s coverage: 76.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.058s coverage: 80.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.086s coverage: 87.2% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.070s coverage: 85.4% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.111s coverage: 91.2% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.189s coverage: 64.4% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.056s coverage: 100.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.034s coverage: 91.3% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.035s coverage: 100.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.046s coverage: 73.7% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.026s coverage: 100.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.347s coverage: 66.9% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.184s coverage: 43.4% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.047s coverage: 89.5% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.042s coverage: 84.8% of statements 22:00:48 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.050s coverage: 100.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.051s coverage: 100.0% of statements 22:00:48 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] 22:00:48 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 22:00:48 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.074s coverage: 99.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.066s coverage: 100.0% of statements 22:00:48 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] 22:00:48 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/system 0.024s coverage: 0.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.039s coverage: 100.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.043s coverage: 87.9% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.037s coverage: 100.0% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.060s coverage: 28.1% of statements 22:00:48 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.044s coverage: 100.0% of statements 22:00:48 make: *** [Makefile:94: test] Error 2 [Pipeline] } 22:00:48 $ docker stop --time=1 0003efe62ae278194c3d205a15eb713ecbcce2b200eaafa08b82a7b93112e5de 22:00:50 $ docker rm -f 0003efe62ae278194c3d205a15eb713ecbcce2b200eaafa08b82a7b93112e5de [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] } 22:00:51 Failed in branch amd64 22:02:30 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3682 in /w/workspace/edgexfoundry_edgex-go_PR-3436 [Pipeline] { [Pipeline] ws 22:02:30 Running in /w/workspace/edgex-go/1 [Pipeline] { [Pipeline] checkout 22:02:35 using credential edgex-jenkins-ssh 22:02:35 Cloning the remote Git repository 22:02:35 Cloning repository git@github.com:edgexfoundry/edgex-go.git 22:02:35 > git init /w/workspace/edgex-go/1 # timeout=10 22:02:35 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 22:02:35 > git --version # timeout=10 22:02:35 > git --version # 'git version 2.17.1' 22:02:35 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:02:52 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 22:02:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:02:52 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 22:02:52 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 22:02:52 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3436/head:refs/remotes/origin/PR-3436 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:02:53 Merging remotes/origin/master commit 3103214cdd745ba99e56243b14eeb2a0a0c23a57 into PR head commit 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 22:02:53 Merge succeeded, producing 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 22:02:53 Checking out Revision 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 (PR-3436) 22:02:53 > git config core.sparsecheckout # timeout=10 22:02:53 > git checkout -f 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 # timeout=10 22:02:53 > git remote # timeout=10 22:02:53 > git config --get remote.origin.url # timeout=10 22:02:53 using GIT_SSH to set credentials SSH Credentials for GitHub 22:02:53 > git merge 3103214cdd745ba99e56243b14eeb2a0a0c23a57 # timeout=10 22:02:53 > git rev-parse HEAD^{commit} # timeout=10 22:02:53 > git config core.sparsecheckout # timeout=10 22:02:53 > git checkout -f 7cb33e9bba44eb6548abca1bff4d78b3dabf0227 # timeout=10 22:02:57 Commit message: "feat: Add secure MessageBus capability" 22:02:58 > git --version # timeout=10 22:02:58 > git --version # 'git version 2.17.1' 22:02:58 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:02:59 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:03:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:03:00 + sudo service docker restart 22:03:00 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 22:03:02 provisioning config files... 22:03:02 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/1@tmp/config7171697553749099864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:03:03 ---> docker-login.sh 22:03:03 nexus3.edgexfoundry.org:10001 22:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:04 Configure a credential helper to remove this warning. See 22:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:04 22:03:04 Login Succeeded 22:03:04 nexus3.edgexfoundry.org:10002 22:03:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:04 Configure a credential helper to remove this warning. See 22:03:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:04 22:03:04 Login Succeeded 22:03:04 nexus3.edgexfoundry.org:10003 22:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:05 Configure a credential helper to remove this warning. See 22:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:05 22:03:05 Login Succeeded 22:03:05 nexus3.edgexfoundry.org:10004 22:03:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:05 Configure a credential helper to remove this warning. See 22:03:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:05 22:03:05 Login Succeeded 22:03:05 docker.io 22:03:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:03:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:03:06 Configure a credential helper to remove this warning. See 22:03:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:03:06 22:03:06 Login Succeeded 22:03:06 ---> docker-login.sh ends [Pipeline] } 22:03:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:03:07 ========================================================= 22:03:07 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:03:07 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:03:07 + 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 . 22:03:10 Sending build context to Docker daemon 167.7MB 22:03:10 Step 1/6 : ARG BASE=golang:1.16-alpine3.12 22:03:10 Step 2/6 : FROM ${BASE} 22:03:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:03:10 595b0fe564bb: Pulling fs layer 22:03:10 7186ed65a4f7: Pulling fs layer 22:03:10 316046926c0a: Pulling fs layer 22:03:10 4ebd0625c992: Pulling fs layer 22:03:10 207e8628e3a3: Pulling fs layer 22:03:10 c791037a9be2: Pulling fs layer 22:03:10 ffd874e62e21: Pulling fs layer 22:03:10 207e8628e3a3: Waiting 22:03:10 4ebd0625c992: Waiting 22:03:10 c791037a9be2: Waiting 22:03:10 ffd874e62e21: Waiting 22:03:10 316046926c0a: Verifying Checksum 22:03:10 316046926c0a: Download complete 22:03:10 7186ed65a4f7: Download complete 22:03:10 207e8628e3a3: Download complete 22:03:10 c791037a9be2: Verifying Checksum 22:03:10 c791037a9be2: Download complete 22:03:10 595b0fe564bb: Verifying Checksum 22:03:10 595b0fe564bb: Download complete 22:03:10 595b0fe564bb: Pull complete 22:03:11 7186ed65a4f7: Pull complete 22:03:11 316046926c0a: Pull complete 22:03:12 ffd874e62e21: Verifying Checksum 22:03:12 ffd874e62e21: Download complete 22:03:13 4ebd0625c992: Verifying Checksum 22:03:13 4ebd0625c992: Download complete 22:03:23 4ebd0625c992: Pull complete 22:03:24 207e8628e3a3: Pull complete 22:03:24 c791037a9be2: Pull complete 22:03:27 ffd874e62e21: Pull complete 22:03:28 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 22:03:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:03:28 ---> cfc18b08335c 22:03:28 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 22:03:31 ---> Running in d1e4efe58ce1 22:03:32 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:03:35 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:03:38 (1/12) Installing libmagic (5.39-r0) 22:03:38 (2/12) Installing file (5.39-r0) 22:03:38 (3/12) Installing libc-dev (0.7.2-r3) 22:03:38 (4/12) Installing g++ (10.2.1_pre1-r3) 22:03:47 (5/12) Installing fortify-headers (1.1-r0) 22:03:47 (6/12) Installing patch (2.7.6-r6) 22:03:47 (7/12) Installing build-base (0.5-r2) 22:03:47 (8/12) Installing libsodium (1.0.18-r0) 22:03:47 (9/12) Installing pkgconf (1.7.3-r0) 22:03:47 (10/12) Installing libsodium-dev (1.0.18-r0) 22:03:47 (11/12) Installing libzmq (4.3.3-r1) 22:03:47 (12/12) Installing zeromq-dev (4.3.3-r1) 22:03:47 Executing busybox-1.32.1-r6.trigger 22:03:47 OK: 218 MiB in 52 packages 22:03:51 Removing intermediate container d1e4efe58ce1 22:03:51 ---> 41ea2e70d3ea 22:03:51 Step 4/6 : WORKDIR /edgex-go 22:03:51 ---> Running in cba5e6f6530e 22:03:51 Removing intermediate container cba5e6f6530e 22:03:51 ---> 2d481c263bd3 22:03:51 Step 5/6 : COPY go.mod . 22:03:52 ---> 03967c80eaf7 22:03:52 Step 6/6 : RUN go mod download 22:03:52 ---> Running in 744b241468e0 22:04:19 Removing intermediate container 744b241468e0 22:04:19 ---> 6526f51f0e9c 22:04:19 Successfully built 6526f51f0e9c 22:04:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:04:19 + docker inspect -f . ci-base-image-arm64 22:04:19 . [Pipeline] withDockerContainer 22:04:20 prd-ubuntu18.04-docker-arm64-4c-16g-3682 does not seem to be running inside a container 22:04:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:04:21 $ docker top 97862d951c1600beb47e9f190f9e6e5b43d8023fe640527dc12fd243465f013a -eo pid,comm [Pipeline] { [Pipeline] sh 22:04:22 + go version 22:04:22 go version go1.16.3 linux/arm64 [Pipeline] } 22:04:22 $ docker stop --time=1 97862d951c1600beb47e9f190f9e6e5b43d8023fe640527dc12fd243465f013a 22:04:24 $ docker rm -f 97862d951c1600beb47e9f190f9e6e5b43d8023fe640527dc12fd243465f013a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:04:25 + docker inspect -f . ci-base-image-arm64 22:04:25 . [Pipeline] withDockerContainer 22:04:25 prd-ubuntu18.04-docker-arm64-4c-16g-3682 does not seem to be running inside a container 22:04:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:04:27 $ docker top fd43fdcc3ef20596a12afb30fe1a1af551abcba5cde798abe09a628dabca1b55 -eo pid,comm [Pipeline] { [Pipeline] echo 22:04:27 ========================================================= 22:04:27 [edgeXBuildGoParallel] Running Tests and Build... 22:04:27 ========================================================= [Pipeline] sh 22:04:28 + go mod tidy [Pipeline] sh 22:04:29 + make test 22:04:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 22:04:56 ? github.com/edgexfoundry/edgex-go [no test files] 22:05:28 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils 22:05:28 internal/pkg/v2/utils/restaddress.go:64:37: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) 22:05:28 internal/pkg/v2/utils/restaddress.go:77:12: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:05:28 internal/pkg/v2/utils/restaddress.go:78:10: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:05:28 internal/pkg/v2/utils/restaddress.go:80:45: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:06:07 # github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application 22:06:07 internal/support/scheduler/v2/application/intervalaction.go:166:5: unknown field 'RequestBody' in struct literal of type "github.com/edgexfoundry/go-mod-core-contracts/v2/v2/models".RESTAddress 22:06:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/command [build failed] 22:06:20 ok github.com/edgexfoundry/edgex-go/internal/core/command/v2/application 0.161s coverage: 19.8% of statements 22:06:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/command/v2/controller/http [build failed] 22:06:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/data [build failed] 22:06:21 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.132s coverage: 100.0% of statements 22:06:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.139s coverage: 100.0% of statements 22:06:22 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 22:06:22 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http [build failed] 22:06:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/io 0.191s coverage: 78.9% of statements 22:06:22 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 22:06:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.263s coverage: 100.0% of statements 22:06:26 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.155s coverage: 100.0% of statements 22:06:28 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.386s coverage: 86.7% of statements 22:06:28 # github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils.test] 22:06:28 internal/pkg/v2/utils/restaddress.go:64: address.RequestBody undefined (type models.RESTAddress has no field or method RequestBody) 22:06:28 internal/pkg/v2/utils/restaddress.go:77: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:06:28 internal/pkg/v2/utils/restaddress.go:78: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:06:28 internal/pkg/v2/utils/restaddress.go:80: address.ContentType undefined (type models.RESTAddress has no field or method ContentType) 22:06:28 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.413s coverage: 97.5% of statements 22:06:29 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.247s coverage: 78.3% of statements 22:06:29 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 22:06:30 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.115s coverage: 58.8% of statements 22:06:30 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis [build failed] 22:06:30 FAIL github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [build failed] 22:06:30 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.180s coverage: 47.1% of statements 22:06:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.135s coverage: 79.5% of statements 22:06:31 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.239s coverage: 94.1% of statements 22:06:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.153s coverage: 96.3% of statements 22:06:33 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.147s coverage: 87.5% of statements 22:06:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.141s coverage: 94.4% of statements 22:06:45 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.140s coverage: 44.8% of statements 22:06:51 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/setupacl 13.571s coverage: 81.8% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/waitfor 22.257s coverage: 92.9% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/helper 0.055s coverage: 65.1% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.093s coverage: 87.2% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.106s coverage: 100.0% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.152s coverage: 76.0% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.142s coverage: 80.0% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.207s coverage: 87.2% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.219s coverage: 85.4% of statements 22:06:57 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.261s coverage: 91.2% of statements 22:06:59 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.719s coverage: 64.4% of statements 22:06:59 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.220s coverage: 100.0% of statements 22:06:59 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.102s coverage: 91.3% of statements 22:06:59 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.064s coverage: 100.0% of statements 22:07:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.104s coverage: 73.7% of statements 22:07:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.107s coverage: 100.0% of statements 22:07:07 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.926s coverage: 66.9% of statements 22:07:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.700s coverage: 43.4% of statements 22:07:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/secretsengine 0.140s coverage: 89.5% of statements 22:07:08 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore/tokenfilewriter 0.103s coverage: 84.8% of statements 22:07:08 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications [build failed] 22:07:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.182s coverage: 100.0% of statements 22:07:08 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.108s coverage: 100.0% of statements 22:07:08 # github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application.test] 22:07:08 internal/support/notifications/v2/application/subscription_test.go:73:3: cannot use &testSubscriptionResendLimit (type *int64) as type *int in field value 22:07:08 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/application [build failed] 22:07:08 FAIL github.com/edgexfoundry/edgex-go/internal/support/notifications/v2/controller/http [build failed] 22:07:09 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler [build failed] 22:07:13 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.171s coverage: 99.0% of statements 22:07:13 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.164s coverage: 100.0% of statements 22:07:13 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/application/scheduler [build failed] 22:07:13 FAIL github.com/edgexfoundry/edgex-go/internal/support/scheduler/v2/controller/http [build failed] 22:07:13 ok github.com/edgexfoundry/edgex-go/internal/system 0.046s coverage: 0.0% of statements 22:07:13 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.055s coverage: 100.0% of statements 22:07:13 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.118s coverage: 87.9% of statements 22:07:13 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.077s coverage: 100.0% of statements 22:07:15 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.114s coverage: 28.1% of statements 22:07:15 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.088s coverage: 100.0% of statements 22:07:15 make: *** [Makefile:94: test] Error 2 [Pipeline] } 22:07:15 $ docker stop --time=1 fd43fdcc3ef20596a12afb30fe1a1af551abcba5cde798abe09a628dabca1b55 22:07:17 $ docker rm -f fd43fdcc3ef20596a12afb30fe1a1af551abcba5cde798abe09a628dabca1b55 [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 22:07:19 ---> job-cost.sh 22:07:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-JiBM 22:07:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:09:20 lf-activate-venv(): INFO: Adding /tmp/venv-JiBM/bin to PATH 22:09:20 INFO: No Stack... 22:09:20 INFO: Retrieving Pricing Info for: lf-standard-4 22:09:21 INFO: Archiving Costs [Pipeline] sh 22:09:21 + cat /w/workspace/edgex-go/1/archives/cost.csv 22:09:21 + cut -d, -f6 [Pipeline] lock 22:09:21 Trying to acquire lock on [jenkins-edgexfoundry-edgex-go-PR-3436-1-stack-cost] 22:09:21 Resource [jenkins-edgexfoundry-edgex-go-PR-3436-1-stack-cost] did not exist. Created. 22:09:21 Lock acquired on [jenkins-edgexfoundry-edgex-go-PR-3436-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:09:22 + echo total: 0.20999999344348907 [Pipeline] stash 22:09:23 Stashed 1 file(s) [Pipeline] } 22:09:23 Lock released on resource [jenkins-edgexfoundry-edgex-go-PR-3436-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:09:23 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 22:09:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:09:26 ---> package-listing.sh 22:09:26 ++ facter osfamily 22:09:26 ++ tr '[:upper:]' '[:lower:]' 22:09:26 + OS_FAMILY=redhat 22:09:26 + workspace=/w/workspace/edgex-go/1 22:09:26 + START_PACKAGES=/tmp/packages_start.txt 22:09:26 + END_PACKAGES=/tmp/packages_end.txt 22:09:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:09:26 + PACKAGES=/tmp/packages_start.txt 22:09:26 + '[' /w/workspace/edgex-go/1 ']' 22:09:26 + PACKAGES=/tmp/packages_end.txt 22:09:26 + case "${OS_FAMILY}" in 22:09:26 + rpm -qa 22:09:26 + sort 22:09:31 + '[' -f /tmp/packages_start.txt ']' 22:09:31 + '[' -f /tmp/packages_end.txt ']' 22:09:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:09:31 + '[' /w/workspace/edgex-go/1 ']' 22:09:31 + mkdir -p /w/workspace/edgex-go/1/archives/ 22:09:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/1/archives/ [Pipeline] echo 22:09:31 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 22:09:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:09:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:09:32 22:09:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:09:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:09:32 alpine: Pulling from edgex-lftools-log-publisher 22:09:32 df20fa9351a1: Pulling fs layer 22:09:32 36b3adc4ff6f: Pulling fs layer 22:09:32 8ad3a11d3b57: Pulling fs layer 22:09:32 46f8f816bc3b: Pulling fs layer 22:09:32 93b61091891f: Pulling fs layer 22:09:32 93b9cdb0e59b: Pulling fs layer 22:09:32 5e14af77c1be: Pulling fs layer 22:09:32 01666e4c0597: Pulling fs layer 22:09:32 aa168da1d23b: Pulling fs layer 22:09:32 93b9cdb0e59b: Waiting 22:09:32 5e14af77c1be: Waiting 22:09:32 01666e4c0597: Waiting 22:09:32 aa168da1d23b: Waiting 22:09:32 46f8f816bc3b: Waiting 22:09:32 93b61091891f: Waiting 22:09:32 36b3adc4ff6f: Download complete 22:09:32 46f8f816bc3b: Verifying Checksum 22:09:32 46f8f816bc3b: Download complete 22:09:32 df20fa9351a1: Verifying Checksum 22:09:32 df20fa9351a1: Download complete 22:09:32 93b9cdb0e59b: Verifying Checksum 22:09:32 93b9cdb0e59b: Download complete 22:09:33 5e14af77c1be: Verifying Checksum 22:09:33 5e14af77c1be: Download complete 22:09:33 01666e4c0597: Download complete 22:09:33 93b61091891f: Verifying Checksum 22:09:33 93b61091891f: Download complete 22:09:33 8ad3a11d3b57: Verifying Checksum 22:09:33 8ad3a11d3b57: Download complete 22:09:33 df20fa9351a1: Pull complete 22:09:33 36b3adc4ff6f: Pull complete 22:09:34 8ad3a11d3b57: Pull complete 22:09:34 46f8f816bc3b: Pull complete 22:09:35 93b61091891f: Pull complete 22:09:35 93b9cdb0e59b: Pull complete 22:09:35 5e14af77c1be: Pull complete 22:09:35 aa168da1d23b: Verifying Checksum 22:09:35 aa168da1d23b: Download complete 22:09:35 01666e4c0597: Pull complete 22:09:43 aa168da1d23b: Pull complete 22:09:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:09:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:09:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:09:43 prd-centos7-docker-4c-2g-3681 does not seem to be running inside a container 22:09:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/1/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/1 -v /w/workspace/edgex-go/1:/w/workspace/edgex-go/1:rw,z -v /w/workspace/edgex-go/1@tmp:/w/workspace/edgex-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:09:48 $ docker top b04a79f9ae60fadfe7e123c49d8883fb014f21b9ba5a3fa46eb1a8adb92e7d60 -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:49 + touch /tmp/pre-build-complete [Pipeline] sh 22:09:49 + mkdir -p /var/log/sa [Pipeline] sh 22:09:49 + ls /var/log/sa-host 22:09:49 + sadf -c /var/log/sa-host/sa07 22:09:49 file_magic: OK 22:09:49 HZ: Using current value: 100 22:09:49 file_header: OK 22:09:49 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 22:09:49 Statistics: 22:09:49 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:09:49 File successfully converted to sysstat format version 12.2.1 22:09:49 + sadf -c /var/log/sa-host/sa23 22:09:49 file_magic: OK 22:09:49 HZ: Using current value: 100 22:09:49 file_header: OK 22:09:49 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 22:09:49 Statistics: 22:09:49 Hnuu...uuuununununu... 22:09:49 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:09:49 provisioning config files... 22:09:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/1@tmp/config4992136161355331696tmp [Pipeline] { [Pipeline] echo 22:09:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:09:50 ---> create-netrc.sh [Pipeline] } 22:09:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:09:50 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:09:50 ---> python-tools-install.sh [Pipeline] echo 22:09:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:09:51 ---> sudo-logs.sh 22:09:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:09:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:09:51 ---> job-cost.sh 22:09:51 lf-activate-venv: SKIPPING 22:09:51 DEBUG: total: 0.20999999344348907 22:09:51 INFO: Retrieving Stack Cost... 22:09:53 INFO: Retrieving Pricing Info for: v1-standard-2 22:09:53 INFO: Archiving Costs [Pipeline] echo 22:09:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:09:53 ---> logs-deploy.sh 22:09:53 lf-activate-venv: SKIPPING 22:09:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3436/1 22:09:53 INFO: archiving workspace using pattern(s): 22:09:55 Archives upload complete. 22:09:55 INFO: archiving logs to Nexus