Pull request #832 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5dcdf229f075de250373f56c9f7368f0a8357383+5b084bdeafa1e122a5c890164a05a3ac30530fc3 (e1a437852c7288025ba4f77ec7554eb3097ece1b) 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-832/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-832/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-31019 in /w/workspace/dgexfoundry_device-sdk-go_PR-832 [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-832 # 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 5dcdf229f075de250373f56c9f7368f0a8357383 > 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/832/head:refs/remotes/origin/PR-832 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 5dcdf229f075de250373f56c9f7368f0a8357383 Checking out Revision 5dcdf229f075de250373f56c9f7368f0a8357383 (PR-832) > git config core.sparsecheckout # timeout=10 > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # 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 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # 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:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:56:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:56:45 ========================================================= 05:56:45 EdgeX Global Pipelines Version Info 05:56:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:56:46 ------------------- 05:56:46 stable info: 05:56:46 ------------------- 05:56:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:56:46 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:56:46 Message: update stable to v1.0.186 05:56:47 ------------------- 05:56:47 experimental info: 05:56:47 ------------------- 05:56:47 Commited By: **** collab-it+edgex@linuxfoundation.org 05:56:47 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:56:47 Message: update experimental to v1.0.186 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:56:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:56:48 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:56:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:56:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:56:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:56:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:56:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:56:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:56:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:56:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:56:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:56:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:56:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:56:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:56:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:56:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-832 [Pipeline] echo 05:56:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-832 [Pipeline] echo 05:56:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-832 [Pipeline] echo 05:56:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5dcdf229f075de250373f56c9f7368f0a8357383 [Pipeline] echo 05:56:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5dcdf22 [Pipeline] echo 05:56:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:56:52 provisioning config files... 05:56:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/config5249462731179821779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:53 ---> docker-login.sh 05:56:53 nexus3.edgexfoundry.org:10001 05:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:53 Configure a credential helper to remove this warning. See 05:56:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:53 05:56:53 Login Succeeded 05:56:53 nexus3.edgexfoundry.org:10002 05:56:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:53 Configure a credential helper to remove this warning. See 05:56:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:53 05:56:53 Login Succeeded 05:56:53 nexus3.edgexfoundry.org:10003 05:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:54 Configure a credential helper to remove this warning. See 05:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:54 05:56:54 Login Succeeded 05:56:54 nexus3.edgexfoundry.org:10004 05:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:54 Configure a credential helper to remove this warning. See 05:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:54 05:56:54 Login Succeeded 05:56:54 docker.io 05:56:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:54 Configure a credential helper to remove this warning. See 05:56:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:54 05:56:54 Login Succeeded 05:56:54 ---> docker-login.sh ends [Pipeline] } 05:56:54 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:55 + git log --format=format:%s -1 5dcdf229f075de250373f56c9f7368f0a8357383 [Pipeline] echo 05:56:55 GIT_COMMIT: 5dcdf229f075de250373f56c9f7368f0a8357383, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:56:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:56:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:56:57 05:56:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:56:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:56:57 latest: Pulling from edgex-devops/git-semver 05:56:57 31603596830f: Pulling fs layer 05:56:57 2a8b12db71e7: Pulling fs layer 05:56:57 6ca5941a6612: Pulling fs layer 05:56:57 ecc8261a40a4: Pulling fs layer 05:56:57 ecc8261a40a4: Waiting 05:56:57 2a8b12db71e7: Download complete 05:56:57 31603596830f: Verifying Checksum 05:56:57 31603596830f: Download complete 05:56:57 ecc8261a40a4: Verifying Checksum 05:56:57 ecc8261a40a4: Download complete 05:56:58 6ca5941a6612: Verifying Checksum 05:56:58 6ca5941a6612: Download complete 05:56:58 31603596830f: Pull complete 05:56:58 2a8b12db71e7: Pull complete 05:56:58 6ca5941a6612: Pull complete 05:56:59 ecc8261a40a4: Pull complete 05:56:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:56:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:56:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:56:59 prd-centos7-docker-4c-2g-31019 does not seem to be running inside a container 05:56:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-832 -v /w/workspace/dgexfoundry_device-sdk-go_PR-832:/w/workspace/dgexfoundry_device-sdk-go_PR-832:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-832@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:57:02 $ docker top b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:57:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:02 [ssh-agent] Looking for ssh-agent implementation... 05:57:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:02 $ docker exec b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e ssh-agent 05:57:03 SSH_AUTH_SOCK=/tmp/ssh-vfJPyr16ECSw/agent.11 05:57:03 SSH_AGENT_PID=16 05:57:03 Running ssh-add (command line suppressed) 05:57:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/private_key_8799517392065529449.key (/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/private_key_8799517392065529449.key) 05:57:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:03 + git tag --points-at HEAD [Pipeline] } 05:57:03 $ docker exec --env ******** --env ******** b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e ssh-agent -k 05:57:03 unset SSH_AUTH_SOCK; 05:57:03 unset SSH_AGENT_PID; 05:57:03 echo Agent pid 16 killed; 05:57:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:57:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:57:03 [ssh-agent] Looking for ssh-agent implementation... 05:57:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:57:04 $ docker exec b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e ssh-agent 05:57:04 SSH_AUTH_SOCK=/tmp/ssh-91KreEkdfabw/agent.46 05:57:04 SSH_AGENT_PID=51 05:57:04 Running ssh-add (command line suppressed) 05:57:04 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/private_key_1405515101131157703.key (/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/private_key_1405515101131157703.key) 05:57:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:57:04 + git semver init 05:57:04 # -> Open(): unable to determine branch for HEAD 05:57:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-832/.git 05:57:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-832 05:57:04 # $SEMVER_REMOTE_NAME = origin 05:57:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:57:04 # $SEMVER_USER_NAME = edgex-jenkins 05:57:04 # $SEMVER_BRANCH = PR-832 05:57:04 # $SEMVER_TEMP = /tmp/semver-675328965 05:57:04 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:57:05 # '/tmp/semver-675328965' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-832/.semver' 05:57:05 # -> Force: false 05:57:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-832/.semver [Pipeline] } 05:57:05 $ docker exec --env ******** --env ******** b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e ssh-agent -k 05:57:05 unset SSH_AUTH_SOCK; 05:57:05 unset SSH_AGENT_PID; 05:57:05 echo Agent pid 51 killed; 05:57:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:57:06 + git semver [Pipeline] } 05:57:06 $ docker stop --time=1 b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e 05:57:08 $ docker rm -f b8855d26241088c04d63cbe855fd7c6d4f395c5c59b268e1a84b52b72490df3e [Pipeline] // withDockerContainer [Pipeline] sh 05:57:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:57:09 Stashed 1 file(s) [Pipeline] echo 05:57:09 [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:57:25 Still waiting to schedule task 05:57:25 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-31019’ 05:57:25 Still waiting to schedule task 05:57:25 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:59:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-31020 in /w/workspace/dgexfoundry_device-sdk-go_PR-832 [Pipeline] { [Pipeline] ws 05:59:11 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:59:16 using credential edgex-jenkins-ssh 05:59:16 Cloning the remote Git repository 05:59:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:59:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:59:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:17 > git --version # timeout=10 05:59:17 > git --version # 'git version 2.17.1' 05:59:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:18 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 5dcdf229f075de250373f56c9f7368f0a8357383 05:59:19 Merge succeeded, producing 5dcdf229f075de250373f56c9f7368f0a8357383 05:59:19 Checking out Revision 5dcdf229f075de250373f56c9f7368f0a8357383 (PR-832) 05:59:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:59:18 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:59:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:59:18 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/832/head:refs/remotes/origin/PR-832 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:59:18 > git config core.sparsecheckout # timeout=10 05:59:18 > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 05:59:18 > git remote # timeout=10 05:59:19 > git config --get remote.origin.url # timeout=10 05:59:19 using GIT_SSH to set credentials SSH Credentials for GitHub 05:59:19 > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 05:59:19 > git rev-parse HEAD^{commit} # timeout=10 05:59:19 > git config core.sparsecheckout # timeout=10 05:59:19 > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 05:59:23 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:59:23 > git --version # timeout=10 05:59:23 > git --version # 'git version 2.17.1' 05:59:23 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:25 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:59:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:59:26 + + true 05:59:26 sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:59:28 provisioning config files... 05:59:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6195519208094236696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:29 ---> docker-login.sh 05:59:29 nexus3.edgexfoundry.org:10001 05:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:30 Configure a credential helper to remove this warning. See 05:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:30 05:59:30 Login Succeeded 05:59:30 nexus3.edgexfoundry.org:10002 05:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:31 Configure a credential helper to remove this warning. See 05:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:31 05:59:31 Login Succeeded 05:59:31 nexus3.edgexfoundry.org:10003 05:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:31 Configure a credential helper to remove this warning. See 05:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:31 05:59:31 Login Succeeded 05:59:31 nexus3.edgexfoundry.org:10004 05:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:32 Configure a credential helper to remove this warning. See 05:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:32 05:59:32 Login Succeeded 05:59:32 docker.io 05:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:32 Configure a credential helper to remove this warning. See 05:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:32 05:59:32 Login Succeeded 05:59:32 ---> docker-login.sh ends [Pipeline] } 05:59:32 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:33 ========================================================= 05:59:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:59:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:59:33 + 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:34 Sending build context to Docker daemon 2.289MB 05:59:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:59:34 Step 2/8 : FROM ${BASE} 05:59:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:59:34 5f621e34cdf4: Pulling fs layer 05:59:34 a4357932f1b6: Pulling fs layer 05:59:34 18c013af1878: Pulling fs layer 05:59:34 00ac8860ef70: Pulling fs layer 05:59:34 63d7cb157983: Pulling fs layer 05:59:34 b116817d02f9: Pulling fs layer 05:59:34 745a02a5169b: Pulling fs layer 05:59:34 00ac8860ef70: Waiting 05:59:34 b116817d02f9: Waiting 05:59:34 745a02a5169b: Waiting 05:59:34 63d7cb157983: Waiting 05:59:34 18c013af1878: Download complete 05:59:34 a4357932f1b6: Verifying Checksum 05:59:34 a4357932f1b6: Download complete 05:59:34 63d7cb157983: Verifying Checksum 05:59:34 63d7cb157983: Download complete 05:59:34 b116817d02f9: Verifying Checksum 05:59:34 b116817d02f9: Download complete 05:59:34 5f621e34cdf4: Verifying Checksum 05:59:34 5f621e34cdf4: Download complete 05:59:35 5f621e34cdf4: Pull complete 05:59:35 a4357932f1b6: Pull complete 05:59:36 18c013af1878: Pull complete 05:59:37 745a02a5169b: Verifying Checksum 05:59:37 745a02a5169b: Download complete 05:59:38 00ac8860ef70: Verifying Checksum 05:59:38 00ac8860ef70: Download complete 05:59:48 00ac8860ef70: Pull complete 05:59:49 63d7cb157983: Pull complete 05:59:49 b116817d02f9: Pull complete 05:59:53 745a02a5169b: Pull complete 05:59:53 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:59:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:59:53 ---> b7e6874047d6 05:59:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:56 ---> Running in 3f1da90246a7 05:59:56 Removing intermediate container 3f1da90246a7 05:59:56 ---> c73da926107e 05:59:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:56 ---> Running in f86fd56a8747 05:59:59 Removing intermediate container f86fd56a8747 05:59:59 ---> b2b1f621e178 05:59:59 Step 5/8 : RUN apk add --update --no-cache make git 05:59:59 ---> Running in 9115abcabc71 05:59:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:00:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:00:01 OK: 142 MiB in 39 packages 06:00:02 Removing intermediate container 9115abcabc71 06:00:02 ---> 7b8a6b2b2eaa 06:00:02 Step 6/8 : WORKDIR /device-sdk-go 06:00:02 ---> Running in 66ff22d769c1 06:00:03 Removing intermediate container 66ff22d769c1 06:00:03 ---> e457b6692d6b 06:00:03 Step 7/8 : COPY . . 06:00:04 ---> d275ad04ec26 06:00:04 Step 8/8 : RUN go mod download 06:00:04 ---> Running in 3fe358d682e5 06:00:09 Running on prd-centos7-docker-4c-2g-31021 in /w/workspace/dgexfoundry_device-sdk-go_PR-832 [Pipeline] { [Pipeline] ws 06:00:09 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:00:11 using credential edgex-jenkins-ssh 06:00:11 Cloning the remote Git repository 06:00:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:00:11 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:00:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:00:11 > git --version # timeout=10 06:00:11 > git --version # 'git version 2.24.3' 06:00:11 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:13 Merging remotes/origin/master commit 5b084bdeafa1e122a5c890164a05a3ac30530fc3 into PR head commit 5dcdf229f075de250373f56c9f7368f0a8357383 06:00:13 Merge succeeded, producing 5dcdf229f075de250373f56c9f7368f0a8357383 06:00:13 Checking out Revision 5dcdf229f075de250373f56c9f7368f0a8357383 (PR-832) 06:00:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:00:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:00:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:00:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:00:12 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/832/head:refs/remotes/origin/PR-832 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:00:13 > git config core.sparsecheckout # timeout=10 06:00:13 > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 06:00:13 > git remote # timeout=10 06:00:13 > git config --get remote.origin.url # timeout=10 06:00:13 using GIT_SSH to set credentials SSH Credentials for GitHub 06:00:13 > git merge 5b084bdeafa1e122a5c890164a05a3ac30530fc3 # timeout=10 06:00:13 > git rev-parse HEAD^{commit} # timeout=10 06:00:13 > git config core.sparsecheckout # timeout=10 06:00:13 > git checkout -f 5dcdf229f075de250373f56c9f7368f0a8357383 # timeout=10 06:00:17 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 06:00:17 > git --version # timeout=10 06:00:17 > git --version # 'git version 2.24.3' 06:00:17 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:00:18 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:00:18 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:00:19 + sudo service docker restart 06:00:19 + true 06:00:19 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:00:20 provisioning config files... 06:00:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5780397281074584764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:00:20 ---> docker-login.sh 06:00:20 nexus3.edgexfoundry.org:10001 06:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:21 Configure a credential helper to remove this warning. See 06:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:21 06:00:21 Login Succeeded 06:00:21 nexus3.edgexfoundry.org:10002 06:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:21 Configure a credential helper to remove this warning. See 06:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:21 06:00:21 Login Succeeded 06:00:21 nexus3.edgexfoundry.org:10003 06:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:21 Configure a credential helper to remove this warning. See 06:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:21 06:00:21 Login Succeeded 06:00:21 nexus3.edgexfoundry.org:10004 06:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:21 Configure a credential helper to remove this warning. See 06:00:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:21 06:00:21 Login Succeeded 06:00:21 docker.io 06:00:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:00:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:00:22 Configure a credential helper to remove this warning. See 06:00:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:00:22 06:00:22 Login Succeeded 06:00:22 ---> docker-login.sh ends [Pipeline] } 06:00:22 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:00:22 ========================================================= 06:00:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:00:22 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:00:23 + 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 . 06:00:23 Sending build context to Docker daemon 2.29MB 06:00:23 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:00:23 Step 2/8 : FROM ${BASE} 06:00:23 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:00:23 188c0c94c7c5: Pulling fs layer 06:00:23 0ef7d3d256c8: Pulling fs layer 06:00:23 de9db76c5a1d: Pulling fs layer 06:00:23 bca2f99d35d6: Pulling fs layer 06:00:23 93359f2a8cfa: Pulling fs layer 06:00:23 7c6f9722023f: Pulling fs layer 06:00:23 a35cf1a2eb13: Pulling fs layer 06:00:23 bca2f99d35d6: Waiting 06:00:23 93359f2a8cfa: Waiting 06:00:23 7c6f9722023f: Waiting 06:00:23 a35cf1a2eb13: Waiting 06:00:23 de9db76c5a1d: Verifying Checksum 06:00:23 de9db76c5a1d: Download complete 06:00:23 0ef7d3d256c8: Verifying Checksum 06:00:23 0ef7d3d256c8: Download complete 06:00:23 93359f2a8cfa: Verifying Checksum 06:00:23 93359f2a8cfa: Download complete 06:00:23 7c6f9722023f: Verifying Checksum 06:00:23 7c6f9722023f: Download complete 06:00:23 188c0c94c7c5: Verifying Checksum 06:00:23 188c0c94c7c5: Download complete 06:00:23 188c0c94c7c5: Pull complete 06:00:23 0ef7d3d256c8: Pull complete 06:00:24 de9db76c5a1d: Pull complete 06:00:26 a35cf1a2eb13: Verifying Checksum 06:00:26 a35cf1a2eb13: Download complete 06:00:28 bca2f99d35d6: Verifying Checksum 06:00:28 bca2f99d35d6: Download complete 06:00:31 Removing intermediate container 3fe358d682e5 06:00:31 ---> 7fa5d9eba6d4 06:00:31 Successfully built 7fa5d9eba6d4 06:00:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:00:31 + docker inspect -f . ci-base-image-arm64 06:00:31 . [Pipeline] withDockerContainer 06:00:32 prd-ubuntu18.04-docker-arm64-4c-16g-31020 does not seem to be running inside a container 06:00:32 $ 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:33 bca2f99d35d6: Pull complete 06:00:33 93359f2a8cfa: Pull complete 06:00:33 7c6f9722023f: Pull complete 06:00:33 $ docker top a934b789e09b94d2457a61cf9a4807a174e784f8809f89113243df08b375528f -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:35 + go version 06:00:35 go version go1.15.5 linux/arm64 [Pipeline] } 06:00:35 $ docker stop --time=1 a934b789e09b94d2457a61cf9a4807a174e784f8809f89113243df08b375528f 06:00:36 $ docker rm -f a934b789e09b94d2457a61cf9a4807a174e784f8809f89113243df08b375528f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:00:38 + docker inspect -f . ci-base-image-arm64 06:00:38 . [Pipeline] withDockerContainer 06:00:38 prd-ubuntu18.04-docker-arm64-4c-16g-31020 does not seem to be running inside a container 06:00:38 $ 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:40 $ docker top 4afb52647df9fe480cb1f3295b75d25c0a685f93aa6db04bc38ab8278834cec3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:41 + make test 06:00:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:00:43 a35cf1a2eb13: Pull complete 06:00:43 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:00:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:00:43 ---> a62c8e92a672 06:00:43 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:00:43 ---> Running in 96887741e830 06:00:43 Removing intermediate container 96887741e830 06:00:43 ---> febc4a1f5ba6 06:00:43 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:00:43 ---> Running in a417fd5b07e7 06:00:44 Removing intermediate container a417fd5b07e7 06:00:44 ---> 9805b446c3ca 06:00:44 Step 5/8 : RUN apk add --update --no-cache make git 06:00:44 ---> Running in 5bbd9841186c 06:00:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:00:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:00:45 OK: 166 MiB in 39 packages 06:00:46 Removing intermediate container 5bbd9841186c 06:00:46 ---> bfdd56fb55af 06:00:46 Step 6/8 : WORKDIR /device-sdk-go 06:00:46 ---> Running in 855631e4d27d 06:00:46 Removing intermediate container 855631e4d27d 06:00:46 ---> b7152a64df12 06:00:46 Step 7/8 : COPY . . 06:00:47 ---> 9ae38b27dc96 06:00:47 Step 8/8 : RUN go mod download 06:00:47 ---> Running in a983da5933db 06:01:03 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:01:09 Removing intermediate container a983da5933db 06:01:09 ---> 1e968872ffba 06:01:09 Successfully built 1e968872ffba 06:01:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:01:10 + docker inspect -f . ci-base-image-x86_64 06:01:10 . [Pipeline] withDockerContainer 06:01:10 prd-centos7-docker-4c-2g-31021 does not seem to be running inside a container 06:01: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 ******** ci-base-image-x86_64 cat 06:01:11 $ docker top 39c0669ac84652a3b0a9d65cc1313ac9fe5b1f6125481b8177c611b598b9c75e -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:11 + go version 06:01:11 go version go1.15.5 linux/amd64 [Pipeline] } 06:01:12 $ docker stop --time=1 39c0669ac84652a3b0a9d65cc1313ac9fe5b1f6125481b8177c611b598b9c75e 06:01:13 $ docker rm -f 39c0669ac84652a3b0a9d65cc1313ac9fe5b1f6125481b8177c611b598b9c75e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:01:14 + docker inspect -f . ci-base-image-x86_64 06:01:14 . [Pipeline] withDockerContainer 06:01:14 prd-centos7-docker-4c-2g-31021 does not seem to be running inside a container 06:01:14 $ 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:01:15 $ docker top 037c66f5bed45371bdb4b8ba456907fd06ec66ae7bc62179abc514ebc7d7c6a6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:15 + make test 06:01:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:01:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:01:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.0% of statements 06:01:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.067s coverage: 81.2% of statements 06:01:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:01:50 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:01:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:01:50 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:01:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.116s coverage: 27.0% of statements 06:01:50 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.151s coverage: 81.2% of statements 06:02:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 10.5% of statements 06:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:02:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.5% of statements 06:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:02:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 57.3% of statements 06:02:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.156s coverage: 6.6% of statements 06:02:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 5.1% of statements 06:02:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:02:13 GO111MODULE=on go vet ./... 06:02:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.118s coverage: 10.5% of statements 06:02:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 06:02:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:02:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.195s coverage: 32.5% of statements 06:02:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:02:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:02:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:02:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.239s coverage: 57.3% of statements 06:02:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.887s coverage: 6.6% of statements 06:02:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.127s coverage: 5.1% of statements 06:02:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:02:17 GO111MODULE=on go vet ./... 06:02:21 gofmt -l . 06:02:21 [ "`gofmt -l .`" = "" ] 06:02:21 ./bin/test-attribution-txt.sh 06:02:22 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:02:22 $ docker stop --time=1 037c66f5bed45371bdb4b8ba456907fd06ec66ae7bc62179abc514ebc7d7c6a6 06:02:24 $ docker rm -f 037c66f5bed45371bdb4b8ba456907fd06ec66ae7bc62179abc514ebc7d7c6a6 [Pipeline] // withDockerContainer [Pipeline] sh 06:02:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:02:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:02:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:29 + ls -al . 06:02:29 total 184 06:02:29 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 23 06:02 . 06:02:29 drwxrwxr-x. 4 jenkins jenkins 28 Mar 23 06:00 .. 06:02:29 drwxrwxr-x. 2 jenkins jenkins 64 Mar 23 06:00 bin 06:02:29 -rw-r--r--. 1 jenkins jenkins 99587 Mar 23 06:02 coverage.out 06:02:29 -rw-rw-r--. 1 jenkins jenkins 949 Mar 23 06:00 Dockerfile.build 06:02:29 -rw-rw-r--. 1 jenkins jenkins 140 Mar 23 06:00 .dockerignore 06:02:29 drwxrwxr-x. 4 jenkins jenkins 48 Mar 23 06:00 example 06:02:29 drwxrwxr-x. 8 jenkins jenkins 179 Mar 23 06:00 .git 06:02:29 drwxrwxr-x. 2 jenkins jenkins 103 Mar 23 06:00 .github 06:02:29 -rw-rw-r--. 1 jenkins jenkins 138 Mar 23 06:00 .gitignore 06:02:29 -rw-r--r--. 1 jenkins jenkins 479 Mar 23 06:02 go.mod 06:02:29 -rw-r--r--. 1 jenkins jenkins 17372 Mar 23 06:02 go.sum 06:02:29 drwxrwxr-x. 13 jenkins jenkins 193 Mar 23 06:00 internal 06:02:29 -rw-rw-r--. 1 jenkins jenkins 901 Mar 23 06:00 Jenkinsfile 06:02:29 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 23 06:00 LICENSE 06:02:29 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 23 06:00 Makefile 06:02:29 drwxrwxr-x. 4 jenkins jenkins 26 Mar 23 06:00 openapi 06:02:29 drwxrwxr-x. 5 jenkins jenkins 50 Mar 23 06:00 pkg 06:02:29 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 23 06:00 README.md 06:02:29 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 23 06:00 RELEASE-NOTES.txt 06:02:29 drwxrwxr-x. 4 jenkins jenkins 54 Mar 23 06:00 snap 06:02:29 -rw-rw-r--. 1 jenkins jenkins 5 Mar 23 05:57 VERSION 06:02:29 -rw-rw-r--. 1 jenkins jenkins 222 Mar 23 06:00 version.go [Pipeline] isUnix [Pipeline] sh 06:02:29 + 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=5dcdf229f075de250373f56c9f7368f0a8357383 --label arch=amd64 --label version=0.0.0 . 06:02:29 Sending build context to Docker daemon 2.391MB 06:02:29 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:02:29 Step 2/24 : FROM ${BASE} AS builder 06:02:29 ---> 1e968872ffba 06:02:29 Step 3/24 : ARG MAKE='make build' 06:02:30 ---> Running in 2fad8548f948 06:02:30 Removing intermediate container 2fad8548f948 06:02:30 ---> 0f1f76ebfdfb 06:02:30 Step 4/24 : WORKDIR /device-sdk-go 06:02:30 ---> Running in 1d8cba739523 06:02:30 Removing intermediate container 1d8cba739523 06:02:30 ---> 5c5512bea900 06:02:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:30 ---> Running in cf94bfa9c1db 06:02:31 Removing intermediate container cf94bfa9c1db 06:02:31 ---> 673ca4b962f6 06:02:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:02:31 ---> Running in 12d52894407f 06:02:32 Removing intermediate container 12d52894407f 06:02:32 ---> 4d9f029b8fdc 06:02:32 Step 7/24 : RUN apk add --update --no-cache make git 06:02:32 ---> Running in 619bfd44ac3f 06:02:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:02:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:02:34 OK: 166 MiB in 39 packages 06:02:34 Removing intermediate container 619bfd44ac3f 06:02:34 ---> be66780130fb 06:02:34 Step 8/24 : COPY . . 06:02:35 ---> efb8e586cdce 06:02:35 Step 9/24 : RUN ${MAKE} 06:02:35 ---> Running in 295faf3bdf89 06:02:36 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 06:02:46 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:02:47 Removing intermediate container 295faf3bdf89 06:02:47 ---> 7f487e75a65c 06:02:47 Step 10/24 : FROM scratch 06:02:47 ---> 06:02:47 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:47 ---> Running in ae78e4411d08 06:02:47 Removing intermediate container ae78e4411d08 06:02:47 ---> 31d2315f3881 06:02:47 Step 12/24 : ENV APP_PORT=49990 06:02:47 ---> Running in 6f04a979e389 06:02:47 Removing intermediate container 6f04a979e389 06:02:47 ---> 1323312b18b2 06:02:47 Step 13/24 : EXPOSE $APP_PORT 06:02:47 ---> Running in 22ef433a5366 06:02:48 Removing intermediate container 22ef433a5366 06:02:48 ---> af89b77f479f 06:02:48 Step 14/24 : WORKDIR / 06:02:48 ---> Running in c363d437b8c2 06:02:48 Removing intermediate container c363d437b8c2 06:02:48 ---> fcbfb14b3b42 06:02:48 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:02:48 ---> ec282c81da4b 06:02:48 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:02:49 ---> 364c2e54f9cf 06:02:49 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:02:49 ---> 5c5d3dc44a6f 06:02:49 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:02:49 ---> 00078146e0cd 06:02:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:02:49 gofmt -l . 06:02:49 [ "`gofmt -l .`" = "" ] 06:02:49 ./bin/test-attribution-txt.sh 06:02:50 ---> b90ad4db8f4f 06:02:50 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:02:50 ---> Running in 637875525a33 06:02:50 Removing intermediate container 637875525a33 06:02:50 ---> e23dadd628d8 06:02:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:02:50 ---> Running in 6ac8f6f999ee 06:02:50 Removing intermediate container 6ac8f6f999ee 06:02:50 ---> 62162fd8c838 06:02:50 Step 22/24 : LABEL arch=amd64 06:02:50 ---> Running in 2c410a19aa03 06:02:50 Removing intermediate container 2c410a19aa03 06:02:50 ---> 830e8b0510c0 06:02:50 Step 23/24 : LABEL git_sha=5dcdf229f075de250373f56c9f7368f0a8357383 06:02:50 ---> Running in bf0b4e1ae7a4 06:02:50 Removing intermediate container bf0b4e1ae7a4 06:02:50 ---> 4be08a3ea881 06:02:50 Step 24/24 : LABEL version=0.0.0 06:02:50 ---> Running in f615156a053c 06:02:51 Removing intermediate container f615156a053c 06:02:51 ---> 6d5f46460320 06:02:51 [Warning] One or more build-args [ARCH] were not consumed 06:02:51 Successfully built 6d5f46460320 06:02:51 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 06:02:51 ./bin/test-go-mod-tidy.sh Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] } 06:02:51 $ docker stop --time=1 4afb52647df9fe480cb1f3295b75d25c0a685f93aa6db04bc38ab8278834cec3 06:02:54 $ docker rm -f 4afb52647df9fe480cb1f3295b75d25c0a685f93aa6db04bc38ab8278834cec3 [Pipeline] // withDockerContainer [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage 06:02:55 + sudo chown -R jenkins:jenkins . [Pipeline] libraryResource [Pipeline] sh [Pipeline] stash 06:02:55 Warning: overwriting stash ‘coverage-report’ 06:02:55 ---> job-cost.sh 06:02:55 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-DZ2S 06:02:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:02:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:02:57 + ls -al . 06:02:57 total 220 06:02:57 drwxrwxr-x 10 jenkins jenkins 4096 Mar 23 06:02 . 06:02:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 05:59 .. 06:02:57 -rw-rw-r-- 1 jenkins jenkins 140 Mar 23 05:59 .dockerignore 06:02:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 23 05:59 .git 06:02:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 05:59 .github 06:02:57 -rw-rw-r-- 1 jenkins jenkins 138 Mar 23 05:59 .gitignore 06:02:57 -rw-rw-r-- 1 jenkins jenkins 949 Mar 23 05:59 Dockerfile.build 06:02:57 -rw-rw-r-- 1 jenkins jenkins 901 Mar 23 05:59 Jenkinsfile 06:02:57 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 23 05:59 LICENSE 06:02:57 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 23 05:59 Makefile 06:02:57 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 23 05:59 README.md 06:02:57 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 23 05:59 RELEASE-NOTES.txt 06:02:57 -rw-rw-r-- 1 jenkins jenkins 5 Mar 23 05:57 VERSION 06:02:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 23 05:59 bin 06:02:57 -rw-r--r-- 1 jenkins jenkins 99588 Mar 23 06:02 coverage.out 06:02:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 05:59 example 06:02:57 -rw-r--r-- 1 jenkins jenkins 479 Mar 23 06:02 go.mod 06:02:57 -rw-r--r-- 1 jenkins jenkins 17372 Mar 23 06:02 go.sum 06:02:57 drwxrwxr-x 13 jenkins jenkins 4096 Mar 23 05:59 internal 06:02:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 05:59 openapi 06:02:57 drwxrwxr-x 5 jenkins jenkins 4096 Mar 23 05:59 pkg 06:02:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 23 05:59 snap 06:02:57 -rw-rw-r-- 1 jenkins jenkins 222 Mar 23 05:59 version.go [Pipeline] isUnix [Pipeline] sh 06:02:58 + 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=5dcdf229f075de250373f56c9f7368f0a8357383 --label arch=arm64 --label version=0.0.0 . 06:02:58 Sending build context to Docker daemon 2.39MB 06:02:58 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:02:58 Step 2/24 : FROM ${BASE} AS builder 06:02:58 ---> 7fa5d9eba6d4 06:02:58 Step 3/24 : ARG MAKE='make build' 06:02:58 ---> Running in 3f3b7066fc89 06:02:59 Removing intermediate container 3f3b7066fc89 06:02:59 ---> 1bb8c56f57b9 06:02:59 Step 4/24 : WORKDIR /device-sdk-go 06:02:59 ---> Running in 15866bd676b7 06:02:59 Removing intermediate container 15866bd676b7 06:02:59 ---> 53b961d1edfb 06:02:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:02:59 ---> Running in 0bb8ef007823 06:03:00 Removing intermediate container 0bb8ef007823 06:03:00 ---> cdefded61f45 06:03:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:03:00 ---> Running in 3dd5b92b84fd 06:03:02 Removing intermediate container 3dd5b92b84fd 06:03:02 ---> a0f6fde5fdf1 06:03:02 Step 7/24 : RUN apk add --update --no-cache make git 06:03:02 ---> Running in f28a2edfeda7 06:03:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:03:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:03:05 OK: 142 MiB in 39 packages 06:03:06 Removing intermediate container f28a2edfeda7 06:03:06 ---> 20cb6fac4fbb 06:03:06 Step 8/24 : COPY . . 06:03:07 ---> 45476fd566ec 06:03:07 Step 9/24 : RUN ${MAKE} 06:03:07 ---> Running in e953af37a6a2 06:03:08 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 06:03:10 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:03:35 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:03:36 Removing intermediate container e953af37a6a2 06:03:36 ---> ae6572c435d0 06:03:36 Step 10/24 : FROM scratch 06:03:36 ---> 06:03:36 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:03:36 ---> Running in b76f2af823d1 06:03:36 Removing intermediate container b76f2af823d1 06:03:36 ---> 1a5823e4954c 06:03:36 Step 12/24 : ENV APP_PORT=49990 06:03:36 ---> Running in 55fdb0e79318 06:03:37 Removing intermediate container 55fdb0e79318 06:03:37 ---> 81d9c80668ca 06:03:37 Step 13/24 : EXPOSE $APP_PORT 06:03:37 ---> Running in d9fbb3eae67f 06:03:37 lf-activate-venv(): INFO: Adding /tmp/venv-DZ2S/bin to PATH 06:03:37 INFO: No Stack... 06:03:37 Removing intermediate container d9fbb3eae67f 06:03:37 ---> cceb6fe6c64b 06:03:37 Step 14/24 : WORKDIR / 06:03:37 ---> Running in 25be8b62a460 06:03:37 INFO: Retrieving Pricing Info for: v1-standard-2 06:03:38 Removing intermediate container 25be8b62a460 06:03:38 ---> ebb224f863fa 06:03:38 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:03:39 INFO: Archiving Costs [Pipeline] sh 06:03:39 ---> 5004ff70085c 06:03:39 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:03:39 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 06:03:39 + cut -d, -f6 [Pipeline] lock 06:03:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] 06:03:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] did not exist. Created. 06:03:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:03:39 ---> 33927c71a01d 06:03:39 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:03:40 + echo total: 0.029999999329447746 [Pipeline] stash 06:03:40 Stashed 1 file(s) [Pipeline] } 06:03:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] 06:03:40 ---> ad8b08f79bc8 06:03:40 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:03:41 ---> 63095a294cc8 06:03:41 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:03:42 ---> e82fd82f60fb 06:03:42 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:03:42 ---> Running in 0d1d126ff0e9 06:03:42 Removing intermediate container 0d1d126ff0e9 06:03:42 ---> 526aa1b7f59c 06:03:42 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:03:42 ---> Running in 1e5a6aa7db91 06:03:43 Removing intermediate container 1e5a6aa7db91 06:03:43 ---> 1792488ff725 06:03:43 Step 22/24 : LABEL arch=arm64 06:03:43 ---> Running in 265acf088f47 06:03:43 Removing intermediate container 265acf088f47 06:03:43 ---> 78d1f9ec7872 06:03:43 Step 23/24 : LABEL git_sha=5dcdf229f075de250373f56c9f7368f0a8357383 06:03:43 ---> Running in ba70a7044cf7 06:03:44 Removing intermediate container ba70a7044cf7 06:03:44 ---> 90c30bf06f05 06:03:44 Step 24/24 : LABEL version=0.0.0 06:03:44 ---> Running in 4fc2f23e811f 06:03:45 Removing intermediate container 4fc2f23e811f 06:03:45 ---> b2e454d3284a 06:03:45 [Warning] One or more build-args [ARCH] were not consumed 06:03:45 Successfully built b2e454d3284a 06:03:45 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:46 ---> job-cost.sh 06:03:46 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-jX5F 06:04:25 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:06:02 lf-activate-venv(): INFO: Adding /tmp/venv-jX5F/bin to PATH 06:06:02 INFO: No Stack... 06:06:02 INFO: Retrieving Pricing Info for: lf-standard-4 06:06:02 INFO: Archiving Costs [Pipeline] sh 06:06:03 + + cut -d,cat -f6 /w/workspace/device-sdk-go/1/archives/cost.csv 06:06:03 [Pipeline] lock 06:06:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] 06:06:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] did not exist. Created. 06:06:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-832-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:03 /w/workspace/device-sdk-go/1@tmp/durable-d75a4ceb/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-d75a4ceb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:06:04 + echo total: 0.20999999344348907 [Pipeline] stash 06:06:04 Warning: overwriting stash ‘stack-cost’ 06:06:04 Stashed 1 file(s) [Pipeline] } 06:06:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-832-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:06 provisioning config files... 06:06:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/config141519277595896127tmp [Pipeline] { [Pipeline] sh 06:06:06 + set +x 06:06:06 + curl -s https://codecov.io/bash 06:06:06 + bash -s -- 06:06:07 06:06:07 _____ _ 06:06:07 / ____| | | 06:06:07 | | ___ __| | ___ ___ _____ __ 06:06:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:06:07 | |___| (_) | (_| | __/ (_| (_) \ V / 06:06:07 \_____\___/ \__,_|\___|\___\___/ \_/ 06:06:07 Bash-20210309-2b87ace 06:06:07 06:06:07 06:06:07 ==> git version 2.24.3 found 06:06:07 ==> 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:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:06:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:06:07 ==> Jenkins CI detected. 06:06:07 project root: . 06:06:07 --> token set from env 06:06:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:06:07 ==> Running gcov in . (disable via -X gcov) 06:06:07 ==> Python coveragepy not found 06:06:07 ==> Searching for coverage reports in: 06:06:07 + . 06:06:07 -> Found 1 reports 06:06:07 ==> Detecting git/mercurial file structure 06:06:07 ==> Reading reports 06:06:07 + ./coverage.out bytes=99588 06:06:07 ==> Appending adjustments 06:06:07 https://docs.codecov.io/docs/fixing-reports 06:06:07 + Found adjustments 06:06:07 ==> Gzipping contents 06:06:07 16K /tmp/codecov.AkCaFH.gz 06:06:07 ==> Uploading reports 06:06:07 url: https://codecov.io 06:06:07 query: branch=PR-832&commit=5dcdf229f075de250373f56c9f7368f0a8357383&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-832%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=832&job=&cmd_args= 06:06:07 -> Pinging Codecov 06:06:07 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-832&commit=5dcdf229f075de250373f56c9f7368f0a8357383&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-832%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=832&job=&cmd_args= 06:06:08 -> Uploading to 06:06:08 https://storage.googleapis.com/codecov/v4/raw/2021-03-23/7E55EF52A471D76F132DFD9A03CDDE97/5dcdf229f075de250373f56c9f7368f0a8357383/0bd0fda9-e944-4716-92dd-2eefead289ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210323%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210323T060608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c5cb261c28e52fd94d7695c105b0ee6f9b88af0244d90eb75e9e107b7a935ffa 06:06:08 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:08 Dload Upload Total Spent Left Speed 06:06:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13453 0 0 100 13453 0 23235 --:--:-- --:--:-- --:--:-- 23234 100 13453 0 0 100 13453 0 23229 --:--:-- --:--:-- --:--:-- 23234 06:06:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5dcdf229f075de250373f56c9f7368f0a8357383 [Pipeline] } 06:06:09 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:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:06:13 ---> package-listing.sh 06:06:13 ++ tr '[:upper:]' '[:lower:]' 06:06:13 ++ facter osfamily 06:06:13 + OS_FAMILY=redhat 06:06:13 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-832 06:06:13 + START_PACKAGES=/tmp/packages_start.txt 06:06:13 + END_PACKAGES=/tmp/packages_end.txt 06:06:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:06:13 + PACKAGES=/tmp/packages_start.txt 06:06:13 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-832 ']' 06:06:13 + PACKAGES=/tmp/packages_end.txt 06:06:13 + case "${OS_FAMILY}" in 06:06:13 + rpm -qa 06:06:13 + sort 06:06:18 + '[' -f /tmp/packages_start.txt ']' 06:06:18 + '[' -f /tmp/packages_end.txt ']' 06:06:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:06:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-832 ']' 06:06:18 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-832/archives/ 06:06:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-832/archives/ [Pipeline] echo 06:06:18 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-832/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:06:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:06:19 06:06:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:06:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:06:19 alpine: Pulling from edgex-lftools-log-publisher 06:06:19 df20fa9351a1: Pulling fs layer 06:06:19 36b3adc4ff6f: Pulling fs layer 06:06:19 8ad3a11d3b57: Pulling fs layer 06:06:19 46f8f816bc3b: Pulling fs layer 06:06:19 93b61091891f: Pulling fs layer 06:06:19 93b9cdb0e59b: Pulling fs layer 06:06:19 5e14af77c1be: Pulling fs layer 06:06:19 01666e4c0597: Pulling fs layer 06:06:19 aa168da1d23b: Pulling fs layer 06:06:19 93b61091891f: Waiting 06:06:19 93b9cdb0e59b: Waiting 06:06:19 5e14af77c1be: Waiting 06:06:19 01666e4c0597: Waiting 06:06:19 aa168da1d23b: Waiting 06:06:19 46f8f816bc3b: Waiting 06:06:19 36b3adc4ff6f: Verifying Checksum 06:06:19 36b3adc4ff6f: Download complete 06:06:19 46f8f816bc3b: Verifying Checksum 06:06:19 46f8f816bc3b: Download complete 06:06:19 df20fa9351a1: Verifying Checksum 06:06:19 df20fa9351a1: Download complete 06:06:19 93b9cdb0e59b: Verifying Checksum 06:06:19 93b9cdb0e59b: Download complete 06:06:19 5e14af77c1be: Verifying Checksum 06:06:19 5e14af77c1be: Download complete 06:06:19 93b61091891f: Verifying Checksum 06:06:19 93b61091891f: Download complete 06:06:19 01666e4c0597: Download complete 06:06:20 df20fa9351a1: Pull complete 06:06:20 36b3adc4ff6f: Pull complete 06:06:20 8ad3a11d3b57: Verifying Checksum 06:06:20 8ad3a11d3b57: Download complete 06:06:21 8ad3a11d3b57: Pull complete 06:06:21 46f8f816bc3b: Pull complete 06:06:22 93b61091891f: Pull complete 06:06:22 93b9cdb0e59b: Pull complete 06:06:22 5e14af77c1be: Pull complete 06:06:22 aa168da1d23b: Verifying Checksum 06:06:22 aa168da1d23b: Download complete 06:06:22 01666e4c0597: Pull complete 06:06:29 aa168da1d23b: Pull complete 06:06:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:06:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:06:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:06:29 prd-centos7-docker-4c-2g-31019 does not seem to be running inside a container 06:06:29 $ 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-832/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-832 -v /w/workspace/dgexfoundry_device-sdk-go_PR-832:/w/workspace/dgexfoundry_device-sdk-go_PR-832:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-832@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:06:33 $ docker top 738995460f2cef25422c76349e28fd144af5b24fc74a40bd19728a0cdde9e655 -eo pid,comm [Pipeline] { [Pipeline] sh 06:06:33 + touch /tmp/pre-build-complete [Pipeline] sh 06:06:34 + mkdir -p /var/log/sa [Pipeline] sh 06:06:34 + ls /var/log/sa-host 06:06:34 + sadf -c /var/log/sa-host/sa23 06:06:34 file_magic: OK 06:06:34 HZ: Using current value: 100 06:06:34 file_header: OK 06:06:34 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:06:34 Statistics: 06:06:34 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:06:34 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:35 provisioning config files... 06:06:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-832@tmp/config3012842508015256737tmp [Pipeline] { [Pipeline] echo 06:06:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:06:35 ---> create-netrc.sh [Pipeline] } 06:06:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:06:35 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:06:36 ---> python-tools-install.sh [Pipeline] echo 06:06:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:06:36 ---> sudo-logs.sh 06:06:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:06:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:06:36 ---> job-cost.sh 06:06:36 lf-activate-venv: SKIPPING 06:06:36 DEBUG: total: 0.20999999344348907 06:06:36 INFO: Retrieving Stack Cost... 06:06:38 INFO: Retrieving Pricing Info for: v1-standard-2 06:06:39 INFO: Archiving Costs [Pipeline] echo 06:06:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:06:39 ---> logs-deploy.sh 06:06:39 lf-activate-venv: SKIPPING 06:06:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-832/1 06:06:39 INFO: archiving workspace using pattern(s): 06:06:41 Archives upload complete. 06:06:41 INFO: archiving logs to Nexus