Pull request #908 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2+70dff52b8df9807f5114cad14836e8310fd11d9c (c67f5c069cd2ce2cac4a8cb4a5f2823893873279) 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-908/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-908/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-3460 in /w/workspace/dgexfoundry_device-sdk-go_PR-908 [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-908 # 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 > 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/908/head:refs/remotes/origin/PR-908 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 Merge succeeded, producing c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 Checking out Revision c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 (PR-908) > git config core.sparsecheckout # timeout=10 > git checkout -f c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 # 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 c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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:51:41.102Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T05:51:41.331Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T05:51:41.438Z] ========================================================= [2021-05-07T05:51:41.438Z] EdgeX Global Pipelines Version Info [2021-05-07T05:51:41.438Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:51:43.469Z] ------------------- [2021-05-07T05:51:43.469Z] stable info: [2021-05-07T05:51:43.469Z] ------------------- [2021-05-07T05:51:43.469Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T05:51:43.469Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:51:43.469Z] Message: update stable to v1.0.191 [2021-05-07T05:51:44.048Z] ------------------- [2021-05-07T05:51:44.048Z] experimental info: [2021-05-07T05:51:44.048Z] ------------------- [2021-05-07T05:51:44.048Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T05:51:44.049Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:51:44.049Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T05:51:44.277Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-07T05:51:44.333Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-07T05:51:44.390Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T05:51:44.444Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T05:51:44.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T05:51:44.562Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T05:51:44.619Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T05:51:44.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T05:51:44.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-07T05:51:44.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T05:51:44.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T05:51:44.906Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-07T05:51:44.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T05:51:45.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T05:51:45.084Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-07T05:51:45.173Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:51:45.231Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:51:45.300Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:51:45.354Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T05:51:45.408Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T05:51:45.469Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T05:51:45.527Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-07T05:51:45.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T05:51:45.655Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T05:51:45.717Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-07T05:51:45.774Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T05:51:45.829Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-908 [Pipeline] echo [2021-05-07T05:51:45.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-908 [Pipeline] echo [2021-05-07T05:51:45.945Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-908 [Pipeline] echo [2021-05-07T05:51:46.010Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [Pipeline] echo [2021-05-07T05:51:46.072Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3d2e83 [Pipeline] echo [2021-05-07T05:51:46.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:51:46.310Z] provisioning config files... [2021-05-07T05:51:46.346Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp/config3311543272397805095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:51:46.725Z] ---> docker-login.sh [2021-05-07T05:51:46.725Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:51:46.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:51:47.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:51:47.263Z] Configure a credential helper to remove this warning. See [2021-05-07T05:51:47.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:51:47.263Z] [2021-05-07T05:51:47.263Z] Login Succeeded [2021-05-07T05:51:47.263Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:51:47.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:51:47.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:51:47.539Z] Configure a credential helper to remove this warning. See [2021-05-07T05:51:47.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:51:47.539Z] [2021-05-07T05:51:47.539Z] Login Succeeded [2021-05-07T05:51:47.539Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:51:47.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:51:47.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:51:47.804Z] Configure a credential helper to remove this warning. See [2021-05-07T05:51:47.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:51:47.804Z] [2021-05-07T05:51:47.804Z] Login Succeeded [2021-05-07T05:51:47.804Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:51:47.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:51:48.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:51:48.068Z] Configure a credential helper to remove this warning. See [2021-05-07T05:51:48.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:51:48.068Z] [2021-05-07T05:51:48.068Z] Login Succeeded [2021-05-07T05:51:48.068Z] docker.io [2021-05-07T05:51:48.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:51:48.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:51:48.332Z] Configure a credential helper to remove this warning. See [2021-05-07T05:51:48.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:51:48.332Z] [2021-05-07T05:51:48.332Z] Login Succeeded [2021-05-07T05:51:48.332Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:51:48.360Z] 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:51:49.126Z] + git log --format=format:%s -1 c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [Pipeline] echo [2021-05-07T05:51:49.224Z] GIT_COMMIT: c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-07T05:51:49.264Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:51:50.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:51:50.270Z] [2021-05-07T05:51:50.270Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:51:50.634Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:51:50.634Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T05:51:50.634Z] 31603596830f: Pulling fs layer [2021-05-07T05:51:50.634Z] 54011a49482f: Pulling fs layer [2021-05-07T05:51:50.634Z] a6820b24f6d8: Pulling fs layer [2021-05-07T05:51:50.634Z] f581987b2513: Pulling fs layer [2021-05-07T05:51:50.634Z] f581987b2513: Waiting [2021-05-07T05:51:50.634Z] 54011a49482f: Verifying Checksum [2021-05-07T05:51:50.634Z] 54011a49482f: Download complete [2021-05-07T05:51:50.899Z] 31603596830f: Verifying Checksum [2021-05-07T05:51:50.899Z] 31603596830f: Download complete [2021-05-07T05:51:50.899Z] f581987b2513: Verifying Checksum [2021-05-07T05:51:50.899Z] f581987b2513: Download complete [2021-05-07T05:51:50.899Z] a6820b24f6d8: Verifying Checksum [2021-05-07T05:51:50.899Z] a6820b24f6d8: Download complete [2021-05-07T05:51:51.169Z] 31603596830f: Pull complete [2021-05-07T05:51:51.453Z] 54011a49482f: Pull complete [2021-05-07T05:51:52.867Z] a6820b24f6d8: Pull complete [2021-05-07T05:51:52.867Z] f581987b2513: Pull complete [2021-05-07T05:51:52.867Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T05:51:52.867Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:51:52.867Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T05:51:53.110Z] prd-centos7-docker-4c-2g-3460 does not seem to be running inside a container [2021-05-07T05:51:53.175Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-908 -v /w/workspace/dgexfoundry_device-sdk-go_PR-908:/w/workspace/dgexfoundry_device-sdk-go_PR-908:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T05:51:55.364Z] $ docker top ad35becd71bf5e67323f41e5f65e8d9c4ba0054f35187f0d249c542420350ed0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T05:51:55.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T05:51:55.629Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T05:51:55.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T05:51:55.939Z] $ docker exec ad35becd71bf5e67323f41e5f65e8d9c4ba0054f35187f0d249c542420350ed0 ssh-agent [2021-05-07T05:51:56.145Z] SSH_AUTH_SOCK=/tmp/ssh-S4l1rzfxJgng/agent.11 [2021-05-07T05:51:56.145Z] SSH_AGENT_PID=16 [2021-05-07T05:51:56.162Z] Running ssh-add (command line suppressed) [2021-05-07T05:51:56.315Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp/private_key_3336441651156537508.key (/w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp/private_key_3336441651156537508.key) [2021-05-07T05:51:56.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T05:51:56.766Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T05:51:56.796Z] $ docker exec --env ******** --env ******** ad35becd71bf5e67323f41e5f65e8d9c4ba0054f35187f0d249c542420350ed0 ssh-agent -k [2021-05-07T05:51:56.922Z] unset SSH_AUTH_SOCK; [2021-05-07T05:51:56.923Z] unset SSH_AGENT_PID; [2021-05-07T05:51:56.923Z] echo Agent pid 16 killed; [2021-05-07T05:51:56.975Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T05:51:57.088Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T05:51:57.088Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T05:51:57.310Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T05:51:57.316Z] $ docker exec ad35becd71bf5e67323f41e5f65e8d9c4ba0054f35187f0d249c542420350ed0 ssh-agent [2021-05-07T05:51:57.519Z] SSH_AUTH_SOCK=/tmp/ssh-RDdUPb6c9bNT/agent.45 [2021-05-07T05:51:57.519Z] SSH_AGENT_PID=50 [2021-05-07T05:51:57.528Z] Running ssh-add (command line suppressed) [2021-05-07T05:51:57.671Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp/private_key_7766438807852960736.key (/w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp/private_key_7766438807852960736.key) [2021-05-07T05:51:57.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T05:51:58.096Z] + git semver init [2021-05-07T05:51:58.096Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T05:51:58.096Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-908/.git [2021-05-07T05:51:58.096Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-908 [2021-05-07T05:51:58.096Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T05:51:58.096Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T05:51:58.096Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T05:51:58.096Z] # $SEMVER_BRANCH = PR-908 [2021-05-07T05:51:58.096Z] # $SEMVER_TEMP = /tmp/semver-427417046 [2021-05-07T05:51:58.096Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-07T05:51:59.047Z] # '/tmp/semver-427417046' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-908/.semver' [2021-05-07T05:51:59.047Z] # -> Force: false [2021-05-07T05:51:59.047Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-908/.semver [Pipeline] } [2021-05-07T05:51:59.070Z] $ docker exec --env ******** --env ******** ad35becd71bf5e67323f41e5f65e8d9c4ba0054f35187f0d249c542420350ed0 ssh-agent -k [2021-05-07T05:51:59.209Z] unset SSH_AUTH_SOCK; [2021-05-07T05:51:59.210Z] unset SSH_AGENT_PID; [2021-05-07T05:51:59.210Z] echo Agent pid 50 killed; [2021-05-07T05:51:59.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T05:51:59.770Z] + git semver [Pipeline] } [2021-05-07T05:51:59.809Z] $ docker stop --time=1 ad35becd71bf5e67323f41e5f65e8d9c4ba0054f35187f0d249c542420350ed0 [2021-05-07T05:52:01.311Z] $ docker rm -f ad35becd71bf5e67323f41e5f65e8d9c4ba0054f35187f0d249c542420350ed0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T05:52:01.809Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T05:52:02.370Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T05:52:02.393Z] [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:52:17.887Z] Still waiting to schedule task [2021-05-07T05:52:17.887Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-3460’ [2021-05-07T05:52:17.913Z] Still waiting to schedule task [2021-05-07T05:52:17.913Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-07T05:54:13.944Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3463 in /w/workspace/dgexfoundry_device-sdk-go_PR-908 [Pipeline] { [Pipeline] ws [2021-05-07T05:54:14.014Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T05:54:15.982Z] Running on prd-centos7-docker-4c-2g-3466 in /w/workspace/dgexfoundry_device-sdk-go_PR-908 [Pipeline] { [Pipeline] ws [2021-05-07T05:54:16.058Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T05:54:19.009Z] using credential edgex-jenkins-ssh [2021-05-07T05:54:19.027Z] Cloning the remote Git repository [2021-05-07T05:54:18.996Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:19.080Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-07T05:54:19.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:19.149Z] > git --version # timeout=10 [2021-05-07T05:54:19.155Z] > git --version # 'git version 2.24.3' [2021-05-07T05:54:19.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:19.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:54:19.706Z] using credential edgex-jenkins-ssh [2021-05-07T05:54:19.726Z] Cloning the remote Git repository [2021-05-07T05:54:20.388Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [2021-05-07T05:54:20.473Z] Merge succeeded, producing c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [2021-05-07T05:54:20.474Z] Checking out Revision c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 (PR-908) [2021-05-07T05:54:19.965Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:54:19.970Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:54:19.983Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:54:19.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:19.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:20.002Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/908/head:refs/remotes/origin/PR-908 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T05:54:20.396Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:54:20.403Z] > git checkout -f c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 # timeout=10 [2021-05-07T05:54:20.446Z] > git remote # timeout=10 [2021-05-07T05:54:20.451Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T05:54:20.455Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:20.459Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T05:54:20.468Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T05:54:20.477Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:54:20.482Z] > git checkout -f c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 # timeout=10 [2021-05-07T05:54:19.772Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:19.871Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-07T05:54:19.951Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:19.951Z] > git --version # timeout=10 [2021-05-07T05:54:19.975Z] > git --version # 'git version 2.17.1' [2021-05-07T05:54:19.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:20.091Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:54:21.956Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [2021-05-07T05:54:21.334Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:54:21.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:54:21.381Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:54:21.420Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:54:21.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:21.432Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/908/head:refs/remotes/origin/PR-908 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T05:54:21.969Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:54:22.205Z] Merge succeeded, producing c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [2021-05-07T05:54:22.206Z] Checking out Revision c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 (PR-908) [2021-05-07T05:54:21.991Z] > git checkout -f c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 # timeout=10 [2021-05-07T05:54:22.101Z] > git remote # timeout=10 [2021-05-07T05:54:22.130Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T05:54:22.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:54:22.162Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T05:54:22.183Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T05:54:22.206Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:54:22.225Z] > git checkout -f c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 # timeout=10 [2021-05-07T05:54:24.145Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-07T05:54:24.170Z] > git --version # timeout=10 [2021-05-07T05:54:24.177Z] > git --version # 'git version 2.24.3' [2021-05-07T05:54:24.183Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T05:54:25.408Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:54:25.797Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:54:26.120Z] + sudo service docker restart [2021-05-07T05:54:26.120Z] + true [2021-05-07T05:54:26.120Z] Redirecting to /bin/systemctl restart docker.service [2021-05-07T05:54:26.577Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-07T05:54:26.628Z] > git --version # timeout=10 [2021-05-07T05:54:26.640Z] > git --version # 'git version 2.17.1' [2021-05-07T05:54:26.654Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:54:28.165Z] provisioning config files... [2021-05-07T05:54:28.198Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7954677211861496839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:54:28.375Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:54:28.572Z] ---> docker-login.sh [2021-05-07T05:54:28.572Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:54:28.794Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [2021-05-07T05:54:28.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:28.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:28.837Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:28.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:28.837Z] [2021-05-07T05:54:28.837Z] Login Succeeded [2021-05-07T05:54:28.837Z] nexus3.edgexfoundry.org:10002 [Pipeline] sh [2021-05-07T05:54:29.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:29.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:29.100Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:29.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:29.100Z] [2021-05-07T05:54:29.100Z] Login Succeeded [2021-05-07T05:54:29.100Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:54:29.217Z] + sudo service docker restart [2021-05-07T05:54:29.218Z] + true [2021-05-07T05:54:29.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:29.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:29.363Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:29.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:29.363Z] [2021-05-07T05:54:29.363Z] Login Succeeded [2021-05-07T05:54:29.363Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:54:29.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:29.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:29.363Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:29.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:29.363Z] [2021-05-07T05:54:29.363Z] Login Succeeded [2021-05-07T05:54:29.363Z] docker.io [2021-05-07T05:54:29.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:29.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:29.894Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:29.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:29.894Z] [2021-05-07T05:54:29.894Z] Login Succeeded [2021-05-07T05:54:29.894Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:54:29.931Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T05:54:30.280Z] ========================================================= [2021-05-07T05:54:30.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T05:54:30.280Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:54:30.714Z] + 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:30.714Z] Sending build context to Docker daemon 2.472MB [2021-05-07T05:54:30.714Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:54:30.714Z] Step 2/8 : FROM ${BASE} [2021-05-07T05:54:30.976Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T05:54:30.976Z] 540db60ca938: Pulling fs layer [2021-05-07T05:54:30.976Z] adcc1eea9eea: Pulling fs layer [2021-05-07T05:54:30.976Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T05:54:30.976Z] 0510c868ecb4: Pulling fs layer [2021-05-07T05:54:30.976Z] afea3b2eda06: Pulling fs layer [2021-05-07T05:54:30.977Z] 7809a108b3ef: Pulling fs layer [2021-05-07T05:54:30.977Z] f706445af74f: Pulling fs layer [2021-05-07T05:54:30.977Z] 0510c868ecb4: Waiting [2021-05-07T05:54:30.977Z] afea3b2eda06: Waiting [2021-05-07T05:54:30.977Z] 7809a108b3ef: Waiting [2021-05-07T05:54:30.977Z] f706445af74f: Waiting [2021-05-07T05:54:30.977Z] 4c4ab2625f07: Verifying Checksum [2021-05-07T05:54:30.977Z] 4c4ab2625f07: Download complete [2021-05-07T05:54:30.977Z] adcc1eea9eea: Verifying Checksum [2021-05-07T05:54:30.977Z] adcc1eea9eea: Download complete [2021-05-07T05:54:30.977Z] afea3b2eda06: Verifying Checksum [2021-05-07T05:54:30.977Z] afea3b2eda06: Download complete [2021-05-07T05:54:30.977Z] 7809a108b3ef: Verifying Checksum [2021-05-07T05:54:30.977Z] 7809a108b3ef: Download complete [2021-05-07T05:54:30.977Z] 540db60ca938: Verifying Checksum [2021-05-07T05:54:30.977Z] 540db60ca938: Download complete [2021-05-07T05:54:31.240Z] 540db60ca938: Pull complete [2021-05-07T05:54:31.504Z] adcc1eea9eea: Pull complete [2021-05-07T05:54:31.504Z] 4c4ab2625f07: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:54:31.955Z] provisioning config files... [2021-05-07T05:54:31.999Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3250582585119227009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:54:32.407Z] ---> docker-login.sh [2021-05-07T05:54:32.407Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:54:32.897Z] f706445af74f: Verifying Checksum [2021-05-07T05:54:32.897Z] f706445af74f: Download complete [2021-05-07T05:54:33.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:33.850Z] 0510c868ecb4: Download complete [2021-05-07T05:54:33.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:33.993Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:33.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:33.993Z] [2021-05-07T05:54:33.993Z] Login Succeeded [2021-05-07T05:54:33.993Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:54:34.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:34.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:34.549Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:34.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:34.549Z] [2021-05-07T05:54:34.549Z] Login Succeeded [2021-05-07T05:54:34.549Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:54:34.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:35.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:35.112Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:35.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:35.112Z] [2021-05-07T05:54:35.112Z] Login Succeeded [2021-05-07T05:54:35.112Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:54:35.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:35.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:35.667Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:35.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:35.667Z] [2021-05-07T05:54:35.667Z] Login Succeeded [2021-05-07T05:54:35.667Z] docker.io [2021-05-07T05:54:35.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:54:36.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:54:36.214Z] Configure a credential helper to remove this warning. See [2021-05-07T05:54:36.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:54:36.214Z] [2021-05-07T05:54:36.214Z] Login Succeeded [2021-05-07T05:54:36.214Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:54:36.244Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T05:54:36.690Z] ========================================================= [2021-05-07T05:54:36.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T05:54:36.690Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:54:37.068Z] + 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:54:37.346Z] Sending build context to Docker daemon 2.471MB [2021-05-07T05:54:37.346Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:54:37.346Z] Step 2/8 : FROM ${BASE} [2021-05-07T05:54:37.624Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T05:54:37.624Z] 595b0fe564bb: Pulling fs layer [2021-05-07T05:54:37.624Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T05:54:37.624Z] 316046926c0a: Pulling fs layer [2021-05-07T05:54:37.624Z] 4ebd0625c992: Pulling fs layer [2021-05-07T05:54:37.624Z] 207e8628e3a3: Pulling fs layer [2021-05-07T05:54:37.624Z] c791037a9be2: Pulling fs layer [2021-05-07T05:54:37.624Z] ffd874e62e21: Pulling fs layer [2021-05-07T05:54:37.624Z] c791037a9be2: Waiting [2021-05-07T05:54:37.624Z] 4ebd0625c992: Waiting [2021-05-07T05:54:37.624Z] ffd874e62e21: Waiting [2021-05-07T05:54:37.624Z] 207e8628e3a3: Waiting [2021-05-07T05:54:37.624Z] 316046926c0a: Verifying Checksum [2021-05-07T05:54:37.624Z] 316046926c0a: Download complete [2021-05-07T05:54:37.624Z] 7186ed65a4f7: Download complete [2021-05-07T05:54:37.624Z] 207e8628e3a3: Download complete [2021-05-07T05:54:37.624Z] c791037a9be2: Download complete [2021-05-07T05:54:37.624Z] 595b0fe564bb: Download complete [2021-05-07T05:54:38.640Z] 595b0fe564bb: Pull complete [2021-05-07T05:54:38.917Z] 7186ed65a4f7: Pull complete [2021-05-07T05:54:39.196Z] 316046926c0a: Pull complete [2021-05-07T05:54:39.796Z] ffd874e62e21: Verifying Checksum [2021-05-07T05:54:39.796Z] ffd874e62e21: Download complete [2021-05-07T05:54:40.493Z] 0510c868ecb4: Pull complete [2021-05-07T05:54:40.493Z] afea3b2eda06: Pull complete [2021-05-07T05:54:40.493Z] 7809a108b3ef: Pull complete [2021-05-07T05:54:41.230Z] 4ebd0625c992: Verifying Checksum [2021-05-07T05:54:41.230Z] 4ebd0625c992: Download complete [2021-05-07T05:54:44.722Z] f706445af74f: Pull complete [2021-05-07T05:54:44.723Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T05:54:44.723Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T05:54:44.723Z] ---> b068be0155e3 [2021-05-07T05:54:44.723Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:54:44.985Z] ---> Running in 7aedab006751 [2021-05-07T05:54:45.256Z] Removing intermediate container 7aedab006751 [2021-05-07T05:54:45.256Z] ---> d44f2ba24e52 [2021-05-07T05:54:45.257Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:54:45.257Z] ---> Running in 339a32217e95 [2021-05-07T05:54:46.202Z] Removing intermediate container 339a32217e95 [2021-05-07T05:54:46.202Z] ---> ffb381ab87bc [2021-05-07T05:54:46.202Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T05:54:46.466Z] ---> Running in 4499af36d9ce [2021-05-07T05:54:47.415Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T05:54:48.361Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T05:54:48.936Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T05:54:48.936Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T05:54:48.936Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T05:54:49.198Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T05:54:49.198Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T05:54:49.198Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T05:54:49.466Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T05:54:49.466Z] OK: 150 MiB in 46 packages [2021-05-07T05:54:50.049Z] Removing intermediate container 4499af36d9ce [2021-05-07T05:54:50.049Z] ---> c670f9d63d90 [2021-05-07T05:54:50.049Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T05:54:50.049Z] ---> Running in a91f279c03f6 [2021-05-07T05:54:50.313Z] Removing intermediate container a91f279c03f6 [2021-05-07T05:54:50.313Z] ---> 365cf256b16d [2021-05-07T05:54:50.313Z] Step 7/8 : COPY . . [2021-05-07T05:54:51.417Z] 4ebd0625c992: Pull complete [2021-05-07T05:54:51.417Z] 207e8628e3a3: Pull complete [2021-05-07T05:54:51.693Z] c791037a9be2: Pull complete [2021-05-07T05:54:51.716Z] ---> 12fa62f2489f [2021-05-07T05:54:51.716Z] Step 8/8 : RUN go mod download [2021-05-07T05:54:51.716Z] ---> Running in 914b6b6d7f50 [2021-05-07T05:54:55.094Z] ffd874e62e21: Pull complete [2021-05-07T05:54:55.094Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T05:54:55.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T05:54:55.369Z] ---> cfc18b08335c [2021-05-07T05:54:55.369Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:54:58.793Z] ---> Running in be93f8df2522 [2021-05-07T05:54:58.793Z] Removing intermediate container be93f8df2522 [2021-05-07T05:54:58.793Z] ---> d9a1ff9f42dc [2021-05-07T05:54:58.793Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:54:58.793Z] ---> Running in 96def0fbfbaa [2021-05-07T05:55:01.669Z] Removing intermediate container 96def0fbfbaa [2021-05-07T05:55:01.669Z] ---> 3993d7395e86 [2021-05-07T05:55:01.669Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T05:55:01.669Z] ---> Running in c901af235c10 [2021-05-07T05:55:02.682Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T05:55:03.662Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T05:55:05.092Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T05:55:05.092Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T05:55:05.092Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T05:55:05.092Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T05:55:05.092Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T05:55:05.366Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T05:55:05.366Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T05:55:05.366Z] OK: 139 MiB in 46 packages [2021-05-07T05:55:06.800Z] Removing intermediate container c901af235c10 [2021-05-07T05:55:06.800Z] ---> 953b8a05571c [2021-05-07T05:55:06.800Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T05:55:07.074Z] ---> Running in e48441072453 [2021-05-07T05:55:07.670Z] Removing intermediate container e48441072453 [2021-05-07T05:55:07.670Z] ---> da78b3716338 [2021-05-07T05:55:07.670Z] Step 7/8 : COPY . . [2021-05-07T05:55:09.102Z] ---> 6a1c723f178c [2021-05-07T05:55:09.102Z] Step 8/8 : RUN go mod download [2021-05-07T05:55:09.102Z] ---> Running in ddb8c6aade7d [2021-05-07T05:55:18.332Z] Removing intermediate container 914b6b6d7f50 [2021-05-07T05:55:18.332Z] ---> 25c3035bb982 [2021-05-07T05:55:18.332Z] Successfully built 25c3035bb982 [2021-05-07T05:55:18.332Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:55:18.688Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T05:55:18.688Z] . [Pipeline] withDockerContainer [2021-05-07T05:55:18.824Z] prd-centos7-docker-4c-2g-3466 does not seem to be running inside a container [2021-05-07T05:55:18.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T05:55:19.655Z] $ docker top 22f9cc1c9def513dd8c15ad1d2818cc7fdba4ae02e431f7fbece4d86679f1495 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:55:20.135Z] + go version [2021-05-07T05:55:20.135Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-07T05:55:20.183Z] $ docker stop --time=1 22f9cc1c9def513dd8c15ad1d2818cc7fdba4ae02e431f7fbece4d86679f1495 [2021-05-07T05:55:21.531Z] $ docker rm -f 22f9cc1c9def513dd8c15ad1d2818cc7fdba4ae02e431f7fbece4d86679f1495 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:55:22.375Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T05:55:22.375Z] . [Pipeline] withDockerContainer [2021-05-07T05:55:22.501Z] prd-centos7-docker-4c-2g-3466 does not seem to be running inside a container [2021-05-07T05:55:22.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T05:55:23.179Z] $ docker top 10421a39d8835118efe493b913424fbbb311f863c47939549fb83be06e96ba39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:55:23.720Z] + go mod tidy [Pipeline] sh [2021-05-07T05:55:24.382Z] + make test [2021-05-07T05:55:24.382Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T05:55:32.583Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T05:55:35.942Z] Removing intermediate container ddb8c6aade7d [2021-05-07T05:55:35.942Z] ---> 86f7b53e9748 [2021-05-07T05:55:35.942Z] Successfully built 86f7b53e9748 [2021-05-07T05:55:35.942Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:55:36.328Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T05:55:36.328Z] . [Pipeline] withDockerContainer [2021-05-07T05:55:36.623Z] prd-ubuntu18.04-docker-arm64-4c-16g-3463 does not seem to be running inside a container [2021-05-07T05:55:36.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T05:55:38.360Z] $ docker top bdacf8931d4f638c9d3a305cf94f680db1dc761bcf6e81358214afad13f56a1f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:55:39.421Z] + go version [2021-05-07T05:55:39.421Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T05:55:39.468Z] $ docker stop --time=1 bdacf8931d4f638c9d3a305cf94f680db1dc761bcf6e81358214afad13f56a1f [2021-05-07T05:55:41.518Z] $ docker rm -f bdacf8931d4f638c9d3a305cf94f680db1dc761bcf6e81358214afad13f56a1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:55:42.486Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T05:55:42.487Z] . [Pipeline] withDockerContainer [2021-05-07T05:55:42.774Z] prd-ubuntu18.04-docker-arm64-4c-16g-3463 does not seem to be running inside a container [2021-05-07T05:55:42.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T05:55:44.405Z] $ docker top 3df31a60c6a8527c410a42d8505a9c07d40c8b395420c6d61802dcb6d341ba13 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T05:55:45.361Z] + go mod tidy [Pipeline] sh [2021-05-07T05:55:46.665Z] + make test [2021-05-07T05:55:46.665Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T05:55:59.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T05:55:59.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T05:55:59.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T05:55:59.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T05:55:59.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T05:55:59.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.696s coverage: 28.1% of statements [2021-05-07T05:55:59.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.173s coverage: 78.9% of statements [2021-05-07T05:55:59.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.061s coverage: 7.8% of statements [2021-05-07T05:55:59.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T05:55:59.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T05:55:59.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T05:55:59.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 30.2% of statements [2021-05-07T05:55:59.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T05:55:59.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T05:55:59.304Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T05:55:59.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.108s coverage: 57.2% of statements [2021-05-07T05:56:00.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.208s coverage: 6.6% of statements [2021-05-07T05:56:00.836Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 5.0% of statements [2021-05-07T05:56:00.836Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T05:56:01.098Z] GO111MODULE=on go vet ./... [2021-05-07T05:56:13.498Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T05:56:23.222Z] gofmt -l . [2021-05-07T05:56:23.222Z] [ "`gofmt -l .`" = "" ] [2021-05-07T05:56:23.222Z] ./bin/test-attribution-txt.sh [2021-05-07T05:56:23.222Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T05:56:23.255Z] $ docker stop --time=1 10421a39d8835118efe493b913424fbbb311f863c47939549fb83be06e96ba39 [2021-05-07T05:56:24.984Z] $ docker rm -f 10421a39d8835118efe493b913424fbbb311f863c47939549fb83be06e96ba39 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T05:56:25.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T05:56:26.081Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-07T05:56:28.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T05:56:29.180Z] + ls -al . [2021-05-07T05:56:29.180Z] total 188 [2021-05-07T05:56:29.180Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 7 05:56 . [2021-05-07T05:56:29.180Z] drwxrwxr-x. 4 jenkins jenkins 28 May 7 05:54 .. [2021-05-07T05:56:29.180Z] drwxrwxr-x. 2 jenkins jenkins 64 May 7 05:54 bin [2021-05-07T05:56:29.180Z] -rw-r--r--. 1 jenkins jenkins 100320 May 7 05:56 coverage.out [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 987 May 7 05:54 Dockerfile.build [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 140 May 7 05:54 .dockerignore [2021-05-07T05:56:29.180Z] drwxrwxr-x. 5 jenkins jenkins 62 May 7 05:54 example [2021-05-07T05:56:29.180Z] drwxrwxr-x. 8 jenkins jenkins 179 May 7 05:54 .git [2021-05-07T05:56:29.180Z] drwxrwxr-x. 2 jenkins jenkins 103 May 7 05:54 .github [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 138 May 7 05:54 .gitignore [2021-05-07T05:56:29.180Z] -rw-r--r--. 1 jenkins jenkins 575 May 7 05:56 go.mod [2021-05-07T05:56:29.180Z] -rw-r--r--. 1 jenkins jenkins 20957 May 7 05:55 go.sum [2021-05-07T05:56:29.180Z] drwxrwxr-x. 14 jenkins jenkins 207 May 7 05:54 internal [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 901 May 7 05:54 Jenkinsfile [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 7 05:54 LICENSE [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 7 05:54 Makefile [2021-05-07T05:56:29.180Z] drwxrwxr-x. 4 jenkins jenkins 26 May 7 05:54 openapi [2021-05-07T05:56:29.180Z] drwxrwxr-x. 5 jenkins jenkins 50 May 7 05:54 pkg [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 7 05:54 README.md [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 7 05:54 RELEASE-NOTES.txt [2021-05-07T05:56:29.180Z] drwxrwxr-x. 4 jenkins jenkins 54 May 7 05:54 snap [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 5 May 7 05:52 VERSION [2021-05-07T05:56:29.180Z] -rw-rw-r--. 1 jenkins jenkins 222 May 7 05:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:56:29.572Z] + 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=c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 --label arch=amd64 --label version=0.0.0 . [2021-05-07T05:56:29.852Z] Sending build context to Docker daemon 2.573MB [2021-05-07T05:56:29.852Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:56:29.852Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T05:56:29.852Z] ---> 25c3035bb982 [2021-05-07T05:56:29.852Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T05:56:30.432Z] ---> Running in 3f47d0246166 [2021-05-07T05:56:30.696Z] Removing intermediate container 3f47d0246166 [2021-05-07T05:56:30.696Z] ---> 3ca512a5a8ea [2021-05-07T05:56:30.696Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:56:30.696Z] ---> Running in cfabb9839dea [2021-05-07T05:56:30.961Z] Removing intermediate container cfabb9839dea [2021-05-07T05:56:30.961Z] ---> b91a532ebfad [2021-05-07T05:56:30.961Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:56:30.961Z] ---> Running in baf51233d8b2 [2021-05-07T05:56:31.941Z] Removing intermediate container baf51233d8b2 [2021-05-07T05:56:31.941Z] ---> 6ea8754543b2 [2021-05-07T05:56:31.941Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T05:56:31.941Z] ---> Running in de4f1a6efa7e [2021-05-07T05:56:32.203Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T05:56:33.152Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T05:56:33.730Z] OK: 150 MiB in 46 packages [2021-05-07T05:56:33.996Z] Removing intermediate container de4f1a6efa7e [2021-05-07T05:56:33.996Z] ---> 287e7de80a0a [2021-05-07T05:56:33.996Z] Step 7/23 : COPY . . [2021-05-07T05:56:35.395Z] ---> 37630b0f21c2 [2021-05-07T05:56:35.395Z] Step 8/23 : RUN go mod download [2021-05-07T05:56:35.395Z] ---> Running in 28d8b9b40609 [2021-05-07T05:56:36.371Z] Removing intermediate container 28d8b9b40609 [2021-05-07T05:56:36.371Z] ---> 89b83c1f47bd [2021-05-07T05:56:36.371Z] Step 9/23 : RUN make build [2021-05-07T05:56:36.371Z] ---> Running in 04b2cb44577b [2021-05-07T05:56:36.638Z] 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-07T05:56:49.066Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T05:56:51.004Z] Removing intermediate container 04b2cb44577b [2021-05-07T05:56:51.004Z] ---> d697a0f3bd7c [2021-05-07T05:56:51.004Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T05:56:51.266Z] 3.12: Pulling from library/alpine [2021-05-07T05:56:51.537Z] 339de151aab4: Pulling fs layer [2021-05-07T05:56:51.537Z] 339de151aab4: Verifying Checksum [2021-05-07T05:56:51.537Z] 339de151aab4: Download complete [2021-05-07T05:56:51.804Z] 339de151aab4: Pull complete [2021-05-07T05:56:51.804Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T05:56:51.804Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T05:56:51.804Z] ---> 13621d1b12d4 [2021-05-07T05:56:51.804Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:56:52.067Z] ---> Running in 15fd5731aeae [2021-05-07T05:56:52.067Z] Removing intermediate container 15fd5731aeae [2021-05-07T05:56:52.067Z] ---> 04299fb489f2 [2021-05-07T05:56:52.067Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:56:52.332Z] ---> Running in 87bcc1d9f98d [2021-05-07T05:56:53.307Z] Removing intermediate container 87bcc1d9f98d [2021-05-07T05:56:53.307Z] ---> 78f503285735 [2021-05-07T05:56:53.307Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T05:56:53.307Z] ---> Running in 15c782503529 [2021-05-07T05:56:53.571Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-07T05:56:54.526Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-07T05:56:55.109Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T05:56:55.373Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T05:56:55.639Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T05:56:56.223Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T05:56:56.486Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T05:56:56.754Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T05:56:56.754Z] OK: 8 MiB in 19 packages [2021-05-07T05:56:57.341Z] Removing intermediate container 15c782503529 [2021-05-07T05:56:57.341Z] ---> 9694875fbdb9 [2021-05-07T05:56:57.341Z] Step 14/23 : WORKDIR / [2021-05-07T05:56:57.615Z] ---> Running in 6481e69f056c [2021-05-07T05:56:57.615Z] Removing intermediate container 6481e69f056c [2021-05-07T05:56:57.615Z] ---> 20170b31858e [2021-05-07T05:56:57.615Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T05:56:57.886Z] ---> 970d66fe6df1 [2021-05-07T05:56:57.886Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T05:56:58.468Z] ---> 0c6165bbe1e9 [2021-05-07T05:56:58.468Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T05:56:59.045Z] ---> eec4e35b01ab [2021-05-07T05:56:59.045Z] Step 18/23 : EXPOSE 49990 [2021-05-07T05:56:59.045Z] ---> Running in e7946bc707b9 [2021-05-07T05:56:59.045Z] Removing intermediate container e7946bc707b9 [2021-05-07T05:56:59.045Z] ---> 20281cd8b426 [2021-05-07T05:56:59.045Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T05:56:59.045Z] ---> Running in 10357b5a442e [2021-05-07T05:56:59.330Z] Removing intermediate container 10357b5a442e [2021-05-07T05:56:59.330Z] ---> 2dc3365ff941 [2021-05-07T05:56:59.330Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T05:56:59.330Z] ---> Running in 3d96c63f33d9 [2021-05-07T05:56:59.599Z] Removing intermediate container 3d96c63f33d9 [2021-05-07T05:56:59.599Z] ---> f7c0bac80d86 [2021-05-07T05:56:59.599Z] Step 21/23 : LABEL arch=amd64 [2021-05-07T05:56:59.599Z] ---> Running in 87444a6e9cfe [2021-05-07T05:56:59.867Z] Removing intermediate container 87444a6e9cfe [2021-05-07T05:56:59.867Z] ---> 2b916b3e7671 [2021-05-07T05:56:59.867Z] Step 22/23 : LABEL git_sha=c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [2021-05-07T05:56:59.867Z] ---> Running in 049577be6028 [2021-05-07T05:56:59.867Z] Removing intermediate container 049577be6028 [2021-05-07T05:56:59.867Z] ---> cc9d6e83622b [2021-05-07T05:56:59.867Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T05:57:00.142Z] ---> Running in 3a3a0d9d3c9c [2021-05-07T05:57:00.142Z] Removing intermediate container 3a3a0d9d3c9c [2021-05-07T05:57:00.142Z] ---> 85003c64dba7 [2021-05-07T05:57:00.142Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-07T05:57:00.142Z] Successfully built 85003c64dba7 [2021-05-07T05:57:00.409Z] 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-07T05:57:01.487Z] ---> job-cost.sh [2021-05-07T05:57:01.487Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-okln [2021-05-07T05:57:19.708Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T05:57:21.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T05:57:21.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T05:57:21.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T05:57:21.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T05:57:21.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T05:57:25.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.154s coverage: 28.1% of statements [2021-05-07T05:57:26.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.292s coverage: 78.9% of statements [2021-05-07T05:57:26.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.212s coverage: 7.8% of statements [2021-05-07T05:57:26.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T05:57:26.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T05:57:26.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T05:57:28.614Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.264s coverage: 30.2% of statements [2021-05-07T05:57:28.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T05:57:28.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T05:57:28.614Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T05:57:31.304Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.356s coverage: 57.2% of statements [2021-05-07T05:57:31.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.407s coverage: 6.6% of statements [2021-05-07T05:57:32.183Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.154s coverage: 5.0% of statements [2021-05-07T05:57:32.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T05:57:32.779Z] GO111MODULE=on go vet ./... [2021-05-07T05:57:46.355Z] lf-activate-venv(): INFO: Adding /tmp/venv-okln/bin to PATH [2021-05-07T05:57:46.355Z] INFO: No Stack... [2021-05-07T05:57:46.619Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T05:57:47.202Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T05:57:48.486Z] + cut -d, -f6 [2021-05-07T05:57:48.486Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-05-07T05:57:48.615Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-908-1-stack-cost] [2021-05-07T05:57:48.621Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-908-1-stack-cost] did not exist. Created. [2021-05-07T05:57:48.621Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-908-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T05:57:49.080Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T05:57:49.249Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T05:57:49.273Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-908-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T05:58:41.431Z] gofmt -l . [2021-05-07T05:58:41.431Z] [ "`gofmt -l .`" = "" ] [2021-05-07T05:58:41.431Z] ./bin/test-attribution-txt.sh [2021-05-07T05:58:41.431Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T05:58:41.464Z] $ docker stop --time=1 3df31a60c6a8527c410a42d8505a9c07d40c8b395420c6d61802dcb6d341ba13 [2021-05-07T05:58:43.615Z] $ docker rm -f 3df31a60c6a8527c410a42d8505a9c07d40c8b395420c6d61802dcb6d341ba13 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T05:58:44.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T05:58:44.848Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T05:58:45.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T05:58:46.151Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T05:58:46.513Z] + ls -al . [2021-05-07T05:58:46.513Z] total 224 [2021-05-07T05:58:46.513Z] drwxrwxr-x 10 jenkins jenkins 4096 May 7 05:58 . [2021-05-07T05:58:46.513Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:54 .. [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 05:54 .dockerignore [2021-05-07T05:58:46.513Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 05:54 .git [2021-05-07T05:58:46.513Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:54 .github [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 138 May 7 05:54 .gitignore [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 987 May 7 05:54 Dockerfile.build [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 901 May 7 05:54 Jenkinsfile [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 05:54 LICENSE [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 7 05:54 Makefile [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 7 05:54 README.md [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 7 05:54 RELEASE-NOTES.txt [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 05:52 VERSION [2021-05-07T05:58:46.513Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:54 bin [2021-05-07T05:58:46.513Z] -rw-r--r-- 1 jenkins jenkins 100320 May 7 05:57 coverage.out [2021-05-07T05:58:46.513Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:54 example [2021-05-07T05:58:46.513Z] -rw-r--r-- 1 jenkins jenkins 575 May 7 05:58 go.mod [2021-05-07T05:58:46.513Z] -rw-r--r-- 1 jenkins jenkins 20957 May 7 05:55 go.sum [2021-05-07T05:58:46.513Z] drwxrwxr-x 14 jenkins jenkins 4096 May 7 05:54 internal [2021-05-07T05:58:46.513Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:54 openapi [2021-05-07T05:58:46.513Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:54 pkg [2021-05-07T05:58:46.513Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:54 snap [2021-05-07T05:58:46.513Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 05:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:58:46.889Z] + 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=c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 --label arch=arm64 --label version=0.0.0 . [2021-05-07T05:58:47.160Z] Sending build context to Docker daemon 2.572MB [2021-05-07T05:58:47.433Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:58:47.433Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T05:58:47.433Z] ---> 86f7b53e9748 [2021-05-07T05:58:47.433Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T05:58:47.706Z] ---> Running in 571882338cea [2021-05-07T05:58:48.298Z] Removing intermediate container 571882338cea [2021-05-07T05:58:48.298Z] ---> 843492fb17a0 [2021-05-07T05:58:48.298Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:58:48.298Z] ---> Running in c15d30871fa4 [2021-05-07T05:58:48.894Z] Removing intermediate container c15d30871fa4 [2021-05-07T05:58:48.894Z] ---> c20d30a353cb [2021-05-07T05:58:48.894Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:58:48.894Z] ---> Running in 0e16486fa811 [2021-05-07T05:58:50.868Z] Removing intermediate container 0e16486fa811 [2021-05-07T05:58:50.868Z] ---> 1fd91cd1c5f9 [2021-05-07T05:58:50.868Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T05:58:51.139Z] ---> Running in abdad5d4aa32 [2021-05-07T05:58:52.115Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T05:58:53.541Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T05:58:54.135Z] OK: 139 MiB in 46 packages [2021-05-07T05:58:55.573Z] Removing intermediate container abdad5d4aa32 [2021-05-07T05:58:55.573Z] ---> c63c9ef22b49 [2021-05-07T05:58:55.573Z] Step 7/23 : COPY . . [2021-05-07T05:58:56.553Z] ---> b726520917a2 [2021-05-07T05:58:56.553Z] Step 8/23 : RUN go mod download [2021-05-07T05:58:56.826Z] ---> Running in 9f50f269284c [2021-05-07T05:58:59.461Z] Removing intermediate container 9f50f269284c [2021-05-07T05:58:59.461Z] ---> c3fd022a7642 [2021-05-07T05:58:59.461Z] Step 9/23 : RUN make build [2021-05-07T05:58:59.461Z] ---> Running in 73880b579a70 [2021-05-07T05:59:00.445Z] 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-07T05:59:39.530Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T05:59:40.521Z] Removing intermediate container 73880b579a70 [2021-05-07T05:59:40.521Z] ---> 5c80ff7d51b2 [2021-05-07T05:59:40.521Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T05:59:41.120Z] 3.12: Pulling from library/alpine [2021-05-07T05:59:41.120Z] d2f70382dc9a: Pulling fs layer [2021-05-07T05:59:41.403Z] d2f70382dc9a: Verifying Checksum [2021-05-07T05:59:41.403Z] d2f70382dc9a: Download complete [2021-05-07T05:59:42.003Z] d2f70382dc9a: Pull complete [2021-05-07T05:59:42.003Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T05:59:42.003Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T05:59:42.003Z] ---> 9852663dfa18 [2021-05-07T05:59:42.003Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:59:42.278Z] ---> Running in 325b5566323c [2021-05-07T05:59:42.553Z] Removing intermediate container 325b5566323c [2021-05-07T05:59:42.553Z] ---> 9ff4be6332cc [2021-05-07T05:59:42.553Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:59:42.833Z] ---> Running in 7dd82462d24a [2021-05-07T05:59:45.458Z] Removing intermediate container 7dd82462d24a [2021-05-07T05:59:45.458Z] ---> 64939b3fd0f8 [2021-05-07T05:59:45.458Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T05:59:45.458Z] ---> Running in bd4d1ef15590 [2021-05-07T05:59:46.457Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-07T05:59:47.062Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-07T05:59:48.053Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T05:59:48.053Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T05:59:48.053Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T05:59:48.329Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T05:59:48.329Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T05:59:48.609Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T05:59:48.609Z] OK: 8 MiB in 19 packages [2021-05-07T05:59:50.051Z] Removing intermediate container bd4d1ef15590 [2021-05-07T05:59:50.051Z] ---> 7474e74b1473 [2021-05-07T05:59:50.051Z] Step 14/23 : WORKDIR / [2021-05-07T05:59:50.051Z] ---> Running in 9dfd6b310eec [2021-05-07T05:59:50.652Z] Removing intermediate container 9dfd6b310eec [2021-05-07T05:59:50.652Z] ---> 8dd424db6f44 [2021-05-07T05:59:50.652Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T05:59:51.636Z] ---> 6bf62d338330 [2021-05-07T05:59:51.636Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T05:59:53.074Z] ---> a8113d581d3b [2021-05-07T05:59:53.074Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T05:59:53.681Z] ---> a3466b20ad02 [2021-05-07T05:59:53.681Z] Step 18/23 : EXPOSE 49990 [2021-05-07T05:59:53.681Z] ---> Running in 6f8d0e281359 [2021-05-07T05:59:54.288Z] Removing intermediate container 6f8d0e281359 [2021-05-07T05:59:54.288Z] ---> 77aa87265b77 [2021-05-07T05:59:54.288Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T05:59:54.288Z] ---> Running in a5e60cdb486d [2021-05-07T05:59:54.889Z] Removing intermediate container a5e60cdb486d [2021-05-07T05:59:54.889Z] ---> d36bc597da88 [2021-05-07T05:59:54.889Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T05:59:55.165Z] ---> Running in eee97c506b8b [2021-05-07T05:59:55.441Z] Removing intermediate container eee97c506b8b [2021-05-07T05:59:55.441Z] ---> 7d4a730b2a5d [2021-05-07T05:59:55.441Z] Step 21/23 : LABEL arch=arm64 [2021-05-07T05:59:55.719Z] ---> Running in f0f88d06414e [2021-05-07T05:59:56.323Z] Removing intermediate container f0f88d06414e [2021-05-07T05:59:56.323Z] ---> 9abc3f0f3c2c [2021-05-07T05:59:56.323Z] Step 22/23 : LABEL git_sha=c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [2021-05-07T05:59:56.323Z] ---> Running in ca0ff70f7318 [2021-05-07T05:59:56.927Z] Removing intermediate container ca0ff70f7318 [2021-05-07T05:59:56.927Z] ---> 389a097fdbc4 [2021-05-07T05:59:56.927Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T05:59:56.927Z] ---> Running in 293c16905fb2 [2021-05-07T05:59:57.528Z] Removing intermediate container 293c16905fb2 [2021-05-07T05:59:57.528Z] ---> c37f2648bb40 [2021-05-07T05:59:57.528Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T05:59:57.528Z] Successfully built c37f2648bb40 [2021-05-07T05:59:57.528Z] 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-07T05:59:58.211Z] ---> job-cost.sh [2021-05-07T05:59:58.211Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-RP91 [2021-05-07T06:00:54.777Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:03:01.662Z] lf-activate-venv(): INFO: Adding /tmp/venv-RP91/bin to PATH [2021-05-07T06:03:01.662Z] INFO: No Stack... [2021-05-07T06:03:01.662Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T06:03:01.662Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:03:02.046Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-07T06:03:02.046Z] [Pipeline] lock [2021-05-07T06:03:02.214Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-908-1-stack-cost] [2021-05-07T06:03:02.223Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-908-1-stack-cost] did not exist. Created. [2021-05-07T06:03:02.223Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-908-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:03:02.685Z] /w/workspace/device-sdk-go/1@tmp/durable-a8e0cbd9/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-a8e0cbd9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-07T06:03:03.086Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T06:03:03.128Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T06:03:03.297Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:03:03.313Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-908-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:04.469Z] provisioning config files... [2021-05-07T06:03:04.501Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp/config2658193873051038271tmp [Pipeline] { [Pipeline] sh [2021-05-07T06:03:04.967Z] + set +x [2021-05-07T06:03:04.967Z] + curl -s https://codecov.io/bash [2021-05-07T06:03:04.967Z] + bash -s -- [2021-05-07T06:03:05.276Z] [2021-05-07T06:03:05.276Z] _____ _ [2021-05-07T06:03:05.276Z] / ____| | | [2021-05-07T06:03:05.276Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T06:03:05.276Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T06:03:05.276Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T06:03:05.276Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T06:03:05.276Z] Bash-1.0.2 [2021-05-07T06:03:05.276Z] [2021-05-07T06:03:05.276Z] [2021-05-07T06:03:05.276Z] ==> git version 2.24.3 found [2021-05-07T06:03:05.276Z] ==> 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:05.276Z] 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:05.276Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T06:03:05.276Z] ==> Jenkins CI detected. [2021-05-07T06:03:05.276Z] project root: . [2021-05-07T06:03:05.276Z] --> token set from env [2021-05-07T06:03:05.276Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T06:03:05.556Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T06:03:05.556Z] ==> Python coveragepy not found [2021-05-07T06:03:05.556Z] ==> Searching for coverage reports in: [2021-05-07T06:03:05.556Z] + . [2021-05-07T06:03:05.556Z] -> Found 1 reports [2021-05-07T06:03:05.556Z] ==> Detecting git/mercurial file structure [2021-05-07T06:03:05.556Z] ==> Reading reports [2021-05-07T06:03:05.556Z] + ./coverage.out bytes=100320 [2021-05-07T06:03:05.556Z] ==> Appending adjustments [2021-05-07T06:03:05.556Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T06:03:06.161Z] + Found adjustments [2021-05-07T06:03:06.161Z] ==> Gzipping contents [2021-05-07T06:03:06.161Z] 16K /tmp/codecov.9yoAw4.gz [2021-05-07T06:03:06.161Z] ==> Uploading reports [2021-05-07T06:03:06.161Z] url: https://codecov.io [2021-05-07T06:03:06.161Z] query: branch=PR-908&commit=c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-908%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=908&job=&cmd_args= [2021-05-07T06:03:06.161Z] -> Pinging Codecov [2021-05-07T06:03:06.161Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-908&commit=c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-908%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=908&job=&cmd_args= [2021-05-07T06:03:06.743Z] -> Uploading to [2021-05-07T06:03:06.743Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/7E55EF52A471D76F132DFD9A03CDDE97/c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2/da9cd60b-daa5-40db-904d-3c6c92ba64cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T060306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=46fdcccc78bfd1b58901c1517ad9e9c417481fb208dbfbe6c7bc0cebd6890fae [2021-05-07T06:03:06.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T06:03:06.743Z] Dload Upload Total Spent Left Speed [2021-05-07T06:03:07.349Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13560 0 0 100 13560 0 23253 --:--:-- --:--:-- --:--:-- 23259 100 13560 0 0 100 13560 0 23245 --:--:-- --:--:-- --:--:-- 23219 [2021-05-07T06:03:07.349Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/c3d2e835220055e39ba5cf5cd5eda78e7ae9fbe2 [Pipeline] } [2021-05-07T06:03:07.386Z] 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:09.649Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:03:10.365Z] ---> package-listing.sh [2021-05-07T06:03:10.365Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T06:03:10.365Z] ++ facter osfamily [2021-05-07T06:03:10.635Z] + OS_FAMILY=redhat [2021-05-07T06:03:10.635Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-908 [2021-05-07T06:03:10.635Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T06:03:10.635Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T06:03:10.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T06:03:10.635Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T06:03:10.635Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-908 ']' [2021-05-07T06:03:10.635Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T06:03:10.635Z] + case "${OS_FAMILY}" in [2021-05-07T06:03:10.635Z] + sort [2021-05-07T06:03:10.635Z] + rpm -qa [2021-05-07T06:03:17.406Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T06:03:17.406Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T06:03:17.406Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T06:03:17.406Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-908 ']' [2021-05-07T06:03:17.406Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-908/archives/ [2021-05-07T06:03:17.406Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-908/archives/ [Pipeline] echo [2021-05-07T06:03:17.442Z] 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-908/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:17.789Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:03:18.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:03:18.744Z] [2021-05-07T06:03:18.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:03:19.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:03:19.174Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T06:03:19.174Z] df20fa9351a1: Pulling fs layer [2021-05-07T06:03:19.174Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T06:03:19.174Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T06:03:19.174Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T06:03:19.174Z] 93b61091891f: Pulling fs layer [2021-05-07T06:03:19.174Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T06:03:19.174Z] 5e14af77c1be: Pulling fs layer [2021-05-07T06:03:19.174Z] 01666e4c0597: Pulling fs layer [2021-05-07T06:03:19.174Z] aa168da1d23b: Pulling fs layer [2021-05-07T06:03:19.174Z] 93b9cdb0e59b: Waiting [2021-05-07T06:03:19.174Z] 5e14af77c1be: Waiting [2021-05-07T06:03:19.174Z] 01666e4c0597: Waiting [2021-05-07T06:03:19.174Z] aa168da1d23b: Waiting [2021-05-07T06:03:19.174Z] 46f8f816bc3b: Waiting [2021-05-07T06:03:19.174Z] 93b61091891f: Waiting [2021-05-07T06:03:19.455Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T06:03:19.455Z] 36b3adc4ff6f: Download complete [2021-05-07T06:03:19.455Z] 46f8f816bc3b: Download complete [2021-05-07T06:03:19.726Z] df20fa9351a1: Verifying Checksum [2021-05-07T06:03:19.726Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T06:03:19.726Z] 93b9cdb0e59b: Download complete [2021-05-07T06:03:19.726Z] 5e14af77c1be: Download complete [2021-05-07T06:03:19.726Z] 01666e4c0597: Verifying Checksum [2021-05-07T06:03:19.726Z] 01666e4c0597: Download complete [2021-05-07T06:03:19.726Z] 93b61091891f: Verifying Checksum [2021-05-07T06:03:19.726Z] 93b61091891f: Download complete [2021-05-07T06:03:19.996Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T06:03:19.996Z] 8ad3a11d3b57: Download complete [2021-05-07T06:03:20.273Z] df20fa9351a1: Pull complete [2021-05-07T06:03:20.540Z] 36b3adc4ff6f: Pull complete [2021-05-07T06:03:21.561Z] 8ad3a11d3b57: Pull complete [2021-05-07T06:03:21.561Z] 46f8f816bc3b: Pull complete [2021-05-07T06:03:23.012Z] 93b61091891f: Pull complete [2021-05-07T06:03:23.012Z] 93b9cdb0e59b: Pull complete [2021-05-07T06:03:23.608Z] 5e14af77c1be: Pull complete [2021-05-07T06:03:23.888Z] 01666e4c0597: Pull complete [2021-05-07T06:03:23.888Z] aa168da1d23b: Verifying Checksum [2021-05-07T06:03:23.888Z] aa168da1d23b: Download complete [2021-05-07T06:03:36.463Z] aa168da1d23b: Pull complete [2021-05-07T06:03:36.463Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T06:03:36.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:03:36.463Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T06:03:36.765Z] prd-centos7-docker-4c-2g-3460 does not seem to be running inside a container [2021-05-07T06:03:36.896Z] $ 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-908/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-908 -v /w/workspace/dgexfoundry_device-sdk-go_PR-908:/w/workspace/dgexfoundry_device-sdk-go_PR-908:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-07T06:03:40.690Z] $ docker top 13b5ddde2d43e962b390998b19d404b47609fba9ea84e54c0e22a60dc7e3857c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:03:41.341Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T06:03:41.696Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T06:03:42.034Z] + ls /var/log/sa-host [2021-05-07T06:03:42.034Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T06:03:42.034Z] file_magic: OK [2021-05-07T06:03:42.034Z] HZ: Using current value: 100 [2021-05-07T06:03:42.034Z] file_header: OK [2021-05-07T06:03:42.034Z] 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:03:42.034Z] Statistics: [2021-05-07T06:03:42.034Z] 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:03:42.034Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T06:03:42.034Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T06:03:42.034Z] file_magic: OK [2021-05-07T06:03:42.034Z] HZ: Using current value: 100 [2021-05-07T06:03:42.034Z] file_header: OK [2021-05-07T06:03:42.034Z] 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:03:42.034Z] Statistics: [2021-05-07T06:03:42.034Z] Hnuu...uuuununununu... [2021-05-07T06:03:42.034Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T06:03:42.753Z] provisioning config files... [2021-05-07T06:03:42.775Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-908@tmp/config567373295891001255tmp [Pipeline] { [Pipeline] echo [2021-05-07T06:03:42.853Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:03:43.252Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T06:03:43.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T06:03:43.650Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:03:44.015Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T06:03:44.051Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:03:44.544Z] ---> sudo-logs.sh [2021-05-07T06:03:44.544Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T06:03:44.632Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:03:45.004Z] ---> job-cost.sh [2021-05-07T06:03:45.004Z] lf-activate-venv: SKIPPING [2021-05-07T06:03:45.004Z] DEBUG: total: 0.20999999344348907 [2021-05-07T06:03:45.004Z] INFO: Retrieving Stack Cost... [2021-05-07T06:03:46.410Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:03:47.000Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T06:03:47.048Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:03:47.425Z] ---> logs-deploy.sh [2021-05-07T06:03:47.425Z] lf-activate-venv: SKIPPING [2021-05-07T06:03:47.425Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-908/1 [2021-05-07T06:03:47.425Z] INFO: archiving workspace using pattern(s): [2021-05-07T06:03:50.865Z] Archives upload complete. [2021-05-07T06:03:50.865Z] INFO: archiving logs to Nexus