Pull request #911 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 26aa1259699bd35e96e43e357015aa16a48e0d02+70dff52b8df9807f5114cad14836e8310fd11d9c (8309e44106bdeee89bf655ec7f48a818836f1c3c) 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-911/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-911/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-3464 in /w/workspace/dgexfoundry_device-sdk-go_PR-911 [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-911 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 26aa1259699bd35e96e43e357015aa16a48e0d02 Merge succeeded, producing 26aa1259699bd35e96e43e357015aa16a48e0d02 Checking out Revision 26aa1259699bd35e96e43e357015aa16a48e0d02 (PR-911) > 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/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-07T05:53:36.291Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-07T05:53:36.493Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-07T05:53:36.607Z] ========================================================= [2021-05-07T05:53:36.607Z] EdgeX Global Pipelines Version Info [2021-05-07T05:53:36.607Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:53:38.196Z] ------------------- [2021-05-07T05:53:38.196Z] stable info: [2021-05-07T05:53:38.196Z] ------------------- [2021-05-07T05:53:38.196Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-07T05:53:38.196Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:53:38.196Z] Message: update stable to v1.0.191 [2021-05-07T05:53:39.141Z] ------------------- [2021-05-07T05:53:39.141Z] experimental info: [2021-05-07T05:53:39.141Z] ------------------- [2021-05-07T05:53:39.141Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-07T05:53:39.141Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-07T05:53:39.141Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-07T05:53:39.365Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-07T05:53:39.425Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-07T05:53:39.485Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-07T05:53:39.556Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-07T05:53:39.612Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-07T05:53:39.667Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-07T05:53:39.729Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-07T05:53:39.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-07T05:53:39.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-07T05:53:39.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-07T05:53:39.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-07T05:53:40.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-07T05:53:40.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-07T05:53:40.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-07T05:53:40.231Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-07T05:53:40.285Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:53:40.384Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:53:40.449Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-07T05:53:40.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-07T05:53:40.591Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-07T05:53:40.652Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-07T05:53:40.709Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-07T05:53:40.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-07T05:53:40.824Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-07T05:53:40.884Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-07T05:53:40.953Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-07T05:53:41.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-911 [Pipeline] echo [2021-05-07T05:53:41.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-911 [Pipeline] echo [2021-05-07T05:53:41.144Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-911 [Pipeline] echo [2021-05-07T05:53:41.201Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26aa1259699bd35e96e43e357015aa16a48e0d02 [Pipeline] echo [2021-05-07T05:53:41.257Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26aa125 [Pipeline] echo [2021-05-07T05:53:41.315Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:53:41.477Z] provisioning config files... [2021-05-07T05:53:41.514Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/config4724052060799117850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:53:41.906Z] ---> docker-login.sh [2021-05-07T05:53:41.906Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:53:42.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:42.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:42.433Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:42.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:42.433Z] [2021-05-07T05:53:42.433Z] Login Succeeded [2021-05-07T05:53:42.433Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:53:42.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:42.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:42.696Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:42.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:42.696Z] [2021-05-07T05:53:42.696Z] Login Succeeded [2021-05-07T05:53:42.696Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:53:42.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:42.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:42.696Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:42.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:42.696Z] [2021-05-07T05:53:42.696Z] Login Succeeded [2021-05-07T05:53:42.696Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:53:42.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:42.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:42.959Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:42.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:42.959Z] [2021-05-07T05:53:42.959Z] Login Succeeded [2021-05-07T05:53:42.959Z] docker.io [2021-05-07T05:53:42.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:53:43.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:53:43.222Z] Configure a credential helper to remove this warning. See [2021-05-07T05:53:43.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:53:43.222Z] [2021-05-07T05:53:43.222Z] Login Succeeded [2021-05-07T05:53:43.222Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:53:43.248Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T05:53:43.987Z] + git log --format=format:%s -1 26aa1259699bd35e96e43e357015aa16a48e0d02 [Pipeline] echo [2021-05-07T05:53:44.086Z] GIT_COMMIT: 26aa1259699bd35e96e43e357015aa16a48e0d02, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-registry/v2 [Pipeline] echo [2021-05-07T05:53:44.124Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:53:44.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:53:44.728Z] [2021-05-07T05:53:44.728Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:53:45.095Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:53:45.095Z] latest: Pulling from edgex-devops/git-semver [2021-05-07T05:53:45.095Z] 31603596830f: Pulling fs layer [2021-05-07T05:53:45.095Z] 54011a49482f: Pulling fs layer [2021-05-07T05:53:45.095Z] a6820b24f6d8: Pulling fs layer [2021-05-07T05:53:45.095Z] f581987b2513: Pulling fs layer [2021-05-07T05:53:45.095Z] f581987b2513: Waiting [2021-05-07T05:53:45.095Z] 54011a49482f: Verifying Checksum [2021-05-07T05:53:45.095Z] 54011a49482f: Download complete [2021-05-07T05:53:45.095Z] 31603596830f: Verifying Checksum [2021-05-07T05:53:45.095Z] 31603596830f: Download complete [2021-05-07T05:53:45.360Z] a6820b24f6d8: Verifying Checksum [2021-05-07T05:53:45.360Z] a6820b24f6d8: Download complete [2021-05-07T05:53:45.360Z] f581987b2513: Verifying Checksum [2021-05-07T05:53:45.360Z] f581987b2513: Download complete [2021-05-07T05:53:45.625Z] 31603596830f: Pull complete [2021-05-07T05:53:45.894Z] 54011a49482f: Pull complete [2021-05-07T05:53:46.844Z] a6820b24f6d8: Pull complete [2021-05-07T05:53:46.844Z] f581987b2513: Pull complete [2021-05-07T05:53:46.844Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-07T05:53:47.108Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-07T05:53:47.108Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-07T05:53:47.262Z] prd-centos7-docker-4c-2g-3464 does not seem to be running inside a container [2021-05-07T05:53:47.315Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-911 -v /w/workspace/dgexfoundry_device-sdk-go_PR-911:/w/workspace/dgexfoundry_device-sdk-go_PR-911:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-07T05:53:49.300Z] $ docker top 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-07T05:53:49.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T05:53:49.540Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T05:53:49.772Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T05:53:49.776Z] $ docker exec 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 ssh-agent [2021-05-07T05:53:49.951Z] SSH_AUTH_SOCK=/tmp/ssh-RWuBAInVapiW/agent.11 [2021-05-07T05:53:49.951Z] SSH_AGENT_PID=16 [2021-05-07T05:53:50.003Z] Running ssh-add (command line suppressed) [2021-05-07T05:53:50.133Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/private_key_8545392157028382770.key (/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/private_key_8545392157028382770.key) [2021-05-07T05:53:50.191Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T05:53:50.548Z] + git tag --points-at HEAD [Pipeline] } [2021-05-07T05:53:50.581Z] $ docker exec --env ******** --env ******** 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 ssh-agent -k [2021-05-07T05:53:50.700Z] unset SSH_AUTH_SOCK; [2021-05-07T05:53:50.702Z] unset SSH_AGENT_PID; [2021-05-07T05:53:50.702Z] echo Agent pid 16 killed; [2021-05-07T05:53:50.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-07T05:53:50.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-07T05:53:50.853Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-07T05:53:51.027Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-07T05:53:51.032Z] $ docker exec 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 ssh-agent [2021-05-07T05:53:51.196Z] SSH_AUTH_SOCK=/tmp/ssh-TAPn6ZQHrz3U/agent.47 [2021-05-07T05:53:51.196Z] SSH_AGENT_PID=53 [2021-05-07T05:53:51.204Z] Running ssh-add (command line suppressed) [2021-05-07T05:53:51.322Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/private_key_5333791934797264535.key (/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/private_key_5333791934797264535.key) [2021-05-07T05:53:51.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-07T05:53:51.725Z] + git semver init [2021-05-07T05:53:51.726Z] # -> Open(): unable to determine branch for HEAD [2021-05-07T05:53:51.726Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-911/.git [2021-05-07T05:53:51.726Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-911 [2021-05-07T05:53:51.726Z] # $SEMVER_REMOTE_NAME = origin [2021-05-07T05:53:51.726Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-07T05:53:51.726Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-07T05:53:51.726Z] # $SEMVER_BRANCH = PR-911 [2021-05-07T05:53:51.726Z] # $SEMVER_TEMP = /tmp/semver-824093613 [2021-05-07T05:53:51.726Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-07T05:53:52.681Z] # '/tmp/semver-824093613' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-911/.semver' [2021-05-07T05:53:52.681Z] # -> Force: false [2021-05-07T05:53:52.681Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-911/.semver [Pipeline] } [2021-05-07T05:53:52.705Z] $ docker exec --env ******** --env ******** 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 ssh-agent -k [2021-05-07T05:53:52.820Z] unset SSH_AUTH_SOCK; [2021-05-07T05:53:52.821Z] unset SSH_AGENT_PID; [2021-05-07T05:53:52.821Z] echo Agent pid 53 killed; [2021-05-07T05:53:52.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-07T05:53:53.320Z] + git semver [Pipeline] } [2021-05-07T05:53:53.369Z] $ docker stop --time=1 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 [2021-05-07T05:53:54.803Z] $ docker rm -f 6a94ad8f183a8442f4cbe33d5cb81dffe4206e43a7ad31f5b9bf691a9e07c537 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T05:53:55.260Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-07T05:53:55.670Z] Stashed 1 file(s) [Pipeline] echo [2021-05-07T05:53:55.695Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-07T05:54:11.310Z] Still waiting to schedule task [2021-05-07T05:54:11.310Z] ‘prd-centos7-docker-4c-2g-3465’ is offline; ‘prd-centos7-docker-4c-2g-3466’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3463’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-07T05:54:11.337Z] Still waiting to schedule task [2021-05-07T05:54:11.337Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3463’ is offline [2021-05-07T05:56:17.898Z] Running on prd-centos7-docker-4c-2g-3469 in /w/workspace/dgexfoundry_device-sdk-go_PR-911 [Pipeline] { [Pipeline] ws [2021-05-07T05:56:17.955Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T05:56:30.952Z] using credential edgex-jenkins-ssh [2021-05-07T05:56:30.984Z] Cloning the remote Git repository [2021-05-07T05:56:31.057Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:31.230Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-07T05:56:31.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:31.815Z] > git --version # timeout=10 [2021-05-07T05:56:31.870Z] > git --version # 'git version 2.24.3' [2021-05-07T05:56:31.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:31.929Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:56:33.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:56:33.308Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:56:33.366Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:56:33.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:56:33.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:33.423Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T05:56:34.004Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 26aa1259699bd35e96e43e357015aa16a48e0d02 [2021-05-07T05:56:34.598Z] Merge succeeded, producing 26aa1259699bd35e96e43e357015aa16a48e0d02 [2021-05-07T05:56:34.599Z] Checking out Revision 26aa1259699bd35e96e43e357015aa16a48e0d02 (PR-911) [2021-05-07T05:56:34.059Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:56:34.140Z] > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 [2021-05-07T05:56:34.247Z] > git remote # timeout=10 [2021-05-07T05:56:34.371Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T05:56:34.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:56:34.518Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T05:56:34.562Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T05:56:34.603Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:56:34.625Z] > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 [2021-05-07T05:56:40.241Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2021-05-07T05:56:40.312Z] > git --version # timeout=10 [2021-05-07T05:56:40.345Z] > git --version # 'git version 2.24.3' [2021-05-07T05:56:40.492Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T05:56:43.295Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:56:43.927Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:56:44.488Z] + sudo service docker restart [2021-05-07T05:56:44.488Z] + true [2021-05-07T05:56:44.488Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:56:48.361Z] provisioning config files... [2021-05-07T05:56:48.433Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5731665902163844603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:56:49.239Z] ---> docker-login.sh [2021-05-07T05:56:49.239Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:56:50.878Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:51.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:51.212Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:51.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:51.212Z] [2021-05-07T05:56:51.212Z] Login Succeeded [2021-05-07T05:56:51.212Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:56:52.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:52.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:52.391Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:52.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:52.391Z] [2021-05-07T05:56:52.391Z] Login Succeeded [2021-05-07T05:56:52.391Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:56:53.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:53.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:53.459Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:53.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:53.459Z] [2021-05-07T05:56:53.459Z] Login Succeeded [2021-05-07T05:56:53.459Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:56:53.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:54.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:54.086Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:54.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:54.087Z] [2021-05-07T05:56:54.087Z] Login Succeeded [2021-05-07T05:56:54.087Z] docker.io [2021-05-07T05:56:54.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:56:54.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:56:54.691Z] Configure a credential helper to remove this warning. See [2021-05-07T05:56:54.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:56:54.691Z] [2021-05-07T05:56:54.691Z] Login Succeeded [2021-05-07T05:56:54.691Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:56:54.756Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T05:56:55.549Z] ========================================================= [2021-05-07T05:56:55.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-07T05:56:55.549Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:56:56.198Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-07T05:56:57.364Z] Sending build context to Docker daemon 2.475MB [2021-05-07T05:56:57.364Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:56:57.364Z] Step 2/8 : FROM ${BASE} [2021-05-07T05:56:57.702Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-07T05:56:57.702Z] 540db60ca938: Pulling fs layer [2021-05-07T05:56:57.702Z] adcc1eea9eea: Pulling fs layer [2021-05-07T05:56:57.702Z] 4c4ab2625f07: Pulling fs layer [2021-05-07T05:56:57.702Z] 0510c868ecb4: Pulling fs layer [2021-05-07T05:56:57.702Z] afea3b2eda06: Pulling fs layer [2021-05-07T05:56:57.702Z] 7809a108b3ef: Pulling fs layer [2021-05-07T05:56:57.702Z] f706445af74f: Pulling fs layer [2021-05-07T05:56:57.702Z] 0510c868ecb4: Waiting [2021-05-07T05:56:57.702Z] afea3b2eda06: Waiting [2021-05-07T05:56:57.702Z] 7809a108b3ef: Waiting [2021-05-07T05:56:57.702Z] f706445af74f: Waiting [2021-05-07T05:56:57.702Z] 4c4ab2625f07: Verifying Checksum [2021-05-07T05:56:57.702Z] 4c4ab2625f07: Download complete [2021-05-07T05:56:57.702Z] adcc1eea9eea: Verifying Checksum [2021-05-07T05:56:57.702Z] adcc1eea9eea: Download complete [2021-05-07T05:56:57.702Z] afea3b2eda06: Verifying Checksum [2021-05-07T05:56:57.702Z] afea3b2eda06: Download complete [2021-05-07T05:56:57.702Z] 7809a108b3ef: Verifying Checksum [2021-05-07T05:56:57.702Z] 7809a108b3ef: Download complete [2021-05-07T05:56:58.436Z] 540db60ca938: Verifying Checksum [2021-05-07T05:56:58.436Z] 540db60ca938: Download complete [2021-05-07T05:56:59.165Z] 540db60ca938: Pull complete [2021-05-07T05:57:00.414Z] adcc1eea9eea: Pull complete [2021-05-07T05:57:01.110Z] 4c4ab2625f07: Pull complete [2021-05-07T05:57:06.773Z] f706445af74f: Verifying Checksum [2021-05-07T05:57:06.773Z] f706445af74f: Download complete [2021-05-07T05:57:12.587Z] 0510c868ecb4: Verifying Checksum [2021-05-07T05:57:12.587Z] 0510c868ecb4: Download complete [2021-05-07T05:57:34.866Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3474 in /w/workspace/dgexfoundry_device-sdk-go_PR-911 [Pipeline] { [Pipeline] ws [2021-05-07T05:57:34.937Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-07T05:57:36.040Z] 0510c868ecb4: Pull complete [2021-05-07T05:57:36.040Z] afea3b2eda06: Pull complete [2021-05-07T05:57:36.040Z] 7809a108b3ef: Pull complete [2021-05-07T05:57:41.176Z] using credential edgex-jenkins-ssh [2021-05-07T05:57:41.196Z] Cloning the remote Git repository [2021-05-07T05:57:41.277Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:57:41.416Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-07T05:57:41.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:57:41.495Z] > git --version # timeout=10 [2021-05-07T05:57:41.515Z] > git --version # 'git version 2.17.1' [2021-05-07T05:57:41.517Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:57:41.613Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:57:43.540Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 26aa1259699bd35e96e43e357015aa16a48e0d02 [2021-05-07T05:57:43.796Z] Merge succeeded, producing 26aa1259699bd35e96e43e357015aa16a48e0d02 [2021-05-07T05:57:43.796Z] Checking out Revision 26aa1259699bd35e96e43e357015aa16a48e0d02 (PR-911) [2021-05-07T05:57:42.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:57:42.949Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-07T05:57:42.977Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-07T05:57:43.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-07T05:57:43.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:57:43.033Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/911/head:refs/remotes/origin/PR-911 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-07T05:57:43.576Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:57:43.596Z] > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 [2021-05-07T05:57:43.714Z] > git remote # timeout=10 [2021-05-07T05:57:43.737Z] > git config --get remote.origin.url # timeout=10 [2021-05-07T05:57:43.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-07T05:57:43.765Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-07T05:57:43.791Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-07T05:57:43.818Z] > git config core.sparsecheckout # timeout=10 [2021-05-07T05:57:43.838Z] > git checkout -f 26aa1259699bd35e96e43e357015aa16a48e0d02 # timeout=10 [2021-05-07T05:57:45.009Z] f706445af74f: Pull complete [2021-05-07T05:57:45.009Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-07T05:57:45.009Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-07T05:57:45.009Z] ---> b068be0155e3 [2021-05-07T05:57:45.009Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:57:45.009Z] ---> Running in b291bd968159 [2021-05-07T05:57:45.009Z] Removing intermediate container b291bd968159 [2021-05-07T05:57:45.009Z] ---> c636f725fdef [2021-05-07T05:57:45.009Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:57:45.009Z] ---> Running in 9af93a880bb5 [2021-05-07T05:57:48.484Z] Removing intermediate container 9af93a880bb5 [2021-05-07T05:57:48.484Z] ---> 278411d35088 [2021-05-07T05:57:48.484Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T05:57:48.484Z] ---> Running in ffcdc6b30eca [2021-05-07T05:57:49.020Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-registry/v2" [2021-05-07T05:57:49.104Z] > git --version # timeout=10 [2021-05-07T05:57:49.115Z] > git --version # 'git version 2.17.1' [2021-05-07T05:57:49.132Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2021-05-07T05:57:49.591Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T05:57:50.733Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T05:57:51.171Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:57:51.571Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T05:57:51.571Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T05:57:51.571Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T05:57:51.571Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T05:57:51.610Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-07T05:57:51.899Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T05:57:51.899Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T05:57:51.974Z] + true [2021-05-07T05:57:51.974Z] + sudo service docker restart [2021-05-07T05:57:52.209Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T05:57:52.209Z] OK: 150 MiB in 46 packages [2021-05-07T05:57:53.832Z] Removing intermediate container ffcdc6b30eca [2021-05-07T05:57:53.832Z] ---> 9a8779d5a469 [2021-05-07T05:57:53.832Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T05:57:53.832Z] ---> Running in 66690a7fd820 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-07T05:57:54.094Z] provisioning config files... [2021-05-07T05:57:54.159Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6709518100037913971tmp [2021-05-07T05:57:54.194Z] Removing intermediate container 66690a7fd820 [2021-05-07T05:57:54.194Z] ---> 3bf002c9864a [2021-05-07T05:57:54.194Z] Step 7/8 : COPY . . [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-07T05:57:54.608Z] ---> docker-login.sh [2021-05-07T05:57:54.609Z] nexus3.edgexfoundry.org:10001 [2021-05-07T05:57:55.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:57:55.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:57:55.869Z] Configure a credential helper to remove this warning. See [2021-05-07T05:57:55.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:57:55.869Z] [2021-05-07T05:57:55.869Z] Login Succeeded [2021-05-07T05:57:55.869Z] nexus3.edgexfoundry.org:10002 [2021-05-07T05:57:56.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:57:56.272Z] ---> 39bfa2d170a4 [2021-05-07T05:57:56.272Z] Step 8/8 : RUN go mod download [2021-05-07T05:57:56.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:57:56.429Z] Configure a credential helper to remove this warning. See [2021-05-07T05:57:56.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:57:56.429Z] [2021-05-07T05:57:56.429Z] Login Succeeded [2021-05-07T05:57:56.429Z] nexus3.edgexfoundry.org:10003 [2021-05-07T05:57:56.617Z] ---> Running in 5bed4947ff6e [2021-05-07T05:57:56.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:57:56.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:57:56.704Z] Configure a credential helper to remove this warning. See [2021-05-07T05:57:56.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:57:56.704Z] [2021-05-07T05:57:56.704Z] Login Succeeded [2021-05-07T05:57:56.704Z] nexus3.edgexfoundry.org:10004 [2021-05-07T05:57:57.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:57:57.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:57:57.307Z] Configure a credential helper to remove this warning. See [2021-05-07T05:57:57.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:57:57.307Z] [2021-05-07T05:57:57.307Z] Login Succeeded [2021-05-07T05:57:57.307Z] docker.io [2021-05-07T05:57:57.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-07T05:57:58.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-07T05:57:58.209Z] Configure a credential helper to remove this warning. See [2021-05-07T05:57:58.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-07T05:57:58.209Z] [2021-05-07T05:57:58.209Z] Login Succeeded [2021-05-07T05:57:58.209Z] ---> docker-login.sh ends [Pipeline] } [2021-05-07T05:57:58.242Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-07T05:57:58.716Z] ========================================================= [2021-05-07T05:57:58.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-07T05:57:58.716Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:57:59.115Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-07T05:57:59.720Z] Sending build context to Docker daemon 2.482MB [2021-05-07T05:57:59.720Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T05:57:59.720Z] Step 2/8 : FROM ${BASE} [2021-05-07T05:57:59.720Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-07T05:57:59.720Z] 595b0fe564bb: Pulling fs layer [2021-05-07T05:57:59.720Z] 7186ed65a4f7: Pulling fs layer [2021-05-07T05:57:59.720Z] 316046926c0a: Pulling fs layer [2021-05-07T05:57:59.720Z] 4ebd0625c992: Pulling fs layer [2021-05-07T05:57:59.720Z] 207e8628e3a3: Pulling fs layer [2021-05-07T05:57:59.720Z] c791037a9be2: Pulling fs layer [2021-05-07T05:57:59.720Z] ffd874e62e21: Pulling fs layer [2021-05-07T05:57:59.720Z] 207e8628e3a3: Waiting [2021-05-07T05:57:59.720Z] c791037a9be2: Waiting [2021-05-07T05:57:59.720Z] ffd874e62e21: Waiting [2021-05-07T05:57:59.720Z] 4ebd0625c992: Waiting [2021-05-07T05:57:59.720Z] 316046926c0a: Verifying Checksum [2021-05-07T05:57:59.720Z] 316046926c0a: Download complete [2021-05-07T05:57:59.720Z] 7186ed65a4f7: Verifying Checksum [2021-05-07T05:57:59.720Z] 7186ed65a4f7: Download complete [2021-05-07T05:57:59.720Z] 207e8628e3a3: Download complete [2021-05-07T05:57:59.720Z] c791037a9be2: Download complete [2021-05-07T05:57:59.720Z] 595b0fe564bb: Verifying Checksum [2021-05-07T05:57:59.720Z] 595b0fe564bb: Download complete [2021-05-07T05:58:00.742Z] 595b0fe564bb: Pull complete [2021-05-07T05:58:01.363Z] 7186ed65a4f7: Pull complete [2021-05-07T05:58:01.645Z] 316046926c0a: Pull complete [2021-05-07T05:58:01.919Z] ffd874e62e21: Verifying Checksum [2021-05-07T05:58:01.919Z] ffd874e62e21: Download complete [2021-05-07T05:58:03.359Z] 4ebd0625c992: Verifying Checksum [2021-05-07T05:58:03.359Z] 4ebd0625c992: Download complete [2021-05-07T05:58:15.810Z] 4ebd0625c992: Pull complete [2021-05-07T05:58:15.810Z] 207e8628e3a3: Pull complete [2021-05-07T05:58:15.810Z] c791037a9be2: Pull complete [2021-05-07T05:58:19.216Z] ffd874e62e21: Pull complete [2021-05-07T05:58:19.216Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-07T05:58:19.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-07T05:58:19.216Z] ---> cfc18b08335c [2021-05-07T05:58:19.216Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T05:58:21.872Z] ---> Running in 98735b328eb5 [2021-05-07T05:58:22.482Z] Removing intermediate container 98735b328eb5 [2021-05-07T05:58:22.482Z] ---> ec36f45d01fc [2021-05-07T05:58:22.482Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T05:58:22.482Z] ---> Running in 3235635a4fb8 [2021-05-07T05:58:25.126Z] Removing intermediate container 3235635a4fb8 [2021-05-07T05:58:25.126Z] ---> 8019608b80b0 [2021-05-07T05:58:25.126Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-07T05:58:25.126Z] ---> Running in 698b47f40da0 [2021-05-07T05:58:26.588Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T05:58:27.570Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T05:58:28.554Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-07T05:58:28.554Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-07T05:58:28.554Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-07T05:58:29.158Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-07T05:58:29.158Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-07T05:58:29.436Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-07T05:58:29.712Z] Executing busybox-1.32.1-r6.trigger [2021-05-07T05:58:29.712Z] OK: 139 MiB in 46 packages [2021-05-07T05:58:31.168Z] Removing intermediate container 698b47f40da0 [2021-05-07T05:58:31.168Z] ---> ac49522f14d4 [2021-05-07T05:58:31.168Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-07T05:58:31.168Z] ---> Running in a19046d25d16 [2021-05-07T05:58:31.772Z] Removing intermediate container a19046d25d16 [2021-05-07T05:58:31.772Z] ---> 0a99bcf9ed35 [2021-05-07T05:58:31.772Z] Step 7/8 : COPY . . [2021-05-07T05:58:33.744Z] ---> 623d532768e7 [2021-05-07T05:58:33.744Z] Step 8/8 : RUN go mod download [2021-05-07T05:58:33.744Z] ---> Running in c225e4febec7 [2021-05-07T05:58:54.746Z] Removing intermediate container 5bed4947ff6e [2021-05-07T05:58:54.746Z] ---> 84e5895a3a1c [2021-05-07T05:58:54.746Z] Successfully built 84e5895a3a1c [2021-05-07T05:58:54.746Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:58:55.681Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T05:58:56.976Z] . [Pipeline] withDockerContainer [2021-05-07T05:58:57.791Z] prd-centos7-docker-4c-2g-3469 does not seem to be running inside a container [2021-05-07T05:58:58.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T05:59:00.247Z] $ docker top f7fc22bdb4823c0d30738be71e1acaf29458603d71ffd7b20eb5751c34610214 -eo pid,comm [2021-05-07T05:59:00.565Z] Removing intermediate container c225e4febec7 [2021-05-07T05:59:00.565Z] ---> ca7699d07c0a [2021-05-07T05:59:00.565Z] Successfully built ca7699d07c0a [2021-05-07T05:59:00.842Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:59:01.432Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T05:59:01.432Z] . [Pipeline] withDockerContainer [2021-05-07T05:59:01.784Z] prd-ubuntu18.04-docker-arm64-4c-16g-3474 does not seem to be running inside a container [2021-05-07T05:59:01.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T05:59:02.054Z] + go version [2021-05-07T05:59:02.054Z] go version go1.16.3 linux/amd64 [2021-05-07T05:59:03.703Z] $ docker top ae7aa2d6c67f7411b6607e359aaab2d138abb884c89c68675957895b2c6c2ff6 -eo pid,comm [Pipeline] { [Pipeline] } [2021-05-07T05:59:04.109Z] $ docker stop --time=1 f7fc22bdb4823c0d30738be71e1acaf29458603d71ffd7b20eb5751c34610214 [2021-05-07T05:59:06.044Z] $ docker rm -f f7fc22bdb4823c0d30738be71e1acaf29458603d71ffd7b20eb5751c34610214 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:59:07.043Z] + go version [2021-05-07T05:59:07.043Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-07T05:59:07.098Z] $ docker stop --time=1 ae7aa2d6c67f7411b6607e359aaab2d138abb884c89c68675957895b2c6c2ff6 [2021-05-07T05:59:07.228Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-07T05:59:07.228Z] . [2021-05-07T05:59:09.150Z] $ docker rm -f ae7aa2d6c67f7411b6607e359aaab2d138abb884c89c68675957895b2c6c2ff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-05-07T05:59:09.878Z] prd-centos7-docker-4c-2g-3469 does not seem to be running inside a container [2021-05-07T05:59:10.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-07T05:59:11.575Z] $ docker top 4f70adf00d47a0945932c1e3e91e78e4748ff3cf0d925ec4a0c4d0985f944488 -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-07T05:59:13.253Z] + docker inspect -f . ci-base-image-arm64 [2021-05-07T05:59:13.253Z] . [Pipeline] withDockerContainer [2021-05-07T05:59:13.323Z] + go mod tidy [2021-05-07T05:59:13.577Z] prd-ubuntu18.04-docker-arm64-4c-16g-3474 does not seem to be running inside a container [2021-05-07T05:59:13.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-07T05:59:15.328Z] $ docker top 3abfceb2cee106babb02a0641f2bbb18469696c54197eb6ce73ca25cf6904b85 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-07T05:59:16.477Z] + make test [2021-05-07T05:59:16.477Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T05:59:16.543Z] + go mod tidy [Pipeline] sh [2021-05-07T05:59:18.063Z] + make test [2021-05-07T05:59:18.063Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-07T05:59:44.319Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T05:59:50.559Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-07T06:00:58.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T06:00:58.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T06:00:58.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T06:00:58.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T06:00:58.650Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T06:01:01.311Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.142s coverage: 28.1% of statements [2021-05-07T06:01:01.929Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.202s coverage: 78.9% of statements [2021-05-07T06:01:01.929Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.249s coverage: 7.8% of statements [2021-05-07T06:01:01.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T06:01:01.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T06:01:01.929Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T06:01:04.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.231s coverage: 30.2% of statements [2021-05-07T06:01:04.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T06:01:04.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T06:01:04.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T06:01:07.223Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.311s coverage: 57.2% of statements [2021-05-07T06:01:07.223Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.496s coverage: 6.6% of statements [2021-05-07T06:01:07.497Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.139s coverage: 5.0% of statements [2021-05-07T06:01:07.497Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T06:01:07.771Z] GO111MODULE=on go vet ./... [2021-05-07T06:01:24.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-07T06:01:24.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-07T06:01:24.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-07T06:01:24.260Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-07T06:01:24.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-07T06:01:25.363Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.143s coverage: 28.1% of statements [2021-05-07T06:01:26.955Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.171s coverage: 78.9% of statements [2021-05-07T06:01:26.955Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.134s coverage: 7.8% of statements [2021-05-07T06:01:26.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-07T06:01:26.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-07T06:01:26.955Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-07T06:01:28.237Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.272s coverage: 30.2% of statements [2021-05-07T06:01:28.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-07T06:01:28.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-07T06:01:28.237Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-07T06:01:32.094Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.254s coverage: 57.2% of statements [2021-05-07T06:01:32.094Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.804s coverage: 6.6% of statements [2021-05-07T06:01:32.094Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.167s coverage: 5.0% of statements [2021-05-07T06:01:32.094Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-07T06:01:32.396Z] GO111MODULE=on go vet ./... [2021-05-07T06:02:04.682Z] gofmt -l . [2021-05-07T06:02:04.682Z] [ "`gofmt -l .`" = "" ] [2021-05-07T06:02:04.682Z] ./bin/test-attribution-txt.sh [2021-05-07T06:02:04.682Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T06:02:04.736Z] $ docker stop --time=1 3abfceb2cee106babb02a0641f2bbb18469696c54197eb6ce73ca25cf6904b85 [2021-05-07T06:02:07.880Z] $ docker rm -f 3abfceb2cee106babb02a0641f2bbb18469696c54197eb6ce73ca25cf6904b85 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T06:02:09.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T06:02:09.679Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-07T06:02:11.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T06:02:11.380Z] + ls -al . [2021-05-07T06:02:11.380Z] total 224 [2021-05-07T06:02:11.380Z] drwxrwxr-x 10 jenkins jenkins 4096 May 7 06:02 . [2021-05-07T06:02:11.380Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:57 .. [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 140 May 7 05:57 .dockerignore [2021-05-07T06:02:11.380Z] drwxrwxr-x 8 jenkins jenkins 4096 May 7 05:57 .git [2021-05-07T06:02:11.380Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:57 .github [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 138 May 7 05:57 .gitignore [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 987 May 7 05:57 Dockerfile.build [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 901 May 7 05:57 Jenkinsfile [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 7 05:57 LICENSE [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 7 05:57 Makefile [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 7 05:57 README.md [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 7 05:57 RELEASE-NOTES.txt [2021-05-07T06:02:11.380Z] -rw-rw-r-- 1 jenkins jenkins 5 May 7 05:53 VERSION [2021-05-07T06:02:11.380Z] drwxrwxr-x 2 jenkins jenkins 4096 May 7 05:57 bin [2021-05-07T06:02:11.380Z] -rw-r--r-- 1 jenkins jenkins 100320 May 7 06:01 coverage.out [2021-05-07T06:02:11.380Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:57 example [2021-05-07T06:02:11.380Z] -rw-r--r-- 1 jenkins jenkins 575 May 7 06:02 go.mod [2021-05-07T06:02:11.380Z] -rw-r--r-- 1 jenkins jenkins 21068 May 7 05:59 go.sum [2021-05-07T06:02:11.381Z] drwxrwxr-x 14 jenkins jenkins 4096 May 7 05:57 internal [2021-05-07T06:02:11.381Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:57 openapi [2021-05-07T06:02:11.381Z] drwxrwxr-x 5 jenkins jenkins 4096 May 7 05:57 pkg [2021-05-07T06:02:11.381Z] drwxrwxr-x 4 jenkins jenkins 4096 May 7 05:57 snap [2021-05-07T06:02:11.381Z] -rw-rw-r-- 1 jenkins jenkins 222 May 7 05:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:02:11.750Z] + 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=26aa1259699bd35e96e43e357015aa16a48e0d02 --label arch=arm64 --label version=0.0.0 . [2021-05-07T06:02:12.347Z] Sending build context to Docker daemon 2.583MB [2021-05-07T06:02:12.347Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T06:02:12.347Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T06:02:12.347Z] ---> ca7699d07c0a [2021-05-07T06:02:12.347Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T06:02:12.621Z] ---> Running in da5a10e0a035 [2021-05-07T06:02:13.218Z] Removing intermediate container da5a10e0a035 [2021-05-07T06:02:13.218Z] ---> b1069b725761 [2021-05-07T06:02:13.218Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:02:13.218Z] ---> Running in a25dd3f3fb00 [2021-05-07T06:02:13.515Z] Removing intermediate container a25dd3f3fb00 [2021-05-07T06:02:13.515Z] ---> 64397b13f6fc [2021-05-07T06:02:13.515Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:02:13.787Z] ---> Running in da6e79a89e03 [2021-05-07T06:02:15.756Z] Removing intermediate container da6e79a89e03 [2021-05-07T06:02:15.756Z] ---> a04c765ac711 [2021-05-07T06:02:15.756Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T06:02:15.756Z] ---> Running in 58ed77049d06 [2021-05-07T06:02:17.199Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-07T06:02:17.794Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-07T06:02:18.772Z] OK: 139 MiB in 46 packages [2021-05-07T06:02:19.777Z] Removing intermediate container 58ed77049d06 [2021-05-07T06:02:19.777Z] ---> f8af15a65711 [2021-05-07T06:02:19.777Z] Step 7/23 : COPY . . [2021-05-07T06:02:21.215Z] ---> 9a2acb6bf5b6 [2021-05-07T06:02:21.215Z] Step 8/23 : RUN go mod download [2021-05-07T06:02:21.486Z] ---> Running in bce0edf8da41 [2021-05-07T06:02:23.453Z] Removing intermediate container bce0edf8da41 [2021-05-07T06:02:23.453Z] ---> 7b2ffdae50a3 [2021-05-07T06:02:23.453Z] Step 9/23 : RUN make build [2021-05-07T06:02:23.737Z] ---> Running in 2ca19f927c8b [2021-05-07T06:02:25.185Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-07T06:02:42.170Z] gofmt -l . [2021-05-07T06:02:42.170Z] [ "`gofmt -l .`" = "" ] [2021-05-07T06:02:42.170Z] ./bin/test-attribution-txt.sh [2021-05-07T06:02:42.170Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-07T06:02:42.224Z] $ docker stop --time=1 4f70adf00d47a0945932c1e3e91e78e4748ff3cf0d925ec4a0c4d0985f944488 [2021-05-07T06:02:45.135Z] $ docker rm -f 4f70adf00d47a0945932c1e3e91e78e4748ff3cf0d925ec4a0c4d0985f944488 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-07T06:02:46.261Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-07T06:02:46.592Z] Warning: overwriting stash ‘coverage-report’ [2021-05-07T06:02:48.037Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-07T06:02:48.695Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-07T06:02:49.213Z] + ls -al . [2021-05-07T06:02:49.213Z] total 188 [2021-05-07T06:02:49.214Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 7 06:02 . [2021-05-07T06:02:49.214Z] drwxrwxr-x. 4 jenkins jenkins 28 May 7 05:56 .. [2021-05-07T06:02:49.214Z] drwxrwxr-x. 2 jenkins jenkins 64 May 7 05:56 bin [2021-05-07T06:02:49.214Z] -rw-r--r--. 1 jenkins jenkins 100320 May 7 06:01 coverage.out [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 987 May 7 05:56 Dockerfile.build [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 140 May 7 05:56 .dockerignore [2021-05-07T06:02:49.214Z] drwxrwxr-x. 5 jenkins jenkins 62 May 7 05:56 example [2021-05-07T06:02:49.214Z] drwxrwxr-x. 8 jenkins jenkins 179 May 7 05:56 .git [2021-05-07T06:02:49.214Z] drwxrwxr-x. 2 jenkins jenkins 103 May 7 05:56 .github [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 138 May 7 05:56 .gitignore [2021-05-07T06:02:49.214Z] -rw-r--r--. 1 jenkins jenkins 575 May 7 06:02 go.mod [2021-05-07T06:02:49.214Z] -rw-r--r--. 1 jenkins jenkins 21068 May 7 05:59 go.sum [2021-05-07T06:02:49.214Z] drwxrwxr-x. 14 jenkins jenkins 207 May 7 05:56 internal [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 901 May 7 05:56 Jenkinsfile [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 7 05:56 LICENSE [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 7 05:56 Makefile [2021-05-07T06:02:49.214Z] drwxrwxr-x. 4 jenkins jenkins 26 May 7 05:56 openapi [2021-05-07T06:02:49.214Z] drwxrwxr-x. 5 jenkins jenkins 50 May 7 05:56 pkg [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 7 05:56 README.md [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 7 05:56 RELEASE-NOTES.txt [2021-05-07T06:02:49.214Z] drwxrwxr-x. 4 jenkins jenkins 54 May 7 05:56 snap [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 5 May 7 05:53 VERSION [2021-05-07T06:02:49.214Z] -rw-rw-r--. 1 jenkins jenkins 222 May 7 05:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:02:49.774Z] + 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=26aa1259699bd35e96e43e357015aa16a48e0d02 --label arch=amd64 --label version=0.0.0 . [2021-05-07T06:02:51.425Z] Sending build context to Docker daemon 2.576MB [2021-05-07T06:02:51.425Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-07T06:02:51.425Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-07T06:02:51.425Z] ---> 84e5895a3a1c [2021-05-07T06:02:51.425Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-07T06:02:52.505Z] ---> Running in 944bc77821e9 [2021-05-07T06:02:53.151Z] Removing intermediate container 944bc77821e9 [2021-05-07T06:02:53.151Z] ---> e8415aeed380 [2021-05-07T06:02:53.151Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:02:53.151Z] ---> Running in 73d322ccb8fa [2021-05-07T06:02:54.147Z] Removing intermediate container 73d322ccb8fa [2021-05-07T06:02:54.147Z] ---> 2d0a80d6ba6c [2021-05-07T06:02:54.147Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:02:54.440Z] ---> Running in dcccf0ff8910 [2021-05-07T06:02:57.220Z] Removing intermediate container dcccf0ff8910 [2021-05-07T06:02:57.220Z] ---> 08d4886b08f5 [2021-05-07T06:02:57.220Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-07T06:02:57.220Z] ---> Running in 0d12e86db155 [2021-05-07T06:02:58.827Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-07T06:02:59.919Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-07T06:03:00.740Z] OK: 150 MiB in 46 packages [2021-05-07T06:03:02.012Z] Removing intermediate container 0d12e86db155 [2021-05-07T06:03:02.012Z] ---> 566ba1a1a26d [2021-05-07T06:03:02.012Z] Step 7/23 : COPY . . [2021-05-07T06:03:04.284Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T06:03:04.285Z] Removing intermediate container 2ca19f927c8b [2021-05-07T06:03:04.285Z] ---> 09b264d6bb7b [2021-05-07T06:03:04.285Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T06:03:04.285Z] 3.12: Pulling from library/alpine [2021-05-07T06:03:04.285Z] d2f70382dc9a: Pulling fs layer [2021-05-07T06:03:04.285Z] d2f70382dc9a: Verifying Checksum [2021-05-07T06:03:04.285Z] d2f70382dc9a: Download complete [2021-05-07T06:03:04.285Z] d2f70382dc9a: Pull complete [2021-05-07T06:03:04.285Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T06:03:04.285Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T06:03:04.285Z] ---> 9852663dfa18 [2021-05-07T06:03:04.285Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:03:04.285Z] ---> Running in 01ae3d7f4433 [2021-05-07T06:03:04.285Z] Removing intermediate container 01ae3d7f4433 [2021-05-07T06:03:04.285Z] ---> bb7cb34d8024 [2021-05-07T06:03:04.285Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:03:04.285Z] ---> Running in ea4c6927491f [2021-05-07T06:03:04.816Z] ---> 8d74b2c852df [2021-05-07T06:03:04.816Z] Step 8/23 : RUN go mod download [2021-05-07T06:03:04.816Z] ---> Running in 240fb734ebe1 [2021-05-07T06:03:06.267Z] Removing intermediate container ea4c6927491f [2021-05-07T06:03:06.267Z] ---> 9f1d4f1a5d86 [2021-05-07T06:03:06.267Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T06:03:06.267Z] ---> Running in 3029cd6fc994 [2021-05-07T06:03:07.247Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-07T06:03:08.231Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-07T06:03:08.825Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T06:03:08.825Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T06:03:09.107Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T06:03:09.107Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T06:03:09.378Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T06:03:09.378Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T06:03:09.378Z] OK: 8 MiB in 19 packages [2021-05-07T06:03:10.119Z] Removing intermediate container 240fb734ebe1 [2021-05-07T06:03:10.119Z] ---> 3fc6935837ce [2021-05-07T06:03:10.119Z] Step 9/23 : RUN make build [2021-05-07T06:03:10.119Z] ---> Running in 20b0d35ea1de [2021-05-07T06:03:10.824Z] Removing intermediate container 3029cd6fc994 [2021-05-07T06:03:10.824Z] ---> 6dfcde8d5eb0 [2021-05-07T06:03:10.824Z] Step 14/23 : WORKDIR / [2021-05-07T06:03:10.824Z] ---> Running in 7b4d4f21bf0f [2021-05-07T06:03:11.418Z] Removing intermediate container 7b4d4f21bf0f [2021-05-07T06:03:11.418Z] ---> 3c6a1e92706f [2021-05-07T06:03:11.418Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T06:03:11.771Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-07T06:03:12.394Z] ---> b75e090291f2 [2021-05-07T06:03:12.394Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T06:03:13.378Z] ---> f6a9d9b0e6d1 [2021-05-07T06:03:13.378Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T06:03:14.379Z] ---> f97773d3fab1 [2021-05-07T06:03:14.379Z] Step 18/23 : EXPOSE 49990 [2021-05-07T06:03:14.379Z] ---> Running in 2a962d48599f [2021-05-07T06:03:14.973Z] Removing intermediate container 2a962d48599f [2021-05-07T06:03:14.973Z] ---> fdafc6f99c12 [2021-05-07T06:03:14.973Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T06:03:14.973Z] ---> Running in 305de14fecaa [2021-05-07T06:03:15.571Z] Removing intermediate container 305de14fecaa [2021-05-07T06:03:15.571Z] ---> 6414e60ff82d [2021-05-07T06:03:15.571Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T06:03:15.571Z] ---> Running in 367e8398407d [2021-05-07T06:03:16.165Z] Removing intermediate container 367e8398407d [2021-05-07T06:03:16.165Z] ---> 069f1bcf5a81 [2021-05-07T06:03:16.165Z] Step 21/23 : LABEL arch=arm64 [2021-05-07T06:03:16.165Z] ---> Running in 1d1906c4e304 [2021-05-07T06:03:16.769Z] Removing intermediate container 1d1906c4e304 [2021-05-07T06:03:16.769Z] ---> 756824bab34a [2021-05-07T06:03:16.769Z] Step 22/23 : LABEL git_sha=26aa1259699bd35e96e43e357015aa16a48e0d02 [2021-05-07T06:03:17.041Z] ---> Running in 7bfc2c5a9266 [2021-05-07T06:03:17.637Z] Removing intermediate container 7bfc2c5a9266 [2021-05-07T06:03:17.637Z] ---> 7d5446d1f3be [2021-05-07T06:03:17.637Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T06:03:17.637Z] ---> Running in 5ff8a194b63c [2021-05-07T06:03:18.229Z] Removing intermediate container 5ff8a194b63c [2021-05-07T06:03:18.230Z] ---> f7bb1c9768b2 [2021-05-07T06:03:18.230Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T06:03:18.230Z] Successfully built f7bb1c9768b2 [2021-05-07T06:03:18.230Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:03:19.046Z] ---> job-cost.sh [2021-05-07T06:03:19.046Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-8qgm [2021-05-07T06:04:01.022Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-07T06:04:01.022Z] Removing intermediate container 20b0d35ea1de [2021-05-07T06:04:01.022Z] ---> bd365f96d728 [2021-05-07T06:04:01.022Z] Step 10/23 : FROM alpine:3.12 [2021-05-07T06:04:01.022Z] 3.12: Pulling from library/alpine [2021-05-07T06:04:01.022Z] 339de151aab4: Pulling fs layer [2021-05-07T06:04:01.398Z] 339de151aab4: Verifying Checksum [2021-05-07T06:04:01.398Z] 339de151aab4: Download complete [2021-05-07T06:04:02.578Z] 339de151aab4: Pull complete [2021-05-07T06:04:02.579Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-07T06:04:02.579Z] Status: Downloaded newer image for alpine:3.12 [2021-05-07T06:04:02.579Z] ---> 13621d1b12d4 [2021-05-07T06:04:02.579Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-07T06:04:02.932Z] ---> Running in 5e40a22506cb [2021-05-07T06:04:04.042Z] Removing intermediate container 5e40a22506cb [2021-05-07T06:04:04.042Z] ---> 01d5e05d2c49 [2021-05-07T06:04:04.042Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-07T06:04:04.042Z] ---> Running in 623189ab4c07 [2021-05-07T06:04:05.968Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:04:07.791Z] Removing intermediate container 623189ab4c07 [2021-05-07T06:04:07.791Z] ---> 254216004eea [2021-05-07T06:04:07.791Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-07T06:04:07.791Z] ---> Running in 8aaa3ed0e369 [2021-05-07T06:04:09.395Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-07T06:04:10.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-07T06:04:10.673Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-07T06:04:10.673Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-07T06:04:10.673Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-07T06:04:11.304Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-07T06:04:11.587Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-07T06:04:11.587Z] Executing busybox-1.31.1-r20.trigger [2021-05-07T06:04:11.587Z] OK: 8 MiB in 19 packages [2021-05-07T06:04:13.680Z] Removing intermediate container 8aaa3ed0e369 [2021-05-07T06:04:13.680Z] ---> ccdfeeae60cf [2021-05-07T06:04:13.680Z] Step 14/23 : WORKDIR / [2021-05-07T06:04:13.680Z] ---> Running in 5902c45cde31 [2021-05-07T06:04:13.680Z] Removing intermediate container 5902c45cde31 [2021-05-07T06:04:13.680Z] ---> bcf192203793 [2021-05-07T06:04:13.680Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-07T06:04:14.392Z] ---> 270119b07b7c [2021-05-07T06:04:14.392Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-07T06:04:16.473Z] ---> 5245547c5b33 [2021-05-07T06:04:16.473Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-07T06:04:16.816Z] ---> cec5de7e7a0e [2021-05-07T06:04:16.816Z] Step 18/23 : EXPOSE 49990 [2021-05-07T06:04:17.130Z] ---> Running in 9516d3556f2c [2021-05-07T06:04:17.458Z] Removing intermediate container 9516d3556f2c [2021-05-07T06:04:17.458Z] ---> 2f98f7a58a90 [2021-05-07T06:04:17.458Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-07T06:04:17.757Z] ---> Running in f81abc9d8a23 [2021-05-07T06:04:18.043Z] Removing intermediate container f81abc9d8a23 [2021-05-07T06:04:18.043Z] ---> 62ec37b82cb4 [2021-05-07T06:04:18.043Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-07T06:04:18.320Z] ---> Running in aa092e6d6824 [2021-05-07T06:04:18.964Z] Removing intermediate container aa092e6d6824 [2021-05-07T06:04:18.964Z] ---> f4a887ae685a [2021-05-07T06:04:18.964Z] Step 21/23 : LABEL arch=amd64 [2021-05-07T06:04:19.254Z] ---> Running in cef927e67b5c [2021-05-07T06:04:19.540Z] Removing intermediate container cef927e67b5c [2021-05-07T06:04:19.540Z] ---> 85f9b04d34a2 [2021-05-07T06:04:19.540Z] Step 22/23 : LABEL git_sha=26aa1259699bd35e96e43e357015aa16a48e0d02 [2021-05-07T06:04:19.844Z] ---> Running in e973e6d6e420 [2021-05-07T06:04:20.508Z] Removing intermediate container e973e6d6e420 [2021-05-07T06:04:20.508Z] ---> ea06eabe29b6 [2021-05-07T06:04:20.508Z] Step 23/23 : LABEL version=0.0.0 [2021-05-07T06:04:20.831Z] ---> Running in d44495cfca91 [2021-05-07T06:04:21.133Z] Removing intermediate container d44495cfca91 [2021-05-07T06:04:21.134Z] ---> 7cc4a712aca9 [2021-05-07T06:04:21.134Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-07T06:04:21.134Z] Successfully built 7cc4a712aca9 [2021-05-07T06:04:21.134Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:04:22.100Z] ---> job-cost.sh [2021-05-07T06:04:22.100Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-cjXH [2021-05-07T06:04:54.918Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-07T06:05:52.127Z] lf-activate-venv(): INFO: Adding /tmp/venv-cjXH/bin to PATH [2021-05-07T06:05:52.127Z] INFO: No Stack... [2021-05-07T06:05:52.127Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:05:52.127Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:05:52.516Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-07T06:05:52.516Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T06:05:52.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [2021-05-07T06:05:52.769Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] did not exist. Created. [2021-05-07T06:05:52.769Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:05:53.260Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-07T06:05:53.698Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:05:53.720Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-07T06:05:57.790Z] lf-activate-venv(): INFO: Adding /tmp/venv-8qgm/bin to PATH [2021-05-07T06:05:57.790Z] INFO: No Stack... [2021-05-07T06:05:57.790Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-07T06:05:57.790Z] INFO: Archiving Costs [Pipeline] sh [2021-05-07T06:05:58.162Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-07T06:05:58.162Z] + cut -d, -f6 [Pipeline] lock [2021-05-07T06:05:58.311Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [2021-05-07T06:05:58.317Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] did not exist. Created. [2021-05-07T06:05:58.317Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-07T06:05:58.769Z] /w/workspace/device-sdk-go/1@tmp/durable-9ddb2ef6/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-9ddb2ef6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-07T06:05:59.146Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-07T06:05:59.194Z] Warning: overwriting stash ‘stack-cost’ [2021-05-07T06:05:59.369Z] Stashed 1 file(s) [Pipeline] } [2021-05-07T06:05:59.391Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-911-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-07T06:06:00.323Z] provisioning config files... [2021-05-07T06:06:00.362Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/config2727394784901557367tmp [Pipeline] { [Pipeline] sh [2021-05-07T06:06:00.730Z] + set +x [2021-05-07T06:06:00.730Z] + curl -s https://codecov.io/bash [2021-05-07T06:06:00.730Z] + bash -s -- [2021-05-07T06:06:00.993Z] [2021-05-07T06:06:00.993Z] _____ _ [2021-05-07T06:06:00.993Z] / ____| | | [2021-05-07T06:06:00.993Z] | | ___ __| | ___ ___ _____ __ [2021-05-07T06:06:00.993Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-07T06:06:00.993Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-07T06:06:00.993Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-07T06:06:00.993Z] Bash-1.0.2 [2021-05-07T06:06:00.993Z] [2021-05-07T06:06:00.993Z] [2021-05-07T06:06:00.993Z] ==> git version 2.24.3 found [2021-05-07T06:06:00.993Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-07T06:06:00.993Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-07T06:06:00.993Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-07T06:06:00.993Z] ==> Jenkins CI detected. [2021-05-07T06:06:00.993Z] project root: . [2021-05-07T06:06:00.993Z] --> token set from env [2021-05-07T06:06:00.993Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-07T06:06:00.993Z] ==> Running gcov in . (disable via -X gcov) [2021-05-07T06:06:00.993Z] ==> Python coveragepy not found [2021-05-07T06:06:00.993Z] ==> Searching for coverage reports in: [2021-05-07T06:06:00.993Z] + . [2021-05-07T06:06:00.993Z] -> Found 1 reports [2021-05-07T06:06:00.993Z] ==> Detecting git/mercurial file structure [2021-05-07T06:06:00.993Z] ==> Reading reports [2021-05-07T06:06:00.993Z] + ./coverage.out bytes=100320 [2021-05-07T06:06:00.993Z] ==> Appending adjustments [2021-05-07T06:06:00.993Z] https://docs.codecov.io/docs/fixing-reports [2021-05-07T06:06:01.263Z] + Found adjustments [2021-05-07T06:06:01.263Z] ==> Gzipping contents [2021-05-07T06:06:01.263Z] 16K /tmp/codecov.iZTqXI.gz [2021-05-07T06:06:01.263Z] ==> Uploading reports [2021-05-07T06:06:01.263Z] url: https://codecov.io [2021-05-07T06:06:01.263Z] query: branch=PR-911&commit=26aa1259699bd35e96e43e357015aa16a48e0d02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-911%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=911&job=&cmd_args= [2021-05-07T06:06:01.263Z] -> Pinging Codecov [2021-05-07T06:06:01.263Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-911&commit=26aa1259699bd35e96e43e357015aa16a48e0d02&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-911%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=911&job=&cmd_args= [2021-05-07T06:06:01.842Z] -> Uploading to [2021-05-07T06:06:01.842Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-07/7E55EF52A471D76F132DFD9A03CDDE97/26aa1259699bd35e96e43e357015aa16a48e0d02/75f6eeb3-3e48-4c31-826e-c2c7afa0b4ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210507%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210507T060601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=360d6c3343337e049c746de592ba7e40b9e4510bfb8b76725ed80458d45e86b6 [2021-05-07T06:06:01.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-07T06:06:02.104Z] Dload Upload Total Spent Left Speed [2021-05-07T06:06:02.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13575 0 0 100 13575 0 32769 --:--:-- --:--:-- --:--:-- 32869 [2021-05-07T06:06:02.368Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/26aa1259699bd35e96e43e357015aa16a48e0d02 [Pipeline] } [2021-05-07T06:06:02.391Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:04.221Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:04.836Z] ---> package-listing.sh [2021-05-07T06:06:04.836Z] ++ facter osfamily [2021-05-07T06:06:04.836Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-07T06:06:04.836Z] + OS_FAMILY=redhat [2021-05-07T06:06:04.836Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-911 [2021-05-07T06:06:04.836Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-07T06:06:04.836Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-07T06:06:04.836Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-07T06:06:04.836Z] + PACKAGES=/tmp/packages_start.txt [2021-05-07T06:06:04.836Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-911 ']' [2021-05-07T06:06:04.836Z] + PACKAGES=/tmp/packages_end.txt [2021-05-07T06:06:04.836Z] + case "${OS_FAMILY}" in [2021-05-07T06:06:04.836Z] + rpm -qa [2021-05-07T06:06:04.836Z] + sort [2021-05-07T06:06:10.187Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-07T06:06:10.187Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-07T06:06:10.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-07T06:06:10.187Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-911 ']' [2021-05-07T06:06:10.187Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-911/archives/ [2021-05-07T06:06:10.187Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-911/archives/ [Pipeline] echo [2021-05-07T06:06:10.226Z] 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-911/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-07T06:06:10.542Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:06:10.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:06:10.897Z] [2021-05-07T06:06:10.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-07T06:06:11.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:06:11.535Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-07T06:06:11.535Z] df20fa9351a1: Pulling fs layer [2021-05-07T06:06:11.535Z] 36b3adc4ff6f: Pulling fs layer [2021-05-07T06:06:11.535Z] 8ad3a11d3b57: Pulling fs layer [2021-05-07T06:06:11.535Z] 46f8f816bc3b: Pulling fs layer [2021-05-07T06:06:11.535Z] 93b61091891f: Pulling fs layer [2021-05-07T06:06:11.535Z] 93b9cdb0e59b: Pulling fs layer [2021-05-07T06:06:11.535Z] 5e14af77c1be: Pulling fs layer [2021-05-07T06:06:11.535Z] 01666e4c0597: Pulling fs layer [2021-05-07T06:06:11.535Z] aa168da1d23b: Pulling fs layer [2021-05-07T06:06:11.535Z] 93b61091891f: Waiting [2021-05-07T06:06:11.535Z] 93b9cdb0e59b: Waiting [2021-05-07T06:06:11.535Z] 5e14af77c1be: Waiting [2021-05-07T06:06:11.535Z] 01666e4c0597: Waiting [2021-05-07T06:06:11.535Z] aa168da1d23b: Waiting [2021-05-07T06:06:11.535Z] 46f8f816bc3b: Waiting [2021-05-07T06:06:11.535Z] 36b3adc4ff6f: Verifying Checksum [2021-05-07T06:06:11.535Z] 36b3adc4ff6f: Download complete [2021-05-07T06:06:11.535Z] 46f8f816bc3b: Download complete [2021-05-07T06:06:11.535Z] df20fa9351a1: Verifying Checksum [2021-05-07T06:06:11.535Z] df20fa9351a1: Download complete [2021-05-07T06:06:11.805Z] 93b9cdb0e59b: Verifying Checksum [2021-05-07T06:06:11.805Z] 93b9cdb0e59b: Download complete [2021-05-07T06:06:11.805Z] 5e14af77c1be: Verifying Checksum [2021-05-07T06:06:11.805Z] 5e14af77c1be: Download complete [2021-05-07T06:06:11.805Z] 01666e4c0597: Verifying Checksum [2021-05-07T06:06:11.805Z] 01666e4c0597: Download complete [2021-05-07T06:06:12.071Z] 8ad3a11d3b57: Verifying Checksum [2021-05-07T06:06:12.071Z] 8ad3a11d3b57: Download complete [2021-05-07T06:06:12.071Z] 93b61091891f: Download complete [2021-05-07T06:06:12.071Z] df20fa9351a1: Pull complete [2021-05-07T06:06:12.350Z] 36b3adc4ff6f: Pull complete [2021-05-07T06:06:13.782Z] 8ad3a11d3b57: Pull complete [2021-05-07T06:06:14.048Z] 46f8f816bc3b: Pull complete [2021-05-07T06:06:14.311Z] aa168da1d23b: Verifying Checksum [2021-05-07T06:06:14.311Z] aa168da1d23b: Download complete [2021-05-07T06:06:14.574Z] 93b61091891f: Pull complete [2021-05-07T06:06:14.574Z] 93b9cdb0e59b: Pull complete [2021-05-07T06:06:14.837Z] 5e14af77c1be: Pull complete [2021-05-07T06:06:14.837Z] 01666e4c0597: Pull complete [2021-05-07T06:06:23.057Z] aa168da1d23b: Pull complete [2021-05-07T06:06:23.057Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-07T06:06:23.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-07T06:06:23.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-07T06:06:23.308Z] prd-centos7-docker-4c-2g-3464 does not seem to be running inside a container [2021-05-07T06:06:23.363Z] $ 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-911/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-911 -v /w/workspace/dgexfoundry_device-sdk-go_PR-911:/w/workspace/dgexfoundry_device-sdk-go_PR-911:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-07T06:06:26.312Z] $ docker top 09479b1d3d731781e2ea02f21346a1c5a151c70457aa005347c7acc58871fa56 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-07T06:06:26.834Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-07T06:06:27.176Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-07T06:06:27.505Z] + ls /var/log/sa-host [2021-05-07T06:06:27.505Z] + sadf -c /var/log/sa-host/sa07 [2021-05-07T06:06:27.505Z] file_magic: OK [2021-05-07T06:06:27.505Z] HZ: Using current value: 100 [2021-05-07T06:06:27.505Z] file_header: OK [2021-05-07T06:06:27.505Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-07T06:06:27.505Z] Statistics: [2021-05-07T06:06:27.505Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-07T06:06:27.505Z] File successfully converted to sysstat format version 12.2.1 [2021-05-07T06:06:27.505Z] + sadf -c /var/log/sa-host/sa23 [2021-05-07T06:06:27.505Z] file_magic: OK [2021-05-07T06:06:27.505Z] HZ: Using current value: 100 [2021-05-07T06:06:27.505Z] file_header: OK [2021-05-07T06:06:27.505Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-07T06:06:27.505Z] Statistics: [2021-05-07T06:06:27.505Z] Hnuu...uuuununununu... [2021-05-07T06:06:27.505Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-07T06:06:27.803Z] provisioning config files... [2021-05-07T06:06:27.820Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-911@tmp/config367327695991836583tmp [Pipeline] { [Pipeline] echo [2021-05-07T06:06:27.878Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:28.241Z] ---> create-netrc.sh [Pipeline] } [2021-05-07T06:06:28.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-07T06:06:28.363Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:28.701Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-07T06:06:28.733Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:29.076Z] ---> sudo-logs.sh [2021-05-07T06:06:29.076Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-07T06:06:29.166Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:29.508Z] ---> job-cost.sh [2021-05-07T06:06:29.508Z] lf-activate-venv: SKIPPING [2021-05-07T06:06:29.508Z] DEBUG: total: 0.20999999344348907 [2021-05-07T06:06:29.508Z] INFO: Retrieving Stack Cost... [2021-05-07T06:06:30.904Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-07T06:06:31.170Z] INFO: Archiving Costs [Pipeline] echo [2021-05-07T06:06:31.207Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-07T06:06:31.542Z] ---> logs-deploy.sh [2021-05-07T06:06:31.542Z] lf-activate-venv: SKIPPING [2021-05-07T06:06:31.542Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-911/1 [2021-05-07T06:06:31.542Z] INFO: archiving workspace using pattern(s): [2021-05-07T06:06:33.467Z] Archives upload complete. [2021-05-07T06:06:33.467Z] INFO: archiving logs to Nexus [2021-05-07T06:06:34.421Z] ---> uname -a: [2021-05-07T06:06:34.421Z] Linux prd-centos7-docker-4c-2g-3464.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-07T06:06:34.421Z] [2021-05-07T06:06:34.421Z]