Pull request #892 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2+4d2675d668c2f9064e370a810b18e5856622130c (cc83f21ff8cf8ca082570baf9dfc1b7f403aed5d) 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-892/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-892/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-1330 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [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-892 # 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 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 Merge succeeded, producing d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 Checking out Revision d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 (PR-892) > 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/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # 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 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/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:45:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:45:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:45:56 ========================================================= 05:45:56 EdgeX Global Pipelines Version Info 05:45:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:45:59 ------------------- 05:45:59 stable info: 05:45:59 ------------------- 05:45:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:45:59 Commit SHA: 57ded3389ef25720063a8030e5c426a6b7ea5b20 05:45:59 Message: update stable to v1.0.186 05:45:59 ------------------- 05:45:59 experimental info: 05:45:59 ------------------- 05:45:59 Commited By: **** collab-it+edgex@linuxfoundation.org 05:45:59 Commit SHA: cb91434416315492d6e8e8a157e47fc41dd13198 05:45:59 Message: update experimental to v1.0.189 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:45:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:46:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-892 [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-892 [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-892 [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7c99d7 [Pipeline] echo 05:46:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:46:01 provisioning config files... 05:46:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config6552012507103182446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:02 ---> docker-login.sh 05:46:02 nexus3.edgexfoundry.org:10001 05:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:02 Configure a credential helper to remove this warning. See 05:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:02 05:46:02 Login Succeeded 05:46:02 nexus3.edgexfoundry.org:10002 05:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:03 Configure a credential helper to remove this warning. See 05:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:03 05:46:03 Login Succeeded 05:46:03 nexus3.edgexfoundry.org:10003 05:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:03 Configure a credential helper to remove this warning. See 05:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:03 05:46:03 Login Succeeded 05:46:03 nexus3.edgexfoundry.org:10004 05:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:03 Configure a credential helper to remove this warning. See 05:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:03 05:46:03 Login Succeeded 05:46:03 docker.io 05:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:46:03 Configure a credential helper to remove this warning. See 05:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:46:03 05:46:03 Login Succeeded 05:46:03 ---> docker-login.sh ends [Pipeline] } 05:46: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:46:04 + git log --format=format:%s -1 d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [Pipeline] echo 05:46:04 GIT_COMMIT: d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 05:46:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:46:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:05 05:46:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:46:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:05 latest: Pulling from edgex-devops/git-semver 05:46:05 31603596830f: Pulling fs layer 05:46:05 2a8b12db71e7: Pulling fs layer 05:46:05 6ca5941a6612: Pulling fs layer 05:46:05 ecc8261a40a4: Pulling fs layer 05:46:05 ecc8261a40a4: Waiting 05:46:05 2a8b12db71e7: Download complete 05:46:05 31603596830f: Verifying Checksum 05:46:05 31603596830f: Download complete 05:46:06 ecc8261a40a4: Verifying Checksum 05:46:06 ecc8261a40a4: Download complete 05:46:06 6ca5941a6612: Verifying Checksum 05:46:06 6ca5941a6612: Download complete 05:46:06 31603596830f: Pull complete 05:46:06 2a8b12db71e7: Pull complete 05:46:07 6ca5941a6612: Pull complete 05:46:07 ecc8261a40a4: Pull complete 05:46:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:46:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:46:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:46:07 prd-centos7-docker-4c-2g-1330 does not seem to be running inside a container 05:46:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-892 -v /w/workspace/dgexfoundry_device-sdk-go_PR-892:/w/workspace/dgexfoundry_device-sdk-go_PR-892:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-892@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:46:10 $ docker top 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:10 [ssh-agent] Looking for ssh-agent implementation... 05:46:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:10 $ docker exec 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 ssh-agent 05:46:10 SSH_AUTH_SOCK=/tmp/ssh-88n1joutbNBn/agent.12 05:46:10 SSH_AGENT_PID=17 05:46:10 Running ssh-add (command line suppressed) 05:46:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_3233890576748577162.key (/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_3233890576748577162.key) 05:46:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:11 + git tag --points-at HEAD [Pipeline] } 05:46:11 $ docker exec --env ******** --env ******** 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 ssh-agent -k 05:46:11 unset SSH_AUTH_SOCK; 05:46:11 unset SSH_AGENT_PID; 05:46:11 echo Agent pid 17 killed; 05:46:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:46:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:11 [ssh-agent] Looking for ssh-agent implementation... 05:46:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:11 $ docker exec 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 ssh-agent 05:46:11 SSH_AUTH_SOCK=/tmp/ssh-Ks9jxFp4GsNb/agent.47 05:46:11 SSH_AGENT_PID=53 05:46:11 Running ssh-add (command line suppressed) 05:46:12 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_7289971383320180209.key (/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/private_key_7289971383320180209.key) 05:46:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:12 + git semver init 05:46:12 # -> Open(): unable to determine branch for HEAD 05:46:12 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-892/.git 05:46:12 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-892 05:46:12 # $SEMVER_REMOTE_NAME = origin 05:46:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:46:12 # $SEMVER_USER_NAME = edgex-jenkins 05:46:12 # $SEMVER_BRANCH = PR-892 05:46:12 # $SEMVER_TEMP = /tmp/semver-734711969 05:46:12 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:46:13 # '/tmp/semver-734711969' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-892/.semver' 05:46:13 # -> Force: false 05:46:13 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-892/.semver [Pipeline] } 05:46:13 $ docker exec --env ******** --env ******** 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 ssh-agent -k 05:46:13 unset SSH_AUTH_SOCK; 05:46:13 unset SSH_AGENT_PID; 05:46:13 echo Agent pid 53 killed; 05:46:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:14 + git semver [Pipeline] } 05:46:14 $ docker stop --time=1 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 05:46:15 $ docker rm -f 10f7d91ed7561be2eb3891e00d5ed98c7c5b1729ca90399fcadd7887a0b56518 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:46:16 Stashed 1 file(s) [Pipeline] echo 05:46: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:46:32 Still waiting to schedule task 05:46:32 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1330’ 05:46:32 Still waiting to schedule task 05:46:32 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 05:48:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1331 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] ws 05:48:24 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:48:30 using credential edgex-jenkins-ssh 05:48:30 Cloning the remote Git repository 05:48:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:48:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:48:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:30 > git --version # timeout=10 05:48:30 > git --version # 'git version 2.17.1' 05:48:30 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:48:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:48:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:48:32 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 05:48:32 Merge succeeded, producing d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 05:48:32 Checking out Revision d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 (PR-892) 05:48:32 > git config core.sparsecheckout # timeout=10 05:48:32 > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 05:48:32 > git remote # timeout=10 05:48:32 > git config --get remote.origin.url # timeout=10 05:48:32 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:32 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 05:48:32 > git rev-parse HEAD^{commit} # timeout=10 05:48:32 > git config core.sparsecheckout # timeout=10 05:48:32 > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 05:48:37 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:48:37 > git --version # timeout=10 05:48:37 > git --version # 'git version 2.17.1' 05:48:37 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:48:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:48:39 + sudo service docker restart 05:48:39 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:48:42 provisioning config files... 05:48:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1432902293108214538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:48:42 ---> docker-login.sh 05:48:42 nexus3.edgexfoundry.org:10001 05:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:44 Configure a credential helper to remove this warning. See 05:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:44 05:48:44 Login Succeeded 05:48:44 nexus3.edgexfoundry.org:10002 05:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:44 Configure a credential helper to remove this warning. See 05:48:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:44 05:48:44 Login Succeeded 05:48:44 nexus3.edgexfoundry.org:10003 05:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:45 Configure a credential helper to remove this warning. See 05:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:45 05:48:45 Login Succeeded 05:48:45 nexus3.edgexfoundry.org:10004 05:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:45 Configure a credential helper to remove this warning. See 05:48:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:45 05:48:45 Login Succeeded 05:48:45 docker.io 05:48:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:48:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:48:46 Configure a credential helper to remove this warning. See 05:48:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:48:46 05:48:46 Login Succeeded 05:48:46 ---> docker-login.sh ends [Pipeline] } 05:48:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:48:47 ========================================================= 05:48:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:48:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:48:47 + 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:48:48 Sending build context to Docker daemon 2.454MB 05:48:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:48:48 Step 2/8 : FROM ${BASE} 05:48:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:48:48 5f621e34cdf4: Pulling fs layer 05:48:48 a4357932f1b6: Pulling fs layer 05:48:48 18c013af1878: Pulling fs layer 05:48:48 00ac8860ef70: Pulling fs layer 05:48:48 63d7cb157983: Pulling fs layer 05:48:48 b116817d02f9: Pulling fs layer 05:48:48 745a02a5169b: Pulling fs layer 05:48:48 63d7cb157983: Waiting 05:48:48 b116817d02f9: Waiting 05:48:48 745a02a5169b: Waiting 05:48:48 00ac8860ef70: Waiting 05:48:48 18c013af1878: Verifying Checksum 05:48:48 18c013af1878: Download complete 05:48:48 a4357932f1b6: Verifying Checksum 05:48:48 a4357932f1b6: Download complete 05:48:48 63d7cb157983: Verifying Checksum 05:48:48 63d7cb157983: Download complete 05:48:48 5f621e34cdf4: Verifying Checksum 05:48:48 5f621e34cdf4: Download complete 05:48:48 b116817d02f9: Verifying Checksum 05:48:48 b116817d02f9: Download complete 05:48:48 5f621e34cdf4: Pull complete 05:48:49 a4357932f1b6: Pull complete 05:48:50 18c013af1878: Pull complete 05:48:50 745a02a5169b: Verifying Checksum 05:48:50 745a02a5169b: Download complete 05:48:51 00ac8860ef70: Verifying Checksum 05:48:51 00ac8860ef70: Download complete 05:48:57 Running on prd-centos7-docker-4c-2g-1332 in /w/workspace/dgexfoundry_device-sdk-go_PR-892 [Pipeline] { [Pipeline] ws 05:48:57 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:49:00 using credential edgex-jenkins-ssh 05:49:00 Cloning the remote Git repository 05:48:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:48:59 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:48:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:48:59 > git --version # timeout=10 05:48:59 > git --version # 'git version 2.24.3' 05:48:59 using GIT_SSH to set credentials SSH Credentials for GitHub 05:48:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:01 Merging remotes/origin/master commit 4d2675d668c2f9064e370a810b18e5856622130c into PR head commit d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 05:49:01 Merge succeeded, producing d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 05:49:01 Checking out Revision d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 (PR-892) 05:49:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:49:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:49:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:49:00 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/892/head:refs/remotes/origin/PR-892 +refs/heads/master:refs/remotes/origin/master # timeout=10 05:49:01 > git config core.sparsecheckout # timeout=10 05:49:01 > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 05:49:01 > git remote # timeout=10 05:49:01 > git config --get remote.origin.url # timeout=10 05:49:01 using GIT_SSH to set credentials SSH Credentials for GitHub 05:49:01 > git merge 4d2675d668c2f9064e370a810b18e5856622130c # timeout=10 05:49:01 > git rev-parse HEAD^{commit} # timeout=10 05:49:01 > git config core.sparsecheckout # timeout=10 05:49:01 > git checkout -f d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 # timeout=10 05:49:04 00ac8860ef70: Pull complete 05:49:04 63d7cb157983: Pull complete 05:49:04 b116817d02f9: Pull complete 05:49:05 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 05:49:05 > git --version # timeout=10 05:49:05 > git --version # 'git version 2.24.3' 05:49:05 fatal: bad object 57ded3389ef25720063a8030e5c426a6b7ea5b20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:49:06 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:49:06 745a02a5169b: Pull complete 05:49:06 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:49:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:49:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:49:06 ---> b7e6874047d6 05:49:06 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:49:07 + sudo service docker restart 05:49:07 + true 05:49:07 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:49:08 provisioning config files... 05:49:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2279431357501925177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:49:09 ---> docker-login.sh 05:49:09 nexus3.edgexfoundry.org:10001 05:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:09 Configure a credential helper to remove this warning. See 05:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:09 05:49:09 Login Succeeded 05:49:09 nexus3.edgexfoundry.org:10002 05:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:09 Configure a credential helper to remove this warning. See 05:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:09 05:49:09 Login Succeeded 05:49:09 nexus3.edgexfoundry.org:10003 05:49:09 ---> Running in 8a5cafb1e813 05:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:09 Configure a credential helper to remove this warning. See 05:49:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:09 05:49:09 Login Succeeded 05:49:09 nexus3.edgexfoundry.org:10004 05:49:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:10 Configure a credential helper to remove this warning. See 05:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:10 05:49:10 Login Succeeded 05:49:10 docker.io 05:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:49:10 Removing intermediate container 8a5cafb1e813 05:49:10 ---> 4a8fef020042 05:49:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:10 ---> Running in 1b0eea6c8416 05:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:49:10 Configure a credential helper to remove this warning. See 05:49:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:49:10 05:49:10 Login Succeeded 05:49:10 ---> docker-login.sh ends [Pipeline] } 05:49:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:49:10 ========================================================= 05:49:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:49:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:49:11 + 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:49:11 Sending build context to Docker daemon 2.462MB 05:49:11 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 05:49:11 Step 2/8 : FROM ${BASE} 05:49:11 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:49:11 188c0c94c7c5: Pulling fs layer 05:49:11 0ef7d3d256c8: Pulling fs layer 05:49:11 de9db76c5a1d: Pulling fs layer 05:49:11 bca2f99d35d6: Pulling fs layer 05:49:11 93359f2a8cfa: Pulling fs layer 05:49:11 7c6f9722023f: Pulling fs layer 05:49:11 a35cf1a2eb13: Pulling fs layer 05:49:11 93359f2a8cfa: Waiting 05:49:11 7c6f9722023f: Waiting 05:49:11 a35cf1a2eb13: Waiting 05:49:11 bca2f99d35d6: Waiting 05:49:11 de9db76c5a1d: Verifying Checksum 05:49:11 de9db76c5a1d: Download complete 05:49:11 0ef7d3d256c8: Verifying Checksum 05:49:11 0ef7d3d256c8: Download complete 05:49:11 93359f2a8cfa: Verifying Checksum 05:49:11 93359f2a8cfa: Download complete 05:49:11 7c6f9722023f: Verifying Checksum 05:49:11 7c6f9722023f: Download complete 05:49:11 188c0c94c7c5: Verifying Checksum 05:49:11 188c0c94c7c5: Download complete 05:49:11 188c0c94c7c5: Pull complete 05:49:11 0ef7d3d256c8: Pull complete 05:49:11 de9db76c5a1d: Pull complete 05:49:12 a35cf1a2eb13: Verifying Checksum 05:49:12 a35cf1a2eb13: Download complete 05:49:12 Removing intermediate container 1b0eea6c8416 05:49:12 ---> cf2d16b814ff 05:49:12 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:49:12 ---> Running in f9d97dc0518f 05:49:13 bca2f99d35d6: Verifying Checksum 05:49:13 bca2f99d35d6: Download complete 05:49:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:49:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:49:15 (1/6) Installing libc-dev (0.7.2-r3) 05:49:15 (2/6) Installing libsodium (1.0.18-r0) 05:49:15 (3/6) Installing pkgconf (1.7.2-r0) 05:49:15 (4/6) Installing libsodium-dev (1.0.18-r0) 05:49:15 (5/6) Installing libzmq (4.3.3-r0) 05:49:15 (6/6) Installing zeromq-dev (4.3.3-r0) 05:49:15 Executing busybox-1.31.1-r19.trigger 05:49:15 OK: 144 MiB in 45 packages 05:49:17 Removing intermediate container f9d97dc0518f 05:49:17 ---> 0722985ecc5b 05:49:17 Step 6/8 : WORKDIR /device-sdk-go 05:49:17 ---> Running in 3153f877ac56 05:49:18 Removing intermediate container 3153f877ac56 05:49:18 ---> 1c3124150024 05:49:18 Step 7/8 : COPY . . 05:49:18 bca2f99d35d6: Pull complete 05:49:18 93359f2a8cfa: Pull complete 05:49:18 7c6f9722023f: Pull complete 05:49:18 ---> 9f7c51024eea 05:49:18 Step 8/8 : RUN go mod download 05:49:19 ---> Running in 416b55e38d18 05:49:26 a35cf1a2eb13: Pull complete 05:49:26 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:49:26 ---> a62c8e92a672 05:49:26 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:49:26 ---> Running in d1036f0fd205 05:49:26 Removing intermediate container d1036f0fd205 05:49:26 ---> 77b13132dede 05:49:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:49:27 ---> Running in 9457042c0c70 05:49:28 Removing intermediate container 9457042c0c70 05:49:28 ---> e7fab8247886 05:49:28 Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev 05:49:28 ---> Running in 5f4c1d54df7a 05:49:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:49:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:49:30 (1/6) Installing libc-dev (0.7.2-r3) 05:49:30 (2/6) Installing libsodium (1.0.18-r0) 05:49:30 (3/6) Installing pkgconf (1.7.2-r0) 05:49:30 (4/6) Installing libsodium-dev (1.0.18-r0) 05:49:30 (5/6) Installing libzmq (4.3.3-r0) 05:49:31 (6/6) Installing zeromq-dev (4.3.3-r0) 05:49:31 Executing busybox-1.31.1-r19.trigger 05:49:31 OK: 167 MiB in 45 packages 05:49:31 Removing intermediate container 5f4c1d54df7a 05:49:31 ---> 9808acfb8522 05:49:31 Step 6/8 : WORKDIR /device-sdk-go 05:49:31 ---> Running in 91bdf9980b10 05:49:31 Removing intermediate container 91bdf9980b10 05:49:31 ---> cc42211bd81c 05:49:31 Step 7/8 : COPY . . 05:49:33 ---> b5cba5c0a09d 05:49:33 Step 8/8 : RUN go mod download 05:49:33 ---> Running in 5cee899a1057 05:49:51 Removing intermediate container 416b55e38d18 05:49:51 ---> ebf0d8f67b8a 05:49:51 Successfully built ebf0d8f67b8a 05:49:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:49:51 + docker inspect -f . ci-base-image-arm64 05:49:51 . [Pipeline] withDockerContainer 05:49:52 prd-ubuntu18.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container 05:49:52 $ 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-arm64 cat 05:49:53 $ docker top 32725c5bc368ac2a0923859691745ec008d4fe4dccfb4d3e3cc55de0fa47f269 -eo pid,comm [Pipeline] { [Pipeline] sh 05:49:54 + go version 05:49:54 go version go1.15.5 linux/arm64 [Pipeline] } 05:49:54 $ docker stop --time=1 32725c5bc368ac2a0923859691745ec008d4fe4dccfb4d3e3cc55de0fa47f269 05:49:55 Removing intermediate container 5cee899a1057 05:49:55 ---> 2dc7e1bfad5a 05:49:55 Successfully built 2dc7e1bfad5a 05:49:55 Successfully tagged ci-base-image-x86_64:latest 05:49:56 $ docker rm -f 32725c5bc368ac2a0923859691745ec008d4fe4dccfb4d3e3cc55de0fa47f269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:49:57 + docker inspect -f . ci-base-image-x86_64 05:49:57 . [Pipeline] withDockerContainer 05:49:57 prd-centos7-docker-4c-2g-1332 does not seem to be running inside a container 05:49:57 $ 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-x86_64 cat 05:49:57 + docker inspect -f . ci-base-image-arm64 05:49:57 . 05:49:58 $ docker top 4af227f6a469d9984defca957b2beffd21d11ade0ca34837c06b8eef72d7d1b1 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 05:49:59 prd-ubuntu18.04-docker-arm64-4c-16g-1331 does not seem to be running inside a container 05:49:59 $ 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-arm64 cat 05:50:00 $ docker top 8f87d5b51241ef47b82f4728ec306eca88b66562533ad425945916986bcd62fd -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 05:50:01 + go version 05:50:01 go version go1.15.5 linux/amd64 [Pipeline] } 05:50:01 $ docker stop --time=1 4af227f6a469d9984defca957b2beffd21d11ade0ca34837c06b8eef72d7d1b1 05:50:01 + make test 05:50:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:50:02 $ docker rm -f 4af227f6a469d9984defca957b2beffd21d11ade0ca34837c06b8eef72d7d1b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:50:03 + docker inspect -f . ci-base-image-x86_64 05:50:03 . [Pipeline] withDockerContainer 05:50:03 prd-centos7-docker-4c-2g-1332 does not seem to be running inside a container 05:50:03 $ 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-x86_64 cat 05:50:04 $ docker top 534779efc55dab5a77792032099fd5ac691ca5ca59cb578d03d540c42660856b -eo pid,comm [Pipeline] { [Pipeline] sh 05:50:05 + make test 05:50:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:50:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:50:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:50:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:50:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:50:35 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:50:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:50:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:50:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 28.1% of statements 05:50:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.092s coverage: 78.9% of statements 05:50:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.085s coverage: 7.8% of statements 05:50:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:50:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:50:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:50:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 32.0% of statements 05:50:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:50:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:50:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:50:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.124s coverage: 57.1% of statements 05:50:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.197s coverage: 6.6% of statements 05:50:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.068s coverage: 5.0% of statements 05:50:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:50:37 GO111MODULE=on go vet ./... 05:50:56 gofmt -l . 05:50:56 [ "`gofmt -l .`" = "" ] 05:50:56 ./bin/test-attribution-txt.sh 05:50:56 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:50:56 $ docker stop --time=1 534779efc55dab5a77792032099fd5ac691ca5ca59cb578d03d540c42660856b 05:50:57 $ docker rm -f 534779efc55dab5a77792032099fd5ac691ca5ca59cb578d03d540c42660856b [Pipeline] // withDockerContainer [Pipeline] sh 05:50:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:50:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:51:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:51:01 + ls -al . 05:51:01 total 188 05:51:01 drwxrwxr-x. 10 jenkins jenkins 4096 Apr 21 05:50 . 05:51:01 drwxrwxr-x. 4 jenkins jenkins 28 Apr 21 05:48 .. 05:51:01 drwxrwxr-x. 2 jenkins jenkins 64 Apr 21 05:49 bin 05:51:01 -rw-r--r--. 1 jenkins jenkins 100116 Apr 21 05:50 coverage.out 05:51:01 -rw-rw-r--. 1 jenkins jenkins 987 Apr 21 05:49 Dockerfile.build 05:51:01 -rw-rw-r--. 1 jenkins jenkins 140 Apr 21 05:49 .dockerignore 05:51:01 drwxrwxr-x. 5 jenkins jenkins 62 Apr 21 05:49 example 05:51:01 drwxrwxr-x. 8 jenkins jenkins 179 Apr 21 05:49 .git 05:51:01 drwxrwxr-x. 2 jenkins jenkins 103 Apr 21 05:49 .github 05:51:01 -rw-rw-r--. 1 jenkins jenkins 138 Apr 21 05:49 .gitignore 05:51:01 -rw-r--r--. 1 jenkins jenkins 575 Apr 21 05:50 go.mod 05:51:01 -rw-r--r--. 1 jenkins jenkins 20737 Apr 21 05:50 go.sum 05:51:01 drwxrwxr-x. 14 jenkins jenkins 207 Apr 21 05:49 internal 05:51:01 -rw-rw-r--. 1 jenkins jenkins 901 Apr 21 05:49 Jenkinsfile 05:51:01 -rw-rw-r--. 1 jenkins jenkins 11341 Apr 21 05:49 LICENSE 05:51:01 -rw-rw-r--. 1 jenkins jenkins 1022 Apr 21 05:49 Makefile 05:51:01 drwxrwxr-x. 4 jenkins jenkins 26 Apr 21 05:49 openapi 05:51:01 drwxrwxr-x. 5 jenkins jenkins 50 Apr 21 05:49 pkg 05:51:01 -rw-rw-r--. 1 jenkins jenkins 7652 Apr 21 05:49 README.md 05:51:01 -rw-rw-r--. 1 jenkins jenkins 6616 Apr 21 05:49 RELEASE-NOTES.txt 05:51:01 drwxrwxr-x. 4 jenkins jenkins 54 Apr 21 05:49 snap 05:51:01 -rw-rw-r--. 1 jenkins jenkins 5 Apr 21 05:46 VERSION 05:51:01 -rw-rw-r--. 1 jenkins jenkins 222 Apr 21 05:49 version.go [Pipeline] isUnix [Pipeline] sh 05:51:02 + 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=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 --label arch=amd64 --label version=0.0.0 . 05:51:02 Sending build context to Docker daemon 2.563MB 05:51:02 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:51:02 Step 2/23 : FROM ${BASE} AS builder 05:51:02 ---> 2dc7e1bfad5a 05:51:02 Step 3/23 : WORKDIR /device-sdk-go 05:51:03 ---> Running in 034563ad9735 05:51:03 Removing intermediate container 034563ad9735 05:51:03 ---> f2bfd75e8ec6 05:51:03 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:03 ---> Running in 72682be2b86e 05:51:03 Removing intermediate container 72682be2b86e 05:51:03 ---> f366942d3244 05:51:03 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:03 ---> Running in bde9938f530d 05:51:04 Removing intermediate container bde9938f530d 05:51:04 ---> 30c8e29d702e 05:51:04 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:51:04 ---> Running in 7266e70dbd6c 05:51:05 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:05 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:06 OK: 167 MiB in 45 packages 05:51:06 Removing intermediate container 7266e70dbd6c 05:51:06 ---> ff8a662a5bdc 05:51:06 Step 7/23 : COPY . . 05:51:07 ---> bb51610e2be4 05:51:07 Step 8/23 : RUN go mod download 05:51:07 ---> Running in 09e4021d8ad1 05:51:08 Removing intermediate container 09e4021d8ad1 05:51:08 ---> 157730daa1c1 05:51:08 Step 9/23 : RUN make build 05:51:09 ---> Running in be32206b8e17 05:51:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:51:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:51:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:51:20 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:51:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:51:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:51:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:51:22 Removing intermediate container be32206b8e17 05:51:22 ---> 54e115bfe7e4 05:51:22 Step 10/23 : FROM alpine:3.12 05:51:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 28.1% of statements 05:51:22 3.12: Pulling from library/alpine 05:51:22 339de151aab4: Pulling fs layer 05:51:22 339de151aab4: Verifying Checksum 05:51:22 339de151aab4: Download complete 05:51:23 339de151aab4: Pull complete 05:51:23 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:51:23 Status: Downloaded newer image for alpine:3.12 05:51:23 ---> 13621d1b12d4 05:51:23 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.226s coverage: 78.9% of statements 05:51:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.220s coverage: 7.8% of statements 05:51:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:51:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:51:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:51:23 ---> Running in f50f26a3e536 05:51:23 Removing intermediate container f50f26a3e536 05:51:23 ---> 4b400ea715f5 05:51:23 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:23 ---> Running in 33efc7ff10c4 05:51:24 Removing intermediate container 33efc7ff10c4 05:51:24 ---> 4151c05a93f0 05:51:24 Step 13/23 : RUN apk add --update --no-cache zeromq 05:51:25 ---> Running in 5dfa42c5cdeb 05:51:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.262s coverage: 32.0% of statements 05:51:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:51:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:51:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:51:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:51:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:51:27 (1/5) Installing libgcc (9.3.0-r2) 05:51:27 (2/5) Installing libsodium (1.0.18-r0) 05:51:27 (3/5) Installing libstdc++ (9.3.0-r2) 05:51:27 (4/5) Installing libzmq (4.3.3-r0) 05:51:27 (5/5) Installing zeromq (4.3.3-r0) 05:51:27 Executing busybox-1.31.1-r20.trigger 05:51:27 OK: 8 MiB in 19 packages 05:51:28 Removing intermediate container 5dfa42c5cdeb 05:51:28 ---> 2cf742442ebd 05:51:28 Step 14/23 : WORKDIR / 05:51:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.348s coverage: 57.1% of statements 05:51:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.204s coverage: 6.6% of statements 05:51:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.145s coverage: 5.0% of statements 05:51:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:51:28 ---> Running in c79f8632e19f 05:51:28 Removing intermediate container c79f8632e19f 05:51:28 ---> ea2f383c4ab6 05:51:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:51:29 ---> 5f8c88cffd52 05:51:29 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:51:29 GO111MODULE=on go vet ./... 05:51:29 ---> 01dad8230e16 05:51:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:51:29 ---> fd85f5df26c1 05:51:29 Step 18/23 : EXPOSE 49990 05:51:30 ---> Running in 8e35a100bb8a 05:51:30 Removing intermediate container 8e35a100bb8a 05:51:30 ---> 0d9eb9906148 05:51:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:51:30 ---> Running in 42f1a28391ac 05:51:30 Removing intermediate container 42f1a28391ac 05:51:30 ---> 7a454bf3a3b6 05:51:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:51:30 ---> Running in e2fae8b421f8 05:51:30 Removing intermediate container e2fae8b421f8 05:51:30 ---> 69e7ef1ef36d 05:51:30 Step 21/23 : LABEL arch=amd64 05:51:30 ---> Running in 7cfe75c3fd11 05:51:30 Removing intermediate container 7cfe75c3fd11 05:51:30 ---> 6cc6ef795e27 05:51:30 Step 22/23 : LABEL git_sha=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 05:51:30 ---> Running in ea9683a95fc6 05:51:31 Removing intermediate container ea9683a95fc6 05:51:31 ---> 5b55b74ea99c 05:51:31 Step 23/23 : LABEL version=0.0.0 05:51:31 ---> Running in 1973c893aa21 05:51:31 Removing intermediate container 1973c893aa21 05:51:31 ---> b640f8d847cf 05:51:31 [Warning] One or more build-args [ARCH MAKE] were not consumed 05:51:31 Successfully built b640f8d847cf 05:51:31 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 05:51:32 ---> job-cost.sh 05:51:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ZHWZ 05:51:47 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:52:16 gofmt -l . 05:52:16 [ "`gofmt -l .`" = "" ] 05:52:16 ./bin/test-attribution-txt.sh 05:52:16 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:52:16 $ docker stop --time=1 8f87d5b51241ef47b82f4728ec306eca88b66562533ad425945916986bcd62fd 05:52:18 $ docker rm -f 8f87d5b51241ef47b82f4728ec306eca88b66562533ad425945916986bcd62fd [Pipeline] // withDockerContainer [Pipeline] sh 05:52:19 lf-activate-venv(): INFO: Adding /tmp/venv-ZHWZ/bin to PATH 05:52:19 INFO: No Stack... 05:52:19 INFO: Retrieving Pricing Info for: v1-standard-2 05:52:19 INFO: Archiving Costs [Pipeline] sh 05:52:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:52:19 Warning: overwriting stash ‘coverage-report’ 05:52:19 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:52:19 + cut -d, -f6 [Pipeline] lock 05:52:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] 05:52:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] did not exist. Created. 05:52:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:52:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 05:52:20 + echo total: 0.029999999329447746 [Pipeline] } [Pipeline] // stage [Pipeline] stash [Pipeline] stage [Pipeline] { (Build) 05:52:20 Stashed 1 file(s) [Pipeline] } 05:52:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] [Pipeline] script [Pipeline] { [Pipeline] // lock [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws 05:52:21 + sudo chown -R jenkins:jenkins . [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] } 05:52:21 + ls -al . 05:52:21 total 224 05:52:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 05:52 . 05:52:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:48 .. 05:52:21 -rw-rw-r-- 1 jenkins jenkins 140 Apr 21 05:48 .dockerignore 05:52:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 05:48 .git 05:52:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:48 .github 05:52:21 -rw-rw-r-- 1 jenkins jenkins 138 Apr 21 05:48 .gitignore 05:52:21 -rw-rw-r-- 1 jenkins jenkins 987 Apr 21 05:48 Dockerfile.build 05:52:21 -rw-rw-r-- 1 jenkins jenkins 901 Apr 21 05:48 Jenkinsfile 05:52:21 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 21 05:48 LICENSE 05:52:21 -rw-rw-r-- 1 jenkins jenkins 1022 Apr 21 05:48 Makefile 05:52:21 -rw-rw-r-- 1 jenkins jenkins 7652 Apr 21 05:48 README.md 05:52:21 -rw-rw-r-- 1 jenkins jenkins 6616 Apr 21 05:48 RELEASE-NOTES.txt 05:52:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 05:46 VERSION 05:52:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 05:48 bin 05:52:21 -rw-r--r-- 1 jenkins jenkins 100116 Apr 21 05:51 coverage.out 05:52:21 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 05:48 example 05:52:21 -rw-r--r-- 1 jenkins jenkins 575 Apr 21 05:52 go.mod 05:52:21 -rw-r--r-- 1 jenkins jenkins 20737 Apr 21 05:52 go.sum 05:52:21 drwxrwxr-x 14 jenkins jenkins 4096 Apr 21 05:48 internal 05:52:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:48 openapi 05:52:21 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 05:48 pkg 05:52:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 05:48 snap 05:52:21 -rw-rw-r-- 1 jenkins jenkins 222 Apr 21 05:48 version.go [Pipeline] isUnix [Pipeline] sh 05:52:22 + 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=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 --label arch=arm64 --label version=0.0.0 . 05:52:22 Sending build context to Docker daemon 2.554MB 05:52:22 Step 1/23 : ARG BASE=golang:1.15-alpine3.12 05:52:22 Step 2/23 : FROM ${BASE} AS builder 05:52:22 ---> ebf0d8f67b8a 05:52:22 Step 3/23 : WORKDIR /device-sdk-go 05:52:22 ---> Running in b9e5eee98918 05:52:23 Removing intermediate container b9e5eee98918 05:52:23 ---> 3f7638bcb39d 05:52:23 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:52:23 ---> Running in 95e6761b7dc6 05:52:24 Removing intermediate container 95e6761b7dc6 05:52:24 ---> aee2e8d19a12 05:52:24 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:52:24 ---> Running in 7ff603bd0e52 05:52:26 Removing intermediate container 7ff603bd0e52 05:52:26 ---> 93e2ff415589 05:52:26 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:52:26 ---> Running in d88d493eca0b 05:52:27 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:52:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:52:28 OK: 144 MiB in 45 packages 05:52:29 Removing intermediate container d88d493eca0b 05:52:29 ---> fe3c2db54db3 05:52:29 Step 7/23 : COPY . . 05:52:30 ---> f725320dcf7a 05:52:30 Step 8/23 : RUN go mod download 05:52:31 ---> Running in e8c67e9a402a 05:52:33 Removing intermediate container e8c67e9a402a 05:52:33 ---> 6c663ec3e312 05:52:33 Step 9/23 : RUN make build 05:52:33 ---> Running in 03128d7d2198 05:52:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:53:06 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:53:10 Removing intermediate container 03128d7d2198 05:53:10 ---> c69cee2c397f 05:53:10 Step 10/23 : FROM alpine:3.12 05:53:10 3.12: Pulling from library/alpine 05:53:10 d2f70382dc9a: Pulling fs layer 05:53:10 d2f70382dc9a: Verifying Checksum 05:53:10 d2f70382dc9a: Download complete 05:53:10 d2f70382dc9a: Pull complete 05:53:11 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 05:53:11 Status: Downloaded newer image for alpine:3.12 05:53:11 ---> 9852663dfa18 05:53:11 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:11 ---> Running in 08eb72cdff72 05:53:11 Removing intermediate container 08eb72cdff72 05:53:11 ---> d1c819acbd18 05:53:11 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:11 ---> Running in 7ab8dddd23a4 05:53:13 Removing intermediate container 7ab8dddd23a4 05:53:13 ---> 93ebe41bcf2f 05:53:13 Step 13/23 : RUN apk add --update --no-cache zeromq 05:53:13 ---> Running in 426e585406c4 05:53:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:53:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:53:16 (1/5) Installing libgcc (9.3.0-r2) 05:53:16 (2/5) Installing libsodium (1.0.18-r0) 05:53:16 (3/5) Installing libstdc++ (9.3.0-r2) 05:53:17 (4/5) Installing libzmq (4.3.3-r0) 05:53:17 (5/5) Installing zeromq (4.3.3-r0) 05:53:17 Executing busybox-1.31.1-r20.trigger 05:53:17 OK: 8 MiB in 19 packages 05:53:18 Removing intermediate container 426e585406c4 05:53:18 ---> 2e0ff05ffc05 05:53:18 Step 14/23 : WORKDIR / 05:53:18 ---> Running in d09a099a0ee1 05:53:19 Removing intermediate container d09a099a0ee1 05:53:19 ---> e1fef1d83fac 05:53:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:53:20 ---> ddd978ba8a3c 05:53:20 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:53:21 ---> 73575549e4df 05:53:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:53:22 ---> b87cb8264d22 05:53:22 Step 18/23 : EXPOSE 49990 05:53:22 ---> Running in dd160785f206 05:53:22 Removing intermediate container dd160785f206 05:53:22 ---> 2baefef2d11e 05:53:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:53:22 ---> Running in 3ff8b440118f 05:53:23 Removing intermediate container 3ff8b440118f 05:53:23 ---> bfbcef17d618 05:53:23 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:53:23 ---> Running in bde044a5b7e8 05:53:23 Removing intermediate container bde044a5b7e8 05:53:23 ---> 648eb23788e6 05:53:23 Step 21/23 : LABEL arch=arm64 05:53:23 ---> Running in 7dc3dea76e24 05:53:24 Removing intermediate container 7dc3dea76e24 05:53:24 ---> 4cc3ffa1b85a 05:53:24 Step 22/23 : LABEL git_sha=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 05:53:24 ---> Running in 31cf3f04c33a 05:53:24 Removing intermediate container 31cf3f04c33a 05:53:24 ---> ba8513fc2539 05:53:24 Step 23/23 : LABEL version=0.0.0 05:53:24 ---> Running in 6ded7cfec42b 05:53:25 Removing intermediate container 6ded7cfec42b 05:53:25 ---> 47206e44a88a 05:53:25 [Warning] One or more build-args [MAKE ARCH] were not consumed 05:53:25 Successfully built 47206e44a88a 05:53:25 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:53:26 ---> job-cost.sh 05:53:26 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-d9Ab 05:54:05 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 05:55:42 lf-activate-venv(): INFO: Adding /tmp/venv-d9Ab/bin to PATH 05:55:42 INFO: No Stack... 05:55:42 INFO: Retrieving Pricing Info for: lf-standard-4 05:55:42 INFO: Archiving Costs [Pipeline] sh 05:55:42 + cut -d, -f6 05:55:42 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 05:55:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] 05:55:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] did not exist. Created. 05:55:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-892-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:55:43 /w/workspace/device-sdk-go/1@tmp/durable-2451dc3f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-2451dc3f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 05:55:43 + echo total: 0.20999999344348907 [Pipeline] stash 05:55:43 Warning: overwriting stash ‘stack-cost’ 05:55:43 Stashed 1 file(s) [Pipeline] } 05:55:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-892-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 05:55:44 provisioning config files... 05:55:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config3561438752134453963tmp [Pipeline] { [Pipeline] sh 05:55:45 + set +x 05:55:45 + curl -s https://codecov.io/bash 05:55:45 + bash -s -- 05:55:45 05:55:45 _____ _ 05:55:45 / ____| | | 05:55:45 | | ___ __| | ___ ___ _____ __ 05:55:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:55:45 | |___| (_) | (_| | __/ (_| (_) \ V / 05:55:45 \_____\___/ \__,_|\___|\___\___/ \_/ 05:55:45 Bash-1.0.2 05:55:45 05:55:45 05:55:45 ==> git version 2.24.3 found 05:55:45 ==> 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 05:55:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:55:45 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 05:55:45 ==> Jenkins CI detected. 05:55:45 project root: . 05:55:45 --> token set from env 05:55:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:55:45 ==> Running gcov in . (disable via -X gcov) 05:55:45 ==> Python coveragepy not found 05:55:45 ==> Searching for coverage reports in: 05:55:45 + . 05:55:45 -> Found 1 reports 05:55:45 ==> Detecting git/mercurial file structure 05:55:45 ==> Reading reports 05:55:45 + ./coverage.out bytes=100116 05:55:45 ==> Appending adjustments 05:55:45 https://docs.codecov.io/docs/fixing-reports 05:55:45 + Found adjustments 05:55:45 ==> Gzipping contents 05:55:45 16K /tmp/codecov.Wbusn4.gz 05:55:45 ==> Uploading reports 05:55:45 url: https://codecov.io 05:55:45 query: branch=PR-892&commit=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-892%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=892&job=&cmd_args= 05:55:45 -> Pinging Codecov 05:55:45 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-892&commit=d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-892%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=892&job=&cmd_args= 05:55:46 -> Uploading to 05:55:46 https://storage.googleapis.com/codecov/v4/raw/2021-04-21/7E55EF52A471D76F132DFD9A03CDDE97/d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2/86a8a45c-dd40-45d7-9eca-23c0afa31318.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210421T055546Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b9371f918bef123c813f5b1320263836fd49f443356d543e57bf4696039c9af 05:55:46 % Total % Received % Xferd Average Speed Time Time Time Current 05:55:46 Dload Upload Total Spent Left Speed 05:55:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13523 0 0 100 13523 0 28428 --:--:-- --:--:-- --:--:-- 28409 100 13523 0 0 100 13523 0 28418 --:--:-- --:--:-- --:--:-- 28409 05:55:46 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d7c99d76eaebdddaa9bd8d4010d11618dde1e9f2 [Pipeline] } 05:55:46 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 05:55:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:55:49 ---> package-listing.sh 05:55:49 ++ facter osfamily 05:55:49 ++ tr '[:upper:]' '[:lower:]' 05:55:49 + OS_FAMILY=redhat 05:55:49 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-892 05:55:49 + START_PACKAGES=/tmp/packages_start.txt 05:55:49 + END_PACKAGES=/tmp/packages_end.txt 05:55:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:55:49 + PACKAGES=/tmp/packages_start.txt 05:55:49 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-892 ']' 05:55:49 + PACKAGES=/tmp/packages_end.txt 05:55:49 + case "${OS_FAMILY}" in 05:55:49 + rpm -qa 05:55:49 + sort 05:55:54 + '[' -f /tmp/packages_start.txt ']' 05:55:54 + '[' -f /tmp/packages_end.txt ']' 05:55:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:55:54 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-892 ']' 05:55:54 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-892/archives/ 05:55:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-892/archives/ [Pipeline] echo 05:55:54 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-892/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:55:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:55:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:55 05:55:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:55:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:55:55 alpine: Pulling from edgex-lftools-log-publisher 05:55:55 df20fa9351a1: Pulling fs layer 05:55:55 36b3adc4ff6f: Pulling fs layer 05:55:55 8ad3a11d3b57: Pulling fs layer 05:55:55 46f8f816bc3b: Pulling fs layer 05:55:55 93b61091891f: Pulling fs layer 05:55:55 93b9cdb0e59b: Pulling fs layer 05:55:55 5e14af77c1be: Pulling fs layer 05:55:55 01666e4c0597: Pulling fs layer 05:55:55 aa168da1d23b: Pulling fs layer 05:55:55 93b61091891f: Waiting 05:55:55 93b9cdb0e59b: Waiting 05:55:55 46f8f816bc3b: Waiting 05:55:55 5e14af77c1be: Waiting 05:55:55 01666e4c0597: Waiting 05:55:55 aa168da1d23b: Waiting 05:55:55 36b3adc4ff6f: Verifying Checksum 05:55:55 36b3adc4ff6f: Download complete 05:55:55 46f8f816bc3b: Verifying Checksum 05:55:55 46f8f816bc3b: Download complete 05:55:55 df20fa9351a1: Verifying Checksum 05:55:55 df20fa9351a1: Download complete 05:55:56 93b9cdb0e59b: Verifying Checksum 05:55:56 93b9cdb0e59b: Download complete 05:55:56 93b61091891f: Download complete 05:55:56 5e14af77c1be: Verifying Checksum 05:55:56 5e14af77c1be: Download complete 05:55:56 01666e4c0597: Verifying Checksum 05:55:56 01666e4c0597: Download complete 05:55:56 8ad3a11d3b57: Verifying Checksum 05:55:56 8ad3a11d3b57: Download complete 05:55:56 df20fa9351a1: Pull complete 05:55:56 36b3adc4ff6f: Pull complete 05:55:57 8ad3a11d3b57: Pull complete 05:55:57 46f8f816bc3b: Pull complete 05:55:58 aa168da1d23b: Verifying Checksum 05:55:58 aa168da1d23b: Download complete 05:55:58 93b61091891f: Pull complete 05:55:58 93b9cdb0e59b: Pull complete 05:55:59 5e14af77c1be: Pull complete 05:55:59 01666e4c0597: Pull complete 05:56:07 aa168da1d23b: Pull complete 05:56:07 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:56:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:56:07 prd-centos7-docker-4c-2g-1330 does not seem to be running inside a container 05:56:07 $ 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-892/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-892 -v /w/workspace/dgexfoundry_device-sdk-go_PR-892:/w/workspace/dgexfoundry_device-sdk-go_PR-892:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-892@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 05:56:10 $ docker top 83bdb91ec8b08626ddf66bb95738346df3f67c09d7ab5eff0dc2b8792da768d5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:56:11 + touch /tmp/pre-build-complete [Pipeline] sh 05:56:11 + mkdir -p /var/log/sa [Pipeline] sh 05:56:11 + ls /var/log/sa-host 05:56:11 + sadf -c /var/log/sa-host/sa21 05:56:11 file_magic: OK 05:56:11 HZ: Using current value: 100 05:56:11 file_header: OK 05:56:11 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 05:56:11 Statistics: 05:56:11 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:56:11 File successfully converted to sysstat format version 12.2.1 05:56:11 + sadf -c /var/log/sa-host/sa23 05:56:11 file_magic: OK 05:56:11 HZ: Using current value: 100 05:56:11 file_header: OK 05:56:11 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 05:56:11 Statistics: 05:56:11 Hnuu...uuuununununu... 05:56:11 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:12 provisioning config files... 05:56:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-892@tmp/config5156263567823907202tmp [Pipeline] { [Pipeline] echo 05:56:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:56:12 ---> create-netrc.sh [Pipeline] } 05:56:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:56:13 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:56:13 ---> python-tools-install.sh [Pipeline] echo 05:56:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:56:13 ---> sudo-logs.sh 05:56:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:56:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:56:14 ---> job-cost.sh 05:56:14 lf-activate-venv: SKIPPING 05:56:14 DEBUG: total: 0.20999999344348907 05:56:14 INFO: Retrieving Stack Cost... 05:56:16 INFO: Retrieving Pricing Info for: v1-standard-2 05:56:16 INFO: Archiving Costs [Pipeline] echo 05:56:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:56:16 ---> logs-deploy.sh 05:56:16 lf-activate-venv: SKIPPING 05:56:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-892/1 05:56:16 INFO: archiving workspace using pattern(s): 05:56:18 Archives upload complete. 05:56:18 INFO: archiving logs to Nexus