Pull request #821 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 993ed365126e9ffa3ca2265c9421eafee55cea21+79c51434d0b6ff974f0a74c9d16ec224deffdcc1 (8e44363af7618a211c4ea5995a4106df18e6597d) 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-821/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 878f1b5bff316b9f7b5d8f8b1d22b752867b496c # timeout=10 Commit message: "Merge pull request #321 from ernestojeda/email-fix-generateEmailTemplate" > 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-821/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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 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-30125 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [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-821 # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 993ed365126e9ffa3ca2265c9421eafee55cea21 > 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/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing 993ed365126e9ffa3ca2265c9421eafee55cea21 Checking out Revision 993ed365126e9ffa3ca2265c9421eafee55cea21 (PR-821) > git config core.sparsecheckout # timeout=10 > git checkout -f 993ed365126e9ffa3ca2265c9421eafee55cea21 # 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 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 993ed365126e9ffa3ca2265c9421eafee55cea21 # 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 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:51:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:51:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:51:54 ========================================================= 05:51:54 EdgeX Global Pipelines Version Info 05:51:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:51:55 ------------------- 05:51:55 stable info: 05:51:55 ------------------- 05:51:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:51:55 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:51:55 Message: update stable to v1.0.184 05:51:56 ------------------- 05:51:56 experimental info: 05:51:56 ------------------- 05:51:56 Commited By: **** collab-it+edgex@linuxfoundation.org 05:51:56 Commit SHA: 878f1b5bff316b9f7b5d8f8b1d22b752867b496c 05:51:56 Message: update experimental to v1.0.184 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:51:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:51:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:51:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:51:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:51:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:51:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:51:57 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:51:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:51:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:51:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:51:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:51:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:51:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:51:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:51:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:51:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:51:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:52:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:52:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:52:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:52:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-821 [Pipeline] echo 05:52:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-821 [Pipeline] echo 05:52:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-821 [Pipeline] echo 05:52:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 993ed365126e9ffa3ca2265c9421eafee55cea21 [Pipeline] echo 05:52:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 993ed36 [Pipeline] echo 05:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:52:01 provisioning config files... 05:52:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config2727157530337008545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:52:01 ---> docker-login.sh 05:52:01 nexus3.edgexfoundry.org:10001 05:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:02 Configure a credential helper to remove this warning. See 05:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:02 05:52:02 Login Succeeded 05:52:02 nexus3.edgexfoundry.org:10002 05:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:02 Configure a credential helper to remove this warning. See 05:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:02 05:52:02 Login Succeeded 05:52:02 nexus3.edgexfoundry.org:10003 05:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:02 Configure a credential helper to remove this warning. See 05:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:02 05:52:02 Login Succeeded 05:52:02 nexus3.edgexfoundry.org:10004 05:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:02 Configure a credential helper to remove this warning. See 05:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:02 05:52:02 Login Succeeded 05:52:02 docker.io 05:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:52:03 Configure a credential helper to remove this warning. See 05:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:52:03 05:52:03 Login Succeeded 05:52:03 ---> docker-login.sh ends [Pipeline] } 05:52:03 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:52:04 + git log --format=format:%s -1 993ed365126e9ffa3ca2265c9421eafee55cea21 [Pipeline] echo 05:52:04 GIT_COMMIT: 993ed365126e9ffa3ca2265c9421eafee55cea21, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 05:52:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:05 05:52:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:52:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:06 latest: Pulling from edgex-devops/git-semver 05:52:06 31603596830f: Pulling fs layer 05:52:06 2a8b12db71e7: Pulling fs layer 05:52:06 6ca5941a6612: Pulling fs layer 05:52:06 ecc8261a40a4: Pulling fs layer 05:52:06 ecc8261a40a4: Waiting 05:52:06 2a8b12db71e7: Verifying Checksum 05:52:06 2a8b12db71e7: Download complete 05:52:06 31603596830f: Verifying Checksum 05:52:06 31603596830f: Download complete 05:52:06 6ca5941a6612: Verifying Checksum 05:52:06 6ca5941a6612: Download complete 05:52:06 ecc8261a40a4: Verifying Checksum 05:52:06 ecc8261a40a4: Download complete 05:52:06 31603596830f: Pull complete 05:52:06 2a8b12db71e7: Pull complete 05:52:07 6ca5941a6612: Pull complete 05:52:07 ecc8261a40a4: Pull complete 05:52:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:52:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:52:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:52:08 prd-centos7-docker-4c-2g-30125 does not seem to be running inside a container 05:52:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-821 -v /w/workspace/dgexfoundry_device-sdk-go_PR-821:/w/workspace/dgexfoundry_device-sdk-go_PR-821:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-821@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:52:09 $ docker top 7477dff8d1f19961f2d0b7dd5ac06a64df6ddaaddf3c9a56484e26f022e1aa5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:10 [ssh-agent] Looking for ssh-agent implementation... 05:52:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:10 $ docker exec 7477dff8d1f19961f2d0b7dd5ac06a64df6ddaaddf3c9a56484e26f022e1aa5e ssh-agent 05:52:10 SSH_AUTH_SOCK=/tmp/ssh-fIJxnM5ZGxJX/agent.11 05:52:10 SSH_AGENT_PID=16 05:52:10 Running ssh-add (command line suppressed) 05:52:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_2396031493972571284.key (/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_2396031493972571284.key) 05:52:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:11 + git tag --points-at HEAD [Pipeline] } 05:52:11 $ docker exec --env ******** --env ******** 7477dff8d1f19961f2d0b7dd5ac06a64df6ddaaddf3c9a56484e26f022e1aa5e ssh-agent -k 05:52:11 unset SSH_AUTH_SOCK; 05:52:11 unset SSH_AGENT_PID; 05:52:11 echo Agent pid 16 killed; 05:52:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:52:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:11 [ssh-agent] Looking for ssh-agent implementation... 05:52:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:11 $ docker exec 7477dff8d1f19961f2d0b7dd5ac06a64df6ddaaddf3c9a56484e26f022e1aa5e ssh-agent 05:52:12 SSH_AUTH_SOCK=/tmp/ssh-R3IJt4wFbjcg/agent.45 05:52:12 SSH_AGENT_PID=50 05:52:12 Running ssh-add (command line suppressed) 05:52:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_1239017890408930942.key (/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/private_key_1239017890408930942.key) 05:52:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:12 + git semver init 05:52:12 # -> Open(): unable to determine branch for HEAD 05:52:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-821/.git 05:52:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-821 05:52:12 # $SEMVER_REMOTE_NAME = origin 05:52:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:52:12 # $SEMVER_USER_NAME = edgex-jenkins 05:52:12 # $SEMVER_BRANCH = PR-821 05:52:12 # $SEMVER_TEMP = /tmp/semver-814779624 05:52:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:52:13 # '/tmp/semver-814779624' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-821/.semver' 05:52:13 # -> Force: false 05:52:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-821/.semver [Pipeline] } 05:52:13 $ docker exec --env ******** --env ******** 7477dff8d1f19961f2d0b7dd5ac06a64df6ddaaddf3c9a56484e26f022e1aa5e ssh-agent -k 05:52:13 unset SSH_AUTH_SOCK; 05:52:13 unset SSH_AGENT_PID; 05:52:13 echo Agent pid 50 killed; 05:52:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:14 + git semver [Pipeline] } 05:52:14 $ docker stop --time=1 7477dff8d1f19961f2d0b7dd5ac06a64df6ddaaddf3c9a56484e26f022e1aa5e 05:52:15 $ docker rm -f 7477dff8d1f19961f2d0b7dd5ac06a64df6ddaaddf3c9a56484e26f022e1aa5e [Pipeline] // withDockerContainer [Pipeline] sh 05:52:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:52:16 Stashed 1 file(s) [Pipeline] echo 05:52:16 [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:52:32 Still waiting to schedule task 05:52:32 ‘prd-centos7-docker-4c-2g-30126’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-27930’ doesn’t have label ‘centos7-docker-4c-2g’ 05:52:32 Still waiting to schedule task 05:52:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:54:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-30127 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [Pipeline] { [Pipeline] ws 05:54:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:54:12 using credential edgex-jenkins-ssh 05:54:12 Cloning the remote Git repository 05:54:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:54:12 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:54:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:54:12 > git --version # timeout=10 05:54:12 > git --version # 'git version 2.17.1' 05:54:12 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:54:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:54:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:54:13 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:14 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 993ed365126e9ffa3ca2265c9421eafee55cea21 05:54:14 Merge succeeded, producing 993ed365126e9ffa3ca2265c9421eafee55cea21 05:54:14 Checking out Revision 993ed365126e9ffa3ca2265c9421eafee55cea21 (PR-821) 05:54:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:54:14 > git config core.sparsecheckout # timeout=10 05:54:14 > git checkout -f 993ed365126e9ffa3ca2265c9421eafee55cea21 # timeout=10 05:54:14 > git remote # timeout=10 05:54:14 > git config --get remote.origin.url # timeout=10 05:54:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:14 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 05:54:14 > git rev-parse HEAD^{commit} # timeout=10 05:54:14 > git config core.sparsecheckout # timeout=10 05:54:14 > git checkout -f 993ed365126e9ffa3ca2265c9421eafee55cea21 # timeout=10 05:54:18 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:54:18 > git --version # timeout=10 05:54:18 > git --version # 'git version 2.17.1' 05:54:18 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:20 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:54:21 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:54:21 + true 05:54:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:54:24 provisioning config files... 05:54:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1065497624918659593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:24 ---> docker-login.sh 05:54:24 nexus3.edgexfoundry.org:10001 05:54:25 Running on prd-centos7-docker-4c-2g-30128 in /w/workspace/dgexfoundry_device-sdk-go_PR-821 [Pipeline] { [Pipeline] ws 05:54:25 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:54:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:26 Configure a credential helper to remove this warning. See 05:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:26 05:54:26 Login Succeeded 05:54:26 nexus3.edgexfoundry.org:10002 05:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:26 Configure a credential helper to remove this warning. See 05:54:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:26 05:54:26 Login Succeeded 05:54:26 nexus3.edgexfoundry.org:10003 05:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:27 Configure a credential helper to remove this warning. See 05:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:27 05:54:27 Login Succeeded 05:54:27 nexus3.edgexfoundry.org:10004 05:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:27 Configure a credential helper to remove this warning. See 05:54:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:27 05:54:27 Login Succeeded 05:54:27 docker.io 05:54:27 using credential edgex-jenkins-ssh 05:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:27 Cloning the remote Git repository 05:54:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:28 Configure a credential helper to remove this warning. See 05:54:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:28 05:54:28 Login Succeeded 05:54:28 ---> docker-login.sh ends [Pipeline] } 05:54:28 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:28 ========================================================= 05:54:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:54:28 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:54:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:54:27 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:54:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:54:27 > git --version # timeout=10 05:54:27 > git --version # 'git version 2.24.3' 05:54:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:54:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:54:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:54:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:54:28 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/821/head:refs/remotes/origin/PR-821 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:54:29 Merging remotes/origin/master commit 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 into PR head commit 993ed365126e9ffa3ca2265c9421eafee55cea21 05:54:29 + 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:54:29 Merge succeeded, producing 993ed365126e9ffa3ca2265c9421eafee55cea21 05:54:29 Checking out Revision 993ed365126e9ffa3ca2265c9421eafee55cea21 (PR-821) 05:54:29 Sending build context to Docker daemon 2.281MB 05:54:29 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:54:29 Step 2/8 : FROM ${BASE} 05:54:29 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:54:29 5f621e34cdf4: Pulling fs layer 05:54:29 a4357932f1b6: Pulling fs layer 05:54:29 18c013af1878: Pulling fs layer 05:54:29 00ac8860ef70: Pulling fs layer 05:54:29 63d7cb157983: Pulling fs layer 05:54:29 b116817d02f9: Pulling fs layer 05:54:29 745a02a5169b: Pulling fs layer 05:54:29 00ac8860ef70: Waiting 05:54:29 b116817d02f9: Waiting 05:54:29 745a02a5169b: Waiting 05:54:29 63d7cb157983: Waiting 05:54:29 a4357932f1b6: Verifying Checksum 05:54:29 a4357932f1b6: Download complete 05:54:29 18c013af1878: Verifying Checksum 05:54:29 18c013af1878: Download complete 05:54:29 63d7cb157983: Verifying Checksum 05:54:29 63d7cb157983: Download complete 05:54:29 b116817d02f9: Verifying Checksum 05:54:29 b116817d02f9: Download complete 05:54:29 5f621e34cdf4: Verifying Checksum 05:54:29 5f621e34cdf4: Download complete 05:54:29 > git config core.sparsecheckout # timeout=10 05:54:29 > git checkout -f 993ed365126e9ffa3ca2265c9421eafee55cea21 # timeout=10 05:54:29 > git remote # timeout=10 05:54:29 > git config --get remote.origin.url # timeout=10 05:54:29 using GIT_SSH to set credentials SSH Credentials for GitHub 05:54:29 > git merge 79c51434d0b6ff974f0a74c9d16ec224deffdcc1 # timeout=10 05:54:29 > git rev-parse HEAD^{commit} # timeout=10 05:54:29 > git config core.sparsecheckout # timeout=10 05:54:29 > git checkout -f 993ed365126e9ffa3ca2265c9421eafee55cea21 # timeout=10 05:54:30 5f621e34cdf4: Pull complete 05:54:31 a4357932f1b6: Pull complete 05:54:31 18c013af1878: Pull complete 05:54:32 745a02a5169b: Verifying Checksum 05:54:32 745a02a5169b: Download complete 05:54:32 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 05:54:32 > git --version # timeout=10 05:54:32 > git --version # 'git version 2.24.3' 05:54:32 fatal: bad object 878f1b5bff316b9f7b5d8f8b1d22b752867b496c [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:54:33 00ac8860ef70: Verifying Checksum 05:54:33 00ac8860ef70: Download complete 05:54:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:54:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:54:35 + sudo service docker restart 05:54:35 + true 05:54:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:54:36 provisioning config files... 05:54:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4733152367126792927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:54:36 ---> docker-login.sh 05:54:36 nexus3.edgexfoundry.org:10001 05:54:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:36 Configure a credential helper to remove this warning. See 05:54:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:36 05:54:36 Login Succeeded 05:54:36 nexus3.edgexfoundry.org:10002 05:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:37 Configure a credential helper to remove this warning. See 05:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:37 05:54:37 Login Succeeded 05:54:37 nexus3.edgexfoundry.org:10003 05:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:37 Configure a credential helper to remove this warning. See 05:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:37 05:54:37 Login Succeeded 05:54:37 nexus3.edgexfoundry.org:10004 05:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:37 Configure a credential helper to remove this warning. See 05:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:37 05:54:37 Login Succeeded 05:54:37 docker.io 05:54:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:54:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:54:37 Configure a credential helper to remove this warning. See 05:54:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:54:37 05:54:37 Login Succeeded 05:54:37 ---> docker-login.sh ends [Pipeline] } 05:54:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:54:38 ========================================================= 05:54:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:54:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:54:38 + 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:54:38 Sending build context to Docker daemon 2.282MB 05:54:39 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:54:39 Step 2/8 : FROM ${BASE} 05:54:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:54:39 188c0c94c7c5: Pulling fs layer 05:54:39 0ef7d3d256c8: Pulling fs layer 05:54:39 de9db76c5a1d: Pulling fs layer 05:54:39 bca2f99d35d6: Pulling fs layer 05:54:39 93359f2a8cfa: Pulling fs layer 05:54:39 7c6f9722023f: Pulling fs layer 05:54:39 a35cf1a2eb13: Pulling fs layer 05:54:39 93359f2a8cfa: Waiting 05:54:39 7c6f9722023f: Waiting 05:54:39 bca2f99d35d6: Waiting 05:54:39 de9db76c5a1d: Verifying Checksum 05:54:39 de9db76c5a1d: Download complete 05:54:39 0ef7d3d256c8: Download complete 05:54:39 188c0c94c7c5: Verifying Checksum 05:54:39 93359f2a8cfa: Verifying Checksum 05:54:39 93359f2a8cfa: Download complete 05:54:39 7c6f9722023f: Verifying Checksum 05:54:39 7c6f9722023f: Download complete 05:54:39 188c0c94c7c5: Pull complete 05:54:39 0ef7d3d256c8: Pull complete 05:54:39 de9db76c5a1d: Pull complete 05:54:41 a35cf1a2eb13: Verifying Checksum 05:54:41 a35cf1a2eb13: Download complete 05:54:41 bca2f99d35d6: Verifying Checksum 05:54:41 bca2f99d35d6: Download complete 05:54:43 00ac8860ef70: Pull complete 05:54:44 63d7cb157983: Pull complete 05:54:44 b116817d02f9: Pull complete 05:54:46 bca2f99d35d6: Pull complete 05:54:47 93359f2a8cfa: Pull complete 05:54:47 7c6f9722023f: Pull complete 05:54:48 745a02a5169b: Pull complete 05:54:48 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:54:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:54:48 ---> b7e6874047d6 05:54:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:51 ---> Running in 09c6f0fbabbd 05:54:51 Removing intermediate container 09c6f0fbabbd 05:54:51 ---> 547ee26f26da 05:54:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:51 ---> Running in 9d172ae7fd35 05:54:53 a35cf1a2eb13: Pull complete 05:54:53 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:54:53 ---> a62c8e92a672 05:54:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:53 ---> Running in c4d854207eee 05:54:53 Removing intermediate container c4d854207eee 05:54:53 ---> e893124806ea 05:54:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:53 ---> Running in a3423a73012b 05:54:54 Removing intermediate container 9d172ae7fd35 05:54:54 ---> a766d2fa4974 05:54:54 Step 5/8 : RUN apk add --update --no-cache make git 05:54:54 ---> Running in ccc03e5dbaf3 05:54:54 Removing intermediate container a3423a73012b 05:54:54 ---> 8628752a16c5 05:54:54 Step 5/8 : RUN apk add --update --no-cache make git 05:54:54 ---> Running in 44e12604a3f4 05:54:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:54:55 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:54:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:54:56 OK: 142 MiB in 39 packages 05:54:56 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:54:57 OK: 166 MiB in 39 packages 05:54:57 Removing intermediate container 44e12604a3f4 05:54:57 ---> 821ce32d460e 05:54:57 Step 6/8 : WORKDIR /device-sdk-go 05:54:57 ---> Running in e066414ca784 05:54:57 Removing intermediate container e066414ca784 05:54:57 ---> 664314baf0c4 05:54:57 Step 7/8 : COPY . . 05:54:58 Removing intermediate container ccc03e5dbaf3 05:54:58 ---> 4181e32faee0 05:54:58 Step 6/8 : WORKDIR /device-sdk-go 05:54:58 ---> Running in 9b9e2a0537c0 05:54:58 Removing intermediate container 9b9e2a0537c0 05:54:58 ---> bbb09ac5ba79 05:54:58 Step 7/8 : COPY . . 05:54:59 ---> 681798ed4e86 05:54:59 Step 8/8 : RUN go mod download 05:54:59 ---> Running in 6bd1ac41f8ec 05:54:59 ---> c9fb48f80657 05:54:59 Step 8/8 : RUN go mod download 05:54:59 ---> Running in 6e76e6f096cd 05:55:21 Removing intermediate container 6bd1ac41f8ec 05:55:21 ---> 6f954021e363 05:55:21 Successfully built 6f954021e363 05:55:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:55:21 + docker inspect -f . ci-base-image-x86_64 05:55:21 . [Pipeline] withDockerContainer 05:55:21 prd-centos7-docker-4c-2g-30128 does not seem to be running inside a container 05:55:21 $ 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 05:55:22 $ docker top 29f41b74624af27ca1037c2b9e553db00d9dfa1c111cfe61c73b037c93f81225 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:23 + go version 05:55:23 go version go1.15.5 linux/amd64 [Pipeline] } 05:55:23 $ docker stop --time=1 29f41b74624af27ca1037c2b9e553db00d9dfa1c111cfe61c73b037c93f81225 05:55:24 $ docker rm -f 29f41b74624af27ca1037c2b9e553db00d9dfa1c111cfe61c73b037c93f81225 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:55:25 + docker inspect -f . ci-base-image-x86_64 05:55:25 . [Pipeline] withDockerContainer 05:55:25 prd-centos7-docker-4c-2g-30128 does not seem to be running inside a container 05:55:26 $ 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 05:55:26 Removing intermediate container 6e76e6f096cd 05:55:26 ---> 62cb17e74a01 05:55:26 Successfully built 62cb17e74a01 05:55:26 Successfully tagged ci-base-image-arm64:latest 05:55:26 $ docker top 56d4fc194869e75d9c771f436bc5040bd6a7393380de5c4d76cc30207918ac8b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 05:55:27 + make test 05:55:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:55:27 + docker inspect -f . ci-base-image-arm64 05:55:27 . [Pipeline] withDockerContainer 05:55:27 prd-ubuntu18.04-docker-arm64-4c-16g-30127 does not seem to be running inside a container 05:55:27 $ 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 05:55:29 $ docker top b96f86c3f29484d4ea157f1078465b76e617a2cde4ef4ffe2e56d13015607849 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:30 + go version 05:55:30 go version go1.15.5 linux/arm64 [Pipeline] } 05:55:30 $ docker stop --time=1 b96f86c3f29484d4ea157f1078465b76e617a2cde4ef4ffe2e56d13015607849 05:55:32 $ docker rm -f b96f86c3f29484d4ea157f1078465b76e617a2cde4ef4ffe2e56d13015607849 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:55:33 + docker inspect -f . ci-base-image-arm64 05:55:33 . [Pipeline] withDockerContainer 05:55:33 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:55:34 prd-ubuntu18.04-docker-arm64-4c-16g-30127 does not seem to be running inside a container 05:55:34 $ 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 05:55:35 $ docker top 6b8b7191ed816ae2d0737fa828d7a147dd4842eda8f1dda44e396a0046719789 -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:36 + make test 05:55:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:55:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 25.5% of statements 05:55:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.054s coverage: 10.5% of statements 05:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.055s coverage: 12.5% of statements 05:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.071s coverage: 84.8% of statements 05:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.090s coverage: 57.3% of statements 05:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.070s coverage: 81.2% of statements 05:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.060s coverage: 24.8% of statements 05:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.110s coverage: 6.4% of statements 05:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.1% of statements 05:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:56:23 GO111MODULE=on go vet ./... 05:56:30 gofmt -l . 05:56:30 [ "`gofmt -l .`" = "" ] 05:56:30 ./bin/test-attribution-txt.sh 05:56:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:56:31 $ docker stop --time=1 56d4fc194869e75d9c771f436bc5040bd6a7393380de5c4d76cc30207918ac8b 05:56:33 $ docker rm -f 56d4fc194869e75d9c771f436bc5040bd6a7393380de5c4d76cc30207918ac8b [Pipeline] // withDockerContainer [Pipeline] sh 05:56:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:56:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:56:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:56:37 + ls -al . 05:56:37 total 188 05:56:37 drwxrwxr-x. 10 jenkins jenkins 4096 Mar 17 05:56 . 05:56:37 drwxrwxr-x. 4 jenkins jenkins 28 Mar 17 05:54 .. 05:56:37 drwxrwxr-x. 2 jenkins jenkins 64 Mar 17 05:54 bin 05:56:37 -rw-r--r--. 1 jenkins jenkins 103667 Mar 17 05:56 coverage.out 05:56:37 -rw-rw-r--. 1 jenkins jenkins 949 Mar 17 05:54 Dockerfile.build 05:56:37 -rw-rw-r--. 1 jenkins jenkins 140 Mar 17 05:54 .dockerignore 05:56:37 drwxrwxr-x. 4 jenkins jenkins 48 Mar 17 05:54 example 05:56:37 drwxrwxr-x. 8 jenkins jenkins 179 Mar 17 05:54 .git 05:56:37 drwxrwxr-x. 2 jenkins jenkins 103 Mar 17 05:54 .github 05:56:37 -rw-rw-r--. 1 jenkins jenkins 138 Mar 17 05:54 .gitignore 05:56:37 -rw-r--r--. 1 jenkins jenkins 479 Mar 17 05:56 go.mod 05:56:37 -rw-r--r--. 1 jenkins jenkins 17490 Mar 17 05:56 go.sum 05:56:37 drwxrwxr-x. 12 jenkins jenkins 171 Mar 17 05:54 internal 05:56:37 -rw-rw-r--. 1 jenkins jenkins 901 Mar 17 05:54 Jenkinsfile 05:56:37 -rw-rw-r--. 1 jenkins jenkins 11341 Mar 17 05:54 LICENSE 05:56:37 -rw-rw-r--. 1 jenkins jenkins 1016 Mar 17 05:54 Makefile 05:56:37 drwxrwxr-x. 4 jenkins jenkins 26 Mar 17 05:54 openapi 05:56:37 drwxrwxr-x. 5 jenkins jenkins 50 Mar 17 05:54 pkg 05:56:37 -rw-rw-r--. 1 jenkins jenkins 5897 Mar 17 05:54 README.md 05:56:37 -rw-rw-r--. 1 jenkins jenkins 6616 Mar 17 05:54 RELEASE-NOTES.txt 05:56:37 drwxrwxr-x. 4 jenkins jenkins 54 Mar 17 05:54 snap 05:56:37 -rw-rw-r--. 1 jenkins jenkins 5 Mar 17 05:52 VERSION 05:56:37 -rw-rw-r--. 1 jenkins jenkins 222 Mar 17 05:54 version.go [Pipeline] isUnix [Pipeline] sh 05:56:37 + 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=993ed365126e9ffa3ca2265c9421eafee55cea21 --label arch=amd64 --label version=0.0.0 . 05:56:38 Sending build context to Docker daemon 2.386MB 05:56:38 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:56:38 Step 2/24 : FROM ${BASE} AS builder 05:56:38 ---> 6f954021e363 05:56:38 Step 3/24 : ARG MAKE='make build' 05:56:38 ---> Running in a0b11376d693 05:56:38 Removing intermediate container a0b11376d693 05:56:38 ---> 9f1cfbec6f6f 05:56:38 Step 4/24 : WORKDIR /device-sdk-go 05:56:38 ---> Running in d3e2cef5547c 05:56:38 Removing intermediate container d3e2cef5547c 05:56:38 ---> 8433c5c31ad1 05:56:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:38 ---> Running in 472015df3400 05:56:38 Removing intermediate container 472015df3400 05:56:38 ---> 03c669aff43b 05:56:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:56:39 ---> Running in bd37a034b84a 05:56:40 Removing intermediate container bd37a034b84a 05:56:40 ---> 60e39417a28d 05:56:40 Step 7/24 : RUN apk add --update --no-cache make git 05:56:40 ---> Running in 79a40fd10872 05:56:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:56:41 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:56:41 OK: 166 MiB in 39 packages 05:56:42 Removing intermediate container 79a40fd10872 05:56:42 ---> 305fde1648e7 05:56:42 Step 8/24 : COPY . . 05:56:43 ---> 4e1399f0a970 05:56:43 Step 9/24 : RUN ${MAKE} 05:56:43 ---> Running in ae4b064fe0cd 05:56:43 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:56:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:56:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:56:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:56:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.119s coverage: 25.5% of statements 05:56:52 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:56:55 Removing intermediate container ae4b064fe0cd 05:56:55 ---> 1bf08266744d 05:56:55 Step 10/24 : FROM scratch 05:56:55 ---> 05:56:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:56:55 ---> Running in 008645f65d9e 05:56:55 Removing intermediate container 008645f65d9e 05:56:55 ---> 6b0ac84efd19 05:56:55 Step 12/24 : ENV APP_PORT=49990 05:56:55 ---> Running in ed08de57592f 05:56:55 Removing intermediate container ed08de57592f 05:56:55 ---> afe4de674124 05:56:55 Step 13/24 : EXPOSE $APP_PORT 05:56:55 ---> Running in d4f51b1f32b2 05:56:55 Removing intermediate container d4f51b1f32b2 05:56:55 ---> 8444444c11c6 05:56:55 Step 14/24 : WORKDIR / 05:56:55 ---> Running in 1d611bf285c3 05:56:56 Removing intermediate container 1d611bf285c3 05:56:56 ---> 49dadffb5f40 05:56:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:56:56 ---> 79b7bb8b8aa0 05:56:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:56:56 ---> ef6c8b1ec506 05:56:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:56:56 ---> cafe0703c1a4 05:56:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:56:57 ---> 23cfee29f50b 05:56:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:56:57 ---> 070532086431 05:56:57 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:56:57 ---> Running in c9c35edb3fcd 05:56:57 Removing intermediate container c9c35edb3fcd 05:56:57 ---> 7876e2d3621b 05:56:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:56:57 ---> Running in 35911a2572b5 05:56:57 Removing intermediate container 35911a2572b5 05:56:57 ---> 5cc5b1aebbd1 05:56:57 Step 22/24 : LABEL arch=amd64 05:56:57 ---> Running in 946b04ae2f89 05:56:57 Removing intermediate container 946b04ae2f89 05:56:57 ---> 0b9d61618ba2 05:56:57 Step 23/24 : LABEL git_sha=993ed365126e9ffa3ca2265c9421eafee55cea21 05:56:57 ---> Running in 19bbf0515093 05:56:58 Removing intermediate container 19bbf0515093 05:56:58 ---> 27510614a4b3 05:56:58 Step 24/24 : LABEL version=0.0.0 05:56:58 ---> Running in 11a5398d2945 05:56:58 Removing intermediate container 11a5398d2945 05:56:58 ---> 055f1bf841cb 05:56:58 [Warning] One or more build-args [ARCH] were not consumed 05:56:58 Successfully built 055f1bf841cb 05:56:58 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:56:59 ---> job-cost.sh 05:56:59 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LVfE 05:57:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.135s coverage: 10.5% of statements 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 12.5% of statements 05:57:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.167s coverage: 84.8% of statements 05:57:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 05:57:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:57:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.254s coverage: 57.3% of statements 05:57:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.165s coverage: 81.2% of statements 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.202s coverage: 24.8% of statements 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.958s coverage: 6.4% of statements 05:57:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.152s coverage: 5.1% of statements 05:57:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:57:18 GO111MODULE=on go vet ./... 05:57:41 lf-activate-venv(): INFO: Adding /tmp/venv-LVfE/bin to PATH 05:57:41 INFO: No Stack... 05:57:41 INFO: Retrieving Pricing Info for: v1-standard-2 05:57:41 INFO: Archiving Costs [Pipeline] sh 05:57:42 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:57:42 + cut -d, -f6 [Pipeline] lock 05:57:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-821-1-stack-cost] 05:57:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-821-1-stack-cost] did not exist. Created. 05:57:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-821-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:57:42 + echo total: 0.029999999329447746 [Pipeline] stash 05:57:42 Stashed 1 file(s) [Pipeline] } 05:57:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-821-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:57:50 gofmt -l . 05:57:50 [ "`gofmt -l .`" = "" ] 05:57:50 ./bin/test-attribution-txt.sh 05:57:50 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:57:50 $ docker stop --time=1 6b8b7191ed816ae2d0737fa828d7a147dd4842eda8f1dda44e396a0046719789 05:57:53 $ docker rm -f 6b8b7191ed816ae2d0737fa828d7a147dd4842eda8f1dda44e396a0046719789 [Pipeline] // withDockerContainer [Pipeline] sh 05:57:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:57:54 Warning: overwriting stash ‘coverage-report’ 05:57:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:57:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:57:56 + ls -al . 05:57:56 total 224 05:57:56 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 05:57 . 05:57:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:54 .. 05:57:56 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:54 .dockerignore 05:57:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:54 .git 05:57:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:54 .github 05:57:56 -rw-rw-r-- 1 jenkins jenkins 138 Mar 17 05:54 .gitignore 05:57:56 -rw-rw-r-- 1 jenkins jenkins 949 Mar 17 05:54 Dockerfile.build 05:57:56 -rw-rw-r-- 1 jenkins jenkins 901 Mar 17 05:54 Jenkinsfile 05:57:56 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:54 LICENSE 05:57:56 -rw-rw-r-- 1 jenkins jenkins 1016 Mar 17 05:54 Makefile 05:57:56 -rw-rw-r-- 1 jenkins jenkins 5897 Mar 17 05:54 README.md 05:57:56 -rw-rw-r-- 1 jenkins jenkins 6616 Mar 17 05:54 RELEASE-NOTES.txt 05:57:56 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 05:52 VERSION 05:57:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:54 bin 05:57:56 -rw-r--r-- 1 jenkins jenkins 103667 Mar 17 05:57 coverage.out 05:57:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:54 example 05:57:56 -rw-r--r-- 1 jenkins jenkins 479 Mar 17 05:57 go.mod 05:57:56 -rw-r--r-- 1 jenkins jenkins 17490 Mar 17 05:57 go.sum 05:57:56 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:54 internal 05:57:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:54 openapi 05:57:56 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:54 pkg 05:57:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:54 snap 05:57:56 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:54 version.go [Pipeline] isUnix [Pipeline] sh 05:57:57 + 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=993ed365126e9ffa3ca2265c9421eafee55cea21 --label arch=arm64 --label version=0.0.0 . 05:57:57 Sending build context to Docker daemon 2.385MB 05:57:57 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 05:57:57 Step 2/24 : FROM ${BASE} AS builder 05:57:57 ---> 62cb17e74a01 05:57:57 Step 3/24 : ARG MAKE='make build' 05:57:58 ---> Running in d08d8b4f0ad8 05:57:58 Removing intermediate container d08d8b4f0ad8 05:57:58 ---> 71583d77a9f6 05:57:58 Step 4/24 : WORKDIR /device-sdk-go 05:57:58 ---> Running in 8ce1f0ddba51 05:57:59 Removing intermediate container 8ce1f0ddba51 05:57:59 ---> 871a388410e9 05:57:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:57:59 ---> Running in a14a50326aee 05:57:59 Removing intermediate container a14a50326aee 05:57:59 ---> 88c345b6e17f 05:57:59 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:57:59 ---> Running in 054b860f38f4 05:58:01 Removing intermediate container 054b860f38f4 05:58:01 ---> 1e49b585c42f 05:58:01 Step 7/24 : RUN apk add --update --no-cache make git 05:58:02 ---> Running in 65e0900368a6 05:58:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:58:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:58:05 OK: 142 MiB in 39 packages 05:58:06 Removing intermediate container 65e0900368a6 05:58:06 ---> 121b4d57d399 05:58:06 Step 8/24 : COPY . . 05:58:07 ---> 7a94f37656cd 05:58:07 Step 9/24 : RUN ${MAKE} 05:58:07 ---> Running in d430ffead717 05:58: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 05:58:36 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:58:39 Removing intermediate container d430ffead717 05:58:39 ---> 8fe24eb645e5 05:58:39 Step 10/24 : FROM scratch 05:58:39 ---> 05:58:39 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:58:39 ---> Running in a9518128b5aa 05:58:39 Removing intermediate container a9518128b5aa 05:58:39 ---> fbc507cdf4eb 05:58:39 Step 12/24 : ENV APP_PORT=49990 05:58:39 ---> Running in b7b8287699c9 05:58:40 Removing intermediate container b7b8287699c9 05:58:40 ---> 9b6bf09e0440 05:58:40 Step 13/24 : EXPOSE $APP_PORT 05:58:40 ---> Running in 3525bdb84af7 05:58:40 Removing intermediate container 3525bdb84af7 05:58:40 ---> f3dccde27e45 05:58:40 Step 14/24 : WORKDIR / 05:58:41 ---> Running in 20d312464bd8 05:58:41 Removing intermediate container 20d312464bd8 05:58:41 ---> 682eb2df3e8d 05:58:41 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:58:42 ---> 04209ed74925 05:58:42 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:58:43 ---> a229a7c3409d 05:58:43 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:58:44 ---> b6fb8a7d15be 05:58:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:58:44 ---> 4a1c719873c6 05:58:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:58:45 ---> 2deea0942598 05:58:45 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:58:45 ---> Running in be545433d386 05:58:46 Removing intermediate container be545433d386 05:58:46 ---> a9328451aaf9 05:58:46 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:58:46 ---> Running in 063bf3c21789 05:58:47 Removing intermediate container 063bf3c21789 05:58:47 ---> 4a208b803518 05:58:47 Step 22/24 : LABEL arch=arm64 05:58:47 ---> Running in 281a6780b34e 05:58:47 Removing intermediate container 281a6780b34e 05:58:47 ---> 3998198a416a 05:58:47 Step 23/24 : LABEL git_sha=993ed365126e9ffa3ca2265c9421eafee55cea21 05:58:47 ---> Running in dd646d0e45d3 05:58:48 Removing intermediate container dd646d0e45d3 05:58:48 ---> 32e0b01511a8 05:58:48 Step 24/24 : LABEL version=0.0.0 05:58:48 ---> Running in 2a2d0df9c86a 05:58:48 Removing intermediate container 2a2d0df9c86a 05:58:48 ---> 1bd2acb75a5e 05:58:48 [Warning] One or more build-args [ARCH] were not consumed 05:58:48 Successfully built 1bd2acb75a5e 05:58:48 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 05:58:49 ---> job-cost.sh 05:58:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-tuAj 05:59:36 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:01:28 lf-activate-venv(): INFO: Adding /tmp/venv-tuAj/bin to PATH 06:01:28 INFO: No Stack... 06:01:28 INFO: Retrieving Pricing Info for: lf-standard-4 06:01:28 INFO: Archiving Costs [Pipeline] sh 06:01:28 + + cut -d, -f6 06:01:28 cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 06:01:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-821-1-stack-cost] 06:01:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-821-1-stack-cost] did not exist. Created. 06:01:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-821-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:01:29 /w/workspace/device-sdk-go/1@tmp/durable-2340eee7/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-2340eee7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:01:29 + echo total: 0.20999999344348907 [Pipeline] stash 06:01:30 Warning: overwriting stash ‘stack-cost’ 06:01:30 Stashed 1 file(s) [Pipeline] } 06:01:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-821-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:01:32 provisioning config files... 06:01:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config749061198053225288tmp [Pipeline] { [Pipeline] sh 06:01:32 + set +x 06:01:32 + curl -s https://codecov.io/bash 06:01:32 + bash -s -- 06:01:32 06:01:32 _____ _ 06:01:32 / ____| | | 06:01:32 | | ___ __| | ___ ___ _____ __ 06:01:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:01:32 | |___| (_) | (_| | __/ (_| (_) \ V / 06:01:32 \_____\___/ \__,_|\___|\___\___/ \_/ 06:01:32 Bash-20210309-2b87ace 06:01:32 06:01:32 06:01:32 ==> git version 2.24.3 found 06:01:32 ==> 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:01:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:01:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:01:32 ==> Jenkins CI detected. 06:01:32 project root: . 06:01:32 --> token set from env 06:01:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:01:32 ==> Running gcov in . (disable via -X gcov) 06:01:32 ==> Python coveragepy not found 06:01:32 ==> Searching for coverage reports in: 06:01:32 + . 06:01:32 -> Found 1 reports 06:01:32 ==> Detecting git/mercurial file structure 06:01:32 ==> Reading reports 06:01:32 + ./coverage.out bytes=103667 06:01:32 ==> Appending adjustments 06:01:32 https://docs.codecov.io/docs/fixing-reports 06:01:33 + Found adjustments 06:01:33 ==> Gzipping contents 06:01:33 16K /tmp/codecov.73KOfK.gz 06:01:33 ==> Uploading reports 06:01:33 url: https://codecov.io 06:01:33 query: branch=PR-821&commit=993ed365126e9ffa3ca2265c9421eafee55cea21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-821%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=821&job=&cmd_args= 06:01:33 -> Pinging Codecov 06:01:33 https://codecov.io/upload/v4?package=bash-20210309-2b87ace&token=secret&branch=PR-821&commit=993ed365126e9ffa3ca2265c9421eafee55cea21&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-821%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=821&job=&cmd_args= 06:01:33 -> Uploading to 06:01:33 https://storage.googleapis.com/codecov/v4/raw/2021-03-17/7E55EF52A471D76F132DFD9A03CDDE97/993ed365126e9ffa3ca2265c9421eafee55cea21/425ec3cf-0948-4cdf-9144-2a1b2bf1a6cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210317T060133Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82263f3b490be27c1b1ae072efc31c4be86ca010d485c719d6264d79a327f8d2 06:01:33 % Total % Received % Xferd Average Speed Time Time Time Current 06:01:33 Dload Upload Total Spent Left Speed 06:01:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13865 0 0 100 13865 0 34602 --:--:-- --:--:-- --:--:-- 34576 06:01:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/993ed365126e9ffa3ca2265c9421eafee55cea21 [Pipeline] } 06:01:34 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:01:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:01:38 ---> package-listing.sh 06:01:38 ++ facter osfamily 06:01:38 ++ tr '[:upper:]' '[:lower:]' 06:01:38 + OS_FAMILY=redhat 06:01:38 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-821 06:01:38 + START_PACKAGES=/tmp/packages_start.txt 06:01:38 + END_PACKAGES=/tmp/packages_end.txt 06:01:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:01:38 + PACKAGES=/tmp/packages_start.txt 06:01:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-821 ']' 06:01:38 + PACKAGES=/tmp/packages_end.txt 06:01:38 + case "${OS_FAMILY}" in 06:01:38 + rpm -qa 06:01:38 + sort 06:01:43 + '[' -f /tmp/packages_start.txt ']' 06:01:43 + '[' -f /tmp/packages_end.txt ']' 06:01:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:01:43 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-821 ']' 06:01:43 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-821/archives/ 06:01:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-821/archives/ [Pipeline] echo 06:01:43 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-821/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:01:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:01:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:01:44 06:01:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:01:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:01:44 alpine: Pulling from edgex-lftools-log-publisher 06:01:44 df20fa9351a1: Pulling fs layer 06:01:44 36b3adc4ff6f: Pulling fs layer 06:01:44 8ad3a11d3b57: Pulling fs layer 06:01:44 46f8f816bc3b: Pulling fs layer 06:01:44 93b61091891f: Pulling fs layer 06:01:44 93b9cdb0e59b: Pulling fs layer 06:01:44 5e14af77c1be: Pulling fs layer 06:01:44 01666e4c0597: Pulling fs layer 06:01:44 aa168da1d23b: Pulling fs layer 06:01:44 93b9cdb0e59b: Waiting 06:01:44 5e14af77c1be: Waiting 06:01:44 01666e4c0597: Waiting 06:01:44 aa168da1d23b: Waiting 06:01:44 46f8f816bc3b: Waiting 06:01:44 93b61091891f: Waiting 06:01:44 36b3adc4ff6f: Verifying Checksum 06:01:44 36b3adc4ff6f: Download complete 06:01:44 46f8f816bc3b: Download complete 06:01:44 df20fa9351a1: Verifying Checksum 06:01:44 df20fa9351a1: Download complete 06:01:44 93b9cdb0e59b: Download complete 06:01:44 5e14af77c1be: Verifying Checksum 06:01:44 5e14af77c1be: Download complete 06:01:44 01666e4c0597: Verifying Checksum 06:01:44 01666e4c0597: Download complete 06:01:45 93b61091891f: Verifying Checksum 06:01:45 93b61091891f: Download complete 06:01:45 df20fa9351a1: Pull complete 06:01:45 36b3adc4ff6f: Pull complete 06:01:45 8ad3a11d3b57: Download complete 06:01:46 8ad3a11d3b57: Pull complete 06:01:46 46f8f816bc3b: Pull complete 06:01:46 93b61091891f: Pull complete 06:01:47 93b9cdb0e59b: Pull complete 06:01:47 5e14af77c1be: Pull complete 06:01:47 01666e4c0597: Pull complete 06:01:48 aa168da1d23b: Verifying Checksum 06:01:48 aa168da1d23b: Download complete 06:01:55 aa168da1d23b: Pull complete 06:01:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:01:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:01:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:01:55 prd-centos7-docker-4c-2g-30125 does not seem to be running inside a container 06:01:55 $ 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-821/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-821 -v /w/workspace/dgexfoundry_device-sdk-go_PR-821:/w/workspace/dgexfoundry_device-sdk-go_PR-821:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-821@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:01:59 $ docker top fb21e6f4c65328729a84352c39f47b421b2591e5bc24d34314ac5d3e4aed358f -eo pid,comm [Pipeline] { [Pipeline] sh 06:01:59 + touch /tmp/pre-build-complete [Pipeline] sh 06:01:59 + mkdir -p /var/log/sa [Pipeline] sh 06:02:00 + ls /var/log/sa-host 06:02:00 + sadf -c /var/log/sa-host/sa17 06:02:00 file_magic: OK 06:02:00 HZ: Using current value: 100 06:02:00 file_header: OK 06:02:00 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:02:00 Statistics: 06:02:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:02:00 File successfully converted to sysstat format version 12.2.1 06:02:00 + sadf -c /var/log/sa-host/sa23 06:02:00 file_magic: OK 06:02:00 HZ: Using current value: 100 06:02:00 file_header: OK 06:02:00 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:02:00 Statistics: 06:02:00 Hnuu...uuuununununu... 06:02:00 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:01 provisioning config files... 06:02:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-821@tmp/config665220172966518240tmp [Pipeline] { [Pipeline] echo 06:02:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:02:01 ---> create-netrc.sh [Pipeline] } 06:02:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:02:01 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:02:02 ---> python-tools-install.sh [Pipeline] echo 06:02:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:02:02 ---> sudo-logs.sh 06:02:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:02:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:02:02 ---> job-cost.sh 06:02:02 lf-activate-venv: SKIPPING 06:02:02 DEBUG: total: 0.20999999344348907 06:02:02 INFO: Retrieving Stack Cost... 06:02:03 INFO: Retrieving Pricing Info for: v1-standard-2 06:02:04 INFO: Archiving Costs [Pipeline] echo 06:02:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:02:04 ---> logs-deploy.sh 06:02:04 lf-activate-venv: SKIPPING 06:02:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-821/1 06:02:04 INFO: archiving workspace using pattern(s): 06:02:06 Archives upload complete. 06:02:06 INFO: archiving logs to Nexus