Pull request #903 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 74f5389fc2779f3384dbc642fd95aa127436f3d0+92affc97e25621ac5a3617c0e5e42feb55191c77 (b20157afe09cb9411bf245c4ec7faf22a4e527b3) 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-903/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-903/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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-2858 in /w/workspace/dgexfoundry_device-sdk-go_PR-903 [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-903 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 74f5389fc2779f3384dbc642fd95aa127436f3d0 Merge succeeded, producing 74f5389fc2779f3384dbc642fd95aa127436f3d0 Checking out Revision 74f5389fc2779f3384dbc642fd95aa127436f3d0 (PR-903) > 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/903/head:refs/remotes/origin/PR-903 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # 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 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # 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-04T05:50:00.050Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-04T05:50:00.261Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-04T05:50:00.376Z] ========================================================= [2021-05-04T05:50:00.377Z] EdgeX Global Pipelines Version Info [2021-05-04T05:50:00.377Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-04T05:50:02.590Z] ------------------- [2021-05-04T05:50:02.590Z] stable info: [2021-05-04T05:50:02.590Z] ------------------- [2021-05-04T05:50:02.590Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-04T05:50:02.590Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-04T05:50:02.590Z] Message: update stable to v1.0.191 [2021-05-04T05:50:03.558Z] ------------------- [2021-05-04T05:50:03.558Z] experimental info: [2021-05-04T05:50:03.558Z] ------------------- [2021-05-04T05:50:03.558Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-04T05:50:03.558Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-04T05:50:03.558Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-04T05:50:03.920Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-04T05:50:03.981Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-04T05:50:04.038Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-04T05:50:04.096Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-04T05:50:04.154Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-04T05:50:04.213Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-04T05:50:04.272Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-04T05:50:04.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-04T05:50:04.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-04T05:50:04.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-04T05:50:04.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-04T05:50:04.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-04T05:50:04.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-04T05:50:04.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-04T05:50:04.768Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-04T05:50:04.826Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-04T05:50:04.882Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-04T05:50:04.941Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-04T05:50:05.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-04T05:50:05.060Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-04T05:50:05.117Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-04T05:50:05.176Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-04T05:50:05.234Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-04T05:50:05.299Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-04T05:50:05.362Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-04T05:50:05.421Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-04T05:50:05.479Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-903 [Pipeline] echo [2021-05-04T05:50:05.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-903 [Pipeline] echo [2021-05-04T05:50:05.593Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-903 [Pipeline] echo [2021-05-04T05:50:05.649Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74f5389fc2779f3384dbc642fd95aa127436f3d0 [Pipeline] echo [2021-05-04T05:50:05.707Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74f5389 [Pipeline] echo [2021-05-04T05:50:05.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-04T05:50:05.932Z] provisioning config files... [2021-05-04T05:50:05.971Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/config7541171755028083574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-04T05:50:06.363Z] ---> docker-login.sh [2021-05-04T05:50:06.363Z] nexus3.edgexfoundry.org:10001 [2021-05-04T05:50:06.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:50:06.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:50:06.895Z] Configure a credential helper to remove this warning. See [2021-05-04T05:50:06.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:50:06.895Z] [2021-05-04T05:50:06.895Z] Login Succeeded [2021-05-04T05:50:06.895Z] nexus3.edgexfoundry.org:10002 [2021-05-04T05:50:07.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:50:07.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:50:07.160Z] Configure a credential helper to remove this warning. See [2021-05-04T05:50:07.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:50:07.160Z] [2021-05-04T05:50:07.160Z] Login Succeeded [2021-05-04T05:50:07.160Z] nexus3.edgexfoundry.org:10003 [2021-05-04T05:50:07.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:50:07.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:50:07.439Z] Configure a credential helper to remove this warning. See [2021-05-04T05:50:07.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:50:07.439Z] [2021-05-04T05:50:07.439Z] Login Succeeded [2021-05-04T05:50:07.439Z] nexus3.edgexfoundry.org:10004 [2021-05-04T05:50:07.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:50:07.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:50:07.439Z] Configure a credential helper to remove this warning. See [2021-05-04T05:50:07.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:50:07.439Z] [2021-05-04T05:50:07.439Z] Login Succeeded [2021-05-04T05:50:07.439Z] docker.io [2021-05-04T05:50:07.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:50:07.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:50:07.979Z] Configure a credential helper to remove this warning. See [2021-05-04T05:50:07.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:50:07.979Z] [2021-05-04T05:50:07.979Z] Login Succeeded [2021-05-04T05:50:07.979Z] ---> docker-login.sh ends [Pipeline] } [2021-05-04T05:50:08.006Z] 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-04T05:50:08.761Z] + git log --format=format:%s -1 74f5389fc2779f3384dbc642fd95aa127436f3d0 [Pipeline] echo [2021-05-04T05:50:08.916Z] GIT_COMMIT: 74f5389fc2779f3384dbc642fd95aa127436f3d0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-04T05:50:08.962Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:50:10.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-04T05:50:10.251Z] [2021-05-04T05:50:10.251Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:50:10.640Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-04T05:50:10.640Z] latest: Pulling from edgex-devops/git-semver [2021-05-04T05:50:10.640Z] 31603596830f: Pulling fs layer [2021-05-04T05:50:10.640Z] 54011a49482f: Pulling fs layer [2021-05-04T05:50:10.640Z] a6820b24f6d8: Pulling fs layer [2021-05-04T05:50:10.640Z] f581987b2513: Pulling fs layer [2021-05-04T05:50:10.640Z] f581987b2513: Waiting [2021-05-04T05:50:10.640Z] 54011a49482f: Verifying Checksum [2021-05-04T05:50:10.640Z] 54011a49482f: Download complete [2021-05-04T05:50:10.916Z] 31603596830f: Verifying Checksum [2021-05-04T05:50:10.916Z] 31603596830f: Download complete [2021-05-04T05:50:11.185Z] f581987b2513: Verifying Checksum [2021-05-04T05:50:11.185Z] f581987b2513: Download complete [2021-05-04T05:50:11.185Z] a6820b24f6d8: Verifying Checksum [2021-05-04T05:50:11.185Z] a6820b24f6d8: Download complete [2021-05-04T05:50:11.452Z] 31603596830f: Pull complete [2021-05-04T05:50:11.452Z] 54011a49482f: Pull complete [2021-05-04T05:50:12.907Z] a6820b24f6d8: Pull complete [2021-05-04T05:50:13.171Z] f581987b2513: Pull complete [2021-05-04T05:50:13.171Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-04T05:50:13.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-04T05:50:13.171Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-04T05:50:13.343Z] prd-centos7-docker-4c-2g-2858 does not seem to be running inside a container [2021-05-04T05:50:13.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-903 -v /w/workspace/dgexfoundry_device-sdk-go_PR-903:/w/workspace/dgexfoundry_device-sdk-go_PR-903:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-04T05:50:15.867Z] $ docker top 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-04T05:50:16.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-04T05:50:16.215Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-04T05:50:16.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-04T05:50:16.479Z] $ docker exec 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d ssh-agent [2021-05-04T05:50:16.938Z] SSH_AUTH_SOCK=/tmp/ssh-sOdUxBTsICHW/agent.11 [2021-05-04T05:50:16.938Z] SSH_AGENT_PID=16 [2021-05-04T05:50:16.976Z] Running ssh-add (command line suppressed) [2021-05-04T05:50:17.247Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/private_key_1562719369347383457.key (/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/private_key_1562719369347383457.key) [2021-05-04T05:50:17.366Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-04T05:50:17.758Z] + git tag --points-at HEAD [Pipeline] } [2021-05-04T05:50:17.848Z] $ docker exec --env ******** --env ******** 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d ssh-agent -k [2021-05-04T05:50:18.148Z] unset SSH_AUTH_SOCK; [2021-05-04T05:50:18.149Z] unset SSH_AGENT_PID; [2021-05-04T05:50:18.149Z] echo Agent pid 16 killed; [2021-05-04T05:50:18.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-04T05:50:18.372Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-04T05:50:18.372Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-04T05:50:18.630Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-04T05:50:18.641Z] $ docker exec 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d ssh-agent [2021-05-04T05:50:18.959Z] SSH_AUTH_SOCK=/tmp/ssh-crqSa2RiFPkP/agent.44 [2021-05-04T05:50:18.959Z] SSH_AGENT_PID=49 [2021-05-04T05:50:18.971Z] Running ssh-add (command line suppressed) [2021-05-04T05:50:19.169Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/private_key_8607385078644899143.key (/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/private_key_8607385078644899143.key) [2021-05-04T05:50:19.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-04T05:50:19.679Z] + git semver init [2021-05-04T05:50:19.679Z] # -> Open(): unable to determine branch for HEAD [2021-05-04T05:50:19.679Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-903/.git [2021-05-04T05:50:19.679Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-903 [2021-05-04T05:50:19.679Z] # $SEMVER_REMOTE_NAME = origin [2021-05-04T05:50:19.679Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-04T05:50:19.679Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-04T05:50:19.679Z] # $SEMVER_BRANCH = PR-903 [2021-05-04T05:50:19.679Z] # $SEMVER_TEMP = /tmp/semver-973952363 [2021-05-04T05:50:19.679Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-04T05:50:21.132Z] # '/tmp/semver-973952363' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-903/.semver' [2021-05-04T05:50:21.132Z] # -> Force: false [2021-05-04T05:50:21.132Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-903/.semver [Pipeline] } [2021-05-04T05:50:21.168Z] $ docker exec --env ******** --env ******** 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d ssh-agent -k [2021-05-04T05:50:21.307Z] unset SSH_AUTH_SOCK; [2021-05-04T05:50:21.307Z] unset SSH_AGENT_PID; [2021-05-04T05:50:21.307Z] echo Agent pid 49 killed; [2021-05-04T05:50:21.372Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-04T05:50:21.829Z] + git semver [Pipeline] } [2021-05-04T05:50:21.870Z] $ docker stop --time=1 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d [2021-05-04T05:50:23.385Z] $ docker rm -f 6ca9c582a45aec3b9c85fb70d230f1adf20fbed03ab148d080bb24cf29ae454d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-04T05:50:23.859Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-04T05:50:24.326Z] Stashed 1 file(s) [Pipeline] echo [2021-05-04T05:50:24.349Z] [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-04T05:50:39.856Z] Still waiting to schedule task [2021-05-04T05:50:39.856Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2858’ [2021-05-04T05:50:39.886Z] Still waiting to schedule task [2021-05-04T05:50:39.886Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-2316’ is offline [2021-05-04T05:52:31.182Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2859 in /w/workspace/dgexfoundry_device-sdk-go_PR-903 [Pipeline] { [Pipeline] ws [2021-05-04T05:52:31.243Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-04T05:52:36.692Z] using credential edgex-jenkins-ssh [2021-05-04T05:52:36.709Z] Cloning the remote Git repository [2021-05-04T05:52:36.765Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-04T05:52:36.873Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-04T05:52:36.961Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-04T05:52:36.962Z] > git --version # timeout=10 [2021-05-04T05:52:36.978Z] > git --version # 'git version 2.17.1' [2021-05-04T05:52:36.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-04T05:52:37.028Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-04T05:52:38.838Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 74f5389fc2779f3384dbc642fd95aa127436f3d0 [2021-05-04T05:52:38.219Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-04T05:52:38.238Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-04T05:52:38.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-04T05:52:38.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-04T05:52:38.302Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-04T05:52:38.317Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/903/head:refs/remotes/origin/PR-903 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-04T05:52:38.860Z] > git config core.sparsecheckout # timeout=10 [2021-05-04T05:52:38.882Z] > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 [2021-05-04T05:52:39.050Z] Merge succeeded, producing 74f5389fc2779f3384dbc642fd95aa127436f3d0 [2021-05-04T05:52:39.051Z] Checking out Revision 74f5389fc2779f3384dbc642fd95aa127436f3d0 (PR-903) [2021-05-04T05:52:38.977Z] > git remote # timeout=10 [2021-05-04T05:52:38.993Z] > git config --get remote.origin.url # timeout=10 [2021-05-04T05:52:39.007Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-04T05:52:39.018Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-05-04T05:52:39.039Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-04T05:52:39.061Z] > git config core.sparsecheckout # timeout=10 [2021-05-04T05:52:39.079Z] > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 [2021-05-04T05:52:43.258Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-04T05:52:43.347Z] > git --version # timeout=10 [2021-05-04T05:52:43.355Z] > git --version # 'git version 2.17.1' [2021-05-04T05:52:43.363Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-04T05:52:45.145Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-04T05:52:45.557Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-04T05:52:45.910Z] + sudo service+ docker restart [2021-05-04T05:52:45.910Z] true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-04T05:52:48.638Z] provisioning config files... [2021-05-04T05:52:48.681Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9049559770589912852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-04T05:52:49.127Z] ---> docker-login.sh [2021-05-04T05:52:49.127Z] nexus3.edgexfoundry.org:10001 [2021-05-04T05:52:50.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:52:50.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:52:50.382Z] Configure a credential helper to remove this warning. See [2021-05-04T05:52:50.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:52:50.382Z] [2021-05-04T05:52:50.382Z] Login Succeeded [2021-05-04T05:52:50.382Z] nexus3.edgexfoundry.org:10002 [2021-05-04T05:52:50.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:52:50.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:52:50.932Z] Configure a credential helper to remove this warning. See [2021-05-04T05:52:50.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:52:50.932Z] [2021-05-04T05:52:50.932Z] Login Succeeded [2021-05-04T05:52:50.932Z] nexus3.edgexfoundry.org:10003 [2021-05-04T05:52:51.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:52:51.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:52:51.485Z] Configure a credential helper to remove this warning. See [2021-05-04T05:52:51.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:52:51.485Z] [2021-05-04T05:52:51.485Z] Login Succeeded [2021-05-04T05:52:51.485Z] nexus3.edgexfoundry.org:10004 [2021-05-04T05:52:51.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:52:51.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:52:51.758Z] Configure a credential helper to remove this warning. See [2021-05-04T05:52:51.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:52:51.758Z] [2021-05-04T05:52:51.758Z] Login Succeeded [2021-05-04T05:52:52.033Z] docker.io [2021-05-04T05:52:52.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:52:52.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:52:52.578Z] Configure a credential helper to remove this warning. See [2021-05-04T05:52:52.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:52:52.578Z] [2021-05-04T05:52:52.578Z] Login Succeeded [2021-05-04T05:52:52.578Z] ---> docker-login.sh ends [Pipeline] } [2021-05-04T05:52:52.607Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-04T05:52:53.069Z] ========================================================= [2021-05-04T05:52:53.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-04T05:52:53.069Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:52:53.452Z] + 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-04T05:52:54.053Z] Sending build context to Docker daemon 2.466MB [2021-05-04T05:52:54.053Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-04T05:52:54.053Z] Step 2/8 : FROM ${BASE} [2021-05-04T05:52:54.053Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-04T05:52:54.054Z] 595b0fe564bb: Pulling fs layer [2021-05-04T05:52:54.054Z] 7186ed65a4f7: Pulling fs layer [2021-05-04T05:52:54.054Z] 316046926c0a: Pulling fs layer [2021-05-04T05:52:54.054Z] 4ebd0625c992: Pulling fs layer [2021-05-04T05:52:54.054Z] 207e8628e3a3: Pulling fs layer [2021-05-04T05:52:54.054Z] c791037a9be2: Pulling fs layer [2021-05-04T05:52:54.054Z] ffd874e62e21: Pulling fs layer [2021-05-04T05:52:54.054Z] 4ebd0625c992: Waiting [2021-05-04T05:52:54.054Z] 207e8628e3a3: Waiting [2021-05-04T05:52:54.054Z] c791037a9be2: Waiting [2021-05-04T05:52:54.054Z] ffd874e62e21: Waiting [2021-05-04T05:52:54.054Z] 316046926c0a: Download complete [2021-05-04T05:52:54.054Z] 7186ed65a4f7: Verifying Checksum [2021-05-04T05:52:54.054Z] 7186ed65a4f7: Download complete [2021-05-04T05:52:54.054Z] 207e8628e3a3: Verifying Checksum [2021-05-04T05:52:54.054Z] 207e8628e3a3: Download complete [2021-05-04T05:52:54.054Z] c791037a9be2: Verifying Checksum [2021-05-04T05:52:54.054Z] c791037a9be2: Download complete [2021-05-04T05:52:54.054Z] 595b0fe564bb: Verifying Checksum [2021-05-04T05:52:54.054Z] 595b0fe564bb: Download complete [2021-05-04T05:52:54.653Z] 595b0fe564bb: Pull complete [2021-05-04T05:52:55.261Z] 7186ed65a4f7: Pull complete [2021-05-04T05:52:55.865Z] 316046926c0a: Pull complete [2021-05-04T05:52:56.847Z] ffd874e62e21: Verifying Checksum [2021-05-04T05:52:56.847Z] ffd874e62e21: Download complete [2021-05-04T05:52:58.291Z] 4ebd0625c992: Verifying Checksum [2021-05-04T05:52:58.291Z] 4ebd0625c992: Download complete [2021-05-04T05:53:08.454Z] 4ebd0625c992: Pull complete [2021-05-04T05:53:08.454Z] 207e8628e3a3: Pull complete [2021-05-04T05:53:09.054Z] c791037a9be2: Pull complete [2021-05-04T05:53:12.451Z] ffd874e62e21: Pull complete [2021-05-04T05:53:12.451Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-04T05:53:12.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-04T05:53:12.451Z] ---> cfc18b08335c [2021-05-04T05:53:12.451Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-04T05:53:15.275Z] Running on prd-centos7-docker-4c-2g-2860 in /w/workspace/dgexfoundry_device-sdk-go_PR-903 [Pipeline] { [Pipeline] ws [2021-05-04T05:53:15.341Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-04T05:53:15.885Z] ---> Running in 58b29fce281a [2021-05-04T05:53:15.885Z] Removing intermediate container 58b29fce281a [2021-05-04T05:53:15.885Z] ---> 993c72fa3dc8 [2021-05-04T05:53:15.885Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-04T05:53:15.885Z] ---> Running in bba2b86dd12c [2021-05-04T05:53:17.949Z] using credential edgex-jenkins-ssh [2021-05-04T05:53:17.962Z] Cloning the remote Git repository [2021-05-04T05:53:18.522Z] Removing intermediate container bba2b86dd12c [2021-05-04T05:53:18.522Z] ---> 2b5b7c105bfc [2021-05-04T05:53:18.522Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-04T05:53:18.522Z] ---> Running in 62c9ccf761e7 [2021-05-04T05:53:17.988Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-04T05:53:18.056Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-04T05:53:18.118Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-04T05:53:18.118Z] > git --version # timeout=10 [2021-05-04T05:53:18.123Z] > git --version # 'git version 2.24.3' [2021-05-04T05:53:18.124Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-04T05:53:18.147Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-04T05:53:18.908Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-04T05:53:18.912Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-04T05:53:19.345Z] Merging remotes/origin/master commit 92affc97e25621ac5a3617c0e5e42feb55191c77 into PR head commit 74f5389fc2779f3384dbc642fd95aa127436f3d0 [2021-05-04T05:53:19.428Z] Merge succeeded, producing 74f5389fc2779f3384dbc642fd95aa127436f3d0 [2021-05-04T05:53:19.429Z] Checking out Revision 74f5389fc2779f3384dbc642fd95aa127436f3d0 (PR-903) [2021-05-04T05:53:19.501Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-04T05:53:18.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-04T05:53:18.937Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-04T05:53:18.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-04T05:53:18.941Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/903/head:refs/remotes/origin/PR-903 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-04T05:53:19.355Z] > git config core.sparsecheckout # timeout=10 [2021-05-04T05:53:19.361Z] > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 [2021-05-04T05:53:19.401Z] > git remote # timeout=10 [2021-05-04T05:53:19.406Z] > git config --get remote.origin.url # timeout=10 [2021-05-04T05:53:19.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-04T05:53:19.416Z] > git merge 92affc97e25621ac5a3617c0e5e42feb55191c77 # timeout=10 [2021-05-04T05:53:19.425Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-04T05:53:19.434Z] > git config core.sparsecheckout # timeout=10 [2021-05-04T05:53:19.437Z] > git checkout -f 74f5389fc2779f3384dbc642fd95aa127436f3d0 # timeout=10 [2021-05-04T05:53:20.480Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-04T05:53:21.075Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-04T05:53:21.075Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-04T05:53:21.347Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-04T05:53:21.347Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-04T05:53:21.622Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-04T05:53:21.622Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-04T05:53:21.622Z] Executing busybox-1.32.1-r6.trigger [2021-05-04T05:53:21.622Z] OK: 139 MiB in 46 packages [2021-05-04T05:53:23.047Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-05-04T05:53:23.054Z] Removing intermediate container 62c9ccf761e7 [2021-05-04T05:53:23.054Z] ---> 2c3f9147a2c0 [2021-05-04T05:53:23.054Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-04T05:53:23.079Z] > git --version # timeout=10 [2021-05-04T05:53:23.083Z] > git --version # 'git version 2.24.3' [2021-05-04T05:53:23.091Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-04T05:53:23.329Z] ---> Running in 2eba80f7cd40 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-04T05:53:23.930Z] Removing intermediate container 2eba80f7cd40 [2021-05-04T05:53:23.930Z] ---> b7edf004310c [2021-05-04T05:53:23.930Z] Step 7/8 : COPY . . [2021-05-04T05:53:24.244Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-04T05:53:24.598Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-04T05:53:24.910Z] ---> 92eaf2a79016 [2021-05-04T05:53:24.910Z] Step 8/8 : RUN go mod download [2021-05-04T05:53:24.922Z] + sudo service docker restart [2021-05-04T05:53:24.922Z] + true [2021-05-04T05:53:24.922Z] Redirecting to /bin/systemctl restart docker.service [2021-05-04T05:53:25.183Z] ---> Running in 972cc8c189c3 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-04T05:53:25.975Z] provisioning config files... [2021-05-04T05:53:26.037Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1423529872904793180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-04T05:53:26.432Z] ---> docker-login.sh [2021-05-04T05:53:26.432Z] nexus3.edgexfoundry.org:10001 [2021-05-04T05:53:26.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:53:26.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:53:26.698Z] Configure a credential helper to remove this warning. See [2021-05-04T05:53:26.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:53:26.698Z] [2021-05-04T05:53:26.698Z] Login Succeeded [2021-05-04T05:53:26.698Z] nexus3.edgexfoundry.org:10002 [2021-05-04T05:53:26.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:53:26.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:53:26.960Z] Configure a credential helper to remove this warning. See [2021-05-04T05:53:26.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:53:26.960Z] [2021-05-04T05:53:26.960Z] Login Succeeded [2021-05-04T05:53:26.960Z] nexus3.edgexfoundry.org:10003 [2021-05-04T05:53:26.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:53:27.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:53:27.223Z] Configure a credential helper to remove this warning. See [2021-05-04T05:53:27.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:53:27.223Z] [2021-05-04T05:53:27.223Z] Login Succeeded [2021-05-04T05:53:27.223Z] nexus3.edgexfoundry.org:10004 [2021-05-04T05:53:27.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:53:27.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:53:27.223Z] Configure a credential helper to remove this warning. See [2021-05-04T05:53:27.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:53:27.223Z] [2021-05-04T05:53:27.223Z] Login Succeeded [2021-05-04T05:53:27.223Z] docker.io [2021-05-04T05:53:27.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-04T05:53:27.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-04T05:53:27.751Z] Configure a credential helper to remove this warning. See [2021-05-04T05:53:27.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-04T05:53:27.751Z] [2021-05-04T05:53:27.751Z] Login Succeeded [2021-05-04T05:53:27.751Z] ---> docker-login.sh ends [Pipeline] } [2021-05-04T05:53:27.785Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-04T05:53:28.092Z] ========================================================= [2021-05-04T05:53:28.092Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-04T05:53:28.092Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:53:28.445Z] + 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-04T05:53:28.445Z] Sending build context to Docker daemon 2.467MB [2021-05-04T05:53:28.445Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-04T05:53:28.445Z] Step 2/8 : FROM ${BASE} [2021-05-04T05:53:28.711Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-04T05:53:28.711Z] 540db60ca938: Pulling fs layer [2021-05-04T05:53:28.711Z] adcc1eea9eea: Pulling fs layer [2021-05-04T05:53:28.711Z] 4c4ab2625f07: Pulling fs layer [2021-05-04T05:53:28.711Z] 0510c868ecb4: Pulling fs layer [2021-05-04T05:53:28.711Z] afea3b2eda06: Pulling fs layer [2021-05-04T05:53:28.711Z] 7809a108b3ef: Pulling fs layer [2021-05-04T05:53:28.711Z] f706445af74f: Pulling fs layer [2021-05-04T05:53:28.711Z] 0510c868ecb4: Waiting [2021-05-04T05:53:28.711Z] afea3b2eda06: Waiting [2021-05-04T05:53:28.711Z] f706445af74f: Waiting [2021-05-04T05:53:28.711Z] 7809a108b3ef: Waiting [2021-05-04T05:53:28.711Z] 4c4ab2625f07: Verifying Checksum [2021-05-04T05:53:28.711Z] 4c4ab2625f07: Download complete [2021-05-04T05:53:28.711Z] adcc1eea9eea: Download complete [2021-05-04T05:53:28.711Z] afea3b2eda06: Verifying Checksum [2021-05-04T05:53:28.711Z] afea3b2eda06: Download complete [2021-05-04T05:53:28.711Z] 7809a108b3ef: Verifying Checksum [2021-05-04T05:53:28.711Z] 7809a108b3ef: Download complete [2021-05-04T05:53:28.711Z] 540db60ca938: Verifying Checksum [2021-05-04T05:53:28.711Z] 540db60ca938: Download complete [2021-05-04T05:53:28.979Z] 540db60ca938: Pull complete [2021-05-04T05:53:29.240Z] adcc1eea9eea: Pull complete [2021-05-04T05:53:29.240Z] 4c4ab2625f07: Pull complete [2021-05-04T05:53:31.158Z] f706445af74f: Verifying Checksum [2021-05-04T05:53:31.158Z] f706445af74f: Download complete [2021-05-04T05:53:31.430Z] 0510c868ecb4: Verifying Checksum [2021-05-04T05:53:31.430Z] 0510c868ecb4: Download complete [2021-05-04T05:53:36.761Z] 0510c868ecb4: Pull complete [2021-05-04T05:53:36.761Z] afea3b2eda06: Pull complete [2021-05-04T05:53:37.026Z] 7809a108b3ef: Pull complete [2021-05-04T05:53:41.271Z] f706445af74f: Pull complete [2021-05-04T05:53:41.271Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-04T05:53:41.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-04T05:53:41.271Z] ---> b068be0155e3 [2021-05-04T05:53:41.271Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-04T05:53:42.662Z] ---> Running in 4d30fc01fbf3 [2021-05-04T05:53:42.662Z] Removing intermediate container 4d30fc01fbf3 [2021-05-04T05:53:42.662Z] ---> a6079e15d689 [2021-05-04T05:53:42.662Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-04T05:53:42.662Z] ---> Running in 8a777ecb9d2d [2021-05-04T05:53:43.613Z] Removing intermediate container 8a777ecb9d2d [2021-05-04T05:53:43.613Z] ---> 9c9185450f60 [2021-05-04T05:53:43.613Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-04T05:53:43.613Z] ---> Running in f0974aaf53ac [2021-05-04T05:53:44.560Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-04T05:53:45.504Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-04T05:53:46.078Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-04T05:53:46.078Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-04T05:53:46.078Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-04T05:53:46.341Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-04T05:53:46.341Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-04T05:53:46.341Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-04T05:53:46.602Z] Executing busybox-1.32.1-r6.trigger [2021-05-04T05:53:46.602Z] OK: 150 MiB in 46 packages [2021-05-04T05:53:47.180Z] Removing intermediate container f0974aaf53ac [2021-05-04T05:53:47.180Z] ---> 2fad6a963e3e [2021-05-04T05:53:47.180Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-04T05:53:47.180Z] ---> Running in bb3d6325d3ae [2021-05-04T05:53:47.445Z] Removing intermediate container bb3d6325d3ae [2021-05-04T05:53:47.445Z] ---> 971733db9443 [2021-05-04T05:53:47.445Z] Step 7/8 : COPY . . [2021-05-04T05:53:48.841Z] ---> 242514a22fb2 [2021-05-04T05:53:48.841Z] Step 8/8 : RUN go mod download [2021-05-04T05:53:48.841Z] ---> Running in f2b5862a5a8d [2021-05-04T05:53:57.528Z] Removing intermediate container 972cc8c189c3 [2021-05-04T05:53:57.528Z] ---> 7ead30a569db [2021-05-04T05:53:57.528Z] Successfully built 7ead30a569db [2021-05-04T05:53:57.528Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:53:57.904Z] + docker inspect -f . ci-base-image-arm64 [2021-05-04T05:53:57.904Z] . [Pipeline] withDockerContainer [2021-05-04T05:53:58.165Z] prd-ubuntu18.04-docker-arm64-4c-16g-2859 does not seem to be running inside a container [2021-05-04T05:53:58.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-04T05:53:59.742Z] $ docker top 12935057c9d04b7c3b3959ecd0c947f3df8099954b92686d640bf01e56b618fc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-04T05:54:00.716Z] + go version [2021-05-04T05:54:00.716Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-04T05:54:00.757Z] $ docker stop --time=1 12935057c9d04b7c3b3959ecd0c947f3df8099954b92686d640bf01e56b618fc [2021-05-04T05:54:02.618Z] $ docker rm -f 12935057c9d04b7c3b3959ecd0c947f3df8099954b92686d640bf01e56b618fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:54:03.552Z] + docker inspect -f . ci-base-image-arm64 [2021-05-04T05:54:03.553Z] . [Pipeline] withDockerContainer [2021-05-04T05:54:03.818Z] prd-ubuntu18.04-docker-arm64-4c-16g-2859 does not seem to be running inside a container [2021-05-04T05:54:03.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-04T05:54:05.387Z] $ docker top 579e6ca63f181f5b1e579a93d27ce318e70002fac3886feae7ade351ea6573a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-04T05:54:06.347Z] + go mod tidy [Pipeline] sh [2021-05-04T05:54:07.655Z] + make test [2021-05-04T05:54:07.655Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-04T05:54:10.887Z] Removing intermediate container f2b5862a5a8d [2021-05-04T05:54:10.887Z] ---> efa37b6e4eaf [2021-05-04T05:54:10.887Z] Successfully built efa37b6e4eaf [2021-05-04T05:54:10.887Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:54:11.244Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-04T05:54:11.244Z] . [Pipeline] withDockerContainer [2021-05-04T05:54:11.393Z] prd-centos7-docker-4c-2g-2860 does not seem to be running inside a container [2021-05-04T05:54:11.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-04T05:54:12.245Z] $ docker top e70132b3e60c3cfd9dde69a552cd6c317e5ca4e8eaef4c24e62a458196983859 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-04T05:54:12.787Z] + go version [2021-05-04T05:54:12.787Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-04T05:54:12.827Z] $ docker stop --time=1 e70132b3e60c3cfd9dde69a552cd6c317e5ca4e8eaef4c24e62a458196983859 [2021-05-04T05:54:14.188Z] $ docker rm -f e70132b3e60c3cfd9dde69a552cd6c317e5ca4e8eaef4c24e62a458196983859 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:54:14.977Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-04T05:54:14.978Z] . [Pipeline] withDockerContainer [2021-05-04T05:54:15.092Z] prd-centos7-docker-4c-2g-2860 does not seem to be running inside a container [2021-05-04T05:54:15.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-04T05:54:15.842Z] $ docker top acf0569617a50b50b5899f233d5f89da4566310a5c0a5b1ee3b0556e73579512 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-04T05:54:16.383Z] + go mod tidy [Pipeline] sh [2021-05-04T05:54:17.338Z] + make test [2021-05-04T05:54:17.338Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-04T05:54:25.543Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-04T05:54:34.525Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-04T05:54:47.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-04T05:54:47.649Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-04T05:54:47.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-04T05:54:47.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-04T05:54:47.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-04T05:54:50.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 28.1% of statements [2021-05-04T05:54:50.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements [2021-05-04T05:54:51.203Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.053s coverage: 7.8% of statements [2021-05-04T05:54:51.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-04T05:54:51.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-04T05:54:51.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-04T05:54:51.203Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 30.2% of statements [2021-05-04T05:54:51.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-04T05:54:51.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-04T05:54:51.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-04T05:54:51.203Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.119s coverage: 57.2% of statements [2021-05-04T05:54:52.601Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.138s coverage: 6.6% of statements [2021-05-04T05:54:52.601Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 5.0% of statements [2021-05-04T05:54:52.601Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-04T05:54:52.601Z] GO111MODULE=on go vet ./... [2021-05-04T05:55:10.860Z] gofmt -l . [2021-05-04T05:55:10.860Z] [ "`gofmt -l .`" = "" ] [2021-05-04T05:55:10.860Z] ./bin/test-attribution-txt.sh [2021-05-04T05:55:11.125Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-04T05:55:11.429Z] $ docker stop --time=1 acf0569617a50b50b5899f233d5f89da4566310a5c0a5b1ee3b0556e73579512 [2021-05-04T05:55:13.135Z] $ docker rm -f acf0569617a50b50b5899f233d5f89da4566310a5c0a5b1ee3b0556e73579512 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-04T05:55:13.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-04T05:55:14.191Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-04T05:55:16.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-04T05:55:17.102Z] + ls -al . [2021-05-04T05:55:17.102Z] total 188 [2021-05-04T05:55:17.102Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 4 05:55 . [2021-05-04T05:55:17.102Z] drwxrwxr-x. 4 jenkins jenkins 28 May 4 05:53 .. [2021-05-04T05:55:17.102Z] drwxrwxr-x. 2 jenkins jenkins 64 May 4 05:53 bin [2021-05-04T05:55:17.102Z] -rw-r--r--. 1 jenkins jenkins 100320 May 4 05:54 coverage.out [2021-05-04T05:55:17.102Z] -rw-rw-r--. 1 jenkins jenkins 987 May 4 05:53 Dockerfile.build [2021-05-04T05:55:17.102Z] -rw-rw-r--. 1 jenkins jenkins 140 May 4 05:53 .dockerignore [2021-05-04T05:55:17.102Z] drwxrwxr-x. 5 jenkins jenkins 62 May 4 05:53 example [2021-05-04T05:55:17.102Z] drwxrwxr-x. 8 jenkins jenkins 179 May 4 05:53 .git [2021-05-04T05:55:17.102Z] drwxrwxr-x. 2 jenkins jenkins 103 May 4 05:53 .github [2021-05-04T05:55:17.102Z] -rw-rw-r--. 1 jenkins jenkins 138 May 4 05:53 .gitignore [2021-05-04T05:55:17.102Z] -rw-r--r--. 1 jenkins jenkins 575 May 4 05:55 go.mod [2021-05-04T05:55:17.102Z] -rw-r--r--. 1 jenkins jenkins 20957 May 4 05:54 go.sum [2021-05-04T05:55:17.102Z] drwxrwxr-x. 14 jenkins jenkins 207 May 4 05:53 internal [2021-05-04T05:55:17.102Z] -rw-rw-r--. 1 jenkins jenkins 901 May 4 05:53 Jenkinsfile [2021-05-04T05:55:17.102Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 4 05:53 LICENSE [2021-05-04T05:55:17.103Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 4 05:53 Makefile [2021-05-04T05:55:17.103Z] drwxrwxr-x. 4 jenkins jenkins 26 May 4 05:53 openapi [2021-05-04T05:55:17.103Z] drwxrwxr-x. 5 jenkins jenkins 50 May 4 05:53 pkg [2021-05-04T05:55:17.103Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 4 05:53 README.md [2021-05-04T05:55:17.103Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 4 05:53 RELEASE-NOTES.txt [2021-05-04T05:55:17.103Z] drwxrwxr-x. 4 jenkins jenkins 54 May 4 05:53 snap [2021-05-04T05:55:17.103Z] -rw-rw-r--. 1 jenkins jenkins 5 May 4 05:50 VERSION [2021-05-04T05:55:17.103Z] -rw-rw-r--. 1 jenkins jenkins 222 May 4 05:53 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:55:17.443Z] + 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=74f5389fc2779f3384dbc642fd95aa127436f3d0 --label arch=amd64 --label version=0.0.0 . [2021-05-04T05:55:17.706Z] Sending build context to Docker daemon 2.568MB [2021-05-04T05:55:17.706Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-04T05:55:17.706Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-04T05:55:17.706Z] ---> efa37b6e4eaf [2021-05-04T05:55:17.706Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-04T05:55:18.280Z] ---> Running in eb7637117268 [2021-05-04T05:55:18.280Z] Removing intermediate container eb7637117268 [2021-05-04T05:55:18.280Z] ---> e6831be6e97a [2021-05-04T05:55:18.280Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-04T05:55:18.542Z] ---> Running in 626bb4736638 [2021-05-04T05:55:18.542Z] Removing intermediate container 626bb4736638 [2021-05-04T05:55:18.542Z] ---> 5dc45628eb7b [2021-05-04T05:55:18.542Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-04T05:55:18.806Z] ---> Running in 15596e380651 [2021-05-04T05:55:19.754Z] Removing intermediate container 15596e380651 [2021-05-04T05:55:19.754Z] ---> 88e59c182ed1 [2021-05-04T05:55:19.754Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-04T05:55:19.754Z] ---> Running in 895343d0f077 [2021-05-04T05:55:20.350Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-04T05:55:20.925Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-04T05:55:21.872Z] OK: 150 MiB in 46 packages [2021-05-04T05:55:22.446Z] Removing intermediate container 895343d0f077 [2021-05-04T05:55:22.446Z] ---> 9e87d4256c22 [2021-05-04T05:55:22.446Z] Step 7/23 : COPY . . [2021-05-04T05:55:23.392Z] ---> 97c51bc33094 [2021-05-04T05:55:23.392Z] Step 8/23 : RUN go mod download [2021-05-04T05:55:23.392Z] ---> Running in 341e6be70067 [2021-05-04T05:55:24.337Z] Removing intermediate container 341e6be70067 [2021-05-04T05:55:24.337Z] ---> cb404e0f7838 [2021-05-04T05:55:24.337Z] Step 9/23 : RUN make build [2021-05-04T05:55:24.337Z] ---> Running in 89c693a2b273 [2021-05-04T05:55:24.614Z] 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-04T05:55:31.131Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-04T05:55:31.131Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-04T05:55:31.131Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-04T05:55:31.131Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-04T05:55:31.131Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-04T05:55:36.994Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-04T05:55:37.571Z] Removing intermediate container 89c693a2b273 [2021-05-04T05:55:37.571Z] ---> 7db4b15bd34a [2021-05-04T05:55:37.571Z] Step 10/23 : FROM alpine:3.12 [2021-05-04T05:55:37.833Z] 3.12: Pulling from library/alpine [2021-05-04T05:55:37.833Z] 339de151aab4: Pulling fs layer [2021-05-04T05:55:38.102Z] 339de151aab4: Verifying Checksum [2021-05-04T05:55:38.102Z] 339de151aab4: Download complete [2021-05-04T05:55:38.380Z] 339de151aab4: Pull complete [2021-05-04T05:55:38.380Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-04T05:55:38.380Z] Status: Downloaded newer image for alpine:3.12 [2021-05-04T05:55:38.380Z] ---> 13621d1b12d4 [2021-05-04T05:55:38.380Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-04T05:55:38.380Z] ---> Running in a2ac0f3eb068 [2021-05-04T05:55:38.642Z] Removing intermediate container a2ac0f3eb068 [2021-05-04T05:55:38.642Z] ---> 6d54be7498c9 [2021-05-04T05:55:38.642Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-04T05:55:38.642Z] ---> Running in a690f8b31fb9 [2021-05-04T05:55:39.588Z] Removing intermediate container a690f8b31fb9 [2021-05-04T05:55:39.588Z] ---> ea5a649ba3f8 [2021-05-04T05:55:39.588Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-04T05:55:39.588Z] ---> Running in 32aa456eee4d [2021-05-04T05:55:39.850Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-04T05:55:40.798Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-04T05:55:41.062Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-04T05:55:41.062Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-04T05:55:41.062Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-04T05:55:41.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 28.1% of statements [2021-05-04T05:55:41.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.172s coverage: 78.9% of statements [2021-05-04T05:55:41.310Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.190s coverage: 7.8% of statements [2021-05-04T05:55:41.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-04T05:55:41.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-04T05:55:41.310Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-04T05:55:42.006Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-04T05:55:42.006Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-04T05:55:42.269Z] Executing busybox-1.31.1-r20.trigger [2021-05-04T05:55:42.269Z] OK: 8 MiB in 19 packages [2021-05-04T05:55:42.847Z] Removing intermediate container 32aa456eee4d [2021-05-04T05:55:42.847Z] ---> 6174b8992309 [2021-05-04T05:55:42.847Z] Step 14/23 : WORKDIR / [2021-05-04T05:55:42.847Z] ---> Running in 1c5fef324e61 [2021-05-04T05:55:42.847Z] Removing intermediate container 1c5fef324e61 [2021-05-04T05:55:42.847Z] ---> 65a40abe436c [2021-05-04T05:55:42.848Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-04T05:55:43.112Z] ---> dd166e83bc3f [2021-05-04T05:55:43.112Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-04T05:55:43.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.272s coverage: 30.2% of statements [2021-05-04T05:55:43.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-04T05:55:43.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-04T05:55:43.311Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-04T05:55:44.063Z] ---> 91b0d942b415 [2021-05-04T05:55:44.063Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-04T05:55:44.063Z] ---> e112ff8940ea [2021-05-04T05:55:44.063Z] Step 18/23 : EXPOSE 49990 [2021-05-04T05:55:44.063Z] ---> Running in 7229dfd153ec [2021-05-04T05:55:44.328Z] Removing intermediate container 7229dfd153ec [2021-05-04T05:55:44.328Z] ---> 554ee2506f8a [2021-05-04T05:55:44.328Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-04T05:55:44.328Z] ---> Running in b09d94c38ba6 [2021-05-04T05:55:44.595Z] Removing intermediate container b09d94c38ba6 [2021-05-04T05:55:44.595Z] ---> 5abd0bd8b076 [2021-05-04T05:55:44.595Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-04T05:55:44.595Z] ---> Running in 51523d77ff22 [2021-05-04T05:55:44.595Z] Removing intermediate container 51523d77ff22 [2021-05-04T05:55:44.595Z] ---> ff206ad3d42d [2021-05-04T05:55:44.595Z] Step 21/23 : LABEL arch=amd64 [2021-05-04T05:55:44.860Z] ---> Running in 2b854cc64f61 [2021-05-04T05:55:44.860Z] Removing intermediate container 2b854cc64f61 [2021-05-04T05:55:44.860Z] ---> e7bb142b9b21 [2021-05-04T05:55:44.860Z] Step 22/23 : LABEL git_sha=74f5389fc2779f3384dbc642fd95aa127436f3d0 [2021-05-04T05:55:45.124Z] ---> Running in 7bacd660fa9c [2021-05-04T05:55:45.124Z] Removing intermediate container 7bacd660fa9c [2021-05-04T05:55:45.124Z] ---> 20f57002beac [2021-05-04T05:55:45.124Z] Step 23/23 : LABEL version=0.0.0 [2021-05-04T05:55:45.386Z] ---> Running in 960760dc4458 [2021-05-04T05:55:45.386Z] Removing intermediate container 960760dc4458 [2021-05-04T05:55:45.386Z] ---> 12e7bcf70f4f [2021-05-04T05:55:45.386Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-04T05:55:45.386Z] Successfully built 12e7bcf70f4f [2021-05-04T05:55:45.386Z] 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 [2021-05-04T05:55:45.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.316s coverage: 57.2% of statements [2021-05-04T05:55:45.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.415s coverage: 6.6% of statements [Pipeline] libraryResource [Pipeline] sh [2021-05-04T05:55:46.339Z] ---> job-cost.sh [2021-05-04T05:55:46.339Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-W4Qj [2021-05-04T05:55:46.536Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 5.0% of statements [2021-05-04T05:55:46.537Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-04T05:55:47.130Z] GO111MODULE=on go vet ./... [2021-05-04T05:56:01.278Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-04T05:56:27.895Z] lf-activate-venv(): INFO: Adding /tmp/venv-W4Qj/bin to PATH [2021-05-04T05:56:27.895Z] INFO: No Stack... [2021-05-04T05:56:27.895Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-04T05:56:27.895Z] INFO: Archiving Costs [Pipeline] sh [2021-05-04T05:56:28.227Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-04T05:56:28.227Z] + cut -d, -f6 [Pipeline] lock [2021-05-04T05:56:28.332Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [2021-05-04T05:56:28.338Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] did not exist. Created. [2021-05-04T05:56:28.338Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-04T05:56:28.775Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-04T05:56:28.958Z] Stashed 1 file(s) [Pipeline] } [2021-05-04T05:56:28.977Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-04T05:56:43.684Z] gofmt -l . [2021-05-04T05:56:43.684Z] [ "`gofmt -l .`" = "" ] [2021-05-04T05:56:43.684Z] ./bin/test-attribution-txt.sh [2021-05-04T05:56:43.684Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-04T05:56:43.726Z] $ docker stop --time=1 579e6ca63f181f5b1e579a93d27ce318e70002fac3886feae7ade351ea6573a3 [2021-05-04T05:56:45.935Z] $ docker rm -f 579e6ca63f181f5b1e579a93d27ce318e70002fac3886feae7ade351ea6573a3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-04T05:56:47.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-04T05:56:47.127Z] Warning: overwriting stash ‘coverage-report’ [2021-05-04T05:56:47.707Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-04T05:56:48.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-04T05:56:48.705Z] + ls -al . [2021-05-04T05:56:48.705Z] total 224 [2021-05-04T05:56:48.705Z] drwxrwxr-x 10 jenkins jenkins 4096 May 4 05:56 . [2021-05-04T05:56:48.705Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:52 .. [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 140 May 4 05:52 .dockerignore [2021-05-04T05:56:48.705Z] drwxrwxr-x 8 jenkins jenkins 4096 May 4 05:52 .git [2021-05-04T05:56:48.705Z] drwxrwxr-x 2 jenkins jenkins 4096 May 4 05:52 .github [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 138 May 4 05:52 .gitignore [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 987 May 4 05:52 Dockerfile.build [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 901 May 4 05:52 Jenkinsfile [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 4 05:52 LICENSE [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 4 05:52 Makefile [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 4 05:52 README.md [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 4 05:52 RELEASE-NOTES.txt [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 5 May 4 05:50 VERSION [2021-05-04T05:56:48.705Z] drwxrwxr-x 2 jenkins jenkins 4096 May 4 05:52 bin [2021-05-04T05:56:48.705Z] -rw-r--r-- 1 jenkins jenkins 100320 May 4 05:55 coverage.out [2021-05-04T05:56:48.705Z] drwxrwxr-x 5 jenkins jenkins 4096 May 4 05:52 example [2021-05-04T05:56:48.705Z] -rw-r--r-- 1 jenkins jenkins 575 May 4 05:56 go.mod [2021-05-04T05:56:48.705Z] -rw-r--r-- 1 jenkins jenkins 20957 May 4 05:54 go.sum [2021-05-04T05:56:48.705Z] drwxrwxr-x 14 jenkins jenkins 4096 May 4 05:52 internal [2021-05-04T05:56:48.705Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:52 openapi [2021-05-04T05:56:48.705Z] drwxrwxr-x 5 jenkins jenkins 4096 May 4 05:52 pkg [2021-05-04T05:56:48.705Z] drwxrwxr-x 4 jenkins jenkins 4096 May 4 05:52 snap [2021-05-04T05:56:48.705Z] -rw-rw-r-- 1 jenkins jenkins 222 May 4 05:52 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-04T05:56:49.157Z] + 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=74f5389fc2779f3384dbc642fd95aa127436f3d0 --label arch=arm64 --label version=0.0.0 . [2021-05-04T05:56:49.770Z] Sending build context to Docker daemon 2.567MB [2021-05-04T05:56:49.770Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-04T05:56:49.770Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-04T05:56:49.770Z] ---> 7ead30a569db [2021-05-04T05:56:49.770Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-04T05:56:50.046Z] ---> Running in b94d361cb8ca [2021-05-04T05:56:50.639Z] Removing intermediate container b94d361cb8ca [2021-05-04T05:56:50.639Z] ---> e383f94f29ce [2021-05-04T05:56:50.639Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-04T05:56:50.639Z] ---> Running in 2eee0a2a2b1a [2021-05-04T05:56:51.233Z] Removing intermediate container 2eee0a2a2b1a [2021-05-04T05:56:51.233Z] ---> 0420365784f4 [2021-05-04T05:56:51.233Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-04T05:56:51.233Z] ---> Running in 8238670a7cce [2021-05-04T05:56:53.851Z] Removing intermediate container 8238670a7cce [2021-05-04T05:56:53.851Z] ---> feeeb14e106c [2021-05-04T05:56:53.851Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-04T05:56:53.851Z] ---> Running in 91723cdd9563 [2021-05-04T05:56:54.827Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-04T05:56:55.804Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-04T05:56:56.791Z] OK: 139 MiB in 46 packages [2021-05-04T05:56:57.771Z] Removing intermediate container 91723cdd9563 [2021-05-04T05:56:57.771Z] ---> 4c9dfa8fd10e [2021-05-04T05:56:57.771Z] Step 7/23 : COPY . . [2021-05-04T05:56:59.203Z] ---> e417ff4e6928 [2021-05-04T05:56:59.203Z] Step 8/23 : RUN go mod download [2021-05-04T05:56:59.203Z] ---> Running in 345b2dd56dd4 [2021-05-04T05:57:01.828Z] Removing intermediate container 345b2dd56dd4 [2021-05-04T05:57:01.828Z] ---> 7f783e0e4d7c [2021-05-04T05:57:01.828Z] Step 9/23 : RUN make build [2021-05-04T05:57:01.828Z] ---> Running in 4ffe842251a3 [2021-05-04T05:57:02.803Z] 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-04T05:57:35.179Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-04T05:57:37.161Z] Removing intermediate container 4ffe842251a3 [2021-05-04T05:57:37.161Z] ---> ef79ddc8d7e1 [2021-05-04T05:57:37.161Z] Step 10/23 : FROM alpine:3.12 [2021-05-04T05:57:37.434Z] 3.12: Pulling from library/alpine [2021-05-04T05:57:37.705Z] d2f70382dc9a: Pulling fs layer [2021-05-04T05:57:37.705Z] d2f70382dc9a: Verifying Checksum [2021-05-04T05:57:37.705Z] d2f70382dc9a: Download complete [2021-05-04T05:57:38.299Z] d2f70382dc9a: Pull complete [2021-05-04T05:57:38.299Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-04T05:57:38.571Z] Status: Downloaded newer image for alpine:3.12 [2021-05-04T05:57:38.571Z] ---> 9852663dfa18 [2021-05-04T05:57:38.571Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-04T05:57:38.844Z] ---> Running in 3e7a267fe961 [2021-05-04T05:57:39.115Z] Removing intermediate container 3e7a267fe961 [2021-05-04T05:57:39.115Z] ---> 081a2bbf441f [2021-05-04T05:57:39.115Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-04T05:57:39.391Z] ---> Running in fea546e0bf8c [2021-05-04T05:57:41.370Z] Removing intermediate container fea546e0bf8c [2021-05-04T05:57:41.370Z] ---> deff912580d2 [2021-05-04T05:57:41.370Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-04T05:57:41.370Z] ---> Running in 6359f511028b [2021-05-04T05:57:42.347Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-04T05:57:43.317Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-04T05:57:43.908Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-04T05:57:43.908Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-04T05:57:43.908Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-04T05:57:44.180Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-04T05:57:44.180Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-04T05:57:44.452Z] Executing busybox-1.31.1-r20.trigger [2021-05-04T05:57:44.452Z] OK: 8 MiB in 19 packages [2021-05-04T05:57:45.440Z] Removing intermediate container 6359f511028b [2021-05-04T05:57:45.440Z] ---> 1d2631abb5fa [2021-05-04T05:57:45.440Z] Step 14/23 : WORKDIR / [2021-05-04T05:57:45.711Z] ---> Running in 76e7a4f3d20b [2021-05-04T05:57:46.306Z] Removing intermediate container 76e7a4f3d20b [2021-05-04T05:57:46.306Z] ---> 8301b1499af5 [2021-05-04T05:57:46.306Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-04T05:57:46.901Z] ---> 8be2f1a4364a [2021-05-04T05:57:46.901Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-04T05:57:48.329Z] ---> 1b4c522233e4 [2021-05-04T05:57:48.329Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-04T05:57:48.925Z] ---> 46849f6ec5ff [2021-05-04T05:57:48.925Z] Step 18/23 : EXPOSE 49990 [2021-05-04T05:57:48.925Z] ---> Running in d960724f6631 [2021-05-04T05:57:49.519Z] Removing intermediate container d960724f6631 [2021-05-04T05:57:49.519Z] ---> 492fd509ad4a [2021-05-04T05:57:49.519Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-04T05:57:49.519Z] ---> Running in 28aa73f91699 [2021-05-04T05:57:50.112Z] Removing intermediate container 28aa73f91699 [2021-05-04T05:57:50.112Z] ---> 42b9c13ba769 [2021-05-04T05:57:50.113Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-04T05:57:50.113Z] ---> Running in 108db515e67f [2021-05-04T05:57:50.709Z] Removing intermediate container 108db515e67f [2021-05-04T05:57:50.709Z] ---> 654d3af7f43c [2021-05-04T05:57:50.709Z] Step 21/23 : LABEL arch=arm64 [2021-05-04T05:57:50.709Z] ---> Running in fec87757e8f4 [2021-05-04T05:57:51.302Z] Removing intermediate container fec87757e8f4 [2021-05-04T05:57:51.302Z] ---> 05cbc2cc11d5 [2021-05-04T05:57:51.302Z] Step 22/23 : LABEL git_sha=74f5389fc2779f3384dbc642fd95aa127436f3d0 [2021-05-04T05:57:51.302Z] ---> Running in 3ccb5ea2f2de [2021-05-04T05:57:51.897Z] Removing intermediate container 3ccb5ea2f2de [2021-05-04T05:57:51.897Z] ---> 2c7d1f59dda4 [2021-05-04T05:57:51.897Z] Step 23/23 : LABEL version=0.0.0 [2021-05-04T05:57:51.897Z] ---> Running in 636874ace515 [2021-05-04T05:57:52.495Z] Removing intermediate container 636874ace515 [2021-05-04T05:57:52.495Z] ---> d484dca75820 [2021-05-04T05:57:52.495Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-04T05:57:52.495Z] Successfully built d484dca75820 [2021-05-04T05:57:52.495Z] 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-04T05:57:53.227Z] ---> job-cost.sh [2021-05-04T05:57:53.227Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BsaH [2021-05-04T05:58:32.169Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-04T05:59:53.903Z] lf-activate-venv(): INFO: Adding /tmp/venv-BsaH/bin to PATH [2021-05-04T05:59:53.903Z] INFO: No Stack... [2021-05-04T05:59:53.903Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-04T05:59:54.174Z] INFO: Archiving Costs [Pipeline] sh [2021-05-04T05:59:54.568Z] + cut -d, -f6 [2021-05-04T05:59:54.568Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-05-04T05:59:54.706Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [2021-05-04T05:59:54.713Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] did not exist. Created. [2021-05-04T05:59:54.713Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-903-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-04T05:59:55.159Z] /w/workspace/device-sdk-go/1@tmp/durable-0a1b7180/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-0a1b7180/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-04T05:59:55.529Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-04T05:59:55.570Z] Warning: overwriting stash ‘stack-cost’ [2021-05-04T05:59:55.732Z] Stashed 1 file(s) [Pipeline] } [2021-05-04T05:59:55.754Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-903-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-04T05:59:56.826Z] provisioning config files... [2021-05-04T05:59:56.842Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/config1110995251990115555tmp [Pipeline] { [Pipeline] sh [2021-05-04T05:59:57.235Z] + set +x [2021-05-04T05:59:57.235Z] + curl -s https://codecov.io/bash [2021-05-04T05:59:57.235Z] + bash -s -- [2021-05-04T05:59:57.532Z] [2021-05-04T05:59:57.532Z] _____ _ [2021-05-04T05:59:57.532Z] / ____| | | [2021-05-04T05:59:57.532Z] | | ___ __| | ___ ___ _____ __ [2021-05-04T05:59:57.532Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-04T05:59:57.532Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-04T05:59:57.532Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-04T05:59:57.532Z] Bash-1.0.2 [2021-05-04T05:59:57.532Z] [2021-05-04T05:59:57.532Z] [2021-05-04T05:59:57.532Z] ==> git version 2.24.3 found [2021-05-04T05:59:57.532Z] ==> 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-04T05:59:57.532Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-04T05:59:57.532Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-04T05:59:57.532Z] ==> Jenkins CI detected. [2021-05-04T05:59:57.532Z] project root: . [2021-05-04T05:59:57.532Z] --> token set from env [2021-05-04T05:59:57.532Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-04T05:59:57.532Z] ==> Running gcov in . (disable via -X gcov) [2021-05-04T05:59:57.532Z] ==> Python coveragepy not found [2021-05-04T05:59:57.532Z] ==> Searching for coverage reports in: [2021-05-04T05:59:57.532Z] + . [2021-05-04T05:59:57.532Z] -> Found 1 reports [2021-05-04T05:59:57.532Z] ==> Detecting git/mercurial file structure [2021-05-04T05:59:57.532Z] ==> Reading reports [2021-05-04T05:59:57.819Z] + ./coverage.out bytes=100320 [2021-05-04T05:59:57.819Z] ==> Appending adjustments [2021-05-04T05:59:57.819Z] https://docs.codecov.io/docs/fixing-reports [2021-05-04T05:59:58.418Z] + Found adjustments [2021-05-04T05:59:58.418Z] ==> Gzipping contents [2021-05-04T05:59:58.418Z] 16K /tmp/codecov.K9Y9A9.gz [2021-05-04T05:59:58.418Z] ==> Uploading reports [2021-05-04T05:59:58.418Z] url: https://codecov.io [2021-05-04T05:59:58.418Z] query: branch=PR-903&commit=74f5389fc2779f3384dbc642fd95aa127436f3d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-903%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=903&job=&cmd_args= [2021-05-04T05:59:58.418Z] -> Pinging Codecov [2021-05-04T05:59:58.418Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-903&commit=74f5389fc2779f3384dbc642fd95aa127436f3d0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-903%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=903&job=&cmd_args= [2021-05-04T05:59:59.012Z] -> Uploading to [2021-05-04T05:59:59.012Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-04/7E55EF52A471D76F132DFD9A03CDDE97/74f5389fc2779f3384dbc642fd95aa127436f3d0/c8f62caa-0820-4f63-8679-bffa613662d8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210504%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210504T055958Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4dcaff453d58a15a64b23e6f0847b9f77ecf564e7f86f49c6096589f16aa7688 [2021-05-04T05:59:59.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-04T05:59:59.012Z] Dload Upload Total Spent Left Speed [2021-05-04T05:59:59.282Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13534 0 0 100 13534 0 34510 --:--:-- --:--:-- --:--:-- 34525 [2021-05-04T05:59:59.282Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/74f5389fc2779f3384dbc642fd95aa127436f3d0 [Pipeline] } [2021-05-04T05:59:59.317Z] 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-04T06:00:01.506Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-04T06:00:02.524Z] ---> package-listing.sh [2021-05-04T06:00:02.524Z] ++ facter osfamily [2021-05-04T06:00:02.524Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-04T06:00:02.524Z] + OS_FAMILY=redhat [2021-05-04T06:00:02.524Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-903 [2021-05-04T06:00:02.524Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-04T06:00:02.524Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-04T06:00:02.524Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-04T06:00:02.524Z] + PACKAGES=/tmp/packages_start.txt [2021-05-04T06:00:02.524Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-903 ']' [2021-05-04T06:00:02.524Z] + PACKAGES=/tmp/packages_end.txt [2021-05-04T06:00:02.524Z] + case "${OS_FAMILY}" in [2021-05-04T06:00:02.524Z] + rpm -qa [2021-05-04T06:00:02.524Z] + sort [2021-05-04T06:00:08.010Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-04T06:00:08.010Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-04T06:00:08.010Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-04T06:00:08.010Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-903 ']' [2021-05-04T06:00:08.010Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-903/archives/ [2021-05-04T06:00:08.010Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-903/archives/ [Pipeline] echo [2021-05-04T06:00:08.064Z] 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-903/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-04T06:00:08.402Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-04T06:00:09.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-04T06:00:09.016Z] [2021-05-04T06:00:09.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-04T06:00:09.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-04T06:00:09.694Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-04T06:00:09.694Z] df20fa9351a1: Pulling fs layer [2021-05-04T06:00:09.694Z] 36b3adc4ff6f: Pulling fs layer [2021-05-04T06:00:09.694Z] 8ad3a11d3b57: Pulling fs layer [2021-05-04T06:00:09.694Z] 46f8f816bc3b: Pulling fs layer [2021-05-04T06:00:09.694Z] 93b61091891f: Pulling fs layer [2021-05-04T06:00:09.694Z] 93b9cdb0e59b: Pulling fs layer [2021-05-04T06:00:09.694Z] 5e14af77c1be: Pulling fs layer [2021-05-04T06:00:09.694Z] 01666e4c0597: Pulling fs layer [2021-05-04T06:00:09.694Z] aa168da1d23b: Pulling fs layer [2021-05-04T06:00:09.694Z] 93b9cdb0e59b: Waiting [2021-05-04T06:00:09.694Z] 5e14af77c1be: Waiting [2021-05-04T06:00:09.694Z] 01666e4c0597: Waiting [2021-05-04T06:00:09.694Z] aa168da1d23b: Waiting [2021-05-04T06:00:09.694Z] 46f8f816bc3b: Waiting [2021-05-04T06:00:09.694Z] 93b61091891f: Waiting [2021-05-04T06:00:09.694Z] 36b3adc4ff6f: Download complete [2021-05-04T06:00:09.694Z] 46f8f816bc3b: Verifying Checksum [2021-05-04T06:00:09.694Z] 46f8f816bc3b: Download complete [2021-05-04T06:00:09.964Z] df20fa9351a1: Verifying Checksum [2021-05-04T06:00:09.964Z] df20fa9351a1: Download complete [2021-05-04T06:00:09.964Z] 93b61091891f: Verifying Checksum [2021-05-04T06:00:09.964Z] 93b61091891f: Download complete [2021-05-04T06:00:09.964Z] 93b9cdb0e59b: Verifying Checksum [2021-05-04T06:00:09.964Z] 93b9cdb0e59b: Download complete [2021-05-04T06:00:09.964Z] 01666e4c0597: Verifying Checksum [2021-05-04T06:00:09.964Z] 01666e4c0597: Download complete [2021-05-04T06:00:09.964Z] 5e14af77c1be: Download complete [2021-05-04T06:00:09.964Z] 8ad3a11d3b57: Verifying Checksum [2021-05-04T06:00:09.964Z] 8ad3a11d3b57: Download complete [2021-05-04T06:00:10.555Z] df20fa9351a1: Pull complete [2021-05-04T06:00:10.831Z] 36b3adc4ff6f: Pull complete [2021-05-04T06:00:11.807Z] 8ad3a11d3b57: Pull complete [2021-05-04T06:00:12.081Z] 46f8f816bc3b: Pull complete [2021-05-04T06:00:12.711Z] 93b61091891f: Pull complete [2021-05-04T06:00:13.320Z] 93b9cdb0e59b: Pull complete [2021-05-04T06:00:13.623Z] aa168da1d23b: Download complete [2021-05-04T06:00:13.623Z] 5e14af77c1be: Pull complete [2021-05-04T06:00:13.909Z] 01666e4c0597: Pull complete [2021-05-04T06:00:22.227Z] aa168da1d23b: Pull complete [2021-05-04T06:00:22.227Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-04T06:00:22.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-04T06:00:22.227Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-04T06:00:22.529Z] prd-centos7-docker-4c-2g-2858 does not seem to be running inside a container [2021-05-04T06:00:22.597Z] $ 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-903/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-903 -v /w/workspace/dgexfoundry_device-sdk-go_PR-903:/w/workspace/dgexfoundry_device-sdk-go_PR-903:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-04T06:00:25.750Z] $ docker top d5b72b4758a85d67253db04d54dbf7a6cd7e62cfb8de62660370909fc5da2be7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-04T06:00:26.323Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-04T06:00:26.658Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-04T06:00:26.992Z] + ls /var/log/sa-host [2021-05-04T06:00:26.992Z] + sadf -c /var/log/sa-host/sa04 [2021-05-04T06:00:26.992Z] file_magic: OK [2021-05-04T06:00:26.992Z] HZ: Using current value: 100 [2021-05-04T06:00:26.992Z] file_header: OK [2021-05-04T06:00:26.992Z] 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-04T06:00:26.992Z] Statistics: [2021-05-04T06:00:26.992Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-04T06:00:26.992Z] File successfully converted to sysstat format version 12.2.1 [2021-05-04T06:00:26.992Z] + sadf -c /var/log/sa-host/sa23 [2021-05-04T06:00:26.992Z] file_magic: OK [2021-05-04T06:00:26.992Z] HZ: Using current value: 100 [2021-05-04T06:00:26.992Z] file_header: OK [2021-05-04T06:00:26.992Z] 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-04T06:00:26.992Z] Statistics: [2021-05-04T06:00:26.992Z] Hnuu...uuuununununu... [2021-05-04T06:00:26.992Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-04T06:00:27.631Z] provisioning config files... [2021-05-04T06:00:27.662Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-903@tmp/config3514192245978150662tmp [Pipeline] { [Pipeline] echo [2021-05-04T06:00:27.725Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-04T06:00:28.171Z] ---> create-netrc.sh [Pipeline] } [2021-05-04T06:00:28.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-04T06:00:28.276Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-04T06:00:28.630Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-04T06:00:28.681Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-04T06:00:29.079Z] ---> sudo-logs.sh [2021-05-04T06:00:29.079Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-04T06:00:29.174Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-04T06:00:29.546Z] ---> job-cost.sh [2021-05-04T06:00:29.546Z] lf-activate-venv: SKIPPING [2021-05-04T06:00:29.818Z] DEBUG: total: 0.20999999344348907 [2021-05-04T06:00:29.818Z] INFO: Retrieving Stack Cost... [2021-05-04T06:00:30.783Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-04T06:00:31.055Z] INFO: Archiving Costs [Pipeline] echo [2021-05-04T06:00:31.104Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-04T06:00:31.494Z] ---> logs-deploy.sh [2021-05-04T06:00:31.494Z] lf-activate-venv: SKIPPING [2021-05-04T06:00:31.494Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-903/1 [2021-05-04T06:00:31.494Z] INFO: archiving workspace using pattern(s): [2021-05-04T06:00:34.097Z] Archives upload complete. [2021-05-04T06:00:34.097Z] INFO: archiving logs to Nexus