Pull request #862 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 23b823046d84f5291defff3fba674fd24f017e99+34bcbadecb817e113f443ebd9bc4fa59ecf970a2 (8a1e7d0d9ad8099fa9a3c541376e6ac17f70c183) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 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 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-32925 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [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-862 # 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 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 23b823046d84f5291defff3fba674fd24f017e99 Merge succeeded, producing 23b823046d84f5291defff3fba674fd24f017e99 Checking out Revision 23b823046d84f5291defff3fba674fd24f017e99 (PR-862) > 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/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # 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 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 Commit message: "refactor: leverage latest profile cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:23:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk 6bfecdda86aa1c4a12fa691857173578d9e0d3a4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:23:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:23:44 ========================================================= 07:23:44 EdgeX Global Pipelines Version Info 07:23:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:23:45 ------------------- 07:23:45 stable info: 07:23:45 ------------------- 07:23:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:23:45 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 07:23:45 Message: update stable to v1.0.186 07:23:46 ------------------- 07:23:46 experimental info: 07:23:46 ------------------- 07:23:46 Commited By: **** collab-it+edgex@linuxfoundation.org 07:23:46 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 07:23:46 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:23:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:23:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:23:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-862 [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-862 [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-862 [Pipeline] echo 07:23:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 23b823046d84f5291defff3fba674fd24f017e99 [Pipeline] echo 07:23:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 23b8230 [Pipeline] echo 07:23:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:23:50 provisioning config files... 07:23:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config294334300364292051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:50 ---> docker-login.sh 07:23:50 nexus3.edgexfoundry.org:10001 07:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:51 Configure a credential helper to remove this warning. See 07:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:51 07:23:51 Login Succeeded 07:23:51 nexus3.edgexfoundry.org:10002 07:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:51 Configure a credential helper to remove this warning. See 07:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:51 07:23:51 Login Succeeded 07:23:51 nexus3.edgexfoundry.org:10003 07:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:51 Configure a credential helper to remove this warning. See 07:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:51 07:23:51 Login Succeeded 07:23:51 nexus3.edgexfoundry.org:10004 07:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:51 Configure a credential helper to remove this warning. See 07:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:51 07:23:51 Login Succeeded 07:23:51 docker.io 07:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:23:52 Configure a credential helper to remove this warning. See 07:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:23:52 07:23:52 Login Succeeded 07:23:52 ---> docker-login.sh ends [Pipeline] } 07:23:52 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 07:23:52 + git log --format=format:%s -1 23b823046d84f5291defff3fba674fd24f017e99 [Pipeline] echo 07:23:53 GIT_COMMIT: 23b823046d84f5291defff3fba674fd24f017e99, Commit Message: refactor: leverage latest profile cache [Pipeline] echo 07:23:53 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:23:54 07:23:54 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:23:54 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:23:54 latest: Pulling from edgex-devops/git-semver 07:23:54 31603596830f: Pulling fs layer 07:23:54 2a8b12db71e7: Pulling fs layer 07:23:54 6ca5941a6612: Pulling fs layer 07:23:54 ecc8261a40a4: Pulling fs layer 07:23:54 ecc8261a40a4: Waiting 07:23:54 2a8b12db71e7: Verifying Checksum 07:23:54 2a8b12db71e7: Download complete 07:23:54 31603596830f: Download complete 07:23:54 6ca5941a6612: Verifying Checksum 07:23:54 6ca5941a6612: Download complete 07:23:55 ecc8261a40a4: Verifying Checksum 07:23:55 ecc8261a40a4: Download complete 07:23:55 31603596830f: Pull complete 07:23:55 2a8b12db71e7: Pull complete 07:23:55 6ca5941a6612: Pull complete 07:23:56 ecc8261a40a4: Pull complete 07:23:56 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:23:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:23:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:23:56 prd-centos7-docker-4c-2g-32925 does not seem to be running inside a container 07:23:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:23:58 $ docker top 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:23:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:23:59 [ssh-agent] Looking for ssh-agent implementation... 07:23:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:23:59 $ docker exec 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 ssh-agent 07:23:59 SSH_AUTH_SOCK=/tmp/ssh-PjyOiyuWKETh/agent.11 07:23:59 SSH_AGENT_PID=16 07:23:59 Running ssh-add (command line suppressed) 07:23:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_3856030459131279843.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_3856030459131279843.key) 07:23:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:00 + git tag --points-at HEAD [Pipeline] } 07:24:00 $ docker exec --env ******** --env ******** 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 ssh-agent -k 07:24:00 unset SSH_AUTH_SOCK; 07:24:00 unset SSH_AGENT_PID; 07:24:00 echo Agent pid 16 killed; 07:24:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:24:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:24:00 [ssh-agent] Looking for ssh-agent implementation... 07:24:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:24:00 $ docker exec 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 ssh-agent 07:24:00 SSH_AUTH_SOCK=/tmp/ssh-pRWV3kDtwoaB/agent.45 07:24:00 SSH_AGENT_PID=50 07:24:00 Running ssh-add (command line suppressed) 07:24:01 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_2824676161276095924.key (/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/private_key_2824676161276095924.key) 07:24:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:24:01 + git semver init 07:24:01 # -> Open(): unable to determine branch for HEAD 07:24:01 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.git 07:24:01 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-862 07:24:01 # $SEMVER_REMOTE_NAME = origin 07:24:01 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:24:01 # $SEMVER_USER_NAME = edgex-jenkins 07:24:01 # $SEMVER_BRANCH = PR-862 07:24:01 # $SEMVER_TEMP = /tmp/semver-779694784 07:24:01 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:24:03 # '/tmp/semver-779694784' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver' 07:24:03 # -> Force: false 07:24:03 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-862/.semver [Pipeline] } 07:24:03 $ docker exec --env ******** --env ******** 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 ssh-agent -k 07:24:03 unset SSH_AUTH_SOCK; 07:24:03 unset SSH_AGENT_PID; 07:24:03 echo Agent pid 50 killed; 07:24:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:24:04 + git semver [Pipeline] } 07:24:04 $ docker stop --time=1 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 07:24:05 $ docker rm -f 577b507f0835aee0a1c4d1c20920ac2fa823da503cac330498753db400aea214 [Pipeline] // withDockerContainer [Pipeline] sh 07:24:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:24:06 Stashed 1 file(s) [Pipeline] echo 07:24:06 [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 07:24:22 Still waiting to schedule task 07:24:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 07:24:22 Still waiting to schedule task 07:24:22 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:26:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32926 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws 07:26:07 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:26:12 using credential edgex-jenkins-ssh 07:26:12 Cloning the remote Git repository 07:26:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:26:13 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:26:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:26:13 > git --version # timeout=10 07:26:13 > git --version # 'git version 2.17.1' 07:26:13 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:26:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:26:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:26:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:26:14 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:26:15 Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 23b823046d84f5291defff3fba674fd24f017e99 07:26:15 Merge succeeded, producing 23b823046d84f5291defff3fba674fd24f017e99 07:26:15 Checking out Revision 23b823046d84f5291defff3fba674fd24f017e99 (PR-862) 07:26:15 > git config core.sparsecheckout # timeout=10 07:26:15 > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 07:26:15 > git remote # timeout=10 07:26:15 > git config --get remote.origin.url # timeout=10 07:26:15 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:15 > git merge 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 07:26:15 > git rev-parse HEAD^{commit} # timeout=10 07:26:15 > git config core.sparsecheckout # timeout=10 07:26:15 > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 07:26:19 Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:26:21 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:26:22 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:26:22 + sudo service docker restart 07:26:22 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:26:25 provisioning config files... 07:26:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5462955071352788783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:26:25 ---> docker-login.sh 07:26:25 nexus3.edgexfoundry.org:10001 07:26:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:26 Configure a credential helper to remove this warning. See 07:26:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:26 07:26:26 Login Succeeded 07:26:26 nexus3.edgexfoundry.org:10002 07:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:27 Configure a credential helper to remove this warning. See 07:26:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:27 07:26:27 Login Succeeded 07:26:27 nexus3.edgexfoundry.org:10003 07:26:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:27 Configure a credential helper to remove this warning. See 07:26:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:27 07:26:27 Login Succeeded 07:26:27 nexus3.edgexfoundry.org:10004 07:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:28 Configure a credential helper to remove this warning. See 07:26:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:28 07:26:28 Login Succeeded 07:26:28 docker.io 07:26:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:26:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:26:29 Configure a credential helper to remove this warning. See 07:26:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:26:29 07:26:29 Login Succeeded 07:26:29 ---> docker-login.sh ends [Pipeline] } 07:26:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:26:29 ========================================================= 07:26:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:26:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:26:30 + 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 . 07:26:30 Sending build context to Docker daemon 2.406MB 07:26:30 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:26:30 Step 2/8 : FROM ${BASE} 07:26:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:26:30 5f621e34cdf4: Pulling fs layer 07:26:30 a4357932f1b6: Pulling fs layer 07:26:30 18c013af1878: Pulling fs layer 07:26:30 00ac8860ef70: Pulling fs layer 07:26:30 63d7cb157983: Pulling fs layer 07:26:30 b116817d02f9: Pulling fs layer 07:26:30 745a02a5169b: Pulling fs layer 07:26:30 63d7cb157983: Waiting 07:26:30 745a02a5169b: Waiting 07:26:30 b116817d02f9: Waiting 07:26:30 18c013af1878: Verifying Checksum 07:26:30 18c013af1878: Download complete 07:26:30 a4357932f1b6: Verifying Checksum 07:26:30 a4357932f1b6: Download complete 07:26:30 63d7cb157983: Verifying Checksum 07:26:30 63d7cb157983: Download complete 07:26:30 b116817d02f9: Download complete 07:26:30 5f621e34cdf4: Verifying Checksum 07:26:30 5f621e34cdf4: Download complete 07:26:31 5f621e34cdf4: Pull complete 07:26:32 a4357932f1b6: Pull complete 07:26:32 18c013af1878: Pull complete 07:26:33 745a02a5169b: Verifying Checksum 07:26:33 745a02a5169b: Download complete 07:26:34 00ac8860ef70: Download complete 07:26:44 00ac8860ef70: Pull complete 07:26:45 63d7cb157983: Pull complete 07:26:45 b116817d02f9: Pull complete 07:26:49 745a02a5169b: Pull complete 07:26:49 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:26:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:26:49 ---> b7e6874047d6 07:26:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:26:52 ---> Running in 3561fdb15434 07:26:52 Removing intermediate container 3561fdb15434 07:26:52 ---> 3782f994fb9f 07:26:52 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:26:52 ---> Running in 4da92e2a720a 07:26:54 Removing intermediate container 4da92e2a720a 07:26:54 ---> f66b0020ace4 07:26:54 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:26:54 ---> Running in 94c711b92279 07:26:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:26:56 Running on prd-centos7-docker-4c-2g-32927 in /w/workspace/dgexfoundry_device-sdk-go_PR-862 [Pipeline] { [Pipeline] ws 07:26:56 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:26:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:26:57 (1/6) Installing libc-dev (0.7.2-r3) 07:26:57 (2/6) Installing libsodium (1.0.18-r0) 07:26:57 (3/6) Installing pkgconf (1.7.2-r0) 07:26:57 (4/6) Installing libsodium-dev (1.0.18-r0) 07:26:57 (5/6) Installing libzmq (4.3.3-r0) 07:26:58 (6/6) Installing zeromq-dev (4.3.3-r0) 07:26:58 Executing busybox-1.31.1-r19.trigger 07:26:58 OK: 144 MiB in 45 packages 07:26:59 using credential edgex-jenkins-ssh 07:26:59 Cloning the remote Git repository 07:26:59 Removing intermediate container 94c711b92279 07:26:59 ---> a33b47f0ef17 07:26:59 Step 6/8 : WORKDIR /device-sdk-go 07:26:59 ---> Running in ecdd38026dee 07:27:00 Removing intermediate container ecdd38026dee 07:27:00 ---> 276b2fe69abc 07:27:00 Step 7/8 : COPY . . 07:26:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:26:59 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:26:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:26:59 > git --version # timeout=10 07:26:59 > git --version # 'git version 2.24.3' 07:26:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:26:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:27:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:27:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:27:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:27:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:27:00 using GIT_SSH to set credentials SSH Credentials for GitHub 07:27:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/862/head:refs/remotes/origin/PR-862 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:27:01 Merging remotes/origin/master commit 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 into PR head commit 23b823046d84f5291defff3fba674fd24f017e99 07:27:01 Merge succeeded, producing 23b823046d84f5291defff3fba674fd24f017e99 07:27:01 Checking out Revision 23b823046d84f5291defff3fba674fd24f017e99 (PR-862) 07:27:01 ---> 24c2cfd2def5 07:27:01 Step 8/8 : RUN go mod download 07:27:01 ---> Running in 18e033389f92 07:27:01 > git config core.sparsecheckout # timeout=10 07:27:01 > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 07:27:01 > git remote # timeout=10 07:27:01 > git config --get remote.origin.url # timeout=10 07:27:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:27:01 > git merge 34bcbadecb817e113f443ebd9bc4fa59ecf970a2 # timeout=10 07:27:01 > git rev-parse HEAD^{commit} # timeout=10 07:27:01 > git config core.sparsecheckout # timeout=10 07:27:01 > git checkout -f 23b823046d84f5291defff3fba674fd24f017e99 # timeout=10 07:27:05 Commit message: "refactor: leverage latest profile cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:27:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:27:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:27:07 + sudo service docker restart 07:27:07 + true 07:27:07 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:27:08 provisioning config files... 07:27:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4576795289648887286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:27:08 ---> docker-login.sh 07:27:08 nexus3.edgexfoundry.org:10001 07:27:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:08 Configure a credential helper to remove this warning. See 07:27:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:08 07:27:08 Login Succeeded 07:27:08 nexus3.edgexfoundry.org:10002 07:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:09 Configure a credential helper to remove this warning. See 07:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:09 07:27:09 Login Succeeded 07:27:09 nexus3.edgexfoundry.org:10003 07:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:09 Configure a credential helper to remove this warning. See 07:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:09 07:27:09 Login Succeeded 07:27:09 nexus3.edgexfoundry.org:10004 07:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:09 Configure a credential helper to remove this warning. See 07:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:09 07:27:09 Login Succeeded 07:27:09 docker.io 07:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:27:09 Configure a credential helper to remove this warning. See 07:27:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:27:09 07:27:09 Login Succeeded 07:27:09 ---> docker-login.sh ends [Pipeline] } 07:27:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:27:10 ========================================================= 07:27:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:27:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:27:10 + 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 . 07:27:10 Sending build context to Docker daemon 2.407MB 07:27:10 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:27:10 Step 2/8 : FROM ${BASE} 07:27:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:27:10 188c0c94c7c5: Pulling fs layer 07:27:10 0ef7d3d256c8: Pulling fs layer 07:27:10 de9db76c5a1d: Pulling fs layer 07:27:10 bca2f99d35d6: Pulling fs layer 07:27:10 93359f2a8cfa: Pulling fs layer 07:27:10 7c6f9722023f: Pulling fs layer 07:27:10 a35cf1a2eb13: Pulling fs layer 07:27:10 93359f2a8cfa: Waiting 07:27:10 7c6f9722023f: Waiting 07:27:10 a35cf1a2eb13: Waiting 07:27:10 bca2f99d35d6: Waiting 07:27:10 de9db76c5a1d: Verifying Checksum 07:27:10 de9db76c5a1d: Download complete 07:27:10 0ef7d3d256c8: Verifying Checksum 07:27:10 0ef7d3d256c8: Download complete 07:27:10 93359f2a8cfa: Verifying Checksum 07:27:10 93359f2a8cfa: Download complete 07:27:11 7c6f9722023f: Verifying Checksum 07:27:11 7c6f9722023f: Download complete 07:27:11 188c0c94c7c5: Verifying Checksum 07:27:11 188c0c94c7c5: Download complete 07:27:11 188c0c94c7c5: Pull complete 07:27:11 0ef7d3d256c8: Pull complete 07:27:12 de9db76c5a1d: Pull complete 07:27:13 a35cf1a2eb13: Verifying Checksum 07:27:13 a35cf1a2eb13: Download complete 07:27:13 bca2f99d35d6: Verifying Checksum 07:27:13 bca2f99d35d6: Download complete 07:27:18 bca2f99d35d6: Pull complete 07:27:18 93359f2a8cfa: Pull complete 07:27:19 7c6f9722023f: Pull complete 07:27:23 a35cf1a2eb13: Pull complete 07:27:23 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:27:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:27:23 ---> a62c8e92a672 07:27:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:27:23 ---> Running in c793b4ca1595 07:27:23 Removing intermediate container c793b4ca1595 07:27:23 ---> 8958f99a8449 07:27:23 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:27:23 ---> Running in beccf7f3ea89 07:27:24 Removing intermediate container beccf7f3ea89 07:27:24 ---> 61993903ef1c 07:27:24 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 07:27:24 ---> Running in bee07c5f0ae2 07:27:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:27:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:27:27 (1/6) Installing libc-dev (0.7.2-r3) 07:27:27 (2/6) Installing libsodium (1.0.18-r0) 07:27:27 (3/6) Installing pkgconf (1.7.2-r0) 07:27:27 (4/6) Installing libsodium-dev (1.0.18-r0) 07:27:27 (5/6) Installing libzmq (4.3.3-r0) 07:27:27 (6/6) Installing zeromq-dev (4.3.3-r0) 07:27:27 Executing busybox-1.31.1-r19.trigger 07:27:27 OK: 167 MiB in 45 packages 07:27:28 Removing intermediate container 18e033389f92 07:27:28 ---> ca126ea6beab 07:27:28 Successfully built ca126ea6beab 07:27:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:27:28 Removing intermediate container bee07c5f0ae2 07:27:28 ---> 65e5e51af55c 07:27:28 Step 6/8 : WORKDIR /device-sdk-go 07:27:28 ---> Running in aaa0aea171e5 07:27:28 Removing intermediate container aaa0aea171e5 07:27:28 ---> 624e8ee06b9b 07:27:28 Step 7/8 : COPY . . 07:27:28 + docker inspect -f . ci-base-image-arm64 07:27:28 . [Pipeline] withDockerContainer 07:27:28 prd-ubuntu18.04-docker-arm64-4c-16g-32926 does not seem to be running inside a container 07:27:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:27:30 ---> b4b8f83d3bd2 07:27:30 Step 8/8 : RUN go mod download 07:27:30 ---> Running in 92b7f1968936 07:27:30 $ docker top 498e5388dc850572b74900f889d0bcf476f65c38133954cfa6c81f3bb81047c0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:31 + go version 07:27:31 go version go1.15.5 linux/arm64 [Pipeline] } 07:27:31 $ docker stop --time=1 498e5388dc850572b74900f889d0bcf476f65c38133954cfa6c81f3bb81047c0 07:27:33 $ docker rm -f 498e5388dc850572b74900f889d0bcf476f65c38133954cfa6c81f3bb81047c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:27:34 + docker inspect -f . ci-base-image-arm64 07:27:34 . [Pipeline] withDockerContainer 07:27:34 prd-ubuntu18.04-docker-arm64-4c-16g-32926 does not seem to be running inside a container 07:27:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:27:36 $ docker top 49648ba0bf96c76a618aa1fdce45b5136a32b226b2f729a9980732548f957b18 -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:37 + make test 07:27:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:27:52 Removing intermediate container 92b7f1968936 07:27:52 ---> 8e62ea4029e8 07:27:52 Successfully built 8e62ea4029e8 07:27:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:27:52 + docker inspect -f . ci-base-image-x86_64 07:27:52 . [Pipeline] withDockerContainer 07:27:52 prd-centos7-docker-4c-2g-32927 does not seem to be running inside a container 07:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:27:53 $ docker top 549d450821d593182c23cc3deaec08d89cbf25b519ac2394de178e3ad8ff3910 -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:53 + go version 07:27:53 go version go1.15.5 linux/amd64 [Pipeline] } 07:27:54 $ docker stop --time=1 549d450821d593182c23cc3deaec08d89cbf25b519ac2394de178e3ad8ff3910 07:27:55 $ docker rm -f 549d450821d593182c23cc3deaec08d89cbf25b519ac2394de178e3ad8ff3910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:27:56 + docker inspect -f . ci-base-image-x86_64 07:27:56 . [Pipeline] withDockerContainer 07:27:56 prd-centos7-docker-4c-2g-32927 does not seem to be running inside a container 07:27:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:27:56 $ docker top dced81941fc86074ce73f47af7b0ebef936edca97f8c257f2a049a0dfd191798 -eo pid,comm [Pipeline] { [Pipeline] sh 07:27:57 + make test 07:27:57 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:27:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:28:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:28:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:28:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:28:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:28:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:28:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:28:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.082s coverage: 28.1% of statements 07:28:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.084s coverage: 78.9% of statements 07:28:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements 07:28:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:28:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:28:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:28:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 32.5% of statements 07:28:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:28:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:28:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:28:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 57.3% of statements 07:28:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.195s coverage: 6.6% of statements 07:28:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements 07:28:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:28:30 GO111MODULE=on go vet ./... 07:28:45 gofmt -l . 07:28:45 [ "`gofmt -l .`" = "" ] 07:28:45 ./bin/test-attribution-txt.sh 07:28:45 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:28:46 $ docker stop --time=1 dced81941fc86074ce73f47af7b0ebef936edca97f8c257f2a049a0dfd191798 07:28:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:28:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:28:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:28:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:28:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:28:49 $ docker rm -f dced81941fc86074ce73f47af7b0ebef936edca97f8c257f2a049a0dfd191798 [Pipeline] // withDockerContainer [Pipeline] sh 07:28:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:28:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:28:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:28:54 + ls -al . 07:28:54 total 188 07:28:54 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 6 07:28 . 07:28:54 drwxrwxr-x. 4 jenkins jenkins 28 Apr 6 07:26 .. 07:28:54 drwxrwxr-x. 2 jenkins jenkins 64 Apr 6 07:27 bin 07:28:54 -rw-r--r--. 1 jenkins jenkins 99190 Apr 6 07:28 coverage.out 07:28:54 -rw-rw-r--. 1 jenkins jenkins 987 Apr 6 07:27 Dockerfile.build 07:28:54 -rw-rw-r--. 1 jenkins jenkins 140 Apr 6 07:27 .dockerignore 07:28:54 drwxrwxr-x. 5 jenkins jenkins 62 Apr 6 07:27 example 07:28:54 drwxrwxr-x. 8 jenkins jenkins 179 Apr 6 07:27 .git 07:28:54 drwxrwxr-x. 2 jenkins jenkins 103 Apr 6 07:27 .github 07:28:54 -rw-rw-r--. 1 jenkins jenkins 138 Apr 6 07:27 .gitignore 07:28:54 -rw-r--r--. 1 jenkins jenkins 572 Apr 6 07:28 go.mod 07:28:54 -rw-r--r--. 1 jenkins jenkins 20946 Apr 6 07:28 go.sum 07:28:54 drwxrwxr-x. 14 jenkins jenkins 207 Apr 6 07:27 internal 07:28:54 -rw-rw-r--. 1 jenkins jenkins 901 Apr 6 07:27 Jenkinsfile 07:28:54 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 6 07:27 LICENSE 07:28:54 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 6 07:27 Makefile 07:28:54 drwxrwxr-x. 4 jenkins jenkins 26 Apr 6 07:27 openapi 07:28:54 drwxrwxr-x. 5 jenkins jenkins 50 Apr 6 07:27 pkg 07:28:54 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 6 07:27 README.md 07:28:54 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 6 07:27 RELEASE-NOTES.txt 07:28:54 drwxrwxr-x. 4 jenkins jenkins 54 Apr 6 07:27 snap 07:28:54 -rw-rw-r--. 1 jenkins jenkins 5 Apr 6 07:24 VERSION 07:28:54 -rw-rw-r--. 1 jenkins jenkins 222 Apr 6 07:27 version.go [Pipeline] isUnix [Pipeline] sh 07:28:54 + 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=23b823046d84f5291defff3fba674fd24f017e99 --label arch=amd64 --label version=0.0.0 . 07:28:54 Sending build context to Docker daemon 2.507MB 07:28:54 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 07:28:54 Step 2/23 : FROM ${BASE} AS builder 07:28:54 ---> 8e62ea4029e8 07:28:54 Step 3/23 : WORKDIR /device-sdk-go 07:28:55 ---> Running in 261295aab99c 07:28:55 Removing intermediate container 261295aab99c 07:28:55 ---> 976d21c52827 07:28:55 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:28:55 ---> Running in 247b8d961874 07:28:55 Removing intermediate container 247b8d961874 07:28:55 ---> 38f0b7f3040d 07:28:55 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:28:55 ---> Running in 9a2dc8cb45df 07:28:56 Removing intermediate container 9a2dc8cb45df 07:28:56 ---> 0d8b5d3dad81 07:28:56 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:28:56 ---> Running in f7d8e93b420d 07:28:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:28:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:28:58 OK: 167 MiB in 45 packages 07:28:59 Removing intermediate container f7d8e93b420d 07:28:59 ---> 814c1c24602e 07:28:59 Step 7/23 : COPY . . 07:28:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 28.1% of statements 07:28:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.173s coverage: 78.9% of statements 07:28:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.204s coverage: 7.8% of statements 07:28:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:28:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:28:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:29:00 ---> 875c07483c79 07:29:00 Step 8/23 : RUN go mod download 07:29:00 ---> Running in de2b03404b9c 07:29:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.289s coverage: 32.5% of statements 07:29:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:29:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:29:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:29:01 Removing intermediate container de2b03404b9c 07:29:01 ---> 5a87c0169580 07:29:01 Step 9/23 : RUN make build 07:29:01 ---> Running in 11150ed1b425 07:29:01 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 07:29:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.255s coverage: 57.3% of statements 07:29:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.145s coverage: 6.6% of statements 07:29:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements 07:29:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:29:05 GO111MODULE=on go vet ./... 07:29:14 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:29:14 Removing intermediate container 11150ed1b425 07:29:14 ---> 1d94ab462901 07:29:14 Step 10/23 : FROM alpine:3.12 07:29:14 3.12: Pulling from library/alpine 07:29:14 532819f3e44c: Pulling fs layer 07:29:15 532819f3e44c: Download complete 07:29:15 532819f3e44c: Pull complete 07:29:15 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 07:29:15 Status: Downloaded newer image for alpine:3.12 07:29:15 ---> 7230e588e954 07:29:15 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:29:15 ---> Running in 7f7d6acde09a 07:29:15 Removing intermediate container 7f7d6acde09a 07:29:15 ---> 26229d541c30 07:29:15 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:29:15 ---> Running in 58863d7777a1 07:29:17 Removing intermediate container 58863d7777a1 07:29:17 ---> 8d4a091f56a7 07:29:17 Step 13/23 : RUN apk add --update --no-cache zeromq 07:29:17 ---> Running in 32f9af97c613 07:29:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:29:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:29:18 (1/5) Installing libgcc (9.3.0-r2) 07:29:18 (2/5) Installing libsodium (1.0.18-r0) 07:29:18 (3/5) Installing libstdc++ (9.3.0-r2) 07:29:19 (4/5) Installing libzmq (4.3.3-r0) 07:29:19 (5/5) Installing zeromq (4.3.3-r0) 07:29:19 Executing busybox-1.31.1-r20.trigger 07:29:19 OK: 8 MiB in 19 packages 07:29:19 Removing intermediate container 32f9af97c613 07:29:19 ---> a54aa01bd565 07:29:19 Step 14/23 : WORKDIR / 07:29:19 ---> Running in 51ec8da07866 07:29:19 Removing intermediate container 51ec8da07866 07:29:19 ---> c3d6ae3b3811 07:29:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:29:20 ---> 39ae5423392f 07:29:20 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:29:21 ---> 01dbe740b0e4 07:29:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:29:21 ---> aec110b7876f 07:29:21 Step 18/23 : EXPOSE 49990 07:29:21 ---> Running in 983c63b083a2 07:29:21 Removing intermediate container 983c63b083a2 07:29:21 ---> 4e4539540623 07:29:21 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:29:21 ---> Running in da6ed02a3870 07:29:21 Removing intermediate container da6ed02a3870 07:29:21 ---> c48d31aecc35 07:29:21 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:29:21 ---> Running in 0eb011d72d18 07:29:21 Removing intermediate container 0eb011d72d18 07:29:21 ---> c1bd96b52d04 07:29:21 Step 21/23 : LABEL arch=amd64 07:29:21 ---> Running in d70ebda0b928 07:29:21 Removing intermediate container d70ebda0b928 07:29:21 ---> 028f75d2ff33 07:29:21 Step 22/23 : LABEL git_sha=23b823046d84f5291defff3fba674fd24f017e99 07:29:22 ---> Running in c743d4135670 07:29:22 Removing intermediate container c743d4135670 07:29:22 ---> 46c846f1f753 07:29:22 Step 23/23 : LABEL version=0.0.0 07:29:22 ---> Running in 974b00f38e92 07:29:22 Removing intermediate container 974b00f38e92 07:29:22 ---> e1cd13e587ff 07:29:22 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:29:22 Successfully built e1cd13e587ff 07:29:22 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 07:29:23 ---> job-cost.sh 07:29:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-B5vl 07:29:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:29:52 gofmt -l . 07:29:52 [ "`gofmt -l .`" = "" ] 07:29:52 ./bin/test-attribution-txt.sh 07:29:52 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:29:52 $ docker stop --time=1 49648ba0bf96c76a618aa1fdce45b5136a32b226b2f729a9980732548f957b18 07:29:54 $ docker rm -f 49648ba0bf96c76a618aa1fdce45b5136a32b226b2f729a9980732548f957b18 [Pipeline] // withDockerContainer [Pipeline] sh 07:29:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:29:55 Warning: overwriting stash ‘coverage-report’ 07:29:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:29:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:29:57 + ls -al . 07:29:57 total 224 07:29:57 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 07:29 . 07:29:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 07:26 .. 07:29:57 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 07:26 .dockerignore 07:29:57 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 07:26 .git 07:29:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 07:26 .github 07:29:57 -rw-rw-r-- 1 jenkins jenkins 138 Apr 6 07:26 .gitignore 07:29:57 -rw-rw-r-- 1 jenkins jenkins 987 Apr 6 07:26 Dockerfile.build 07:29:57 -rw-rw-r-- 1 jenkins jenkins 901 Apr 6 07:26 Jenkinsfile 07:29:57 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 07:26 LICENSE 07:29:57 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 6 07:26 Makefile 07:29:57 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 6 07:26 README.md 07:29:57 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 6 07:26 RELEASE-NOTES.txt 07:29:57 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 07:24 VERSION 07:29:57 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 07:26 bin 07:29:57 -rw-r--r-- 1 jenkins jenkins 99189 Apr 6 07:29 coverage.out 07:29:57 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 07:26 example 07:29:57 -rw-r--r-- 1 jenkins jenkins 572 Apr 6 07:29 go.mod 07:29:57 -rw-r--r-- 1 jenkins jenkins 20946 Apr 6 07:29 go.sum 07:29:57 drwxrwxr-x 14 jenkins jenkins 4096 Apr 6 07:26 internal 07:29:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 07:26 openapi 07:29:57 drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 07:26 pkg 07:29:57 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 07:26 snap 07:29:57 -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 07:26 version.go [Pipeline] isUnix [Pipeline] sh 07:29: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=23b823046d84f5291defff3fba674fd24f017e99 --label arch=arm64 --label version=0.0.0 . 07:29:58 Sending build context to Docker daemon 2.506MB 07:29:58 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 07:29:58 Step 2/23 : FROM ${BASE} AS builder 07:29:58 ---> ca126ea6beab 07:29:58 Step 3/23 : WORKDIR /device-sdk-go 07:29:58 ---> Running in ff49314cf5a6 07:29:59 Removing intermediate container ff49314cf5a6 07:29:59 ---> d7c2b7f624db 07:29:59 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:29:59 ---> Running in 65919421209f 07:29:59 Removing intermediate container 65919421209f 07:29:59 ---> f67a2f7afe1f 07:29:59 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:29:59 ---> Running in 830160f7184f 07:30:01 Removing intermediate container 830160f7184f 07:30:01 ---> 45bd68c1a7d6 07:30:01 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:30:02 ---> Running in 6200743d83a5 07:30:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:30:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:30:04 OK: 144 MiB in 45 packages 07:30:05 lf-activate-venv(): INFO: Adding /tmp/venv-B5vl/bin to PATH 07:30:05 INFO: No Stack... 07:30:05 Removing intermediate container 6200743d83a5 07:30:05 ---> d1da4ae7db3c 07:30:05 Step 7/23 : COPY . . 07:30:06 INFO: Retrieving Pricing Info for: v1-standard-2 07:30:06 INFO: Archiving Costs [Pipeline] sh 07:30:06 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 07:30:06 + cut -d, -f6 [Pipeline] lock 07:30:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] 07:30:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] did not exist. Created. 07:30:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [Pipeline] { [Pipeline] unstash 07:30:07 ---> 62b88769ddb1 07:30:07 Step 8/23 : RUN go mod download 07:30:07 ---> Running in 5bd9180df4b6 [Pipeline] sh 07:30:07 + echo total: 0.029999999329447746 [Pipeline] stash 07:30:07 Stashed 1 file(s) [Pipeline] } 07:30:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:30:09 Removing intermediate container 5bd9180df4b6 07:30:09 ---> d949b246dde8 07:30:09 Step 9/23 : RUN make build 07:30:09 ---> Running in 1bdc9db3854f 07:30:10 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 07:30:43 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:30:45 Removing intermediate container 1bdc9db3854f 07:30:45 ---> 782dfe06a5f3 07:30:45 Step 10/23 : FROM alpine:3.12 07:30:46 3.12: Pulling from library/alpine 07:30:46 9a219e8acc52: Pulling fs layer 07:30:46 9a219e8acc52: Verifying Checksum 07:30:46 9a219e8acc52: Download complete 07:30:46 9a219e8acc52: Pull complete 07:30:46 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 07:30:46 Status: Downloaded newer image for alpine:3.12 07:30:46 ---> d75e27dfc0a0 07:30:46 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:30:47 ---> Running in 0bddca7db8fa 07:30:47 Removing intermediate container 0bddca7db8fa 07:30:47 ---> 7c3b2cac2b98 07:30:47 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:30:47 ---> Running in a45ab33cdb66 07:30:49 Removing intermediate container a45ab33cdb66 07:30:49 ---> a456b722fb4a 07:30:49 Step 13/23 : RUN apk add --update --no-cache zeromq 07:30:49 ---> Running in b7c5bfb0878c 07:30:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:30:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:30:52 (1/5) Installing libgcc (9.3.0-r2) 07:30:52 (2/5) Installing libsodium (1.0.18-r0) 07:30:52 (3/5) Installing libstdc++ (9.3.0-r2) 07:30:52 (4/5) Installing libzmq (4.3.3-r0) 07:30:52 (5/5) Installing zeromq (4.3.3-r0) 07:30:52 Executing busybox-1.31.1-r20.trigger 07:30:52 OK: 8 MiB in 19 packages 07:30:54 Removing intermediate container b7c5bfb0878c 07:30:54 ---> 84b002e2b0c3 07:30:54 Step 14/23 : WORKDIR / 07:30:54 ---> Running in b1548ae1dd1b 07:30:54 Removing intermediate container b1548ae1dd1b 07:30:54 ---> a7983c2954da 07:30:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:30:55 ---> 64fed20079fb 07:30:55 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:30:56 ---> ffdb52c394bf 07:30:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:30:57 ---> 39ae788a7829 07:30:57 Step 18/23 : EXPOSE 49990 07:30:57 ---> Running in 7f60da622d86 07:30:58 Removing intermediate container 7f60da622d86 07:30:58 ---> 8f9d623ec283 07:30:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 07:30:58 ---> Running in 5a2b04ee5cfc 07:30:58 Removing intermediate container 5a2b04ee5cfc 07:30:58 ---> 0c0cb71a44d0 07:30:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:30:58 ---> Running in ff64ee05f45f 07:30:59 Removing intermediate container ff64ee05f45f 07:30:59 ---> 3b001c1b6b2d 07:30:59 Step 21/23 : LABEL arch=arm64 07:30:59 ---> Running in 5090e6cbbbd9 07:30:59 Removing intermediate container 5090e6cbbbd9 07:30:59 ---> 10cd6fdb3fa3 07:30:59 Step 22/23 : LABEL git_sha=23b823046d84f5291defff3fba674fd24f017e99 07:30:59 ---> Running in ab60c39b159e 07:31:00 Removing intermediate container ab60c39b159e 07:31:00 ---> c85e4d09ef2b 07:31:00 Step 23/23 : LABEL version=0.0.0 07:31:00 ---> Running in 4b38b1fcffe3 07:31:01 Removing intermediate container 4b38b1fcffe3 07:31:01 ---> 43100168f49a 07:31:01 [Warning] One or more build-args [ARCH MAKE] were not consumed 07:31:01 Successfully built 43100168f49a 07:31:01 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 07:31:01 ---> job-cost.sh 07:31:01 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-I4G9 07:31:40 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 07:33:17 lf-activate-venv(): INFO: Adding /tmp/venv-I4G9/bin to PATH 07:33:17 INFO: No Stack... 07:33:17 INFO: Retrieving Pricing Info for: lf-standard-4 07:33:17 INFO: Archiving Costs [Pipeline] sh 07:33:17 + cut -d, -f6 07:33:17 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 07:33:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] 07:33:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] did not exist. Created. 07:33:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-862-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:33:18 /w/workspace/device-sdk-go/2@tmp/durable-146a145a/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-146a145a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 07:33:18 + echo total: 0.20999999344348907 [Pipeline] stash 07:33:18 Warning: overwriting stash ‘stack-cost’ 07:33:19 Stashed 1 file(s) [Pipeline] } 07:33:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-862-2-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 07:33:20 provisioning config files... 07:33:20 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config4506972993646379833tmp [Pipeline] { [Pipeline] sh 07:33:21 + set +x 07:33:21 + curl -s https://codecov.io/bash 07:33:21 + bash -s -- 07:33:21 07:33:21 _____ _ 07:33:21 / ____| | | 07:33:21 | | ___ __| | ___ ___ _____ __ 07:33:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:33:21 | |___| (_) | (_| | __/ (_| (_) \ V / 07:33:21 \_____\___/ \__,_|\___|\___\___/ \_/ 07:33:21 Bash-20210309-2b87ace 07:33:21 07:33:21 07:33:21 ==> git version 2.24.3 found 07:33:21 ==> 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 07:33:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:33:21 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:33:21 ==> Jenkins CI detected. 07:33:21 project root: . 07:33:21 --> token set from env 07:33:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:33:21 ==> Running gcov in . (disable via -X gcov) 07:33:21 ==> Python coveragepy not found 07:33:21 ==> Searching for coverage reports in: 07:33:21 + . 07:33:21 -> Found 1 reports 07:33:21 ==> Detecting git/mercurial file structure 07:33:21 ==> Reading reports 07:33:21 + ./coverage.out bytes=99189 07:33:21 ==> Appending adjustments 07:33:21 https://docs.codecov.io/docs/fixing-reports 07:33:21 + Found adjustments 07:33:21 ==> Gzipping contents 07:33:21 16K /tmp/codecov.bEdPIR.gz 07:33:21 ==> Uploading reports 07:33:21 url: https://codecov.io 07:33:21 query: branch=PR-862&commit=23b823046d84f5291defff3fba674fd24f017e99&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= 07:33:21 -> Pinging Codecov 07:33:21 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-862&commit=23b823046d84f5291defff3fba674fd24f017e99&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-862%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=862&job=&cmd_args= 07:33:22 -> Uploading to 07:33:22 https://storage.googleapis.com/codecov/v4/raw/2021-04-06/7E55EF52A471D76F132DFD9A03CDDE97/23b823046d84f5291defff3fba674fd24f017e99/8aa8fb75-19d7-4cbc-955d-8a6a5a84f73a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210406T073322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3eca8239e11a52461983bde453bb41d342aa4b8627fda1088a3e440b5408b874 07:33:22 % Total % Received % Xferd Average Speed Time Time Time Current 07:33:22 Dload Upload Total Spent Left Speed 07:33:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13419 0 0 100 13419 0 27316 --:--:-- --:--:-- --:--:-- 27329 07:33:22 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/23b823046d84f5291defff3fba674fd24f017e99 [Pipeline] } 07:33:22 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 07:33:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:33:25 ---> package-listing.sh 07:33:25 ++ facter osfamily 07:33:25 ++ tr '[:upper:]' '[:lower:]' 07:33:25 + OS_FAMILY=redhat 07:33:25 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-862 07:33:25 + START_PACKAGES=/tmp/packages_start.txt 07:33:25 + END_PACKAGES=/tmp/packages_end.txt 07:33:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:33:25 + PACKAGES=/tmp/packages_start.txt 07:33:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' 07:33:25 + PACKAGES=/tmp/packages_end.txt 07:33:25 + case "${OS_FAMILY}" in 07:33:25 + rpm -qa 07:33:25 + sort 07:33:30 + '[' -f /tmp/packages_start.txt ']' 07:33:30 + '[' -f /tmp/packages_end.txt ']' 07:33:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:33:30 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-862 ']' 07:33:30 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ 07:33:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-862/archives/ [Pipeline] echo 07:33:30 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-862/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:33:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:33:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:33:31 07:33:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:33:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:33:31 alpine: Pulling from edgex-lftools-log-publisher 07:33:31 df20fa9351a1: Pulling fs layer 07:33:31 36b3adc4ff6f: Pulling fs layer 07:33:31 8ad3a11d3b57: Pulling fs layer 07:33:31 46f8f816bc3b: Pulling fs layer 07:33:31 93b61091891f: Pulling fs layer 07:33:31 93b9cdb0e59b: Pulling fs layer 07:33:31 5e14af77c1be: Pulling fs layer 07:33:31 01666e4c0597: Pulling fs layer 07:33:31 aa168da1d23b: Pulling fs layer 07:33:31 93b9cdb0e59b: Waiting 07:33:31 5e14af77c1be: Waiting 07:33:31 01666e4c0597: Waiting 07:33:31 46f8f816bc3b: Waiting 07:33:31 aa168da1d23b: Waiting 07:33:31 93b61091891f: Waiting 07:33:31 36b3adc4ff6f: Verifying Checksum 07:33:31 36b3adc4ff6f: Download complete 07:33:31 46f8f816bc3b: Verifying Checksum 07:33:31 46f8f816bc3b: Download complete 07:33:32 df20fa9351a1: Verifying Checksum 07:33:32 df20fa9351a1: Download complete 07:33:32 93b9cdb0e59b: Verifying Checksum 07:33:32 93b9cdb0e59b: Download complete 07:33:32 93b61091891f: Download complete 07:33:32 5e14af77c1be: Verifying Checksum 07:33:32 5e14af77c1be: Download complete 07:33:32 01666e4c0597: Verifying Checksum 07:33:32 01666e4c0597: Download complete 07:33:32 df20fa9351a1: Pull complete 07:33:32 36b3adc4ff6f: Pull complete 07:33:32 8ad3a11d3b57: Download complete 07:33:33 8ad3a11d3b57: Pull complete 07:33:33 46f8f816bc3b: Pull complete 07:33:34 93b61091891f: Pull complete 07:33:34 aa168da1d23b: Verifying Checksum 07:33:34 aa168da1d23b: Download complete 07:33:34 93b9cdb0e59b: Pull complete 07:33:34 5e14af77c1be: Pull complete 07:33:35 01666e4c0597: Pull complete 07:33:41 aa168da1d23b: Pull complete 07:33:41 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:33:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:33:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:33:41 prd-centos7-docker-4c-2g-32925 does not seem to be running inside a container 07:33:41 $ 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-862/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-862 -v /w/workspace/dgexfoundry_device-sdk-go_PR-862:/w/workspace/dgexfoundry_device-sdk-go_PR-862:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:33:45 $ docker top 3ca1d90d74428085fb711f9d60260061f5201180aced8540db08942a6962d6e2 -eo pid,comm [Pipeline] { [Pipeline] sh 07:33:46 + touch /tmp/pre-build-complete [Pipeline] sh 07:33:46 + mkdir -p /var/log/sa [Pipeline] sh 07:33:46 + ls /var/log/sa-host 07:33:46 + sadf -c /var/log/sa-host/sa06 07:33:46 file_magic: OK 07:33:46 HZ: Using current value: 100 07:33:46 file_header: OK 07:33:46 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 07:33:46 Statistics: 07:33:46 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:33:46 File successfully converted to sysstat format version 12.2.1 07:33:46 + sadf -c /var/log/sa-host/sa23 07:33:46 file_magic: OK 07:33:46 HZ: Using current value: 100 07:33:46 file_header: OK 07:33:46 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 07:33:46 Statistics: 07:33:46 Hnuu...uuuununununu... 07:33:46 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:33:47 provisioning config files... 07:33:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-862@tmp/config5967893602515931358tmp [Pipeline] { [Pipeline] echo 07:33:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:33:47 ---> create-netrc.sh [Pipeline] } 07:33:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:33:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:33:48 ---> python-tools-install.sh [Pipeline] echo 07:33:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:33:48 ---> sudo-logs.sh 07:33:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:33:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:33:48 ---> job-cost.sh 07:33:48 lf-activate-venv: SKIPPING 07:33:48 DEBUG: total: 0.20999999344348907 07:33:48 INFO: Retrieving Stack Cost... 07:33:49 INFO: Retrieving Pricing Info for: v1-standard-2 07:33:50 INFO: Archiving Costs [Pipeline] echo 07:33:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:33:50 ---> logs-deploy.sh 07:33:50 lf-activate-venv: SKIPPING 07:33:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-862/2 07:33:50 INFO: archiving workspace using pattern(s): 07:33:52 Archives upload complete. 07:33:52 INFO: archiving logs to Nexus