Pull request #909 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from efb8dd89c76e691764926035ac4ee77d2ae57146+70dff52b8df9807f5114cad14836e8310fd11d9c (dbab0c00804f9c435aeee72addfa00db98ac8a0e) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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-909/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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-909/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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-3462 in /w/workspace/dgexfoundry_device-sdk-go_PR-909 [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-909 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit efb8dd89c76e691764926035ac4ee77d2ae57146 Merge succeeded, producing efb8dd89c76e691764926035ac4ee77d2ae57146 Checking out Revision efb8dd89c76e691764926035ac4ee77d2ae57146 (PR-909) > 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/909/head:refs/remotes/origin/PR-909 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efb8dd89c76e691764926035ac4ee77d2ae57146 # 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 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f efb8dd89c76e691764926035ac4ee77d2ae57146 # 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T05:52:45.579Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T05:52:45.805Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T05:52:45.929Z] ========================================================= [2021-05-07T05:52:45.929Z] EdgeX Global Pipelines Version Info [2021-05-07T05:52:45.929Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:52:47.550Z] ------------------- [2021-05-07T05:52:47.550Z] stable info: [2021-05-07T05:52:47.550Z] ------------------- [2021-05-07T05:52:47.550Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T05:52:47.550Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:52:47.550Z] Message: update stable to v1.0.191 [2021-05-07T05:52:48.533Z] ------------------- [2021-05-07T05:52:48.533Z] experimental info: [2021-05-07T05:52:48.533Z] ------------------- [2021-05-07T05:52:48.533Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T05:52:48.533Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:52:48.533Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T05:52:48.793Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-07T05:52:48.853Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-07T05:52:48.924Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T05:52:48.986Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T05:52:49.046Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T05:52:49.100Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T05:52:49.156Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T05:52:49.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T05:52:49.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-07T05:52:49.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T05:52:49.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T05:52:49.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-07T05:52:49.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T05:52:49.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T05:52:49.673Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-07T05:52:49.735Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:52:49.797Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:52:49.872Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:52:49.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T05:52:49.999Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T05:52:50.074Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T05:52:50.135Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-07T05:52:50.213Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T05:52:50.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T05:52:50.341Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-07T05:52:50.402Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T05:52:50.465Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-909 [Pipeline] echo [2021-05-07T05:52:50.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-909 [Pipeline] echo [2021-05-07T05:52:50.604Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-909 [Pipeline] echo [2021-05-07T05:52:50.667Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efb8dd89c76e691764926035ac4ee77d2ae57146 [Pipeline] echo [2021-05-07T05:52:50.726Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efb8dd8 [Pipeline] echo [2021-05-07T05:52:50.787Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:52:50.969Z] provisioning config files... [2021-05-07T05:52:51.002Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp/config1406607050742265942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:52:51.383Z] ---> docker-login.sh [2021-05-07T05:52:51.383Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:52:51.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:52:51.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:52:51.916Z] Configure a credential helper to remove this warning. See [2021-05-07T05:52:51.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:52:51.916Z] [2021-05-07T05:52:51.916Z] Login Succeeded [2021-05-07T05:52:51.916Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:52:51.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:52:51.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:52:51.916Z] Configure a credential helper to remove this warning. See [2021-05-07T05:52:51.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:52:51.916Z] [2021-05-07T05:52:51.916Z] Login Succeeded [2021-05-07T05:52:51.916Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:52:52.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:52:52.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:52:52.178Z] Configure a credential helper to remove this warning. See [2021-05-07T05:52:52.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:52:52.178Z] [2021-05-07T05:52:52.178Z] Login Succeeded [2021-05-07T05:52:52.178Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:52:52.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:52:52.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:52:52.440Z] Configure a credential helper to remove this warning. See [2021-05-07T05:52:52.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:52:52.440Z] [2021-05-07T05:52:52.440Z] Login Succeeded [2021-05-07T05:52:52.440Z] docker.io [2021-05-07T05:52:52.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:52:52.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:52:52.701Z] Configure a credential helper to remove this warning. See [2021-05-07T05:52:52.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:52:52.701Z] [2021-05-07T05:52:52.701Z] Login Succeeded [2021-05-07T05:52:52.701Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:52:52.727Z] 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 [2021-05-07T05:52:53.443Z] + git log --format=format:%s -1 efb8dd89c76e691764926035ac4ee77d2ae57146 [Pipeline] echo [2021-05-07T05:52:53.542Z] GIT_COMMIT: efb8dd89c76e691764926035ac4ee77d2ae57146, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-05-07T05:52:53.583Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:52:54.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:52:54.213Z] [2021-05-07T05:52:54.213Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:52:54.567Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:52:54.567Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T05:52:54.567Z] 31603596830f: Pulling fs layer [2021-05-07T05:52:54.567Z] 54011a49482f: Pulling fs layer [2021-05-07T05:52:54.567Z] a6820b24f6d8: Pulling fs layer [2021-05-07T05:52:54.567Z] f581987b2513: Pulling fs layer [2021-05-07T05:52:54.567Z] f581987b2513: Waiting [2021-05-07T05:52:54.567Z] 54011a49482f: Verifying Checksum [2021-05-07T05:52:54.567Z] 54011a49482f: Download complete [2021-05-07T05:52:54.829Z] 31603596830f: Verifying Checksum [2021-05-07T05:52:54.829Z] 31603596830f: Download complete [2021-05-07T05:52:54.829Z] f581987b2513: Verifying Checksum [2021-05-07T05:52:54.829Z] f581987b2513: Download complete [2021-05-07T05:52:54.829Z] a6820b24f6d8: Verifying Checksum [2021-05-07T05:52:54.829Z] a6820b24f6d8: Download complete [2021-05-07T05:52:55.091Z] 31603596830f: Pull complete [2021-05-07T05:52:55.353Z] 54011a49482f: Pull complete [2021-05-07T05:52:55.931Z] a6820b24f6d8: Pull complete [2021-05-07T05:52:56.193Z] f581987b2513: Pull complete [2021-05-07T05:52:56.455Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T05:52:56.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:52:56.455Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T05:52:56.586Z] prd-centos7-docker-4c-2g-3462 does not seem to be running inside a container [2021-05-07T05:52:56.636Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-909 -v /w/workspace/dgexfoundry_device-sdk-go_PR-909:/w/workspace/dgexfoundry_device-sdk-go_PR-909:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-909@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 [2021-05-07T05:52:58.437Z] $ docker top b2c58cccad9ef9b29153bec6fab0e22c9c340cc71a8faf3a9500a5ff445a1017 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T05:52:58.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T05:52:58.770Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T05:52:59.018Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T05:52:59.021Z] $ docker exec b2c58cccad9ef9b29153bec6fab0e22c9c340cc71a8faf3a9500a5ff445a1017 ssh-agent [2021-05-07T05:52:59.186Z] SSH_AUTH_SOCK=/tmp/ssh-gzqL9uBuIx3s/agent.12 [2021-05-07T05:52:59.186Z] SSH_AGENT_PID=17 [2021-05-07T05:52:59.196Z] Running ssh-add (command line suppressed) [2021-05-07T05:52:59.331Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp/private_key_304914005387871168.key (/w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp/private_key_304914005387871168.key) [2021-05-07T05:52:59.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T05:52:59.821Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T05:52:59.858Z] $ docker exec --env ******** --env ******** b2c58cccad9ef9b29153bec6fab0e22c9c340cc71a8faf3a9500a5ff445a1017 ssh-agent -k [2021-05-07T05:52:59.977Z] unset SSH_AUTH_SOCK; [2021-05-07T05:52:59.977Z] unset SSH_AGENT_PID; [2021-05-07T05:52:59.977Z] echo Agent pid 17 killed; [2021-05-07T05:53:00.028Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T05:53:00.145Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T05:53:00.145Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T05:53:00.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T05:53:00.336Z] $ docker exec b2c58cccad9ef9b29153bec6fab0e22c9c340cc71a8faf3a9500a5ff445a1017 ssh-agent [2021-05-07T05:53:00.498Z] SSH_AUTH_SOCK=/tmp/ssh-70aKzVgPLATF/agent.46 [2021-05-07T05:53:00.498Z] SSH_AGENT_PID=52 [2021-05-07T05:53:00.504Z] Running ssh-add (command line suppressed) [2021-05-07T05:53:00.626Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp/private_key_7554410231678389743.key (/w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp/private_key_7554410231678389743.key) [2021-05-07T05:53:00.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T05:53:01.264Z] + git semver init [2021-05-07T05:53:01.264Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T05:53:01.264Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-909/.git [2021-05-07T05:53:01.264Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-909 [2021-05-07T05:53:01.264Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T05:53:01.264Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T05:53:01.264Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T05:53:01.264Z] # $SEMVER_BRANCH = PR-909 [2021-05-07T05:53:01.264Z] # $SEMVER_TEMP = /tmp/semver-284401621 [2021-05-07T05:53:01.264Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-07T05:53:02.665Z] # '/tmp/semver-284401621' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-909/.semver' [2021-05-07T05:53:02.665Z] # -> Force: false [2021-05-07T05:53:02.665Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-909/.semver [Pipeline] } [2021-05-07T05:53:02.686Z] $ docker exec --env ******** --env ******** b2c58cccad9ef9b29153bec6fab0e22c9c340cc71a8faf3a9500a5ff445a1017 ssh-agent -k [2021-05-07T05:53:02.862Z] unset SSH_AUTH_SOCK; [2021-05-07T05:53:02.862Z] unset SSH_AGENT_PID; [2021-05-07T05:53:02.862Z] echo Agent pid 52 killed; [2021-05-07T05:53:02.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T05:53:03.390Z] + git semver [Pipeline] } [2021-05-07T05:53:03.422Z] $ docker stop --time=1 b2c58cccad9ef9b29153bec6fab0e22c9c340cc71a8faf3a9500a5ff445a1017 [2021-05-07T05:53:05.073Z] $ docker rm -f b2c58cccad9ef9b29153bec6fab0e22c9c340cc71a8faf3a9500a5ff445a1017 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T05:53:05.570Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T05:53:05.993Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T05:53:06.017Z] [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 [2021-05-07T05:53:21.498Z] Still waiting to schedule task [2021-05-07T05:53:21.498Z] ‘prd-centos7-docker-4c-2g-3464’ is offline [2021-05-07T05:53:21.525Z] Still waiting to schedule task [2021-05-07T05:53:21.525Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-07T05:54:19.987Z] Running on prd-centos7-docker-4c-2g-3465 in /w/workspace/dgexfoundry_device-sdk-go_PR-909 [Pipeline] { [Pipeline] ws [2021-05-07T05:54:20.049Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T05:54:29.555Z] using credential edgex-jenkins-ssh [2021-05-07T05:54:29.572Z] Cloning the remote Git repository [2021-05-07T05:54:29.625Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:29.734Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-07T05:54:29.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:29.844Z] > git --version # timeout=10 [2021-05-07T05:54:29.859Z] > git --version # 'git version 2.24.3' [2021-05-07T05:54:29.860Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:29.947Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:54:32.045Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit efb8dd89c76e691764926035ac4ee77d2ae57146 [2021-05-07T05:54:32.406Z] Merge succeeded, producing efb8dd89c76e691764926035ac4ee77d2ae57146 [2021-05-07T05:54:32.406Z] Checking out Revision efb8dd89c76e691764926035ac4ee77d2ae57146 (PR-909) [2021-05-07T05:54:31.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:54:31.427Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:54:31.479Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:54:31.515Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:31.516Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:31.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/909/head:refs/remotes/origin/PR-909 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T05:54:32.065Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:54:32.097Z] > git checkout -f efb8dd89c76e691764926035ac4ee77d2ae57146 # timeout=10 [2021-05-07T05:54:32.233Z] > git remote # timeout=10 [2021-05-07T05:54:32.274Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T05:54:32.308Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:32.320Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T05:54:32.373Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T05:54:32.412Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:54:32.460Z] > git checkout -f efb8dd89c76e691764926035ac4ee77d2ae57146 # timeout=10 [2021-05-07T05:54:36.974Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-05-07T05:54:37.097Z] > git --version # timeout=10 [2021-05-07T05:54:37.152Z] > git --version # 'git version 2.24.3' [2021-05-07T05:54:37.194Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T05:54:39.753Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:54:40.394Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:54:40.902Z] + true [2021-05-07T05:54:40.902Z] + sudo service docker restart [2021-05-07T05:54:40.902Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:54:43.173Z] provisioning config files... [2021-05-07T05:54:43.235Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6503014839181779087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:54:43.691Z] ---> docker-login.sh [2021-05-07T05:54:43.691Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:54:44.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:44.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:44.738Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:44.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:44.738Z] [2021-05-07T05:54:44.738Z] Login Succeeded [2021-05-07T05:54:44.738Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:54:45.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:45.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:45.428Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:45.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:45.428Z] [2021-05-07T05:54:45.428Z] Login Succeeded [2021-05-07T05:54:45.428Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:54:46.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:46.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:46.159Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:46.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:46.159Z] [2021-05-07T05:54:46.159Z] Login Succeeded [2021-05-07T05:54:46.159Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:54:46.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:46.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:46.906Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:46.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:46.906Z] [2021-05-07T05:54:46.906Z] Login Succeeded [2021-05-07T05:54:46.906Z] docker.io [2021-05-07T05:54:47.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:47.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:47.598Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:47.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:47.599Z] [2021-05-07T05:54:47.599Z] Login Succeeded [2021-05-07T05:54:47.599Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:54:47.719Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T05:54:48.248Z] ========================================================= [2021-05-07T05:54:48.248Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T05:54:48.248Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:54:48.726Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T05:54:49.364Z] Sending build context to Docker daemon 2.472MB [2021-05-07T05:54:49.364Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:54:49.364Z] Step 2/8 : FROM ${BASE} [2021-05-07T05:54:49.364Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T05:54:49.364Z] 540db60ca938: Pulling fs layer [2021-05-07T05:54:49.364Z] adcc1eea9eea: Pulling fs layer [2021-05-07T05:54:49.364Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T05:54:49.364Z] 0510c868ecb4: Pulling fs layer [2021-05-07T05:54:49.364Z] afea3b2eda06: Pulling fs layer [2021-05-07T05:54:49.364Z] 7809a108b3ef: Pulling fs layer [2021-05-07T05:54:49.364Z] f706445af74f: Pulling fs layer [2021-05-07T05:54:49.364Z] afea3b2eda06: Waiting [2021-05-07T05:54:49.364Z] 7809a108b3ef: Waiting [2021-05-07T05:54:49.364Z] f706445af74f: Waiting [2021-05-07T05:54:49.364Z] 0510c868ecb4: Waiting [2021-05-07T05:54:49.364Z] 4c4ab2625f07: Download complete [2021-05-07T05:54:49.364Z] adcc1eea9eea: Verifying Checksum [2021-05-07T05:54:49.364Z] adcc1eea9eea: Download complete [2021-05-07T05:54:49.698Z] afea3b2eda06: Verifying Checksum [2021-05-07T05:54:49.698Z] afea3b2eda06: Download complete [2021-05-07T05:54:49.698Z] 7809a108b3ef: Verifying Checksum [2021-05-07T05:54:49.698Z] 7809a108b3ef: Download complete [2021-05-07T05:54:49.698Z] 540db60ca938: Verifying Checksum [2021-05-07T05:54:49.698Z] 540db60ca938: Download complete [2021-05-07T05:54:50.785Z] 540db60ca938: Pull complete [2021-05-07T05:54:51.550Z] adcc1eea9eea: Pull complete [2021-05-07T05:54:52.277Z] 4c4ab2625f07: Pull complete [2021-05-07T05:54:56.327Z] f706445af74f: Verifying Checksum [2021-05-07T05:54:56.327Z] f706445af74f: Download complete [2021-05-07T05:54:58.463Z] 0510c868ecb4: Verifying Checksum [2021-05-07T05:54:58.463Z] 0510c868ecb4: Download complete [2021-05-07T05:55:17.515Z] 0510c868ecb4: Pull complete [2021-05-07T05:55:17.515Z] afea3b2eda06: Pull complete [2021-05-07T05:55:17.515Z] 7809a108b3ef: Pull complete [2021-05-07T05:55:26.223Z] f706445af74f: Pull complete [2021-05-07T05:55:26.224Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T05:55:26.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T05:55:26.224Z] ---> b068be0155e3 [2021-05-07T05:55:26.224Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:55:26.543Z] ---> Running in 4ad8e79f85bd [2021-05-07T05:55:27.180Z] Removing intermediate container 4ad8e79f85bd [2021-05-07T05:55:27.180Z] ---> c9b9f2015797 [2021-05-07T05:55:27.180Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:55:27.526Z] ---> Running in b19a301bdfbe [2021-05-07T05:55:30.654Z] Removing intermediate container b19a301bdfbe [2021-05-07T05:55:30.654Z] ---> 9dab46b05f5b [2021-05-07T05:55:30.654Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T05:55:30.654Z] ---> Running in 9ad8341df2fd [2021-05-07T05:55:32.227Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T05:55:33.025Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T05:55:34.102Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T05:55:34.102Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T05:55:34.443Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T05:55:34.443Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T05:55:34.443Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T05:55:34.737Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T05:55:35.052Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T05:55:35.052Z] OK: 150 MiB in 46 packages [2021-05-07T05:55:36.172Z] Removing intermediate container 9ad8341df2fd [2021-05-07T05:55:36.172Z] ---> 50f3f1b5ec3f [2021-05-07T05:55:36.172Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T05:55:36.465Z] ---> Running in 821a5929c7fa [2021-05-07T05:55:36.777Z] Removing intermediate container 821a5929c7fa [2021-05-07T05:55:36.777Z] ---> 5bece2387b9c [2021-05-07T05:55:36.777Z] Step 7/8 : COPY . . [2021-05-07T05:55:39.545Z] ---> ba855369c371 [2021-05-07T05:55:39.545Z] Step 8/8 : RUN go mod download [2021-05-07T05:55:39.893Z] ---> Running in 5de52f37892f [2021-05-07T05:56:03.461Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3468 in /w/workspace/dgexfoundry_device-sdk-go_PR-909 [Pipeline] { [Pipeline] ws [2021-05-07T05:56:03.519Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T05:56:09.195Z] using credential edgex-jenkins-ssh [2021-05-07T05:56:09.217Z] Cloning the remote Git repository [2021-05-07T05:56:09.336Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:09.471Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-07T05:56:09.571Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:09.572Z] > git --version # timeout=10 [2021-05-07T05:56:09.592Z] > git --version # 'git version 2.17.1' [2021-05-07T05:56:09.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:09.736Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:56:10.967Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:56:10.987Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:56:11.015Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:56:11.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:11.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:11.067Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/909/head:refs/remotes/origin/PR-909 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T05:56:11.634Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit efb8dd89c76e691764926035ac4ee77d2ae57146 [2021-05-07T05:56:11.877Z] Merge succeeded, producing efb8dd89c76e691764926035ac4ee77d2ae57146 [2021-05-07T05:56:11.877Z] Checking out Revision efb8dd89c76e691764926035ac4ee77d2ae57146 (PR-909) [2021-05-07T05:56:11.647Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:56:11.660Z] > git checkout -f efb8dd89c76e691764926035ac4ee77d2ae57146 # timeout=10 [2021-05-07T05:56:11.766Z] > git remote # timeout=10 [2021-05-07T05:56:11.785Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T05:56:11.801Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:11.814Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T05:56:11.840Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T05:56:11.876Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:56:11.887Z] > git checkout -f efb8dd89c76e691764926035ac4ee77d2ae57146 # timeout=10 [2021-05-07T05:56:16.124Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-05-07T05:56:16.175Z] > git --version # timeout=10 [2021-05-07T05:56:16.187Z] > git --version # 'git version 2.17.1' [2021-05-07T05:56:16.209Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T05:56:17.944Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:56:18.381Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:56:18.739Z] + + sudo service docker restart [2021-05-07T05:56:18.739Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:56:21.480Z] provisioning config files... [2021-05-07T05:56:21.520Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5986427555859279044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:56:21.922Z] ---> docker-login.sh [2021-05-07T05:56:21.922Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:56:22.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:23.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:23.122Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:23.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:23.122Z] [2021-05-07T05:56:23.122Z] Login Succeeded [2021-05-07T05:56:23.122Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:56:23.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:23.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:23.691Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:23.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:23.691Z] [2021-05-07T05:56:23.691Z] Login Succeeded [2021-05-07T05:56:23.691Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:56:23.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:23.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:23.968Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:23.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:23.968Z] [2021-05-07T05:56:23.968Z] Login Succeeded [2021-05-07T05:56:24.240Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:56:24.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:24.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:24.513Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:24.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:24.513Z] [2021-05-07T05:56:24.513Z] Login Succeeded [2021-05-07T05:56:24.513Z] docker.io [2021-05-07T05:56:25.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:25.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:25.396Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:25.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:25.396Z] [2021-05-07T05:56:25.396Z] Login Succeeded [2021-05-07T05:56:25.396Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:56:25.427Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T05:56:25.873Z] ========================================================= [2021-05-07T05:56:25.874Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T05:56:25.874Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:56:26.257Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T05:56:26.545Z] Sending build context to Docker daemon 2.474MB [2021-05-07T05:56:26.821Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:56:26.821Z] Step 2/8 : FROM ${BASE} [2021-05-07T05:56:26.821Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T05:56:26.821Z] 595b0fe564bb: Pulling fs layer [2021-05-07T05:56:26.821Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T05:56:26.821Z] 316046926c0a: Pulling fs layer [2021-05-07T05:56:26.821Z] 4ebd0625c992: Pulling fs layer [2021-05-07T05:56:26.821Z] 207e8628e3a3: Pulling fs layer [2021-05-07T05:56:26.821Z] c791037a9be2: Pulling fs layer [2021-05-07T05:56:26.821Z] ffd874e62e21: Pulling fs layer [2021-05-07T05:56:26.821Z] 207e8628e3a3: Waiting [2021-05-07T05:56:26.821Z] c791037a9be2: Waiting [2021-05-07T05:56:26.821Z] ffd874e62e21: Waiting [2021-05-07T05:56:26.821Z] 4ebd0625c992: Waiting [2021-05-07T05:56:26.821Z] 316046926c0a: Download complete [2021-05-07T05:56:26.821Z] 7186ed65a4f7: Download complete [2021-05-07T05:56:26.821Z] 207e8628e3a3: Download complete [2021-05-07T05:56:26.821Z] c791037a9be2: Download complete [2021-05-07T05:56:27.107Z] 595b0fe564bb: Verifying Checksum [2021-05-07T05:56:27.107Z] 595b0fe564bb: Download complete [2021-05-07T05:56:27.714Z] 595b0fe564bb: Pull complete [2021-05-07T05:56:27.872Z] Removing intermediate container 5de52f37892f [2021-05-07T05:56:27.872Z] ---> 66f23c4f0243 [2021-05-07T05:56:27.872Z] Successfully built 66f23c4f0243 [2021-05-07T05:56:27.872Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:56:28.335Z] 7186ed65a4f7: Pull complete [2021-05-07T05:56:28.395Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T05:56:28.617Z] 316046926c0a: Pull complete [2021-05-07T05:56:28.721Z] . [Pipeline] withDockerContainer [2021-05-07T05:56:29.366Z] prd-centos7-docker-4c-2g-3465 does not seem to be running inside a container [2021-05-07T05:56:29.559Z] $ 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 [2021-05-07T05:56:29.617Z] ffd874e62e21: Verifying Checksum [2021-05-07T05:56:29.617Z] ffd874e62e21: Download complete [2021-05-07T05:56:30.608Z] 4ebd0625c992: Verifying Checksum [2021-05-07T05:56:30.608Z] 4ebd0625c992: Download complete [2021-05-07T05:56:31.506Z] $ docker top a6ab22a5cd37570e54ae6f1de50954e8c7dc9bb7937f746cf5fb5c1f472296cf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:56:32.767Z] + go version [2021-05-07T05:56:32.767Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T05:56:32.814Z] $ docker stop --time=1 a6ab22a5cd37570e54ae6f1de50954e8c7dc9bb7937f746cf5fb5c1f472296cf [2021-05-07T05:56:34.971Z] $ docker rm -f a6ab22a5cd37570e54ae6f1de50954e8c7dc9bb7937f746cf5fb5c1f472296cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:56:36.337Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T05:56:36.337Z] . [Pipeline] withDockerContainer [2021-05-07T05:56:36.667Z] prd-centos7-docker-4c-2g-3465 does not seem to be running inside a container [2021-05-07T05:56:36.792Z] $ 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 [2021-05-07T05:56:39.421Z] $ docker top e86173f8920663bc4b8a333dc552655f6539bfae943cb9f777cca0ed46703e7a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:56:40.808Z] 4ebd0625c992: Pull complete [2021-05-07T05:56:40.808Z] 207e8628e3a3: Pull complete [2021-05-07T05:56:40.946Z] + go mod tidy [2021-05-07T05:56:41.084Z] c791037a9be2: Pull complete [Pipeline] sh [2021-05-07T05:56:44.370Z] + make test [2021-05-07T05:56:44.370Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T05:56:44.489Z] ffd874e62e21: Pull complete [2021-05-07T05:56:44.760Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T05:56:44.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T05:56:44.760Z] ---> cfc18b08335c [2021-05-07T05:56:44.760Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:56:48.191Z] ---> Running in c5c82105033e [2021-05-07T05:56:48.191Z] Removing intermediate container c5c82105033e [2021-05-07T05:56:48.191Z] ---> aa98264a8c99 [2021-05-07T05:56:48.191Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:56:48.191Z] ---> Running in d090ff1ed15b [2021-05-07T05:56:50.851Z] Removing intermediate container d090ff1ed15b [2021-05-07T05:56:50.851Z] ---> 29cfcacb93f2 [2021-05-07T05:56:50.851Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T05:56:50.851Z] ---> Running in c9788a6e6d3e [2021-05-07T05:56:51.858Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T05:56:52.838Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T05:56:53.431Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T05:56:53.431Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T05:56:53.705Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T05:56:53.705Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T05:56:53.705Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T05:56:53.979Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T05:56:54.254Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T05:56:54.254Z] OK: 139 MiB in 46 packages [2021-05-07T05:56:55.706Z] Removing intermediate container c9788a6e6d3e [2021-05-07T05:56:55.706Z] ---> 28c2a8beb842 [2021-05-07T05:56:55.706Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T05:56:55.706Z] ---> Running in 9aa79f28c3d8 [2021-05-07T05:56:56.306Z] Removing intermediate container 9aa79f28c3d8 [2021-05-07T05:56:56.307Z] ---> 65886fcd7ff5 [2021-05-07T05:56:56.307Z] Step 7/8 : COPY . . [2021-05-07T05:56:57.331Z] ---> e4d591a65083 [2021-05-07T05:56:57.331Z] Step 8/8 : RUN go mod download [2021-05-07T05:56:57.617Z] ---> Running in d40f42e72530 [2021-05-07T05:57:12.085Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T05:57:24.447Z] Removing intermediate container d40f42e72530 [2021-05-07T05:57:24.447Z] ---> 2d101a480526 [2021-05-07T05:57:24.447Z] Successfully built 2d101a480526 [2021-05-07T05:57:24.447Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:57:24.854Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T05:57:24.854Z] . [Pipeline] withDockerContainer [2021-05-07T05:57:25.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-3468 does not seem to be running inside a container [2021-05-07T05:57:25.252Z] $ 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 [2021-05-07T05:57:26.729Z] $ docker top 8c6dcc05a6ec2bd5cb210529fa89a9d833ecb61f7b6a230e70feb92c46d7bedd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:57:27.761Z] + go version [2021-05-07T05:57:27.762Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T05:57:27.797Z] $ docker stop --time=1 8c6dcc05a6ec2bd5cb210529fa89a9d833ecb61f7b6a230e70feb92c46d7bedd [2021-05-07T05:57:29.773Z] $ docker rm -f 8c6dcc05a6ec2bd5cb210529fa89a9d833ecb61f7b6a230e70feb92c46d7bedd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:57:30.849Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T05:57:30.849Z] . [Pipeline] withDockerContainer [2021-05-07T05:57:31.138Z] prd-ubuntu18.04-docker-arm64-4c-16g-3468 does not seem to be running inside a container [2021-05-07T05:57:31.319Z] $ 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 [2021-05-07T05:57:32.746Z] $ docker top 5bc6cf0ed186d6359c931f1fac5acd2f4f18fe57e8763f0b7f60a7f8f5162458 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:57:33.709Z] + go mod tidy [Pipeline] sh [2021-05-07T05:57:35.034Z] + make test [2021-05-07T05:57:35.034Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T05:57:58.247Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T05:58:21.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.189s coverage: 28.1% of statements [2021-05-07T05:58:21.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.119s coverage: 78.9% of statements [2021-05-07T05:58:21.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.348s coverage: 7.8% of statements [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T05:58:21.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.420s coverage: 30.2% of statements [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T05:58:21.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T05:58:21.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.452s coverage: 57.2% of statements [2021-05-07T05:58:21.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.539s coverage: 6.6% of statements [2021-05-07T05:58:23.205Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 5.0% of statements [2021-05-07T05:58:23.205Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T05:58:23.879Z] GO111MODULE=on go vet ./... [2021-05-07T05:59:06.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T05:59:06.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T05:59:06.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T05:59:06.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T05:59:06.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T05:59:07.755Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 28.1% of statements [2021-05-07T05:59:08.354Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.190s coverage: 78.9% of statements [2021-05-07T05:59:08.354Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.150s coverage: 7.8% of statements [2021-05-07T05:59:08.354Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T05:59:08.354Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T05:59:08.354Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T05:59:10.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.226s coverage: 30.2% of statements [2021-05-07T05:59:10.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T05:59:10.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T05:59:10.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T05:59:12.988Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.319s coverage: 57.2% of statements [2021-05-07T05:59:14.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.992s coverage: 6.6% of statements [2021-05-07T05:59:14.433Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.160s coverage: 5.0% of statements [2021-05-07T05:59:14.433Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T05:59:15.041Z] GO111MODULE=on go vet ./... [2021-05-07T05:59:21.390Z] gofmt -l . [2021-05-07T05:59:21.390Z] [ "`gofmt -l .`" = "" ] [2021-05-07T05:59:21.390Z] ./bin/test-attribution-txt.sh [2021-05-07T05:59:25.152Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T05:59:26.779Z] $ docker stop --time=1 e86173f8920663bc4b8a333dc552655f6539bfae943cb9f777cca0ed46703e7a [2021-05-07T05:59:30.453Z] $ docker rm -f e86173f8920663bc4b8a333dc552655f6539bfae943cb9f777cca0ed46703e7a [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T05:59:32.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T05:59:34.583Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-07T05:59:35.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T05:59:36.449Z] + ls -al . [2021-05-07T05:59:36.449Z] total 188 [2021-05-07T05:59:36.450Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 7 05:59 . [2021-05-07T05:59:36.450Z] drwxrwxr-x. 4 jenkins jenkins 28 May 7 05:54 .. [2021-05-07T05:59:36.450Z] drwxrwxr-x. 2 jenkins jenkins 64 May 7 05:54 bin [2021-05-07T05:59:36.450Z] -rw-r--r--. 1 jenkins jenkins 100320 May 7 05:58 coverage.out [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 987 May 7 05:54 Dockerfile.build [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 140 May 7 05:54 .dockerignore [2021-05-07T05:59:36.450Z] drwxrwxr-x. 5 jenkins jenkins 62 May 7 05:54 example [2021-05-07T05:59:36.450Z] drwxrwxr-x. 8 jenkins jenkins 179 May 7 05:54 .git [2021-05-07T05:59:36.450Z] drwxrwxr-x. 2 jenkins jenkins 103 May 7 05:54 .github [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 138 May 7 05:54 .gitignore [2021-05-07T05:59:36.450Z] -rw-r--r--. 1 jenkins jenkins 575 May 7 05:59 go.mod [2021-05-07T05:59:36.450Z] -rw-r--r--. 1 jenkins jenkins 20675 May 7 05:56 go.sum [2021-05-07T05:59:36.450Z] drwxrwxr-x. 14 jenkins jenkins 207 May 7 05:54 internal [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 901 May 7 05:54 Jenkinsfile [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 7 05:54 LICENSE [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 7 05:54 Makefile [2021-05-07T05:59:36.450Z] drwxrwxr-x. 4 jenkins jenkins 26 May 7 05:54 openapi [2021-05-07T05:59:36.450Z] drwxrwxr-x. 5 jenkins jenkins 50 May 7 05:54 pkg [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 7 05:54 README.md [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 7 05:54 RELEASE-NOTES.txt [2021-05-07T05:59:36.450Z] drwxrwxr-x. 4 jenkins jenkins 54 May 7 05:54 snap [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 5 May 7 05:53 VERSION [2021-05-07T05:59:36.450Z] -rw-rw-r--. 1 jenkins jenkins 222 May 7 05:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:59:37.024Z] + 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=efb8dd89c76e691764926035ac4ee77d2ae57146 --label arch=amd64 --label version=0.0.0 . [2021-05-07T05:59:38.068Z] Sending build context to Docker daemon 2.573MB [2021-05-07T05:59:38.068Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:59:38.068Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T05:59:38.068Z] ---> 66f23c4f0243 [2021-05-07T05:59:38.068Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T05:59:38.407Z] ---> Running in 441bedd5dbac [2021-05-07T05:59:39.126Z] Removing intermediate container 441bedd5dbac [2021-05-07T05:59:39.126Z] ---> 09292f63a3a3 [2021-05-07T05:59:39.126Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:59:39.126Z] ---> Running in 3fa47f8a17d9 [2021-05-07T05:59:40.231Z] Removing intermediate container 3fa47f8a17d9 [2021-05-07T05:59:40.231Z] ---> 862c02caf3ea [2021-05-07T05:59:40.231Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:59:40.231Z] ---> Running in 9f64357fb029 [2021-05-07T05:59:45.164Z] Removing intermediate container 9f64357fb029 [2021-05-07T05:59:45.164Z] ---> 6c98a90cc8b3 [2021-05-07T05:59:45.164Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T05:59:45.164Z] ---> Running in 0541f8cfa4f3 [2021-05-07T05:59:47.457Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T05:59:48.134Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T05:59:48.868Z] OK: 150 MiB in 46 packages [2021-05-07T05:59:51.235Z] Removing intermediate container 0541f8cfa4f3 [2021-05-07T05:59:51.235Z] ---> 481c68beff4a [2021-05-07T05:59:51.235Z] Step 7/23 : COPY . . [2021-05-07T05:59:53.497Z] ---> dd97ce453575 [2021-05-07T05:59:53.497Z] Step 8/23 : RUN go mod download [2021-05-07T05:59:53.497Z] ---> Running in 6c21fcdf6387 [2021-05-07T05:59:58.266Z] Removing intermediate container 6c21fcdf6387 [2021-05-07T05:59:58.266Z] ---> bf6bb7af123e [2021-05-07T05:59:58.266Z] Step 9/23 : RUN make build [2021-05-07T05:59:58.266Z] ---> Running in 71cea464773d [2021-05-07T06:00:01.275Z] 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 [2021-05-07T06:00:11.649Z] gofmt -l . [2021-05-07T06:00:11.649Z] [ "`gofmt -l .`" = "" ] [2021-05-07T06:00:11.649Z] ./bin/test-attribution-txt.sh [2021-05-07T06:00:11.649Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T06:00:11.704Z] $ docker stop --time=1 5bc6cf0ed186d6359c931f1fac5acd2f4f18fe57e8763f0b7f60a7f8f5162458 [2021-05-07T06:00:14.004Z] $ docker rm -f 5bc6cf0ed186d6359c931f1fac5acd2f4f18fe57e8763f0b7f60a7f8f5162458 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T06:00:15.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T06:00:15.242Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T06:00:15.886Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T06:00:16.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T06:00:16.900Z] + ls -al . [2021-05-07T06:00:16.900Z] total 224 [2021-05-07T06:00:16.900Z] drwxrwxr-x 10 jenkins jenkins 4096 May 7 06:00 . [2021-05-07T06:00:16.900Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:56 .. [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 05:56 .dockerignore [2021-05-07T06:00:16.900Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 05:56 .git [2021-05-07T06:00:16.900Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:56 .github [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 138 May 7 05:56 .gitignore [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 987 May 7 05:56 Dockerfile.build [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 901 May 7 05:56 Jenkinsfile [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 05:56 LICENSE [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 7 05:56 Makefile [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 7 05:56 README.md [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 7 05:56 RELEASE-NOTES.txt [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 05:53 VERSION [2021-05-07T06:00:16.900Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:56 bin [2021-05-07T06:00:16.900Z] -rw-r--r-- 1 jenkins jenkins 100320 May 7 05:59 coverage.out [2021-05-07T06:00:16.900Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:56 example [2021-05-07T06:00:16.900Z] -rw-r--r-- 1 jenkins jenkins 575 May 7 06:00 go.mod [2021-05-07T06:00:16.900Z] -rw-r--r-- 1 jenkins jenkins 20675 May 7 05:57 go.sum [2021-05-07T06:00:16.900Z] drwxrwxr-x 14 jenkins jenkins 4096 May 7 05:56 internal [2021-05-07T06:00:16.900Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:56 openapi [2021-05-07T06:00:16.900Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:56 pkg [2021-05-07T06:00:16.900Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:56 snap [2021-05-07T06:00:16.900Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 05:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:00:17.277Z] + 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=efb8dd89c76e691764926035ac4ee77d2ae57146 --label arch=arm64 --label version=0.0.0 . [2021-05-07T06:00:17.875Z] Sending build context to Docker daemon 2.575MB [2021-05-07T06:00:17.875Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T06:00:17.875Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T06:00:17.875Z] ---> 2d101a480526 [2021-05-07T06:00:17.875Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T06:00:18.148Z] ---> Running in 76b95f26c3d2 [2021-05-07T06:00:18.749Z] Removing intermediate container 76b95f26c3d2 [2021-05-07T06:00:18.749Z] ---> 01b2802658f2 [2021-05-07T06:00:18.749Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:00:18.749Z] ---> Running in 4e59a2f4a970 [2021-05-07T06:00:19.355Z] Removing intermediate container 4e59a2f4a970 [2021-05-07T06:00:19.355Z] ---> 2eebd15c8245 [2021-05-07T06:00:19.355Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:00:19.355Z] ---> Running in 03ba3f34fced [2021-05-07T06:00:21.334Z] Removing intermediate container 03ba3f34fced [2021-05-07T06:00:21.334Z] ---> d07e8b66364a [2021-05-07T06:00:21.334Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T06:00:21.607Z] ---> Running in df8c2830a4c1 [2021-05-07T06:00:23.042Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T06:00:24.036Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T06:00:25.018Z] OK: 139 MiB in 46 packages [2021-05-07T06:00:26.452Z] Removing intermediate container df8c2830a4c1 [2021-05-07T06:00:26.452Z] ---> 98e1442ec621 [2021-05-07T06:00:26.452Z] Step 7/23 : COPY . . [2021-05-07T06:00:27.429Z] ---> d4972eecdb9c [2021-05-07T06:00:27.429Z] Step 8/23 : RUN go mod download [2021-05-07T06:00:27.700Z] ---> Running in a76ae119f031 [2021-05-07T06:00:30.327Z] Removing intermediate container a76ae119f031 [2021-05-07T06:00:30.327Z] ---> f1618493503c [2021-05-07T06:00:30.327Z] Step 9/23 : RUN make build [2021-05-07T06:00:30.327Z] ---> Running in 5d68da65d62c [2021-05-07T06:00:31.319Z] 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 [2021-05-07T06:01:01.238Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T06:01:01.238Z] Removing intermediate container 71cea464773d [2021-05-07T06:01:01.238Z] ---> c76739771424 [2021-05-07T06:01:01.238Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T06:01:02.367Z] 3.12: Pulling from library/alpine [2021-05-07T06:01:02.367Z] 339de151aab4: Pulling fs layer [2021-05-07T06:01:02.667Z] 339de151aab4: Verifying Checksum [2021-05-07T06:01:02.667Z] 339de151aab4: Download complete [2021-05-07T06:01:03.315Z] 339de151aab4: Pull complete [2021-05-07T06:01:03.315Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T06:01:03.315Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T06:01:03.315Z] ---> 13621d1b12d4 [2021-05-07T06:01:03.315Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:01:03.592Z] ---> Running in 35a6fccbd9b7 [2021-05-07T06:01:03.729Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T06:01:04.192Z] Removing intermediate container 35a6fccbd9b7 [2021-05-07T06:01:04.192Z] ---> e894a89b5f6b [2021-05-07T06:01:04.192Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:01:04.192Z] ---> Running in c2615595f527 [2021-05-07T06:01:06.216Z] Removing intermediate container c2615595f527 [2021-05-07T06:01:06.216Z] ---> 9cc0d57085fe [2021-05-07T06:01:06.216Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T06:01:06.550Z] ---> Running in 2c063e92f7d8 [2021-05-07T06:01:07.123Z] Removing intermediate container 5d68da65d62c [2021-05-07T06:01:07.123Z] ---> ccfd38c8a3cf [2021-05-07T06:01:07.123Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T06:01:07.123Z] 3.12: Pulling from library/alpine [2021-05-07T06:01:07.401Z] d2f70382dc9a: Pulling fs layer [2021-05-07T06:01:07.677Z] d2f70382dc9a: Verifying Checksum [2021-05-07T06:01:07.677Z] d2f70382dc9a: Download complete [2021-05-07T06:01:07.979Z] d2f70382dc9a: Pull complete [2021-05-07T06:01:08.087Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-07T06:01:08.251Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T06:01:08.251Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T06:01:08.251Z] ---> 9852663dfa18 [2021-05-07T06:01:08.251Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:01:08.525Z] ---> Running in 6f7c39d4f1e6 [2021-05-07T06:01:08.800Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-07T06:01:08.801Z] Removing intermediate container 6f7c39d4f1e6 [2021-05-07T06:01:08.801Z] ---> 9282fda84718 [2021-05-07T06:01:08.801Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:01:08.801Z] ---> Running in c365a66faced [2021-05-07T06:01:09.487Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T06:01:09.799Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T06:01:09.799Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T06:01:10.484Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T06:01:10.484Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T06:01:10.484Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T06:01:10.815Z] OK: 8 MiB in 19 packages [2021-05-07T06:01:11.436Z] Removing intermediate container c365a66faced [2021-05-07T06:01:11.436Z] ---> 7b11d48a72e6 [2021-05-07T06:01:11.436Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T06:01:11.436Z] ---> Running in af0b49c4f865 [2021-05-07T06:01:12.418Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-07T06:01:13.020Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-07T06:01:13.236Z] Removing intermediate container 2c063e92f7d8 [2021-05-07T06:01:13.236Z] ---> 2ff6bc1e1dbb [2021-05-07T06:01:13.236Z] Step 14/23 : WORKDIR / [2021-05-07T06:01:13.236Z] ---> Running in fe6fa9ed945e [2021-05-07T06:01:13.583Z] Removing intermediate container fe6fa9ed945e [2021-05-07T06:01:13.583Z] ---> efdc8f3c596b [2021-05-07T06:01:13.583Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T06:01:13.619Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T06:01:13.619Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T06:01:13.893Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T06:01:14.166Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T06:01:14.166Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T06:01:14.443Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T06:01:14.443Z] OK: 8 MiB in 19 packages [2021-05-07T06:01:14.977Z] ---> 6719405717a9 [2021-05-07T06:01:14.977Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T06:01:15.436Z] Removing intermediate container af0b49c4f865 [2021-05-07T06:01:15.436Z] ---> 57c9269a8dc7 [2021-05-07T06:01:15.436Z] Step 14/23 : WORKDIR / [2021-05-07T06:01:15.708Z] ---> Running in 2c3046909efa [2021-05-07T06:01:16.330Z] Removing intermediate container 2c3046909efa [2021-05-07T06:01:16.330Z] ---> 010f98b9cb1d [2021-05-07T06:01:16.330Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T06:01:16.932Z] ---> b3fd91af759e [2021-05-07T06:01:16.933Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T06:01:17.405Z] ---> 399ab7c68ef9 [2021-05-07T06:01:17.405Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T06:01:17.916Z] ---> 83e2554617e0 [2021-05-07T06:01:17.916Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T06:01:18.799Z] ---> dabcf44a0dbd [2021-05-07T06:01:18.799Z] Step 18/23 : EXPOSE 49990 [2021-05-07T06:01:18.901Z] ---> 8df796fa33cb [2021-05-07T06:01:18.901Z] Step 18/23 : EXPOSE 49990 [2021-05-07T06:01:18.901Z] ---> Running in 140670aa3acd [2021-05-07T06:01:19.114Z] ---> Running in b5944dee2c6f [2021-05-07T06:01:19.178Z] Removing intermediate container 140670aa3acd [2021-05-07T06:01:19.178Z] ---> 98356808add0 [2021-05-07T06:01:19.178Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T06:01:19.452Z] ---> Running in 886873c67520 [2021-05-07T06:01:19.725Z] Removing intermediate container 886873c67520 [2021-05-07T06:01:19.725Z] ---> 0b2392a7022a [2021-05-07T06:01:19.725Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T06:01:19.829Z] Removing intermediate container b5944dee2c6f [2021-05-07T06:01:19.829Z] ---> e99478550578 [2021-05-07T06:01:19.829Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T06:01:19.829Z] ---> Running in 03c0fccc3266 [2021-05-07T06:01:19.999Z] ---> Running in 7ca6c0669be4 [2021-05-07T06:01:20.600Z] Removing intermediate container 7ca6c0669be4 [2021-05-07T06:01:20.600Z] ---> d2fa90ba40b9 [2021-05-07T06:01:20.600Z] Step 21/23 : LABEL arch=arm64 [2021-05-07T06:01:20.600Z] ---> Running in 81827538072d [2021-05-07T06:01:21.207Z] Removing intermediate container 81827538072d [2021-05-07T06:01:21.207Z] ---> ad068364d763 [2021-05-07T06:01:21.207Z] Step 22/23 : LABEL git_sha=efb8dd89c76e691764926035ac4ee77d2ae57146 [2021-05-07T06:01:21.207Z] ---> Running in bbdf99dae6c8 [2021-05-07T06:01:21.317Z] Removing intermediate container 03c0fccc3266 [2021-05-07T06:01:21.318Z] ---> 5a48f1dbb928 [2021-05-07T06:01:21.318Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T06:01:21.318Z] ---> Running in d83a4e0db70b [2021-05-07T06:01:21.606Z] Removing intermediate container d83a4e0db70b [2021-05-07T06:01:21.606Z] ---> c9c9ca089190 [2021-05-07T06:01:21.606Z] Step 21/23 : LABEL arch=amd64 [2021-05-07T06:01:21.606Z] ---> Running in 500a2e159403 [2021-05-07T06:01:21.806Z] Removing intermediate container bbdf99dae6c8 [2021-05-07T06:01:21.806Z] ---> c867d6dd9001 [2021-05-07T06:01:21.806Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T06:01:21.806Z] ---> Running in 9b3ed878573b [2021-05-07T06:01:22.296Z] Removing intermediate container 500a2e159403 [2021-05-07T06:01:22.296Z] ---> 1bd906d72ee7 [2021-05-07T06:01:22.296Z] Step 22/23 : LABEL git_sha=efb8dd89c76e691764926035ac4ee77d2ae57146 [2021-05-07T06:01:22.296Z] ---> Running in 9bc2f578396d [2021-05-07T06:01:22.412Z] Removing intermediate container 9b3ed878573b [2021-05-07T06:01:22.412Z] ---> 21440bd2e393 [2021-05-07T06:01:22.412Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T06:01:22.412Z] Successfully built 21440bd2e393 [2021-05-07T06:01:22.412Z] 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 [2021-05-07T06:01:23.053Z] Removing intermediate container 9bc2f578396d [2021-05-07T06:01:23.053Z] ---> b7b55c7345c8 [2021-05-07T06:01:23.053Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T06:01:23.226Z] ---> job-cost.sh [2021-05-07T06:01:23.226Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-0mlu [2021-05-07T06:01:23.345Z] ---> Running in 841b1a082cdc [2021-05-07T06:01:23.977Z] Removing intermediate container 841b1a082cdc [2021-05-07T06:01:23.977Z] ---> 41d6ead4eef4 [2021-05-07T06:01:23.977Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T06:01:23.977Z] Successfully built 41d6ead4eef4 [2021-05-07T06:01:23.977Z] 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 [2021-05-07T06:01:24.900Z] ---> job-cost.sh [2021-05-07T06:01:24.900Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-KJeI [2021-05-07T06:02:04.546Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:02:10.219Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:03:02.311Z] lf-activate-venv(): INFO: Adding /tmp/venv-KJeI/bin to PATH [2021-05-07T06:03:02.311Z] INFO: No Stack... [2021-05-07T06:03:02.311Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:03:02.311Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:03:02.878Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-07T06:03:02.878Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T06:03:03.242Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-909-1-stack-cost] [2021-05-07T06:03:03.247Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-909-1-stack-cost] did not exist. Created. [2021-05-07T06:03:03.247Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-909-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:03:03.808Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T06:03:04.361Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:03:04.381Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-909-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T06:03:47.031Z] lf-activate-venv(): INFO: Adding /tmp/venv-0mlu/bin to PATH [2021-05-07T06:03:47.031Z] INFO: No Stack... [2021-05-07T06:03:47.031Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T06:03:47.031Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:03:47.410Z] + cut -d, -f6 [2021-05-07T06:03:47.410Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-05-07T06:03:47.558Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-909-1-stack-cost] [2021-05-07T06:03:47.563Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-909-1-stack-cost] did not exist. Created. [2021-05-07T06:03:47.563Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-909-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:03:48.019Z] /w/workspace/device-sdk-go/1@tmp/durable-7cef494f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-7cef494f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-07T06:03:48.408Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T06:03:48.449Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T06:03:48.636Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:03:48.659Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-909-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 [2021-05-07T06:03:49.650Z] provisioning config files... [2021-05-07T06:03:49.663Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp/config4580267661974624767tmp [Pipeline] { [Pipeline] sh [2021-05-07T06:03:50.033Z] + set +x [2021-05-07T06:03:50.033Z] + curl -s https://codecov.io/bash [2021-05-07T06:03:50.033Z] + bash -s -- [2021-05-07T06:03:50.309Z] [2021-05-07T06:03:50.309Z] _____ _ [2021-05-07T06:03:50.309Z] / ____| | | [2021-05-07T06:03:50.309Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T06:03:50.309Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T06:03:50.309Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T06:03:50.309Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T06:03:50.309Z] Bash-1.0.2 [2021-05-07T06:03:50.309Z] [2021-05-07T06:03:50.309Z] [2021-05-07T06:03:50.309Z] ==> git version 2.24.3 found [2021-05-07T06:03:50.309Z] ==> 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 [2021-05-07T06:03:50.309Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T06:03:50.309Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T06:03:50.309Z] ==> Jenkins CI detected. [2021-05-07T06:03:50.309Z] project root: . [2021-05-07T06:03:50.309Z] --> token set from env [2021-05-07T06:03:50.309Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T06:03:50.309Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T06:03:50.309Z] ==> Python coveragepy not found [2021-05-07T06:03:50.309Z] ==> Searching for coverage reports in: [2021-05-07T06:03:50.309Z] + . [2021-05-07T06:03:50.309Z] -> Found 1 reports [2021-05-07T06:03:50.309Z] ==> Detecting git/mercurial file structure [2021-05-07T06:03:50.309Z] ==> Reading reports [2021-05-07T06:03:50.309Z] + ./coverage.out bytes=100320 [2021-05-07T06:03:50.309Z] ==> Appending adjustments [2021-05-07T06:03:50.309Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T06:03:50.894Z] + Found adjustments [2021-05-07T06:03:50.894Z] ==> Gzipping contents [2021-05-07T06:03:50.894Z] 16K /tmp/codecov.BYAHz6.gz [2021-05-07T06:03:50.894Z] ==> Uploading reports [2021-05-07T06:03:50.894Z] url: https://codecov.io [2021-05-07T06:03:50.894Z] query: branch=PR-909&commit=efb8dd89c76e691764926035ac4ee77d2ae57146&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-909%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=909&job=&cmd_args= [2021-05-07T06:03:50.894Z] -> Pinging Codecov [2021-05-07T06:03:50.894Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-909&commit=efb8dd89c76e691764926035ac4ee77d2ae57146&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-909%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=909&job=&cmd_args= [2021-05-07T06:03:51.162Z] -> Uploading to [2021-05-07T06:03:51.162Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/7E55EF52A471D76F132DFD9A03CDDE97/efb8dd89c76e691764926035ac4ee77d2ae57146/87120565-42e8-4bc7-a93f-ab227b0520b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T060351Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cb24ec0711985a31ca522553aaa4de697813ecb3a912bb5f71b58b7b40adbf31 [2021-05-07T06:03:51.162Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T06:03:51.162Z] Dload Upload Total Spent Left Speed [2021-05-07T06:03:51.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13516 0 0 100 13516 0 29227 --:--:-- --:--:-- --:--:-- 29192 100 13516 0 0 100 13516 0 29216 --:--:-- --:--:-- --:--:-- 29192 [2021-05-07T06:03:51.742Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/efb8dd89c76e691764926035ac4ee77d2ae57146 [Pipeline] } [2021-05-07T06:03:51.779Z] 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 [2021-05-07T06:03:53.633Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:03:54.269Z] ---> package-listing.sh [2021-05-07T06:03:54.269Z] ++ facter osfamily [2021-05-07T06:03:54.269Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T06:03:54.269Z] + OS_FAMILY=redhat [2021-05-07T06:03:54.269Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-909 [2021-05-07T06:03:54.269Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T06:03:54.269Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T06:03:54.269Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T06:03:54.269Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T06:03:54.269Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-909 ']' [2021-05-07T06:03:54.269Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T06:03:54.269Z] + case "${OS_FAMILY}" in [2021-05-07T06:03:54.269Z] + rpm -qa [2021-05-07T06:03:54.269Z] + sort [2021-05-07T06:03:58.535Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T06:03:58.535Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T06:03:58.535Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T06:03:58.535Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-909 ']' [2021-05-07T06:03:58.535Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-909/archives/ [2021-05-07T06:03:58.535Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-909/archives/ [Pipeline] echo [2021-05-07T06:03:58.573Z] 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-909/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T06:03:58.898Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:03:59.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:03:59.251Z] [2021-05-07T06:03:59.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:03:59.612Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:03:59.613Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T06:03:59.613Z] df20fa9351a1: Pulling fs layer [2021-05-07T06:03:59.613Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T06:03:59.613Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T06:03:59.613Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T06:03:59.613Z] 93b61091891f: Pulling fs layer [2021-05-07T06:03:59.613Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T06:03:59.613Z] 5e14af77c1be: Pulling fs layer [2021-05-07T06:03:59.613Z] 01666e4c0597: Pulling fs layer [2021-05-07T06:03:59.613Z] aa168da1d23b: Pulling fs layer [2021-05-07T06:03:59.613Z] 93b9cdb0e59b: Waiting [2021-05-07T06:03:59.613Z] 5e14af77c1be: Waiting [2021-05-07T06:03:59.613Z] aa168da1d23b: Waiting [2021-05-07T06:03:59.613Z] 01666e4c0597: Waiting [2021-05-07T06:03:59.613Z] 93b61091891f: Waiting [2021-05-07T06:03:59.613Z] 46f8f816bc3b: Waiting [2021-05-07T06:03:59.613Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T06:03:59.613Z] 36b3adc4ff6f: Download complete [2021-05-07T06:03:59.613Z] 46f8f816bc3b: Verifying Checksum [2021-05-07T06:03:59.613Z] 46f8f816bc3b: Download complete [2021-05-07T06:03:59.878Z] 93b61091891f: Verifying Checksum [2021-05-07T06:03:59.878Z] 93b61091891f: Download complete [2021-05-07T06:03:59.878Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T06:03:59.878Z] 93b9cdb0e59b: Download complete [2021-05-07T06:03:59.878Z] 5e14af77c1be: Download complete [2021-05-07T06:03:59.878Z] 01666e4c0597: Verifying Checksum [2021-05-07T06:03:59.878Z] 01666e4c0597: Download complete [2021-05-07T06:03:59.878Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T06:03:59.878Z] 8ad3a11d3b57: Download complete [2021-05-07T06:03:59.878Z] df20fa9351a1: Verifying Checksum [2021-05-07T06:03:59.878Z] df20fa9351a1: Download complete [2021-05-07T06:04:00.475Z] df20fa9351a1: Pull complete [2021-05-07T06:04:00.756Z] 36b3adc4ff6f: Pull complete [2021-05-07T06:04:02.187Z] 8ad3a11d3b57: Pull complete [2021-05-07T06:04:02.187Z] 46f8f816bc3b: Pull complete [2021-05-07T06:04:02.773Z] aa168da1d23b: Verifying Checksum [2021-05-07T06:04:02.773Z] aa168da1d23b: Download complete [2021-05-07T06:04:02.773Z] 93b61091891f: Pull complete [2021-05-07T06:04:02.773Z] 93b9cdb0e59b: Pull complete [2021-05-07T06:04:03.046Z] 5e14af77c1be: Pull complete [2021-05-07T06:04:03.046Z] 01666e4c0597: Pull complete [2021-05-07T06:04:13.162Z] aa168da1d23b: Pull complete [2021-05-07T06:04:13.162Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T06:04:13.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:04:13.162Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T06:04:13.436Z] prd-centos7-docker-4c-2g-3462 does not seem to be running inside a container [2021-05-07T06:04:13.488Z] $ 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-909/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-909 -v /w/workspace/dgexfoundry_device-sdk-go_PR-909:/w/workspace/dgexfoundry_device-sdk-go_PR-909:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-909@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 [2021-05-07T06:04:16.847Z] $ docker top 9234316491ded8d2671f741f092f86645f4b9ce57338ed36ba9e482e6472669c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:04:17.323Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T06:04:17.655Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T06:04:17.986Z] + ls /var/log/sa-host [2021-05-07T06:04:17.986Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T06:04:17.986Z] file_magic: OK [2021-05-07T06:04:17.986Z] HZ: Using current value: 100 [2021-05-07T06:04:17.986Z] file_header: OK [2021-05-07T06:04:17.986Z] 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 [2021-05-07T06:04:17.986Z] Statistics: [2021-05-07T06:04:17.986Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T06:04:17.986Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T06:04:17.986Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T06:04:17.986Z] file_magic: OK [2021-05-07T06:04:17.986Z] HZ: Using current value: 100 [2021-05-07T06:04:17.986Z] file_header: OK [2021-05-07T06:04:17.986Z] 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 [2021-05-07T06:04:17.986Z] Statistics: [2021-05-07T06:04:17.986Z] Hnuu...uuuununununu... [2021-05-07T06:04:17.986Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T06:04:18.233Z] provisioning config files... [2021-05-07T06:04:18.251Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-909@tmp/config1418552850077537200tmp [Pipeline] { [Pipeline] echo [2021-05-07T06:04:18.310Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:04:18.648Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T06:04:18.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T06:04:18.754Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:04:19.097Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T06:04:19.128Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:04:19.478Z] ---> sudo-logs.sh [2021-05-07T06:04:19.478Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T06:04:19.564Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:04:19.909Z] ---> job-cost.sh [2021-05-07T06:04:19.909Z] lf-activate-venv: SKIPPING [2021-05-07T06:04:19.909Z] DEBUG: total: 0.20999999344348907 [2021-05-07T06:04:19.909Z] INFO: Retrieving Stack Cost... [2021-05-07T06:04:20.857Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:04:21.437Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T06:04:21.473Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:04:21.833Z] ---> logs-deploy.sh [2021-05-07T06:04:21.833Z] lf-activate-venv: SKIPPING [2021-05-07T06:04:21.833Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-909/1 [2021-05-07T06:04:21.833Z] INFO: archiving workspace using pattern(s): [2021-05-07T06:04:23.755Z] Archives upload complete. [2021-05-07T06:04:23.755Z] INFO: archiving logs to Nexus [2021-05-07T06:04:24.702Z] ---> uname -a: [2021-05-07T06:04:24.702Z] Linux prd-centos7-docker-4c-2g-3462.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-07T06:04:24.702Z] [2021-05-07T06:04:24.703Z]