Pull request #861 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0d6337168db61fcb84a7ec387ee0722cf60d35ea+1894bc1e392d8688e2b497c25b4baea951eb17b4 (71b9a6144d0aab4fabdb156fc937e6c907909340) 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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-861/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 57ded3389ef25720063a8030e5c426a6b7ea5b20 # timeout=10 Commit message: "Merge pull request #323 from siggiskulason/update-snap-build" > 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-861/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-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-32897 in /w/workspace/dgexfoundry_device-sdk-go_PR-861 [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-861 # 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 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 0d6337168db61fcb84a7ec387ee0722cf60d35ea Merge succeeded, producing 0d6337168db61fcb84a7ec387ee0722cf60d35ea Checking out Revision 0d6337168db61fcb84a7ec387ee0722cf60d35ea (PR-861) > 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/861/head:refs/remotes/origin/PR-861 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # 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 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:57:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:57:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:57:13 ========================================================= 05:57:13 EdgeX Global Pipelines Version Info 05:57:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:57:16 ------------------- 05:57:16 stable info: 05:57:16 ------------------- 05:57:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:57:16 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:57:16 Message: update stable to v1.0.186 05:57:17 ------------------- 05:57:17 experimental info: 05:57:17 ------------------- 05:57:17 Commited By: **** collab-it+edgex@linuxfoundation.org 05:57:17 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 05:57:17 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:57:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:57:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:57:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:57:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:57:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:57:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:57:19 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:57:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:57:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:57:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:57:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:57:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:57:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:57:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:57:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:57:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:57:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:57:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:57:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:57:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:57:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:57:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-861 [Pipeline] echo 05:57:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-861 [Pipeline] echo 05:57:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-861 [Pipeline] echo 05:57:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d6337168db61fcb84a7ec387ee0722cf60d35ea [Pipeline] echo 05:57:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d63371 [Pipeline] echo 05:57:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:57:22 provisioning config files... 05:57:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/config1503870926021327959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:57:23 ---> docker-login.sh 05:57:23 nexus3.edgexfoundry.org:10001 05:57:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:24 Configure a credential helper to remove this warning. See 05:57:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:24 05:57:24 Login Succeeded 05:57:24 nexus3.edgexfoundry.org:10002 05:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:25 Configure a credential helper to remove this warning. See 05:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:25 05:57:25 Login Succeeded 05:57:25 nexus3.edgexfoundry.org:10003 05:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:26 Configure a credential helper to remove this warning. See 05:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:26 05:57:26 Login Succeeded 05:57:26 nexus3.edgexfoundry.org:10004 05:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:27 Configure a credential helper to remove this warning. See 05:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:27 05:57:27 Login Succeeded 05:57:27 docker.io 05:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:57:27 Configure a credential helper to remove this warning. See 05:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:57:27 05:57:27 Login Succeeded 05:57:27 ---> docker-login.sh ends [Pipeline] } 05:57:27 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:57:28 + git log --format=format:%s -1 0d6337168db61fcb84a7ec387ee0722cf60d35ea [Pipeline] echo 05:57:29 GIT_COMMIT: 0d6337168db61fcb84a7ec387ee0722cf60d35ea, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 05:57:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:57:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:30 05:57:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:57:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:31 latest: Pulling from edgex-devops/git-semver 05:57:31 31603596830f: Pulling fs layer 05:57:31 2a8b12db71e7: Pulling fs layer 05:57:31 6ca5941a6612: Pulling fs layer 05:57:31 ecc8261a40a4: Pulling fs layer 05:57:31 ecc8261a40a4: Waiting 05:57:31 2a8b12db71e7: Verifying Checksum 05:57:31 2a8b12db71e7: Download complete 05:57:32 31603596830f: Verifying Checksum 05:57:32 31603596830f: Download complete 05:57:33 ecc8261a40a4: Verifying Checksum 05:57:33 ecc8261a40a4: Download complete 05:57:33 6ca5941a6612: Verifying Checksum 05:57:33 6ca5941a6612: Download complete 05:57:33 31603596830f: Pull complete 05:57:34 2a8b12db71e7: Pull complete 05:57:37 6ca5941a6612: Pull complete 05:57:37 ecc8261a40a4: Pull complete 05:57:37 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:57:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:57:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:57:38 prd-centos7-docker-4c-2g-32897 does not seem to be running inside a container 05:57:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-861 -v /w/workspace/dgexfoundry_device-sdk-go_PR-861:/w/workspace/dgexfoundry_device-sdk-go_PR-861:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-861@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:57:42 $ docker top e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:57:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:43 [ssh-agent] Looking for ssh-agent implementation... 05:57:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:44 $ docker exec e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c ssh-agent 05:57:45 SSH_AUTH_SOCK=/tmp/ssh-bDL9W4LEIx2C/agent.11 05:57:45 SSH_AGENT_PID=16 05:57:45 Running ssh-add (command line suppressed) 05:57:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/private_key_5466401086347461999.key (/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/private_key_5466401086347461999.key) 05:57:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:46 + git tag --points-at HEAD [Pipeline] } 05:57:46 $ docker exec --env ******** --env ******** e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c ssh-agent -k 05:57:47 unset SSH_AUTH_SOCK; 05:57:47 unset SSH_AGENT_PID; 05:57:47 echo Agent pid 16 killed; 05:57:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:57:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:47 [ssh-agent] Looking for ssh-agent implementation... 05:57:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:49 $ docker exec e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c ssh-agent 05:57:50 SSH_AUTH_SOCK=/tmp/ssh-922Fu3hGEgEZ/agent.45 05:57:50 SSH_AGENT_PID=50 05:57:50 Running ssh-add (command line suppressed) 05:57:51 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/private_key_6587596094864636931.key (/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/private_key_6587596094864636931.key) 05:57:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:52 + git semver init 05:57:52 # -> Open(): unable to determine branch for HEAD 05:57:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-861/.git 05:57:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-861 05:57:52 # $SEMVER_REMOTE_NAME = origin 05:57:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:57:52 # $SEMVER_USER_NAME = edgex-jenkins 05:57:52 # $SEMVER_BRANCH = PR-861 05:57:52 # $SEMVER_TEMP = /tmp/semver-007299854 05:57:52 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:57:54 # '/tmp/semver-007299854' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-861/.semver' 05:57:54 # -> Force: false 05:57:54 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-861/.semver [Pipeline] } 05:57:54 $ docker exec --env ******** --env ******** e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c ssh-agent -k 05:57:54 unset SSH_AUTH_SOCK; 05:57:54 unset SSH_AGENT_PID; 05:57:54 echo Agent pid 50 killed; 05:57:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:57:55 + git semver [Pipeline] } 05:57:55 $ docker stop --time=1 e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c 05:57:57 $ docker rm -f e9ef38ba36e836bc8e7c578550b5ce515f3afd7fb4838a7d40eccdf87e89f03c [Pipeline] // withDockerContainer [Pipeline] sh 05:57:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:57:59 Stashed 1 file(s) [Pipeline] echo 05:57:59 [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:58:15 Still waiting to schedule task 05:58:15 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:58:15 Still waiting to schedule task 05:58:15 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:00:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32898 in /w/workspace/dgexfoundry_device-sdk-go_PR-861 [Pipeline] { [Pipeline] ws 06:00:06 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:00:11 using credential edgex-jenkins-ssh 06:00:11 Cloning the remote Git repository 06:00:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:00:11 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:00:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:00:11 > git --version # timeout=10 06:00:11 > git --version # 'git version 2.17.1' 06:00:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:00:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:13 Merging remotes/origin/master commit 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 0d6337168db61fcb84a7ec387ee0722cf60d35ea 06:00:13 Merge succeeded, producing 0d6337168db61fcb84a7ec387ee0722cf60d35ea 06:00:13 Checking out Revision 0d6337168db61fcb84a7ec387ee0722cf60d35ea (PR-861) 06:00:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:00:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:00:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/861/head:refs/remotes/origin/PR-861 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:13 > git config core.sparsecheckout # timeout=10 06:00:13 > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 06:00:13 > git remote # timeout=10 06:00:13 > git config --get remote.origin.url # timeout=10 06:00:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:13 > git merge 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 06:00:13 > git rev-parse HEAD^{commit} # timeout=10 06:00:13 > git config core.sparsecheckout # timeout=10 06:00:13 > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 06:00:18 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 06:00:18 > git --version # timeout=10 06:00:18 > git --version # 'git version 2.17.1' 06:00:18 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:00:20 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:00:20 + sudo service docker restart 06:00:20 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:00:23 provisioning config files... 06:00:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7205713970005612530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:24 ---> docker-login.sh 06:00:24 nexus3.edgexfoundry.org:10001 06:00:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:25 Configure a credential helper to remove this warning. See 06:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:25 06:00:25 Login Succeeded 06:00:25 nexus3.edgexfoundry.org:10002 06:00:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:25 Configure a credential helper to remove this warning. See 06:00:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:25 06:00:25 Login Succeeded 06:00:25 nexus3.edgexfoundry.org:10003 06:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:26 Configure a credential helper to remove this warning. See 06:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:26 06:00:26 Login Succeeded 06:00:26 nexus3.edgexfoundry.org:10004 06:00:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:26 Configure a credential helper to remove this warning. See 06:00:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:26 06:00:26 Login Succeeded 06:00:26 docker.io 06:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:27 Configure a credential helper to remove this warning. See 06:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:27 06:00:27 Login Succeeded 06:00:27 ---> docker-login.sh ends [Pipeline] } 06:00:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:28 ========================================================= 06:00:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:00:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:00:28 + 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:00:29 Sending build context to Docker daemon 2.362MB 06:00:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:00:29 Step 2/8 : FROM ${BASE} 06:00:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:00:29 5f621e34cdf4: Pulling fs layer 06:00:29 a4357932f1b6: Pulling fs layer 06:00:29 18c013af1878: Pulling fs layer 06:00:29 00ac8860ef70: Pulling fs layer 06:00:29 63d7cb157983: Pulling fs layer 06:00:29 b116817d02f9: Pulling fs layer 06:00:29 745a02a5169b: Pulling fs layer 06:00:29 00ac8860ef70: Waiting 06:00:29 63d7cb157983: Waiting 06:00:29 b116817d02f9: Waiting 06:00:29 745a02a5169b: Waiting 06:00:29 18c013af1878: Download complete 06:00:29 a4357932f1b6: Download complete 06:00:29 63d7cb157983: Verifying Checksum 06:00:29 63d7cb157983: Download complete 06:00:29 b116817d02f9: Verifying Checksum 06:00:29 b116817d02f9: Download complete 06:00:29 5f621e34cdf4: Verifying Checksum 06:00:29 5f621e34cdf4: Download complete 06:00:30 5f621e34cdf4: Pull complete 06:00:30 a4357932f1b6: Pull complete 06:00:31 18c013af1878: Pull complete 06:00:32 745a02a5169b: Verifying Checksum 06:00:32 745a02a5169b: Download complete 06:00:33 00ac8860ef70: Verifying Checksum 06:00:33 00ac8860ef70: Download complete 06:00:43 00ac8860ef70: Pull complete 06:00:43 63d7cb157983: Pull complete 06:00:43 b116817d02f9: Pull complete 06:00:45 Running on prd-centos7-docker-4c-2g-32899 in /w/workspace/dgexfoundry_device-sdk-go_PR-861 [Pipeline] { [Pipeline] ws 06:00:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:00:48 using credential edgex-jenkins-ssh 06:00:48 Cloning the remote Git repository 06:00:48 745a02a5169b: Pull complete 06:00:48 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:00:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:00:48 ---> b7e6874047d6 06:00:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:00:48 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:00:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:00:48 > git --version # timeout=10 06:00:48 > git --version # 'git version 2.24.3' 06:00:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:49 Merging remotes/origin/master commit 1894bc1e392d8688e2b497c25b4baea951eb17b4 into PR head commit 0d6337168db61fcb84a7ec387ee0722cf60d35ea 06:00:49 Merge succeeded, producing 0d6337168db61fcb84a7ec387ee0722cf60d35ea 06:00:49 Checking out Revision 0d6337168db61fcb84a7ec387ee0722cf60d35ea (PR-861) 06:00:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:00:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:00:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:00:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/861/head:refs/remotes/origin/PR-861 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:49 > git config core.sparsecheckout # timeout=10 06:00:49 > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 06:00:49 > git remote # timeout=10 06:00:49 > git config --get remote.origin.url # timeout=10 06:00:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:49 > git merge 1894bc1e392d8688e2b497c25b4baea951eb17b4 # timeout=10 06:00:49 > git rev-parse HEAD^{commit} # timeout=10 06:00:49 > git config core.sparsecheckout # timeout=10 06:00:49 > git checkout -f 0d6337168db61fcb84a7ec387ee0722cf60d35ea # timeout=10 06:00:50 ---> Running in f223882267e3 06:00:50 Removing intermediate container f223882267e3 06:00:50 ---> 3b67b8134ec3 06:00:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:50 ---> Running in 344e9a7c00ae 06:00:53 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 06:00:53 > git --version # timeout=10 06:00:53 > git --version # 'git version 2.24.3' 06:00:53 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 06:00:53 Removing intermediate container 344e9a7c00ae 06:00:53 ---> db888011a93b 06:00:53 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:00:53 ---> Running in 792698bef4e1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:54 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:00:54 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:00:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json 06:00:55 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] sh 06:00:55 + true 06:00:55 + sudo service docker restart 06:00:55 Redirecting to /bin/systemctl restart docker.service 06:00:56 (1/6) Installing libc-dev (0.7.2-r3) 06:00:56 (2/6) Installing libsodium (1.0.18-r0) 06:00:56 (3/6) Installing pkgconf (1.7.2-r0) 06:00:56 (4/6) Installing libsodium-dev (1.0.18-r0) 06:00:56 (5/6) Installing libzmq (4.3.3-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:00:56 provisioning config files... 06:00:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6196781999192343665tmp 06:00:56 (6/6) Installing zeromq-dev (4.3.3-r0) 06:00:56 Executing busybox-1.31.1-r19.trigger [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:56 OK: 144 MiB in 45 packages 06:00:56 ---> docker-login.sh 06:00:56 nexus3.edgexfoundry.org:10001 06:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:57 Configure a credential helper to remove this warning. See 06:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:57 06:00:57 Login Succeeded 06:00:57 nexus3.edgexfoundry.org:10002 06:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:57 Configure a credential helper to remove this warning. See 06:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:57 06:00:57 Login Succeeded 06:00:57 nexus3.edgexfoundry.org:10003 06:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:57 Configure a credential helper to remove this warning. See 06:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:57 06:00:57 Login Succeeded 06:00:57 nexus3.edgexfoundry.org:10004 06:00:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:57 Configure a credential helper to remove this warning. See 06:00:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:57 06:00:57 Login Succeeded 06:00:57 docker.io 06:00:57 Removing intermediate container 792698bef4e1 06:00:57 ---> 4dd971526ebe 06:00:57 Step 6/8 : WORKDIR /device-sdk-go 06:00:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:58 ---> Running in 608e243f0fbd 06:00:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:58 Configure a credential helper to remove this warning. See 06:00:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:58 06:00:58 Login Succeeded 06:00:58 ---> docker-login.sh ends [Pipeline] } 06:00:58 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 06:00:58 Removing intermediate container 608e243f0fbd 06:00:58 ---> 23bb564040b8 06:00:58 Step 7/8 : COPY . . [Pipeline] echo 06:00:58 ========================================================= 06:00:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:00:58 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:00:59 + 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 . 06:00:59 Sending build context to Docker daemon 2.363MB 06:00:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:00:59 Step 2/8 : FROM ${BASE} 06:00:59 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:59 188c0c94c7c5: Pulling fs layer 06:00:59 0ef7d3d256c8: Pulling fs layer 06:00:59 de9db76c5a1d: Pulling fs layer 06:00:59 bca2f99d35d6: Pulling fs layer 06:00:59 93359f2a8cfa: Pulling fs layer 06:00:59 7c6f9722023f: Pulling fs layer 06:00:59 a35cf1a2eb13: Pulling fs layer 06:00:59 93359f2a8cfa: Waiting 06:00:59 7c6f9722023f: Waiting 06:00:59 a35cf1a2eb13: Waiting 06:00:59 bca2f99d35d6: Waiting 06:00:59 de9db76c5a1d: Verifying Checksum 06:00:59 de9db76c5a1d: Download complete 06:00:59 0ef7d3d256c8: Download complete 06:00:59 93359f2a8cfa: Verifying Checksum 06:00:59 93359f2a8cfa: Download complete 06:00:59 188c0c94c7c5: Verifying Checksum 06:00:59 188c0c94c7c5: Download complete 06:00:59 7c6f9722023f: Download complete 06:00:59 ---> f6a9d85f578a 06:00:59 Step 8/8 : RUN go mod download 06:00:59 188c0c94c7c5: Pull complete 06:00:59 ---> Running in a544fccceede 06:01:00 0ef7d3d256c8: Pull complete 06:01:00 de9db76c5a1d: Pull complete 06:01:01 a35cf1a2eb13: Verifying Checksum 06:01:01 a35cf1a2eb13: Download complete 06:01:02 bca2f99d35d6: Verifying Checksum 06:01:02 bca2f99d35d6: Download complete 06:01:07 bca2f99d35d6: Pull complete 06:01:07 93359f2a8cfa: Pull complete 06:01:07 7c6f9722023f: Pull complete 06:01:12 a35cf1a2eb13: Pull complete 06:01:13 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:01:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:01:13 ---> a62c8e92a672 06:01:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:13 ---> Running in f5bbca98dc03 06:01:13 Removing intermediate container f5bbca98dc03 06:01:13 ---> fd90a52b5281 06:01:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:13 ---> Running in 442b815dd17b 06:01:14 Removing intermediate container 442b815dd17b 06:01:14 ---> 6f5fb0ea7473 06:01:14 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 06:01:14 ---> Running in 80098d7957b3 06:01:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:01:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:01:16 (1/6) Installing libc-dev (0.7.2-r3) 06:01:17 (2/6) Installing libsodium (1.0.18-r0) 06:01:17 (3/6) Installing pkgconf (1.7.2-r0) 06:01:17 (4/6) Installing libsodium-dev (1.0.18-r0) 06:01:17 (5/6) Installing libzmq (4.3.3-r0) 06:01:17 (6/6) Installing zeromq-dev (4.3.3-r0) 06:01:17 Executing busybox-1.31.1-r19.trigger 06:01:17 OK: 167 MiB in 45 packages 06:01:18 Removing intermediate container 80098d7957b3 06:01:18 ---> 8de8eb969144 06:01:18 Step 6/8 : WORKDIR /device-sdk-go 06:01:18 ---> Running in 2f074c545966 06:01:18 Removing intermediate container 2f074c545966 06:01:18 ---> 2ca40cd1b0c8 06:01:18 Step 7/8 : COPY . . 06:01:20 ---> 98e29a201d2f 06:01:20 Step 8/8 : RUN go mod download 06:01:20 ---> Running in 2b55f71925ec 06:01:26 Removing intermediate container a544fccceede 06:01:26 ---> 3e356c1fd395 06:01:26 Successfully built 3e356c1fd395 06:01:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:01:27 + docker inspect -f . ci-base-image-arm64 06:01:27 . [Pipeline] withDockerContainer 06:01:27 prd-ubuntu18.04-docker-arm64-4c-16g-32898 does not seem to be running inside a container 06:01:27 $ 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 06:01:29 $ docker top 2dac21993b0c8f465fe48bee08e05c3819d99682693598fcb898a67f4a434170 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:30 + go version 06:01:30 go version go1.15.5 linux/arm64 [Pipeline] } 06:01:30 $ docker stop --time=1 2dac21993b0c8f465fe48bee08e05c3819d99682693598fcb898a67f4a434170 06:01:32 $ docker rm -f 2dac21993b0c8f465fe48bee08e05c3819d99682693598fcb898a67f4a434170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:01:33 + docker inspect -f . ci-base-image-arm64 06:01:33 . [Pipeline] withDockerContainer 06:01:33 prd-ubuntu18.04-docker-arm64-4c-16g-32898 does not seem to be running inside a container 06:01:33 $ 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 06:01:35 $ docker top 49ba683b971a1fde9146acc39af730c21e438e8d6f4caaf04c28afc99767a6fc -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:36 + make test 06:01:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:01:42 Removing intermediate container 2b55f71925ec 06:01:42 ---> 5d1077540e5c 06:01:42 Successfully built 5d1077540e5c 06:01:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:01:42 + docker inspect -f . ci-base-image-x86_64 06:01:42 . [Pipeline] withDockerContainer 06:01:43 prd-centos7-docker-4c-2g-32899 does not seem to be running inside a container 06:01:43 $ 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 06:01:43 $ docker top 3e603c77a9c2de32e967fc817b1d4571299b63acf4bcd1827c703b1a765a2d60 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:44 + go version 06:01:44 go version go1.15.5 linux/amd64 [Pipeline] } 06:01:44 $ docker stop --time=1 3e603c77a9c2de32e967fc817b1d4571299b63acf4bcd1827c703b1a765a2d60 06:01:45 $ docker rm -f 3e603c77a9c2de32e967fc817b1d4571299b63acf4bcd1827c703b1a765a2d60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:01:46 + docker inspect -f . ci-base-image-x86_64 06:01:46 . [Pipeline] withDockerContainer 06:01:47 prd-centos7-docker-4c-2g-32899 does not seem to be running inside a container 06:01:47 $ 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 06:01:47 $ docker top c72ab28d3d54bb6de9d7fb32df26343e95f6bb4592a21448863bbcc31ffdec5f -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:48 + make test 06:01:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:01:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:01:58 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:02:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:02:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:02:14 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:02:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:02:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:02:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 28.1% of statements 06:02:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 81.2% of statements 06:02:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.074s coverage: 7.8% of statements 06:02:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:02:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:02:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:02:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 32.5% of statements 06:02:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:02:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:02:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:02:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 57.3% of statements 06:02:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.183s coverage: 6.6% of statements 06:02:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 06:02:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:02:19 GO111MODULE=on go vet ./... 06:02:35 gofmt -l . 06:02:35 [ "`gofmt -l .`" = "" ] 06:02:35 ./bin/test-attribution-txt.sh 06:02:35 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:02:35 $ docker stop --time=1 c72ab28d3d54bb6de9d7fb32df26343e95f6bb4592a21448863bbcc31ffdec5f 06:02:37 $ docker rm -f c72ab28d3d54bb6de9d7fb32df26343e95f6bb4592a21448863bbcc31ffdec5f [Pipeline] // withDockerContainer [Pipeline] sh 06:02:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:41 + ls -al . 06:02:41 total 188 06:02:41 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 06:02 . 06:02:41 drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 06:00 .. 06:02:41 drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 06:00 bin 06:02:41 -rw-r--r--. 1 jenkins jenkins 101239 Apr 6 06:02 coverage.out 06:02:41 -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 06:00 Dockerfile.build 06:02:41 -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 06:00 .dockerignore 06:02:41 drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 06:00 example 06:02:41 drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 06:00 .git 06:02:41 drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 06:00 .github 06:02:41 -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 06:00 .gitignore 06:02:41 -rw-r--r--. 1 jenkins jenkins 572 Apr 6 06:02 go.mod 06:02:41 -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 06:02 go.sum 06:02:41 drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 06:00 internal 06:02:41 -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 06:00 Jenkinsfile 06:02:41 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 06:00 LICENSE 06:02:41 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 06:00 Makefile 06:02:41 drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 06:00 openapi 06:02:41 drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 06:00 pkg 06:02:41 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 06:00 README.md 06:02:41 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 06:00 RELEASE-NOTES.txt 06:02:41 drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 06:00 snap 06:02:41 -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 05:57 VERSION 06:02:41 -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 06:00 version.go [Pipeline] isUnix [Pipeline] sh 06:02:42 + 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=0d6337168db61fcb84a7ec387ee0722cf60d35ea --label arch=amd64 --label version=0.0.0 . 06:02:42 Sending build context to Docker daemon 2.465MB 06:02:42 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:02:42 Step 2/23 : FROM ${BASE} AS builder 06:02:42 ---> 5d1077540e5c 06:02:42 Step 3/23 : WORKDIR /device-sdk-go 06:02:43 ---> Running in df88ae328e07 06:02:43 Removing intermediate container df88ae328e07 06:02:43 ---> e7855e37b8f2 06:02:43 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:43 ---> Running in 73b36b00deaf 06:02:43 Removing intermediate container 73b36b00deaf 06:02:43 ---> 5fd2ee25c172 06:02:43 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:43 ---> Running in d4a800d65dd3 06:02:44 Removing intermediate container d4a800d65dd3 06:02:44 ---> a44e02e47b14 06:02:44 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:02:44 ---> Running in ac6370244922 06:02:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:02:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:02:46 OK: 167 MiB in 45 packages 06:02:47 Removing intermediate container ac6370244922 06:02:47 ---> 8639b8c12bb1 06:02:47 Step 7/23 : COPY . . 06:02:48 ---> 04bf10ba1fe1 06:02:48 Step 8/23 : RUN go mod download 06:02:48 ---> Running in bed740ea8f92 06:02:49 Removing intermediate container bed740ea8f92 06:02:49 ---> 5a843f3393ca 06:02:49 Step 9/23 : RUN make build 06:02:49 ---> Running in b44c935282cb 06:02:49 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 06:02:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:02:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:02:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:02:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:02:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:02:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.135s coverage: 28.1% of statements 06:02:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.210s coverage: 81.2% of statements 06:02:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.152s coverage: 7.8% of statements 06:02:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:02:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:02:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:03:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:03:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.311s coverage: 32.5% of statements 06:03:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:03:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:03:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:03:02 Removing intermediate container b44c935282cb 06:03:02 ---> 0ce07e0fe0d6 06:03:02 Step 10/23 : FROM alpine:3.12 06:03:02 3.12: Pulling from library/alpine 06:03:02 532819f3e44c: Pulling fs layer 06:03:02 532819f3e44c: Verifying Checksum 06:03:02 532819f3e44c: Download complete 06:03:03 532819f3e44c: Pull complete 06:03:03 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:03:03 Status: Downloaded newer image for alpine:3.12 06:03:03 ---> 7230e588e954 06:03:03 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:03 ---> Running in 21d156bfee29 06:03:03 Removing intermediate container 21d156bfee29 06:03:03 ---> 9d215283fd20 06:03:03 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:03 ---> Running in 7388379e14c9 06:03:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.261s coverage: 57.3% of statements 06:03:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.082s coverage: 6.6% of statements 06:03:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.147s coverage: 5.0% of statements 06:03:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:03:04 Removing intermediate container 7388379e14c9 06:03:04 ---> 072372946fe1 06:03:04 Step 13/23 : RUN apk add --update --no-cache zeromq 06:03:04 ---> Running in 47456b454c59 06:03:04 GO111MODULE=on go vet ./... 06:03:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:03:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:03:06 (1/5) Installing libgcc (9.3.0-r2) 06:03:06 (2/5) Installing libsodium (1.0.18-r0) 06:03:06 (3/5) Installing libstdc++ (9.3.0-r2) 06:03:07 (4/5) Installing libzmq (4.3.3-r0) 06:03:07 (5/5) Installing zeromq (4.3.3-r0) 06:03:07 Executing busybox-1.31.1-r20.trigger 06:03:07 OK: 8 MiB in 19 packages 06:03:07 Removing intermediate container 47456b454c59 06:03:07 ---> 8d12c8aef916 06:03:07 Step 14/23 : WORKDIR / 06:03:07 ---> Running in 9e2f8dd49876 06:03:07 Removing intermediate container 9e2f8dd49876 06:03:07 ---> f73fd5ff6606 06:03:07 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:03:08 ---> 84887a9875f5 06:03:08 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:03:08 ---> 0c66788aa30a 06:03:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:03:09 ---> 20b79baa610f 06:03:09 Step 18/23 : EXPOSE 49990 06:03:09 ---> Running in 177dbbb3bffd 06:03:09 Removing intermediate container 177dbbb3bffd 06:03:09 ---> 55d0ca49c107 06:03:09 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:03:09 ---> Running in 0f9e9e664743 06:03:09 Removing intermediate container 0f9e9e664743 06:03:09 ---> a4c8cff0efa0 06:03:09 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:03:09 ---> Running in e46dd1b9b93c 06:03:09 Removing intermediate container e46dd1b9b93c 06:03:09 ---> e6a2175fc41c 06:03:09 Step 21/23 : LABEL arch=amd64 06:03:09 ---> Running in 132252f18871 06:03:10 Removing intermediate container 132252f18871 06:03:10 ---> 197f737e9618 06:03:10 Step 22/23 : LABEL git_sha=0d6337168db61fcb84a7ec387ee0722cf60d35ea 06:03:10 ---> Running in 981417d2a506 06:03:10 Removing intermediate container 981417d2a506 06:03:10 ---> 659c3c475181 06:03:10 Step 23/23 : LABEL version=0.0.0 06:03:10 ---> Running in 495476462c2e 06:03:10 Removing intermediate container 495476462c2e 06:03:10 ---> ece20a54c409 06:03:10 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:03:10 Successfully built ece20a54c409 06:03:10 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 [Pipeline] libraryResource [Pipeline] sh 06:03:12 ---> job-cost.sh 06:03:12 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0jS9 06:03:27 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:03:51 gofmt -l . 06:03:51 [ "`gofmt -l .`" = "" ] 06:03:51 ./bin/test-attribution-txt.sh 06:03:51 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:03:51 $ docker stop --time=1 49ba683b971a1fde9146acc39af730c21e438e8d6f4caaf04c28afc99767a6fc 06:03:53 lf-activate-venv(): INFO: Adding /tmp/venv-0jS9/bin to PATH 06:03:53 INFO: No Stack... 06:03:53 INFO: Retrieving Pricing Info for: v1-standard-2 06:03:53 INFO: Archiving Costs 06:03:54 $ docker rm -f 49ba683b971a1fde9146acc39af730c21e438e8d6f4caaf04c28afc99767a6fc [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 06:03:55 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:03:55 + cut -d, -f6 06:03:55 + sudo chown -R jenkins:jenkins . [Pipeline] lock 06:03:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] 06:03:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] did not exist. Created. 06:03:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] [Pipeline] { [Pipeline] stash 06:03:55 Warning: overwriting stash ‘coverage-report’ [Pipeline] unstash [Pipeline] sh 06:03:55 + echo total: 0.029999999329447746 [Pipeline] stash 06:03:56 Stashed 1 file(s) [Pipeline] } 06:03:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv 06:03:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] } [Pipeline] // ws [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // node [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:03:58 + ls -al . 06:03:58 total 224 06:03:58 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 06:03 . 06:03:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 06:00 .. 06:03:58 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 06:00 .dockerignore 06:03:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 06:00 .git 06:03:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 06:00 .github 06:03:58 -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 06:00 .gitignore 06:03:58 -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 06:00 Dockerfile.build 06:03:58 -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 06:00 Jenkinsfile 06:03:58 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 06:00 LICENSE 06:03:58 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 06:00 Makefile 06:03:58 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 06:00 README.md 06:03:58 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 06:00 RELEASE-NOTES.txt 06:03:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 05:57 VERSION 06:03:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 06:00 bin 06:03:58 -rw-r--r-- 1 jenkins jenkins 101239 Apr 6 06:03 coverage.out 06:03:58 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 06:00 example 06:03:58 -rw-r--r-- 1 jenkins jenkins 572 Apr 6 06:03 go.mod 06:03:58 -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 06:03 go.sum 06:03:58 drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 06:00 internal 06:03:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 06:00 openapi 06:03:58 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 06:00 pkg 06:03:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 06:00 snap 06:03:58 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 06:00 version.go [Pipeline] isUnix [Pipeline] sh 06:03:58 + 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=0d6337168db61fcb84a7ec387ee0722cf60d35ea --label arch=arm64 --label version=0.0.0 . 06:03:59 Sending build context to Docker daemon 2.464MB 06:03:59 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:03:59 Step 2/23 : FROM ${BASE} AS builder 06:03:59 ---> 3e356c1fd395 06:03:59 Step 3/23 : WORKDIR /device-sdk-go 06:03:59 ---> Running in 0b74a65acc6c 06:03:59 Removing intermediate container 0b74a65acc6c 06:03:59 ---> daf92012fb24 06:03:59 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:59 ---> Running in 4cd8f9c4c978 06:04:00 Removing intermediate container 4cd8f9c4c978 06:04:00 ---> b8e2e5d4c49a 06:04:00 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:00 ---> Running in ec7099c7e1a5 06:04:02 Removing intermediate container ec7099c7e1a5 06:04:02 ---> f6418892dde9 06:04:02 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:04:02 ---> Running in a6673efd95f4 06:04:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:04:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:04:05 OK: 144 MiB in 45 packages 06:04:06 Removing intermediate container a6673efd95f4 06:04:06 ---> 88bcf6f81763 06:04:06 Step 7/23 : COPY . . 06:04:08 ---> bed256efdca0 06:04:08 Step 8/23 : RUN go mod download 06:04:08 ---> Running in 5c032a0a802e 06:04:10 Removing intermediate container 5c032a0a802e 06:04:10 ---> 48730d86b46e 06:04:10 Step 9/23 : RUN make build 06:04:10 ---> Running in c0dc0c9d1a67 06:04:11 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 06:04:44 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:04:46 Removing intermediate container c0dc0c9d1a67 06:04:46 ---> 7eace322f0e2 06:04:46 Step 10/23 : FROM alpine:3.12 06:04:46 3.12: Pulling from library/alpine 06:04:46 9a219e8acc52: Pulling fs layer 06:04:46 9a219e8acc52: Verifying Checksum 06:04:46 9a219e8acc52: Download complete 06:04:47 9a219e8acc52: Pull complete 06:04:47 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 06:04:47 Status: Downloaded newer image for alpine:3.12 06:04:47 ---> d75e27dfc0a0 06:04:47 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:04:47 ---> Running in 6fb0fb64c631 06:04:48 Removing intermediate container 6fb0fb64c631 06:04:48 ---> 7de4974fd2b0 06:04:48 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:48 ---> Running in b017504b06c3 06:04:50 Removing intermediate container b017504b06c3 06:04:50 ---> 260bf649cf8b 06:04:50 Step 13/23 : RUN apk add --update --no-cache zeromq 06:04:50 ---> Running in 60fabf6dc5e1 06:04:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:04:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:04:53 (1/5) Installing libgcc (9.3.0-r2) 06:04:53 (2/5) Installing libsodium (1.0.18-r0) 06:04:53 (3/5) Installing libstdc++ (9.3.0-r2) 06:04:53 (4/5) Installing libzmq (4.3.3-r0) 06:04:54 (5/5) Installing zeromq (4.3.3-r0) 06:04:54 Executing busybox-1.31.1-r20.trigger 06:04:54 OK: 8 MiB in 19 packages 06:04:55 Removing intermediate container 60fabf6dc5e1 06:04:55 ---> 67f53fbd46e5 06:04:55 Step 14/23 : WORKDIR / 06:04:55 ---> Running in 3607fe39c585 06:04:56 Removing intermediate container 3607fe39c585 06:04:56 ---> 1f60ba9b8509 06:04:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:04:56 ---> f2d2ba83db48 06:04:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:04:58 ---> e6e533a2e7d9 06:04:58 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:04:58 ---> 53ede68bd322 06:04:58 Step 18/23 : EXPOSE 49990 06:04:58 ---> Running in 48193a351e67 06:04:59 Removing intermediate container 48193a351e67 06:04:59 ---> 2a8891f4e77a 06:04:59 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:04:59 ---> Running in c8196b81b032 06:04:59 Removing intermediate container c8196b81b032 06:04:59 ---> e568bcd0a7bc 06:04:59 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:04:59 ---> Running in b39a8bbb770e 06:05:00 Removing intermediate container b39a8bbb770e 06:05:00 ---> 40132624cbfd 06:05:00 Step 21/23 : LABEL arch=arm64 06:05:00 ---> Running in 22f957ea19b3 06:05:00 Removing intermediate container 22f957ea19b3 06:05:00 ---> 3b3ad1c0e6b2 06:05:00 Step 22/23 : LABEL git_sha=0d6337168db61fcb84a7ec387ee0722cf60d35ea 06:05:01 ---> Running in 06f057552d4c 06:05:01 Removing intermediate container 06f057552d4c 06:05:01 ---> e140b7733908 06:05:01 Step 23/23 : LABEL version=0.0.0 06:05:01 ---> Running in 0657825b7584 06:05:01 Removing intermediate container 0657825b7584 06:05:01 ---> 7e961f689936 06:05:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:05:02 Successfully built 7e961f689936 06:05:02 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 06:05:03 ---> job-cost.sh 06:05:03 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TPqL 06:05:42 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:07:19 lf-activate-venv(): INFO: Adding /tmp/venv-TPqL/bin to PATH 06:07:19 INFO: No Stack... 06:07:19 INFO: Retrieving Pricing Info for: lf-standard-4 06:07:19 INFO: Archiving Costs [Pipeline] sh 06:07:19 + cat+ /w/workspace/device-sdk-go/1/archives/cost.csv 06:07:19 cut -d, -f6 [Pipeline] lock 06:07:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] 06:07:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] did not exist. Created. 06:07:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-861-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:07:20 /w/workspace/device-sdk-go/1@tmp/durable-74bedeaf/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-74bedeaf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:07:20 + echo total: 0.20999999344348907 [Pipeline] stash 06:07:20 Warning: overwriting stash ‘stack-cost’ 06:07:20 Stashed 1 file(s) [Pipeline] } 06:07:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-861-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 06:07:22 provisioning config files... 06:07:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/config2872669152046341193tmp [Pipeline] { [Pipeline] sh 06:07:23 + set +x 06:07:23 + curl -s https://codecov.io/bash 06:07:23 + bash -s -- 06:07:23 06:07:23 _____ _ 06:07:23 / ____| | | 06:07:23 | | ___ __| | ___ ___ _____ __ 06:07:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:07:23 | |___| (_) | (_| | __/ (_| (_) \ V / 06:07:23 \_____\___/ \__,_|\___|\___\___/ \_/ 06:07:23 Bash-20210309-2b87ace 06:07:23 06:07:23 06:07:23 ==> git version 2.24.3 found 06:07:23 ==> 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 06:07:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:07:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:07:24 ==> Jenkins CI detected. 06:07:24 project root: . 06:07:24 --> token set from env 06:07:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:07:24 ==> Running gcov in . (disable via -X gcov) 06:07:24 ==> Python coveragepy not found 06:07:24 ==> Searching for coverage reports in: 06:07:24 + . 06:07:24 -> Found 1 reports 06:07:24 ==> Detecting git/mercurial file structure 06:07:24 ==> Reading reports 06:07:24 + ./coverage.out bytes=101239 06:07:24 ==> Appending adjustments 06:07:24 https://docs.codecov.io/docs/fixing-reports 06:07:25 + Found adjustments 06:07:25 ==> Gzipping contents 06:07:25 16K /tmp/codecov.LPtIjH.gz 06:07:25 ==> Uploading reports 06:07:25 url: https://codecov.io 06:07:25 query: branch=PR-861&commit=0d6337168db61fcb84a7ec387ee0722cf60d35ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-861%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=861&job=&cmd_args= 06:07:25 -> Pinging Codecov 06:07:25 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-861&commit=0d6337168db61fcb84a7ec387ee0722cf60d35ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-861%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=861&job=&cmd_args= 06:07:26 -> Uploading to 06:07:26 https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/0d6337168db61fcb84a7ec387ee0722cf60d35ea/712eefd4-9287-43dc-b447-6827ab63f79e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T060725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7a18a5aad79e0bdd9105d970bf9ffaf55de392727a5cf9696d5913fb7380ee6 06:07:26 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:26 Dload Upload Total Spent Left Speed 06:07:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13721 0 0 100 13721 0 29590 --:--:-- --:--:-- --:--:-- 29634 06:07:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0d6337168db61fcb84a7ec387ee0722cf60d35ea [Pipeline] } 06:07:26 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:07:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:07:31 ---> package-listing.sh 06:07:31 ++ facter osfamily 06:07:31 ++ tr '[:upper:]' '[:lower:]' 06:07:31 + OS_FAMILY=redhat 06:07:31 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-861 06:07:31 + START_PACKAGES=/tmp/packages_start.txt 06:07:31 + END_PACKAGES=/tmp/packages_end.txt 06:07:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:07:31 + PACKAGES=/tmp/packages_start.txt 06:07:31 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-861 ']' 06:07:31 + PACKAGES=/tmp/packages_end.txt 06:07:31 + case "${OS_FAMILY}" in 06:07:31 + rpm -qa 06:07:31 + sort 06:07:38 + '[' -f /tmp/packages_start.txt ']' 06:07:38 + '[' -f /tmp/packages_end.txt ']' 06:07:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:07:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-861 ']' 06:07:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-861/archives/ 06:07:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-861/archives/ [Pipeline] echo 06:07:38 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-861/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:07:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:07:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:07:40 06:07:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:07:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:07:40 alpine: Pulling from edgex-lftools-log-publisher 06:07:40 df20fa9351a1: Pulling fs layer 06:07:40 36b3adc4ff6f: Pulling fs layer 06:07:40 8ad3a11d3b57: Pulling fs layer 06:07:40 46f8f816bc3b: Pulling fs layer 06:07:40 93b61091891f: Pulling fs layer 06:07:40 93b9cdb0e59b: Pulling fs layer 06:07:40 5e14af77c1be: Pulling fs layer 06:07:40 01666e4c0597: Pulling fs layer 06:07:40 aa168da1d23b: Pulling fs layer 06:07:40 93b9cdb0e59b: Waiting 06:07:40 5e14af77c1be: Waiting 06:07:40 01666e4c0597: Waiting 06:07:40 aa168da1d23b: Waiting 06:07:40 46f8f816bc3b: Waiting 06:07:40 36b3adc4ff6f: Verifying Checksum 06:07:40 36b3adc4ff6f: Download complete 06:07:40 46f8f816bc3b: Verifying Checksum 06:07:40 46f8f816bc3b: Download complete 06:07:41 93b61091891f: Verifying Checksum 06:07:41 93b61091891f: Download complete 06:07:41 93b9cdb0e59b: Verifying Checksum 06:07:41 93b9cdb0e59b: Download complete 06:07:41 5e14af77c1be: Verifying Checksum 06:07:41 5e14af77c1be: Download complete 06:07:41 01666e4c0597: Verifying Checksum 06:07:41 01666e4c0597: Download complete 06:07:41 df20fa9351a1: Verifying Checksum 06:07:41 df20fa9351a1: Download complete 06:07:41 8ad3a11d3b57: Verifying Checksum 06:07:41 8ad3a11d3b57: Download complete 06:07:42 df20fa9351a1: Pull complete 06:07:42 36b3adc4ff6f: Pull complete 06:07:46 8ad3a11d3b57: Pull complete 06:07:46 46f8f816bc3b: Pull complete 06:07:47 93b61091891f: Pull complete 06:07:48 93b9cdb0e59b: Pull complete 06:07:48 aa168da1d23b: Verifying Checksum 06:07:48 aa168da1d23b: Download complete 06:07:49 5e14af77c1be: Pull complete 06:07:49 01666e4c0597: Pull complete 06:08:11 aa168da1d23b: Pull complete 06:08:11 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:08:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:08:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:08:12 prd-centos7-docker-4c-2g-32897 does not seem to be running inside a container 06:08:12 $ 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-861/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-861 -v /w/workspace/dgexfoundry_device-sdk-go_PR-861:/w/workspace/dgexfoundry_device-sdk-go_PR-861:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-861@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:08:19 $ docker top 0eb443ab4050b7f1ef09d3723c9924523e4bfa5f3f6f91d119735e780b719f1e -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:20 + touch /tmp/pre-build-complete [Pipeline] sh 06:08:21 + mkdir -p /var/log/sa [Pipeline] sh 06:08:22 + ls /var/log/sa-host 06:08:22 + sadf -c /var/log/sa-host/sa06 06:08:22 file_magic: OK 06:08:22 HZ: Using current value: 100 06:08:22 file_header: OK 06:08:22 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:08:22 Statistics: 06:08:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:08:22 File successfully converted to sysstat format version 12.2.1 06:08:22 + sadf -c /var/log/sa-host/sa23 06:08:22 file_magic: OK 06:08:22 HZ: Using current value: 100 06:08:22 file_header: OK 06:08:22 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:08:22 Statistics: 06:08:22 Hnuu...uuuununununu... 06:08:22 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:08:22 provisioning config files... 06:08:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-861@tmp/config7125834390299077471tmp [Pipeline] { [Pipeline] echo 06:08:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:08:23 ---> create-netrc.sh [Pipeline] } 06:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:08:24 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:08:24 ---> python-tools-install.sh [Pipeline] echo 06:08:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:08:25 ---> sudo-logs.sh 06:08:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:08:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:08:26 ---> job-cost.sh 06:08:27 lf-activate-venv: SKIPPING 06:08:27 DEBUG: total: 0.20999999344348907 06:08:27 INFO: Retrieving Stack Cost... 06:08:28 INFO: Retrieving Pricing Info for: v1-standard-2 06:08:28 INFO: Archiving Costs [Pipeline] echo 06:08:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:08:29 ---> logs-deploy.sh 06:08:29 lf-activate-venv: SKIPPING 06:08:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-861/1 06:08:29 INFO: archiving workspace using pattern(s): 06:08:32 Archives upload complete. 06:08:32 INFO: archiving logs to Nexus