Branch indexing 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 ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea5f2fe995444737663861e42b9b0407e76b07bc+89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e (fb13d9dc95b29d75bfac64d6d6873e5ee1a84f1b) 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: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: 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-32166 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [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-725 # 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/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc Merge succeeded, producing 9bd8def4754386b72816b9b199ec0a151bf1a489 Checking out Revision 9bd8def4754386b72816b9b199ec0a151bf1a489 (PR-725) > git config core.sparsecheckout # timeout=10 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # 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 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9bd8def4754386b72816b9b199ec0a151bf1a489 # timeout=10 Commit message: "Merge commit '89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 1368a843308a3b8aa3bf9cbcbcc3f5b47e4a93d0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:42:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:00 ========================================================= 02:43:00 EdgeX Global Pipelines Version Info 02:43:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:03 ------------------- 02:43:03 stable info: 02:43:03 ------------------- 02:43:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:03 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 02:43:03 Message: update stable to v1.0.186 02:43:04 ------------------- 02:43:04 experimental info: 02:43:04 ------------------- 02:43:04 Commited By: **** collab-it+edgex@linuxfoundation.org 02:43:04 Commit SHA: d990d252097850d5d490fbb59df25296f5300d79 02:43:04 Message: update experimental to v1.0.188 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-725 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-725 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-725 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bd8def4754386b72816b9b199ec0a151bf1a489 [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bd8def [Pipeline] echo 02:43:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:43:07 provisioning config files... 02:43:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config2827366499871957113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:08 ---> docker-login.sh 02:43:08 nexus3.edgexfoundry.org:10001 02:43:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:10 Configure a credential helper to remove this warning. See 02:43:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:10 02:43:10 Login Succeeded 02:43:10 nexus3.edgexfoundry.org:10002 02:43:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:11 Configure a credential helper to remove this warning. See 02:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:11 02:43:11 Login Succeeded 02:43:11 nexus3.edgexfoundry.org:10003 02:43:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:11 Configure a credential helper to remove this warning. See 02:43:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:11 02:43:11 Login Succeeded 02:43:11 nexus3.edgexfoundry.org:10004 02:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:12 Configure a credential helper to remove this warning. See 02:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:12 02:43:12 Login Succeeded 02:43:12 docker.io 02:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:13 Configure a credential helper to remove this warning. See 02:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:13 02:43:13 Login Succeeded 02:43:13 ---> docker-login.sh ends [Pipeline] } 02:43:13 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 02:43:14 + git log --format=format:%s -1 9bd8def4754386b72816b9b199ec0a151bf1a489 [Pipeline] echo 02:43:14 GIT_COMMIT: 9bd8def4754386b72816b9b199ec0a151bf1a489, Commit Message: Merge commit '89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e' into HEAD [Pipeline] echo 02:43:14 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:15 02:43:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:16 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:16 latest: Pulling from edgex-devops/git-semver 02:43:16 31603596830f: Pulling fs layer 02:43:16 2a8b12db71e7: Pulling fs layer 02:43:16 6ca5941a6612: Pulling fs layer 02:43:16 ecc8261a40a4: Pulling fs layer 02:43:16 ecc8261a40a4: Waiting 02:43:16 2a8b12db71e7: Download complete 02:43:16 31603596830f: Verifying Checksum 02:43:16 31603596830f: Download complete 02:43:17 ecc8261a40a4: Verifying Checksum 02:43:17 ecc8261a40a4: Download complete 02:43:17 6ca5941a6612: Verifying Checksum 02:43:17 6ca5941a6612: Download complete 02:43:18 31603596830f: Pull complete 02:43:18 2a8b12db71e7: Pull complete 02:43:20 6ca5941a6612: Pull complete 02:43:20 ecc8261a40a4: Pull complete 02:43:20 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:21 prd-centos7-docker-4c-2g-32166 does not seem to be running inside a container 02:43:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:26 $ docker top a0ea17f2b31900ab915c45b9c7a3634465ac10886cff3fe3902aed00787d640a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:27 [ssh-agent] Looking for ssh-agent implementation... 02:43:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:28 $ docker exec a0ea17f2b31900ab915c45b9c7a3634465ac10886cff3fe3902aed00787d640a ssh-agent 02:43:29 SSH_AUTH_SOCK=/tmp/ssh-Th0iX5704Mgo/agent.11 02:43:29 SSH_AGENT_PID=17 02:43:29 Running ssh-add (command line suppressed) 02:43:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6787365195316206446.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_6787365195316206446.key) 02:43:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:29 + git tag --points-at HEAD [Pipeline] } 02:43:30 $ docker exec --env ******** --env ******** a0ea17f2b31900ab915c45b9c7a3634465ac10886cff3fe3902aed00787d640a ssh-agent -k 02:43:30 unset SSH_AUTH_SOCK; 02:43:30 unset SSH_AGENT_PID; 02:43:30 echo Agent pid 17 killed; 02:43:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:30 [ssh-agent] Looking for ssh-agent implementation... 02:43:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:31 $ docker exec a0ea17f2b31900ab915c45b9c7a3634465ac10886cff3fe3902aed00787d640a ssh-agent 02:43:32 SSH_AUTH_SOCK=/tmp/ssh-fZeLVIQ0ZIdj/agent.45 02:43:32 SSH_AGENT_PID=50 02:43:32 Running ssh-add (command line suppressed) 02:43:32 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1893906362831205154.key (/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/private_key_1893906362831205154.key) 02:43:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:33 + git semver init 02:43:33 # -> Open(): unable to determine branch for HEAD 02:43:33 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.git 02:43:33 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-725 02:43:33 # $SEMVER_REMOTE_NAME = origin 02:43:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:33 # $SEMVER_USER_NAME = edgex-jenkins 02:43:33 # $SEMVER_BRANCH = PR-725 02:43:33 # $SEMVER_TEMP = /tmp/semver-812491449 02:43:33 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:35 # '/tmp/semver-812491449' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver' 02:43:35 # -> Force: false 02:43:35 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-725/.semver [Pipeline] } 02:43:35 $ docker exec --env ******** --env ******** a0ea17f2b31900ab915c45b9c7a3634465ac10886cff3fe3902aed00787d640a ssh-agent -k 02:43:36 unset SSH_AUTH_SOCK; 02:43:36 unset SSH_AGENT_PID; 02:43:36 echo Agent pid 50 killed; 02:43:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:37 + git semver [Pipeline] } 02:43:37 $ docker stop --time=1 a0ea17f2b31900ab915c45b9c7a3634465ac10886cff3fe3902aed00787d640a 02:43:39 $ docker rm -f a0ea17f2b31900ab915c45b9c7a3634465ac10886cff3fe3902aed00787d640a [Pipeline] // withDockerContainer [Pipeline] sh 02:43:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:41 Stashed 1 file(s) [Pipeline] echo 02:43:41 [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 02:43:56 Still waiting to schedule task 02:43:56 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-32166’ 02:43:56 Still waiting to schedule task 02:43:56 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-32167 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:45:40 Running in /w/workspace/device-sdk-go/26 [Pipeline] { [Pipeline] checkout 02:45:45 using credential edgex-jenkins-ssh 02:45:45 Cloning the remote Git repository 02:45:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:45 > git init /w/workspace/device-sdk-go/26 # timeout=10 02:45:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:46 > git --version # timeout=10 02:45:46 > git --version # 'git version 2.17.1' 02:45:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:48 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:45:48 Merge succeeded, producing 780b8f8c52de220e408493f48c05da4ebd3f3082 02:45:48 Checking out Revision 780b8f8c52de220e408493f48c05da4ebd3f3082 (PR-725) 02:45:48 > git config core.sparsecheckout # timeout=10 02:45:48 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:45:48 > git remote # timeout=10 02:45:48 > git config --get remote.origin.url # timeout=10 02:45:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:48 > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 02:45:48 > git rev-parse HEAD^{commit} # timeout=10 02:45:48 > git config core.sparsecheckout # timeout=10 02:45:48 > git checkout -f 780b8f8c52de220e408493f48c05da4ebd3f3082 # timeout=10 02:45:53 Commit message: "Merge commit '89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e' into HEAD" 02:45:53 First time build. Skipping changelog. 02:45:53 > git rev-list --no-walk 1368a843308a3b8aa3bf9cbcbcc3f5b47e4a93d0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:45:55 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 02:45:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:45:55 + sudo service docker restart 02:45:55 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:45:58 provisioning config files... 02:45:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/26@tmp/config7458264397394444079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:59 ---> docker-login.sh 02:45:59 nexus3.edgexfoundry.org:10001 02:46:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:00 Configure a credential helper to remove this warning. See 02:46:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:00 02:46:00 Login Succeeded 02:46:00 nexus3.edgexfoundry.org:10002 02:46:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:00 Configure a credential helper to remove this warning. See 02:46:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:00 02:46:00 Login Succeeded 02:46:00 nexus3.edgexfoundry.org:10003 02:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:01 Configure a credential helper to remove this warning. See 02:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:01 02:46:01 Login Succeeded 02:46:01 nexus3.edgexfoundry.org:10004 02:46:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:01 Configure a credential helper to remove this warning. See 02:46:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:01 02:46:01 Login Succeeded 02:46:01 docker.io 02:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:02 Configure a credential helper to remove this warning. See 02:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:02 02:46:02 Login Succeeded 02:46:02 ---> docker-login.sh ends [Pipeline] } 02:46:02 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:03 ========================================================= 02:46:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:46:03 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:03 + 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 . 02:46:03 Sending build context to Docker daemon 2.338MB 02:46:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:04 Step 2/8 : FROM ${BASE} 02:46:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:46:04 5f621e34cdf4: Pulling fs layer 02:46:04 a4357932f1b6: Pulling fs layer 02:46:04 18c013af1878: Pulling fs layer 02:46:04 00ac8860ef70: Pulling fs layer 02:46:04 63d7cb157983: Pulling fs layer 02:46:04 b116817d02f9: Pulling fs layer 02:46:04 745a02a5169b: Pulling fs layer 02:46:04 00ac8860ef70: Waiting 02:46:04 63d7cb157983: Waiting 02:46:04 745a02a5169b: Waiting 02:46:04 b116817d02f9: Waiting 02:46:04 18c013af1878: Verifying Checksum 02:46:04 18c013af1878: Download complete 02:46:04 a4357932f1b6: Verifying Checksum 02:46:04 a4357932f1b6: Download complete 02:46:04 63d7cb157983: Verifying Checksum 02:46:04 63d7cb157983: Download complete 02:46:04 b116817d02f9: Verifying Checksum 02:46:04 b116817d02f9: Download complete 02:46:04 5f621e34cdf4: Download complete 02:46:05 5f621e34cdf4: Pull complete 02:46:05 a4357932f1b6: Pull complete 02:46:06 18c013af1878: Pull complete 02:46:06 745a02a5169b: Verifying Checksum 02:46:06 745a02a5169b: Download complete 02:46:08 00ac8860ef70: Download complete 02:46:18 00ac8860ef70: Pull complete 02:46:18 63d7cb157983: Pull complete 02:46:18 b116817d02f9: Pull complete 02:46:23 745a02a5169b: Pull complete 02:46:23 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:46:23 ---> b7e6874047d6 02:46:23 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:25 ---> Running in d2aba4eb6599 02:46:26 Removing intermediate container d2aba4eb6599 02:46:26 ---> cfc4b12db273 02:46:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:26 ---> Running in be578004899c 02:46:28 Running on prd-centos7-docker-4c-2g-32168 in /w/workspace/dgexfoundry_device-sdk-go_PR-725 [Pipeline] { [Pipeline] ws 02:46:28 Running in /w/workspace/device-sdk-go/26 [Pipeline] { 02:46:28 Removing intermediate container be578004899c 02:46:28 ---> 25b19cf035f4 02:46:28 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 02:46:28 ---> Running in f4f9b91f5953 [Pipeline] checkout 02:46:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:46:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:46:31 using credential edgex-jenkins-ssh 02:46:31 Cloning the remote Git repository 02:46:31 (1/6) Installing libc-dev (0.7.2-r3) 02:46:31 (2/6) Installing libsodium (1.0.18-r0) 02:46:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:46:31 > git init /w/workspace/device-sdk-go/26 # timeout=10 02:46:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:31 > git --version # timeout=10 02:46:31 > git --version # 'git version 2.24.3' 02:46:31 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:31 (3/6) Installing pkgconf (1.7.2-r0) 02:46:31 (4/6) Installing libsodium-dev (1.0.18-r0) 02:46:31 (5/6) Installing libzmq (4.3.3-r0) 02:46:31 (6/6) Installing zeromq-dev (4.3.3-r0) 02:46:32 Executing busybox-1.31.1-r19.trigger 02:46:32 OK: 144 MiB in 45 packages 02:46:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:46:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:46:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:46:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/725/head:refs/remotes/origin/PR-725 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:46:32 Merging remotes/origin/master commit 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e into PR head commit ea5f2fe995444737663861e42b9b0407e76b07bc 02:46:32 Merge succeeded, producing 1507370bc4d2d87cd462eaee2e6a9906c0bd3f52 02:46:32 Checking out Revision 1507370bc4d2d87cd462eaee2e6a9906c0bd3f52 (PR-725) 02:46:33 Removing intermediate container f4f9b91f5953 02:46:33 ---> 6ef0196722e6 02:46:33 Step 6/8 : WORKDIR /device-sdk-go 02:46:32 > git config core.sparsecheckout # timeout=10 02:46:32 > git checkout -f ea5f2fe995444737663861e42b9b0407e76b07bc # timeout=10 02:46:32 > git remote # timeout=10 02:46:32 > git config --get remote.origin.url # timeout=10 02:46:32 using GIT_SSH to set credentials SSH Credentials for GitHub 02:46:32 > git merge 89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e # timeout=10 02:46:32 > git rev-parse HEAD^{commit} # timeout=10 02:46:32 > git config core.sparsecheckout # timeout=10 02:46:32 > git checkout -f 1507370bc4d2d87cd462eaee2e6a9906c0bd3f52 # timeout=10 02:46:33 ---> Running in e8a6a523245e 02:46:34 Removing intermediate container e8a6a523245e 02:46:34 ---> 82957980d1e7 02:46:34 Step 7/8 : COPY . . 02:46:35 ---> b818b19cc89b 02:46:35 Step 8/8 : RUN go mod download 02:46:35 ---> Running in 1ee5572fb387 02:46:36 Commit message: "Merge commit '89eeca78c6c4a4e666db0d4f58d05ede62e7fe5e' into HEAD" 02:46:36 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:36 > git rev-list --no-walk 1368a843308a3b8aa3bf9cbcbcc3f5b47e4a93d0 # timeout=10 02:46:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:46:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:46:38 + sudo service docker restart 02:46:38 + true 02:46:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:46:39 provisioning config files... 02:46:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/26@tmp/config7772199852613170680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:39 ---> docker-login.sh 02:46:39 nexus3.edgexfoundry.org:10001 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 nexus3.edgexfoundry.org:10002 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 nexus3.edgexfoundry.org:10003 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 nexus3.edgexfoundry.org:10004 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:40 Configure a credential helper to remove this warning. See 02:46:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:40 02:46:40 Login Succeeded 02:46:40 docker.io 02:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:41 Configure a credential helper to remove this warning. See 02:46:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:41 02:46:41 Login Succeeded 02:46:41 ---> docker-login.sh ends [Pipeline] } 02:46:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:46:41 ========================================================= 02:46:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:46:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:41 + 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 . 02:46:41 Sending build context to Docker daemon 2.365MB 02:46:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:46:41 Step 2/8 : FROM ${BASE} 02:46:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:42 188c0c94c7c5: Pulling fs layer 02:46:42 0ef7d3d256c8: Pulling fs layer 02:46:42 de9db76c5a1d: Pulling fs layer 02:46:42 bca2f99d35d6: Pulling fs layer 02:46:42 93359f2a8cfa: Pulling fs layer 02:46:42 7c6f9722023f: Pulling fs layer 02:46:42 a35cf1a2eb13: Pulling fs layer 02:46:42 93359f2a8cfa: Waiting 02:46:42 7c6f9722023f: Waiting 02:46:42 a35cf1a2eb13: Waiting 02:46:42 bca2f99d35d6: Waiting 02:46:42 de9db76c5a1d: Verifying Checksum 02:46:42 de9db76c5a1d: Download complete 02:46:42 0ef7d3d256c8: Verifying Checksum 02:46:42 0ef7d3d256c8: Download complete 02:46:42 93359f2a8cfa: Verifying Checksum 02:46:42 93359f2a8cfa: Download complete 02:46:42 188c0c94c7c5: Verifying Checksum 02:46:42 188c0c94c7c5: Download complete 02:46:42 7c6f9722023f: Verifying Checksum 02:46:42 7c6f9722023f: Download complete 02:46:42 188c0c94c7c5: Pull complete 02:46:42 0ef7d3d256c8: Pull complete 02:46:42 de9db76c5a1d: Pull complete 02:46:43 a35cf1a2eb13: Verifying Checksum 02:46:43 a35cf1a2eb13: Download complete 02:46:44 bca2f99d35d6: Verifying Checksum 02:46:44 bca2f99d35d6: Download complete 02:46:49 bca2f99d35d6: Pull complete 02:46:49 93359f2a8cfa: Pull complete 02:46:49 7c6f9722023f: Pull complete 02:46:55 a35cf1a2eb13: Pull complete 02:46:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:46:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:55 ---> a62c8e92a672 02:46:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:55 ---> Running in 9007aee99e90 02:46:55 Removing intermediate container 9007aee99e90 02:46:55 ---> aa961b3ac5c0 02:46:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:55 ---> Running in 5fc310cf5713 02:46:56 Removing intermediate container 5fc310cf5713 02:46:56 ---> b92edcf082f7 02:46:56 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 02:46:56 ---> Running in 2cca64969741 02:46:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:58 (1/6) Installing libc-dev (0.7.2-r3) 02:46:58 (2/6) Installing libsodium (1.0.18-r0) 02:46:59 (3/6) Installing pkgconf (1.7.2-r0) 02:46:59 (4/6) Installing libsodium-dev (1.0.18-r0) 02:46:59 (5/6) Installing libzmq (4.3.3-r0) 02:46:59 (6/6) Installing zeromq-dev (4.3.3-r0) 02:46:59 Executing busybox-1.31.1-r19.trigger 02:46:59 OK: 167 MiB in 45 packages 02:46:59 Removing intermediate container 2cca64969741 02:46:59 ---> 6df4eb76c2c0 02:46:59 Step 6/8 : WORKDIR /device-sdk-go 02:46:59 ---> Running in 8bfa383203ed 02:47:00 Removing intermediate container 8bfa383203ed 02:47:00 ---> c3431f50256f 02:47:00 Step 7/8 : COPY . . 02:47:01 ---> c72bee2dc615 02:47:01 Step 8/8 : RUN go mod download 02:47:01 ---> Running in 3f2aaa82c4dc 02:47:02 Removing intermediate container 1ee5572fb387 02:47:02 ---> 42b492c72942 02:47:02 Successfully built 42b492c72942 02:47:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:47:02 + docker inspect -f . ci-base-image-arm64 02:47:02 . [Pipeline] withDockerContainer 02:47:02 prd-ubuntu18.04-docker-arm64-4c-16g-32167 does not seem to be running inside a container 02:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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 02:47:04 $ docker top 2fff917793daff1053840d45b2cb7bb3b660a0f312369fdef52d9e6298c9ee47 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:05 + go version 02:47:05 go version go1.15.5 linux/arm64 [Pipeline] } 02:47:05 $ docker stop --time=1 2fff917793daff1053840d45b2cb7bb3b660a0f312369fdef52d9e6298c9ee47 02:47:07 $ docker rm -f 2fff917793daff1053840d45b2cb7bb3b660a0f312369fdef52d9e6298c9ee47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:08 + docker inspect -f . ci-base-image-arm64 02:47:08 . [Pipeline] withDockerContainer 02:47:08 prd-ubuntu18.04-docker-arm64-4c-16g-32167 does not seem to be running inside a container 02:47:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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 02:47:10 $ docker top 8defb4f38430ee9294a6e7d648479cd1e921539e80ad8b446dad569b46a77fa5 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:11 + make test 02:47:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:23 Removing intermediate container 3f2aaa82c4dc 02:47:23 ---> de6078d708fb 02:47:23 Successfully built de6078d708fb 02:47:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:47:23 + docker inspect -f . ci-base-image-x86_64 02:47:23 . [Pipeline] withDockerContainer 02:47:24 prd-centos7-docker-4c-2g-32168 does not seem to be running inside a container 02:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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 ******** ci-base-image-x86_64 cat 02:47:24 $ docker top d2d911295fb7b8417e4d1cfbf73161424ac14ed3a8ac7bfcf356bc81c228b825 -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:25 + go version 02:47:25 go version go1.15.5 linux/amd64 [Pipeline] } 02:47:25 $ docker stop --time=1 d2d911295fb7b8417e4d1cfbf73161424ac14ed3a8ac7bfcf356bc81c228b825 02:47:26 $ docker rm -f d2d911295fb7b8417e4d1cfbf73161424ac14ed3a8ac7bfcf356bc81c228b825 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:47:27 + docker inspect -f . ci-base-image-x86_64 02:47:27 . [Pipeline] withDockerContainer 02:47:27 prd-centos7-docker-4c-2g-32168 does not seem to be running inside a container 02:47:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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 ******** ci-base-image-x86_64 cat 02:47:28 $ docker top 246af8c93bc8e2304599df01ed0ea1dafdca45c841ea33e60a6dbf48d6cf14cd -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:29 + make test 02:47:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:47:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:47:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:47:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:47:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:47:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 02:47:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:47:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 27.0% of statements 02:47:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 81.2% of statements 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.063s coverage: 7.8% of statements 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:47:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 32.5% of statements 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:47:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:47:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 57.3% of statements 02:47:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.158s coverage: 6.6% of statements 02:47:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 02:47:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:47:59 GO111MODULE=on go vet ./... 02:48:14 gofmt -l . 02:48:14 [ "`gofmt -l .`" = "" ] 02:48:14 ./bin/test-attribution-txt.sh 02:48:14 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:48:14 $ docker stop --time=1 246af8c93bc8e2304599df01ed0ea1dafdca45c841ea33e60a6dbf48d6cf14cd 02:48:16 $ docker rm -f 246af8c93bc8e2304599df01ed0ea1dafdca45c841ea33e60a6dbf48d6cf14cd [Pipeline] // withDockerContainer [Pipeline] sh 02:48:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:48:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:20 + ls -al . 02:48:20 total 188 02:48:20 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 31 02:48 . 02:48:20 drwxrwxr-x. 4 jenkins jenkins 30 Mar 31 02:46 .. 02:48:20 drwxrwxr-x. 2 jenkins jenkins 64 Mar 31 02:46 bin 02:48:20 -rw-r--r--. 1 jenkins jenkins 101416 Mar 31 02:47 coverage.out 02:48:20 -rw-rw-r--. 1 jenkins jenkins 987 Mar 31 02:46 Dockerfile.build 02:48:20 -rw-rw-r--. 1 jenkins jenkins 140 Mar 31 02:46 .dockerignore 02:48:20 drwxrwxr-x. 5 jenkins jenkins 62 Mar 31 02:46 example 02:48:20 drwxrwxr-x. 8 jenkins jenkins 179 Mar 31 02:46 .git 02:48:20 drwxrwxr-x. 2 jenkins jenkins 103 Mar 31 02:46 .github 02:48:20 -rw-rw-r--. 1 jenkins jenkins 138 Mar 31 02:46 .gitignore 02:48:20 -rw-r--r--. 1 jenkins jenkins 537 Mar 31 02:48 go.mod 02:48:20 -rw-r--r--. 1 jenkins jenkins 20914 Mar 31 02:48 go.sum 02:48:20 drwxrwxr-x. 14 jenkins jenkins 207 Mar 31 02:46 internal 02:48:20 -rw-rw-r--. 1 jenkins jenkins 894 Mar 31 02:46 Jenkinsfile 02:48:20 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 31 02:46 LICENSE 02:48:20 -rw-rw-r--. 1 jenkins jenkins 1022 Mar 31 02:46 Makefile 02:48:20 drwxrwxr-x. 4 jenkins jenkins 26 Mar 31 02:46 openapi 02:48:20 drwxrwxr-x. 5 jenkins jenkins 50 Mar 31 02:46 pkg 02:48:20 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 31 02:46 README.md 02:48:20 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 31 02:46 RELEASE-NOTES.txt 02:48:20 drwxrwxr-x. 4 jenkins jenkins 54 Mar 31 02:46 snap 02:48:20 -rw-rw-r--. 1 jenkins jenkins 5 Mar 31 02:43 VERSION 02:48:20 -rw-rw-r--. 1 jenkins jenkins 222 Mar 31 02:46 version.go [Pipeline] isUnix [Pipeline] sh 02:48:21 + docker build -t 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=9bd8def4754386b72816b9b199ec0a151bf1a489 --label arch=amd64 --label version=0.0.0 . 02:48:21 Sending build context to Docker daemon 2.467MB 02:48:21 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 02:48:21 Step 2/23 : FROM ${BASE} AS builder 02:48:21 ---> de6078d708fb 02:48:21 Step 3/23 : WORKDIR /device-sdk-go 02:48:21 ---> Running in 3035715d4c24 02:48:21 Removing intermediate container 3035715d4c24 02:48:21 ---> 89c317799bf1 02:48:21 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:22 ---> Running in a2a8e631f663 02:48:22 Removing intermediate container a2a8e631f663 02:48:22 ---> 7ed67262f41f 02:48:22 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:22 ---> Running in 1d22a15b232a 02:48:23 Removing intermediate container 1d22a15b232a 02:48:23 ---> 09a0f47b4a30 02:48:23 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:48:23 ---> Running in 721e40ffa44c 02:48:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:25 OK: 167 MiB in 45 packages 02:48:25 Removing intermediate container 721e40ffa44c 02:48:25 ---> 6b7c01ac33f0 02:48:25 Step 7/23 : COPY . . 02:48:26 ---> 162c63471f8e 02:48:26 Step 8/23 : RUN go mod download 02:48:26 ---> Running in f62d470007b0 02:48:27 Removing intermediate container f62d470007b0 02:48:27 ---> b219d3405223 02:48:27 Step 9/23 : RUN make build 02:48:27 ---> Running in 34014073d026 02:48:28 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 02:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 02:48:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:48:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.171s coverage: 27.0% of statements 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.200s coverage: 81.2% of statements 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.169s coverage: 7.8% of statements 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:48:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.251s coverage: 32.5% of statements 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:48:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:48:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.264s coverage: 57.3% of statements 02:48:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.140s coverage: 6.6% of statements 02:48:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.143s coverage: 5.0% of statements 02:48:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:48:38 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:48:38 GO111MODULE=on go vet ./... 02:48:40 Removing intermediate container 34014073d026 02:48:40 ---> 76325275c3b4 02:48:40 Step 10/23 : FROM alpine:3.12 02:48:40 3.12: Pulling from library/alpine 02:48:40 22599d3e9e25: Pulling fs layer 02:48:40 22599d3e9e25: Verifying Checksum 02:48:40 22599d3e9e25: Download complete 02:48:41 22599d3e9e25: Pull complete 02:48:41 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 02:48:41 Status: Downloaded newer image for alpine:3.12 02:48:41 ---> 42cb162f0360 02:48:41 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:41 ---> Running in cbc88880a88a 02:48:41 Removing intermediate container cbc88880a88a 02:48:41 ---> 6fbdf521434a 02:48:41 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:41 ---> Running in 79ee9f3b9e4f 02:48:42 Removing intermediate container 79ee9f3b9e4f 02:48:42 ---> 28c3939f6f90 02:48:42 Step 13/23 : RUN apk add --update --no-cache zeromq 02:48:42 ---> Running in 3ebeedee8970 02:48:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:48:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:48:44 (1/5) Installing libgcc (9.3.0-r2) 02:48:44 (2/5) Installing libsodium (1.0.18-r0) 02:48:44 (3/5) Installing libstdc++ (9.3.0-r2) 02:48:44 (4/5) Installing libzmq (4.3.3-r0) 02:48:44 (5/5) Installing zeromq (4.3.3-r0) 02:48:44 Executing busybox-1.31.1-r19.trigger 02:48:44 OK: 8 MiB in 19 packages 02:48:45 Removing intermediate container 3ebeedee8970 02:48:45 ---> a9d4c6a586df 02:48:45 Step 14/23 : WORKDIR / 02:48:45 ---> Running in 145c936b68b2 02:48:45 Removing intermediate container 145c936b68b2 02:48:45 ---> 0779d3f18776 02:48:45 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:48:45 ---> 7a504a3ac73e 02:48:45 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:48:46 ---> df82f3704333 02:48:46 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:48:47 ---> 0ac2ec51d114 02:48:47 Step 18/23 : EXPOSE 49990 02:48:47 ---> Running in 78e986f03ef5 02:48:47 Removing intermediate container 78e986f03ef5 02:48:47 ---> 6c11a773a526 02:48:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:48:47 ---> Running in 5ffd57caf3b2 02:48:47 Removing intermediate container 5ffd57caf3b2 02:48:47 ---> 245f27903d65 02:48:47 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:47 ---> Running in 71ace59275b3 02:48:48 Removing intermediate container 71ace59275b3 02:48:48 ---> 704472e434ed 02:48:48 Step 21/23 : LABEL arch=amd64 02:48:48 ---> Running in 083730705bb0 02:48:48 Removing intermediate container 083730705bb0 02:48:48 ---> 20876ece6d4a 02:48:48 Step 22/23 : LABEL git_sha=9bd8def4754386b72816b9b199ec0a151bf1a489 02:48:49 ---> Running in 1a40f5bb6eb7 02:48:49 Removing intermediate container 1a40f5bb6eb7 02:48:49 ---> 08a22129d8ca 02:48:49 Step 23/23 : LABEL version=0.0.0 02:48:49 ---> Running in b1b0902e6b12 02:48:49 Removing intermediate container b1b0902e6b12 02:48:49 ---> 48ef757877ff 02:48:49 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:48:49 Successfully built 48ef757877ff 02:48:49 Successfully tagged 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 02:48:50 ---> job-cost.sh 02:48:50 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-g55t 02:49:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:49:26 gofmt -l . 02:49:26 [ "`gofmt -l .`" = "" ] 02:49:26 ./bin/test-attribution-txt.sh 02:49:26 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:49:26 $ docker stop --time=1 8defb4f38430ee9294a6e7d648479cd1e921539e80ad8b446dad569b46a77fa5 02:49:28 $ docker rm -f 8defb4f38430ee9294a6e7d648479cd1e921539e80ad8b446dad569b46a77fa5 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:30 Warning: overwriting stash ‘coverage-report’ 02:49:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:31 + ls -al . 02:49:31 total 224 02:49:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 02:49 . 02:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 02:45 .. 02:49:31 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 02:45 .dockerignore 02:49:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 02:45 .git 02:49:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 02:45 .github 02:49:31 -rw-rw-r-- 1 jenkins jenkins 138 Mar 31 02:45 .gitignore 02:49:31 -rw-rw-r-- 1 jenkins jenkins 987 Mar 31 02:45 Dockerfile.build 02:49:31 -rw-rw-r-- 1 jenkins jenkins 894 Mar 31 02:45 Jenkinsfile 02:49:31 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 02:45 LICENSE 02:49:31 -rw-rw-r-- 1 jenkins jenkins 1022 Mar 31 02:45 Makefile 02:49:31 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 31 02:45 README.md 02:49:31 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 31 02:45 RELEASE-NOTES.txt 02:49:31 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 02:43 VERSION 02:49:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 02:45 bin 02:49:31 -rw-r--r-- 1 jenkins jenkins 101416 Mar 31 02:48 coverage.out 02:49:31 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 02:45 example 02:49:31 -rw-r--r-- 1 jenkins jenkins 537 Mar 31 02:49 go.mod 02:49:31 -rw-r--r-- 1 jenkins jenkins 20914 Mar 31 02:49 go.sum 02:49:31 drwxrwxr-x 14 jenkins jenkins 4096 Mar 31 02:45 internal 02:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 02:45 openapi 02:49:31 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 02:45 pkg 02:49:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 02:45 snap 02:49:31 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:49:32 + docker build -t 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=9bd8def4754386b72816b9b199ec0a151bf1a489 --label arch=arm64 --label version=0.0.0 . 02:49:32 lf-activate-venv(): INFO: Adding /tmp/venv-g55t/bin to PATH 02:49:32 INFO: No Stack... 02:49:32 INFO: Retrieving Pricing Info for: v1-standard-2 02:49:32 INFO: Archiving Costs [Pipeline] sh 02:49:32 Sending build context to Docker daemon 2.44MB 02:49:32 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 02:49:32 Step 2/23 : FROM ${BASE} AS builder 02:49:32 ---> 42b492c72942 02:49:32 Step 3/23 : WORKDIR /device-sdk-go 02:49:32 + cat /w/workspace/device-sdk-go/26/archives/cost.csv 02:49:32 + cut -d, -f6 [Pipeline] lock 02:49:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-26-stack-cost] 02:49:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-26-stack-cost] did not exist. Created. 02:49:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-26-stack-cost] [Pipeline] { [Pipeline] unstash 02:49:33 ---> Running in 62fffbb3fbc5 [Pipeline] sh 02:49:33 Removing intermediate container 62fffbb3fbc5 02:49:33 ---> 007406121833 02:49:33 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:49:33 + echo total: 0.029999999329447746 [Pipeline] stash 02:49:33 Stashed 1 file(s) [Pipeline] } 02:49:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-26-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:33 ---> Running in 9d63f8507c5d [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 02:49:34 Removing intermediate container 9d63f8507c5d 02:49:34 ---> 1f485989e73d 02:49:34 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] } [Pipeline] // node [Pipeline] } 02:49:36 ---> Running in 904f7df2fef9 02:49:36 Removing intermediate container 904f7df2fef9 02:49:36 ---> 37234f58ef3a 02:49:36 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [Pipeline] // stage [Pipeline] } 02:49:36 ---> Running in 56ee492dee38 02:49:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:49:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:49:39 OK: 144 MiB in 45 packages 02:49:39 Removing intermediate container 56ee492dee38 02:49:39 ---> 1ab8db14b0be 02:49:39 Step 7/23 : COPY . . 02:49:40 ---> 531c831d873c 02:49:40 Step 8/23 : RUN go mod download 02:49:41 ---> Running in b4473d47105e 02:49:43 Removing intermediate container b4473d47105e 02:49:43 ---> 2fd6afc1f592 02:49:43 Step 9/23 : RUN make build 02:49:43 ---> Running in c598a8f18214 02:49:44 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 02:50:17 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:50:18 Removing intermediate container c598a8f18214 02:50:18 ---> 8e77bb7dff04 02:50:18 Step 10/23 : FROM alpine:3.12 02:50:19 3.12: Pulling from library/alpine 02:50:19 95dec6db3722: Pulling fs layer 02:50:19 95dec6db3722: Verifying Checksum 02:50:19 95dec6db3722: Download complete 02:50:20 95dec6db3722: Pull complete 02:50:20 Digest: sha256:d1eaae2a6814b4b10a722fa75e8a6b53db42d1bf531395a107fea0458bfbf1d8 02:50:20 Status: Downloaded newer image for alpine:3.12 02:50:20 ---> e47305ac9786 02:50:20 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:20 ---> Running in 4f4134f0bfa3 02:50:20 Removing intermediate container 4f4134f0bfa3 02:50:20 ---> beefa43a3f65 02:50:20 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:21 ---> Running in d19dfbb29898 02:50:23 Removing intermediate container d19dfbb29898 02:50:23 ---> d039247c41fc 02:50:23 Step 13/23 : RUN apk add --update --no-cache zeromq 02:50:23 ---> Running in 9d930f2c6520 02:50:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:50:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:50:25 (1/5) Installing libgcc (9.3.0-r2) 02:50:25 (2/5) Installing libsodium (1.0.18-r0) 02:50:25 (3/5) Installing libstdc++ (9.3.0-r2) 02:50:25 (4/5) Installing libzmq (4.3.3-r0) 02:50:26 (5/5) Installing zeromq (4.3.3-r0) 02:50:26 Executing busybox-1.31.1-r19.trigger 02:50:26 OK: 8 MiB in 19 packages 02:50:27 Removing intermediate container 9d930f2c6520 02:50:27 ---> 18e66c9b759e 02:50:27 Step 14/23 : WORKDIR / 02:50:27 ---> Running in d612e44c0ffc 02:50:28 Removing intermediate container d612e44c0ffc 02:50:28 ---> ccc32949d752 02:50:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:50:29 ---> 3aef0061712f 02:50:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:50:30 ---> 2e79f1477fdc 02:50:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:50:30 ---> 330b4eb428ab 02:50:30 Step 18/23 : EXPOSE 49990 02:50:31 ---> Running in 993ae3c20b05 02:50:31 Removing intermediate container 993ae3c20b05 02:50:31 ---> af15e1eed0f8 02:50:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:50:31 ---> Running in 9c181755f909 02:50:32 Removing intermediate container 9c181755f909 02:50:32 ---> ec71c0ca9884 02:50:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:32 ---> Running in 7d00561940c9 02:50:32 Removing intermediate container 7d00561940c9 02:50:32 ---> 8372a7523ff8 02:50:32 Step 21/23 : LABEL arch=arm64 02:50:32 ---> Running in cd847c873e1d 02:50:33 Removing intermediate container cd847c873e1d 02:50:33 ---> 563f70737a9e 02:50:33 Step 22/23 : LABEL git_sha=9bd8def4754386b72816b9b199ec0a151bf1a489 02:50:33 ---> Running in 696198e08ed4 02:50:33 Removing intermediate container 696198e08ed4 02:50:33 ---> 05bdb5d5d3fd 02:50:33 Step 23/23 : LABEL version=0.0.0 02:50:33 ---> Running in d3b24f7e51c5 02:50:34 Removing intermediate container d3b24f7e51c5 02:50:34 ---> 3c44a634b759 02:50:34 [Warning] One or more build-args [ARCH MAKE] were not consumed 02:50:34 Successfully built 3c44a634b759 02:50:34 Successfully tagged 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 02:50:35 ---> job-cost.sh 02:50:35 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KgNs 02:51:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 02:52:51 lf-activate-venv(): INFO: Adding /tmp/venv-KgNs/bin to PATH 02:52:51 INFO: No Stack... 02:52:51 INFO: Retrieving Pricing Info for: lf-standard-4 02:52:51 INFO: Archiving Costs [Pipeline] sh 02:52:51 + cut -d, -f6 02:52:51 + cat /w/workspace/device-sdk-go/26/archives/cost.csv [Pipeline] lock 02:52:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-725-26-stack-cost] 02:52:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-725-26-stack-cost] did not exist. Created. 02:52:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-725-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:51 /w/workspace/device-sdk-go/26@tmp/durable-4b4b56f0/script.sh: 1: /w/workspace/device-sdk-go/26@tmp/durable-4b4b56f0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:52:52 + echo total: 0.20999999344348907 [Pipeline] stash 02:52:52 Warning: overwriting stash ‘stack-cost’ 02:52:52 Stashed 1 file(s) [Pipeline] } 02:52:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-725-26-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 02:52:53 provisioning config files... 02:52:53 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config4224236319452633405tmp [Pipeline] { [Pipeline] sh 02:52:54 + set +x 02:52:54 + bash -s -- 02:52:54 + curl -s https://codecov.io/bash 02:52:54 02:52:54 _____ _ 02:52:54 / ____| | | 02:52:54 | | ___ __| | ___ ___ _____ __ 02:52:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:52:54 | |___| (_) | (_| | __/ (_| (_) \ V / 02:52:54 \_____\___/ \__,_|\___|\___\___/ \_/ 02:52:54 Bash-20210309-2b87ace 02:52:54 02:52:54 02:52:54 ==> git version 2.24.3 found 02:52:54 ==> 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 02:52:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:52:54 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:52:54 ==> Jenkins CI detected. 02:52:54 project root: . 02:52:54 --> token set from env 02:52:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:52:55 ==> Running gcov in . (disable via -X gcov) 02:52:55 ==> Python coveragepy not found 02:52:55 ==> Searching for coverage reports in: 02:52:55 + . 02:52:55 -> Found 1 reports 02:52:55 ==> Detecting git/mercurial file structure 02:52:55 ==> Reading reports 02:52:55 + ./coverage.out bytes=101416 02:52:55 ==> Appending adjustments 02:52:55 https://docs.codecov.io/docs/fixing-reports 02:52:55 + Found adjustments 02:52:55 ==> Gzipping contents 02:52:55 16K /tmp/codecov.JZr9HI.gz 02:52:55 ==> Uploading reports 02:52:55 url: https://codecov.io 02:52:55 query: branch=PR-725&commit=9bd8def4754386b72816b9b199ec0a151bf1a489&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:52:55 -> Pinging Codecov 02:52:55 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-725&commit=9bd8def4754386b72816b9b199ec0a151bf1a489&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-725%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=725&job=&cmd_args= 02:52:56 -> Uploading to 02:52:56 https://storage.googleapis.com/codecov/v4/raw/2021-03-31/7E55EF52A471D76F132DFD9A03CDDE97/9bd8def4754386b72816b9b199ec0a151bf1a489/f4645bc7-03d6-4a58-9fe3-24d38df9c2ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210331T025256Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4461623f3b94f123a26e4e85032d6e88e06ecb58db0ed6084fe1ce14120ef45c 02:52:56 % Total % Received % Xferd Average Speed Time Time Time Current 02:52:56 Dload Upload Total Spent Left Speed 02:52:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13717 0 0 100 13717 0 22388 --:--:-- --:--:-- --:--:-- 22376 100 13717 0 0 100 13717 0 22377 --:--:-- --:--:-- --:--:-- 22376 02:52:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9bd8def4754386b72816b9b199ec0a151bf1a489 [Pipeline] } 02:52:57 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 02:52:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:53:00 ---> package-listing.sh 02:53:00 ++ facter osfamily 02:53:00 ++ tr '[:upper:]' '[:lower:]' 02:53:00 + OS_FAMILY=redhat 02:53:00 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-725 02:53:00 + START_PACKAGES=/tmp/packages_start.txt 02:53:00 + END_PACKAGES=/tmp/packages_end.txt 02:53:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:53:00 + PACKAGES=/tmp/packages_start.txt 02:53:00 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:53:00 + PACKAGES=/tmp/packages_end.txt 02:53:00 + case "${OS_FAMILY}" in 02:53:00 + sort 02:53:00 + rpm -qa 02:53:07 + '[' -f /tmp/packages_start.txt ']' 02:53:07 + '[' -f /tmp/packages_end.txt ']' 02:53:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:53:07 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-725 ']' 02:53:07 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ 02:53:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-725/archives/ [Pipeline] echo 02:53:07 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-725/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:53:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:53:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:09 02:53:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:53:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:10 alpine: Pulling from edgex-lftools-log-publisher 02:53:10 df20fa9351a1: Pulling fs layer 02:53:10 36b3adc4ff6f: Pulling fs layer 02:53:10 8ad3a11d3b57: Pulling fs layer 02:53:10 46f8f816bc3b: Pulling fs layer 02:53:10 93b61091891f: Pulling fs layer 02:53:10 93b9cdb0e59b: Pulling fs layer 02:53:10 5e14af77c1be: Pulling fs layer 02:53:10 01666e4c0597: Pulling fs layer 02:53:10 aa168da1d23b: Pulling fs layer 02:53:10 93b9cdb0e59b: Waiting 02:53:10 5e14af77c1be: Waiting 02:53:10 01666e4c0597: Waiting 02:53:10 46f8f816bc3b: Waiting 02:53:10 aa168da1d23b: Waiting 02:53:10 93b61091891f: Waiting 02:53:10 36b3adc4ff6f: Download complete 02:53:10 46f8f816bc3b: Verifying Checksum 02:53:10 46f8f816bc3b: Download complete 02:53:10 df20fa9351a1: Verifying Checksum 02:53:10 df20fa9351a1: Download complete 02:53:10 93b9cdb0e59b: Verifying Checksum 02:53:10 93b9cdb0e59b: Download complete 02:53:10 5e14af77c1be: Verifying Checksum 02:53:10 5e14af77c1be: Download complete 02:53:10 01666e4c0597: Verifying Checksum 02:53:10 01666e4c0597: Download complete 02:53:10 93b61091891f: Verifying Checksum 02:53:10 93b61091891f: Download complete 02:53:11 df20fa9351a1: Pull complete 02:53:11 36b3adc4ff6f: Pull complete 02:53:11 8ad3a11d3b57: Verifying Checksum 02:53:11 8ad3a11d3b57: Download complete 02:53:14 8ad3a11d3b57: Pull complete 02:53:14 46f8f816bc3b: Pull complete 02:53:17 93b61091891f: Pull complete 02:53:17 93b9cdb0e59b: Pull complete 02:53:17 5e14af77c1be: Pull complete 02:53:17 01666e4c0597: Pull complete 02:53:19 aa168da1d23b: Verifying Checksum 02:53:19 aa168da1d23b: Download complete 02:53:32 aa168da1d23b: Pull complete 02:53:32 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:53:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:53:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:53:32 prd-centos7-docker-4c-2g-32166 does not seem to be running inside a container 02:53:33 $ 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-725/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-725 -v /w/workspace/dgexfoundry_device-sdk-go_PR-725:/w/workspace/dgexfoundry_device-sdk-go_PR-725:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-725@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:53:36 $ docker top a4d31412ecf29211a713cedac070d04d39726b624f52187b5a51f18a5ce049fb -eo pid,comm [Pipeline] { [Pipeline] sh 02:53:38 + touch /tmp/pre-build-complete [Pipeline] sh 02:53:38 + mkdir -p /var/log/sa [Pipeline] sh 02:53:39 + ls /var/log/sa-host 02:53:39 + sadf -c /var/log/sa-host/sa23 02:53:39 file_magic: OK 02:53:39 HZ: Using current value: 100 02:53:39 file_header: OK 02:53:39 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 02:53:39 Statistics: 02:53:39 Hnuu...uuuununununu... 02:53:39 File successfully converted to sysstat format version 12.2.1 02:53:39 + sadf -c /var/log/sa-host/sa31 02:53:39 file_magic: OK 02:53:39 HZ: Using current value: 100 02:53:39 file_header: OK 02:53:39 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 02:53:39 Statistics: 02:53:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:53:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:53:40 provisioning config files... 02:53:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-725@tmp/config8658345379487165792tmp [Pipeline] { [Pipeline] echo 02:53:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:53:41 ---> create-netrc.sh [Pipeline] } 02:53:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:53:41 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:53:42 ---> python-tools-install.sh [Pipeline] echo 02:53:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:53:43 ---> sudo-logs.sh 02:53:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:53:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:53:45 ---> job-cost.sh 02:53:45 lf-activate-venv: SKIPPING 02:53:45 DEBUG: total: 0.20999999344348907 02:53:45 INFO: Retrieving Stack Cost... 02:53:46 INFO: Retrieving Pricing Info for: v1-standard-2 02:53:46 INFO: Archiving Costs [Pipeline] echo 02:53:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:53:47 ---> logs-deploy.sh 02:53:47 lf-activate-venv: SKIPPING 02:53:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-725/26 02:53:47 INFO: archiving workspace using pattern(s): 02:53:50 Archives upload complete. 02:53:51 INFO: archiving logs to Nexus