Pull request #797 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 27265970ff8ae99cb5e027f101df95e10844a157+859d05bb29d195830a2bef80ceacb337f49ed4c7 (b2e9a9d720f5e6d12bb8875ec9b7a56fad8de594) Running in Durability level: MAX_SURVIVABILITY 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-797/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 5a4b2863d981ac6c14e44fa4f963a690d64f08cf (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 5a4b2863d981ac6c14e44fa4f963a690d64f08cf # timeout=10 Commit message: "Merge pull request #318 from MightyNerdEric/parallelCostCapture" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-797/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-27493 in /w/workspace/dgexfoundry_device-sdk-go_PR-797 [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-797 # 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/797/head:refs/remotes/origin/PR-797 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit 27265970ff8ae99cb5e027f101df95e10844a157 Merge succeeded, producing 27265970ff8ae99cb5e027f101df95e10844a157 Checking out Revision 27265970ff8ae99cb5e027f101df95e10844a157 (PR-797) > git config core.sparsecheckout # timeout=10 > git checkout -f 27265970ff8ae99cb5e027f101df95e10844a157 # 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 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27265970ff8ae99cb5e027f101df95e10844a157 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:52:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:52:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:52:56 ========================================================= 05:52:56 EdgeX Global Pipelines Version Info 05:52:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:52:57 ------------------- 05:52:57 stable info: 05:52:57 ------------------- 05:52:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:52:57 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 05:52:57 Message: update stable to v1.0.181 05:52:58 ------------------- 05:52:58 experimental info: 05:52:58 ------------------- 05:52:58 Commited By: **** collab-it+edgex@linuxfoundation.org 05:52:58 Commit SHA: 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 05:52:58 Message: update experimental to v1.0.181 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:52:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:52:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:52:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:52:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:52:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:53:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:53:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:53:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:53:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:53:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:53:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:53:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:53:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:53:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:53:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:53:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:53:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:53:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:53:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:53:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:53:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:53:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-797 [Pipeline] echo 05:53:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-797 [Pipeline] echo 05:53:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-797 [Pipeline] echo 05:53:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27265970ff8ae99cb5e027f101df95e10844a157 [Pipeline] echo 05:53:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2726597 [Pipeline] echo 05:53:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:53:03 provisioning config files... 05:53:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp/config3442229230333852414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:04 ---> docker-login.sh 05:53:04 nexus3.edgexfoundry.org:10001 05:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:04 Configure a credential helper to remove this warning. See 05:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:04 05:53:04 Login Succeeded 05:53:04 nexus3.edgexfoundry.org:10002 05:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:04 Configure a credential helper to remove this warning. See 05:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:04 05:53:04 Login Succeeded 05:53:04 nexus3.edgexfoundry.org:10003 05:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:04 Configure a credential helper to remove this warning. See 05:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:04 05:53:04 Login Succeeded 05:53:04 nexus3.edgexfoundry.org:10004 05:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:05 Configure a credential helper to remove this warning. See 05:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:05 05:53:05 Login Succeeded 05:53:05 docker.io 05:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:05 Configure a credential helper to remove this warning. See 05:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:05 05:53:05 Login Succeeded 05:53:05 ---> docker-login.sh ends [Pipeline] } 05:53:05 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 05:53:06 + git log --format=format:%s -1 27265970ff8ae99cb5e027f101df95e10844a157 [Pipeline] echo 05:53:06 GIT_COMMIT: 27265970ff8ae99cb5e027f101df95e10844a157, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:53:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:53:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:08 05:53:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:53:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:08 latest: Pulling from edgex-devops/git-semver 05:53:08 31603596830f: Pulling fs layer 05:53:08 2a8b12db71e7: Pulling fs layer 05:53:08 6ca5941a6612: Pulling fs layer 05:53:08 ecc8261a40a4: Pulling fs layer 05:53:08 ecc8261a40a4: Waiting 05:53:08 2a8b12db71e7: Verifying Checksum 05:53:08 2a8b12db71e7: Download complete 05:53:08 31603596830f: Verifying Checksum 05:53:08 31603596830f: Download complete 05:53:08 ecc8261a40a4: Download complete 05:53:08 6ca5941a6612: Verifying Checksum 05:53:08 6ca5941a6612: Download complete 05:53:08 31603596830f: Pull complete 05:53:09 2a8b12db71e7: Pull complete 05:53:09 6ca5941a6612: Pull complete 05:53:10 ecc8261a40a4: Pull complete 05:53:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:53:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:53:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:53:10 prd-centos7-docker-4c-2g-27493 does not seem to be running inside a container 05:53:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-797 -v /w/workspace/dgexfoundry_device-sdk-go_PR-797:/w/workspace/dgexfoundry_device-sdk-go_PR-797:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-797@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:53:12 $ docker top cdad2a3300fefd787bdd99dbbe0bf4062904711c0ae4f73b8a7bfe9a745faedc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:53:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:13 [ssh-agent] Looking for ssh-agent implementation... 05:53:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:13 $ docker exec cdad2a3300fefd787bdd99dbbe0bf4062904711c0ae4f73b8a7bfe9a745faedc ssh-agent 05:53:13 SSH_AUTH_SOCK=/tmp/ssh-HGMg2MHJwH9S/agent.12 05:53:13 SSH_AGENT_PID=17 05:53:13 Running ssh-add (command line suppressed) 05:53:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp/private_key_1244585438940140649.key (/w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp/private_key_1244585438940140649.key) 05:53:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:14 + git tag --points-at HEAD [Pipeline] } 05:53:14 $ docker exec --env ******** --env ******** cdad2a3300fefd787bdd99dbbe0bf4062904711c0ae4f73b8a7bfe9a745faedc ssh-agent -k 05:53:14 unset SSH_AUTH_SOCK; 05:53:14 unset SSH_AGENT_PID; 05:53:14 echo Agent pid 17 killed; 05:53:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:53:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:53:14 [ssh-agent] Looking for ssh-agent implementation... 05:53:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:53:14 $ docker exec cdad2a3300fefd787bdd99dbbe0bf4062904711c0ae4f73b8a7bfe9a745faedc ssh-agent 05:53:14 SSH_AUTH_SOCK=/tmp/ssh-3xus1LjfTnO3/agent.46 05:53:14 SSH_AGENT_PID=51 05:53:14 Running ssh-add (command line suppressed) 05:53:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp/private_key_1418272831174630593.key (/w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp/private_key_1418272831174630593.key) 05:53:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:53:15 + git semver init 05:53:15 # -> Open(): unable to determine branch for HEAD 05:53:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-797/.git 05:53:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-797 05:53:15 # $SEMVER_REMOTE_NAME = origin 05:53:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:53:15 # $SEMVER_USER_NAME = edgex-jenkins 05:53:15 # $SEMVER_BRANCH = PR-797 05:53:15 # $SEMVER_TEMP = /tmp/semver-189275267 05:53:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:53:15 # '/tmp/semver-189275267' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-797/.semver' 05:53:15 # -> Force: false 05:53:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-797/.semver [Pipeline] } 05:53:15 $ docker exec --env ******** --env ******** cdad2a3300fefd787bdd99dbbe0bf4062904711c0ae4f73b8a7bfe9a745faedc ssh-agent -k 05:53:16 unset SSH_AUTH_SOCK; 05:53:16 unset SSH_AGENT_PID; 05:53:16 echo Agent pid 51 killed; 05:53:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:53:16 + git semver [Pipeline] } 05:53:16 $ docker stop --time=1 cdad2a3300fefd787bdd99dbbe0bf4062904711c0ae4f73b8a7bfe9a745faedc 05:53:18 $ docker rm -f cdad2a3300fefd787bdd99dbbe0bf4062904711c0ae4f73b8a7bfe9a745faedc [Pipeline] // withDockerContainer [Pipeline] sh 05:53:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:53:19 Stashed 1 file(s) [Pipeline] echo 05:53:19 [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 05:53:35 Still waiting to schedule task 05:53:35 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27493’ 05:53:35 Still waiting to schedule task 05:53:35 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 05:55:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-27494 in /w/workspace/dgexfoundry_device-sdk-go_PR-797 [Pipeline] { [Pipeline] ws 05:55:28 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:55:33 using credential edgex-jenkins-ssh 05:55:33 Cloning the remote Git repository 05:55:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:55:33 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:55:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:33 > git --version # timeout=10 05:55:34 > git --version # 'git version 2.17.1' 05:55:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:35 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit 27265970ff8ae99cb5e027f101df95e10844a157 05:55:36 Merge succeeded, producing 27265970ff8ae99cb5e027f101df95e10844a157 05:55:36 Checking out Revision 27265970ff8ae99cb5e027f101df95e10844a157 (PR-797) 05:55:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:55:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:55:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:55:35 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/797/head:refs/remotes/origin/PR-797 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:55:35 > git config core.sparsecheckout # timeout=10 05:55:35 > git checkout -f 27265970ff8ae99cb5e027f101df95e10844a157 # timeout=10 05:55:36 > git remote # timeout=10 05:55:36 > git config --get remote.origin.url # timeout=10 05:55:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:55:36 > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 05:55:36 > git rev-parse HEAD^{commit} # timeout=10 05:55:36 > git config core.sparsecheckout # timeout=10 05:55:36 > git checkout -f 27265970ff8ae99cb5e027f101df95e10844a157 # timeout=10 05:55:40 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:55:40 > git --version # timeout=10 05:55:40 > git --version # 'git version 2.17.1' 05:55:40 fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:55:42 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:55:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:55:43 + sudo service docker restart 05:55:43 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:55:45 provisioning config files... 05:55:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3111051984496803857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:55:46 ---> docker-login.sh 05:55:46 nexus3.edgexfoundry.org:10001 05:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:47 Configure a credential helper to remove this warning. See 05:55:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:47 05:55:47 Login Succeeded 05:55:47 nexus3.edgexfoundry.org:10002 05:55:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:48 Configure a credential helper to remove this warning. See 05:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:48 05:55:48 Login Succeeded 05:55:48 nexus3.edgexfoundry.org:10003 05:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:48 Configure a credential helper to remove this warning. See 05:55:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:48 05:55:48 Login Succeeded 05:55:48 nexus3.edgexfoundry.org:10004 05:55:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:49 Configure a credential helper to remove this warning. See 05:55:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:49 05:55:49 Login Succeeded 05:55:49 docker.io 05:55:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:55:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:55:50 Configure a credential helper to remove this warning. See 05:55:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:55:50 05:55:50 Login Succeeded 05:55:50 ---> docker-login.sh ends [Pipeline] } 05:55:50 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:55:50 ========================================================= 05:55:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:55:50 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:55:51 + 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 . 05:55:51 Sending build context to Docker daemon 2.399MB 05:55:51 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:55:51 Step 2/8 : FROM ${BASE} 05:55:51 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:55:51 5f621e34cdf4: Pulling fs layer 05:55:51 a4357932f1b6: Pulling fs layer 05:55:51 18c013af1878: Pulling fs layer 05:55:51 00ac8860ef70: Pulling fs layer 05:55:51 63d7cb157983: Pulling fs layer 05:55:51 b116817d02f9: Pulling fs layer 05:55:51 745a02a5169b: Pulling fs layer 05:55:51 00ac8860ef70: Waiting 05:55:51 b116817d02f9: Waiting 05:55:51 63d7cb157983: Waiting 05:55:51 745a02a5169b: Waiting 05:55:51 18c013af1878: Download complete 05:55:51 a4357932f1b6: Verifying Checksum 05:55:51 a4357932f1b6: Download complete 05:55:51 63d7cb157983: Verifying Checksum 05:55:51 63d7cb157983: Download complete 05:55:52 b116817d02f9: Verifying Checksum 05:55:52 b116817d02f9: Download complete 05:55:52 5f621e34cdf4: Verifying Checksum 05:55:52 5f621e34cdf4: Download complete 05:55:53 5f621e34cdf4: Pull complete 05:55:53 a4357932f1b6: Pull complete 05:55:54 18c013af1878: Pull complete 05:55:54 745a02a5169b: Verifying Checksum 05:55:54 745a02a5169b: Download complete 05:55:55 00ac8860ef70: Verifying Checksum 05:55:55 00ac8860ef70: Download complete 05:56:05 00ac8860ef70: Pull complete 05:56:06 Running on prd-centos7-docker-4c-2g-27495 in /w/workspace/dgexfoundry_device-sdk-go_PR-797 [Pipeline] { 05:56:06 63d7cb157983: Pull complete [Pipeline] ws 05:56:06 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:56:06 b116817d02f9: Pull complete 05:56:08 using credential edgex-jenkins-ssh 05:56:08 Cloning the remote Git repository 05:56:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:56:08 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:56:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:08 > git --version # timeout=10 05:56:08 > git --version # 'git version 2.24.3' 05:56:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:56:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:56:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:56:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/797/head:refs/remotes/origin/PR-797 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:56:09 Merging remotes/origin/master commit 859d05bb29d195830a2bef80ceacb337f49ed4c7 into PR head commit 27265970ff8ae99cb5e027f101df95e10844a157 05:56:09 Merge succeeded, producing 27265970ff8ae99cb5e027f101df95e10844a157 05:56:09 Checking out Revision 27265970ff8ae99cb5e027f101df95e10844a157 (PR-797) 05:56:09 > git config core.sparsecheckout # timeout=10 05:56:09 > git checkout -f 27265970ff8ae99cb5e027f101df95e10844a157 # timeout=10 05:56:09 > git remote # timeout=10 05:56:09 > git config --get remote.origin.url # timeout=10 05:56:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:56:09 > git merge 859d05bb29d195830a2bef80ceacb337f49ed4c7 # timeout=10 05:56:09 > git rev-parse HEAD^{commit} # timeout=10 05:56:09 > git config core.sparsecheckout # timeout=10 05:56:09 > git checkout -f 27265970ff8ae99cb5e027f101df95e10844a157 # timeout=10 05:56:10 745a02a5169b: Pull complete 05:56:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:56:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:56:10 ---> b7e6874047d6 05:56:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:13 ---> Running in e76ee4aab57f 05:56:13 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:56:13 > git --version # timeout=10 05:56:13 > git --version # 'git version 2.24.3' 05:56:13 fatal: bad object 5a4b2863d981ac6c14e44fa4f963a690d64f08cf 05:56:13 Removing intermediate container e76ee4aab57f 05:56:13 ---> 6ddf51ef1004 05:56:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withEnv [Pipeline] { 05:56:14 ---> Running in c6f7fcc652e5 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:56:15 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:56:15 + sudo service docker restart 05:56:15 + true 05:56:15 Redirecting to /bin/systemctl restart docker.service 05:56:16 Removing intermediate container c6f7fcc652e5 05:56:16 ---> 779eee4dfa23 05:56:16 Step 5/8 : RUN apk add --update --no-cache make git 05:56:16 ---> Running in 8b40bddeaf7c [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:16 provisioning config files... 05:56:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4068178982991056798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:17 ---> docker-login.sh 05:56:17 nexus3.edgexfoundry.org:10001 05:56:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 nexus3.edgexfoundry.org:10002 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 nexus3.edgexfoundry.org:10003 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 nexus3.edgexfoundry.org:10004 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:17 Configure a credential helper to remove this warning. See 05:56:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:17 05:56:17 Login Succeeded 05:56:17 docker.io 05:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:18 Configure a credential helper to remove this warning. See 05:56:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:18 05:56:18 Login Succeeded 05:56:18 ---> docker-login.sh ends [Pipeline] } 05:56:18 Deleting 1 temporary files 05:56:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:18 ========================================================= 05:56:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:56:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:56:18 OK: 142 MiB in 39 packages 05:56:19 + 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 . 05:56:19 Sending build context to Docker daemon 2.4MB 05:56:19 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:56:19 Step 2/8 : FROM ${BASE} 05:56:19 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:56:19 188c0c94c7c5: Pulling fs layer 05:56:19 0ef7d3d256c8: Pulling fs layer 05:56:19 de9db76c5a1d: Pulling fs layer 05:56:19 bca2f99d35d6: Pulling fs layer 05:56:19 93359f2a8cfa: Pulling fs layer 05:56:19 7c6f9722023f: Pulling fs layer 05:56:19 a35cf1a2eb13: Pulling fs layer 05:56:19 bca2f99d35d6: Waiting 05:56:19 93359f2a8cfa: Waiting 05:56:19 7c6f9722023f: Waiting 05:56:19 a35cf1a2eb13: Waiting 05:56:19 de9db76c5a1d: Verifying Checksum 05:56:19 de9db76c5a1d: Download complete 05:56:19 0ef7d3d256c8: Download complete 05:56:19 93359f2a8cfa: Verifying Checksum 05:56:19 93359f2a8cfa: Download complete 05:56:19 188c0c94c7c5: Verifying Checksum 05:56:19 188c0c94c7c5: Download complete 05:56:19 7c6f9722023f: Verifying Checksum 05:56:19 7c6f9722023f: Download complete 05:56:19 188c0c94c7c5: Pull complete 05:56:19 0ef7d3d256c8: Pull complete 05:56:19 Removing intermediate container 8b40bddeaf7c 05:56:19 ---> e1e718d04e67 05:56:19 Step 6/8 : WORKDIR /device-sdk-go 05:56:19 de9db76c5a1d: Pull complete 05:56:20 ---> Running in 35b51953f642 05:56:20 Removing intermediate container 35b51953f642 05:56:20 ---> d6a9c9133f41 05:56:20 Step 7/8 : COPY . . 05:56:21 a35cf1a2eb13: Verifying Checksum 05:56:21 a35cf1a2eb13: Download complete 05:56:21 ---> f8fd9ab1f8ad 05:56:21 Step 8/8 : RUN go mod download 05:56:21 bca2f99d35d6: Verifying Checksum 05:56:21 bca2f99d35d6: Download complete 05:56:22 ---> Running in 551518487a9e 05:56:27 bca2f99d35d6: Pull complete 05:56:27 93359f2a8cfa: Pull complete 05:56:27 7c6f9722023f: Pull complete 05:56:32 a35cf1a2eb13: Pull complete 05:56:32 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:56:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:56:32 ---> a62c8e92a672 05:56:32 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:32 ---> Running in 377873950d1e 05:56:32 Removing intermediate container 377873950d1e 05:56:32 ---> 12538598982d 05:56:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:33 ---> Running in f840661a99e0 05:56:34 Removing intermediate container f840661a99e0 05:56:34 ---> 0b4db67fbf82 05:56:34 Step 5/8 : RUN apk add --update --no-cache make git 05:56:34 ---> Running in 51e60c2b1ec7 05:56:34 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:56:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:56:35 OK: 166 MiB in 39 packages 05:56:36 Removing intermediate container 51e60c2b1ec7 05:56:36 ---> 638560a42f3b 05:56:36 Step 6/8 : WORKDIR /device-sdk-go 05:56:36 ---> Running in b31c78232993 05:56:36 Removing intermediate container b31c78232993 05:56:36 ---> b6ba8a1eefff 05:56:36 Step 7/8 : COPY . . 05:56:37 ---> ba35468bc22e 05:56:37 Step 8/8 : RUN go mod download 05:56:37 ---> Running in 548b250f876e 05:56:48 Removing intermediate container 551518487a9e 05:56:48 ---> 2f6e8e27bfb6 05:56:48 Successfully built 2f6e8e27bfb6 05:56:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:56:49 + docker inspect -f . ci-base-image-arm64 05:56:49 . [Pipeline] withDockerContainer 05:56:49 prd-ubuntu18.04-docker-arm64-4c-16g-27494 does not seem to be running inside a container 05:56:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 05:56:51 $ docker top 5b638496b24469db2ffca1b278569f9011f5cf008541d8d336bde52217bfb93a -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:52 + go version 05:56:52 go version go1.15.5 linux/arm64 [Pipeline] } 05:56:52 $ docker stop --time=1 5b638496b24469db2ffca1b278569f9011f5cf008541d8d336bde52217bfb93a 05:56:54 $ docker rm -f 5b638496b24469db2ffca1b278569f9011f5cf008541d8d336bde52217bfb93a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:56:55 + docker inspect -f . ci-base-image-arm64 05:56:55 . [Pipeline] withDockerContainer 05:56:55 prd-ubuntu18.04-docker-arm64-4c-16g-27494 does not seem to be running inside a container 05:56:55 Removing intermediate container 548b250f876e 05:56:55 ---> 1ccdbabfe351 05:56:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 05:56:56 Successfully built 1ccdbabfe351 05:56:56 Successfully tagged ci-base-image-x86_64:latest 05:56:57 $ docker top 2725cedac7b6187198252064b0ff9e64caa8cddeeef76e972d5ec048f95724bf -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 05:56:58 + docker inspect -f . ci-base-image-x86_64 05:56:58 . [Pipeline] withDockerContainer 05:56:58 prd-centos7-docker-4c-2g-27495 does not seem to be running inside a container 05:56:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 05:56:58 + make test 05:56:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:56:58 $ docker top bd2f0d2021ea9145efa000acad8096e195c1467fc9ce0085d21bf84d0fce0327 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:59 + go version 05:56:59 go version go1.15.5 linux/amd64 [Pipeline] } 05:56:59 $ docker stop --time=1 bd2f0d2021ea9145efa000acad8096e195c1467fc9ce0085d21bf84d0fce0327 05:57:00 $ docker rm -f bd2f0d2021ea9145efa000acad8096e195c1467fc9ce0085d21bf84d0fce0327 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:57:02 + docker inspect -f . ci-base-image-x86_64 05:57:02 . [Pipeline] withDockerContainer 05:57:02 prd-centos7-docker-4c-2g-27495 does not seem to be running inside a container 05:57:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat 05:57:03 $ docker top 2d936fc3f94dc3f509f1393ef5e09822462ed4f381d97a01aeea17df5369a278 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:03 + make test 05:57:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:57:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:57:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:57:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:57:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 25.5% of statements 05:57:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.047s coverage: 10.1% of statements 05:57:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.054s coverage: 12.5% of statements 05:57:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:57:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements 05:57:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:57:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 05:57:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:57:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:57:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.062s coverage: 49.2% of statements 05:57:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:57:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.062s coverage: 81.3% of statements 05:57:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.064s coverage: 24.8% of statements 05:57:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.369s coverage: 83.5% of statements 05:57:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.3% of statements 05:57:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:57:59 GO111MODULE=on go vet ./... 05:58:06 gofmt -l . 05:58:06 [ "`gofmt -l .`" = "" ] 05:58:06 ./bin/test-attribution-txt.sh 05:58:06 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:58:06 $ docker stop --time=1 2d936fc3f94dc3f509f1393ef5e09822462ed4f381d97a01aeea17df5369a278 05:58:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:58:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:58:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:58:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.134s coverage: 25.5% of statements 05:58:08 $ docker rm -f 2d936fc3f94dc3f509f1393ef5e09822462ed4f381d97a01aeea17df5369a278 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:58:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:58:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:12 + ls -al . 05:58:12 total 184 05:58:12 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 24 05:58 . 05:58:12 drwxrwxr-x. 4 jenkins jenkins 28 Feb 24 05:56 .. 05:58:12 drwxrwxr-x. 2 jenkins jenkins 64 Feb 24 05:56 bin 05:58:12 -rw-r--r--. 1 jenkins jenkins 101757 Feb 24 05:57 coverage.out 05:58:12 -rw-rw-r--. 1 jenkins jenkins 949 Feb 24 05:56 Dockerfile.build 05:58:12 -rw-rw-r--. 1 jenkins jenkins 140 Feb 24 05:56 .dockerignore 05:58:12 drwxrwxr-x. 4 jenkins jenkins 48 Feb 24 05:56 example 05:58:12 drwxrwxr-x. 8 jenkins jenkins 179 Feb 24 05:56 .git 05:58:12 drwxrwxr-x. 2 jenkins jenkins 103 Feb 24 05:56 .github 05:58:12 -rw-rw-r--. 1 jenkins jenkins 138 Feb 24 05:56 .gitignore 05:58:12 -rw-r--r--. 1 jenkins jenkins 516 Feb 24 05:58 go.mod 05:58:12 -rw-r--r--. 1 jenkins jenkins 17372 Feb 24 05:58 go.sum 05:58:12 drwxrwxr-x. 13 jenkins jenkins 183 Feb 24 05:56 internal 05:58:12 -rw-rw-r--. 1 jenkins jenkins 901 Feb 24 05:56 Jenkinsfile 05:58:12 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 24 05:56 LICENSE 05:58:12 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 24 05:56 Makefile 05:58:12 drwxrwxr-x. 4 jenkins jenkins 26 Feb 24 05:56 openapi 05:58:12 drwxrwxr-x. 5 jenkins jenkins 50 Feb 24 05:56 pkg 05:58:12 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 24 05:56 README.md 05:58:12 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 24 05:56 RELEASE-NOTES.txt 05:58:12 drwxrwxr-x. 4 jenkins jenkins 54 Feb 24 05:56 snap 05:58:12 -rw-rw-r--. 1 jenkins jenkins 5 Feb 24 05:53 VERSION 05:58:12 -rw-rw-r--. 1 jenkins jenkins 222 Feb 24 05:56 version.go [Pipeline] isUnix [Pipeline] sh 05:58:12 + 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=27265970ff8ae99cb5e027f101df95e10844a157 --label arch=amd64 --label version=0.0.0 . 05:58:12 Sending build context to Docker daemon 2.503MB 05:58:12 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:58:12 Step 2/24 : FROM ${BASE} AS builder 05:58:12 ---> 1ccdbabfe351 05:58:12 Step 3/24 : ARG MAKE='make build' 05:58:13 ---> Running in d294a836609c 05:58:13 Removing intermediate container d294a836609c 05:58:13 ---> 4cefecc07672 05:58:13 Step 4/24 : WORKDIR /device-sdk-go 05:58:13 ---> Running in cd19936c0426 05:58:13 Removing intermediate container cd19936c0426 05:58:13 ---> a5c55300a9d6 05:58:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:13 ---> Running in e88bbdf62051 05:58:13 Removing intermediate container e88bbdf62051 05:58:13 ---> 15e11b8bde50 05:58:13 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:58:13 ---> Running in ee8f19c57e39 05:58:14 Removing intermediate container ee8f19c57e39 05:58:14 ---> 578f7948a59d 05:58:14 Step 7/24 : RUN apk add --update --no-cache make git 05:58:14 ---> Running in ca01ede11ddf 05:58:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:58:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:58:17 OK: 166 MiB in 39 packages 05:58:17 Removing intermediate container ca01ede11ddf 05:58:17 ---> 3579d2fefb4f 05:58:17 Step 8/24 : COPY . . 05:58:18 ---> 5ee5735219eb 05:58:18 Step 9/24 : RUN ${MAKE} 05:58:18 ---> Running in 3fa5c13d7c2d 05:58:18 CGO_ENABLED=0 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 05:58:26 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:58:28 Removing intermediate container 3fa5c13d7c2d 05:58:28 ---> fa630dfbce42 05:58:28 Step 10/24 : FROM scratch 05:58:28 ---> 05:58:28 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:28 ---> Running in 5ca337c01d5f 05:58:28 Removing intermediate container 5ca337c01d5f 05:58:28 ---> 63ac5738f285 05:58:28 Step 12/24 : ENV APP_PORT=49990 05:58:28 ---> Running in b111ede9c2f8 05:58:28 Removing intermediate container b111ede9c2f8 05:58:28 ---> 95b2a2aa6240 05:58:28 Step 13/24 : EXPOSE $APP_PORT 05:58:28 ---> Running in cabcc3456cf5 05:58:28 Removing intermediate container cabcc3456cf5 05:58:28 ---> c9af4771330d 05:58:28 Step 14/24 : WORKDIR / 05:58:28 ---> Running in ff34d78a7590 05:58:28 Removing intermediate container ff34d78a7590 05:58:28 ---> cb669334d9f7 05:58:28 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:58:29 ---> 6857481fd5bf 05:58:29 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:58:29 ---> 211815b73c84 05:58:29 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:58:29 ---> 77918a8e597c 05:58:29 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:58:30 ---> b61459bd8f36 05:58:30 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:58:30 ---> b2c4723223ad 05:58:30 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:58:30 ---> Running in d4a078d6bad0 05:58:30 Removing intermediate container d4a078d6bad0 05:58:30 ---> 286a5923d683 05:58:30 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:58:30 ---> Running in 61eaa25630ac 05:58:30 Removing intermediate container 61eaa25630ac 05:58:30 ---> 240b17923ac9 05:58:30 Step 22/24 : LABEL arch=amd64 05:58:30 ---> Running in 76c48530b2ee 05:58:30 Removing intermediate container 76c48530b2ee 05:58:30 ---> eaaf5839d835 05:58:30 Step 23/24 : LABEL git_sha=27265970ff8ae99cb5e027f101df95e10844a157 05:58:31 ---> Running in baf9313f512f 05:58:31 Removing intermediate container baf9313f512f 05:58:31 ---> f98a7e226bdd 05:58:31 Step 24/24 : LABEL version=0.0.0 05:58:31 ---> Running in 296ba7c9a635 05:58:31 Removing intermediate container 296ba7c9a635 05:58:31 ---> a2b78e702be1 05:58:31 [Warning] One or more build-args [ARCH] were not consumed 05:58:31 Successfully built a2b78e702be1 05:58:31 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 05:58:33 ---> job-cost.sh 05:58:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3V8Z 05:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 10.1% of statements 05:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.102s coverage: 12.5% of statements 05:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.157s coverage: 84.8% of statements 05:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 05:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.206s coverage: 49.2% of statements 05:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.161s coverage: 81.3% of statements 05:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.160s coverage: 24.8% of statements 05:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.689s coverage: 83.5% of statements 05:58:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.131s coverage: 5.3% of statements 05:58:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:58:34 GO111MODULE=on go vet ./... 05:58:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:59:13 gofmt -l . 05:59:13 [ "`gofmt -l .`" = "" ] 05:59:13 ./bin/test-attribution-txt.sh 05:59:13 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:59:13 $ docker stop --time=1 2725cedac7b6187198252064b0ff9e64caa8cddeeef76e972d5ec048f95724bf 05:59:14 lf-activate-venv(): INFO: Adding /tmp/venv-3V8Z/bin to PATH 05:59:14 INFO: No Stack... 05:59:14 INFO: Retrieving Pricing Info for: v1-standard-2 05:59:14 INFO: Archiving Costs 05:59:16 $ docker rm -f 2725cedac7b6187198252064b0ff9e64caa8cddeeef76e972d5ec048f95724bf [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 05:59:17 + cut -d, -f6 05:59:17 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:59:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:17 Warning: overwriting stash ‘coverage-report’ [Pipeline] lock 05:59:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-797-1-stack-cost] 05:59:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-797-1-stack-cost] did not exist. Created. 05:59:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-797-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:59:18 + echo total: 0.029999999329447746 [Pipeline] stash 05:59:18 Stashed 1 file(s) [Pipeline] } 05:59:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-797-1-stack-cost] 05:59:18 Stashed 1 file(s) [Pipeline] // lock [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:20 + ls -al . 05:59:20 total 220 05:59:20 drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 05:59 . 05:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 05:55 .. 05:59:20 -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 05:55 .dockerignore 05:59:20 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 05:55 .git 05:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 05:55 .github 05:59:20 -rw-rw-r-- 1 jenkins jenkins 138 Feb 24 05:55 .gitignore 05:59:20 -rw-rw-r-- 1 jenkins jenkins 949 Feb 24 05:55 Dockerfile.build 05:59:20 -rw-rw-r-- 1 jenkins jenkins 901 Feb 24 05:55 Jenkinsfile 05:59:20 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 05:55 LICENSE 05:59:20 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 24 05:55 Makefile 05:59:20 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 24 05:55 README.md 05:59:20 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 24 05:55 RELEASE-NOTES.txt 05:59:20 -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 05:53 VERSION 05:59:20 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 05:55 bin 05:59:20 -rw-r--r-- 1 jenkins jenkins 101757 Feb 24 05:58 coverage.out 05:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 05:55 example 05:59:20 -rw-r--r-- 1 jenkins jenkins 516 Feb 24 05:59 go.mod 05:59:20 -rw-r--r-- 1 jenkins jenkins 17372 Feb 24 05:59 go.sum 05:59:20 drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 05:55 internal 05:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 05:55 openapi 05:59:20 drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 05:55 pkg 05:59:20 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 05:55 snap 05:59:20 -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 05:55 version.go [Pipeline] isUnix [Pipeline] sh 05:59:20 + 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=27265970ff8ae99cb5e027f101df95e10844a157 --label arch=arm64 --label version=0.0.0 . 05:59:20 Sending build context to Docker daemon 2.502MB 05:59:21 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:59:21 Step 2/24 : FROM ${BASE} AS builder 05:59:21 ---> 2f6e8e27bfb6 05:59:21 Step 3/24 : ARG MAKE='make build' 05:59:21 ---> Running in dc9bf6a28554 05:59:22 Removing intermediate container dc9bf6a28554 05:59:22 ---> a14eac08245a 05:59:22 Step 4/24 : WORKDIR /device-sdk-go 05:59:22 ---> Running in ba446ee989b3 05:59:22 Removing intermediate container ba446ee989b3 05:59:22 ---> 113c7abc477c 05:59:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:22 ---> Running in 187050004f0c 05:59:22 Removing intermediate container 187050004f0c 05:59:22 ---> 4481eceb42ca 05:59:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:23 ---> Running in 51773a83a858 05:59:25 Removing intermediate container 51773a83a858 05:59:25 ---> eaf905a84b9a 05:59:25 Step 7/24 : RUN apk add --update --no-cache make git 05:59:25 ---> Running in c9d0bec05a15 05:59:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:59:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:59:28 OK: 142 MiB in 39 packages 05:59:29 Removing intermediate container c9d0bec05a15 05:59:29 ---> 632245ddad7a 05:59:29 Step 8/24 : COPY . . 05:59:30 ---> 1280d57bd99b 05:59:30 Step 9/24 : RUN ${MAKE} 05:59:30 ---> Running in 47ea32d7eddb 05:59:31 CGO_ENABLED=0 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 05:59:58 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:59:59 Removing intermediate container 47ea32d7eddb 05:59:59 ---> b3cda5b1b115 05:59:59 Step 10/24 : FROM scratch 05:59:59 ---> 05:59:59 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:59 ---> Running in 589d52a00cc6 06:00:00 Removing intermediate container 589d52a00cc6 06:00:00 ---> 3f6d289fc562 06:00:00 Step 12/24 : ENV APP_PORT=49990 06:00:00 ---> Running in 709777d1dd27 06:00:00 Removing intermediate container 709777d1dd27 06:00:00 ---> 6ffcd5dcfd7a 06:00:00 Step 13/24 : EXPOSE $APP_PORT 06:00:01 ---> Running in b6a6ad83a5f8 06:00:01 Removing intermediate container b6a6ad83a5f8 06:00:01 ---> dd1130fffccc 06:00:01 Step 14/24 : WORKDIR / 06:00:01 ---> Running in 73a4c56860d6 06:00:01 Removing intermediate container 73a4c56860d6 06:00:01 ---> a801da5a9c5f 06:00:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:00:02 ---> ad69c52fedfc 06:00:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:00:03 ---> 7592f9252893 06:00:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:00:04 ---> 94346bbb0f0c 06:00:04 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:00:05 ---> c6d474fcfe26 06:00:05 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:00:05 ---> 3b024fe0828a 06:00:05 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:00:05 ---> Running in 8102413bc903 06:00:06 Removing intermediate container 8102413bc903 06:00:06 ---> 6a22fc4bc434 06:00:06 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:00:06 ---> Running in 7296e20ccfc8 06:00:06 Removing intermediate container 7296e20ccfc8 06:00:06 ---> dfc5a7cfe12f 06:00:06 Step 22/24 : LABEL arch=arm64 06:00:07 ---> Running in baa5eb082ca9 06:00:07 Removing intermediate container baa5eb082ca9 06:00:07 ---> f9dc8c6d274f 06:00:07 Step 23/24 : LABEL git_sha=27265970ff8ae99cb5e027f101df95e10844a157 06:00:07 ---> Running in f4c41b3b5191 06:00:08 Removing intermediate container f4c41b3b5191 06:00:08 ---> 53311f2fc636 06:00:08 Step 24/24 : LABEL version=0.0.0 06:00:08 ---> Running in 0ee43bddae00 06:00:08 Removing intermediate container 0ee43bddae00 06:00:08 ---> f9dea32446a0 06:00:08 [Warning] One or more build-args [ARCH] were not consumed 06:00:08 Successfully built f9dea32446a0 06:00:08 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 06:00:09 ---> job-cost.sh 06:00:09 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3otD 06:00:48 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:02:55 lf-activate-venv(): INFO: Adding /tmp/venv-3otD/bin to PATH 06:02:55 INFO: No Stack... 06:02:55 INFO: Retrieving Pricing Info for: lf-standard-4 06:02:55 INFO: Archiving Costs [Pipeline] sh 06:02:56 + cut -d, -f6 06:02:56 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 06:02:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-797-1-stack-cost] 06:02:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-797-1-stack-cost] did not exist. Created. 06:02:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-797-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:56 /w/workspace/device-sdk-go/1@tmp/durable-1717d7aa/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-1717d7aa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:02:57 + echo total: 0.20999999344348907 [Pipeline] stash 06:02:57 Warning: overwriting stash ‘stack-cost’ 06:02:57 Stashed 1 file(s) [Pipeline] } 06:02:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-797-1-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 06:02:59 provisioning config files... 06:02:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp/config5483886881256520853tmp [Pipeline] { [Pipeline] sh 06:02:59 + set +x 06:02:59 + curl -s https://codecov.io/bash 06:02:59 + bash -s -- 06:02:59 06:02:59 _____ _ 06:02:59 / ____| | | 06:02:59 | | ___ __| | ___ ___ _____ __ 06:02:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:02:59 | |___| (_) | (_| | __/ (_| (_) \ V / 06:02:59 \_____\___/ \__,_|\___|\___\___/ \_/ 06:02:59 Bash-20210129-7c25fce 06:02:59 06:02:59 06:02:59 ==> git version 2.24.3 found 06:02:59 ==> 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 06:02:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:02:59 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:02:59 ==> Jenkins CI detected. 06:02:59 project root: . 06:02:59 --> token set from env 06:02:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:02:59 ==> Running gcov in . (disable via -X gcov) 06:02:59 ==> Python coveragepy not found 06:02:59 ==> Searching for coverage reports in: 06:02:59 + . 06:02:59 -> Found 1 reports 06:02:59 ==> Detecting git/mercurial file structure 06:02:59 ==> Reading reports 06:02:59 + ./coverage.out bytes=101757 06:02:59 ==> Appending adjustments 06:02:59 https://docs.codecov.io/docs/fixing-reports 06:03:00 + Found adjustments 06:03:00 ==> Gzipping contents 06:03:00 20K /tmp/codecov.Ln3Kz2.gz 06:03:00 ==> Uploading reports 06:03:00 url: https://codecov.io 06:03:00 query: branch=PR-797&commit=27265970ff8ae99cb5e027f101df95e10844a157&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-797%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=797&job=&cmd_args= 06:03:00 -> Pinging Codecov 06:03:00 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-797&commit=27265970ff8ae99cb5e027f101df95e10844a157&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-797%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=797&job=&cmd_args= 06:03:00 -> Uploading to 06:03:00 https://storage.googleapis.com/codecov/v4/raw/2021-02-24/7E55EF52A471D76F132DFD9A03CDDE97/27265970ff8ae99cb5e027f101df95e10844a157/d4b6cb76-5414-4e98-95a4-6ed4d2260c66.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210224T060300Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b91f21ecdaa8c88f31e133cb98dde44d761f7a86d7b71ee6f6532390975831f1 06:03:00 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:00 Dload Upload Total Spent Left Speed 06:03:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 16494 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16494 0 0 100 16494 0 33512 --:--:-- --:--:-- --:--:-- 33456 06:03:01 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/27265970ff8ae99cb5e027f101df95e10844a157 [Pipeline] } 06:03:01 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 06:03:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:03:05 ---> package-listing.sh 06:03:05 ++ tr '[:upper:]' '[:lower:]' 06:03:05 ++ facter osfamily 06:03:05 + OS_FAMILY=redhat 06:03:05 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-797 06:03:05 + START_PACKAGES=/tmp/packages_start.txt 06:03:05 + END_PACKAGES=/tmp/packages_end.txt 06:03:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:03:05 + PACKAGES=/tmp/packages_start.txt 06:03:05 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-797 ']' 06:03:05 + PACKAGES=/tmp/packages_end.txt 06:03:05 + case "${OS_FAMILY}" in 06:03:05 + rpm -qa 06:03:05 + sort 06:03:10 + '[' -f /tmp/packages_start.txt ']' 06:03:10 + '[' -f /tmp/packages_end.txt ']' 06:03:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:03:10 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-797 ']' 06:03:10 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-797/archives/ 06:03:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-797/archives/ [Pipeline] echo 06:03:10 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-797/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:03:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:11 06:03:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:03:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:11 alpine: Pulling from edgex-lftools-log-publisher 06:03:11 df20fa9351a1: Pulling fs layer 06:03:11 36b3adc4ff6f: Pulling fs layer 06:03:11 8ad3a11d3b57: Pulling fs layer 06:03:11 46f8f816bc3b: Pulling fs layer 06:03:11 93b61091891f: Pulling fs layer 06:03:11 93b9cdb0e59b: Pulling fs layer 06:03:11 5e14af77c1be: Pulling fs layer 06:03:11 01666e4c0597: Pulling fs layer 06:03:11 aa168da1d23b: Pulling fs layer 06:03:11 46f8f816bc3b: Waiting 06:03:11 93b61091891f: Waiting 06:03:11 93b9cdb0e59b: Waiting 06:03:11 01666e4c0597: Waiting 06:03:11 5e14af77c1be: Waiting 06:03:11 aa168da1d23b: Waiting 06:03:11 36b3adc4ff6f: Verifying Checksum 06:03:11 36b3adc4ff6f: Download complete 06:03:11 46f8f816bc3b: Verifying Checksum 06:03:11 46f8f816bc3b: Download complete 06:03:11 df20fa9351a1: Verifying Checksum 06:03:11 df20fa9351a1: Download complete 06:03:11 93b9cdb0e59b: Download complete 06:03:11 5e14af77c1be: Verifying Checksum 06:03:11 5e14af77c1be: Download complete 06:03:11 01666e4c0597: Verifying Checksum 06:03:11 01666e4c0597: Download complete 06:03:11 93b61091891f: Verifying Checksum 06:03:11 93b61091891f: Download complete 06:03:11 8ad3a11d3b57: Verifying Checksum 06:03:11 8ad3a11d3b57: Download complete 06:03:12 df20fa9351a1: Pull complete 06:03:12 36b3adc4ff6f: Pull complete 06:03:13 8ad3a11d3b57: Pull complete 06:03:13 46f8f816bc3b: Pull complete 06:03:13 aa168da1d23b: Verifying Checksum 06:03:13 aa168da1d23b: Download complete 06:03:14 93b61091891f: Pull complete 06:03:14 93b9cdb0e59b: Pull complete 06:03:14 5e14af77c1be: Pull complete 06:03:14 01666e4c0597: Pull complete 06:03:21 aa168da1d23b: Pull complete 06:03:21 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:03:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:03:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:03:21 prd-centos7-docker-4c-2g-27493 does not seem to be running inside a container 06:03:21 $ 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-797/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-797 -v /w/workspace/dgexfoundry_device-sdk-go_PR-797:/w/workspace/dgexfoundry_device-sdk-go_PR-797:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-797@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:03:24 $ docker top e162d512e3a0e39548b56d5c2a9570d242ebd4b0e42aa0ed2b3d8f65b0a58af3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:25 + touch /tmp/pre-build-complete [Pipeline] sh 06:03:25 + mkdir -p /var/log/sa [Pipeline] sh 06:03:25 + ls /var/log/sa-host 06:03:25 + sadf -c /var/log/sa-host/sa23 06:03:25 file_magic: OK 06:03:25 HZ: Using current value: 100 06:03:25 file_header: OK 06:03:25 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 06:03:25 Statistics: 06:03:25 Hnuu...uuuununununu... 06:03:25 File successfully converted to sysstat format version 12.2.1 06:03:25 + sadf -c /var/log/sa-host/sa24 06:03:25 file_magic: OK 06:03:25 HZ: Using current value: 100 06:03:25 file_header: OK 06:03:25 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 06:03:25 Statistics: 06:03:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:03:25 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:26 provisioning config files... 06:03:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-797@tmp/config7503488561388438977tmp [Pipeline] { [Pipeline] echo 06:03:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:03:27 ---> create-netrc.sh [Pipeline] } 06:03:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:03:27 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:03:27 ---> python-tools-install.sh [Pipeline] echo 06:03:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:03:27 ---> sudo-logs.sh 06:03:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:03:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:03:28 ---> job-cost.sh 06:03:28 lf-activate-venv: SKIPPING 06:03:28 DEBUG: total: 0.20999999344348907 06:03:28 INFO: Retrieving Stack Cost... 06:03:29 INFO: Retrieving Pricing Info for: v1-standard-2 06:03:30 INFO: Archiving Costs [Pipeline] echo 06:03:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:03:30 ---> logs-deploy.sh 06:03:30 lf-activate-venv: SKIPPING 06:03:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-797/1 06:03:30 INFO: archiving workspace using pattern(s): 06:03:32 Archives upload complete. 06:03:32 INFO: archiving logs to Nexus