Pull request #844 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 c8fd14d44e3511f1fc42d47f205efd4689f12aac+666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 (fa4b9a4eac1df96a6c58aed33be72bbaa769ab1c) 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-32459 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [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-844 # 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 > 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/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit c8fd14d44e3511f1fc42d47f205efd4689f12aac Merge succeeded, producing c8fd14d44e3511f1fc42d47f205efd4689f12aac Checking out Revision c8fd14d44e3511f1fc42d47f205efd4689f12aac (PR-844) > git config core.sparsecheckout # timeout=10 > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # 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 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 Commit message: "feat: add capability to load devices from directory" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:24:05 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 0a2987b4589b813d1d3ff1f40d1ad7d23589abff # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:24:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:24:06 ========================================================= 12:24:06 EdgeX Global Pipelines Version Info 12:24:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:24:07 ------------------- 12:24:07 stable info: 12:24:07 ------------------- 12:24:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:24:07 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 12:24:07 Message: update stable to v1.0.186 12:24:08 ------------------- 12:24:08 experimental info: 12:24:08 ------------------- 12:24:08 Commited By: **** collab-it+edgex@linuxfoundation.org 12:24:08 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 12:24:08 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:24:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 12:24:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:24:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:24:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 12:24:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:24:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:24:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:24:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:24:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:24:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:24:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:24:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:24:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:24:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 12:24:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:24:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:24:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:24:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:24:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-844 [Pipeline] echo 12:24:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-844 [Pipeline] echo 12:24:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-844 [Pipeline] echo 12:24:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8fd14d44e3511f1fc42d47f205efd4689f12aac [Pipeline] echo 12:24:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8fd14d [Pipeline] echo 12:24:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:24:12 provisioning config files... 12:24:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config7273581090749327013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:12 ---> docker-login.sh 12:24:12 nexus3.edgexfoundry.org:10001 12:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:13 Configure a credential helper to remove this warning. See 12:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:13 12:24:13 Login Succeeded 12:24:13 nexus3.edgexfoundry.org:10002 12:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:13 Configure a credential helper to remove this warning. See 12:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:13 12:24:13 Login Succeeded 12:24:13 nexus3.edgexfoundry.org:10003 12:24:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:13 Configure a credential helper to remove this warning. See 12:24:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:13 12:24:13 Login Succeeded 12:24:13 nexus3.edgexfoundry.org:10004 12:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:14 Configure a credential helper to remove this warning. See 12:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:14 12:24:14 Login Succeeded 12:24:14 docker.io 12:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:14 Configure a credential helper to remove this warning. See 12:24:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:14 12:24:14 Login Succeeded 12:24:14 ---> docker-login.sh ends [Pipeline] } 12:24:14 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 12:24:15 + git log --format=format:%s -1 c8fd14d44e3511f1fc42d47f205efd4689f12aac [Pipeline] echo 12:24:15 GIT_COMMIT: c8fd14d44e3511f1fc42d47f205efd4689f12aac, Commit Message: feat: add capability to load devices from directory [Pipeline] echo 12:24:15 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 12:24:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:24:16 12:24:16 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:24:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:24:16 latest: Pulling from edgex-devops/git-semver 12:24:16 31603596830f: Pulling fs layer 12:24:16 2a8b12db71e7: Pulling fs layer 12:24:16 6ca5941a6612: Pulling fs layer 12:24:16 ecc8261a40a4: Pulling fs layer 12:24:16 ecc8261a40a4: Waiting 12:24:16 2a8b12db71e7: Download complete 12:24:16 31603596830f: Verifying Checksum 12:24:16 31603596830f: Download complete 12:24:16 6ca5941a6612: Verifying Checksum 12:24:16 6ca5941a6612: Download complete 12:24:16 ecc8261a40a4: Verifying Checksum 12:24:16 ecc8261a40a4: Download complete 12:24:17 31603596830f: Pull complete 12:24:17 2a8b12db71e7: Pull complete 12:24:18 6ca5941a6612: Pull complete 12:24:18 ecc8261a40a4: Pull complete 12:24:18 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:24:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:24:18 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:24:18 prd-centos7-docker-4c-2g-32459 does not seem to be running inside a container 12:24:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@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 12:24:20 $ docker top ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:24:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:24:20 [ssh-agent] Looking for ssh-agent implementation... 12:24:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:24:21 $ docker exec ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 ssh-agent 12:24:21 SSH_AUTH_SOCK=/tmp/ssh-Kzhj2OzjQWOU/agent.12 12:24:21 SSH_AGENT_PID=17 12:24:21 Running ssh-add (command line suppressed) 12:24:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_6373756248854030205.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_6373756248854030205.key) 12:24:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:24:21 + git tag --points-at HEAD [Pipeline] } 12:24:21 $ docker exec --env ******** --env ******** ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 ssh-agent -k 12:24:21 unset SSH_AUTH_SOCK; 12:24:21 unset SSH_AGENT_PID; 12:24:21 echo Agent pid 17 killed; 12:24:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:24:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:24:22 [ssh-agent] Looking for ssh-agent implementation... 12:24:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:24:22 $ docker exec ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 ssh-agent 12:24:22 SSH_AUTH_SOCK=/tmp/ssh-3tTVdFJOwTl4/agent.46 12:24:22 SSH_AGENT_PID=51 12:24:22 Running ssh-add (command line suppressed) 12:24:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_1617245576045985534.key (/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/private_key_1617245576045985534.key) 12:24:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:24:23 + git semver init 12:24:23 # -> Open(): unable to determine branch for HEAD 12:24:23 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.git 12:24:23 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-844 12:24:23 # $SEMVER_REMOTE_NAME = origin 12:24:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:24:23 # $SEMVER_USER_NAME = edgex-jenkins 12:24:23 # $SEMVER_BRANCH = PR-844 12:24:23 # $SEMVER_TEMP = /tmp/semver-601211425 12:24:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 12:24:24 # '/tmp/semver-601211425' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver' 12:24:24 # -> Force: false 12:24:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-844/.semver [Pipeline] } 12:24:24 $ docker exec --env ******** --env ******** ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 ssh-agent -k 12:24:24 unset SSH_AUTH_SOCK; 12:24:24 unset SSH_AGENT_PID; 12:24:24 echo Agent pid 51 killed; 12:24:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:24:24 + git semver [Pipeline] } 12:24:24 $ docker stop --time=1 ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 12:24:26 $ docker rm -f ca940dab8f6aa0f30035cec00ee7823938fcdab7d3b72c374b06e5064955f844 [Pipeline] // withDockerContainer [Pipeline] sh 12:24:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:24:27 Stashed 1 file(s) [Pipeline] echo 12:24:27 [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 12:24:43 Still waiting to schedule task 12:24:43 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32459’ 12:24:43 Still waiting to schedule task 12:24:43 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:26:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32460 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws 12:26:23 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 12:26:29 using credential edgex-jenkins-ssh 12:26:29 Cloning the remote Git repository 12:26:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:26:29 > git init /w/workspace/device-sdk-go/8 # timeout=10 12:26:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:26:29 > git --version # timeout=10 12:26:29 > git --version # 'git version 2.17.1' 12:26:29 using GIT_SSH to set credentials SSH Credentials for GitHub 12:26:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:26:31 Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit c8fd14d44e3511f1fc42d47f205efd4689f12aac 12:26:31 Merge succeeded, producing c8fd14d44e3511f1fc42d47f205efd4689f12aac 12:26:31 Checking out Revision c8fd14d44e3511f1fc42d47f205efd4689f12aac (PR-844) 12:26:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:26:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:26:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:26:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:26:30 using GIT_SSH to set credentials SSH Credentials for GitHub 12:26:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:26:31 > git config core.sparsecheckout # timeout=10 12:26:31 > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 12:26:31 > git remote # timeout=10 12:26:31 > git config --get remote.origin.url # timeout=10 12:26:31 using GIT_SSH to set credentials SSH Credentials for GitHub 12:26:31 > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 12:26:31 > git rev-parse HEAD^{commit} # timeout=10 12:26:31 > git config core.sparsecheckout # timeout=10 12:26:31 > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 12:26:36 Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:26:37 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 12:26:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:26:38 + true 12:26:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:26:41 provisioning config files... 12:26:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config8954533159125761090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:26:41 ---> docker-login.sh 12:26:41 nexus3.edgexfoundry.org:10001 12:26:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:42 Configure a credential helper to remove this warning. See 12:26:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:42 12:26:42 Login Succeeded 12:26:42 nexus3.edgexfoundry.org:10002 12:26:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:43 Configure a credential helper to remove this warning. See 12:26:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:43 12:26:43 Login Succeeded 12:26:43 nexus3.edgexfoundry.org:10003 12:26:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:43 Configure a credential helper to remove this warning. See 12:26:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:43 12:26:43 Login Succeeded 12:26:43 nexus3.edgexfoundry.org:10004 12:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:44 Configure a credential helper to remove this warning. See 12:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:44 12:26:44 Login Succeeded 12:26:44 docker.io 12:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:26:44 Configure a credential helper to remove this warning. See 12:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:26:44 12:26:44 Login Succeeded 12:26:44 ---> docker-login.sh ends [Pipeline] } 12:26:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:26:45 ========================================================= 12:26:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 12:26:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:26:45 + 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 . 12:26:46 Sending build context to Docker daemon 2.404MB 12:26:46 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 12:26:46 Step 2/8 : FROM ${BASE} 12:26:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:26:46 5f621e34cdf4: Pulling fs layer 12:26:46 a4357932f1b6: Pulling fs layer 12:26:46 18c013af1878: Pulling fs layer 12:26:46 00ac8860ef70: Pulling fs layer 12:26:46 63d7cb157983: Pulling fs layer 12:26:46 b116817d02f9: Pulling fs layer 12:26:46 745a02a5169b: Pulling fs layer 12:26:46 00ac8860ef70: Waiting 12:26:46 63d7cb157983: Waiting 12:26:46 b116817d02f9: Waiting 12:26:46 745a02a5169b: Waiting 12:26:46 18c013af1878: Verifying Checksum 12:26:46 18c013af1878: Download complete 12:26:46 a4357932f1b6: Verifying Checksum 12:26:46 a4357932f1b6: Download complete 12:26:46 63d7cb157983: Download complete 12:26:46 b116817d02f9: Verifying Checksum 12:26:46 b116817d02f9: Download complete 12:26:46 5f621e34cdf4: Verifying Checksum 12:26:46 5f621e34cdf4: Download complete 12:26:47 5f621e34cdf4: Pull complete 12:26:47 a4357932f1b6: Pull complete 12:26:48 18c013af1878: Pull complete 12:26:49 745a02a5169b: Verifying Checksum 12:26:49 745a02a5169b: Download complete 12:26:50 00ac8860ef70: Download complete 12:27:00 00ac8860ef70: Pull complete 12:27:00 63d7cb157983: Pull complete 12:27:00 b116817d02f9: Pull complete 12:27:05 745a02a5169b: Pull complete 12:27:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 12:27:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 12:27:05 ---> b7e6874047d6 12:27:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:27:07 ---> Running in 1409c403c624 12:27:07 Running on prd-centos7-docker-4c-2g-32461 in /w/workspace/dgexfoundry_device-sdk-go_PR-844 [Pipeline] { [Pipeline] ws 12:27:07 Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout 12:27:07 Removing intermediate container 1409c403c624 12:27:07 ---> 93869a8e107d 12:27:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:27:07 ---> Running in 7b4497107c31 12:27:09 Removing intermediate container 7b4497107c31 12:27:09 ---> 3bf1b9a11aaa 12:27:09 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 12:27:10 ---> Running in 76aafd3821e5 12:27:10 using credential edgex-jenkins-ssh 12:27:10 Cloning the remote Git repository 12:27:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:27:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:27:10 > git init /w/workspace/device-sdk-go/8 # timeout=10 12:27:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:27:10 > git --version # timeout=10 12:27:10 > git --version # 'git version 2.24.3' 12:27:10 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:27:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:27:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:27:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:27:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:27:11 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/844/head:refs/remotes/origin/PR-844 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:27:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:27:11 Merging remotes/origin/master commit 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 into PR head commit c8fd14d44e3511f1fc42d47f205efd4689f12aac 12:27:11 Merge succeeded, producing c8fd14d44e3511f1fc42d47f205efd4689f12aac 12:27:11 Checking out Revision c8fd14d44e3511f1fc42d47f205efd4689f12aac (PR-844) 12:27:12 (1/6) Installing libc-dev (0.7.2-r3) 12:27:11 > git config core.sparsecheckout # timeout=10 12:27:11 > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 12:27:11 > git remote # timeout=10 12:27:11 > git config --get remote.origin.url # timeout=10 12:27:11 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:11 > git merge 666827f8b6804176e2a9d12c5bdc6fe2f1e0b4f2 # timeout=10 12:27:11 > git rev-parse HEAD^{commit} # timeout=10 12:27:11 > git config core.sparsecheckout # timeout=10 12:27:11 > git checkout -f c8fd14d44e3511f1fc42d47f205efd4689f12aac # timeout=10 12:27:12 (2/6) Installing libsodium (1.0.18-r0) 12:27:12 (3/6) Installing pkgconf (1.7.2-r0) 12:27:12 (4/6) Installing libsodium-dev (1.0.18-r0) 12:27:12 (5/6) Installing libzmq (4.3.3-r0) 12:27:13 (6/6) Installing zeromq-dev (4.3.3-r0) 12:27:13 Executing busybox-1.31.1-r19.trigger 12:27:13 OK: 144 MiB in 45 packages 12:27:14 Removing intermediate container 76aafd3821e5 12:27:14 ---> 565c96803640 12:27:14 Step 6/8 : WORKDIR /device-sdk-go 12:27:14 ---> Running in 1f3f63895ac0 12:27:15 Removing intermediate container 1f3f63895ac0 12:27:15 ---> 40bf41f6c714 12:27:15 Step 7/8 : COPY . . 12:27:15 Commit message: "feat: add capability to load devices from directory" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:27:16 ---> b62db218864d 12:27:16 Step 8/8 : RUN go mod download 12:27:16 ---> Running in 5e7972ac44c3 12:27:16 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 12:27:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:27:17 + sudo service docker restart 12:27:17 + true 12:27:17 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:27:18 provisioning config files... 12:27:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config2104992942384567362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:27:18 ---> docker-login.sh 12:27:18 nexus3.edgexfoundry.org:10001 12:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:19 Configure a credential helper to remove this warning. See 12:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:19 12:27:19 Login Succeeded 12:27:19 nexus3.edgexfoundry.org:10002 12:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:19 Configure a credential helper to remove this warning. See 12:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:19 12:27:19 Login Succeeded 12:27:19 nexus3.edgexfoundry.org:10003 12:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:19 Configure a credential helper to remove this warning. See 12:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:19 12:27:19 Login Succeeded 12:27:19 nexus3.edgexfoundry.org:10004 12:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:19 Configure a credential helper to remove this warning. See 12:27:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:19 12:27:19 Login Succeeded 12:27:19 docker.io 12:27:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:20 Configure a credential helper to remove this warning. See 12:27:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:20 12:27:20 Login Succeeded 12:27:20 ---> docker-login.sh ends [Pipeline] } 12:27:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:27:20 ========================================================= 12:27:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 12:27:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:27:21 + 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 . 12:27:21 Sending build context to Docker daemon 2.405MB 12:27:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 12:27:21 Step 2/8 : FROM ${BASE} 12:27:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 12:27:21 188c0c94c7c5: Pulling fs layer 12:27:21 0ef7d3d256c8: Pulling fs layer 12:27:21 de9db76c5a1d: Pulling fs layer 12:27:21 bca2f99d35d6: Pulling fs layer 12:27:21 93359f2a8cfa: Pulling fs layer 12:27:21 7c6f9722023f: Pulling fs layer 12:27:21 a35cf1a2eb13: Pulling fs layer 12:27:21 93359f2a8cfa: Waiting 12:27:21 7c6f9722023f: Waiting 12:27:21 a35cf1a2eb13: Waiting 12:27:21 bca2f99d35d6: Waiting 12:27:21 de9db76c5a1d: Verifying Checksum 12:27:21 de9db76c5a1d: Download complete 12:27:21 0ef7d3d256c8: Download complete 12:27:21 93359f2a8cfa: Verifying Checksum 12:27:21 93359f2a8cfa: Download complete 12:27:21 188c0c94c7c5: Verifying Checksum 12:27:21 188c0c94c7c5: Download complete 12:27:21 7c6f9722023f: Verifying Checksum 12:27:21 7c6f9722023f: Download complete 12:27:21 188c0c94c7c5: Pull complete 12:27:21 0ef7d3d256c8: Pull complete 12:27:21 de9db76c5a1d: Pull complete 12:27:23 a35cf1a2eb13: Verifying Checksum 12:27:23 a35cf1a2eb13: Download complete 12:27:24 bca2f99d35d6: Verifying Checksum 12:27:24 bca2f99d35d6: Download complete 12:27:29 bca2f99d35d6: Pull complete 12:27:29 93359f2a8cfa: Pull complete 12:27:29 7c6f9722023f: Pull complete 12:27:33 a35cf1a2eb13: Pull complete 12:27:33 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 12:27:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 12:27:33 ---> a62c8e92a672 12:27:33 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:27:33 ---> Running in b5f05b78ece5 12:27:33 Removing intermediate container b5f05b78ece5 12:27:33 ---> 0fe060a9081e 12:27:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:27:33 ---> Running in 47dc6039591e 12:27:34 Removing intermediate container 47dc6039591e 12:27:34 ---> 2e3ea84a5bd0 12:27:34 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 12:27:34 ---> Running in 19b656560f55 12:27:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:27:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:27:37 (1/6) Installing libc-dev (0.7.2-r3) 12:27:37 (2/6) Installing libsodium (1.0.18-r0) 12:27:37 (3/6) Installing pkgconf (1.7.2-r0) 12:27:37 (4/6) Installing libsodium-dev (1.0.18-r0) 12:27:37 (5/6) Installing libzmq (4.3.3-r0) 12:27:37 (6/6) Installing zeromq-dev (4.3.3-r0) 12:27:37 Executing busybox-1.31.1-r19.trigger 12:27:37 OK: 167 MiB in 45 packages 12:27:38 Removing intermediate container 19b656560f55 12:27:38 ---> 76b6967e1277 12:27:38 Step 6/8 : WORKDIR /device-sdk-go 12:27:38 ---> Running in b1583b445b36 12:27:38 Removing intermediate container b1583b445b36 12:27:38 ---> 1fa8e4a5ffea 12:27:38 Step 7/8 : COPY . . 12:27:40 ---> fbff16d38b90 12:27:40 Step 8/8 : RUN go mod download 12:27:40 ---> Running in c391ed827008 12:27:43 Removing intermediate container 5e7972ac44c3 12:27:43 ---> b8dad619033c 12:27:43 Successfully built b8dad619033c 12:27:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:27:43 + docker inspect -f . ci-base-image-arm64 12:27:43 . [Pipeline] withDockerContainer 12:27:44 prd-ubuntu18.04-docker-arm64-4c-16g-32460 does not seem to be running inside a container 12:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 12:27:45 $ docker top 197c79ba3d168657083bff016012f09e6128bab2ced5399b8cb86153d9f474ae -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:46 + go version 12:27:46 go version go1.15.5 linux/arm64 [Pipeline] } 12:27:46 $ docker stop --time=1 197c79ba3d168657083bff016012f09e6128bab2ced5399b8cb86153d9f474ae 12:27:48 $ docker rm -f 197c79ba3d168657083bff016012f09e6128bab2ced5399b8cb86153d9f474ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:27:49 + docker inspect -f . ci-base-image-arm64 12:27:49 . [Pipeline] withDockerContainer 12:27:49 prd-ubuntu18.04-docker-arm64-4c-16g-32460 does not seem to be running inside a container 12:27:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 12:27:51 $ docker top 7cbc672c91fbeb43e24d1940a214ad0a0f6605eaf1a7671387e1edb1d97a1d55 -eo pid,comm [Pipeline] { [Pipeline] sh 12:27:52 + make test 12:27:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:28:02 Removing intermediate container c391ed827008 12:28:02 ---> b93c1cb3c6af 12:28:02 Successfully built b93c1cb3c6af 12:28:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:28:02 + docker inspect -f . ci-base-image-x86_64 12:28:02 . [Pipeline] withDockerContainer 12:28:02 prd-centos7-docker-4c-2g-32461 does not seem to be running inside a container 12:28:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 12:28:03 $ docker top 2e45b5eb08ad6c42e1a99b2d80c8e792db41897825e882426c07d3da5985e78f -eo pid,comm [Pipeline] { [Pipeline] sh 12:28:04 + go version 12:28:04 go version go1.15.5 linux/amd64 [Pipeline] } 12:28:04 $ docker stop --time=1 2e45b5eb08ad6c42e1a99b2d80c8e792db41897825e882426c07d3da5985e78f 12:28:05 $ docker rm -f 2e45b5eb08ad6c42e1a99b2d80c8e792db41897825e882426c07d3da5985e78f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:28:06 + docker inspect -f . ci-base-image-x86_64 12:28:06 . [Pipeline] withDockerContainer 12:28:06 prd-centos7-docker-4c-2g-32461 does not seem to be running inside a container 12:28:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 12:28:07 $ docker top a7e90a720d072b9017b9be10556d7cf12317f855b5db83ad4d93e154063bb812 -eo pid,comm [Pipeline] { [Pipeline] sh 12:28:07 + make test 12:28:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:28:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 12:28:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 12:28:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 12:28:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 12:28:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 12:28:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 12:28:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 12:28:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.098s coverage: 28.1% of statements 12:28:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.117s coverage: 81.2% of statements 12:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.088s coverage: 7.8% of statements 12:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 12:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 12:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 12:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 32.5% of statements 12:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 12:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 12:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 12:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.084s coverage: 57.3% of statements 12:28:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.163s coverage: 6.6% of statements 12:28:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 12:28:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 12:28:40 GO111MODULE=on go vet ./... 12:28:55 gofmt -l . 12:28:55 [ "`gofmt -l .`" = "" ] 12:28:55 ./bin/test-attribution-txt.sh 12:28:55 ./bin/test-go-mod-tidy.sh [Pipeline] } 12:28:55 $ docker stop --time=1 a7e90a720d072b9017b9be10556d7cf12317f855b5db83ad4d93e154063bb812 12:28:57 $ docker rm -f a7e90a720d072b9017b9be10556d7cf12317f855b5db83ad4d93e154063bb812 [Pipeline] // withDockerContainer [Pipeline] sh 12:28:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:28:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:29:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:29:01 + ls -al . 12:29:01 total 188 12:29:01 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 1 12:28 . 12:29:01 drwxrwxr-x. 4 jenkins jenkins 28 Apr 1 12:27 .. 12:29:01 drwxrwxr-x. 2 jenkins jenkins 64 Apr 1 12:27 bin 12:29:01 -rw-r--r--. 1 jenkins jenkins 101239 Apr 1 12:28 coverage.out 12:29:01 -rw-rw-r--. 1 jenkins jenkins 987 Apr 1 12:27 Dockerfile.build 12:29:01 -rw-rw-r--. 1 jenkins jenkins 140 Apr 1 12:27 .dockerignore 12:29:01 drwxrwxr-x. 5 jenkins jenkins 62 Apr 1 12:27 example 12:29:01 drwxrwxr-x. 8 jenkins jenkins 179 Apr 1 12:27 .git 12:29:01 drwxrwxr-x. 2 jenkins jenkins 103 Apr 1 12:27 .github 12:29:01 -rw-rw-r--. 1 jenkins jenkins 138 Apr 1 12:27 .gitignore 12:29:01 -rw-r--r--. 1 jenkins jenkins 572 Apr 1 12:28 go.mod 12:29:01 -rw-r--r--. 1 jenkins jenkins 21117 Apr 1 12:28 go.sum 12:29:01 drwxrwxr-x. 14 jenkins jenkins 207 Apr 1 12:27 internal 12:29:01 -rw-rw-r--. 1 jenkins jenkins 901 Apr 1 12:27 Jenkinsfile 12:29:01 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 1 12:27 LICENSE 12:29:01 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 1 12:27 Makefile 12:29:01 drwxrwxr-x. 4 jenkins jenkins 26 Apr 1 12:27 openapi 12:29:01 drwxrwxr-x. 5 jenkins jenkins 50 Apr 1 12:27 pkg 12:29:01 -rw-rw-r--. 1 jenkins jenkins 5897 Apr 1 12:27 README.md 12:29:01 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 1 12:27 RELEASE-NOTES.txt 12:29:01 drwxrwxr-x. 4 jenkins jenkins 54 Apr 1 12:27 snap 12:29:01 -rw-rw-r--. 1 jenkins jenkins 5 Apr 1 12:24 VERSION 12:29:01 -rw-rw-r--. 1 jenkins jenkins 222 Apr 1 12:27 version.go [Pipeline] isUnix [Pipeline] sh 12:29:02 + 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=c8fd14d44e3511f1fc42d47f205efd4689f12aac --label arch=amd64 --label version=0.0.0 . 12:29:02 Sending build context to Docker daemon 2.507MB 12:29:02 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 12:29:02 Step 2/23 : FROM ${BASE} AS builder 12:29:02 ---> b93c1cb3c6af 12:29:02 Step 3/23 : WORKDIR /device-sdk-go 12:29:03 ---> Running in 073ce1501ca3 12:29:03 Removing intermediate container 073ce1501ca3 12:29:03 ---> eaf23eb71c5c 12:29:03 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:29:03 ---> Running in 6207e07346a6 12:29:03 Removing intermediate container 6207e07346a6 12:29:03 ---> 34b4ffaa33b0 12:29:03 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:29:03 ---> Running in a7e88888f6f3 12:29:04 Removing intermediate container a7e88888f6f3 12:29:04 ---> 060c947c7e57 12:29:04 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 12:29:04 ---> Running in 2a8ba7f8187a 12:29:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:29:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:29:06 OK: 167 MiB in 45 packages 12:29:06 Removing intermediate container 2a8ba7f8187a 12:29:06 ---> 5e08c3492443 12:29:06 Step 7/23 : COPY . . 12:29:07 ---> 232ab47ce674 12:29:07 Step 8/23 : RUN go mod download 12:29:07 ---> Running in 8fb7c05f2a80 12:29:08 Removing intermediate container 8fb7c05f2a80 12:29:08 ---> e009a38c1796 12:29:08 Step 9/23 : RUN make build 12:29:08 ---> Running in 4523a097a64e 12:29:08 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 12:29:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 12:29:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 12:29:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 12:29:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 12:29:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 12:29:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.150s coverage: 28.1% of statements 12:29:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.262s coverage: 81.2% of statements 12:29:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.156s coverage: 7.8% of statements 12:29:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 12:29:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 12:29:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 12:29:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.252s coverage: 32.5% of statements 12:29:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 12:29:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 12:29:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 12:29:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.246s coverage: 57.3% of statements 12:29:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.149s coverage: 6.6% of statements 12:29:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.149s coverage: 5.0% of statements 12:29:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 12:29:20 GO111MODULE=on go vet ./... 12:29:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 12:29:21 Removing intermediate container 4523a097a64e 12:29:21 ---> a9243912a0b6 12:29:21 Step 10/23 : FROM alpine:3.12 12:29:21 3.12: Pulling from library/alpine 12:29:21 532819f3e44c: Pulling fs layer 12:29:22 532819f3e44c: Verifying Checksum 12:29:22 532819f3e44c: Download complete 12:29:22 532819f3e44c: Pull complete 12:29:22 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 12:29:22 Status: Downloaded newer image for alpine:3.12 12:29:22 ---> 7230e588e954 12:29:22 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:29:22 ---> Running in 10cf7f4e52ed 12:29:22 Removing intermediate container 10cf7f4e52ed 12:29:22 ---> 425550b2e515 12:29:22 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:29:22 ---> Running in 451a9a5e798a 12:29:23 Removing intermediate container 451a9a5e798a 12:29:23 ---> 6c1b37bffdf8 12:29:23 Step 13/23 : RUN apk add --update --no-cache zeromq 12:29:23 ---> Running in ded680d9f8ae 12:29:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:29:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:29:25 (1/5) Installing libgcc (9.3.0-r2) 12:29:25 (2/5) Installing libsodium (1.0.18-r0) 12:29:25 (3/5) Installing libstdc++ (9.3.0-r2) 12:29:26 (4/5) Installing libzmq (4.3.3-r0) 12:29:26 (5/5) Installing zeromq (4.3.3-r0) 12:29:26 Executing busybox-1.31.1-r20.trigger 12:29:26 OK: 8 MiB in 19 packages 12:29:26 Removing intermediate container ded680d9f8ae 12:29:26 ---> 1a91d8d1c738 12:29:26 Step 14/23 : WORKDIR / 12:29:26 ---> Running in 5b24e4b0e801 12:29:26 Removing intermediate container 5b24e4b0e801 12:29:26 ---> b6c8d7639e12 12:29:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 12:29:27 ---> a55c85b3d53b 12:29:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 12:29:27 ---> 2d2f5d76d798 12:29:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 12:29:27 ---> 26530ee3d8ac 12:29:27 Step 18/23 : EXPOSE 49990 12:29:27 ---> Running in ead4204da6f2 12:29:28 Removing intermediate container ead4204da6f2 12:29:28 ---> e43a40687355 12:29:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 12:29:28 ---> Running in 68727a2208c8 12:29:28 Removing intermediate container 68727a2208c8 12:29:28 ---> ecec7a4c23e3 12:29:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:29:28 ---> Running in 68ce40806777 12:29:28 Removing intermediate container 68ce40806777 12:29:28 ---> 8572ee5a98eb 12:29:28 Step 21/23 : LABEL arch=amd64 12:29:28 ---> Running in 945d39543f31 12:29:28 Removing intermediate container 945d39543f31 12:29:28 ---> d302dbaacd99 12:29:28 Step 22/23 : LABEL git_sha=c8fd14d44e3511f1fc42d47f205efd4689f12aac 12:29:29 ---> Running in 73a2124b4fca 12:29:29 Removing intermediate container 73a2124b4fca 12:29:29 ---> 141b1ba98f26 12:29:29 Step 23/23 : LABEL version=0.0.0 12:29:29 ---> Running in 4193e1c4b0d3 12:29:29 Removing intermediate container 4193e1c4b0d3 12:29:29 ---> e7808da64a09 12:29:29 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:29:29 Successfully built e7808da64a09 12:29:29 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 12:29:30 ---> job-cost.sh 12:29:30 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yZhv 12:29:46 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 12:30:07 gofmt -l . 12:30:07 [ "`gofmt -l .`" = "" ] 12:30:07 ./bin/test-attribution-txt.sh 12:30:07 ./bin/test-go-mod-tidy.sh [Pipeline] } 12:30:07 $ docker stop --time=1 7cbc672c91fbeb43e24d1940a214ad0a0f6605eaf1a7671387e1edb1d97a1d55 12:30:10 $ docker rm -f 7cbc672c91fbeb43e24d1940a214ad0a0f6605eaf1a7671387e1edb1d97a1d55 [Pipeline] // withDockerContainer [Pipeline] sh 12:30:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:30:11 Warning: overwriting stash ‘coverage-report’ 12:30:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:30:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:30:13 + ls -al . 12:30:13 total 224 12:30:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 1 12:30 . 12:30:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:26 .. 12:30:13 -rw-rw-r-- 1 jenkins jenkins 140 Apr 1 12:26 .dockerignore 12:30:13 drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 12:26 .git 12:30:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 12:26 .github 12:30:13 -rw-rw-r-- 1 jenkins jenkins 138 Apr 1 12:26 .gitignore 12:30:13 -rw-rw-r-- 1 jenkins jenkins 987 Apr 1 12:26 Dockerfile.build 12:30:13 -rw-rw-r-- 1 jenkins jenkins 901 Apr 1 12:26 Jenkinsfile 12:30:13 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 1 12:26 LICENSE 12:30:13 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 1 12:26 Makefile 12:30:13 -rw-rw-r-- 1 jenkins jenkins 5897 Apr 1 12:26 README.md 12:30:13 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 1 12:26 RELEASE-NOTES.txt 12:30:13 -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 12:24 VERSION 12:30:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 12:26 bin 12:30:13 -rw-r--r-- 1 jenkins jenkins 101239 Apr 1 12:29 coverage.out 12:30:13 drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 12:26 example 12:30:13 -rw-r--r-- 1 jenkins jenkins 572 Apr 1 12:30 go.mod 12:30:13 -rw-r--r-- 1 jenkins jenkins 21117 Apr 1 12:30 go.sum 12:30:13 drwxrwxr-x 14 jenkins jenkins 4096 Apr 1 12:26 internal 12:30:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:26 openapi 12:30:13 drwxrwxr-x 5 jenkins jenkins 4096 Apr 1 12:26 pkg 12:30:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 12:26 snap 12:30:13 -rw-rw-r-- 1 jenkins jenkins 222 Apr 1 12:26 version.go [Pipeline] isUnix [Pipeline] sh 12:30:13 lf-activate-venv(): INFO: Adding /tmp/venv-yZhv/bin to PATH 12:30:13 INFO: No Stack... 12:30:13 INFO: Retrieving Pricing Info for: v1-standard-2 12:30:13 INFO: Archiving Costs [Pipeline] sh 12:30:13 + 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=c8fd14d44e3511f1fc42d47f205efd4689f12aac --label arch=arm64 --label version=0.0.0 . 12:30:13 + cat /w/workspace/device-sdk-go/8/archives/cost.csv 12:30:13 + cut -d, -f6 [Pipeline] lock 12:30:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] 12:30:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] did not exist. Created. 12:30:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:30:14 Sending build context to Docker daemon 2.506MB 12:30:14 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 12:30:14 Step 2/23 : FROM ${BASE} AS builder 12:30:14 ---> b8dad619033c 12:30:14 Step 3/23 : WORKDIR /device-sdk-go 12:30:14 ---> Running in ddcf9f7925a5 12:30:14 + echo total: 0.029999999329447746 [Pipeline] stash 12:30:14 Stashed 1 file(s) [Pipeline] } 12:30:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } 12:30:14 Removing intermediate container ddcf9f7925a5 12:30:14 ---> 68fdbd50b699 12:30:14 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:30:14 ---> Running in da4ff237ba45 [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:30:15 Removing intermediate container da4ff237ba45 12:30:15 ---> b186bc9b08f7 12:30:15 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:30:15 ---> Running in 1524412d08a9 12:30:18 Removing intermediate container 1524412d08a9 12:30:18 ---> 67741e056cbc 12:30:18 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 12:30:18 ---> Running in 3a5fd452a356 12:30:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:30:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:30:20 OK: 144 MiB in 45 packages 12:30:21 Removing intermediate container 3a5fd452a356 12:30:21 ---> 2dc33e93c859 12:30:21 Step 7/23 : COPY . . 12:30:22 ---> 67c87ff3fda9 12:30:22 Step 8/23 : RUN go mod download 12:30:23 ---> Running in 75d3df0ab64b 12:30:25 Removing intermediate container 75d3df0ab64b 12:30:25 ---> 3f0779d793df 12:30:25 Step 9/23 : RUN make build 12:30:25 ---> Running in e9e27654e9de 12:30:26 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 12:30:59 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 12:31:00 Removing intermediate container e9e27654e9de 12:31:00 ---> 4c0c7106f085 12:31:00 Step 10/23 : FROM alpine:3.12 12:31:01 3.12: Pulling from library/alpine 12:31:01 9a219e8acc52: Pulling fs layer 12:31:01 9a219e8acc52: Verifying Checksum 12:31:01 9a219e8acc52: Download complete 12:31:01 9a219e8acc52: Pull complete 12:31:02 Digest: sha256:834e9309b5ef0f78d8d20ef0652e7b0272fe97b5baf45720e1b830eaf013cc1b 12:31:02 Status: Downloaded newer image for alpine:3.12 12:31:02 ---> d75e27dfc0a0 12:31:02 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:31:02 ---> Running in 5c6235f4e6fb 12:31:02 Removing intermediate container 5c6235f4e6fb 12:31:02 ---> bbc7dae85161 12:31:02 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:31:02 ---> Running in 4428d920507c 12:31:04 Removing intermediate container 4428d920507c 12:31:04 ---> 8cb02d83907d 12:31:04 Step 13/23 : RUN apk add --update --no-cache zeromq 12:31:04 ---> Running in 46203b6b292e 12:31:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:31:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:31:07 (1/5) Installing libgcc (9.3.0-r2) 12:31:07 (2/5) Installing libsodium (1.0.18-r0) 12:31:07 (3/5) Installing libstdc++ (9.3.0-r2) 12:31:07 (4/5) Installing libzmq (4.3.3-r0) 12:31:08 (5/5) Installing zeromq (4.3.3-r0) 12:31:08 Executing busybox-1.31.1-r20.trigger 12:31:08 OK: 8 MiB in 19 packages 12:31:09 Removing intermediate container 46203b6b292e 12:31:09 ---> 23b628fdea6f 12:31:09 Step 14/23 : WORKDIR / 12:31:09 ---> Running in dd2afd109a90 12:31:10 Removing intermediate container dd2afd109a90 12:31:10 ---> c5e32c3d9948 12:31:10 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 12:31:10 ---> 897329d15fc8 12:31:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 12:31:12 ---> 9df3adb18a8c 12:31:12 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 12:31:12 ---> fc6db14df97f 12:31:12 Step 18/23 : EXPOSE 49990 12:31:12 ---> Running in 2b3287a20474 12:31:13 Removing intermediate container 2b3287a20474 12:31:13 ---> df259444ef84 12:31:13 Step 19/23 : ENTRYPOINT ["/device-simple"] 12:31:13 ---> Running in bf83b3ddd71a 12:31:13 Removing intermediate container bf83b3ddd71a 12:31:13 ---> 7eec9e53dce9 12:31:13 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:31:13 ---> Running in 99279d6d0289 12:31:14 Removing intermediate container 99279d6d0289 12:31:14 ---> d5a178f93fbd 12:31:14 Step 21/23 : LABEL arch=arm64 12:31:14 ---> Running in ed1353f6e424 12:31:14 Removing intermediate container ed1353f6e424 12:31:14 ---> 34d119798479 12:31:14 Step 22/23 : LABEL git_sha=c8fd14d44e3511f1fc42d47f205efd4689f12aac 12:31:15 ---> Running in 86b044c85f8d 12:31:15 Removing intermediate container 86b044c85f8d 12:31:15 ---> a5263ad62357 12:31:15 Step 23/23 : LABEL version=0.0.0 12:31:15 ---> Running in 7747455e361e 12:31:15 Removing intermediate container 7747455e361e 12:31:15 ---> ba26da43d45d 12:31:15 [Warning] One or more build-args [ARCH MAKE] were not consumed 12:31:16 Successfully built ba26da43d45d 12:31:16 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 12:31:17 ---> job-cost.sh 12:31:17 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-yX3c 12:31:56 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 12:33:32 lf-activate-venv(): INFO: Adding /tmp/venv-yX3c/bin to PATH 12:33:32 INFO: No Stack... 12:33:32 INFO: Retrieving Pricing Info for: lf-standard-4 12:33:32 INFO: Archiving Costs [Pipeline] sh 12:33:33 + cut -d, -f6 12:33:33 + cat /w/workspace/device-sdk-go/8/archives/cost.csv [Pipeline] lock 12:33:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] 12:33:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] did not exist. Created. 12:33:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-844-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:33:33 /w/workspace/device-sdk-go/8@tmp/durable-165c52ab/script.sh: 1: /w/workspace/device-sdk-go/8@tmp/durable-165c52ab/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 12:33:34 + echo total: 0.20999999344348907 [Pipeline] stash 12:33:34 Warning: overwriting stash ‘stack-cost’ 12:33:34 Stashed 1 file(s) [Pipeline] } 12:33:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-844-8-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 12:33:35 provisioning config files... 12:33:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config3623153667893319061tmp [Pipeline] { [Pipeline] sh 12:33:36 + set +x 12:33:36 + curl -s https://codecov.io/bash 12:33:36 + bash -s -- 12:33:36 12:33:36 _____ _ 12:33:36 / ____| | | 12:33:36 | | ___ __| | ___ ___ _____ __ 12:33:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:33:36 | |___| (_) | (_| | __/ (_| (_) \ V / 12:33:36 \_____\___/ \__,_|\___|\___\___/ \_/ 12:33:36 Bash-20210309-2b87ace 12:33:36 12:33:36 12:33:36 ==> git version 2.24.3 found 12:33:36 ==> 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 12:33:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 12:33:36 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 12:33:36 ==> Jenkins CI detected. 12:33:36 project root: . 12:33:36 --> token set from env 12:33:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:33:36 ==> Running gcov in . (disable via -X gcov) 12:33:36 ==> Python coveragepy not found 12:33:36 ==> Searching for coverage reports in: 12:33:36 + . 12:33:36 -> Found 1 reports 12:33:36 ==> Detecting git/mercurial file structure 12:33:36 ==> Reading reports 12:33:36 + ./coverage.out bytes=101239 12:33:36 ==> Appending adjustments 12:33:36 https://docs.codecov.io/docs/fixing-reports 12:33:37 + Found adjustments 12:33:37 ==> Gzipping contents 12:33:37 16K /tmp/codecov.jOI6GY.gz 12:33:37 ==> Uploading reports 12:33:37 url: https://codecov.io 12:33:37 query: branch=PR-844&commit=c8fd14d44e3511f1fc42d47f205efd4689f12aac&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= 12:33:37 -> Pinging Codecov 12:33:37 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-844&commit=c8fd14d44e3511f1fc42d47f205efd4689f12aac&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-844%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=844&job=&cmd_args= 12:33:37 -> Uploading to 12:33:37 https://storage.googleapis.com/codecov/v4/raw/2021-04-01/7E55EF52A471D76F132DFD9A03CDDE97/c8fd14d44e3511f1fc42d47f205efd4689f12aac/7b1f753d-ca54-4cae-ab4d-79cabef2e125.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210401T123337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=43913d631e9faba489f0b7870b3b18d60d1e14481860d99dd2ea4ee650367022 12:33:37 % Total % Received % Xferd Average Speed Time Time Time Current 12:33:37 Dload Upload Total Spent Left Speed 12:33:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13716 0 0 100 13716 0 29022 --:--:-- --:--:-- --:--:-- 28997 100 13716 0 0 100 13716 0 29011 --:--:-- --:--:-- --:--:-- 28997 12:33:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c8fd14d44e3511f1fc42d47f205efd4689f12aac [Pipeline] } 12:33:38 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 12:33:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:33:41 ---> package-listing.sh 12:33:41 ++ tr '[:upper:]' '[:lower:]' 12:33:41 ++ facter osfamily 12:33:41 + OS_FAMILY=redhat 12:33:41 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-844 12:33:41 + START_PACKAGES=/tmp/packages_start.txt 12:33:41 + END_PACKAGES=/tmp/packages_end.txt 12:33:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:33:41 + PACKAGES=/tmp/packages_start.txt 12:33:41 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' 12:33:41 + PACKAGES=/tmp/packages_end.txt 12:33:41 + case "${OS_FAMILY}" in 12:33:41 + rpm -qa 12:33:41 + sort 12:33:46 + '[' -f /tmp/packages_start.txt ']' 12:33:46 + '[' -f /tmp/packages_end.txt ']' 12:33:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:33:46 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-844 ']' 12:33:46 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ 12:33:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-844/archives/ [Pipeline] echo 12:33:46 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-844/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:33:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:33:47 12:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:33:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:33:47 alpine: Pulling from edgex-lftools-log-publisher 12:33:47 df20fa9351a1: Pulling fs layer 12:33:47 36b3adc4ff6f: Pulling fs layer 12:33:47 8ad3a11d3b57: Pulling fs layer 12:33:47 46f8f816bc3b: Pulling fs layer 12:33:47 46f8f816bc3b: Waiting 12:33:47 93b61091891f: Pulling fs layer 12:33:47 93b9cdb0e59b: Pulling fs layer 12:33:47 5e14af77c1be: Pulling fs layer 12:33:47 01666e4c0597: Pulling fs layer 12:33:47 aa168da1d23b: Pulling fs layer 12:33:47 93b9cdb0e59b: Waiting 12:33:47 93b61091891f: Waiting 12:33:47 5e14af77c1be: Waiting 12:33:47 01666e4c0597: Waiting 12:33:47 aa168da1d23b: Waiting 12:33:47 36b3adc4ff6f: Download complete 12:33:47 46f8f816bc3b: Verifying Checksum 12:33:47 46f8f816bc3b: Download complete 12:33:47 df20fa9351a1: Verifying Checksum 12:33:47 df20fa9351a1: Download complete 12:33:47 93b9cdb0e59b: Verifying Checksum 12:33:47 93b9cdb0e59b: Download complete 12:33:47 5e14af77c1be: Verifying Checksum 12:33:47 5e14af77c1be: Download complete 12:33:47 93b61091891f: Verifying Checksum 12:33:47 93b61091891f: Download complete 12:33:47 01666e4c0597: Verifying Checksum 12:33:47 01666e4c0597: Download complete 12:33:47 df20fa9351a1: Pull complete 12:33:48 36b3adc4ff6f: Pull complete 12:33:48 8ad3a11d3b57: Verifying Checksum 12:33:48 8ad3a11d3b57: Download complete 12:33:50 aa168da1d23b: Verifying Checksum 12:33:50 aa168da1d23b: Download complete 12:33:50 8ad3a11d3b57: Pull complete 12:33:50 46f8f816bc3b: Pull complete 12:33:50 93b61091891f: Pull complete 12:33:51 93b9cdb0e59b: Pull complete 12:33:51 5e14af77c1be: Pull complete 12:33:51 01666e4c0597: Pull complete 12:33:59 aa168da1d23b: Pull complete 12:33:59 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 12:33:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:33:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:33:59 prd-centos7-docker-4c-2g-32459 does not seem to be running inside a container 12:33:59 $ 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-844/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-844 -v /w/workspace/dgexfoundry_device-sdk-go_PR-844:/w/workspace/dgexfoundry_device-sdk-go_PR-844:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-844@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 12:34:03 $ docker top 586a82f85c199cf1d611159fb744c2d5703cf925666ecd11d8bc87627210c5dd -eo pid,comm [Pipeline] { [Pipeline] sh 12:34:04 + touch /tmp/pre-build-complete [Pipeline] sh 12:34:04 + mkdir -p /var/log/sa [Pipeline] sh 12:34:05 + ls /var/log/sa-host 12:34:05 + sadf -c /var/log/sa-host/sa01 12:34:05 file_magic: OK 12:34:05 HZ: Using current value: 100 12:34:05 file_header: OK 12:34:05 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 12:34:05 Statistics: 12:34:05 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:34:05 File successfully converted to sysstat format version 12.2.1 12:34:05 + sadf -c /var/log/sa-host/sa23 12:34:05 file_magic: OK 12:34:05 HZ: Using current value: 100 12:34:05 file_header: OK 12:34:05 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 12:34:05 Statistics: 12:34:05 Hnuu...uuuununununu... 12:34:05 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:34:05 provisioning config files... 12:34:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-844@tmp/config1091470425370841773tmp [Pipeline] { [Pipeline] echo 12:34:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:34:06 ---> create-netrc.sh [Pipeline] } 12:34:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:34:06 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:34:06 ---> python-tools-install.sh [Pipeline] echo 12:34:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:34:06 ---> sudo-logs.sh 12:34:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:34:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:34:07 ---> job-cost.sh 12:34:07 lf-activate-venv: SKIPPING 12:34:07 DEBUG: total: 0.20999999344348907 12:34:07 INFO: Retrieving Stack Cost... 12:34:08 INFO: Retrieving Pricing Info for: v1-standard-2 12:34:08 INFO: Archiving Costs [Pipeline] echo 12:34:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:34:09 ---> logs-deploy.sh 12:34:09 lf-activate-venv: SKIPPING 12:34:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-844/8 12:34:09 INFO: archiving workspace using pattern(s): 12:34:11 Archives upload complete. 12:34:11 INFO: archiving logs to Nexus 12:34:12 ---> uname -a: 12:34:12 Linux prd-centos7-docker-4c-2g-32459.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 12:34:12 12:34:12