Pull request #901 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from e41940fa2229b6335f5468ef734d4759d296f2ef+92affc97e25621ac5a3617c0e5e42feb55191c77 (3ebe7a0ad9adced1116256d6669ba283aa49b1dc) 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 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 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-901/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 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 > 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-901/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 57ded3389ef25720063a8030e5c426a6b7ea5b20 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2149 in /w/workspace/dgexfoundry_device-sdk-go_PR-901 [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-901 # 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 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit e41940fa2229b6335f5468ef734d4759d296f2ef Merge succeeded, producing e41940fa2229b6335f5468ef734d4759d296f2ef Checking out Revision e41940fa2229b6335f5468ef734d4759d296f2ef (PR-901) > 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/901/head:refs/remotes/origin/PR-901 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # 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 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:56:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:56:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:56:14 ========================================================= 05:56:14 EdgeX Global Pipelines Version Info 05:56:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:56:16 ------------------- 05:56:16 stable info: 05:56:16 ------------------- 05:56:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:56:16 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:56:16 Message: update stable to v1.0.186 05:56:17 ------------------- 05:56:17 experimental info: 05:56:17 ------------------- 05:56:17 Commited By: **** collab-it+edgex@linuxfoundation.org 05:56:17 Commit SHA: cf598ef4eee878cf4fd68936879ff849bf9f782f 05:56:17 Message: update experimental to v1.0.190 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:56:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:56:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:56:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-901 [Pipeline] echo 05:56:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-901 [Pipeline] echo 05:56:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-901 [Pipeline] echo 05:56:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e41940fa2229b6335f5468ef734d4759d296f2ef [Pipeline] echo 05:56:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e41940f [Pipeline] echo 05:56:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:19 provisioning config files... 05:56:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/config1809650156359806747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:19 ---> docker-login.sh 05:56:19 nexus3.edgexfoundry.org:10001 05:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:20 Configure a credential helper to remove this warning. See 05:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:20 05:56:20 Login Succeeded 05:56:20 nexus3.edgexfoundry.org:10002 05:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:20 Configure a credential helper to remove this warning. See 05:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:20 05:56:20 Login Succeeded 05:56:20 nexus3.edgexfoundry.org:10003 05:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:20 Configure a credential helper to remove this warning. See 05:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:20 05:56:20 Login Succeeded 05:56:20 nexus3.edgexfoundry.org:10004 05:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:20 Configure a credential helper to remove this warning. See 05:56:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:20 05:56:20 Login Succeeded 05:56:20 docker.io 05:56:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:21 Configure a credential helper to remove this warning. See 05:56:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:21 05:56:21 Login Succeeded 05:56:21 ---> docker-login.sh ends [Pipeline] } 05:56:21 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:56:22 + git log --format=format:%s -1 e41940fa2229b6335f5468ef734d4759d296f2ef [Pipeline] echo 05:56:22 GIT_COMMIT: e41940fa2229b6335f5468ef734d4759d296f2ef, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:56:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:56:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:56:23 05:56:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:56:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:56:23 latest: Pulling from edgex-devops/git-semver 05:56:23 31603596830f: Pulling fs layer 05:56:23 54011a49482f: Pulling fs layer 05:56:23 a6820b24f6d8: Pulling fs layer 05:56:23 f581987b2513: Pulling fs layer 05:56:23 f581987b2513: Waiting 05:56:23 54011a49482f: Verifying Checksum 05:56:23 54011a49482f: Download complete 05:56:23 31603596830f: Download complete 05:56:23 f581987b2513: Verifying Checksum 05:56:23 f581987b2513: Download complete 05:56:23 a6820b24f6d8: Verifying Checksum 05:56:23 a6820b24f6d8: Download complete 05:56:24 31603596830f: Pull complete 05:56:24 54011a49482f: Pull complete 05:56:24 a6820b24f6d8: Pull complete 05:56:24 f581987b2513: Pull complete 05:56:25 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 05:56:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:56:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:56:25 prd-centos7-docker-4c-2g-2149 does not seem to be running inside a container 05:56:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-901 -v /w/workspace/dgexfoundry_device-sdk-go_PR-901:/w/workspace/dgexfoundry_device-sdk-go_PR-901:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-901@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:10004/edgex-devops/git-semver:latest cat 05:56:27 $ docker top b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:56:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:27 [ssh-agent] Looking for ssh-agent implementation... 05:56:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:27 $ docker exec b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 ssh-agent 05:56:27 SSH_AUTH_SOCK=/tmp/ssh-TuxOYDXWYdc6/agent.12 05:56:27 SSH_AGENT_PID=17 05:56:27 Running ssh-add (command line suppressed) 05:56:28 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/private_key_5178393254558661411.key (/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/private_key_5178393254558661411.key) 05:56:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:28 + git tag --points-at HEAD [Pipeline] } 05:56:28 $ docker exec --env ******** --env ******** b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 ssh-agent -k 05:56:28 unset SSH_AUTH_SOCK; 05:56:28 unset SSH_AGENT_PID; 05:56:28 echo Agent pid 17 killed; 05:56:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:56:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:28 [ssh-agent] Looking for ssh-agent implementation... 05:56:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:28 $ docker exec b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 ssh-agent 05:56:29 SSH_AUTH_SOCK=/tmp/ssh-4k9L49yrRwGz/agent.47 05:56:29 SSH_AGENT_PID=52 05:56:29 Running ssh-add (command line suppressed) 05:56:29 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/private_key_3082715426932626891.key (/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/private_key_3082715426932626891.key) 05:56:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:29 + git semver init 05:56:29 # -> Open(): unable to determine branch for HEAD 05:56:29 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-901/.git 05:56:29 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-901 05:56:29 # $SEMVER_REMOTE_NAME = origin 05:56:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:56:29 # $SEMVER_USER_NAME = edgex-jenkins 05:56:29 # $SEMVER_BRANCH = PR-901 05:56:29 # $SEMVER_TEMP = /tmp/semver-013663097 05:56:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:56:30 # '/tmp/semver-013663097' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-901/.semver' 05:56:30 # -> Force: false 05:56:30 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-901/.semver [Pipeline] } 05:56:30 $ docker exec --env ******** --env ******** b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 ssh-agent -k 05:56:30 unset SSH_AUTH_SOCK; 05:56:30 unset SSH_AGENT_PID; 05:56:30 echo Agent pid 52 killed; 05:56:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:56:31 + git semver [Pipeline] } 05:56:31 $ docker stop --time=1 b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 05:56:32 $ docker rm -f b9176b11d54cb50e957dccb83f18572425668ee841f6343572342d07d9fadc81 [Pipeline] // withDockerContainer [Pipeline] sh 05:56:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:56:33 Stashed 1 file(s) [Pipeline] echo 05:56:33 [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:56:48 Still waiting to schedule task 05:56:48 ‘prd-centos7-docker-4c-2g-2150’ is offline 05:56:48 Still waiting to schedule task 05:56:48 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:58:46 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2151 in /w/workspace/dgexfoundry_device-sdk-go_PR-901 [Pipeline] { [Pipeline] ws 05:58:46 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:58:53 using credential edgex-jenkins-ssh 05:58:53 Cloning the remote Git repository 05:58:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:58:53 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:58:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:53 > git --version # timeout=10 05:58:53 > git --version # 'git version 2.17.1' 05:58:53 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:55 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit e41940fa2229b6335f5468ef734d4759d296f2ef 05:58:55 Merge succeeded, producing e41940fa2229b6335f5468ef734d4759d296f2ef 05:58:55 Checking out Revision e41940fa2229b6335f5468ef734d4759d296f2ef (PR-901) 05:58:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/901/head:refs/remotes/origin/PR-901 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:58:55 > git config core.sparsecheckout # timeout=10 05:58:55 > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 05:58:55 > git remote # timeout=10 05:58:55 > git config --get remote.origin.url # timeout=10 05:58:55 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:55 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 05:58:55 > git rev-parse HEAD^{commit} # timeout=10 05:58:55 > git config core.sparsecheckout # timeout=10 05:58:55 > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 05:59:00 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:59:00 > git --version # timeout=10 05:59:00 > git --version # 'git version 2.17.1' 05:59:00 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:01 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:59:02 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:59:02 + sudo service docker restart 05:59:02 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:59:05 provisioning config files... 05:59:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config201167053150627189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:05 ---> docker-login.sh 05:59:05 nexus3.edgexfoundry.org:10001 05:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:07 Configure a credential helper to remove this warning. See 05:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:07 05:59:07 Login Succeeded 05:59:07 nexus3.edgexfoundry.org:10002 05:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:07 Configure a credential helper to remove this warning. See 05:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:07 05:59:07 Login Succeeded 05:59:07 nexus3.edgexfoundry.org:10003 05:59:07 Running on prd-centos7-docker-4c-2g-2152 in /w/workspace/dgexfoundry_device-sdk-go_PR-901 [Pipeline] { [Pipeline] ws 05:59:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { 05:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] checkout 05:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:08 Configure a credential helper to remove this warning. See 05:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:08 05:59:08 Login Succeeded 05:59:08 nexus3.edgexfoundry.org:10004 05:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:08 Configure a credential helper to remove this warning. See 05:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:08 05:59:08 Login Succeeded 05:59:08 docker.io 05:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:09 Configure a credential helper to remove this warning. See 05:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:09 05:59:09 Login Succeeded 05:59:09 ---> docker-login.sh ends [Pipeline] } 05:59:09 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:09 ========================================================= 05:59:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:59:09 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:59:10 + 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:59:10 Sending build context to Docker daemon 2.466MB 05:59:10 using credential edgex-jenkins-ssh 05:59:10 Cloning the remote Git repository 05:59:10 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:59:10 Step 2/8 : FROM ${BASE} 05:59:10 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:59:10 5f621e34cdf4: Pulling fs layer 05:59:10 a4357932f1b6: Pulling fs layer 05:59:10 18c013af1878: Pulling fs layer 05:59:10 00ac8860ef70: Pulling fs layer 05:59:10 63d7cb157983: Pulling fs layer 05:59:10 b116817d02f9: Pulling fs layer 05:59:10 745a02a5169b: Pulling fs layer 05:59:10 00ac8860ef70: Waiting 05:59:10 63d7cb157983: Waiting 05:59:10 745a02a5169b: Waiting 05:59:10 b116817d02f9: Waiting 05:59:10 18c013af1878: Download complete 05:59:10 a4357932f1b6: Download complete 05:59:10 63d7cb157983: Verifying Checksum 05:59:10 63d7cb157983: Download complete 05:59:10 5f621e34cdf4: Download complete 05:59:11 5f621e34cdf4: Pull complete 05:59:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:59:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:59:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:10 > git --version # timeout=10 05:59:10 > git --version # 'git version 2.24.3' 05:59:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:12 a4357932f1b6: Pull complete 05:59:12 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit e41940fa2229b6335f5468ef734d4759d296f2ef 05:59:12 Merge succeeded, producing e41940fa2229b6335f5468ef734d4759d296f2ef 05:59:12 Checking out Revision e41940fa2229b6335f5468ef734d4759d296f2ef (PR-901) 05:59:12 18c013af1878: Pull complete 05:59:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:11 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/901/head:refs/remotes/origin/PR-901 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:12 > git config core.sparsecheckout # timeout=10 05:59:12 > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 05:59:12 > git remote # timeout=10 05:59:12 > git config --get remote.origin.url # timeout=10 05:59:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:12 > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 05:59:12 > git rev-parse HEAD^{commit} # timeout=10 05:59:12 > git config core.sparsecheckout # timeout=10 05:59:12 > git checkout -f e41940fa2229b6335f5468ef734d4759d296f2ef # timeout=10 05:59:14 745a02a5169b: Verifying Checksum 05:59:14 745a02a5169b: Download complete 05:59:15 00ac8860ef70: Verifying Checksum 05:59:15 00ac8860ef70: Download complete 05:59:15 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:59:15 > git --version # timeout=10 05:59:15 > git --version # 'git version 2.24.3' 05:59:15 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:17 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:59:17 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:59:17 + sudo service docker restart 05:59:17 + true 05:59:17 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:59:18 provisioning config files... 05:59:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1822967255253468571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:19 ---> docker-login.sh 05:59:19 nexus3.edgexfoundry.org:10001 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 nexus3.edgexfoundry.org:10002 05:59:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:19 Configure a credential helper to remove this warning. See 05:59:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:19 05:59:19 Login Succeeded 05:59:19 nexus3.edgexfoundry.org:10003 05:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:20 Configure a credential helper to remove this warning. See 05:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:20 05:59:20 Login Succeeded 05:59:20 nexus3.edgexfoundry.org:10004 05:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:20 Configure a credential helper to remove this warning. See 05:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:20 05:59:20 Login Succeeded 05:59:20 docker.io 05:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:20 Configure a credential helper to remove this warning. See 05:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:20 05:59:20 Login Succeeded 05:59:20 ---> docker-login.sh ends [Pipeline] } 05:59:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:21 ========================================================= 05:59:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:59:21 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:59: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 . 05:59:21 Sending build context to Docker daemon 2.467MB 05:59:21 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:59:21 Step 2/8 : FROM ${BASE} 05:59:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:21 188c0c94c7c5: Pulling fs layer 05:59:21 0ef7d3d256c8: Pulling fs layer 05:59:21 de9db76c5a1d: Pulling fs layer 05:59:21 bca2f99d35d6: Pulling fs layer 05:59:21 93359f2a8cfa: Pulling fs layer 05:59:21 7c6f9722023f: Pulling fs layer 05:59:21 a35cf1a2eb13: Pulling fs layer 05:59:21 93359f2a8cfa: Waiting 05:59:21 7c6f9722023f: Waiting 05:59:21 bca2f99d35d6: Waiting 05:59:21 de9db76c5a1d: Verifying Checksum 05:59:21 de9db76c5a1d: Download complete 05:59:21 0ef7d3d256c8: Download complete 05:59:21 93359f2a8cfa: Verifying Checksum 05:59:21 93359f2a8cfa: Download complete 05:59:21 7c6f9722023f: Download complete 05:59:21 188c0c94c7c5: Verifying Checksum 05:59:21 188c0c94c7c5: Download complete 05:59:21 188c0c94c7c5: Pull complete 05:59:22 0ef7d3d256c8: Pull complete 05:59:22 de9db76c5a1d: Pull complete 05:59:24 a35cf1a2eb13: Verifying Checksum 05:59:24 a35cf1a2eb13: Download complete 05:59:24 bca2f99d35d6: Verifying Checksum 05:59:24 bca2f99d35d6: Download complete 05:59:25 00ac8860ef70: Pull complete 05:59:25 63d7cb157983: Pull complete 05:59:26 b116817d02f9: Pull complete 05:59:29 745a02a5169b: Pull complete 05:59:29 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:59:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:59:29 ---> b7e6874047d6 05:59:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:29 bca2f99d35d6: Pull complete 05:59:30 93359f2a8cfa: Pull complete 05:59:30 7c6f9722023f: Pull complete 05:59:32 ---> Running in 1f60bc4cbee0 05:59:32 Removing intermediate container 1f60bc4cbee0 05:59:32 ---> b99e8f9afd4a 05:59:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:33 ---> Running in 5058b8e16162 05:59:35 Removing intermediate container 5058b8e16162 05:59:35 ---> 6b353a622572 05:59:35 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:59:35 ---> Running in 33effdeda812 05:59:36 a35cf1a2eb13: Pull complete 05:59:36 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:59:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:59:36 ---> a62c8e92a672 05:59:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:36 ---> Running in 8b36b47a2452 05:59:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:59:36 Removing intermediate container 8b36b47a2452 05:59:36 ---> b77cb2a57484 05:59:36 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:36 ---> Running in af050f35cf6e 05:59:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:59:37 Removing intermediate container af050f35cf6e 05:59:37 ---> 676eb4eb55cc 05:59:37 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:59:38 ---> Running in 636d7b1df0f0 05:59:38 (1/6) Installing libc-dev (0.7.2-r3) 05:59:38 (2/6) Installing libsodium (1.0.18-r0) 05:59:38 (3/6) Installing pkgconf (1.7.2-r0) 05:59:38 (4/6) Installing libsodium-dev (1.0.18-r0) 05:59:38 (5/6) Installing libzmq (4.3.3-r0) 05:59:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:59:39 (6/6) Installing zeromq-dev (4.3.3-r0) 05:59:39 Executing busybox-1.31.1-r19.trigger 05:59:39 OK: 144 MiB in 45 packages 05:59:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:59:40 Removing intermediate container 33effdeda812 05:59:40 ---> ee7d649b649d 05:59:40 Step 6/8 : WORKDIR /device-sdk-go 05:59:40 ---> Running in 6bd57ace5bc2 05:59:41 Removing intermediate container 6bd57ace5bc2 05:59:41 ---> 693b8884b7c7 05:59:41 Step 7/8 : COPY . . 05:59:41 (1/6) Installing libc-dev (0.7.2-r3) 05:59:41 (2/6) Installing libsodium (1.0.18-r0) 05:59:41 (3/6) Installing pkgconf (1.7.2-r0) 05:59:41 (4/6) Installing libsodium-dev (1.0.18-r0) 05:59:41 (5/6) Installing libzmq (4.3.3-r0) 05:59:41 (6/6) Installing zeromq-dev (4.3.3-r0) 05:59:41 Executing busybox-1.31.1-r19.trigger 05:59:41 OK: 167 MiB in 45 packages 05:59:42 Removing intermediate container 636d7b1df0f0 05:59:42 ---> 360fb4be5a9d 05:59:42 Step 6/8 : WORKDIR /device-sdk-go 05:59:42 ---> bcf54c8c055f 05:59:42 Step 8/8 : RUN go mod download 05:59:42 ---> Running in cec4d1b10f23 05:59:42 ---> Running in dd23081a4ac6 05:59:42 Removing intermediate container dd23081a4ac6 05:59:42 ---> 711bdac1870f 05:59:42 Step 7/8 : COPY . . 05:59:44 ---> 5416d62df661 05:59:44 Step 8/8 : RUN go mod download 05:59:44 ---> Running in 0445d9e8f223 06:00:06 Removing intermediate container 0445d9e8f223 06:00:06 ---> 0dfdfa445683 06:00:06 Successfully built 0dfdfa445683 06:00:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:00:06 + docker inspect -f . ci-base-image-x86_64 06:00:06 . [Pipeline] withDockerContainer 06:00:06 prd-centos7-docker-4c-2g-2152 does not seem to be running inside a container 06:00:06 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:00:07 $ docker top 8c388955adf8a7f2f0d2a3e4f771da20f46ec142a2f8225ceb9f8be30916c0f9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:08 + go version 06:00:08 go version go1.15.5 linux/amd64 [Pipeline] } 06:00:08 $ docker stop --time=1 8c388955adf8a7f2f0d2a3e4f771da20f46ec142a2f8225ceb9f8be30916c0f9 06:00:09 $ docker rm -f 8c388955adf8a7f2f0d2a3e4f771da20f46ec142a2f8225ceb9f8be30916c0f9 06:00:09 Removing intermediate container cec4d1b10f23 06:00:09 ---> caa8e4c58e0b 06:00:09 Successfully built caa8e4c58e0b 06:00:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:10 + docker inspect -f . ci-base-image-arm64 06:00:10 . [Pipeline] withDockerContainer 06:00:10 + docker inspect -f . ci-base-image-x86_64 06:00:10 . 06:00:10 prd-ubuntu18.04-docker-arm64-4c-16g-2151 does not seem to be running inside a container 06:00:10 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 06:00:12 $ docker top cb644c58331469009aa5c7814ba01322630bc3628fa40393bc19c6bd683c0430 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 06:00:12 prd-centos7-docker-4c-2g-2152 does not seem to be running inside a container 06:00:12 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:00:13 $ docker top 756be321944db41f745effc530c8f7ca7187a40998c471fe5ae41161d4cb4320 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:00:13 + make test 06:00:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:00:14 + go version 06:00:14 go version go1.15.5 linux/arm64 [Pipeline] } 06:00:14 $ docker stop --time=1 cb644c58331469009aa5c7814ba01322630bc3628fa40393bc19c6bd683c0430 06:00:15 $ docker rm -f cb644c58331469009aa5c7814ba01322630bc3628fa40393bc19c6bd683c0430 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:16 + docker inspect -f . ci-base-image-arm64 06:00:16 . [Pipeline] withDockerContainer 06:00:17 prd-ubuntu18.04-docker-arm64-4c-16g-2151 does not seem to be running inside a container 06:00:17 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 06:00:18 $ docker top 160dbda363277bd0c40d0ce42c2f6ba32c7d824eb949f53e34b2130d536ef785 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:19 + make test 06:00:19 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:00:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:00:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:00:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:00:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:00:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:00:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:00:41 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:00:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.077s coverage: 28.1% of statements 06:00:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements 06:00:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.068s coverage: 7.8% of statements 06:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:00:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 30.2% of statements 06:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:00:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.2% of statements 06:00:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.208s coverage: 6.6% of statements 06:00:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.0% of statements 06:00:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:00:45 GO111MODULE=on go vet ./... 06:01:04 gofmt -l . 06:01:04 [ "`gofmt -l .`" = "" ] 06:01:04 ./bin/test-attribution-txt.sh 06:01:04 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:01:04 $ docker stop --time=1 756be321944db41f745effc530c8f7ca7187a40998c471fe5ae41161d4cb4320 06:01:05 $ docker rm -f 756be321944db41f745effc530c8f7ca7187a40998c471fe5ae41161d4cb4320 [Pipeline] // withDockerContainer [Pipeline] sh 06:01:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:10 + ls -al . 06:01:10 total 188 06:01:10 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 28 06:01 . 06:01:10 drwxrwxr-x. 4 jenkins jenkins 28 Apr 28 05:59 .. 06:01:10 drwxrwxr-x. 2 jenkins jenkins 64 Apr 28 05:59 bin 06:01:10 -rw-r--r--. 1 jenkins jenkins 100320 Apr 28 06:00 coverage.out 06:01:10 -rw-rw-r--. 1 jenkins jenkins 987 Apr 28 05:59 Dockerfile.build 06:01:10 -rw-rw-r--. 1 jenkins jenkins 140 Apr 28 05:59 .dockerignore 06:01:10 drwxrwxr-x. 5 jenkins jenkins 62 Apr 28 05:59 example 06:01:10 drwxrwxr-x. 8 jenkins jenkins 179 Apr 28 05:59 .git 06:01:10 drwxrwxr-x. 2 jenkins jenkins 103 Apr 28 05:59 .github 06:01:10 -rw-rw-r--. 1 jenkins jenkins 138 Apr 28 05:59 .gitignore 06:01:10 -rw-r--r--. 1 jenkins jenkins 575 Apr 28 06:01 go.mod 06:01:10 -rw-r--r--. 1 jenkins jenkins 20675 Apr 28 06:01 go.sum 06:01:10 drwxrwxr-x. 14 jenkins jenkins 207 Apr 28 05:59 internal 06:01:10 -rw-rw-r--. 1 jenkins jenkins 901 Apr 28 05:59 Jenkinsfile 06:01:10 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 28 05:59 LICENSE 06:01:10 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 28 05:59 Makefile 06:01:10 drwxrwxr-x. 4 jenkins jenkins 26 Apr 28 05:59 openapi 06:01:10 drwxrwxr-x. 5 jenkins jenkins 50 Apr 28 05:59 pkg 06:01:10 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 28 05:59 README.md 06:01:10 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 28 05:59 RELEASE-NOTES.txt 06:01:10 drwxrwxr-x. 4 jenkins jenkins 54 Apr 28 05:59 snap 06:01:10 -rw-rw-r--. 1 jenkins jenkins 5 Apr 28 05:56 VERSION 06:01:10 -rw-rw-r--. 1 jenkins jenkins 222 Apr 28 05:59 version.go [Pipeline] isUnix [Pipeline] sh 06:01:10 + 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=e41940fa2229b6335f5468ef734d4759d296f2ef --label arch=amd64 --label version=0.0.0 . 06:01:10 Sending build context to Docker daemon 2.568MB 06:01:10 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:01:10 Step 2/23 : FROM ${BASE} AS builder 06:01:10 ---> 0dfdfa445683 06:01:10 Step 3/23 : WORKDIR /device-sdk-go 06:01:11 ---> Running in 8a4c3986b789 06:01:11 Removing intermediate container 8a4c3986b789 06:01:11 ---> a12f4597210a 06:01:11 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:11 ---> Running in 3ca1434a15d1 06:01:12 Removing intermediate container 3ca1434a15d1 06:01:12 ---> b7d1bb4c1a0f 06:01:12 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:12 ---> Running in 05f7e1e1ed37 06:01:13 Removing intermediate container 05f7e1e1ed37 06:01:13 ---> 45ffdd38d211 06:01:13 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:01:13 ---> Running in 562637bc2d1f 06:01:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:01:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:01:20 OK: 167 MiB in 45 packages 06:01:20 Removing intermediate container 562637bc2d1f 06:01:20 ---> 420b6bdbaa4b 06:01:20 Step 7/23 : COPY . . 06:01:21 ---> 29f9c4b78a02 06:01:21 Step 8/23 : RUN go mod download 06:01:21 ---> Running in 46821bb1cc83 06:01:22 Removing intermediate container 46821bb1cc83 06:01:22 ---> c30908db028b 06:01:22 Step 9/23 : RUN make build 06:01:22 ---> Running in ce0b8d211f72 06:01:23 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 06:01:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:01:35 Removing intermediate container ce0b8d211f72 06:01:35 ---> 385f0448c7fe 06:01:35 Step 10/23 : FROM alpine:3.12 06:01:35 3.12: Pulling from library/alpine 06:01:35 339de151aab4: Pulling fs layer 06:01:35 339de151aab4: Download complete 06:01:36 339de151aab4: Pull complete 06:01:36 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:01:36 Status: Downloaded newer image for alpine:3.12 06:01:36 ---> 13621d1b12d4 06:01:36 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:36 ---> Running in de9d3f934c92 06:01:36 Removing intermediate container de9d3f934c92 06:01:36 ---> 78ca5cfb9eaf 06:01:36 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:36 ---> Running in d4c35ccb3d55 06:01:37 Removing intermediate container d4c35ccb3d55 06:01:37 ---> 5f25156bb514 06:01:37 Step 13/23 : RUN apk add --update --no-cache zeromq 06:01:37 ---> Running in d68b8f39181d 06:01:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:01:38 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:01:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:01:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:01:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:38 (1/5) Installing libgcc (9.3.0-r2) 06:01:38 (2/5) Installing libsodium (1.0.18-r0) 06:01:38 (3/5) Installing libstdc++ (9.3.0-r2) 06:01:39 (4/5) Installing libzmq (4.3.3-r0) 06:01:39 (5/5) Installing zeromq (4.3.3-r0) 06:01:40 Executing busybox-1.31.1-r20.trigger 06:01:40 OK: 8 MiB in 19 packages 06:01:40 Removing intermediate container d68b8f39181d 06:01:40 ---> 2c4ac71a666f 06:01:40 Step 14/23 : WORKDIR / 06:01:40 ---> Running in 0eb376d21244 06:01:40 Removing intermediate container 0eb376d21244 06:01:40 ---> 0124656bdb86 06:01:40 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:01:40 ---> b69ad3f63e4b 06:01:40 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:01:41 ---> 4c78713f0bbe 06:01:41 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:01:41 ---> 94b9bd21cc4b 06:01:41 Step 18/23 : EXPOSE 49990 06:01:41 ---> Running in 6cb53585a71d 06:01:41 Removing intermediate container 6cb53585a71d 06:01:41 ---> 68830f59b534 06:01:41 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:01:41 ---> Running in 269273e4ccc2 06:01:42 Removing intermediate container 269273e4ccc2 06:01:42 ---> efe004fa2915 06:01:42 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:01:42 ---> Running in 07f151d741d8 06:01:42 Removing intermediate container 07f151d741d8 06:01:42 ---> eda7f8cc61c4 06:01:42 Step 21/23 : LABEL arch=amd64 06:01:42 ---> Running in d7b6508b59ba 06:01:42 Removing intermediate container d7b6508b59ba 06:01:42 ---> e99f470ecdbd 06:01:42 Step 22/23 : LABEL git_sha=e41940fa2229b6335f5468ef734d4759d296f2ef 06:01:42 ---> Running in 167ed4a03b72 06:01:42 Removing intermediate container 167ed4a03b72 06:01:42 ---> 045a1829b65f 06:01:42 Step 23/23 : LABEL version=0.0.0 06:01:42 ---> Running in e7a90209f75c 06:01:42 Removing intermediate container e7a90209f75c 06:01:42 ---> 6b0799cb0840 06:01:42 [Warning] One or more build-args [ARCH MAKE] were not consumed 06:01:42 Successfully built 6b0799cb0840 06:01:42 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 06:01:43 ---> job-cost.sh 06:01:43 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-iQd9 06:01:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.191s coverage: 28.1% of statements 06:01:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.194s coverage: 78.9% of statements 06:01:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.142s coverage: 7.8% of statements 06:01:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:01:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:01:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:01:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.248s coverage: 30.2% of statements 06:01:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:01:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:01:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:01:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.325s coverage: 57.2% of statements 06:01:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.192s coverage: 6.6% of statements 06:01:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.156s coverage: 5.0% of statements 06:01:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:01:52 GO111MODULE=on go vet ./... 06:01:58 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:02:25 lf-activate-venv(): INFO: Adding /tmp/venv-iQd9/bin to PATH 06:02:25 INFO: No Stack... 06:02:25 INFO: Retrieving Pricing Info for: v1-standard-2 06:02:26 INFO: Archiving Costs [Pipeline] sh 06:02:27 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:02:27 + cut -d, -f6 [Pipeline] lock 06:02:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] 06:02:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] did not exist. Created. 06:02:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:27 + echo total: 0.029999999329447746 [Pipeline] stash 06:02:27 Stashed 1 file(s) [Pipeline] } 06:02:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:02:39 gofmt -l . 06:02:39 [ "`gofmt -l .`" = "" ] 06:02:39 ./bin/test-attribution-txt.sh 06:02:41 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:02:41 $ docker stop --time=1 160dbda363277bd0c40d0ce42c2f6ba32c7d824eb949f53e34b2130d536ef785 06:02:44 $ docker rm -f 160dbda363277bd0c40d0ce42c2f6ba32c7d824eb949f53e34b2130d536ef785 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:45 Warning: overwriting stash ‘coverage-report’ 06:02:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:47 + ls -al . 06:02:47 total 224 06:02:47 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 06:02 . 06:02:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 .. 06:02:47 -rw-rw-r-- 1 jenkins jenkins 140 Apr 28 05:58 .dockerignore 06:02:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 05:58 .git 06:02:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:58 .github 06:02:47 -rw-rw-r-- 1 jenkins jenkins 138 Apr 28 05:58 .gitignore 06:02:47 -rw-rw-r-- 1 jenkins jenkins 987 Apr 28 05:58 Dockerfile.build 06:02:47 -rw-rw-r-- 1 jenkins jenkins 901 Apr 28 05:58 Jenkinsfile 06:02:47 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 28 05:58 LICENSE 06:02:47 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 28 05:58 Makefile 06:02:47 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 28 05:58 README.md 06:02:47 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 28 05:58 RELEASE-NOTES.txt 06:02:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 05:56 VERSION 06:02:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 05:58 bin 06:02:47 -rw-r--r-- 1 jenkins jenkins 100320 Apr 28 06:01 coverage.out 06:02:47 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 05:58 example 06:02:47 -rw-r--r-- 1 jenkins jenkins 575 Apr 28 06:02 go.mod 06:02:47 -rw-r--r-- 1 jenkins jenkins 20675 Apr 28 06:02 go.sum 06:02:47 drwxrwxr-x 14 jenkins jenkins 4096 Apr 28 05:58 internal 06:02:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 openapi 06:02:47 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 05:58 pkg 06:02:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 05:58 snap 06:02:47 -rw-rw-r-- 1 jenkins jenkins 222 Apr 28 05:58 version.go [Pipeline] isUnix [Pipeline] sh 06:02:47 + 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=e41940fa2229b6335f5468ef734d4759d296f2ef --label arch=arm64 --label version=0.0.0 . 06:02:48 Sending build context to Docker daemon 2.567MB 06:02:48 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 06:02:48 Step 2/23 : FROM ${BASE} AS builder 06:02:48 ---> caa8e4c58e0b 06:02:48 Step 3/23 : WORKDIR /device-sdk-go 06:02:48 ---> Running in 2b207bc16986 06:02:49 Removing intermediate container 2b207bc16986 06:02:49 ---> 6c7ca9cb4be8 06:02:49 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:49 ---> Running in 7da6be69e50f 06:02:50 Removing intermediate container 7da6be69e50f 06:02:50 ---> 157d1fc9fcc7 06:02:50 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:50 ---> Running in ee96458ea73f 06:02:52 Removing intermediate container ee96458ea73f 06:02:52 ---> 26473710b214 06:02:52 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:02:52 ---> Running in 676f80c45cb1 06:02:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:02:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:02:55 OK: 144 MiB in 45 packages 06:02:57 Removing intermediate container 676f80c45cb1 06:02:57 ---> ee6301ea6288 06:02:57 Step 7/23 : COPY . . 06:02:58 ---> 996d008915b6 06:02:58 Step 8/23 : RUN go mod download 06:02:58 ---> Running in e7ab3b14d846 06:03:00 Removing intermediate container e7ab3b14d846 06:03:00 ---> 420fa7b75305 06:03:00 Step 9/23 : RUN make build 06:03:00 ---> Running in e0d6e127016a 06:03:01 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 06:03:40 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:03:41 Removing intermediate container e0d6e127016a 06:03:41 ---> 4c257268d16f 06:03:41 Step 10/23 : FROM alpine:3.12 06:03:41 3.12: Pulling from library/alpine 06:03:41 d2f70382dc9a: Pulling fs layer 06:03:41 d2f70382dc9a: Verifying Checksum 06:03:41 d2f70382dc9a: Download complete 06:03:42 d2f70382dc9a: Pull complete 06:03:42 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 06:03:42 Status: Downloaded newer image for alpine:3.12 06:03:42 ---> 9852663dfa18 06:03:42 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:42 ---> Running in 33c4826f6a0a 06:03:43 Removing intermediate container 33c4826f6a0a 06:03:43 ---> de6f43ead40c 06:03:43 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:43 ---> Running in 39d65e2429d1 06:03:45 Removing intermediate container 39d65e2429d1 06:03:45 ---> 7c2209204799 06:03:45 Step 13/23 : RUN apk add --update --no-cache zeromq 06:03:45 ---> Running in 10c9ec12e0a5 06:03:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:03:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:03:48 (1/5) Installing libgcc (9.3.0-r2) 06:03:48 (2/5) Installing libsodium (1.0.18-r0) 06:03:48 (3/5) Installing libstdc++ (9.3.0-r2) 06:03:49 (4/5) Installing libzmq (4.3.3-r0) 06:03:49 (5/5) Installing zeromq (4.3.3-r0) 06:03:49 Executing busybox-1.31.1-r20.trigger 06:03:49 OK: 8 MiB in 19 packages 06:03:50 Removing intermediate container 10c9ec12e0a5 06:03:50 ---> b0c643d527fc 06:03:50 Step 14/23 : WORKDIR / 06:03:50 ---> Running in 7e047ad836ae 06:03:51 Removing intermediate container 7e047ad836ae 06:03:51 ---> 344036fb977d 06:03:51 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:03:52 ---> d32387384436 06:03:52 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:03:53 ---> 3d42f1b28c02 06:03:53 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:03:54 ---> 1bf4f1ed4671 06:03:54 Step 18/23 : EXPOSE 49990 06:03:54 ---> Running in 1583255ee5fa 06:03:54 Removing intermediate container 1583255ee5fa 06:03:54 ---> 7841a09b983c 06:03:54 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:03:54 ---> Running in 95587006d5a6 06:03:55 Removing intermediate container 95587006d5a6 06:03:55 ---> 76efa60c50fa 06:03:55 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:03:55 ---> Running in 9691f29a3c76 06:03:56 Removing intermediate container 9691f29a3c76 06:03:56 ---> cf23809cc91a 06:03:56 Step 21/23 : LABEL arch=arm64 06:03:56 ---> Running in 1ff49f37993d 06:03:56 Removing intermediate container 1ff49f37993d 06:03:56 ---> 088bde855ee7 06:03:56 Step 22/23 : LABEL git_sha=e41940fa2229b6335f5468ef734d4759d296f2ef 06:03:56 ---> Running in dc0bd5cb3559 06:03:57 Removing intermediate container dc0bd5cb3559 06:03:57 ---> bb7d4768e932 06:03:57 Step 23/23 : LABEL version=0.0.0 06:03:57 ---> Running in 5be51db42b8c 06:03:57 Removing intermediate container 5be51db42b8c 06:03:57 ---> 067f4b578bb3 06:03:57 [Warning] One or more build-args [MAKE ARCH] were not consumed 06:03:57 Successfully built 067f4b578bb3 06:03:57 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:03:58 ---> job-cost.sh 06:03:58 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-OV0l 06:04:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:06:37 lf-activate-venv(): INFO: Adding /tmp/venv-OV0l/bin to PATH 06:06:37 INFO: No Stack... 06:06:37 INFO: Retrieving Pricing Info for: lf-standard-4 06:06:37 INFO: Archiving Costs [Pipeline] sh 06:06:37 + cut -d, -f6 06:06:37 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 06:06:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] 06:06:37 Resource [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] did not exist. Created. 06:06:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-901-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:38 /w/workspace/device-sdk-go/1@tmp/durable-e5b4e34e/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e5b4e34e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:06:38 + echo total: 0.20999999344348907 [Pipeline] stash 06:06:38 Warning: overwriting stash ‘stack-cost’ 06:06:38 Stashed 1 file(s) [Pipeline] } 06:06:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-901-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:06:40 provisioning config files... 06:06:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/config3059129811166766714tmp [Pipeline] { [Pipeline] sh 06:06:40 + set +x 06:06:40 + curl -s https://codecov.io/bash 06:06:40 + bash -s -- 06:06:40 06:06:40 _____ _ 06:06:40 / ____| | | 06:06:40 | | ___ __| | ___ ___ _____ __ 06:06:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:06:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:06:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:06:40 Bash-1.0.2 06:06:40 06:06:40 06:06:40 ==> git version 2.24.3 found 06:06:40 ==> 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:06:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:06:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:06:40 ==> Jenkins CI detected. 06:06:40 project root: . 06:06:40 --> token set from env 06:06:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:06:40 ==> Running gcov in . (disable via -X gcov) 06:06:40 ==> Python coveragepy not found 06:06:40 ==> Searching for coverage reports in: 06:06:40 + . 06:06:40 -> Found 1 reports 06:06:40 ==> Detecting git/mercurial file structure 06:06:40 ==> Reading reports 06:06:40 + ./coverage.out bytes=100320 06:06:40 ==> Appending adjustments 06:06:40 https://docs.codecov.io/docs/fixing-reports 06:06:41 + Found adjustments 06:06:41 ==> Gzipping contents 06:06:41 16K /tmp/codecov.dNNMiL.gz 06:06:41 ==> Uploading reports 06:06:41 url: https://codecov.io 06:06:41 query: branch=PR-901&commit=e41940fa2229b6335f5468ef734d4759d296f2ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-901%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=901&job=&cmd_args= 06:06:41 -> Pinging Codecov 06:06:41 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-901&commit=e41940fa2229b6335f5468ef734d4759d296f2ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-901%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=901&job=&cmd_args= 06:06:41 -> Uploading to 06:06:41 https://storage.googleapis.com/codecov/v4/raw/2021-04-28/7E55EF52A471D76F132DFD9A03CDDE97/e41940fa2229b6335f5468ef734d4759d296f2ef/fde7fbc9-9048-48a3-90b2-720fc2a094ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210428T060641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbc39b3a05909d088e61a8f549f35c8d021c0c612ecf3bacd987503e45fff34f 06:06:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:41 Dload Upload Total Spent Left Speed 06:06:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13535 0 0 100 13535 0 33097 --:--:-- --:--:-- --:--:-- 33174 06:06:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e41940fa2229b6335f5468ef734d4759d296f2ef [Pipeline] } 06:06:42 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:06:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:06:45 ---> package-listing.sh 06:06:45 ++ facter osfamily 06:06:45 ++ tr '[:upper:]' '[:lower:]' 06:06:45 + OS_FAMILY=redhat 06:06:45 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-901 06:06:45 + START_PACKAGES=/tmp/packages_start.txt 06:06:45 + END_PACKAGES=/tmp/packages_end.txt 06:06:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:06:45 + PACKAGES=/tmp/packages_start.txt 06:06:45 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-901 ']' 06:06:45 + PACKAGES=/tmp/packages_end.txt 06:06:45 + case "${OS_FAMILY}" in 06:06:45 + rpm -qa 06:06:45 + sort 06:06:50 + '[' -f /tmp/packages_start.txt ']' 06:06:50 + '[' -f /tmp/packages_end.txt ']' 06:06:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:06:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-901 ']' 06:06:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-901/archives/ 06:06:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-901/archives/ [Pipeline] echo 06:06:50 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-901/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:06:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:06:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:06:51 06:06:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:06:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:06:51 alpine: Pulling from edgex-lftools-log-publisher 06:06:51 df20fa9351a1: Pulling fs layer 06:06:51 36b3adc4ff6f: Pulling fs layer 06:06:51 8ad3a11d3b57: Pulling fs layer 06:06:51 46f8f816bc3b: Pulling fs layer 06:06:51 93b61091891f: Pulling fs layer 06:06:51 93b9cdb0e59b: Pulling fs layer 06:06:51 5e14af77c1be: Pulling fs layer 06:06:51 01666e4c0597: Pulling fs layer 06:06:51 aa168da1d23b: Pulling fs layer 06:06:51 46f8f816bc3b: Waiting 06:06:51 93b61091891f: Waiting 06:06:51 93b9cdb0e59b: Waiting 06:06:51 5e14af77c1be: Waiting 06:06:51 01666e4c0597: Waiting 06:06:51 aa168da1d23b: Waiting 06:06:51 36b3adc4ff6f: Verifying Checksum 06:06:51 36b3adc4ff6f: Download complete 06:06:51 46f8f816bc3b: Verifying Checksum 06:06:51 46f8f816bc3b: Download complete 06:06:51 df20fa9351a1: Download complete 06:06:51 93b9cdb0e59b: Verifying Checksum 06:06:51 93b9cdb0e59b: Download complete 06:06:52 5e14af77c1be: Verifying Checksum 06:06:52 5e14af77c1be: Download complete 06:06:52 93b61091891f: Verifying Checksum 06:06:52 93b61091891f: Download complete 06:06:52 01666e4c0597: Verifying Checksum 06:06:52 01666e4c0597: Download complete 06:06:52 8ad3a11d3b57: Verifying Checksum 06:06:52 8ad3a11d3b57: Download complete 06:06:52 df20fa9351a1: Pull complete 06:06:52 36b3adc4ff6f: Pull complete 06:06:53 8ad3a11d3b57: Pull complete 06:06:53 46f8f816bc3b: Pull complete 06:06:53 aa168da1d23b: Verifying Checksum 06:06:53 aa168da1d23b: Download complete 06:06:54 93b61091891f: Pull complete 06:06:54 93b9cdb0e59b: Pull complete 06:06:54 5e14af77c1be: Pull complete 06:06:54 01666e4c0597: Pull complete 06:07:02 aa168da1d23b: Pull complete 06:07:02 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:07:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:07:02 prd-centos7-docker-4c-2g-2149 does not seem to be running inside a container 06:07:02 $ 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-901/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-901 -v /w/workspace/dgexfoundry_device-sdk-go_PR-901:/w/workspace/dgexfoundry_device-sdk-go_PR-901:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-901@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:07:06 $ docker top 898be50505459189f48b0b67eccbe8ef4a50650b142f27104d70e4d7a0ca1c87 -eo pid,comm [Pipeline] { [Pipeline] sh 06:07:06 + touch /tmp/pre-build-complete [Pipeline] sh 06:07:07 + mkdir -p /var/log/sa [Pipeline] sh 06:07:07 + ls /var/log/sa-host 06:07:07 + sadf -c /var/log/sa-host/sa23 06:07:07 file_magic: OK 06:07:07 HZ: Using current value: 100 06:07:07 file_header: OK 06:07:07 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:07:07 Statistics: 06:07:07 Hnuu...uuuununununu... 06:07:07 File successfully converted to sysstat format version 12.2.1 06:07:07 + sadf -c /var/log/sa-host/sa28 06:07:07 file_magic: OK 06:07:07 HZ: Using current value: 100 06:07:07 file_header: OK 06:07:07 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:07:07 Statistics: 06:07:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:07:07 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:08 provisioning config files... 06:07:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-901@tmp/config6540767772474280203tmp [Pipeline] { [Pipeline] echo 06:07:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:07:08 ---> create-netrc.sh [Pipeline] } 06:07:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:07:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:07:09 ---> python-tools-install.sh [Pipeline] echo 06:07:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:07:09 ---> sudo-logs.sh 06:07:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:07:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:07:10 ---> job-cost.sh 06:07:10 lf-activate-venv: SKIPPING 06:07:10 DEBUG: total: 0.20999999344348907 06:07:10 INFO: Retrieving Stack Cost... 06:07:10 INFO: Retrieving Pricing Info for: v1-standard-2 06:07:11 INFO: Archiving Costs [Pipeline] echo 06:07:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:07:11 ---> logs-deploy.sh 06:07:11 lf-activate-venv: SKIPPING 06:07:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-901/1 06:07:11 INFO: archiving workspace using pattern(s): 06:07:13 Archives upload complete. 06:07:13 INFO: archiving logs to Nexus