Pull request #887 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from be245dca7e4b97440bba36f65345a9359d609daa+188b4cc14b9321dd8b2b5872b94485f2cb4f6961 (cd1e0d6bfcb377fb29c6b2d235107e3b5b993660) 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 ‘prd-centos7-docker-4c-2g-1803’ is offline Running on prd-centos7-docker-4c-2g-1804 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [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-887 # 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 be245dca7e4b97440bba36f65345a9359d609daa Merge succeeded, producing be245dca7e4b97440bba36f65345a9359d609daa Checking out Revision be245dca7e4b97440bba36f65345a9359d609daa (PR-887) > 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/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # 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 be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:04:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:04:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:04:52 ========================================================= 10:04:52 EdgeX Global Pipelines Version Info 10:04:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk eb077a2e923156dfe7e56c7626544f9d712c7af1 # timeout=10 10:04:55 ------------------- 10:04:55 stable info: 10:04:55 ------------------- 10:04:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:04:55 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 10:04:55 Message: update stable to v1.0.186 10:04:56 ------------------- 10:04:56 experimental info: 10:04:56 ------------------- 10:04:56 Commited By: **** collab-it+edgex@linuxfoundation.org 10:04:56 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 10:04:56 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:04:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be245dca7e4b97440bba36f65345a9359d609daa [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be245dc [Pipeline] echo 10:04:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:04:57 provisioning config files... 10:04:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config1404931351430021634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:57 ---> docker-login.sh 10:04:57 nexus3.edgexfoundry.org:10001 10:04:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:58 Configure a credential helper to remove this warning. See 10:04:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:58 10:04:58 Login Succeeded 10:04:58 nexus3.edgexfoundry.org:10002 10:04:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:04:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:04:59 Configure a credential helper to remove this warning. See 10:04:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:04:59 10:04:59 Login Succeeded 10:04:59 nexus3.edgexfoundry.org:10003 10:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:00 Configure a credential helper to remove this warning. See 10:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:00 10:05:00 Login Succeeded 10:05:00 nexus3.edgexfoundry.org:10004 10:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:00 Configure a credential helper to remove this warning. See 10:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:00 10:05:00 Login Succeeded 10:05:00 docker.io 10:05:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:05:00 Configure a credential helper to remove this warning. See 10:05:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:05:00 10:05:00 Login Succeeded 10:05:00 ---> docker-login.sh ends [Pipeline] } 10:05:00 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:05:01 + git log --format=format:%s -1 be245dca7e4b97440bba36f65345a9359d609daa [Pipeline] echo 10:05:01 GIT_COMMIT: be245dca7e4b97440bba36f65345a9359d609daa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo 10:05:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 10:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:05:02 10:05:02 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:05:02 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:05:02 latest: Pulling from edgex-devops/git-semver 10:05:02 31603596830f: Pulling fs layer 10:05:02 2a8b12db71e7: Pulling fs layer 10:05:02 6ca5941a6612: Pulling fs layer 10:05:02 ecc8261a40a4: Pulling fs layer 10:05:02 ecc8261a40a4: Waiting 10:05:02 2a8b12db71e7: Verifying Checksum 10:05:02 2a8b12db71e7: Download complete 10:05:02 31603596830f: Download complete 10:05:02 ecc8261a40a4: Verifying Checksum 10:05:02 ecc8261a40a4: Download complete 10:05:02 6ca5941a6612: Verifying Checksum 10:05:02 6ca5941a6612: Download complete 10:05:03 31603596830f: Pull complete 10:05:03 2a8b12db71e7: Pull complete 10:05:05 6ca5941a6612: Pull complete 10:05:05 ecc8261a40a4: Pull complete 10:05:05 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 10:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:05:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:05:06 prd-centos7-docker-4c-2g-1804 does not seem to be running inside a container 10:05:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@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:10004/edgex-devops/git-semver:latest cat 10:05:09 $ docker top 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:05:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:10 [ssh-agent] Looking for ssh-agent implementation... 10:05:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:11 $ docker exec 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 ssh-agent 10:05:12 SSH_AUTH_SOCK=/tmp/ssh-5qB2Bvz2M3Px/agent.11 10:05:12 SSH_AGENT_PID=16 10:05:12 Running ssh-add (command line suppressed) 10:05:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_2249134546690019063.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_2249134546690019063.key) 10:05:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:14 + git tag --points-at HEAD [Pipeline] } 10:05:14 $ docker exec --env ******** --env ******** 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 ssh-agent -k 10:05:14 unset SSH_AUTH_SOCK; 10:05:14 unset SSH_AGENT_PID; 10:05:14 echo Agent pid 16 killed; 10:05:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:05:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:14 [ssh-agent] Looking for ssh-agent implementation... 10:05:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:14 $ docker exec 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 ssh-agent 10:05:15 SSH_AUTH_SOCK=/tmp/ssh-VrCuFz1PlpZ9/agent.44 10:05:15 SSH_AGENT_PID=49 10:05:15 Running ssh-add (command line suppressed) 10:05:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6872882028252460671.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_6872882028252460671.key) 10:05:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:16 + git semver init 10:05:16 # -> Open(): unable to determine branch for HEAD 10:05:16 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git 10:05:16 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 10:05:16 # $SEMVER_REMOTE_NAME = origin 10:05:16 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:05:16 # $SEMVER_USER_NAME = edgex-jenkins 10:05:16 # $SEMVER_BRANCH = PR-887 10:05:16 # $SEMVER_TEMP = /tmp/semver-245752613 10:05:16 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 10:05:18 # '/tmp/semver-245752613' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' 10:05:18 # -> Force: false 10:05:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } 10:05:18 $ docker exec --env ******** --env ******** 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 ssh-agent -k 10:05:18 unset SSH_AUTH_SOCK; 10:05:18 unset SSH_AGENT_PID; 10:05:18 echo Agent pid 49 killed; 10:05:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:05:19 + git semver [Pipeline] } 10:05:19 $ docker stop --time=1 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 10:05:20 $ docker rm -f 02f64ace60021b9acbe132f2e41e71cdff477bf55fdbae457e91eab378e09146 [Pipeline] // withDockerContainer [Pipeline] sh 10:05:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:05:21 Stashed 1 file(s) [Pipeline] echo 10:05:21 [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:05:36 Still waiting to schedule task 10:05:36 ‘prd-centos7-docker-4c-2g-1809’ is offline 10:05:36 Still waiting to schedule task 10:05:36 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1805’ 10:09:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1811 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 10:09:26 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 10:09:31 using credential edgex-jenkins-ssh 10:09:31 Cloning the remote Git repository 10:09:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:09:32 > git init /w/workspace/device-sdk-go/4 # timeout=10 10:09:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:09:32 > git --version # timeout=10 10:09:32 > git --version # 'git version 2.17.1' 10:09:32 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:09:34 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit be245dca7e4b97440bba36f65345a9359d609daa 10:09:34 Merge succeeded, producing be245dca7e4b97440bba36f65345a9359d609daa 10:09:34 Checking out Revision be245dca7e4b97440bba36f65345a9359d609daa (PR-887) 10:09:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:09:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:09:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:09:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:09:33 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:09:34 > git config core.sparsecheckout # timeout=10 10:09:34 > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 10:09:34 > git remote # timeout=10 10:09:34 > git config --get remote.origin.url # timeout=10 10:09:34 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:34 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 10:09:34 > git rev-parse HEAD^{commit} # timeout=10 10:09:34 > git config core.sparsecheckout # timeout=10 10:09:34 > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 10:09:38 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:40 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 10:09:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:09:41 + sudo service docker restart 10:09:41 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:09:43 provisioning config files... 10:09:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config5412073723563947388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:44 ---> docker-login.sh 10:09:44 nexus3.edgexfoundry.org:10001 10:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:45 Configure a credential helper to remove this warning. See 10:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:45 10:09:45 Login Succeeded 10:09:45 nexus3.edgexfoundry.org:10002 10:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:46 Configure a credential helper to remove this warning. See 10:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:46 10:09:46 Login Succeeded 10:09:46 nexus3.edgexfoundry.org:10003 10:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:46 Configure a credential helper to remove this warning. See 10:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:46 10:09:46 Login Succeeded 10:09:46 nexus3.edgexfoundry.org:10004 10:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:47 Configure a credential helper to remove this warning. See 10:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:47 10:09:47 Login Succeeded 10:09:47 docker.io 10:09:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:47 Configure a credential helper to remove this warning. See 10:09:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:47 10:09:47 Login Succeeded 10:09:47 ---> docker-login.sh ends [Pipeline] } 10:09:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:09:48 ========================================================= 10:09:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 10:09:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:09:48 + 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:09:48 Sending build context to Docker daemon 2.468MB 10:09:49 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:09:49 Step 2/8 : FROM ${BASE} 10:09:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:09:49 5f621e34cdf4: Pulling fs layer 10:09:49 a4357932f1b6: Pulling fs layer 10:09:49 18c013af1878: Pulling fs layer 10:09:49 00ac8860ef70: Pulling fs layer 10:09:49 63d7cb157983: Pulling fs layer 10:09:49 b116817d02f9: Pulling fs layer 10:09:49 745a02a5169b: Pulling fs layer 10:09:49 63d7cb157983: Waiting 10:09:49 b116817d02f9: Waiting 10:09:49 00ac8860ef70: Waiting 10:09:49 745a02a5169b: Waiting 10:09:49 a4357932f1b6: Verifying Checksum 10:09:49 a4357932f1b6: Download complete 10:09:49 18c013af1878: Verifying Checksum 10:09:49 18c013af1878: Download complete 10:09:49 63d7cb157983: Download complete 10:09:49 b116817d02f9: Download complete 10:09:49 5f621e34cdf4: Verifying Checksum 10:09:49 5f621e34cdf4: Download complete 10:09:50 5f621e34cdf4: Pull complete 10:09:50 a4357932f1b6: Pull complete 10:09:51 18c013af1878: Pull complete 10:09:51 745a02a5169b: Verifying Checksum 10:09:51 745a02a5169b: Download complete 10:09:53 00ac8860ef70: Verifying Checksum 10:09:53 00ac8860ef70: Download complete 10:10:03 00ac8860ef70: Pull complete 10:10:03 63d7cb157983: Pull complete 10:10:03 b116817d02f9: Pull complete 10:10:05 745a02a5169b: Pull complete 10:10:05 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 10:10:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 10:10:05 ---> b7e6874047d6 10:10:05 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:10:07 Running on prd-centos7-docker-4c-2g-1812 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws 10:10:07 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 10:10:09 ---> Running in a7335b847b50 10:10:09 Removing intermediate container a7335b847b50 10:10:09 ---> 887c4d272c0f 10:10:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:09 ---> Running in 25171cda49eb 10:10:10 using credential edgex-jenkins-ssh 10:10:10 Cloning the remote Git repository 10:10:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 10:10:10 > git init /w/workspace/device-sdk-go/4 # timeout=10 10:10:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:10:10 > git --version # timeout=10 10:10:10 > git --version # 'git version 2.24.3' 10:10:10 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:12 Merging remotes/origin/master commit 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 into PR head commit be245dca7e4b97440bba36f65345a9359d609daa 10:10:12 Merge succeeded, producing be245dca7e4b97440bba36f65345a9359d609daa 10:10:12 Checking out Revision be245dca7e4b97440bba36f65345a9359d609daa (PR-887) 10:10:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:10:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 10:10:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 10:10:11 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 10:10:12 > git config core.sparsecheckout # timeout=10 10:10:12 > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 10:10:12 > git remote # timeout=10 10:10:12 > git config --get remote.origin.url # timeout=10 10:10:12 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:12 > git merge 188b4cc14b9321dd8b2b5872b94485f2cb4f6961 # timeout=10 10:10:12 > git rev-parse HEAD^{commit} # timeout=10 10:10:12 > git config core.sparsecheckout # timeout=10 10:10:12 > git checkout -f be245dca7e4b97440bba36f65345a9359d609daa # timeout=10 10:10:12 Removing intermediate container 25171cda49eb 10:10:12 ---> 331051c63ab2 10:10:12 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:10:12 ---> Running in c6d36f7c1828 10:10:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:10:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:10:15 (1/6) Installing libc-dev (0.7.2-r3) 10:10:15 (2/6) Installing libsodium (1.0.18-r0) 10:10:15 (3/6) Installing pkgconf (1.7.2-r0) 10:10:15 (4/6) Installing libsodium-dev (1.0.18-r0) 10:10:15 (5/6) Installing libzmq (4.3.3-r0) 10:10:15 (6/6) Installing zeromq-dev (4.3.3-r0) 10:10:15 Executing busybox-1.31.1-r19.trigger 10:10:15 OK: 144 MiB in 45 packages 10:10:16 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:16 Removing intermediate container c6d36f7c1828 10:10:16 ---> 6e583621e83a 10:10:16 Step 6/8 : WORKDIR /device-sdk-go 10:10:16 ---> Running in 44233f4e76c4 10:10:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 10:10:17 Removing intermediate container 44233f4e76c4 10:10:17 ---> bd95ca085c50 10:10:17 Step 7/8 : COPY . . 10:10:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 10:10:17 + sudo service docker restart 10:10:17 + true 10:10:17 Redirecting to /bin/systemctl restart docker.service 10:10:18 ---> 3e1c9d0c15c5 10:10:18 Step 8/8 : RUN go mod download 10:10:18 ---> Running in 7f0ff68ce263 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 10:10:19 provisioning config files... 10:10:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4222857432927356033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:19 ---> docker-login.sh 10:10:19 nexus3.edgexfoundry.org:10001 10:10:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 nexus3.edgexfoundry.org:10002 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 nexus3.edgexfoundry.org:10003 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 nexus3.edgexfoundry.org:10004 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 docker.io 10:10:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:20 Configure a credential helper to remove this warning. See 10:10:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:20 10:10:20 Login Succeeded 10:10:20 ---> docker-login.sh ends [Pipeline] } 10:10:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:21 ========================================================= 10:10:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 10:10:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 10:10:21 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 10:10:21 Sending build context to Docker daemon 2.469MB 10:10:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 10:10:21 Step 2/8 : FROM ${BASE} 10:10:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 10:10:21 188c0c94c7c5: Pulling fs layer 10:10:21 0ef7d3d256c8: Pulling fs layer 10:10:21 de9db76c5a1d: Pulling fs layer 10:10:21 bca2f99d35d6: Pulling fs layer 10:10:21 93359f2a8cfa: Pulling fs layer 10:10:21 7c6f9722023f: Pulling fs layer 10:10:21 a35cf1a2eb13: Pulling fs layer 10:10:21 93359f2a8cfa: Waiting 10:10:21 7c6f9722023f: Waiting 10:10:21 a35cf1a2eb13: Waiting 10:10:21 bca2f99d35d6: Waiting 10:10:21 de9db76c5a1d: Verifying Checksum 10:10:21 de9db76c5a1d: Download complete 10:10:21 0ef7d3d256c8: Verifying Checksum 10:10:21 0ef7d3d256c8: Download complete 10:10:21 93359f2a8cfa: Verifying Checksum 10:10:21 93359f2a8cfa: Download complete 10:10:21 188c0c94c7c5: Download complete 10:10:21 7c6f9722023f: Download complete 10:10:21 188c0c94c7c5: Pull complete 10:10:22 0ef7d3d256c8: Pull complete 10:10:22 de9db76c5a1d: Pull complete 10:10:23 a35cf1a2eb13: Verifying Checksum 10:10:23 a35cf1a2eb13: Download complete 10:10:24 bca2f99d35d6: Verifying Checksum 10:10:24 bca2f99d35d6: Download complete 10:10:29 bca2f99d35d6: Pull complete 10:10:29 93359f2a8cfa: Pull complete 10:10:30 7c6f9722023f: Pull complete 10:10:34 a35cf1a2eb13: Pull complete 10:10:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 10:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 10:10:34 ---> a62c8e92a672 10:10:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:10:34 ---> Running in 736ed16ba221 10:10:34 Removing intermediate container 736ed16ba221 10:10:34 ---> fbc3d18e5b96 10:10:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:34 ---> Running in d6c20499867e 10:10:35 Removing intermediate container d6c20499867e 10:10:35 ---> 6ed6b88939be 10:10:35 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 10:10:35 ---> Running in 45571b08e5fd 10:10:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:10:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:10:37 (1/6) Installing libc-dev (0.7.2-r3) 10:10:37 (2/6) Installing libsodium (1.0.18-r0) 10:10:37 (3/6) Installing pkgconf (1.7.2-r0) 10:10:38 (4/6) Installing libsodium-dev (1.0.18-r0) 10:10:38 (5/6) Installing libzmq (4.3.3-r0) 10:10:38 (6/6) Installing zeromq-dev (4.3.3-r0) 10:10:38 Executing busybox-1.31.1-r19.trigger 10:10:38 OK: 167 MiB in 45 packages 10:10:38 Removing intermediate container 45571b08e5fd 10:10:38 ---> 9008cea15f85 10:10:38 Step 6/8 : WORKDIR /device-sdk-go 10:10:38 ---> Running in a003cf042eba 10:10:39 Removing intermediate container a003cf042eba 10:10:39 ---> 00ba8cb39945 10:10:39 Step 7/8 : COPY . . 10:10:40 ---> 6dd562bbe4c0 10:10:40 Step 8/8 : RUN go mod download 10:10:40 ---> Running in 430cc007c88b 10:10:45 Removing intermediate container 7f0ff68ce263 10:10:45 ---> 1b3708dcdf93 10:10:45 Successfully built 1b3708dcdf93 10:10:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:10:46 + docker inspect -f . ci-base-image-arm64 10:10:46 . [Pipeline] withDockerContainer 10:10:46 prd-ubuntu18.04-docker-arm64-4c-16g-1811 does not seem to be running inside a container 10:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat 10:10:47 $ docker top 76c4255f5d121fcacade48f4cc2bffbdf601869cb794be27918e21972be35659 -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:48 + go version 10:10:48 go version go1.15.5 linux/arm64 [Pipeline] } 10:10:48 $ docker stop --time=1 76c4255f5d121fcacade48f4cc2bffbdf601869cb794be27918e21972be35659 10:10:50 $ docker rm -f 76c4255f5d121fcacade48f4cc2bffbdf601869cb794be27918e21972be35659 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:10:51 + docker inspect -f . ci-base-image-arm64 10:10:51 . [Pipeline] withDockerContainer 10:10:51 prd-ubuntu18.04-docker-arm64-4c-16g-1811 does not seem to be running inside a container 10:10:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-arm64 cat 10:10:53 $ docker top 86c05381da83538d1dfd4a18afd02b0caf17f28a86de03a2ecfc7b7cc23254e3 -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:54 + make test 10:10:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:11:02 Removing intermediate container 430cc007c88b 10:11:02 ---> 4fb63a4e1add 10:11:02 Successfully built 4fb63a4e1add 10:11:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:11:02 + docker inspect -f . ci-base-image-x86_64 10:11:02 . [Pipeline] withDockerContainer 10:11:02 prd-centos7-docker-4c-2g-1812 does not seem to be running inside a container 10:11:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 10:11:03 $ docker top e4a719936a6afde205b50cc96941b08fe6ef75ac7032380e0f9d3ddffe42233f -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:04 + go version 10:11:04 go version go1.15.5 linux/amd64 [Pipeline] } 10:11:04 $ docker stop --time=1 e4a719936a6afde205b50cc96941b08fe6ef75ac7032380e0f9d3ddffe42233f 10:11:05 $ docker rm -f e4a719936a6afde205b50cc96941b08fe6ef75ac7032380e0f9d3ddffe42233f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:11:06 + docker inspect -f . ci-base-image-x86_64 10:11:06 . [Pipeline] withDockerContainer 10:11:06 prd-centos7-docker-4c-2g-1812 does not seem to be running inside a container 10:11:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 10:11:06 $ docker top 4ca3e67d624b160b534996158a3e79e0b41eb3ef60e4de82a91007ad22beb088 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:07 + make test 10:11:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 10:11:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:11:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 10:11:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:11:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:11:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:11:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:11:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:11:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 28.1% of statements 10:11:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.069s coverage: 78.9% of statements 10:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.080s coverage: 7.8% of statements 10:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:11:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 32.0% of statements 10:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:11:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:11:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.101s coverage: 57.2% of statements 10:11:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.227s coverage: 6.6% of statements 10:11:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.076s coverage: 5.0% of statements 10:11:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:11:40 GO111MODULE=on go vet ./... 10:11:58 gofmt -l . 10:11:58 [ "`gofmt -l .`" = "" ] 10:11:58 ./bin/test-attribution-txt.sh 10:11:58 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:11:58 $ docker stop --time=1 4ca3e67d624b160b534996158a3e79e0b41eb3ef60e4de82a91007ad22beb088 10:12:00 $ docker rm -f 4ca3e67d624b160b534996158a3e79e0b41eb3ef60e4de82a91007ad22beb088 [Pipeline] // withDockerContainer [Pipeline] sh 10:12:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:12:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:12:02 + ls -al . 10:12:02 total 188 10:12:02 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 26 10:11 . 10:12:02 drwxrwxr-x. 4 jenkins jenkins 28 Apr 26 10:10 .. 10:12:02 drwxrwxr-x. 2 jenkins jenkins 64 Apr 26 10:10 bin 10:12:02 -rw-r--r--. 1 jenkins jenkins 100024 Apr 26 10:11 coverage.out 10:12:02 -rw-rw-r--. 1 jenkins jenkins 987 Apr 26 10:10 Dockerfile.build 10:12:02 -rw-rw-r--. 1 jenkins jenkins 140 Apr 26 10:10 .dockerignore 10:12:02 drwxrwxr-x. 5 jenkins jenkins 62 Apr 26 10:10 example 10:12:02 drwxrwxr-x. 8 jenkins jenkins 179 Apr 26 10:10 .git 10:12:02 drwxrwxr-x. 2 jenkins jenkins 103 Apr 26 10:10 .github 10:12:02 -rw-rw-r--. 1 jenkins jenkins 138 Apr 26 10:10 .gitignore 10:12:02 -rw-r--r--. 1 jenkins jenkins 575 Apr 26 10:11 go.mod 10:12:02 -rw-r--r--. 1 jenkins jenkins 21068 Apr 26 10:11 go.sum 10:12:02 drwxrwxr-x. 14 jenkins jenkins 207 Apr 26 10:10 internal 10:12:02 -rw-rw-r--. 1 jenkins jenkins 901 Apr 26 10:10 Jenkinsfile 10:12:02 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 26 10:10 LICENSE 10:12:02 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 26 10:10 Makefile 10:12:02 drwxrwxr-x. 4 jenkins jenkins 26 Apr 26 10:10 openapi 10:12:02 drwxrwxr-x. 5 jenkins jenkins 50 Apr 26 10:10 pkg 10:12:02 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 26 10:10 README.md 10:12:02 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 26 10:10 RELEASE-NOTES.txt 10:12:02 drwxrwxr-x. 4 jenkins jenkins 54 Apr 26 10:10 snap 10:12:02 -rw-rw-r--. 1 jenkins jenkins 5 Apr 26 10:05 VERSION 10:12:02 -rw-rw-r--. 1 jenkins jenkins 222 Apr 26 10:10 version.go [Pipeline] isUnix [Pipeline] sh 10:12:03 + 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=be245dca7e4b97440bba36f65345a9359d609daa --label arch=amd64 --label version=0.0.0 . 10:12:03 Sending build context to Docker daemon 2.57MB 10:12:03 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:12:03 Step 2/23 : FROM ${BASE} AS builder 10:12:03 ---> 4fb63a4e1add 10:12:03 Step 3/23 : WORKDIR /device-sdk-go 10:12:04 ---> Running in 35d5b2024747 10:12:04 Removing intermediate container 35d5b2024747 10:12:04 ---> dfe164ac1e5f 10:12:04 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:12:04 ---> Running in fd2cebb28fea 10:12:04 Removing intermediate container fd2cebb28fea 10:12:04 ---> b709c79256d7 10:12:04 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:04 ---> Running in f95b2c53b7e4 10:12:05 Removing intermediate container f95b2c53b7e4 10:12:05 ---> 3837484aa0fb 10:12:05 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:12:05 ---> Running in 535b0d8cbe97 10:12:06 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:12:06 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:12:07 OK: 167 MiB in 45 packages 10:12:07 Removing intermediate container 535b0d8cbe97 10:12:07 ---> 21af328a16e2 10:12:07 Step 7/23 : COPY . . 10:12:08 ---> d7ba12029a51 10:12:08 Step 8/23 : RUN go mod download 10:12:08 ---> Running in b39c2802376e 10:12:09 Removing intermediate container b39c2802376e 10:12:09 ---> a52413a590b4 10:12:09 Step 9/23 : RUN make build 10:12:09 ---> Running in a72eb6eed946 10:12:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 10:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 10:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 10:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 10:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 10:12:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.156s coverage: 28.1% of statements 10:12:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.274s coverage: 78.9% of statements 10:12:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.131s coverage: 7.8% of statements 10:12:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 10:12:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 10:12:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 10:12:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.356s coverage: 32.0% of statements 10:12:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 10:12:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 10:12:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 10:12:22 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:12:23 Removing intermediate container a72eb6eed946 10:12:23 ---> f7a7be37ce8d 10:12:23 Step 10/23 : FROM alpine:3.12 10:12:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.301s coverage: 57.2% of statements 10:12:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.085s coverage: 6.6% of statements 10:12:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.137s coverage: 5.0% of statements 10:12:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 10:12:23 3.12: Pulling from library/alpine 10:12:24 GO111MODULE=on go vet ./... 10:12:24 339de151aab4: Pulling fs layer 10:12:24 339de151aab4: Verifying Checksum 10:12:24 339de151aab4: Download complete 10:12:24 339de151aab4: Pull complete 10:12:24 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 10:12:24 Status: Downloaded newer image for alpine:3.12 10:12:24 ---> 13621d1b12d4 10:12:24 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:12:24 ---> Running in a497d81fccfa 10:12:24 Removing intermediate container a497d81fccfa 10:12:24 ---> 8282930aa8ee 10:12:24 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:24 ---> Running in 9b1d5ec1660a 10:12:25 Removing intermediate container 9b1d5ec1660a 10:12:25 ---> d8d0cb706b05 10:12:25 Step 13/23 : RUN apk add --update --no-cache zeromq 10:12:26 ---> Running in 3af2c09d3aab 10:12:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 10:12:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 10:12:28 (1/5) Installing libgcc (9.3.0-r2) 10:12:28 (2/5) Installing libsodium (1.0.18-r0) 10:12:28 (3/5) Installing libstdc++ (9.3.0-r2) 10:12:29 (4/5) Installing libzmq (4.3.3-r0) 10:12:29 (5/5) Installing zeromq (4.3.3-r0) 10:12:29 Executing busybox-1.31.1-r20.trigger 10:12:29 OK: 8 MiB in 19 packages 10:12:29 Removing intermediate container 3af2c09d3aab 10:12:29 ---> 3d03685065be 10:12:29 Step 14/23 : WORKDIR / 10:12:29 ---> Running in 20c948d44d8d 10:12:29 Removing intermediate container 20c948d44d8d 10:12:29 ---> a000a453f3cc 10:12:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:12:30 ---> 375701b592fd 10:12:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:12:30 ---> 76137aad34af 10:12:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:12:31 ---> 1ec6ab2258bd 10:12:31 Step 18/23 : EXPOSE 49990 10:12:31 ---> Running in ef9838708f9f 10:12:32 Removing intermediate container ef9838708f9f 10:12:32 ---> 3518d80e6fbc 10:12:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:12:32 ---> Running in e9fc4b4d901b 10:12:32 Removing intermediate container e9fc4b4d901b 10:12:32 ---> f68ae1978da7 10:12:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:12:32 ---> Running in 11817454512c 10:12:32 Removing intermediate container 11817454512c 10:12:32 ---> 35247bfe205a 10:12:32 Step 21/23 : LABEL arch=amd64 10:12:32 ---> Running in 4fb0903a4b8e 10:12:32 Removing intermediate container 4fb0903a4b8e 10:12:32 ---> bc69f5fef1d9 10:12:32 Step 22/23 : LABEL git_sha=be245dca7e4b97440bba36f65345a9359d609daa 10:12:32 ---> Running in 33faff16d9c0 10:12:32 Removing intermediate container 33faff16d9c0 10:12:32 ---> 78f8ec4d5ed6 10:12:32 Step 23/23 : LABEL version=0.0.0 10:12:32 ---> Running in 00f6434fada3 10:12:33 Removing intermediate container 00f6434fada3 10:12:33 ---> 2bbe84acf334 10:12:33 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:12:33 Successfully built 2bbe84acf334 10:12:33 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:12:33 ---> job-cost.sh 10:12:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-4KjD 10:12:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:13:11 gofmt -l . 10:13:11 [ "`gofmt -l .`" = "" ] 10:13:11 ./bin/test-attribution-txt.sh 10:13:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 10:13:11 $ docker stop --time=1 86c05381da83538d1dfd4a18afd02b0caf17f28a86de03a2ecfc7b7cc23254e3 10:13:13 $ docker rm -f 86c05381da83538d1dfd4a18afd02b0caf17f28a86de03a2ecfc7b7cc23254e3 [Pipeline] // withDockerContainer [Pipeline] sh 10:13:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:13:14 Warning: overwriting stash ‘coverage-report’ 10:13:15 lf-activate-venv(): INFO: Adding /tmp/venv-4KjD/bin to PATH 10:13:15 INFO: No Stack... 10:13:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:13:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:13:16 INFO: Retrieving Pricing Info for: v1-standard-2 10:13:16 + ls -al . 10:13:16 total 224 10:13:16 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 10:13 . 10:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:09 .. 10:13:16 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 10:09 .dockerignore 10:13:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 10:09 .git 10:13:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:09 .github 10:13:16 -rw-rw-r-- 1 jenkins jenkins 138 Apr 26 10:09 .gitignore 10:13:16 -rw-rw-r-- 1 jenkins jenkins 987 Apr 26 10:09 Dockerfile.build 10:13:16 -rw-rw-r-- 1 jenkins jenkins 901 Apr 26 10:09 Jenkinsfile 10:13:16 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 10:09 LICENSE 10:13:16 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 26 10:09 Makefile 10:13:16 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 26 10:09 README.md 10:13:16 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 26 10:09 RELEASE-NOTES.txt 10:13:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 10:05 VERSION 10:13:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 10:09 bin 10:13:16 -rw-r--r-- 1 jenkins jenkins 100024 Apr 26 10:12 coverage.out 10:13:16 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:09 example 10:13:16 -rw-r--r-- 1 jenkins jenkins 575 Apr 26 10:13 go.mod 10:13:16 -rw-r--r-- 1 jenkins jenkins 21068 Apr 26 10:13 go.sum 10:13:16 drwxrwxr-x 14 jenkins jenkins 4096 Apr 26 10:09 internal 10:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:09 openapi 10:13:16 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 10:09 pkg 10:13:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 10:09 snap 10:13:16 -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 10:09 version.go [Pipeline] isUnix [Pipeline] sh 10:13:16 INFO: Archiving Costs [Pipeline] sh 10:13:16 + 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=be245dca7e4b97440bba36f65345a9359d609daa --label arch=arm64 --label version=0.0.0 . 10:13:17 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 10:13:17 + cut -d, -f6 10:13:17 Sending build context to Docker daemon 2.569MB [Pipeline] lock 10:13:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] 10:13:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] did not exist. Created. 10:13:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:13:17 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 10:13:17 Step 2/23 : FROM ${BASE} AS builder 10:13:17 ---> 1b3708dcdf93 10:13:17 Step 3/23 : WORKDIR /device-sdk-go 10:13:17 ---> Running in 2b289d319751 10:13:17 + echo total: 0.029999999329447746 [Pipeline] stash 10:13:17 Stashed 1 file(s) [Pipeline] } 10:13:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 10:13:17 Removing intermediate container 2b289d319751 10:13:17 ---> e8d6be601c86 10:13:17 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:13:18 ---> Running in 6c804cfb237e 10:13:18 Removing intermediate container 6c804cfb237e 10:13:18 ---> 379fcc7d6f84 10:13:18 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:13:18 ---> Running in e5c4f41182ec 10:13:20 Removing intermediate container e5c4f41182ec 10:13:20 ---> ee998994be10 10:13:20 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 10:13:20 ---> Running in f7d13c4c4323 10:13:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:13:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:13:23 OK: 144 MiB in 45 packages 10:13:24 Removing intermediate container f7d13c4c4323 10:13:24 ---> a36d395a0836 10:13:24 Step 7/23 : COPY . . 10:13:25 ---> d845f018e04d 10:13:25 Step 8/23 : RUN go mod download 10:13:25 ---> Running in db44f90e8fe8 10:13:28 Removing intermediate container db44f90e8fe8 10:13:28 ---> 6ac9f4e8b872 10:13:28 Step 9/23 : RUN make build 10:13:28 ---> Running in 955931cb4eba 10:13:29 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:14:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 10:14:04 Removing intermediate container 955931cb4eba 10:14:04 ---> 7b380e80c7d7 10:14:04 Step 10/23 : FROM alpine:3.12 10:14:04 3.12: Pulling from library/alpine 10:14:04 d2f70382dc9a: Pulling fs layer 10:14:04 d2f70382dc9a: Verifying Checksum 10:14:04 d2f70382dc9a: Download complete 10:14:05 d2f70382dc9a: Pull complete 10:14:05 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 10:14:05 Status: Downloaded newer image for alpine:3.12 10:14:05 ---> 9852663dfa18 10:14:05 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 10:14:05 ---> Running in e0f201b9fd28 10:14:05 Removing intermediate container e0f201b9fd28 10:14:05 ---> 084c11d72ea8 10:14:05 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:06 ---> Running in c142125c7256 10:14:08 Removing intermediate container c142125c7256 10:14:08 ---> 70b309645aa5 10:14:08 Step 13/23 : RUN apk add --update --no-cache zeromq 10:14:08 ---> Running in 687983c5ef5f 10:14:09 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 10:14:10 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 10:14:10 (1/5) Installing libgcc (9.3.0-r2) 10:14:10 (2/5) Installing libsodium (1.0.18-r0) 10:14:10 (3/5) Installing libstdc++ (9.3.0-r2) 10:14:11 (4/5) Installing libzmq (4.3.3-r0) 10:14:11 (5/5) Installing zeromq (4.3.3-r0) 10:14:11 Executing busybox-1.31.1-r20.trigger 10:14:11 OK: 8 MiB in 19 packages 10:14:12 Removing intermediate container 687983c5ef5f 10:14:12 ---> 1d3a93bc98b4 10:14:12 Step 14/23 : WORKDIR / 10:14:12 ---> Running in b11696926bff 10:14:13 Removing intermediate container b11696926bff 10:14:13 ---> 0c8d7af120ae 10:14:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:14:13 ---> 55a4995030b8 10:14:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:14:15 ---> 8c11bd4e1c1e 10:14:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:14:15 ---> c76dc8ad042c 10:14:15 Step 18/23 : EXPOSE 49990 10:14:15 ---> Running in f5540ba9d39b 10:14:16 Removing intermediate container f5540ba9d39b 10:14:16 ---> d6e8c031a691 10:14:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:14:16 ---> Running in 5bb9b6425f4d 10:14:17 Removing intermediate container 5bb9b6425f4d 10:14:17 ---> 89cca01ce68a 10:14:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:14:17 ---> Running in ef4debaca0cd 10:14:17 Removing intermediate container ef4debaca0cd 10:14:17 ---> 8301cb849251 10:14:17 Step 21/23 : LABEL arch=arm64 10:14:17 ---> Running in e5382309e329 10:14:18 Removing intermediate container e5382309e329 10:14:18 ---> 2bb34f1379aa 10:14:18 Step 22/23 : LABEL git_sha=be245dca7e4b97440bba36f65345a9359d609daa 10:14:18 ---> Running in 7b55ac207958 10:14:18 Removing intermediate container 7b55ac207958 10:14:18 ---> 7d495ac4b532 10:14:18 Step 23/23 : LABEL version=0.0.0 10:14:18 ---> Running in c13c0bb292fc 10:14:19 Removing intermediate container c13c0bb292fc 10:14:19 ---> 0fc8862e5c52 10:14:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:14:19 Successfully built 0fc8862e5c52 10:14:19 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:14:19 ---> job-cost.sh 10:14:19 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-luS8 10:14:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 10:16:20 lf-activate-venv(): INFO: Adding /tmp/venv-luS8/bin to PATH 10:16:20 INFO: No Stack... 10:16:20 INFO: Retrieving Pricing Info for: lf-standard-4 10:16:20 INFO: Archiving Costs [Pipeline] sh 10:16:20 + cut -d, -f6 10:16:20 + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock 10:16:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] 10:16:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] did not exist. Created. 10:16:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:16:21 /w/workspace/device-sdk-go/4@tmp/durable-b145fe86/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-b145fe86/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 10:16:21 + echo total: 0.20999999344348907 [Pipeline] stash 10:16:21 Warning: overwriting stash ‘stack-cost’ 10:16:21 Stashed 1 file(s) [Pipeline] } 10:16:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-4-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:16:22 provisioning config files... 10:16:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config6278189719213507196tmp [Pipeline] { [Pipeline] sh 10:16:23 + set +x 10:16:23 + bash -s -- 10:16:23 + curl -s https://codecov.io/bash 10:16:23 10:16:23 _____ _ 10:16:23 / ____| | | 10:16:23 | | ___ __| | ___ ___ _____ __ 10:16:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:16:23 | |___| (_) | (_| | __/ (_| (_) \ V / 10:16:23 \_____\___/ \__,_|\___|\___\___/ \_/ 10:16:23 Bash-1.0.2 10:16:23 10:16:23 10:16:23 ==> git version 2.24.3 found 10:16:23 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 10:16:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 10:16:23 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 10:16:23 ==> Jenkins CI detected. 10:16:23 project root: . 10:16:23 --> token set from env 10:16:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:16:23 ==> Running gcov in . (disable via -X gcov) 10:16:23 ==> Python coveragepy not found 10:16:23 ==> Searching for coverage reports in: 10:16:23 + . 10:16:23 -> Found 1 reports 10:16:23 ==> Detecting git/mercurial file structure 10:16:23 ==> Reading reports 10:16:23 + ./coverage.out bytes=100024 10:16:23 ==> Appending adjustments 10:16:23 https://docs.codecov.io/docs/fixing-reports 10:16:24 + Found adjustments 10:16:24 ==> Gzipping contents 10:16:24 16K /tmp/codecov.tCx2Ft.gz 10:16:24 ==> Uploading reports 10:16:24 url: https://codecov.io 10:16:24 query: branch=PR-887&commit=be245dca7e4b97440bba36f65345a9359d609daa&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 10:16:24 -> Pinging Codecov 10:16:24 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=be245dca7e4b97440bba36f65345a9359d609daa&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= 10:16:24 -> Uploading to 10:16:24 https://storage.googleapis.com/codecov/v4/raw/2021-04-26/7E55EF52A471D76F132DFD9A03CDDE97/be245dca7e4b97440bba36f65345a9359d609daa/a7e90cd1-3b31-44ae-bbf7-c91299c7a4a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210426T101624Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e31631c969e5e5c483e7b677de2874ffec011f2fe394940855afd6ee686959d 10:16:24 % Total % Received % Xferd Average Speed Time Time Time Current 10:16:24 Dload Upload Total Spent Left Speed 10:16:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13519 0 0 100 13519 0 29192 --:--:-- --:--:-- --:--:-- 29198 100 13519 0 0 100 13519 0 29173 --:--:-- --:--:-- --:--:-- 29135 10:16:25 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/be245dca7e4b97440bba36f65345a9359d609daa [Pipeline] } 10:16:25 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:16:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:16:26 ---> package-listing.sh 10:16:26 ++ facter osfamily 10:16:26 ++ tr '[:upper:]' '[:lower:]' 10:16:26 + OS_FAMILY=redhat 10:16:26 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 10:16:26 + START_PACKAGES=/tmp/packages_start.txt 10:16:26 + END_PACKAGES=/tmp/packages_end.txt 10:16:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:16:26 + PACKAGES=/tmp/packages_start.txt 10:16:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 10:16:26 + PACKAGES=/tmp/packages_end.txt 10:16:26 + case "${OS_FAMILY}" in 10:16:26 + rpm -qa 10:16:26 + sort 10:16:35 + '[' -f /tmp/packages_start.txt ']' 10:16:35 + '[' -f /tmp/packages_end.txt ']' 10:16:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:16:35 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' 10:16:35 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ 10:16:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo 10:16:35 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-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:16:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:16:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:16:36 10:16:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 10:16:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:16:37 alpine: Pulling from edgex-lftools-log-publisher 10:16:37 df20fa9351a1: Pulling fs layer 10:16:37 36b3adc4ff6f: Pulling fs layer 10:16:37 8ad3a11d3b57: Pulling fs layer 10:16:37 46f8f816bc3b: Pulling fs layer 10:16:37 93b61091891f: Pulling fs layer 10:16:37 93b9cdb0e59b: Pulling fs layer 10:16:37 5e14af77c1be: Pulling fs layer 10:16:37 01666e4c0597: Pulling fs layer 10:16:37 aa168da1d23b: Pulling fs layer 10:16:37 46f8f816bc3b: Waiting 10:16:37 5e14af77c1be: Waiting 10:16:37 01666e4c0597: Waiting 10:16:37 93b61091891f: Waiting 10:16:37 93b9cdb0e59b: Waiting 10:16:37 aa168da1d23b: Waiting 10:16:37 36b3adc4ff6f: Verifying Checksum 10:16:37 36b3adc4ff6f: Download complete 10:16:37 df20fa9351a1: Verifying Checksum 10:16:37 df20fa9351a1: Download complete 10:16:37 93b9cdb0e59b: Verifying Checksum 10:16:37 93b9cdb0e59b: Download complete 10:16:37 5e14af77c1be: Verifying Checksum 10:16:37 5e14af77c1be: Download complete 10:16:37 93b61091891f: Verifying Checksum 10:16:37 93b61091891f: Download complete 10:16:37 01666e4c0597: Verifying Checksum 10:16:37 01666e4c0597: Download complete 10:16:37 df20fa9351a1: Pull complete 10:16:38 8ad3a11d3b57: Verifying Checksum 10:16:38 8ad3a11d3b57: Download complete 10:16:38 36b3adc4ff6f: Pull complete 10:16:39 8ad3a11d3b57: Pull complete 10:16:39 46f8f816bc3b: Pull complete 10:16:40 93b61091891f: Pull complete 10:16:41 93b9cdb0e59b: Pull complete 10:16:41 5e14af77c1be: Pull complete 10:16:41 aa168da1d23b: Verifying Checksum 10:16:41 aa168da1d23b: Download complete 10:16:41 01666e4c0597: Pull complete 10:16:56 aa168da1d23b: Pull complete 10:16:56 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 10:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 10:16:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 10:16:57 prd-centos7-docker-4c-2g-1804 does not seem to be running inside a container 10:16:57 $ 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-887/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-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 10:17:02 $ docker top b1df7f8cfbd6a4459fc1449fc3f62641501b7d3f6225c428f4e99d39f5c92f2f -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:03 + touch /tmp/pre-build-complete [Pipeline] sh 10:17:03 + mkdir -p /var/log/sa [Pipeline] sh 10:17:03 + ls /var/log/sa-host 10:17:03 + sadf -c /var/log/sa-host/sa23 10:17:03 file_magic: OK 10:17:03 HZ: Using current value: 100 10:17:03 file_header: OK 10:17:03 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:17:03 Statistics: 10:17:03 Hnuu...uuuununununu... 10:17:03 File successfully converted to sysstat format version 12.2.1 10:17:03 + sadf -c /var/log/sa-host/sa26 10:17:03 file_magic: OK 10:17:03 HZ: Using current value: 100 10:17:03 file_header: OK 10:17:03 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:17:03 Statistics: 10:17:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 10:17:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:04 provisioning config files... 10:17:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config7281535274762253712tmp [Pipeline] { [Pipeline] echo 10:17:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:17:04 ---> create-netrc.sh [Pipeline] } 10:17:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 10:17:04 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 10:17:04 ---> python-tools-install.sh [Pipeline] echo 10:17:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:17:05 ---> sudo-logs.sh 10:17:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:17:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:17:05 ---> job-cost.sh 10:17:05 lf-activate-venv: SKIPPING 10:17:05 DEBUG: total: 0.20999999344348907 10:17:05 INFO: Retrieving Stack Cost... 10:17:07 INFO: Retrieving Pricing Info for: v1-standard-2 10:17:07 INFO: Archiving Costs [Pipeline] echo 10:17:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:17:07 ---> logs-deploy.sh 10:17:07 lf-activate-venv: SKIPPING 10:17:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/4 10:17:07 INFO: archiving workspace using pattern(s): 10:17:11 Archives upload complete. 10:17:11 INFO: archiving logs to Nexus