Pull request #903 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 74f5389fc2779f3384dbc642fd95aa127436f3d0+92affc97e25621ac5a3617c0e5e42feb55191c77 (b20157afe09cb9411bf245c4ec7faf22a4e527b3) 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/device-sdk-go/branches/PR-903/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/device-sdk-go/branches/PR-903/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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2858 in /w/workspace/dgexfoundry_device-sdk-go_PR-903 [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/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-903 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 74f5389fc2779f3384dbc642fd95aa127436f3d0 Merge succeeded, producing 74f5389fc2779f3384dbc642fd95aa127436f3d0 Checking out Revision 74f5389fc2779f3384dbc642fd95aa127436f3d0 (PR-903) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/903/head:refs/remotes/origin/PR-903 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:50:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:50:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:50:00 ========================================================= 05:50:00 EdgeX Global Pipelines Version Info 05:50:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:50:02 ------------------- 05:50:02 stable info: 05:50:02 ------------------- 05:50:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:50:02 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:50:02 Message: update stable to v1.0.191 05:50:03 ------------------- 05:50:03 experimental info: 05:50:03 ------------------- 05:50:03 Commited By: **** collab-it+edgex@linuxfoundation.org 05:50:03 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:50:03 Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:50:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:50:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:50:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-903 [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-903 [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-903 [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74f5389fc2779f3384dbc642fd95aa127436f3d0 [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74f5389 [Pipeline] echo 05:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:50:05 provisioning config files... 05:50:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/config7541171755028083574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:50:06 ---> docker-login.sh 05:50:06 nexus3.edgexfoundry.org:10001 05:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:06 Configure a credential helper to remove this warning. See 05:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:06 05:50:06 Login Succeeded 05:50:06 nexus3.edgexfoundry.org:10002 05:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:07 Configure a credential helper to remove this warning. See 05:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:07 05:50:07 Login Succeeded 05:50:07 nexus3.edgexfoundry.org:10003 05:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:07 Configure a credential helper to remove this warning. See 05:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:07 05:50:07 Login Succeeded 05:50:07 nexus3.edgexfoundry.org:10004 05:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:07 Configure a credential helper to remove this warning. See 05:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:07 05:50:07 Login Succeeded 05:50:07 docker.io 05:50:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:50:07 Configure a credential helper to remove this warning. See 05:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:50:07 05:50:07 Login Succeeded 05:50:07 ---> docker-login.sh ends [Pipeline] } 05:50:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:50:08 + git log --format=format:%s -1 74f5389fc2779f3384dbc642fd95aa127436f3d0 [Pipeline] echo 05:50:08 GIT_COMMIT: 74f5389fc2779f3384dbc642fd95aa127436f3d0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:50:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:50:10 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:10 05:50:10 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:50:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:10 latest: Pulling from edgex-devops/git-semver 05:50:10 31603596830f: Pulling fs layer 05:50:10 54011a49482f: Pulling fs layer 05:50:10 a6820b24f6d8: Pulling fs layer 05:50:10 f581987b2513: Pulling fs layer 05:50:10 f581987b2513: Waiting 05:50:10 54011a49482f: Verifying Checksum 05:50:10 54011a49482f: Download complete 05:50:10 31603596830f: Verifying Checksum 05:50:10 31603596830f: Download complete 05:50:11 f581987b2513: Verifying Checksum 05:50:11 f581987b2513: Download complete 05:50:11 a6820b24f6d8: Verifying Checksum 05:50:11 a6820b24f6d8: Download complete 05:50:11 31603596830f: Pull complete 05:50:11 54011a49482f: Pull complete 05:50:12 a6820b24f6d8: Pull complete 05:50:13 f581987b2513: Pull complete 05:50:13 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:50:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:50:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:50:13 prd-centos7-docker-4c-2g-2858 does not seem to be running inside a container 05:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-903 -v /w/workspace/dgexfoundry_device-sdk-go_PR-903:/w/workspace/dgexfoundry_device-sdk-go_PR-903:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-903@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 05:50:15 $ docker top 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:50:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:16 [ssh-agent] Looking for ssh-agent implementation... 05:50:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:16 $ docker exec 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d ssh-agent 05:50:16 SSH_AUTH_SOCK=/tmp/ssh-sOdUxBTsICHW/agent.11 05:50:16 SSH_AGENT_PID=16 05:50:16 Running ssh-add (command line suppressed) 05:50:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/private_key_1562719369347383457.key (/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/private_key_1562719369347383457.key) 05:50:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:17 + git tag --points-at HEAD [Pipeline] } 05:50:17 $ docker exec --env ******** --env ******** 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d ssh-agent -k 05:50:18 unset SSH_AUTH_SOCK; 05:50:18 unset SSH_AGENT_PID; 05:50:18 echo Agent pid 16 killed; 05:50:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:50:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:50:18 [ssh-agent] Looking for ssh-agent implementation... 05:50:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:50:18 $ docker exec 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d ssh-agent 05:50:18 SSH_AUTH_SOCK=/tmp/ssh-crqSa2RiFPkP/agent.44 05:50:18 SSH_AGENT_PID=49 05:50:18 Running ssh-add (command line suppressed) 05:50:19 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/private_key_8607385078644899143.key (/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/private_key_8607385078644899143.key) 05:50:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:50:19 + git semver init 05:50:19 # -> Open(): unable to determine branch for HEAD 05:50:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-903/.git 05:50:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-903 05:50:19 # $SEMVER_REMOTE_NAME = origin 05:50:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:50:19 # $SEMVER_USER_NAME = edgex-jenkins 05:50:19 # $SEMVER_BRANCH = PR-903 05:50:19 # $SEMVER_TEMP = /tmp/semver-973952363 05:50:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:50:21 # '/tmp/semver-973952363' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-903/.semver' 05:50:21 # -> Force: false 05:50:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-903/.semver [Pipeline] } 05:50:21 $ docker exec --env ******** --env ******** 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d ssh-agent -k 05:50:21 unset SSH_AUTH_SOCK; 05:50:21 unset SSH_AGENT_PID; 05:50:21 echo Agent pid 49 killed; 05:50:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:50:21 + git semver [Pipeline] } 05:50:21 $ docker stop --time=1 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d 05:50:23 $ docker rm -f 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d [Pipeline] // withDockerContainer [Pipeline] sh 05:50:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:50:24 Stashed 1 file(s) [Pipeline] echo 05:50:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [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] node 05:50:39 Still waiting to schedule task 05:50:39 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2858’ 05:50:39 Still waiting to schedule task 05:50:39 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline 05:52:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2859 in /w/workspace/dgexfoundry_device-sdk-go_PR-903 [Pipeline] { [Pipeline] ws 05:52:31 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:52:36 using credential edgex-jenkins-ssh 05:52:36 Cloning the remote Git repository 05:52:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:52:36 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:52:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:36 > git --version # timeout=10 05:52:36 > git --version # 'git version 2.17.1' 05:52:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:37 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:38 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 74f5389fc2779f3384dbc642fd95aa127436f3d0 05:52:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:52:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:52:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:52:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/903/head:refs/remotes/origin/PR-903 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:52:38 > git config core.sparsecheckout # timeout=10 05:52:38 > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 05:52:39 Merge succeeded, producing 74f5389fc2779f3384dbc642fd95aa127436f3d0 05:52:39 Checking out Revision 74f5389fc2779f3384dbc642fd95aa127436f3d0 (PR-903) 05:52:38 > git remote # timeout=10 05:52:38 > git config --get remote.origin.url # timeout=10 05:52:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:52:39 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 05:52:39 > git rev-parse HEAD^{commit} # timeout=10 05:52:39 > git config core.sparsecheckout # timeout=10 05:52:39 > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 05:52:43 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:52:43 > git --version # timeout=10 05:52:43 > git --version # 'git version 2.17.1' 05:52:43 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:52:45 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:52:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:52:45 + sudo service+ docker restart 05:52:45 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:48 provisioning config files... 05:52:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9049559770589912852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:49 ---> docker-login.sh 05:52:49 nexus3.edgexfoundry.org:10001 05:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:50 Configure a credential helper to remove this warning. See 05:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:50 05:52:50 Login Succeeded 05:52:50 nexus3.edgexfoundry.org:10002 05:52:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:50 Configure a credential helper to remove this warning. See 05:52:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:50 05:52:50 Login Succeeded 05:52:50 nexus3.edgexfoundry.org:10003 05:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:51 Configure a credential helper to remove this warning. See 05:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:51 05:52:51 Login Succeeded 05:52:51 nexus3.edgexfoundry.org:10004 05:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:51 Configure a credential helper to remove this warning. See 05:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:51 05:52:51 Login Succeeded 05:52:52 docker.io 05:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:52 Configure a credential helper to remove this warning. See 05:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:52 05:52:52 Login Succeeded 05:52:52 ---> docker-login.sh ends [Pipeline] } 05:52:52 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:52:53 ========================================================= 05:52:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 05:52:53 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:52:53 + 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 . 05:52:54 Sending build context to Docker daemon 2.466MB 05:52:54 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:52:54 Step 2/8 : FROM ${BASE} 05:52:54 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:52:54 595b0fe564bb: Pulling fs layer 05:52:54 7186ed65a4f7: Pulling fs layer 05:52:54 316046926c0a: Pulling fs layer 05:52:54 4ebd0625c992: Pulling fs layer 05:52:54 207e8628e3a3: Pulling fs layer 05:52:54 c791037a9be2: Pulling fs layer 05:52:54 ffd874e62e21: Pulling fs layer 05:52:54 4ebd0625c992: Waiting 05:52:54 207e8628e3a3: Waiting 05:52:54 c791037a9be2: Waiting 05:52:54 ffd874e62e21: Waiting 05:52:54 316046926c0a: Download complete 05:52:54 7186ed65a4f7: Verifying Checksum 05:52:54 7186ed65a4f7: Download complete 05:52:54 207e8628e3a3: Verifying Checksum 05:52:54 207e8628e3a3: Download complete 05:52:54 c791037a9be2: Verifying Checksum 05:52:54 c791037a9be2: Download complete 05:52:54 595b0fe564bb: Verifying Checksum 05:52:54 595b0fe564bb: Download complete 05:52:54 595b0fe564bb: Pull complete 05:52:55 7186ed65a4f7: Pull complete 05:52:55 316046926c0a: Pull complete 05:52:56 ffd874e62e21: Verifying Checksum 05:52:56 ffd874e62e21: Download complete 05:52:58 4ebd0625c992: Verifying Checksum 05:52:58 4ebd0625c992: Download complete 05:53:08 4ebd0625c992: Pull complete 05:53:08 207e8628e3a3: Pull complete 05:53:09 c791037a9be2: Pull complete 05:53:12 ffd874e62e21: Pull complete 05:53:12 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 05:53:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 05:53:12 ---> cfc18b08335c 05:53:12 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:15 Running on prd-centos7-docker-4c-2g-2860 in /w/workspace/dgexfoundry_device-sdk-go_PR-903 [Pipeline] { [Pipeline] ws 05:53:15 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:53:15 ---> Running in 58b29fce281a 05:53:15 Removing intermediate container 58b29fce281a 05:53:15 ---> 993c72fa3dc8 05:53:15 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:15 ---> Running in bba2b86dd12c 05:53:17 using credential edgex-jenkins-ssh 05:53:17 Cloning the remote Git repository 05:53:18 Removing intermediate container bba2b86dd12c 05:53:18 ---> 2b5b7c105bfc 05:53:18 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:53:18 ---> Running in 62c9ccf761e7 05:53:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:53:18 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:53:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:18 > git --version # timeout=10 05:53:18 > git --version # 'git version 2.24.3' 05:53:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:19 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 74f5389fc2779f3384dbc642fd95aa127436f3d0 05:53:19 Merge succeeded, producing 74f5389fc2779f3384dbc642fd95aa127436f3d0 05:53:19 Checking out Revision 74f5389fc2779f3384dbc642fd95aa127436f3d0 (PR-903) 05:53:19 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:53:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/903/head:refs/remotes/origin/PR-903 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:53:19 > git config core.sparsecheckout # timeout=10 05:53:19 > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 05:53:19 > git remote # timeout=10 05:53:19 > git config --get remote.origin.url # timeout=10 05:53:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:19 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 05:53:19 > git rev-parse HEAD^{commit} # timeout=10 05:53:19 > git config core.sparsecheckout # timeout=10 05:53:19 > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 05:53:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:53:21 (1/6) Installing libc-dev (0.7.2-r3) 05:53:21 (2/6) Installing libsodium (1.0.18-r0) 05:53:21 (3/6) Installing pkgconf (1.7.3-r0) 05:53:21 (4/6) Installing libsodium-dev (1.0.18-r0) 05:53:21 (5/6) Installing libzmq (4.3.3-r1) 05:53:21 (6/6) Installing zeromq-dev (4.3.3-r1) 05:53:21 Executing busybox-1.32.1-r6.trigger 05:53:21 OK: 139 MiB in 46 packages 05:53:23 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:53:23 Removing intermediate container 62c9ccf761e7 05:53:23 ---> 2c3f9147a2c0 05:53:23 Step 6/8 : WORKDIR /device-sdk-go 05:53:23 > git --version # timeout=10 05:53:23 > git --version # 'git version 2.24.3' 05:53:23 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 05:53:23 ---> Running in 2eba80f7cd40 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:23 Removing intermediate container 2eba80f7cd40 05:53:23 ---> b7edf004310c 05:53:23 Step 7/8 : COPY . . 05:53:24 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:53:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:53:24 ---> 92eaf2a79016 05:53:24 Step 8/8 : RUN go mod download 05:53:24 + sudo service docker restart 05:53:24 + true 05:53:24 Redirecting to /bin/systemctl restart docker.service 05:53:25 ---> Running in 972cc8c189c3 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:25 provisioning config files... 05:53:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1423529872904793180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:26 ---> docker-login.sh 05:53:26 nexus3.edgexfoundry.org:10001 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:26 Configure a credential helper to remove this warning. See 05:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:26 05:53:26 Login Succeeded 05:53:26 nexus3.edgexfoundry.org:10002 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:26 Configure a credential helper to remove this warning. See 05:53:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:26 05:53:26 Login Succeeded 05:53:26 nexus3.edgexfoundry.org:10003 05:53:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:27 Configure a credential helper to remove this warning. See 05:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:27 05:53:27 Login Succeeded 05:53:27 nexus3.edgexfoundry.org:10004 05:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:27 Configure a credential helper to remove this warning. See 05:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:27 05:53:27 Login Succeeded 05:53:27 docker.io 05:53:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:27 Configure a credential helper to remove this warning. See 05:53:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:27 05:53:27 Login Succeeded 05:53:27 ---> docker-login.sh ends [Pipeline] } 05:53:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:28 ========================================================= 05:53:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 05:53:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:53:28 + 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 . 05:53:28 Sending build context to Docker daemon 2.467MB 05:53:28 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:53:28 Step 2/8 : FROM ${BASE} 05:53:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 05:53:28 540db60ca938: Pulling fs layer 05:53:28 adcc1eea9eea: Pulling fs layer 05:53:28 4c4ab2625f07: Pulling fs layer 05:53:28 0510c868ecb4: Pulling fs layer 05:53:28 afea3b2eda06: Pulling fs layer 05:53:28 7809a108b3ef: Pulling fs layer 05:53:28 f706445af74f: Pulling fs layer 05:53:28 0510c868ecb4: Waiting 05:53:28 afea3b2eda06: Waiting 05:53:28 f706445af74f: Waiting 05:53:28 7809a108b3ef: Waiting 05:53:28 4c4ab2625f07: Verifying Checksum 05:53:28 4c4ab2625f07: Download complete 05:53:28 adcc1eea9eea: Download complete 05:53:28 afea3b2eda06: Verifying Checksum 05:53:28 afea3b2eda06: Download complete 05:53:28 7809a108b3ef: Verifying Checksum 05:53:28 7809a108b3ef: Download complete 05:53:28 540db60ca938: Verifying Checksum 05:53:28 540db60ca938: Download complete 05:53:28 540db60ca938: Pull complete 05:53:29 adcc1eea9eea: Pull complete 05:53:29 4c4ab2625f07: Pull complete 05:53:31 f706445af74f: Verifying Checksum 05:53:31 f706445af74f: Download complete 05:53:31 0510c868ecb4: Verifying Checksum 05:53:31 0510c868ecb4: Download complete 05:53:36 0510c868ecb4: Pull complete 05:53:36 afea3b2eda06: Pull complete 05:53:37 7809a108b3ef: Pull complete 05:53:41 f706445af74f: Pull complete 05:53:41 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 05:53:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 05:53:41 ---> b068be0155e3 05:53:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:42 ---> Running in 4d30fc01fbf3 05:53:42 Removing intermediate container 4d30fc01fbf3 05:53:42 ---> a6079e15d689 05:53:42 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:42 ---> Running in 8a777ecb9d2d 05:53:43 Removing intermediate container 8a777ecb9d2d 05:53:43 ---> 9c9185450f60 05:53:43 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:53:43 ---> Running in f0974aaf53ac 05:53:44 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:53:45 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:53:46 (1/6) Installing libc-dev (0.7.2-r3) 05:53:46 (2/6) Installing libsodium (1.0.18-r0) 05:53:46 (3/6) Installing pkgconf (1.7.3-r0) 05:53:46 (4/6) Installing libsodium-dev (1.0.18-r0) 05:53:46 (5/6) Installing libzmq (4.3.3-r1) 05:53:46 (6/6) Installing zeromq-dev (4.3.3-r1) 05:53:46 Executing busybox-1.32.1-r6.trigger 05:53:46 OK: 150 MiB in 46 packages 05:53:47 Removing intermediate container f0974aaf53ac 05:53:47 ---> 2fad6a963e3e 05:53:47 Step 6/8 : WORKDIR /device-sdk-go 05:53:47 ---> Running in bb3d6325d3ae 05:53:47 Removing intermediate container bb3d6325d3ae 05:53:47 ---> 971733db9443 05:53:47 Step 7/8 : COPY . . 05:53:48 ---> 242514a22fb2 05:53:48 Step 8/8 : RUN go mod download 05:53:48 ---> Running in f2b5862a5a8d 05:53:57 Removing intermediate container 972cc8c189c3 05:53:57 ---> 7ead30a569db 05:53:57 Successfully built 7ead30a569db 05:53:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:53:57 + docker inspect -f . ci-base-image-arm64 05:53:57 . [Pipeline] withDockerContainer 05:53:58 prd-ubuntu18.04-docker-arm64-4c-16g-2859 does not seem to be running inside a container 05:53:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-arm64 cat 05:53:59 $ docker top 12935057c9d04b7c3b3959ecd0c947f3df8099954b92686d640bf01e56b618fc -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:00 + go version 05:54:00 go version go1.16.3 linux/arm64 [Pipeline] } 05:54:00 $ docker stop --time=1 12935057c9d04b7c3b3959ecd0c947f3df8099954b92686d640bf01e56b618fc 05:54:02 $ docker rm -f 12935057c9d04b7c3b3959ecd0c947f3df8099954b92686d640bf01e56b618fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:03 + docker inspect -f . ci-base-image-arm64 05:54:03 . [Pipeline] withDockerContainer 05:54:03 prd-ubuntu18.04-docker-arm64-4c-16g-2859 does not seem to be running inside a container 05:54:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-arm64 cat 05:54:05 $ docker top 579e6ca63f181f5b1e579a93d27ce318e70002fac3886feae7ade351ea6573a3 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:06 + go mod tidy [Pipeline] sh 05:54:07 + make test 05:54:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:54:10 Removing intermediate container f2b5862a5a8d 05:54:10 ---> efa37b6e4eaf 05:54:10 Successfully built efa37b6e4eaf 05:54:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:54:11 + docker inspect -f . ci-base-image-x86_64 05:54:11 . [Pipeline] withDockerContainer 05:54:11 prd-centos7-docker-4c-2g-2860 does not seem to be running inside a container 05:54:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 05:54:12 $ docker top e70132b3e60c3cfd9dde69a552cd6c317e5ca4e8eaef4c24e62a458196983859 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:12 + go version 05:54:12 go version go1.16.3 linux/amd64 [Pipeline] } 05:54:12 $ docker stop --time=1 e70132b3e60c3cfd9dde69a552cd6c317e5ca4e8eaef4c24e62a458196983859 05:54:14 $ docker rm -f e70132b3e60c3cfd9dde69a552cd6c317e5ca4e8eaef4c24e62a458196983859 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:54:14 + docker inspect -f . ci-base-image-x86_64 05:54:14 . [Pipeline] withDockerContainer 05:54:15 prd-centos7-docker-4c-2g-2860 does not seem to be running inside a container 05:54:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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 05:54:15 $ docker top acf0569617a50b50b5899f233d5f89da4566310a5c0a5b1ee3b0556e73579512 -eo pid,comm [Pipeline] { [Pipeline] sh 05:54:16 + go mod tidy [Pipeline] sh 05:54:17 + make test 05:54:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:54:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:54:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:54:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:54:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 28.1% of statements 05:54:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements 05:54:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.053s coverage: 7.8% of statements 05:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:54:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 30.2% of statements 05:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:54:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:54:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.119s coverage: 57.2% of statements 05:54:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.138s coverage: 6.6% of statements 05:54:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements 05:54:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:54:52 GO111MODULE=on go vet ./... 05:55:10 gofmt -l . 05:55:10 [ "`gofmt -l .`" = "" ] 05:55:10 ./bin/test-attribution-txt.sh 05:55:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:55:11 $ docker stop --time=1 acf0569617a50b50b5899f233d5f89da4566310a5c0a5b1ee3b0556e73579512 05:55:13 $ docker rm -f acf0569617a50b50b5899f233d5f89da4566310a5c0a5b1ee3b0556e73579512 [Pipeline] // withDockerContainer [Pipeline] sh 05:55:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:55:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:55:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:55:17 + ls -al . 05:55:17 total 188 05:55:17 drwxrwxr-x. 10 jenkins jenkins 4096 May 4 05:55 . 05:55:17 drwxrwxr-x. 4 jenkins jenkins 28 May 4 05:53 .. 05:55:17 drwxrwxr-x. 2 jenkins jenkins 64 May 4 05:53 bin 05:55:17 -rw-r--r--. 1 jenkins jenkins 100320 May 4 05:54 coverage.out 05:55:17 -rw-rw-r--. 1 jenkins jenkins 987 May 4 05:53 Dockerfile.build 05:55:17 -rw-rw-r--. 1 jenkins jenkins 140 May 4 05:53 .dockerignore 05:55:17 drwxrwxr-x. 5 jenkins jenkins 62 May 4 05:53 example 05:55:17 drwxrwxr-x. 8 jenkins jenkins 179 May 4 05:53 .git 05:55:17 drwxrwxr-x. 2 jenkins jenkins 103 May 4 05:53 .github 05:55:17 -rw-rw-r--. 1 jenkins jenkins 138 May 4 05:53 .gitignore 05:55:17 -rw-r--r--. 1 jenkins jenkins 575 May 4 05:55 go.mod 05:55:17 -rw-r--r--. 1 jenkins jenkins 20957 May 4 05:54 go.sum 05:55:17 drwxrwxr-x. 14 jenkins jenkins 207 May 4 05:53 internal 05:55:17 -rw-rw-r--. 1 jenkins jenkins 901 May 4 05:53 Jenkinsfile 05:55:17 -rw-rw-r--. 1 jenkins jenkins 11341 May 4 05:53 LICENSE 05:55:17 -rw-rw-r--. 1 jenkins jenkins 1022 May 4 05:53 Makefile 05:55:17 drwxrwxr-x. 4 jenkins jenkins 26 May 4 05:53 openapi 05:55:17 drwxrwxr-x. 5 jenkins jenkins 50 May 4 05:53 pkg 05:55:17 -rw-rw-r--. 1 jenkins jenkins 7652 May 4 05:53 README.md 05:55:17 -rw-rw-r--. 1 jenkins jenkins 6616 May 4 05:53 RELEASE-NOTES.txt 05:55:17 drwxrwxr-x. 4 jenkins jenkins 54 May 4 05:53 snap 05:55:17 -rw-rw-r--. 1 jenkins jenkins 5 May 4 05:50 VERSION 05:55:17 -rw-rw-r--. 1 jenkins jenkins 222 May 4 05:53 version.go [Pipeline] isUnix [Pipeline] sh 05:55:17 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=74f5389fc2779f3384dbc642fd95aa127436f3d0 --label arch=amd64 --label version=0.0.0 . 05:55:17 Sending build context to Docker daemon 2.568MB 05:55:17 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:55:17 Step 2/23 : FROM ${BASE} AS builder 05:55:17 ---> efa37b6e4eaf 05:55:17 Step 3/23 : WORKDIR /device-sdk-go 05:55:18 ---> Running in eb7637117268 05:55:18 Removing intermediate container eb7637117268 05:55:18 ---> e6831be6e97a 05:55:18 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:18 ---> Running in 626bb4736638 05:55:18 Removing intermediate container 626bb4736638 05:55:18 ---> 5dc45628eb7b 05:55:18 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:18 ---> Running in 15596e380651 05:55:19 Removing intermediate container 15596e380651 05:55:19 ---> 88e59c182ed1 05:55:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:55:19 ---> Running in 895343d0f077 05:55:20 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 05:55:20 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 05:55:21 OK: 150 MiB in 46 packages 05:55:22 Removing intermediate container 895343d0f077 05:55:22 ---> 9e87d4256c22 05:55:22 Step 7/23 : COPY . . 05:55:23 ---> 97c51bc33094 05:55:23 Step 8/23 : RUN go mod download 05:55:23 ---> Running in 341e6be70067 05:55:24 Removing intermediate container 341e6be70067 05:55:24 ---> cb404e0f7838 05:55:24 Step 9/23 : RUN make build 05:55:24 ---> Running in 89c693a2b273 05:55:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:55:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:55:37 Removing intermediate container 89c693a2b273 05:55:37 ---> 7db4b15bd34a 05:55:37 Step 10/23 : FROM alpine:3.12 05:55:37 3.12: Pulling from library/alpine 05:55:37 339de151aab4: Pulling fs layer 05:55:38 339de151aab4: Verifying Checksum 05:55:38 339de151aab4: Download complete 05:55:38 339de151aab4: Pull complete 05:55:38 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:55:38 Status: Downloaded newer image for alpine:3.12 05:55:38 ---> 13621d1b12d4 05:55:38 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:55:38 ---> Running in a2ac0f3eb068 05:55:38 Removing intermediate container a2ac0f3eb068 05:55:38 ---> 6d54be7498c9 05:55:38 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:55:38 ---> Running in a690f8b31fb9 05:55:39 Removing intermediate container a690f8b31fb9 05:55:39 ---> ea5a649ba3f8 05:55:39 Step 13/23 : RUN apk add --update --no-cache zeromq 05:55:39 ---> Running in 32aa456eee4d 05:55:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:55:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:55:41 (1/5) Installing libgcc (9.3.0-r2) 05:55:41 (2/5) Installing libsodium (1.0.18-r0) 05:55:41 (3/5) Installing libstdc++ (9.3.0-r2) 05:55:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 28.1% of statements 05:55:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.172s coverage: 78.9% of statements 05:55:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.190s coverage: 7.8% of statements 05:55:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:55:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:55:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:55:42 (4/5) Installing libzmq (4.3.3-r0) 05:55:42 (5/5) Installing zeromq (4.3.3-r0) 05:55:42 Executing busybox-1.31.1-r20.trigger 05:55:42 OK: 8 MiB in 19 packages 05:55:42 Removing intermediate container 32aa456eee4d 05:55:42 ---> 6174b8992309 05:55:42 Step 14/23 : WORKDIR / 05:55:42 ---> Running in 1c5fef324e61 05:55:42 Removing intermediate container 1c5fef324e61 05:55:42 ---> 65a40abe436c 05:55:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:55:43 ---> dd166e83bc3f 05:55:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:55:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.272s coverage: 30.2% of statements 05:55:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:55:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:55:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:55:44 ---> 91b0d942b415 05:55:44 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:55:44 ---> e112ff8940ea 05:55:44 Step 18/23 : EXPOSE 49990 05:55:44 ---> Running in 7229dfd153ec 05:55:44 Removing intermediate container 7229dfd153ec 05:55:44 ---> 554ee2506f8a 05:55:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:55:44 ---> Running in b09d94c38ba6 05:55:44 Removing intermediate container b09d94c38ba6 05:55:44 ---> 5abd0bd8b076 05:55:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:55:44 ---> Running in 51523d77ff22 05:55:44 Removing intermediate container 51523d77ff22 05:55:44 ---> ff206ad3d42d 05:55:44 Step 21/23 : LABEL arch=amd64 05:55:44 ---> Running in 2b854cc64f61 05:55:44 Removing intermediate container 2b854cc64f61 05:55:44 ---> e7bb142b9b21 05:55:44 Step 22/23 : LABEL git_sha=74f5389fc2779f3384dbc642fd95aa127436f3d0 05:55:45 ---> Running in 7bacd660fa9c 05:55:45 Removing intermediate container 7bacd660fa9c 05:55:45 ---> 20f57002beac 05:55:45 Step 23/23 : LABEL version=0.0.0 05:55:45 ---> Running in 960760dc4458 05:55:45 Removing intermediate container 960760dc4458 05:55:45 ---> 12e7bcf70f4f 05:55:45 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:55:45 Successfully built 12e7bcf70f4f 05:55:45 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage 05:55:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.316s coverage: 57.2% of statements 05:55:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.415s coverage: 6.6% of statements [Pipeline] libraryResource [Pipeline] sh 05:55:46 ---> job-cost.sh 05:55:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-W4Qj 05:55:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.0% of statements 05:55:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:55:47 GO111MODULE=on go vet ./... 05:56:01 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:56:27 lf-activate-venv(): INFO: Adding /tmp/venv-W4Qj/bin to PATH 05:56:27 INFO: No Stack... 05:56:27 INFO: Retrieving Pricing Info for: v1-standard-2 05:56:27 INFO: Archiving Costs [Pipeline] sh 05:56:28 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:56:28 + cut -d, -f6 [Pipeline] lock 05:56:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] 05:56:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] did not exist. Created. 05:56:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:56:28 + echo total: 0.029999999329447746 [Pipeline] stash 05:56:28 Stashed 1 file(s) [Pipeline] } 05:56:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:56:43 gofmt -l . 05:56:43 [ "`gofmt -l .`" = "" ] 05:56:43 ./bin/test-attribution-txt.sh 05:56:43 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:56:43 $ docker stop --time=1 579e6ca63f181f5b1e579a93d27ce318e70002fac3886feae7ade351ea6573a3 05:56:45 $ docker rm -f 579e6ca63f181f5b1e579a93d27ce318e70002fac3886feae7ade351ea6573a3 [Pipeline] // withDockerContainer [Pipeline] sh 05:56:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:56:47 Warning: overwriting stash ‘coverage-report’ 05:56:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:56:48 + ls -al . 05:56:48 total 224 05:56:48 drwxrwxr-x 10 jenkins jenkins 4096 May 4 05:56 . 05:56:48 drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:52 .. 05:56:48 -rw-rw-r-- 1 jenkins jenkins 140 May 4 05:52 .dockerignore 05:56:48 drwxrwxr-x 8 jenkins jenkins 4096 May 4 05:52 .git 05:56:48 drwxrwxr-x 2 jenkins jenkins 4096 May 4 05:52 .github 05:56:48 -rw-rw-r-- 1 jenkins jenkins 138 May 4 05:52 .gitignore 05:56:48 -rw-rw-r-- 1 jenkins jenkins 987 May 4 05:52 Dockerfile.build 05:56:48 -rw-rw-r-- 1 jenkins jenkins 901 May 4 05:52 Jenkinsfile 05:56:48 -rw-rw-r-- 1 jenkins jenkins 11341 May 4 05:52 LICENSE 05:56:48 -rw-rw-r-- 1 jenkins jenkins 1022 May 4 05:52 Makefile 05:56:48 -rw-rw-r-- 1 jenkins jenkins 7652 May 4 05:52 README.md 05:56:48 -rw-rw-r-- 1 jenkins jenkins 6616 May 4 05:52 RELEASE-NOTES.txt 05:56:48 -rw-rw-r-- 1 jenkins jenkins 5 May 4 05:50 VERSION 05:56:48 drwxrwxr-x 2 jenkins jenkins 4096 May 4 05:52 bin 05:56:48 -rw-r--r-- 1 jenkins jenkins 100320 May 4 05:55 coverage.out 05:56:48 drwxrwxr-x 5 jenkins jenkins 4096 May 4 05:52 example 05:56:48 -rw-r--r-- 1 jenkins jenkins 575 May 4 05:56 go.mod 05:56:48 -rw-r--r-- 1 jenkins jenkins 20957 May 4 05:54 go.sum 05:56:48 drwxrwxr-x 14 jenkins jenkins 4096 May 4 05:52 internal 05:56:48 drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:52 openapi 05:56:48 drwxrwxr-x 5 jenkins jenkins 4096 May 4 05:52 pkg 05:56:48 drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:52 snap 05:56:48 -rw-rw-r-- 1 jenkins jenkins 222 May 4 05:52 version.go [Pipeline] isUnix [Pipeline] sh 05:56:49 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=74f5389fc2779f3384dbc642fd95aa127436f3d0 --label arch=arm64 --label version=0.0.0 . 05:56:49 Sending build context to Docker daemon 2.567MB 05:56:49 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:56:49 Step 2/23 : FROM ${BASE} AS builder 05:56:49 ---> 7ead30a569db 05:56:49 Step 3/23 : WORKDIR /device-sdk-go 05:56:50 ---> Running in b94d361cb8ca 05:56:50 Removing intermediate container b94d361cb8ca 05:56:50 ---> e383f94f29ce 05:56:50 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:50 ---> Running in 2eee0a2a2b1a 05:56:51 Removing intermediate container 2eee0a2a2b1a 05:56:51 ---> 0420365784f4 05:56:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:51 ---> Running in 8238670a7cce 05:56:53 Removing intermediate container 8238670a7cce 05:56:53 ---> feeeb14e106c 05:56:53 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:56:53 ---> Running in 91723cdd9563 05:56:54 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 05:56:55 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 05:56:56 OK: 139 MiB in 46 packages 05:56:57 Removing intermediate container 91723cdd9563 05:56:57 ---> 4c9dfa8fd10e 05:56:57 Step 7/23 : COPY . . 05:56:59 ---> e417ff4e6928 05:56:59 Step 8/23 : RUN go mod download 05:56:59 ---> Running in 345b2dd56dd4 05:57:01 Removing intermediate container 345b2dd56dd4 05:57:01 ---> 7f783e0e4d7c 05:57:01 Step 9/23 : RUN make build 05:57:01 ---> Running in 4ffe842251a3 05:57:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:57:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:57:37 Removing intermediate container 4ffe842251a3 05:57:37 ---> ef79ddc8d7e1 05:57:37 Step 10/23 : FROM alpine:3.12 05:57:37 3.12: Pulling from library/alpine 05:57:37 d2f70382dc9a: Pulling fs layer 05:57:37 d2f70382dc9a: Verifying Checksum 05:57:37 d2f70382dc9a: Download complete 05:57:38 d2f70382dc9a: Pull complete 05:57:38 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:57:38 Status: Downloaded newer image for alpine:3.12 05:57:38 ---> 9852663dfa18 05:57:38 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:38 ---> Running in 3e7a267fe961 05:57:39 Removing intermediate container 3e7a267fe961 05:57:39 ---> 081a2bbf441f 05:57:39 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:39 ---> Running in fea546e0bf8c 05:57:41 Removing intermediate container fea546e0bf8c 05:57:41 ---> deff912580d2 05:57:41 Step 13/23 : RUN apk add --update --no-cache zeromq 05:57:41 ---> Running in 6359f511028b 05:57:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:57:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:57:43 (1/5) Installing libgcc (9.3.0-r2) 05:57:43 (2/5) Installing libsodium (1.0.18-r0) 05:57:43 (3/5) Installing libstdc++ (9.3.0-r2) 05:57:44 (4/5) Installing libzmq (4.3.3-r0) 05:57:44 (5/5) Installing zeromq (4.3.3-r0) 05:57:44 Executing busybox-1.31.1-r20.trigger 05:57:44 OK: 8 MiB in 19 packages 05:57:45 Removing intermediate container 6359f511028b 05:57:45 ---> 1d2631abb5fa 05:57:45 Step 14/23 : WORKDIR / 05:57:45 ---> Running in 76e7a4f3d20b 05:57:46 Removing intermediate container 76e7a4f3d20b 05:57:46 ---> 8301b1499af5 05:57:46 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:57:46 ---> 8be2f1a4364a 05:57:46 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:57:48 ---> 1b4c522233e4 05:57:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:57:48 ---> 46849f6ec5ff 05:57:48 Step 18/23 : EXPOSE 49990 05:57:48 ---> Running in d960724f6631 05:57:49 Removing intermediate container d960724f6631 05:57:49 ---> 492fd509ad4a 05:57:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:57:49 ---> Running in 28aa73f91699 05:57:50 Removing intermediate container 28aa73f91699 05:57:50 ---> 42b9c13ba769 05:57:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:57:50 ---> Running in 108db515e67f 05:57:50 Removing intermediate container 108db515e67f 05:57:50 ---> 654d3af7f43c 05:57:50 Step 21/23 : LABEL arch=arm64 05:57:50 ---> Running in fec87757e8f4 05:57:51 Removing intermediate container fec87757e8f4 05:57:51 ---> 05cbc2cc11d5 05:57:51 Step 22/23 : LABEL git_sha=74f5389fc2779f3384dbc642fd95aa127436f3d0 05:57:51 ---> Running in 3ccb5ea2f2de 05:57:51 Removing intermediate container 3ccb5ea2f2de 05:57:51 ---> 2c7d1f59dda4 05:57:51 Step 23/23 : LABEL version=0.0.0 05:57:51 ---> Running in 636874ace515 05:57:52 Removing intermediate container 636874ace515 05:57:52 ---> d484dca75820 05:57:52 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:57:52 Successfully built d484dca75820 05:57:52 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:57:53 ---> job-cost.sh 05:57:53 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BsaH 05:58:32 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:59:53 lf-activate-venv(): INFO: Adding /tmp/venv-BsaH/bin to PATH 05:59:53 INFO: No Stack... 05:59:53 INFO: Retrieving Pricing Info for: lf-standard-4 05:59:54 INFO: Archiving Costs [Pipeline] sh 05:59:54 + cut -d, -f6 05:59:54 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 05:59:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] 05:59:54 Resource [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] did not exist. Created. 05:59:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:59:55 /w/workspace/device-sdk-go/1@tmp/durable-0a1b7180/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-0a1b7180/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:59:55 + echo total: 0.20999999344348907 [Pipeline] stash 05:59:55 Warning: overwriting stash ‘stack-cost’ 05:59:55 Stashed 1 file(s) [Pipeline] } 05:59:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 05:59:56 provisioning config files... 05:59:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/config1110995251990115555tmp [Pipeline] { [Pipeline] sh 05:59:57 + set +x 05:59:57 + curl -s https://codecov.io/bash 05:59:57 + bash -s -- 05:59:57 05:59:57 _____ _ 05:59:57 / ____| | | 05:59:57 | | ___ __| | ___ ___ _____ __ 05:59:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:59:57 | |___| (_) | (_| | __/ (_| (_) \ V / 05:59:57 \_____\___/ \__,_|\___|\___\___/ \_/ 05:59:57 Bash-1.0.2 05:59:57 05:59:57 05:59:57 ==> git version 2.24.3 found 05:59:57 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:59:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:59:57 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:59:57 ==> Jenkins CI detected. 05:59:57 project root: . 05:59:57 --> token set from env 05:59:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:59:57 ==> Running gcov in . (disable via -X gcov) 05:59:57 ==> Python coveragepy not found 05:59:57 ==> Searching for coverage reports in: 05:59:57 + . 05:59:57 -> Found 1 reports 05:59:57 ==> Detecting git/mercurial file structure 05:59:57 ==> Reading reports 05:59:57 + ./coverage.out bytes=100320 05:59:57 ==> Appending adjustments 05:59:57 https://docs.codecov.io/docs/fixing-reports 05:59:58 + Found adjustments 05:59:58 ==> Gzipping contents 05:59:58 16K /tmp/codecov.K9Y9A9.gz 05:59:58 ==> Uploading reports 05:59:58 url: https://codecov.io 05:59:58 query: branch=PR-903&commit=74f5389fc2779f3384dbc642fd95aa127436f3d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-903%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=903&job=&cmd_args= 05:59:58 -> Pinging Codecov 05:59:58 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-903&commit=74f5389fc2779f3384dbc642fd95aa127436f3d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-903%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=903&job=&cmd_args= 05:59:59 -> Uploading to 05:59:59 https://storage.googleapis.com/codecov/v4/raw/2021-05-04/7E55EF52A471D76F132DFD9A03CDDE97/74f5389fc2779f3384dbc642fd95aa127436f3d0/c8f62caa-0820-4f63-8679-bffa613662d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210504T055958Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4dcaff453d58a15a64b23e6f0847b9f77ecf564e7f86f49c6096589f16aa7688 05:59:59 % Total % Received % Xferd Average Speed Time Time Time Current 05:59:59 Dload Upload Total Spent Left Speed 05:59:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13534 0 0 100 13534 0 34510 --:--:-- --:--:-- --:--:-- 34525 05:59:59 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/74f5389fc2779f3384dbc642fd95aa127436f3d0 [Pipeline] } 05:59:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:00:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:00:02 ---> package-listing.sh 06:00:02 ++ facter osfamily 06:00:02 ++ tr '[:upper:]' '[:lower:]' 06:00:02 + OS_FAMILY=redhat 06:00:02 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-903 06:00:02 + START_PACKAGES=/tmp/packages_start.txt 06:00:02 + END_PACKAGES=/tmp/packages_end.txt 06:00:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:00:02 + PACKAGES=/tmp/packages_start.txt 06:00:02 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-903 ']' 06:00:02 + PACKAGES=/tmp/packages_end.txt 06:00:02 + case "${OS_FAMILY}" in 06:00:02 + rpm -qa 06:00:02 + sort 06:00:08 + '[' -f /tmp/packages_start.txt ']' 06:00:08 + '[' -f /tmp/packages_end.txt ']' 06:00:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:00:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-903 ']' 06:00:08 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-903/archives/ 06:00:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-903/archives/ [Pipeline] echo 06:00:08 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/dgexfoundry_device-sdk-go_PR-903/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:00:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:00:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:09 06:00:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:00:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:09 alpine: Pulling from edgex-lftools-log-publisher 06:00:09 df20fa9351a1: Pulling fs layer 06:00:09 36b3adc4ff6f: Pulling fs layer 06:00:09 8ad3a11d3b57: Pulling fs layer 06:00:09 46f8f816bc3b: Pulling fs layer 06:00:09 93b61091891f: Pulling fs layer 06:00:09 93b9cdb0e59b: Pulling fs layer 06:00:09 5e14af77c1be: Pulling fs layer 06:00:09 01666e4c0597: Pulling fs layer 06:00:09 aa168da1d23b: Pulling fs layer 06:00:09 93b9cdb0e59b: Waiting 06:00:09 5e14af77c1be: Waiting 06:00:09 01666e4c0597: Waiting 06:00:09 aa168da1d23b: Waiting 06:00:09 46f8f816bc3b: Waiting 06:00:09 93b61091891f: Waiting 06:00:09 36b3adc4ff6f: Download complete 06:00:09 46f8f816bc3b: Verifying Checksum 06:00:09 46f8f816bc3b: Download complete 06:00:09 df20fa9351a1: Verifying Checksum 06:00:09 df20fa9351a1: Download complete 06:00:09 93b61091891f: Verifying Checksum 06:00:09 93b61091891f: Download complete 06:00:09 93b9cdb0e59b: Verifying Checksum 06:00:09 93b9cdb0e59b: Download complete 06:00:09 01666e4c0597: Verifying Checksum 06:00:09 01666e4c0597: Download complete 06:00:09 5e14af77c1be: Download complete 06:00:09 8ad3a11d3b57: Verifying Checksum 06:00:09 8ad3a11d3b57: Download complete 06:00:10 df20fa9351a1: Pull complete 06:00:10 36b3adc4ff6f: Pull complete 06:00:11 8ad3a11d3b57: Pull complete 06:00:12 46f8f816bc3b: Pull complete 06:00:12 93b61091891f: Pull complete 06:00:13 93b9cdb0e59b: Pull complete 06:00:13 aa168da1d23b: Download complete 06:00:13 5e14af77c1be: Pull complete 06:00:13 01666e4c0597: Pull complete 06:00:22 aa168da1d23b: Pull complete 06:00:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:00:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:00:22 prd-centos7-docker-4c-2g-2858 does not seem to be running inside a container 06:00:22 $ 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/dgexfoundry_device-sdk-go_PR-903/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-903 -v /w/workspace/dgexfoundry_device-sdk-go_PR-903:/w/workspace/dgexfoundry_device-sdk-go_PR-903:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-903@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 06:00:25 $ docker top d5b72b4758a85d67253db04d54dbf7a6cd7e62cfb8de62660370909fc5da2be7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:26 + touch /tmp/pre-build-complete [Pipeline] sh 06:00:26 + mkdir -p /var/log/sa [Pipeline] sh 06:00:26 + ls /var/log/sa-host 06:00:26 + sadf -c /var/log/sa-host/sa04 06:00:26 file_magic: OK 06:00:26 HZ: Using current value: 100 06:00:26 file_header: OK 06:00:26 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:00:26 Statistics: 06:00:26 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:00:26 File successfully converted to sysstat format version 12.2.1 06:00:26 + sadf -c /var/log/sa-host/sa23 06:00:26 file_magic: OK 06:00:26 HZ: Using current value: 100 06:00:26 file_header: OK 06:00:26 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:00:26 Statistics: 06:00:26 Hnuu...uuuununununu... 06:00:26 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:00:27 provisioning config files... 06:00:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/config3514192245978150662tmp [Pipeline] { [Pipeline] echo 06:00:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:00:28 ---> create-netrc.sh [Pipeline] } 06:00:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:00:28 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:00:28 ---> python-tools-install.sh [Pipeline] echo 06:00:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:00:29 ---> sudo-logs.sh 06:00:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:00:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:00:29 ---> job-cost.sh 06:00:29 lf-activate-venv: SKIPPING 06:00:29 DEBUG: total: 0.20999999344348907 06:00:29 INFO: Retrieving Stack Cost... 06:00:30 INFO: Retrieving Pricing Info for: v1-standard-2 06:00:31 INFO: Archiving Costs [Pipeline] echo 06:00:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:00:31 ---> logs-deploy.sh 06:00:31 lf-activate-venv: SKIPPING 06:00:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-903/1 06:00:31 INFO: archiving workspace using pattern(s): 06:00:34 Archives upload complete. 06:00:34 INFO: archiving logs to Nexus