Pull request #3095 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/edgex-go Loading trusted files from base branch master at 4a83cd830d92d64e3c8662a0b68849c078e73697 rather than 5c14c3144df5ebd0ff833b1001744a10209d2a3e Obtained Jenkinsfile from 4a83cd830d92d64e3c8662a0b68849c078e73697 Running in Durability level: PERFORMANCE_OPTIMIZED 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-23698 in /w/workspace/edgexfoundry_edgex-go_PR-3095 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/2 [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/2 # 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 4a83cd830d92d64e3c8662a0b68849c078e73697 into PR head commit 5c14c3144df5ebd0ff833b1001744a10209d2a3e > 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/3095/head:refs/remotes/origin/PR-3095 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c14c3144df5ebd0ff833b1001744a10209d2a3e # timeout=10 Merge succeeded, producing 5c14c3144df5ebd0ff833b1001744a10209d2a3e Checking out Revision 5c14c3144df5ebd0ff833b1001744a10209d2a3e (PR-3095) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a83cd830d92d64e3c8662a0b68849c078e73697 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c14c3144df5ebd0ff833b1001744a10209d2a3e # timeout=10 Commit message: "feat(meta): Invoke Device Service callback for ProvisionWatcher change" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:58:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:58:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:58:05 ========================================================= 05:58:05 EdgeX Global Pipelines Version Info 05:58:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:58:06 ------------------- 05:58:06 stable info: 05:58:06 ------------------- 05:58:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:06 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:58:06 Message: update stable to v1.0.179 05:58:07 ------------------- 05:58:07 experimental info: 05:58:07 ------------------- 05:58:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:58:07 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 05:58:07 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 05:58:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:58:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 05:58:10 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:58:10 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:58:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-3095 [Pipeline] echo 05:58:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-3095 [Pipeline] echo 05:58:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-3095 [Pipeline] echo 05:58:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c14c3144df5ebd0ff833b1001744a10209d2a3e [Pipeline] echo 05:58:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c14c31 [Pipeline] echo 05:58:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:58:10 provisioning config files... 05:58:10 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config8361406091779839098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:58:11 ---> docker-login.sh 05:58:11 nexus3.edgexfoundry.org:10001 05:58:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:11 Configure a credential helper to remove this warning. See 05:58:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:11 05:58:11 Login Succeeded 05:58:11 nexus3.edgexfoundry.org:10002 05:58:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:12 Configure a credential helper to remove this warning. See 05:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:12 05:58:12 Login Succeeded 05:58:12 nexus3.edgexfoundry.org:10003 05:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:12 Configure a credential helper to remove this warning. See 05:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:12 05:58:12 Login Succeeded 05:58:12 nexus3.edgexfoundry.org:10004 05:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:12 Configure a credential helper to remove this warning. See 05:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:12 05:58:12 Login Succeeded 05:58:12 docker.io 05:58:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:58:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:58:12 Configure a credential helper to remove this warning. See 05:58:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:58:12 05:58:12 Login Succeeded 05:58:12 ---> docker-login.sh ends [Pipeline] } 05:58:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:13 ++ 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:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/core-command/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo core-command,cmd/core-command/Dockerfile 05:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/core-data/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo core-data,cmd/core-data/Dockerfile 05:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/core-metadata/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo core-metadata,cmd/core-metadata/Dockerfile 05:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/security-bootstrapper/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo security-bootstrapper,cmd/security-bootstrapper/Dockerfile 05:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/security-proxy-setup/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 05:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/security-secretstore-setup/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 05:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/support-notifications/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo support-notifications,cmd/support-notifications/Dockerfile 05:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/support-scheduler/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo support-scheduler,cmd/support-scheduler/Dockerfile 05:58:13 + for file in '`ls cmd/**/Dockerfile`' 05:58:13 ++ dirname cmd/sys-mgmt-agent/Dockerfile 05:58:13 ++ cut -d/ -f2 05:58:13 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 05:58:13 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:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:14 05:58:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:58:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:15 latest: Pulling from edgex-devops/git-semver 05:58:15 31603596830f: Pulling fs layer 05:58:15 2a8b12db71e7: Pulling fs layer 05:58:15 6ca5941a6612: Pulling fs layer 05:58:15 ecc8261a40a4: Pulling fs layer 05:58:15 ecc8261a40a4: Waiting 05:58:15 2a8b12db71e7: Verifying Checksum 05:58:15 31603596830f: Verifying Checksum 05:58:15 31603596830f: Download complete 05:58:15 ecc8261a40a4: Verifying Checksum 05:58:15 ecc8261a40a4: Download complete 05:58:15 6ca5941a6612: Verifying Checksum 05:58:15 6ca5941a6612: Download complete 05:58:15 31603596830f: Pull complete 05:58:15 2a8b12db71e7: Pull complete 05:58:16 6ca5941a6612: Pull complete 05:58:16 ecc8261a40a4: Pull complete 05:58:16 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:58:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:58:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:58:16 prd-centos7-docker-4c-2g-23698 does not seem to be running inside a container 05:58:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:58:19 $ docker top bd931c17d4fa5dae1597dffe552be9e5024199cc422dc38cbefa1bcb8c35c3d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:58:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:19 [ssh-agent] Looking for ssh-agent implementation... 05:58:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:19 $ docker exec bd931c17d4fa5dae1597dffe552be9e5024199cc422dc38cbefa1bcb8c35c3d9 ssh-agent 05:58:20 SSH_AUTH_SOCK=/tmp/ssh-7uLCBV0pSsrj/agent.13 05:58:20 SSH_AGENT_PID=19 05:58:20 Running ssh-add (command line suppressed) 05:58:20 Identity added: /w/workspace/edgex-go/2@tmp/private_key_4926231231831553719.key (/w/workspace/edgex-go/2@tmp/private_key_4926231231831553719.key) 05:58:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:20 + git tag --points-at HEAD [Pipeline] } 05:58:20 $ docker exec --env ******** --env ******** bd931c17d4fa5dae1597dffe552be9e5024199cc422dc38cbefa1bcb8c35c3d9 ssh-agent -k 05:58:20 unset SSH_AUTH_SOCK; 05:58:20 unset SSH_AGENT_PID; 05:58:20 echo Agent pid 19 killed; 05:58:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:58:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:58:21 [ssh-agent] Looking for ssh-agent implementation... 05:58:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:58:21 $ docker exec bd931c17d4fa5dae1597dffe552be9e5024199cc422dc38cbefa1bcb8c35c3d9 ssh-agent 05:58:21 SSH_AUTH_SOCK=/tmp/ssh-EfEYdSMcBphf/agent.48 05:58:21 SSH_AGENT_PID=53 05:58:21 Running ssh-add (command line suppressed) 05:58:21 Identity added: /w/workspace/edgex-go/2@tmp/private_key_4196377964067775109.key (/w/workspace/edgex-go/2@tmp/private_key_4196377964067775109.key) 05:58:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:58:21 + git semver init 05:58:21 # -> Open(): unable to determine branch for HEAD 05:58:21 # $GIT_DIR = /w/workspace/edgex-go/2/.git 05:58:21 # $GIT_WORK_TREE = /w/workspace/edgex-go/2 05:58:21 # $SEMVER_REMOTE_NAME = origin 05:58:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:58:21 # $SEMVER_USER_NAME = edgex-jenkins 05:58:21 # $SEMVER_BRANCH = PR-3095 05:58:21 # $SEMVER_TEMP = /tmp/semver-174474183 05:58:21 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 05:58:40 # '/tmp/semver-174474183' -> '/w/workspace/edgex-go/2/.semver' 05:58:40 # -> Force: false 05:58:40 # $SEMVER_DIR = /w/workspace/edgex-go/2/.semver [Pipeline] } 05:58:40 $ docker exec --env ******** --env ******** bd931c17d4fa5dae1597dffe552be9e5024199cc422dc38cbefa1bcb8c35c3d9 ssh-agent -k 05:58:40 unset SSH_AUTH_SOCK; 05:58:40 unset SSH_AGENT_PID; 05:58:40 echo Agent pid 53 killed; 05:58:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:58:41 + git semver [Pipeline] } 05:58:41 $ docker stop --time=1 bd931c17d4fa5dae1597dffe552be9e5024199cc422dc38cbefa1bcb8c35c3d9 05:58:42 $ docker rm -f bd931c17d4fa5dae1597dffe552be9e5024199cc422dc38cbefa1bcb8c35c3d9 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:58:43 Stashed 1 file(s) [Pipeline] echo 05:58:43 [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:58:44 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:58:44 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:58:45 + sudo service docker restart 05:58:45 + true 05:58:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 05:58:45 ========================================================= 05:58:45 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:58:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:58:46 + 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:58:50 Sending build context to Docker daemon 327.2MB 05:58:50 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 05:58:50 Step 2/6 : FROM ${BASE} 05:58:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:58:50 188c0c94c7c5: Pulling fs layer 05:58:50 0ef7d3d256c8: Pulling fs layer 05:58:50 de9db76c5a1d: Pulling fs layer 05:58:50 bca2f99d35d6: Pulling fs layer 05:58:50 93359f2a8cfa: Pulling fs layer 05:58:50 7c6f9722023f: Pulling fs layer 05:58:50 a35cf1a2eb13: Pulling fs layer 05:58:50 bca2f99d35d6: Waiting 05:58:50 93359f2a8cfa: Waiting 05:58:50 7c6f9722023f: Waiting 05:58:50 a35cf1a2eb13: Waiting 05:58:50 de9db76c5a1d: Download complete 05:58:50 0ef7d3d256c8: Verifying Checksum 05:58:50 0ef7d3d256c8: Download complete 05:58:50 93359f2a8cfa: Verifying Checksum 05:58:50 93359f2a8cfa: Download complete 05:58:50 188c0c94c7c5: Verifying Checksum 05:58:50 188c0c94c7c5: Download complete 05:58:50 7c6f9722023f: Verifying Checksum 05:58:50 7c6f9722023f: Download complete 05:58:50 188c0c94c7c5: Pull complete 05:58:50 0ef7d3d256c8: Pull complete 05:58:51 de9db76c5a1d: Pull complete 05:58:51 a35cf1a2eb13: Verifying Checksum 05:58:51 a35cf1a2eb13: Download complete 05:58:52 bca2f99d35d6: Verifying Checksum 05:58:52 bca2f99d35d6: Download complete 05:58:57 bca2f99d35d6: Pull complete 05:58:58 93359f2a8cfa: Pull complete 05:58:58 7c6f9722023f: Pull complete 05:58:59 Still waiting to schedule task 05:58:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:59:02 a35cf1a2eb13: Pull complete 05:59:02 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:59:02 ---> a62c8e92a672 05:59:02 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:59:02 ---> Running in 804ff984aab2 05:59:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:59:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:59:04 (1/12) Installing libmagic (5.38-r0) 05:59:05 (2/12) Installing file (5.38-r0) 05:59:05 (3/12) Installing libc-dev (0.7.2-r3) 05:59:05 (4/12) Installing g++ (9.3.0-r2) 05:59:09 (5/12) Installing fortify-headers (1.1-r0) 05:59:09 (6/12) Installing patch (2.7.6-r6) 05:59:09 (7/12) Installing build-base (0.5-r2) 05:59:09 (8/12) Installing libsodium (1.0.18-r0) 05:59:09 (9/12) Installing pkgconf (1.7.2-r0) 05:59:09 (10/12) Installing libsodium-dev (1.0.18-r0) 05:59:09 (11/12) Installing libzmq (4.3.3-r0) 05:59:09 (12/12) Installing zeromq-dev (4.3.3-r0) 05:59:09 Executing busybox-1.31.1-r19.trigger 05:59:09 OK: 233 MiB in 51 packages 05:59:14 Removing intermediate container 804ff984aab2 05:59:14 ---> 9b3946dd97c5 05:59:14 Step 4/6 : WORKDIR /edgex-go 05:59:14 ---> Running in d6d7c9bb1873 05:59:14 Removing intermediate container d6d7c9bb1873 05:59:14 ---> a796322f3377 05:59:14 Step 5/6 : COPY go.mod . 05:59:14 ---> 387639ef6ca1 05:59:14 Step 6/6 : RUN go mod download 05:59:14 ---> Running in ebb06350fc20 05:59:36 Removing intermediate container ebb06350fc20 05:59:36 ---> 010ecfcba282 05:59:36 Successfully built 010ecfcba282 05:59:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:59:36 + docker inspect -f . ci-base-image-x86_64 05:59:36 . [Pipeline] withDockerContainer 05:59:36 prd-centos7-docker-4c-2g-23698 does not seem to be running inside a container 05:59:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:37 $ docker top 1ee3b79c0ccb1bfb8c4c3c0f34f501e249f7293a806c27166a370497ae9a5e0b -eo pid,comm [Pipeline] { [Pipeline] sh 05:59:38 + go version 05:59:38 go version go1.15.5 linux/amd64 [Pipeline] } 05:59:38 $ docker stop --time=1 1ee3b79c0ccb1bfb8c4c3c0f34f501e249f7293a806c27166a370497ae9a5e0b 05:59:39 $ docker rm -f 1ee3b79c0ccb1bfb8c4c3c0f34f501e249f7293a806c27166a370497ae9a5e0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:59:40 + docker inspect -f . ci-base-image-x86_64 05:59:40 . [Pipeline] withDockerContainer 05:59:40 prd-centos7-docker-4c-2g-23698 does not seem to be running inside a container 05:59:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:59:41 $ docker top 9e947066fd40966cb4137b8ecb7fc9053d783cfd573f55d0ef0ed63109db4244 -eo pid,comm [Pipeline] { [Pipeline] echo 05:59:41 ========================================================= 05:59:41 [edgeXBuildGoParallel] Running Tests and Build... 05:59:41 ========================================================= [Pipeline] sh 05:59:41 + make test 05:59:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:59:51 ? github.com/edgexfoundry/edgex-go [no test files] 06:00:04 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:00:08 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application 06:00:08 internal/core/metadata/v2/application/notify.go:121:9: undefined: dtos.FromProvisionWatcherModelToUpdateDTO 06:00:10 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 06:00:17 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.078s coverage: 46.6% of statements 06:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.175s coverage: 27.1% of statements 06:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.049s coverage: 100.0% of statements 06:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.057s coverage: 100.0% of statements 06:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.091s coverage: 65.8% of statements 06:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.475s coverage: 82.3% of statements 06:00:22 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 06:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.071s coverage: 100.0% of statements 06:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.046s coverage: 100.0% of statements 06:00:22 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.137s coverage: 86.7% of statements 06:00:23 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.118s coverage: 97.5% of statements 06:00:23 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.052s coverage: 78.3% of statements 06:00:23 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 06:00:23 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.033s coverage: 58.8% of statements 06:00:24 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.052s coverage: 0.1% of statements 06:00:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.029s coverage: 43.8% of statements 06:00:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 0.034s coverage: 79.5% of statements 06:00:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.037s coverage: 94.1% of statements 06:00:24 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.062s coverage: 96.3% of statements 06:00:25 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.040s coverage: 87.5% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 11.049s coverage: 94.4% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.032s coverage: 44.8% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 11.054s coverage: 87.2% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.034s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.044s coverage: 75.5% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.033s coverage: 80.8% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.064s coverage: 87.2% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.044s coverage: 84.2% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.076s coverage: 91.4% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.164s coverage: 63.5% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.028s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.033s coverage: 91.3% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.032s coverage: 73.7% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.034s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.278s coverage: 68.9% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.087s coverage: 37.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.261s coverage: 84.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.036s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.116s coverage: 47.1% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.054s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.053s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.692s coverage: 29.1% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.085s coverage: 99.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.040s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/system 0.026s coverage: 0.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.045s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.054s coverage: 87.9% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.049s coverage: 100.0% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.033s coverage: 32.1% of statements 06:00:37 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 06:00:38 make: *** [Makefile:98: test] Error 2 [Pipeline] } 06:00:38 $ docker stop --time=1 9e947066fd40966cb4137b8ecb7fc9053d783cfd573f55d0ef0ed63109db4244 06:00:40 $ docker rm -f 9e947066fd40966cb4137b8ecb7fc9053d783cfd573f55d0ef0ed63109db4244 [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] } 06:00:42 Failed in branch amd64 06:00:44 Running on prd-ubuntu18.04-docker-arm64-4c-16g-23699 in /w/workspace/edgexfoundry_edgex-go_PR-3095 [Pipeline] { [Pipeline] ws 06:00:44 Running in /w/workspace/edgex-go/2 [Pipeline] { [Pipeline] checkout 06:00:49 using credential edgex-jenkins-ssh 06:00:49 Cloning the remote Git repository 06:00:49 Cloning repository git@github.com:edgexfoundry/edgex-go.git 06:00:49 > git init /w/workspace/edgex-go/2 # timeout=10 06:00:50 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:00:50 > git --version # timeout=10 06:00:50 > git --version # 'git version 2.17.1' 06:00:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:06 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:01:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:01:06 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 06:01:06 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 06:01:06 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/3095/head:refs/remotes/origin/PR-3095 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:01:07 Merging remotes/origin/master commit 4a83cd830d92d64e3c8662a0b68849c078e73697 into PR head commit 5c14c3144df5ebd0ff833b1001744a10209d2a3e 06:01:07 Merge succeeded, producing 5c14c3144df5ebd0ff833b1001744a10209d2a3e 06:01:07 Checking out Revision 5c14c3144df5ebd0ff833b1001744a10209d2a3e (PR-3095) 06:01:07 > git config core.sparsecheckout # timeout=10 06:01:07 > git checkout -f 5c14c3144df5ebd0ff833b1001744a10209d2a3e # timeout=10 06:01:07 > git remote # timeout=10 06:01:07 > git config --get remote.origin.url # timeout=10 06:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 06:01:07 > git merge 4a83cd830d92d64e3c8662a0b68849c078e73697 # timeout=10 06:01:07 > git rev-parse HEAD^{commit} # timeout=10 06:01:07 > git config core.sparsecheckout # timeout=10 06:01:07 > git checkout -f 5c14c3144df5ebd0ff833b1001744a10209d2a3e # timeout=10 06:01:12 Commit message: "feat(meta): Invoke Device Service callback for ProvisionWatcher change" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:01:14 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:01:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:01:14 + sudo service docker restart 06:01:14 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:01:16 provisioning config files... 06:01:16 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/2@tmp/config7157294060623240244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:01:17 ---> docker-login.sh 06:01:17 nexus3.edgexfoundry.org:10001 06:01:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:18 Configure a credential helper to remove this warning. See 06:01:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:18 06:01:18 Login Succeeded 06:01:18 nexus3.edgexfoundry.org:10002 06:01:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:19 Configure a credential helper to remove this warning. See 06:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:19 06:01:19 Login Succeeded 06:01:19 nexus3.edgexfoundry.org:10003 06:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:19 Configure a credential helper to remove this warning. See 06:01:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:19 06:01:19 Login Succeeded 06:01:19 nexus3.edgexfoundry.org:10004 06:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:20 Configure a credential helper to remove this warning. See 06:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:20 06:01:20 Login Succeeded 06:01:20 docker.io 06:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:01:20 Configure a credential helper to remove this warning. See 06:01:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:01:20 06:01:20 Login Succeeded 06:01:20 ---> docker-login.sh ends [Pipeline] } 06:01:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:01:21 ========================================================= 06:01:21 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:01:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:01:21 + 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 . 06:01:24 Sending build context to Docker daemon 165.9MB 06:01:24 Step 1/6 : ARG BASE=golang:1.15-alpine3.12 06:01:24 Step 2/6 : FROM ${BASE} 06:01:24 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:01:24 5f621e34cdf4: Pulling fs layer 06:01:24 a4357932f1b6: Pulling fs layer 06:01:24 18c013af1878: Pulling fs layer 06:01:24 00ac8860ef70: Pulling fs layer 06:01:24 63d7cb157983: Pulling fs layer 06:01:24 b116817d02f9: Pulling fs layer 06:01:24 745a02a5169b: Pulling fs layer 06:01:24 00ac8860ef70: Waiting 06:01:24 63d7cb157983: Waiting 06:01:24 b116817d02f9: Waiting 06:01:24 745a02a5169b: Waiting 06:01:24 18c013af1878: Verifying Checksum 06:01:24 18c013af1878: Download complete 06:01:24 a4357932f1b6: Verifying Checksum 06:01:24 a4357932f1b6: Download complete 06:01:24 63d7cb157983: Download complete 06:01:24 b116817d02f9: Download complete 06:01:24 5f621e34cdf4: Download complete 06:01:24 5f621e34cdf4: Pull complete 06:01:25 a4357932f1b6: Pull complete 06:01:25 18c013af1878: Pull complete 06:01:26 745a02a5169b: Verifying Checksum 06:01:26 745a02a5169b: Download complete 06:01:27 00ac8860ef70: Verifying Checksum 06:01:27 00ac8860ef70: Download complete 06:01:38 00ac8860ef70: Pull complete 06:01:38 63d7cb157983: Pull complete 06:01:38 b116817d02f9: Pull complete 06:01:43 745a02a5169b: Pull complete 06:01:43 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:01:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:01:43 ---> b7e6874047d6 06:01:43 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 06:01:45 ---> Running in ea19e8dbe98d 06:01:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:01:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:01:48 (1/12) Installing libmagic (5.38-r0) 06:01:48 (2/12) Installing file (5.38-r0) 06:01:48 (3/12) Installing libc-dev (0.7.2-r3) 06:01:48 (4/12) Installing g++ (9.3.0-r2) 06:01:51 (5/12) Installing fortify-headers (1.1-r0) 06:01:51 (6/12) Installing patch (2.7.6-r6) 06:01:51 (7/12) Installing build-base (0.5-r2) 06:01:51 (8/12) Installing libsodium (1.0.18-r0) 06:01:51 (9/12) Installing pkgconf (1.7.2-r0) 06:01:51 (10/12) Installing libsodium-dev (1.0.18-r0) 06:01:51 (11/12) Installing libzmq (4.3.3-r0) 06:01:51 (12/12) Installing zeromq-dev (4.3.3-r0) 06:01:51 Executing busybox-1.31.1-r19.trigger 06:01:51 OK: 217 MiB in 51 packages 06:01:56 Removing intermediate container ea19e8dbe98d 06:01:56 ---> b996e121ec94 06:01:56 Step 4/6 : WORKDIR /edgex-go 06:01:56 ---> Running in d05c7bb118f8 06:01:56 Removing intermediate container d05c7bb118f8 06:01:56 ---> 93010db1424a 06:01:56 Step 5/6 : COPY go.mod . 06:01:56 ---> 63d9e16c06f3 06:01:56 Step 6/6 : RUN go mod download 06:01:56 ---> Running in 60bccb9ebe1f 06:02:23 Removing intermediate container 60bccb9ebe1f 06:02:23 ---> fe9740969594 06:02:23 Successfully built fe9740969594 06:02:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:02:23 + docker inspect -f . ci-base-image-arm64 06:02:23 . [Pipeline] withDockerContainer 06:02:24 prd-ubuntu18.04-docker-arm64-4c-16g-23699 does not seem to be running inside a container 06:02:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:25 $ docker top ddd84d4b7dd8ab2c2c3c92407bea2489472a62584d64b4add03fe41b89f20a7b -eo pid,comm [Pipeline] { [Pipeline] sh 06:02:26 + go version 06:02:26 go version go1.15.5 linux/arm64 [Pipeline] } 06:02:26 $ docker stop --time=1 ddd84d4b7dd8ab2c2c3c92407bea2489472a62584d64b4add03fe41b89f20a7b 06:02:28 $ docker rm -f ddd84d4b7dd8ab2c2c3c92407bea2489472a62584d64b4add03fe41b89f20a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:02:29 + docker inspect -f . ci-base-image-arm64 06:02:29 . [Pipeline] withDockerContainer 06:02:29 prd-ubuntu18.04-docker-arm64-4c-16g-23699 does not seem to be running inside a container 06:02:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:02:31 $ docker top f066c05dee375148042f5fe78fc6b131e4a9b29007dd87894c5d82908b4a0cc4 -eo pid,comm [Pipeline] { [Pipeline] echo 06:02:31 ========================================================= 06:02:31 [edgeXBuildGoParallel] Running Tests and Build... 06:02:31 ========================================================= [Pipeline] sh 06:02:32 + make test 06:02:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:02:54 ? github.com/edgexfoundry/edgex-go [no test files] 06:03:41 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 06:03:43 # github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application 06:03:43 internal/core/metadata/v2/application/notify.go:121:9: undefined: dtos.FromProvisionWatcherModelToUpdateDTO 06:03:47 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 06:04:09 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.234s coverage: 46.6% of statements 06:04:14 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.515s coverage: 27.1% of statements 06:04:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.074s coverage: 100.0% of statements 06:04:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.082s coverage: 100.0% of statements 06:04:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/application 0.327s coverage: 65.8% of statements 06:04:14 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.367s coverage: 82.3% of statements 06:04:14 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata [build failed] 06:04:15 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.147s coverage: 100.0% of statements 06:04:16 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.072s coverage: 100.0% of statements 06:04:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.417s coverage: 86.7% of statements 06:04:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.397s coverage: 97.5% of statements 06:04:20 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.154s coverage: 78.3% of statements 06:04:20 FAIL github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http [build failed] 06:04:20 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.056s coverage: 58.8% of statements 06:04:26 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.180s coverage: 0.1% of statements 06:04:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command 0.079s coverage: 43.8% of statements 06:04:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gate 1.094s coverage: 79.5% of statements 06:04:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/genpassword 0.076s coverage: 94.1% of statements 06:04:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/gethttpstatus 0.082s coverage: 96.3% of statements 06:04:26 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/help 0.072s coverage: 87.5% of statements 06:04:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/listen 12.073s coverage: 94.4% of statements 06:04:39 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/command/ping 0.067s coverage: 44.8% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/bootstrapper/tcp 12.120s coverage: 87.2% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.048s coverage: 100.0% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.088s coverage: 75.5% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.058s coverage: 80.8% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.122s coverage: 87.2% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.135s coverage: 84.2% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.152s coverage: 91.4% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.517s coverage: 63.5% of statements 06:04:41 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.063s coverage: 100.0% of statements 06:04:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.121s coverage: 91.3% of statements 06:04:42 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.078s coverage: 100.0% of statements 06:04:42 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.073s coverage: 73.7% of statements 06:04:44 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.054s coverage: 100.0% of statements 06:04:48 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.816s coverage: 68.9% of statements 06:04:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.375s coverage: 37.0% of statements 06:04:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.680s coverage: 84.0% of statements 06:04:48 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.094s coverage: 100.0% of statements 06:04:55 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.375s coverage: 47.1% of statements 06:04:55 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.148s coverage: 100.0% of statements 06:04:55 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.115s coverage: 100.0% of statements 06:05:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.075s coverage: 29.1% of statements 06:05:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.195s coverage: 99.0% of statements 06:05:00 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.103s coverage: 100.0% of statements 06:05:00 ok github.com/edgexfoundry/edgex-go/internal/system 0.075s coverage: 0.0% of statements 06:05:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.070s coverage: 100.0% of statements 06:05:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.108s coverage: 87.9% of statements 06:05:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.051s coverage: 100.0% of statements 06:05:00 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.059s coverage: 32.1% of statements 06:05:02 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 06:05:02 make: *** [Makefile:98: test] Error 2 [Pipeline] } 06:05:02 $ docker stop --time=1 f066c05dee375148042f5fe78fc6b131e4a9b29007dd87894c5d82908b4a0cc4 06:05:05 $ docker rm -f f066c05dee375148042f5fe78fc6b131e4a9b29007dd87894c5d82908b4a0cc4 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:05:07 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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:05:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:05:10 ---> package-listing.sh 06:05:10 ++ facter osfamily 06:05:10 ++ tr '[:upper:]' '[:lower:]' 06:05:10 + OS_FAMILY=redhat 06:05:10 + workspace=/w/workspace/edgex-go/2 06:05:10 + START_PACKAGES=/tmp/packages_start.txt 06:05:10 + END_PACKAGES=/tmp/packages_end.txt 06:05:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:05:10 + PACKAGES=/tmp/packages_start.txt 06:05:10 + '[' /w/workspace/edgex-go/2 ']' 06:05:10 + PACKAGES=/tmp/packages_end.txt 06:05:10 + case "${OS_FAMILY}" in 06:05:10 + rpm -qa 06:05:10 + sort 06:05:15 + '[' -f /tmp/packages_start.txt ']' 06:05:15 + '[' -f /tmp/packages_end.txt ']' 06:05:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:05:15 + '[' /w/workspace/edgex-go/2 ']' 06:05:15 + mkdir -p /w/workspace/edgex-go/2/archives/ 06:05:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/2/archives/ [Pipeline] echo 06:05:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:05:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:16 06:05:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:05:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:16 alpine: Pulling from edgex-lftools-log-publisher 06:05:16 df20fa9351a1: Pulling fs layer 06:05:16 36b3adc4ff6f: Pulling fs layer 06:05:16 8ad3a11d3b57: Pulling fs layer 06:05:16 46f8f816bc3b: Pulling fs layer 06:05:16 93b61091891f: Pulling fs layer 06:05:16 93b9cdb0e59b: Pulling fs layer 06:05:16 5e14af77c1be: Pulling fs layer 06:05:16 01666e4c0597: Pulling fs layer 06:05:16 aa168da1d23b: Pulling fs layer 06:05:16 93b9cdb0e59b: Waiting 06:05:16 5e14af77c1be: Waiting 06:05:16 aa168da1d23b: Waiting 06:05:16 01666e4c0597: Waiting 06:05:16 46f8f816bc3b: Waiting 06:05:16 93b61091891f: Waiting 06:05:16 36b3adc4ff6f: Download complete 06:05:16 46f8f816bc3b: Verifying Checksum 06:05:16 46f8f816bc3b: Download complete 06:05:16 df20fa9351a1: Verifying Checksum 06:05:16 df20fa9351a1: Download complete 06:05:16 93b9cdb0e59b: Verifying Checksum 06:05:16 93b9cdb0e59b: Download complete 06:05:16 93b61091891f: Verifying Checksum 06:05:16 93b61091891f: Download complete 06:05:16 5e14af77c1be: Verifying Checksum 06:05:16 5e14af77c1be: Download complete 06:05:16 01666e4c0597: Verifying Checksum 06:05:16 01666e4c0597: Download complete 06:05:16 8ad3a11d3b57: Verifying Checksum 06:05:16 8ad3a11d3b57: Download complete 06:05:17 df20fa9351a1: Pull complete 06:05:17 36b3adc4ff6f: Pull complete 06:05:18 8ad3a11d3b57: Pull complete 06:05:18 46f8f816bc3b: Pull complete 06:05:18 93b61091891f: Pull complete 06:05:19 93b9cdb0e59b: Pull complete 06:05:19 aa168da1d23b: Verifying Checksum 06:05:19 aa168da1d23b: Download complete 06:05:19 5e14af77c1be: Pull complete 06:05:19 01666e4c0597: Pull complete 06:05:26 aa168da1d23b: Pull complete 06:05:26 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:05:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:05:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:05:26 prd-centos7-docker-4c-2g-23698 does not seem to be running inside a container 06:05:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgex-go/2/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/2 -v /w/workspace/edgex-go/2:/w/workspace/edgex-go/2:rw,z -v /w/workspace/edgex-go/2@tmp:/w/workspace/edgex-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:05:29 $ docker top 1b16ae75df67d27baf4455f1a8ed664af740626ef4c3f3a1dc90b9456d7b4782 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:30 + touch /tmp/pre-build-complete [Pipeline] sh 06:05:30 + mkdir -p /var/log/sa [Pipeline] sh 06:05:30 + ls /var/log/sa-host 06:05:30 + sadf -c /var/log/sa-host/sa23 06:05:30 file_magic: OK 06:05:30 HZ: Using current value: 100 06:05:30 file_header: OK 06:05:30 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:05:30 Statistics: 06:05:30 Hnuu...uuuununununu... 06:05:30 File successfully converted to sysstat format version 12.2.1 06:05:30 + sadf -c /var/log/sa-host/sa28 06:05:30 file_magic: OK 06:05:30 HZ: Using current value: 100 06:05:30 file_header: OK 06:05:30 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:05:30 Statistics: 06:05:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:05:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:31 provisioning config files... 06:05:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/2@tmp/config3810582718293137533tmp [Pipeline] { [Pipeline] echo 06:05:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:05:31 ---> create-netrc.sh [Pipeline] } 06:05:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:05:31 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:05:32 ---> python-tools-install.sh [Pipeline] echo 06:05:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:05:32 ---> sudo-logs.sh 06:05:32 Archiving 'sudo' log.. [Pipeline] echo 06:05:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:05:32 ---> job-cost.sh 06:05:32 lf-activate-venv: SKIPPING 06:05:32 INFO: No Stack... 06:05:33 INFO: Retrieving Pricing Info for: v1-standard-2 06:05:34 INFO: Archiving Costs [Pipeline] echo 06:05:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:05:34 ---> logs-deploy.sh 06:05:34 lf-activate-venv: SKIPPING 06:05:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-3095/2 06:05:34 INFO: archiving workspace using pattern(s): 06:05:35 Archives upload complete. 06:05:35 INFO: archiving logs to Nexus