Pull request #890 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3676bc4525961bc49336a0017dbee63d0b8dd3cb+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (da74afbc9f10d5f52d1edf54b54ef5f3739c495f) 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 Waiting for next available executor Running on prd-centos7-docker-4c-2g-1803 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [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-890 # 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 3676bc4525961bc49336a0017dbee63d0b8dd3cb Merge succeeded, producing 3676bc4525961bc49336a0017dbee63d0b8dd3cb Checking out Revision 3676bc4525961bc49336a0017dbee63d0b8dd3cb (PR-890) > 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/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # 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 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git rev-list --no-walk 302da4d761c049a5c7b17f5d60bd2559549f30af # timeout=10 [Pipeline] timeout 10:02:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:02:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:02:24 ========================================================= 10:02:24 EdgeX Global Pipelines Version Info 10:02:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:02:26 ------------------- 10:02:26 stable info: 10:02:26 ------------------- 10:02:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:02:26 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 10:02:26 Message: update stable to v1.0.186 10:02:27 ------------------- 10:02:27 experimental info: 10:02:27 ------------------- 10:02:27 Commited By: **** collab-it+edgex@linuxfoundation.org 10:02:27 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 10:02:27 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:02:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-890 [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-890 [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-890 [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3676bc4525961bc49336a0017dbee63d0b8dd3cb [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3676bc4 [Pipeline] echo 10:02:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:02:28 provisioning config files... 10:02:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config5257188372995186303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:28 ---> docker-login.sh 10:02:28 nexus3.edgexfoundry.org:10001 10:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:29 Configure a credential helper to remove this warning. See 10:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:29 10:02:29 Login Succeeded 10:02:29 nexus3.edgexfoundry.org:10002 10:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:29 Configure a credential helper to remove this warning. See 10:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:29 10:02:29 Login Succeeded 10:02:29 nexus3.edgexfoundry.org:10003 10:02:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:30 Configure a credential helper to remove this warning. See 10:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:30 10:02:30 Login Succeeded 10:02:30 nexus3.edgexfoundry.org:10004 10:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:30 Configure a credential helper to remove this warning. See 10:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:30 10:02:30 Login Succeeded 10:02:30 docker.io 10:02:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:02:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:02:30 Configure a credential helper to remove this warning. See 10:02:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:02:30 10:02:30 Login Succeeded 10:02:30 ---> docker-login.sh ends [Pipeline] } 10:02:30 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 10:02:31 + git log --format=format:%s -1 3676bc4525961bc49336a0017dbee63d0b8dd3cb [Pipeline] echo 10:02:31 GIT_COMMIT: 3676bc4525961bc49336a0017dbee63d0b8dd3cb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 10:02:31 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:02:32 10:02:32 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:02:32 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:02:32 latest: Pulling from edgex-devops/git-semver 10:02:32 31603596830f: Pulling fs layer 10:02:32 2a8b12db71e7: Pulling fs layer 10:02:32 6ca5941a6612: Pulling fs layer 10:02:32 ecc8261a40a4: Pulling fs layer 10:02:32 ecc8261a40a4: Waiting 10:02:32 2a8b12db71e7: Verifying Checksum 10:02:32 2a8b12db71e7: Download complete 10:02:32 31603596830f: Verifying Checksum 10:02:32 31603596830f: Download complete 10:02:32 6ca5941a6612: Verifying Checksum 10:02:32 6ca5941a6612: Download complete 10:02:32 ecc8261a40a4: Verifying Checksum 10:02:32 ecc8261a40a4: Download complete 10:02:33 31603596830f: Pull complete 10:02:33 2a8b12db71e7: Pull complete 10:02:34 6ca5941a6612: Pull complete 10:02:34 ecc8261a40a4: Pull complete 10:02:34 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:02:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:02:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:02:34 prd-centos7-docker-4c-2g-1803 does not seem to be running inside a container 10:02:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-890 -v /w/workspace/dgexfoundry_device-sdk-go_PR-890:/w/workspace/dgexfoundry_device-sdk-go_PR-890:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 10:02:36 $ docker top 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:02:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:36 [ssh-agent] Looking for ssh-agent implementation... 10:02:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:37 $ docker exec 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 ssh-agent 10:02:37 SSH_AUTH_SOCK=/tmp/ssh-bGWxwlganxAK/agent.12 10:02:37 SSH_AGENT_PID=18 10:02:37 Running ssh-add (command line suppressed) 10:02:37 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_1431222078659027798.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_1431222078659027798.key) 10:02:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:37 + git tag --points-at HEAD [Pipeline] } 10:02:37 $ docker exec --env ******** --env ******** 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 ssh-agent -k 10:02:37 unset SSH_AUTH_SOCK; 10:02:37 unset SSH_AGENT_PID; 10:02:37 echo Agent pid 18 killed; 10:02:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:02:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:02:38 [ssh-agent] Looking for ssh-agent implementation... 10:02:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:02:38 $ docker exec 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 ssh-agent 10:02:38 SSH_AUTH_SOCK=/tmp/ssh-TVhUv3vH9F8i/agent.46 10:02:38 SSH_AGENT_PID=51 10:02:38 Running ssh-add (command line suppressed) 10:02:38 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_9086382893348822792.key (/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/private_key_9086382893348822792.key) 10:02:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:02:38 + git semver init 10:02:38 # -> Open(): unable to determine branch for HEAD 10:02:38 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.git 10:02:38 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-890 10:02:38 # $SEMVER_REMOTE_NAME = origin 10:02:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:02:38 # $SEMVER_USER_NAME = edgex-jenkins 10:02:38 # $SEMVER_BRANCH = PR-890 10:02:38 # $SEMVER_TEMP = /tmp/semver-040328810 10:02:38 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:02:39 # '/tmp/semver-040328810' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver' 10:02:39 # -> Force: false 10:02:39 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-890/.semver [Pipeline] } 10:02:39 $ docker exec --env ******** --env ******** 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 ssh-agent -k 10:02:40 unset SSH_AUTH_SOCK; 10:02:40 unset SSH_AGENT_PID; 10:02:40 echo Agent pid 51 killed; 10:02:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:02:40 + git semver [Pipeline] } 10:02:40 $ docker stop --time=1 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 10:02:41 $ docker rm -f 282aabb8916c1f81184c68f1c3446e27b231f0d3871310302d3a63ea4c0a4c09 [Pipeline] // withDockerContainer [Pipeline] sh 10:02:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:02:42 Stashed 1 file(s) [Pipeline] echo 10:02:42 [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 10:02:57 Still waiting to schedule task 10:02:57 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1803’ 10:02:57 Still waiting to schedule task 10:02:57 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 10:04:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1805 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws 10:04:50 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:04:56 using credential edgex-jenkins-ssh 10:04:56 Cloning the remote Git repository 10:04:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:04:56 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:04:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:04:56 > git --version # timeout=10 10:04:56 > git --version # 'git version 2.17.1' 10:04:56 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:04:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:04:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:04:57 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:04:57 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:04:58 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 3676bc4525961bc49336a0017dbee63d0b8dd3cb 10:04:58 Merge succeeded, producing 3676bc4525961bc49336a0017dbee63d0b8dd3cb 10:04:58 Checking out Revision 3676bc4525961bc49336a0017dbee63d0b8dd3cb (PR-890) 10:04:58 > git config core.sparsecheckout # timeout=10 10:04:58 > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 10:04:58 > git remote # timeout=10 10:04:58 > git config --get remote.origin.url # timeout=10 10:04:58 using GIT_SSH to set credentials SSH Credentials for GitHub 10:04:58 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 10:04:58 > git rev-parse HEAD^{commit} # timeout=10 10:04:58 > git config core.sparsecheckout # timeout=10 10:04:58 > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 10:05:02 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:05:04 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:05:05 + true 10:05:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:05:07 provisioning config files... 10:05:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8132313143515528659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:07 ---> docker-login.sh 10:05:07 nexus3.edgexfoundry.org:10001 10:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:08 Configure a credential helper to remove this warning. See 10:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:08 10:05:08 Login Succeeded 10:05:08 nexus3.edgexfoundry.org:10002 10:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:09 Configure a credential helper to remove this warning. See 10:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:09 10:05:09 Login Succeeded 10:05:09 nexus3.edgexfoundry.org:10003 10:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:09 Configure a credential helper to remove this warning. See 10:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:09 10:05:09 Login Succeeded 10:05:09 nexus3.edgexfoundry.org:10004 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:10 Configure a credential helper to remove this warning. See 10:05:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:10 10:05:10 Login Succeeded 10:05:10 docker.io 10:05:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:11 Configure a credential helper to remove this warning. See 10:05:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:11 10:05:11 Login Succeeded 10:05:11 ---> docker-login.sh ends [Pipeline] } 10:05:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:11 ========================================================= 10:05:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:05:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:05:11 + 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 . 10:05:12 Sending build context to Docker daemon 2.459MB 10:05:12 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:05:12 Step 2/8 : FROM ${BASE} 10:05:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:05:12 5f621e34cdf4: Pulling fs layer 10:05:12 a4357932f1b6: Pulling fs layer 10:05:12 18c013af1878: Pulling fs layer 10:05:12 00ac8860ef70: Pulling fs layer 10:05:12 63d7cb157983: Pulling fs layer 10:05:12 b116817d02f9: Pulling fs layer 10:05:12 745a02a5169b: Pulling fs layer 10:05:12 00ac8860ef70: Waiting 10:05:12 63d7cb157983: Waiting 10:05:12 b116817d02f9: Waiting 10:05:12 745a02a5169b: Waiting 10:05:12 18c013af1878: Verifying Checksum 10:05:12 18c013af1878: Download complete 10:05:12 a4357932f1b6: Verifying Checksum 10:05:12 a4357932f1b6: Download complete 10:05:12 63d7cb157983: Verifying Checksum 10:05:12 63d7cb157983: Download complete 10:05:12 b116817d02f9: Verifying Checksum 10:05:12 b116817d02f9: Download complete 10:05:12 5f621e34cdf4: Verifying Checksum 10:05:12 5f621e34cdf4: Download complete 10:05:12 5f621e34cdf4: Pull complete 10:05:13 a4357932f1b6: Pull complete 10:05:13 18c013af1878: Pull complete 10:05:14 745a02a5169b: Verifying Checksum 10:05:14 745a02a5169b: Download complete 10:05:15 00ac8860ef70: Download complete 10:05:25 Running on prd-centos7-docker-4c-2g-1808 in /w/workspace/dgexfoundry_device-sdk-go_PR-890 [Pipeline] { [Pipeline] ws 10:05:25 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 10:05:26 00ac8860ef70: Pull complete 10:05:26 63d7cb157983: Pull complete 10:05:26 b116817d02f9: Pull complete 10:05:28 using credential edgex-jenkins-ssh 10:05:28 Cloning the remote Git repository 10:05:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:05:28 > git init /w/workspace/device-sdk-go/3 # timeout=10 10:05:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:05:28 > git --version # timeout=10 10:05:28 > git --version # 'git version 2.24.3' 10:05:28 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:30 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit 3676bc4525961bc49336a0017dbee63d0b8dd3cb 10:05:30 Merge succeeded, producing 3676bc4525961bc49336a0017dbee63d0b8dd3cb 10:05:30 Checking out Revision 3676bc4525961bc49336a0017dbee63d0b8dd3cb (PR-890) 10:05:30 745a02a5169b: Pull complete 10:05:30 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:05:30 ---> b7e6874047d6 10:05:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:05:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:05:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:05:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:05:29 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/890/head:refs/remotes/origin/PR-890 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:05:30 > git config core.sparsecheckout # timeout=10 10:05:30 > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 10:05:30 > git remote # timeout=10 10:05:30 > git config --get remote.origin.url # timeout=10 10:05:30 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:30 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 10:05:30 > git rev-parse HEAD^{commit} # timeout=10 10:05:30 > git config core.sparsecheckout # timeout=10 10:05:30 > git checkout -f 3676bc4525961bc49336a0017dbee63d0b8dd3cb # timeout=10 10:05:33 ---> Running in 610bb6dd5cfa 10:05:33 Removing intermediate container 610bb6dd5cfa 10:05:33 ---> dfe8635e8e16 10:05:33 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:33 ---> Running in eb8413962ab1 10:05:34 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:05:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:05:36 Removing intermediate container eb8413962ab1 10:05:36 ---> f05116606f95 10:05:36 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:05:36 ---> Running in f3101e66824d 10:05:36 + sudo service docker restart 10:05:36 + true 10:05:36 Redirecting to /bin/systemctl restart docker.service 10:05:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:05:37 provisioning config files... 10:05:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8024864623252441160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:05:37 ---> docker-login.sh 10:05:37 nexus3.edgexfoundry.org:10001 10:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:38 Configure a credential helper to remove this warning. See 10:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:38 10:05:38 Login Succeeded 10:05:38 nexus3.edgexfoundry.org:10002 10:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:38 Configure a credential helper to remove this warning. See 10:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:38 10:05:38 Login Succeeded 10:05:38 nexus3.edgexfoundry.org:10003 10:05:38 (1/6) Installing libc-dev (0.7.2-r3) 10:05:38 (2/6) Installing libsodium (1.0.18-r0) 10:05:38 (3/6) Installing pkgconf (1.7.2-r0) 10:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:38 Configure a credential helper to remove this warning. See 10:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:38 10:05:38 Login Succeeded 10:05:38 nexus3.edgexfoundry.org:10004 10:05:38 (4/6) Installing libsodium-dev (1.0.18-r0) 10:05:38 (5/6) Installing libzmq (4.3.3-r0) 10:05:38 (6/6) Installing zeromq-dev (4.3.3-r0) 10:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:39 Configure a credential helper to remove this warning. See 10:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:39 10:05:39 Login Succeeded 10:05:39 docker.io 10:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:39 Executing busybox-1.31.1-r19.trigger 10:05:39 OK: 144 MiB in 45 packages 10:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:39 Configure a credential helper to remove this warning. See 10:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:39 10:05:39 Login Succeeded 10:05:39 ---> docker-login.sh ends [Pipeline] } 10:05:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:39 ========================================================= 10:05:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:05:39 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:05:39 + 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 . 10:05:40 Sending build context to Docker daemon 2.46MB 10:05:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:05:40 Step 2/8 : FROM ${BASE} 10:05:40 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:05:40 188c0c94c7c5: Pulling fs layer 10:05:40 0ef7d3d256c8: Pulling fs layer 10:05:40 de9db76c5a1d: Pulling fs layer 10:05:40 bca2f99d35d6: Pulling fs layer 10:05:40 93359f2a8cfa: Pulling fs layer 10:05:40 7c6f9722023f: Pulling fs layer 10:05:40 a35cf1a2eb13: Pulling fs layer 10:05:40 bca2f99d35d6: Waiting 10:05:40 93359f2a8cfa: Waiting 10:05:40 a35cf1a2eb13: Waiting 10:05:40 7c6f9722023f: Waiting 10:05:40 de9db76c5a1d: Download complete 10:05:40 0ef7d3d256c8: Verifying Checksum 10:05:40 0ef7d3d256c8: Download complete 10:05:40 93359f2a8cfa: Verifying Checksum 10:05:40 93359f2a8cfa: Download complete 10:05:40 7c6f9722023f: Download complete 10:05:40 188c0c94c7c5: Verifying Checksum 10:05:40 188c0c94c7c5: Download complete 10:05:40 Removing intermediate container f3101e66824d 10:05:40 ---> 99b4254a14ae 10:05:40 Step 6/8 : WORKDIR /device-sdk-go 10:05:40 ---> Running in 3cac3db9685e 10:05:40 188c0c94c7c5: Pull complete 10:05:41 0ef7d3d256c8: Pull complete 10:05:41 de9db76c5a1d: Pull complete 10:05:41 Removing intermediate container 3cac3db9685e 10:05:41 ---> 9d66c7e8dab8 10:05:41 Step 7/8 : COPY . . 10:05:42 ---> c95123a191d3 10:05:42 Step 8/8 : RUN go mod download 10:05:42 ---> Running in b3ed9b19a415 10:05:43 a35cf1a2eb13: Verifying Checksum 10:05:43 a35cf1a2eb13: Download complete 10:05:43 bca2f99d35d6: Download complete 10:05:52 bca2f99d35d6: Pull complete 10:05:52 93359f2a8cfa: Pull complete 10:05:52 7c6f9722023f: Pull complete 10:05:59 a35cf1a2eb13: Pull complete 10:05:59 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:05:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:05:59 ---> a62c8e92a672 10:05:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:05:59 ---> Running in 14972a1ec378 10:05:59 Removing intermediate container 14972a1ec378 10:05:59 ---> b6964b4e2767 10:05:59 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:59 ---> Running in c6c02317a9c0 10:06:01 Removing intermediate container c6c02317a9c0 10:06:01 ---> c8f48c719149 10:06:01 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:06:01 ---> Running in b12e18f8fb08 10:06:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:06:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:06:03 (1/6) Installing libc-dev (0.7.2-r3) 10:06:03 (2/6) Installing libsodium (1.0.18-r0) 10:06:03 (3/6) Installing pkgconf (1.7.2-r0) 10:06:03 (4/6) Installing libsodium-dev (1.0.18-r0) 10:06:03 (5/6) Installing libzmq (4.3.3-r0) 10:06:03 (6/6) Installing zeromq-dev (4.3.3-r0) 10:06:03 Executing busybox-1.31.1-r19.trigger 10:06:03 OK: 167 MiB in 45 packages 10:06:04 Removing intermediate container b12e18f8fb08 10:06:04 ---> 06a6656592f1 10:06:04 Step 6/8 : WORKDIR /device-sdk-go 10:06:04 ---> Running in 8e39e27c4852 10:06:05 Removing intermediate container 8e39e27c4852 10:06:05 ---> fc311a0614fb 10:06:05 Step 7/8 : COPY . . 10:06:06 ---> 856bb5ec6226 10:06:06 Step 8/8 : RUN go mod download 10:06:06 ---> Running in 4e01ce0ee0a4 10:06:09 Removing intermediate container b3ed9b19a415 10:06:09 ---> 75c23badeb58 10:06:09 Successfully built 75c23badeb58 10:06:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:06:09 + docker inspect -f . ci-base-image-arm64 10:06:09 . [Pipeline] withDockerContainer 10:06:09 prd-ubuntu18.04-docker-arm64-4c-16g-1805 does not seem to be running inside a container 10:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:11 $ docker top 67786d1715dcb87b755fd15f35e1d0bf32b6e76d65909a963a8a8cec5638886f -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:12 + go version 10:06:12 go version go1.15.5 linux/arm64 [Pipeline] } 10:06:12 $ docker stop --time=1 67786d1715dcb87b755fd15f35e1d0bf32b6e76d65909a963a8a8cec5638886f 10:06:14 $ docker rm -f 67786d1715dcb87b755fd15f35e1d0bf32b6e76d65909a963a8a8cec5638886f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:06:15 + docker inspect -f . ci-base-image-arm64 10:06:15 . [Pipeline] withDockerContainer 10:06:15 prd-ubuntu18.04-docker-arm64-4c-16g-1805 does not seem to be running inside a container 10:06:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:06:17 $ docker top 0017c76d81dd0c6933f35ee556f6707a74061c8f27bbc5eddc3404c83f3f6070 -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:17 + make test 10:06:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:06:33 Removing intermediate container 4e01ce0ee0a4 10:06:33 ---> 4873d1371907 10:06:33 Successfully built 4873d1371907 10:06:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:06:33 + docker inspect -f . ci-base-image-x86_64 10:06:33 . [Pipeline] withDockerContainer 10:06:33 prd-centos7-docker-4c-2g-1808 does not seem to be running inside a container 10:06:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:06:35 $ docker top c241e6d7d4bfa82ad9df85b2ef933cb6959df2a38829cc67bebcaa4bf813a22e -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:35 + go version 10:06:35 go version go1.15.5 linux/amd64 [Pipeline] } 10:06:36 $ docker stop --time=1 c241e6d7d4bfa82ad9df85b2ef933cb6959df2a38829cc67bebcaa4bf813a22e 10:06:37 $ docker rm -f c241e6d7d4bfa82ad9df85b2ef933cb6959df2a38829cc67bebcaa4bf813a22e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:06:38 + docker inspect -f . ci-base-image-x86_64 10:06:38 . [Pipeline] withDockerContainer 10:06:38 prd-centos7-docker-4c-2g-1808 does not seem to be running inside a container 10:06:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:06:39 $ docker top 162a31710012afef9cb116777f518c71f9a465d4943973de456bac3adff8fbdd -eo pid,comm [Pipeline] { [Pipeline] sh 10:06:39 + make test 10:06:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:06:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:06:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:07:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 28.1% of statements 10:07:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements 10:07:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.073s coverage: 7.8% of statements 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:07:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.148s coverage: 32.0% of statements 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:07:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:07:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 57.2% of statements 10:07:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.295s coverage: 6.6% of statements 10:07:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.073s coverage: 5.0% of statements 10:07:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:07:19 GO111MODULE=on go vet ./... 10:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:07:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:07:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 28.1% of statements 10:07:41 gofmt -l . 10:07:41 [ "`gofmt -l .`" = "" ] 10:07:41 ./bin/test-attribution-txt.sh 10:07:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:07:41 $ docker stop --time=1 162a31710012afef9cb116777f518c71f9a465d4943973de456bac3adff8fbdd 10:07:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.203s coverage: 78.9% of statements 10:07:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.189s coverage: 7.8% of statements 10:07:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:07:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:07:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:07:43 $ docker rm -f 162a31710012afef9cb116777f518c71f9a465d4943973de456bac3adff8fbdd [Pipeline] // withDockerContainer [Pipeline] sh 10:07:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:07:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.279s coverage: 32.0% of statements 10:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:07:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:07:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:07:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:07:45 + ls -al . 10:07:45 total 188 10:07:45 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 10:07 . 10:07:45 drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 10:05 .. 10:07:45 drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 10:05 bin 10:07:45 -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 10:07 coverage.out 10:07:45 -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 10:05 Dockerfile.build 10:07:45 -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 10:05 .dockerignore 10:07:45 drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 10:05 example 10:07:45 drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 10:05 .git 10:07:45 drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 10:05 .github 10:07:45 -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 10:05 .gitignore 10:07:45 -rw-r--r--. 1 jenkins jenkins 575 Apr 26 10:07 go.mod 10:07:45 -rw-r--r--. 1 jenkins jenkins 20895 Apr 26 10:07 go.sum 10:07:45 drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 10:05 internal 10:07:45 -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 10:05 Jenkinsfile 10:07:45 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 10:05 LICENSE 10:07:45 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 10:05 Makefile 10:07:45 drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 10:05 openapi 10:07:45 drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 10:05 pkg 10:07:45 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 10:05 README.md 10:07:45 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 10:05 RELEASE-NOTES.txt 10:07:45 drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 10:05 snap 10:07:45 -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 10:02 VERSION 10:07:45 -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 10:05 version.go [Pipeline] isUnix [Pipeline] sh 10:07:46 + 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=3676bc4525961bc49336a0017dbee63d0b8dd3cb --label arch=amd64 --label version=0.0.0 . 10:07:46 Sending build context to Docker daemon 2.561MB 10:07:46 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:07:46 Step 2/23 : FROM ${BASE} AS builder 10:07:46 ---> 4873d1371907 10:07:46 Step 3/23 : WORKDIR /device-sdk-go 10:07:47 ---> Running in 26044f72362d 10:07:47 Removing intermediate container 26044f72362d 10:07:47 ---> 9601b9a9a005 10:07:47 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:07:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.310s coverage: 57.2% of statements 10:07:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.158s coverage: 6.6% of statements 10:07:47 ---> Running in 1b7ec126cac9 10:07:47 Removing intermediate container 1b7ec126cac9 10:07:47 ---> 61ec28bf75a6 10:07:47 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:07:47 ---> Running in 9e0c1586331e 10:07:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.136s coverage: 5.0% of statements 10:07:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:07:48 GO111MODULE=on go vet ./... 10:07:49 Removing intermediate container 9e0c1586331e 10:07:49 ---> bd9a0312357d 10:07:49 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:07:49 ---> Running in 2421fa799bf1 10:07:49 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:07:50 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:07:51 OK: 167 MiB in 45 packages 10:07:51 Removing intermediate container 2421fa799bf1 10:07:51 ---> 1d9882d1e07f 10:07:51 Step 7/23 : COPY . . 10:07:52 ---> bdb3a43a1709 10:07:52 Step 8/23 : RUN go mod download 10:07:52 ---> Running in 4ba95a5c239e 10:07:53 Removing intermediate container 4ba95a5c239e 10:07:53 ---> cc5c296f894d 10:07:53 Step 9/23 : RUN make build 10:07:53 ---> Running in 626e19945fcb 10:07:54 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 10:08:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:08:11 Removing intermediate container 626e19945fcb 10:08:11 ---> 7478939b4ce5 10:08:11 Step 10/23 : FROM alpine:3.12 10:08:12 3.12: Pulling from library/alpine 10:08:12 339de151aab4: Pulling fs layer 10:08:12 339de151aab4: Verifying Checksum 10:08:12 339de151aab4: Download complete 10:08:12 339de151aab4: Pull complete 10:08:12 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 10:08:12 Status: Downloaded newer image for alpine:3.12 10:08:12 ---> 13621d1b12d4 10:08:12 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:08:12 ---> Running in 583714b17540 10:08:12 Removing intermediate container 583714b17540 10:08:12 ---> 515fa5076043 10:08:12 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:12 ---> Running in bf4cdc5c2a89 10:08:13 Removing intermediate container bf4cdc5c2a89 10:08:13 ---> f06245f096b6 10:08:13 Step 13/23 : RUN apk add --update --no-cache zeromq 10:08:13 ---> Running in 0b404969b069 10:08:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:08:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:08:15 (1/5) Installing libgcc (9.3.0-r2) 10:08:15 (2/5) Installing libsodium (1.0.18-r0) 10:08:15 (3/5) Installing libstdc++ (9.3.0-r2) 10:08:16 (4/5) Installing libzmq (4.3.3-r0) 10:08:17 (5/5) Installing zeromq (4.3.3-r0) 10:08:17 Executing busybox-1.31.1-r20.trigger 10:08:17 OK: 8 MiB in 19 packages 10:08:17 Removing intermediate container 0b404969b069 10:08:17 ---> efe39c254888 10:08:17 Step 14/23 : WORKDIR / 10:08:17 ---> Running in adc0653e513c 10:08:17 Removing intermediate container adc0653e513c 10:08:17 ---> f27684b14141 10:08:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:08:18 ---> 66bba19c072c 10:08:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:08:18 ---> 09aac62aaacb 10:08:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:08:19 ---> 41c6f739a2e2 10:08:19 Step 18/23 : EXPOSE 49990 10:08:19 ---> Running in 7a23e011a0ad 10:08:19 Removing intermediate container 7a23e011a0ad 10:08:19 ---> f726b4101e76 10:08:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:08:19 ---> Running in 67efebf423b9 10:08:19 Removing intermediate container 67efebf423b9 10:08:19 ---> f65ed95a36bc 10:08:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:08:19 ---> Running in a4337b14a6c2 10:08:19 Removing intermediate container a4337b14a6c2 10:08:19 ---> 0baa617c9d1a 10:08:19 Step 21/23 : LABEL arch=amd64 10:08:19 ---> Running in 8bf08c14ca88 10:08:19 Removing intermediate container 8bf08c14ca88 10:08:19 ---> 7963739fbe11 10:08:19 Step 22/23 : LABEL git_sha=3676bc4525961bc49336a0017dbee63d0b8dd3cb 10:08:20 ---> Running in d2875f9a8c26 10:08:20 Removing intermediate container d2875f9a8c26 10:08:20 ---> 63caf7a45a50 10:08:20 Step 23/23 : LABEL version=0.0.0 10:08:20 ---> Running in 596fb8b1f265 10:08:20 Removing intermediate container 596fb8b1f265 10:08:20 ---> 952cc0a3cd9e 10:08:20 [Warning] One or more build-args [MAKE ARCH] were not consumed 10:08:20 Successfully built 952cc0a3cd9e 10:08:20 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 10:08:20 ---> job-cost.sh 10:08:20 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dpad 10:08:35 gofmt -l . 10:08:35 [ "`gofmt -l .`" = "" ] 10:08:35 ./bin/test-attribution-txt.sh 10:08:35 ./bin/test-go-mod-tidy.sh 10:08:35 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [Pipeline] } 10:08:36 $ docker stop --time=1 0017c76d81dd0c6933f35ee556f6707a74061c8f27bbc5eddc3404c83f3f6070 10:08:38 $ docker rm -f 0017c76d81dd0c6933f35ee556f6707a74061c8f27bbc5eddc3404c83f3f6070 [Pipeline] // withDockerContainer [Pipeline] sh 10:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:39 Warning: overwriting stash ‘coverage-report’ 10:08:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:08:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:41 + ls -al . 10:08:41 total 224 10:08:41 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 10:08 . 10:08:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:04 .. 10:08:41 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 10:04 .dockerignore 10:08:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 10:05 .git 10:08:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:04 .github 10:08:41 -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 10:04 .gitignore 10:08:41 -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 10:04 Dockerfile.build 10:08:41 -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 10:04 Jenkinsfile 10:08:41 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 10:04 LICENSE 10:08:41 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 10:04 Makefile 10:08:41 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 10:04 README.md 10:08:41 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 10:04 RELEASE-NOTES.txt 10:08:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 10:02 VERSION 10:08:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:04 bin 10:08:41 -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 10:07 coverage.out 10:08:41 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:04 example 10:08:41 -rw-r--r-- 1 jenkins jenkins 575 Apr 26 10:08 go.mod 10:08:41 -rw-r--r-- 1 jenkins jenkins 20895 Apr 26 10:08 go.sum 10:08:41 drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 10:04 internal 10:08:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:04 openapi 10:08:41 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:04 pkg 10:08:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:04 snap 10:08:41 -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 10:04 version.go [Pipeline] isUnix [Pipeline] sh 10:08:41 + 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=3676bc4525961bc49336a0017dbee63d0b8dd3cb --label arch=arm64 --label version=0.0.0 . 10:08:42 Sending build context to Docker daemon 2.559MB 10:08:42 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:08:42 Step 2/23 : FROM ${BASE} AS builder 10:08:42 ---> 75c23badeb58 10:08:42 Step 3/23 : WORKDIR /device-sdk-go 10:08:42 ---> Running in 8d9763733eaa 10:08:43 Removing intermediate container 8d9763733eaa 10:08:43 ---> 6535f019ff2d 10:08:43 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:08:43 ---> Running in 5fe0ffe8464a 10:08:43 Removing intermediate container 5fe0ffe8464a 10:08:43 ---> 61e26d053c95 10:08:43 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:43 ---> Running in d764e05b5e22 10:08:46 Removing intermediate container d764e05b5e22 10:08:46 ---> de3418d98d0e 10:08:46 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:08:46 ---> Running in 93cbc51d878b 10:08:47 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:08:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:08:49 OK: 144 MiB in 45 packages 10:08:50 Removing intermediate container 93cbc51d878b 10:08:50 ---> 22f57fa6d086 10:08:50 Step 7/23 : COPY . . 10:08:51 ---> 20d22e7854a5 10:08:51 Step 8/23 : RUN go mod download 10:08:51 ---> Running in 59556baa68e1 10:08:53 Removing intermediate container 59556baa68e1 10:08:53 ---> 31c7256c612c 10:08:53 Step 9/23 : RUN make build 10:08:54 ---> Running in 4d94260cf81f 10:08:55 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 10:09:08 lf-activate-venv(): INFO: Adding /tmp/venv-dpad/bin to PATH 10:09:08 INFO: No Stack... 10:09:08 INFO: Retrieving Pricing Info for: v1-standard-2 10:09:09 INFO: Archiving Costs [Pipeline] sh 10:09:09 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 10:09:09 + cut -d, -f6 [Pipeline] lock 10:09:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] 10:09:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] did not exist. Created. 10:09:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:09:10 + echo total: 0.029999999329447746 [Pipeline] stash 10:09:10 Stashed 1 file(s) [Pipeline] } 10:09:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:09:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:09:34 Removing intermediate container 4d94260cf81f 10:09:34 ---> b16f4b3a64e5 10:09:34 Step 10/23 : FROM alpine:3.12 10:09:34 3.12: Pulling from library/alpine 10:09:34 d2f70382dc9a: Pulling fs layer 10:09:34 d2f70382dc9a: Download complete 10:09:34 d2f70382dc9a: Pull complete 10:09:34 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 10:09:34 Status: Downloaded newer image for alpine:3.12 10:09:34 ---> 9852663dfa18 10:09:34 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:09:34 ---> Running in b64ea577b433 10:09:34 Removing intermediate container b64ea577b433 10:09:34 ---> 1e20cd1bacff 10:09:34 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:09:34 ---> Running in 523972e54a46 10:09:36 Removing intermediate container 523972e54a46 10:09:36 ---> 4c42e97367dd 10:09:36 Step 13/23 : RUN apk add --update --no-cache zeromq 10:09:36 ---> Running in d007a57ba40f 10:09:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:09:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:09:38 (1/5) Installing libgcc (9.3.0-r2) 10:09:38 (2/5) Installing libsodium (1.0.18-r0) 10:09:38 (3/5) Installing libstdc++ (9.3.0-r2) 10:09:38 (4/5) Installing libzmq (4.3.3-r0) 10:09:38 (5/5) Installing zeromq (4.3.3-r0) 10:09:38 Executing busybox-1.31.1-r20.trigger 10:09:38 OK: 8 MiB in 19 packages 10:09:40 Removing intermediate container d007a57ba40f 10:09:40 ---> 2e1a5d33c13a 10:09:40 Step 14/23 : WORKDIR / 10:09:40 ---> Running in a8418a011fd7 10:09:41 Removing intermediate container a8418a011fd7 10:09:41 ---> 9b6873189cc4 10:09:41 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:09:41 ---> 6b6ffdc3c662 10:09:41 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:09:43 ---> a4a660e80fb0 10:09:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:09:43 ---> 5d72aaddda00 10:09:43 Step 18/23 : EXPOSE 49990 10:09:43 ---> Running in 6e29e2208af2 10:09:44 Removing intermediate container 6e29e2208af2 10:09:44 ---> fc1402fdecb7 10:09:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:09:44 ---> Running in 057fc11d7949 10:09:44 Removing intermediate container 057fc11d7949 10:09:44 ---> b7c023a8cc78 10:09:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:09:45 ---> Running in a4c5aa475c0c 10:09:45 Removing intermediate container a4c5aa475c0c 10:09:45 ---> 726aa8990dc4 10:09:45 Step 21/23 : LABEL arch=arm64 10:09:45 ---> Running in 8f4c421c3ef9 10:09:46 Removing intermediate container 8f4c421c3ef9 10:09:46 ---> 41ea183f34c4 10:09:46 Step 22/23 : LABEL git_sha=3676bc4525961bc49336a0017dbee63d0b8dd3cb 10:09:46 ---> Running in 15e9017d3d89 10:09:46 Removing intermediate container 15e9017d3d89 10:09:46 ---> 634f952bc21a 10:09:46 Step 23/23 : LABEL version=0.0.0 10:09:46 ---> Running in cc2cdef9b57b 10:09:47 Removing intermediate container cc2cdef9b57b 10:09:47 ---> a51b353074ea 10:09:47 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:09:47 Successfully built a51b353074ea 10:09:47 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 10:09:47 ---> job-cost.sh 10:09:47 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EJzX 10:10:34 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:12:11 lf-activate-venv(): INFO: Adding /tmp/venv-EJzX/bin to PATH 10:12:11 INFO: No Stack... 10:12:12 INFO: Retrieving Pricing Info for: lf-standard-4 10:12:12 INFO: Archiving Costs [Pipeline] sh 10:12:13 + + cut -d, -f6 10:12:13 cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock 10:12:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] 10:12:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] did not exist. Created. 10:12:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-890-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:12:13 /w/workspace/device-sdk-go/3@tmp/durable-a1af17ed/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-a1af17ed/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:12:13 + echo total: 0.20999999344348907 [Pipeline] stash 10:12:13 Warning: overwriting stash ‘stack-cost’ 10:12:14 Stashed 1 file(s) [Pipeline] } 10:12:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-890-3-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 10:12:14 provisioning config files... 10:12:14 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config4491001701343350019tmp [Pipeline] { [Pipeline] sh 10:12:15 + set +x 10:12:15 + curl -s https://codecov.io/bash 10:12:15 + bash -s -- 10:12:15 10:12:15 _____ _ 10:12:15 / ____| | | 10:12:15 | | ___ __| | ___ ___ _____ __ 10:12:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:12:15 | |___| (_) | (_| | __/ (_| (_) \ V / 10:12:15 \_____\___/ \__,_|\___|\___\___/ \_/ 10:12:15 Bash-1.0.2 10:12:15 10:12:15 10:12:15 ==> git version 2.24.3 found 10:12:15 ==> 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 10:12:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:12:15 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:12:15 ==> Jenkins CI detected. 10:12:15 project root: . 10:12:15 --> token set from env 10:12:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:12:15 ==> Running gcov in . (disable via -X gcov) 10:12:15 ==> Python coveragepy not found 10:12:15 ==> Searching for coverage reports in: 10:12:15 + . 10:12:15 -> Found 1 reports 10:12:15 ==> Detecting git/mercurial file structure 10:12:15 ==> Reading reports 10:12:15 + ./coverage.out bytes=100024 10:12:15 ==> Appending adjustments 10:12:15 https://docs.codecov.io/docs/fixing-reports 10:12:15 + Found adjustments 10:12:15 ==> Gzipping contents 10:12:15 16K /tmp/codecov.9bNMXH.gz 10:12:15 ==> Uploading reports 10:12:15 url: https://codecov.io 10:12:15 query: branch=PR-890&commit=3676bc4525961bc49336a0017dbee63d0b8dd3cb&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-890%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=890&job=&cmd_args= 10:12:15 -> Pinging Codecov 10:12:15 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-890&commit=3676bc4525961bc49336a0017dbee63d0b8dd3cb&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-890%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=890&job=&cmd_args= 10:12:16 -> Uploading to 10:12:16 https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/3676bc4525961bc49336a0017dbee63d0b8dd3cb/9c6e6475-e912-40bb-a72f-f88573a337f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T101216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed12100b91d27832e4c437f37425bde3bbd165bb57e7df9e639e741d1d3597fd 10:12:16 % Total % Received % Xferd Average Speed Time Time Time Current 10:12:16 Dload Upload Total Spent Left Speed 10:12:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13530 0 0 100 13530 0 28306 --:--:-- --:--:-- --:--:-- 28364 10:12:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3676bc4525961bc49336a0017dbee63d0b8dd3cb [Pipeline] } 10:12:16 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 10:12:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:12:18 ---> package-listing.sh 10:12:18 ++ facter osfamily 10:12:18 ++ tr '[:upper:]' '[:lower:]' 10:12:18 + OS_FAMILY=redhat 10:12:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-890 10:12:18 + START_PACKAGES=/tmp/packages_start.txt 10:12:18 + END_PACKAGES=/tmp/packages_end.txt 10:12:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:12:18 + PACKAGES=/tmp/packages_start.txt 10:12:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' 10:12:18 + PACKAGES=/tmp/packages_end.txt 10:12:18 + case "${OS_FAMILY}" in 10:12:18 + rpm -qa 10:12:18 + sort 10:12:25 + '[' -f /tmp/packages_start.txt ']' 10:12:25 + '[' -f /tmp/packages_end.txt ']' 10:12:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:12:25 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-890 ']' 10:12:25 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ 10:12:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-890/archives/ [Pipeline] echo 10:12:25 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-890/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:12:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:12:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:12:25 10:12:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:12:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:12:26 alpine: Pulling from edgex-lftools-log-publisher 10:12:26 df20fa9351a1: Pulling fs layer 10:12:26 36b3adc4ff6f: Pulling fs layer 10:12:26 8ad3a11d3b57: Pulling fs layer 10:12:26 46f8f816bc3b: Pulling fs layer 10:12:26 93b61091891f: Pulling fs layer 10:12:26 93b9cdb0e59b: Pulling fs layer 10:12:26 5e14af77c1be: Pulling fs layer 10:12:26 01666e4c0597: Pulling fs layer 10:12:26 aa168da1d23b: Pulling fs layer 10:12:26 93b9cdb0e59b: Waiting 10:12:26 5e14af77c1be: Waiting 10:12:26 01666e4c0597: Waiting 10:12:26 aa168da1d23b: Waiting 10:12:26 46f8f816bc3b: Waiting 10:12:26 93b61091891f: Waiting 10:12:26 36b3adc4ff6f: Download complete 10:12:26 46f8f816bc3b: Verifying Checksum 10:12:26 46f8f816bc3b: Download complete 10:12:26 df20fa9351a1: Verifying Checksum 10:12:26 df20fa9351a1: Download complete 10:12:26 93b9cdb0e59b: Verifying Checksum 10:12:26 93b9cdb0e59b: Download complete 10:12:26 93b61091891f: Verifying Checksum 10:12:26 93b61091891f: Download complete 10:12:26 5e14af77c1be: Verifying Checksum 10:12:26 5e14af77c1be: Download complete 10:12:26 01666e4c0597: Verifying Checksum 10:12:26 01666e4c0597: Download complete 10:12:26 df20fa9351a1: Pull complete 10:12:26 36b3adc4ff6f: Pull complete 10:12:27 8ad3a11d3b57: Verifying Checksum 10:12:27 8ad3a11d3b57: Download complete 10:12:27 8ad3a11d3b57: Pull complete 10:12:28 46f8f816bc3b: Pull complete 10:12:28 93b61091891f: Pull complete 10:12:28 aa168da1d23b: Verifying Checksum 10:12:28 aa168da1d23b: Download complete 10:12:28 93b9cdb0e59b: Pull complete 10:12:29 5e14af77c1be: Pull complete 10:12:29 01666e4c0597: Pull complete 10:12:36 aa168da1d23b: Pull complete 10:12:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:12:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:12:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:12:36 prd-centos7-docker-4c-2g-1803 does not seem to be running inside a container 10:12:36 $ 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-890/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-890 -v /w/workspace/dgexfoundry_device-sdk-go_PR-890:/w/workspace/dgexfoundry_device-sdk-go_PR-890:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:12:39 $ docker top 10d3fa1d55c81b1311767c7b70e2320b784181a7d4ce22cd0efdeb327eca8e3c -eo pid,comm [Pipeline] { [Pipeline] sh 10:12:40 + touch /tmp/pre-build-complete [Pipeline] sh 10:12:40 + mkdir -p /var/log/sa [Pipeline] sh 10:12:40 + ls /var/log/sa-host 10:12:40 + sadf -c /var/log/sa-host/sa23 10:12:40 file_magic: OK 10:12:40 HZ: Using current value: 100 10:12:40 file_header: OK 10:12:40 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 10:12:40 Statistics: 10:12:40 Hnuu...uuuununununu... 10:12:40 File successfully converted to sysstat format version 12.2.1 10:12:40 + sadf -c /var/log/sa-host/sa26 10:12:40 file_magic: OK 10:12:40 HZ: Using current value: 100 10:12:40 file_header: OK 10:12:40 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 10:12:40 Statistics: 10:12:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:12:40 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:12:41 provisioning config files... 10:12:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp/config2083724550192532862tmp [Pipeline] { [Pipeline] echo 10:12:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:12:41 ---> create-netrc.sh [Pipeline] } 10:12:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:12:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:12:42 ---> python-tools-install.sh [Pipeline] echo 10:12:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:12:42 ---> sudo-logs.sh 10:12:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:12:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:12:42 ---> job-cost.sh 10:12:42 lf-activate-venv: SKIPPING 10:12:42 DEBUG: total: 0.20999999344348907 10:12:42 INFO: Retrieving Stack Cost... 10:12:43 INFO: Retrieving Pricing Info for: v1-standard-2 10:12:44 INFO: Archiving Costs [Pipeline] echo 10:12:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:12:44 ---> logs-deploy.sh 10:12:44 lf-activate-venv: SKIPPING 10:12:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-890/3 10:12:44 INFO: archiving workspace using pattern(s): 10:12:46 Archives upload complete. 10:12:46 INFO: archiving logs to Nexus 10:12:47 ---> uname -a: 10:12:47 Linux prd-centos7-docker-4c-2g-1803.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 10:12:47 10:12:47 10:12:47 ---> lscpu: 10:12:47 Architecture: x86_64 10:12:47 CPU op-mode(s): 32-bit, 64-bit 10:12:47 Byte Order: Little Endian 10:12:47 Address sizes: 40 bits physical, 48 bits virtual 10:12:47 CPU(s): 4 10:12:47 On-line CPU(s) list: 0-3 10:12:47 Thread(s) per core: 1 10:12:47 Core(s) per socket: 1 10:12:47 Socket(s): 4 10:12:47 NUMA node(s): 1 10:12:47 Vendor ID: GenuineIntel 10:12:47 CPU family: 6 10:12:47 Model: 44 10:12:47 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 10:12:47 Stepping: 1 10:12:47 CPU MHz: 2933.438 10:12:47 BogoMIPS: 5866.87 10:12:47 Virtualization: VT-x 10:12:47 Hypervisor vendor: KVM 10:12:47 Virtualization type: full 10:12:47 L1d cache: 128 KiB 10:12:47 L1i cache: 128 KiB 10:12:47 L2 cache: 16 MiB 10:12:47 L3 cache: 64 MiB 10:12:47 NUMA node0 CPU(s): 0-3 10:12:47 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 10:12:47 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 10:12:47 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 10:12:47 Vulnerability Meltdown: Mitigation; PTI 10:12:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 10:12:47 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 10:12:47 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 10:12:47 Vulnerability Srbds: Not affected 10:12:47 Vulnerability Tsx async abort: Not affected 10:12:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 10:12:47 10:12:47 10:12:47 ---> nproc: 10:12:47 4 10:12:47 10:12:47 10:12:47 ---> df -h: 10:12:47 Filesystem Size Used Available Use% Mounted on 10:12:47 overlay 50.0G 7.3G 42.7G 15% / 10:12:47 tmpfs 64.0M 0 64.0M 0% /dev 10:12:47 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 10:12:47 shm 64.0M 0 64.0M 0% /dev/shm 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-890 10:12:47 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-890@tmp 10:12:47 10:12:47