Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 20a52fbacaac4ced11138b26b759052057872cf8+70dff52b8df9807f5114cad14836e8310fd11d9c (6ee8cdd5d651fb214cc5e9f57ea0d5d590eca152) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 ‘prd-centos7-docker-4c-2g-3338’ is offline Running on prd-centos7-docker-4c-2g-3340 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [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-906 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 Merge succeeded, producing 93a89503f9f5babbc00087449042227e3b47a737 Checking out Revision 93a89503f9f5babbc00087449042227e3b47a737 (PR-906) > git config core.sparsecheckout # timeout=10 > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # 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 93a89503f9f5babbc00087449042227e3b47a737 # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" > git rev-list --no-walk 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T22:42:19.986Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T22:42:20.076Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T22:42:20.103Z] ========================================================= [2021-05-06T22:42:20.103Z] EdgeX Global Pipelines Version Info [2021-05-06T22:42:20.103Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:42:23.110Z] ------------------- [2021-05-06T22:42:23.110Z] stable info: [2021-05-06T22:42:23.110Z] ------------------- [2021-05-06T22:42:23.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T22:42:23.110Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:42:23.110Z] Message: update stable to v1.0.191 [2021-05-06T22:42:24.220Z] ------------------- [2021-05-06T22:42:24.220Z] experimental info: [2021-05-06T22:42:24.220Z] ------------------- [2021-05-06T22:42:24.220Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T22:42:24.220Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:42:24.220Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T22:42:24.391Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-06T22:42:24.417Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-06T22:42:24.446Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T22:42:24.470Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T22:42:24.494Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T22:42:24.518Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T22:42:24.541Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T22:42:24.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T22:42:24.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-06T22:42:24.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T22:42:24.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T22:42:24.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-06T22:42:24.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T22:42:24.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T22:42:24.743Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:42:24.767Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:24.790Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:24.814Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:24.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T22:42:24.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T22:42:24.885Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-06T22:42:24.909Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-06T22:42:24.932Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T22:42:24.956Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T22:42:25.015Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T22:42:25.041Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T22:42:25.065Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-906 [Pipeline] echo [2021-05-06T22:42:25.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-906 [Pipeline] echo [2021-05-06T22:42:25.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-906 [Pipeline] echo [2021-05-06T22:42:25.138Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93a89503f9f5babbc00087449042227e3b47a737 [Pipeline] echo [2021-05-06T22:42:25.162Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93a8950 [Pipeline] echo [2021-05-06T22:42:25.185Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:42:25.255Z] provisioning config files... [2021-05-06T22:42:25.299Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config6741120757908029817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:42:25.671Z] ---> docker-login.sh [2021-05-06T22:42:25.671Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:42:26.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:26.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:26.590Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:26.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:26.590Z] [2021-05-06T22:42:26.590Z] Login Succeeded [2021-05-06T22:42:26.590Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:42:26.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:26.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:26.881Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:26.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:26.881Z] [2021-05-06T22:42:26.881Z] Login Succeeded [2021-05-06T22:42:26.881Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:42:27.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:27.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:27.557Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:27.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:27.557Z] [2021-05-06T22:42:27.557Z] Login Succeeded [2021-05-06T22:42:27.557Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:42:27.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:27.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:27.893Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:27.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:27.893Z] [2021-05-06T22:42:27.893Z] Login Succeeded [2021-05-06T22:42:27.893Z] docker.io [2021-05-06T22:42:28.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:28.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:28.874Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:28.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:28.874Z] [2021-05-06T22:42:28.874Z] Login Succeeded [2021-05-06T22:42:28.874Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:42:28.900Z] 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-06T22:42:29.414Z] + git log --format=format:%s -1 93a89503f9f5babbc00087449042227e3b47a737 [Pipeline] echo [2021-05-06T22:42:29.552Z] GIT_COMMIT: 93a89503f9f5babbc00087449042227e3b47a737, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo [2021-05-06T22:42:29.566Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:42:30.208Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:30.209Z] [2021-05-06T22:42:30.209Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:42:30.599Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:30.895Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T22:42:30.895Z] 31603596830f: Pulling fs layer [2021-05-06T22:42:30.895Z] 54011a49482f: Pulling fs layer [2021-05-06T22:42:30.895Z] a6820b24f6d8: Pulling fs layer [2021-05-06T22:42:30.895Z] f581987b2513: Pulling fs layer [2021-05-06T22:42:30.895Z] 54011a49482f: Verifying Checksum [2021-05-06T22:42:30.895Z] 54011a49482f: Download complete [2021-05-06T22:42:31.233Z] 31603596830f: Download complete [2021-05-06T22:42:31.233Z] f581987b2513: Verifying Checksum [2021-05-06T22:42:31.233Z] f581987b2513: Download complete [2021-05-06T22:42:31.529Z] a6820b24f6d8: Verifying Checksum [2021-05-06T22:42:31.529Z] a6820b24f6d8: Download complete [2021-05-06T22:42:31.834Z] 31603596830f: Pull complete [2021-05-06T22:42:32.141Z] 54011a49482f: Pull complete [2021-05-06T22:42:34.243Z] a6820b24f6d8: Pull complete [2021-05-06T22:42:34.243Z] f581987b2513: Pull complete [2021-05-06T22:42:34.243Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T22:42:34.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:42:34.528Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T22:42:34.831Z] prd-centos7-docker-4c-2g-3340 does not seem to be running inside a container [2021-05-06T22:42:34.930Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-906 -v /w/workspace/dgexfoundry_device-sdk-go_PR-906:/w/workspace/dgexfoundry_device-sdk-go_PR-906:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-906@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T22:42:37.477Z] $ docker top 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T22:42:37.931Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:42:37.931Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:42:38.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:42:38.449Z] $ docker exec 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 ssh-agent [2021-05-06T22:42:38.963Z] SSH_AUTH_SOCK=/tmp/ssh-o8DgJXzzEL4E/agent.11 [2021-05-06T22:42:38.963Z] SSH_AGENT_PID=16 [2021-05-06T22:42:39.010Z] Running ssh-add (command line suppressed) [2021-05-06T22:42:39.383Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_1830730962227948451.key (/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_1830730962227948451.key) [2021-05-06T22:42:39.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:42:39.969Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T22:42:40.020Z] $ docker exec --env ******** --env ******** 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 ssh-agent -k [2021-05-06T22:42:40.321Z] unset SSH_AUTH_SOCK; [2021-05-06T22:42:40.322Z] unset SSH_AGENT_PID; [2021-05-06T22:42:40.322Z] echo Agent pid 16 killed; [2021-05-06T22:42:40.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T22:42:40.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:42:40.531Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:42:41.256Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:42:41.261Z] $ docker exec 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 ssh-agent [2021-05-06T22:42:41.633Z] SSH_AUTH_SOCK=/tmp/ssh-5RTt5mafeS63/agent.44 [2021-05-06T22:42:41.633Z] SSH_AGENT_PID=50 [2021-05-06T22:42:41.654Z] Running ssh-add (command line suppressed) [2021-05-06T22:42:41.904Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_8041732407909814007.key (/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/private_key_8041732407909814007.key) [2021-05-06T22:42:42.023Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:42:42.712Z] + git semver init [2021-05-06T22:42:42.712Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T22:42:42.712Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-906/.git [2021-05-06T22:42:42.712Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-906 [2021-05-06T22:42:42.712Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T22:42:42.712Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T22:42:42.712Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T22:42:42.712Z] # $SEMVER_BRANCH = PR-906 [2021-05-06T22:42:42.712Z] # $SEMVER_TEMP = /tmp/semver-440910462 [2021-05-06T22:42:42.712Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-06T22:42:43.772Z] # '/tmp/semver-440910462' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-906/.semver' [2021-05-06T22:42:43.772Z] # -> Force: false [2021-05-06T22:42:43.772Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-906/.semver [Pipeline] } [2021-05-06T22:42:43.799Z] $ docker exec --env ******** --env ******** 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 ssh-agent -k [2021-05-06T22:42:44.132Z] unset SSH_AUTH_SOCK; [2021-05-06T22:42:44.134Z] unset SSH_AGENT_PID; [2021-05-06T22:42:44.134Z] echo Agent pid 50 killed; [2021-05-06T22:42:44.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T22:42:44.599Z] + git semver [Pipeline] } [2021-05-06T22:42:44.621Z] $ docker stop --time=1 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 [2021-05-06T22:42:46.665Z] $ docker rm -f 6e96308eab1db072c0a0ce8886d6998a0ad78f3ce15bfd4502ecbf50e725bf29 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:42:47.289Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T22:42:47.892Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T22:42:47.895Z] [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-06T22:43:03.080Z] Still waiting to schedule task [2021-05-06T22:43:03.081Z] ‘prd-centos7-docker-4c-2g-3338’ is offline; ‘prd-centos7-docker-4c-2g-3344’ is offline [2021-05-06T22:43:03.083Z] Still waiting to schedule task [2021-05-06T22:43:03.083Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-06T22:44:16.604Z] Running on prd-centos7-docker-4c-2g-3347 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [Pipeline] { [Pipeline] ws [2021-05-06T22:44:16.633Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-06T22:44:23.243Z] using credential edgex-jenkins-ssh [2021-05-06T22:44:23.259Z] Cloning the remote Git repository [2021-05-06T22:44:23.585Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:23.675Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-06T22:44:23.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:23.788Z] > git --version # timeout=10 [2021-05-06T22:44:23.834Z] > git --version # 'git version 2.24.3' [2021-05-06T22:44:23.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:23.927Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:44:25.482Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 [2021-05-06T22:44:25.689Z] Merge succeeded, producing db57cc00f4410da04bb0121c748ed27b0b9fdc25 [2021-05-06T22:44:25.689Z] Checking out Revision db57cc00f4410da04bb0121c748ed27b0b9fdc25 (PR-906) [2021-05-06T22:44:24.817Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:44:24.868Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:44:24.897Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:44:24.929Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:44:24.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:24.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:44:25.496Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:44:25.511Z] > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [2021-05-06T22:44:25.562Z] > git remote # timeout=10 [2021-05-06T22:44:25.569Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:44:25.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:44:25.592Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:44:25.638Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:44:25.705Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:44:25.760Z] > git checkout -f db57cc00f4410da04bb0121c748ed27b0b9fdc25 # timeout=10 [2021-05-06T22:44:29.857Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:44:29.869Z] > git rev-list --no-walk 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:44:31.247Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:44:31.649Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:44:31.962Z] + sudo service docker restart [2021-05-06T22:44:31.962Z] + true [2021-05-06T22:44:31.962Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:44:33.427Z] provisioning config files... [2021-05-06T22:44:33.461Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1911842953684948849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:44:33.807Z] ---> docker-login.sh [2021-05-06T22:44:33.807Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:44:34.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:34.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:34.399Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:34.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:34.399Z] [2021-05-06T22:44:34.399Z] Login Succeeded [2021-05-06T22:44:34.399Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:44:34.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:34.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:34.666Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:34.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:34.666Z] [2021-05-06T22:44:34.666Z] Login Succeeded [2021-05-06T22:44:34.666Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:44:34.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:34.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:34.958Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:34.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:34.958Z] [2021-05-06T22:44:34.958Z] Login Succeeded [2021-05-06T22:44:34.958Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:44:35.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:35.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:35.222Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:35.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:35.222Z] [2021-05-06T22:44:35.222Z] Login Succeeded [2021-05-06T22:44:35.222Z] docker.io [2021-05-06T22:44:35.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:44:35.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:44:35.754Z] Configure a credential helper to remove this warning. See [2021-05-06T22:44:35.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:44:35.754Z] [2021-05-06T22:44:35.754Z] Login Succeeded [2021-05-06T22:44:35.754Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:44:35.773Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:44:35.991Z] ========================================================= [2021-05-06T22:44:35.991Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T22:44:35.991Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:44:36.327Z] + 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-06T22:44:36.623Z] Sending build context to Docker daemon 2.482MB [2021-05-06T22:44:36.623Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:44:36.623Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:44:36.623Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T22:44:36.623Z] 540db60ca938: Pulling fs layer [2021-05-06T22:44:36.623Z] adcc1eea9eea: Pulling fs layer [2021-05-06T22:44:36.623Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T22:44:36.623Z] 0510c868ecb4: Pulling fs layer [2021-05-06T22:44:36.623Z] afea3b2eda06: Pulling fs layer [2021-05-06T22:44:36.623Z] 7809a108b3ef: Pulling fs layer [2021-05-06T22:44:36.623Z] f706445af74f: Pulling fs layer [2021-05-06T22:44:36.623Z] 0510c868ecb4: Waiting [2021-05-06T22:44:36.623Z] afea3b2eda06: Waiting [2021-05-06T22:44:36.623Z] 7809a108b3ef: Waiting [2021-05-06T22:44:36.623Z] f706445af74f: Waiting [2021-05-06T22:44:36.623Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T22:44:36.623Z] 4c4ab2625f07: Download complete [2021-05-06T22:44:36.623Z] adcc1eea9eea: Verifying Checksum [2021-05-06T22:44:36.623Z] adcc1eea9eea: Download complete [2021-05-06T22:44:36.623Z] afea3b2eda06: Verifying Checksum [2021-05-06T22:44:36.623Z] afea3b2eda06: Download complete [2021-05-06T22:44:36.888Z] 540db60ca938: Verifying Checksum [2021-05-06T22:44:36.888Z] 540db60ca938: Download complete [2021-05-06T22:44:36.888Z] 7809a108b3ef: Verifying Checksum [2021-05-06T22:44:36.888Z] 7809a108b3ef: Download complete [2021-05-06T22:44:37.157Z] 540db60ca938: Pull complete [2021-05-06T22:44:37.157Z] adcc1eea9eea: Pull complete [2021-05-06T22:44:37.427Z] 4c4ab2625f07: Pull complete [2021-05-06T22:44:38.850Z] f706445af74f: Verifying Checksum [2021-05-06T22:44:38.850Z] f706445af74f: Download complete [2021-05-06T22:44:39.442Z] 0510c868ecb4: Verifying Checksum [2021-05-06T22:44:39.442Z] 0510c868ecb4: Download complete [2021-05-06T22:44:47.714Z] 0510c868ecb4: Pull complete [2021-05-06T22:44:47.714Z] afea3b2eda06: Pull complete [2021-05-06T22:44:47.714Z] 7809a108b3ef: Pull complete [2021-05-06T22:44:52.261Z] f706445af74f: Pull complete [2021-05-06T22:44:52.261Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T22:44:52.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T22:44:52.261Z] ---> b068be0155e3 [2021-05-06T22:44:52.261Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:44:52.261Z] ---> Running in a2d0c7cdbb52 [2021-05-06T22:44:52.261Z] Removing intermediate container a2d0c7cdbb52 [2021-05-06T22:44:52.261Z] ---> 743598f556ad [2021-05-06T22:44:52.261Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:44:52.261Z] ---> Running in 7be1712f3aae [2021-05-06T22:44:54.209Z] Removing intermediate container 7be1712f3aae [2021-05-06T22:44:54.209Z] ---> df813f78a6dd [2021-05-06T22:44:54.209Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:44:54.209Z] ---> Running in e4db81fd3fab [2021-05-06T22:44:54.789Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:44:55.371Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:44:55.955Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:44:56.217Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:44:56.217Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:44:56.217Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:44:56.482Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:44:56.482Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:44:56.482Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:44:56.747Z] OK: 150 MiB in 46 packages [2021-05-06T22:44:57.333Z] Removing intermediate container e4db81fd3fab [2021-05-06T22:44:57.333Z] ---> 0a72391f361a [2021-05-06T22:44:57.333Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:44:57.333Z] ---> Running in 216d08110eb0 [2021-05-06T22:44:57.617Z] Removing intermediate container 216d08110eb0 [2021-05-06T22:44:57.617Z] ---> a09a43fc0e80 [2021-05-06T22:44:57.617Z] Step 7/8 : COPY . . [2021-05-06T22:44:59.011Z] ---> 3b02b9f7d226 [2021-05-06T22:44:59.011Z] Step 8/8 : RUN go mod download [2021-05-06T22:44:59.011Z] ---> Running in 90f534bb3fe1 [2021-05-06T22:45:25.726Z] Removing intermediate container 90f534bb3fe1 [2021-05-06T22:45:25.726Z] ---> 4ec4863f1e9d [2021-05-06T22:45:25.726Z] Successfully built 4ec4863f1e9d [2021-05-06T22:45:25.726Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:45:26.054Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:45:26.054Z] . [Pipeline] withDockerContainer [2021-05-06T22:45:26.173Z] prd-centos7-docker-4c-2g-3347 does not seem to be running inside a container [2021-05-06T22:45:26.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T22:45:27.194Z] $ docker top df9cb19e1997c90f992de5bfa3ef49d61a443880494d6338e0cfab42bc771eda -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:45:27.691Z] + go version [2021-05-06T22:45:27.691Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T22:45:27.714Z] $ docker stop --time=1 df9cb19e1997c90f992de5bfa3ef49d61a443880494d6338e0cfab42bc771eda [2021-05-06T22:45:29.247Z] $ docker rm -f df9cb19e1997c90f992de5bfa3ef49d61a443880494d6338e0cfab42bc771eda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:45:29.764Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:45:29.764Z] . [Pipeline] withDockerContainer [2021-05-06T22:45:29.878Z] prd-centos7-docker-4c-2g-3347 does not seem to be running inside a container [2021-05-06T22:45:29.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T22:45:30.643Z] $ docker top ee86b8c118903c3824e01c70a11ea0117258ea81c9c73e413753e4e84fd4de36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:45:31.128Z] + go mod tidy [Pipeline] sh [2021-05-06T22:45:32.027Z] + make test [2021-05-06T22:45:32.027Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:45:42.904Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:45:49.388Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3350 in /w/workspace/dgexfoundry_device-sdk-go_PR-906 [Pipeline] { [Pipeline] ws [2021-05-06T22:45:49.412Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-06T22:45:54.897Z] using credential edgex-jenkins-ssh [2021-05-06T22:45:54.918Z] Cloning the remote Git repository [2021-05-06T22:45:55.012Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:55.163Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-06T22:45:55.237Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:55.237Z] > git --version # timeout=10 [2021-05-06T22:45:55.256Z] > git --version # 'git version 2.17.1' [2021-05-06T22:45:55.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:55.342Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:45:56.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:45:56.646Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:45:56.674Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:45:56.709Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:56.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:56.725Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/906/head:refs/remotes/origin/PR-906 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:45:57.224Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 20a52fbacaac4ced11138b26b759052057872cf8 [2021-05-06T22:45:57.517Z] Merge succeeded, producing e2aa0f23c98fdb1602f6d3b49d7c1d83d5602df5 [2021-05-06T22:45:57.518Z] Checking out Revision e2aa0f23c98fdb1602f6d3b49d7c1d83d5602df5 (PR-906) [2021-05-06T22:45:57.266Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:45:57.291Z] > git checkout -f 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [2021-05-06T22:45:57.397Z] > git remote # timeout=10 [2021-05-06T22:45:57.421Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:45:57.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:57.447Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:45:57.521Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:45:57.543Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:45:57.555Z] > git checkout -f e2aa0f23c98fdb1602f6d3b49d7c1d83d5602df5 # timeout=10 [2021-05-06T22:46:01.982Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:46:02.007Z] > git rev-list --no-walk 20a52fbacaac4ced11138b26b759052057872cf8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:46:03.599Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:46:04.010Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:46:04.353Z] + + true [2021-05-06T22:46:04.353Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:46:07.017Z] provisioning config files... [2021-05-06T22:46:07.058Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config368505415699588473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:46:07.435Z] ---> docker-login.sh [2021-05-06T22:46:07.435Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:46:08.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:08.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:08.632Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:08.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:08.632Z] [2021-05-06T22:46:08.632Z] Login Succeeded [2021-05-06T22:46:08.632Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:46:08.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:08.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:08.908Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:08.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:08.908Z] [2021-05-06T22:46:08.908Z] Login Succeeded [2021-05-06T22:46:08.908Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:46:09.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:09.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:09.509Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:09.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:09.509Z] [2021-05-06T22:46:09.509Z] Login Succeeded [2021-05-06T22:46:09.509Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:46:09.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:10.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:10.060Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:10.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:10.060Z] [2021-05-06T22:46:10.060Z] Login Succeeded [2021-05-06T22:46:10.060Z] docker.io [2021-05-06T22:46:10.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:10.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:10.610Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:10.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:10.610Z] [2021-05-06T22:46:10.610Z] Login Succeeded [2021-05-06T22:46:10.610Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:46:10.628Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:46:10.953Z] ========================================================= [2021-05-06T22:46:10.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T22:46:10.953Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:11.306Z] + 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-06T22:46:11.580Z] Sending build context to Docker daemon 2.47MB [2021-05-06T22:46:11.854Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:46:11.854Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:46:11.854Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T22:46:11.854Z] 595b0fe564bb: Pulling fs layer [2021-05-06T22:46:11.854Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T22:46:11.854Z] 316046926c0a: Pulling fs layer [2021-05-06T22:46:11.854Z] 4ebd0625c992: Pulling fs layer [2021-05-06T22:46:11.854Z] 207e8628e3a3: Pulling fs layer [2021-05-06T22:46:11.854Z] c791037a9be2: Pulling fs layer [2021-05-06T22:46:11.854Z] ffd874e62e21: Pulling fs layer [2021-05-06T22:46:11.854Z] 207e8628e3a3: Waiting [2021-05-06T22:46:11.854Z] c791037a9be2: Waiting [2021-05-06T22:46:11.854Z] ffd874e62e21: Waiting [2021-05-06T22:46:11.854Z] 4ebd0625c992: Waiting [2021-05-06T22:46:11.854Z] 316046926c0a: Verifying Checksum [2021-05-06T22:46:11.854Z] 316046926c0a: Download complete [2021-05-06T22:46:11.854Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T22:46:11.854Z] 7186ed65a4f7: Download complete [2021-05-06T22:46:11.854Z] 207e8628e3a3: Download complete [2021-05-06T22:46:11.855Z] c791037a9be2: Verifying Checksum [2021-05-06T22:46:11.855Z] c791037a9be2: Download complete [2021-05-06T22:46:11.855Z] 595b0fe564bb: Verifying Checksum [2021-05-06T22:46:11.855Z] 595b0fe564bb: Download complete [2021-05-06T22:46:12.454Z] 595b0fe564bb: Pull complete [2021-05-06T22:46:13.053Z] 7186ed65a4f7: Pull complete [2021-05-06T22:46:13.340Z] 316046926c0a: Pull complete [2021-05-06T22:46:13.939Z] ffd874e62e21: Download complete [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:46:15.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 28.1% of statements [2021-05-06T22:46:15.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.158s coverage: 78.9% of statements [2021-05-06T22:46:15.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.072s coverage: 7.8% of statements [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:46:15.563Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.122s coverage: 30.2% of statements [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:46:15.563Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:46:15.914Z] 4ebd0625c992: Verifying Checksum [2021-05-06T22:46:15.914Z] 4ebd0625c992: Download complete [2021-05-06T22:46:16.181Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.168s coverage: 57.2% of statements [2021-05-06T22:46:17.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.356s coverage: 6.6% of statements [2021-05-06T22:46:17.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 5.0% of statements [2021-05-06T22:46:17.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:46:17.436Z] GO111MODULE=on go vet ./... [2021-05-06T22:46:26.073Z] 4ebd0625c992: Pull complete [2021-05-06T22:46:26.073Z] 207e8628e3a3: Pull complete [2021-05-06T22:46:26.073Z] c791037a9be2: Pull complete [2021-05-06T22:46:29.510Z] ffd874e62e21: Pull complete [2021-05-06T22:46:29.510Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T22:46:29.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T22:46:29.510Z] ---> cfc18b08335c [2021-05-06T22:46:29.510Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:46:32.910Z] ---> Running in b0ca0beb773f [2021-05-06T22:46:32.910Z] Removing intermediate container b0ca0beb773f [2021-05-06T22:46:32.910Z] ---> 7d470b0a6673 [2021-05-06T22:46:32.910Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:46:33.186Z] ---> Running in c6a4730c72d3 [2021-05-06T22:46:35.847Z] Removing intermediate container c6a4730c72d3 [2021-05-06T22:46:35.847Z] ---> 5c1b3af4aaad [2021-05-06T22:46:35.847Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:46:35.848Z] ---> Running in d63fa79851cd [2021-05-06T22:46:36.447Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:46:37.418Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:46:38.844Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:46:39.115Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:46:39.390Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:46:39.390Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:46:39.661Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:46:39.935Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:46:39.935Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:46:39.935Z] OK: 139 MiB in 46 packages [2021-05-06T22:46:40.247Z] gofmt -l . [2021-05-06T22:46:40.247Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:46:40.247Z] ./bin/test-attribution-txt.sh [2021-05-06T22:46:41.368Z] Removing intermediate container d63fa79851cd [2021-05-06T22:46:41.368Z] ---> 44284d512fe7 [2021-05-06T22:46:41.368Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:46:41.368Z] ---> Running in 7eb12ad4f664 [2021-05-06T22:46:41.708Z] ./bin/test-go-mod-tidy.sh [2021-05-06T22:46:41.964Z] Removing intermediate container 7eb12ad4f664 [2021-05-06T22:46:41.964Z] ---> 5980972b2fba [2021-05-06T22:46:41.964Z] Step 7/8 : COPY . . [Pipeline] } [2021-05-06T22:46:42.009Z] $ docker stop --time=1 ee86b8c118903c3824e01c70a11ea0117258ea81c9c73e413753e4e84fd4de36 [2021-05-06T22:46:43.399Z] ---> 791bf48b450e [2021-05-06T22:46:43.399Z] Step 8/8 : RUN go mod download [2021-05-06T22:46:43.399Z] ---> Running in 45867e705f2b [2021-05-06T22:46:43.994Z] $ docker rm -f ee86b8c118903c3824e01c70a11ea0117258ea81c9c73e413753e4e84fd4de36 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:46:44.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:46:45.045Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T22:46:46.001Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:46:46.310Z] + ls -al . [2021-05-06T22:46:46.310Z] total 188 [2021-05-06T22:46:46.310Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 6 22:46 . [2021-05-06T22:46:46.310Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:44 .. [2021-05-06T22:46:46.310Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:44 bin [2021-05-06T22:46:46.310Z] -rw-r--r--. 1 jenkins jenkins 100320 May 6 22:46 coverage.out [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 987 May 6 22:44 Dockerfile.build [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 140 May 6 22:44 .dockerignore [2021-05-06T22:46:46.310Z] drwxrwxr-x. 5 jenkins jenkins 62 May 6 22:44 example [2021-05-06T22:46:46.310Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:44 .git [2021-05-06T22:46:46.310Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:44 .github [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 138 May 6 22:44 .gitignore [2021-05-06T22:46:46.310Z] -rw-r--r--. 1 jenkins jenkins 575 May 6 22:46 go.mod [2021-05-06T22:46:46.310Z] -rw-r--r--. 1 jenkins jenkins 20675 May 6 22:45 go.sum [2021-05-06T22:46:46.310Z] drwxrwxr-x. 14 jenkins jenkins 207 May 6 22:44 internal [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 901 May 6 22:44 Jenkinsfile [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 6 22:44 LICENSE [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 6 22:44 Makefile [2021-05-06T22:46:46.310Z] drwxrwxr-x. 4 jenkins jenkins 26 May 6 22:44 openapi [2021-05-06T22:46:46.310Z] drwxrwxr-x. 5 jenkins jenkins 50 May 6 22:44 pkg [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 6 22:44 README.md [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 6 22:44 RELEASE-NOTES.txt [2021-05-06T22:46:46.310Z] drwxrwxr-x. 4 jenkins jenkins 54 May 6 22:44 snap [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:42 VERSION [2021-05-06T22:46:46.310Z] -rw-rw-r--. 1 jenkins jenkins 222 May 6 22:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:46.622Z] + 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=93a89503f9f5babbc00087449042227e3b47a737 --label arch=amd64 --label version=0.0.0 . [2021-05-06T22:46:46.887Z] Sending build context to Docker daemon 2.583MB [2021-05-06T22:46:46.887Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:46:46.887Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:46:46.887Z] ---> 4ec4863f1e9d [2021-05-06T22:46:46.887Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:46:47.464Z] ---> Running in 5e88075dee46 [2021-05-06T22:46:47.729Z] Removing intermediate container 5e88075dee46 [2021-05-06T22:46:47.729Z] ---> ebe2df2296a9 [2021-05-06T22:46:47.729Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:46:47.729Z] ---> Running in 0aa1a08584c2 [2021-05-06T22:46:47.729Z] Removing intermediate container 0aa1a08584c2 [2021-05-06T22:46:47.729Z] ---> 558257b4cd5f [2021-05-06T22:46:47.729Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:46:47.992Z] ---> Running in 1c8af53c288c [2021-05-06T22:46:48.956Z] Removing intermediate container 1c8af53c288c [2021-05-06T22:46:48.956Z] ---> e80102432b3e [2021-05-06T22:46:48.956Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:46:48.956Z] ---> Running in a53bd30661f9 [2021-05-06T22:46:49.555Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:46:50.512Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:46:51.920Z] OK: 150 MiB in 46 packages [2021-05-06T22:46:52.183Z] Removing intermediate container a53bd30661f9 [2021-05-06T22:46:52.184Z] ---> 4959937a5629 [2021-05-06T22:46:52.184Z] Step 7/23 : COPY . . [2021-05-06T22:46:53.137Z] ---> 7f9f9ab2ce51 [2021-05-06T22:46:53.137Z] Step 8/23 : RUN go mod download [2021-05-06T22:46:53.137Z] ---> Running in 7eb79e464c6c [2021-05-06T22:46:54.092Z] Removing intermediate container 7eb79e464c6c [2021-05-06T22:46:54.092Z] ---> ac39410c6a65 [2021-05-06T22:46:54.092Z] Step 9/23 : RUN make build [2021-05-06T22:46:54.356Z] ---> Running in 9ac3ac49e407 [2021-05-06T22:46:54.940Z] 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-06T22:47:10.208Z] Removing intermediate container 45867e705f2b [2021-05-06T22:47:10.208Z] ---> 0e482914f44e [2021-05-06T22:47:10.208Z] Successfully built 0e482914f44e [2021-05-06T22:47:10.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:47:10.559Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:47:10.559Z] . [Pipeline] withDockerContainer [2021-05-06T22:47:10.837Z] prd-ubuntu18.04-docker-arm64-4c-16g-3350 does not seem to be running inside a container [2021-05-06T22:47:10.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T22:47:12.461Z] $ docker top 1a0672fdd44237458f5494b12c624e5b67539c5713ff4d2d4c395a24787f8e36 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:47:13.413Z] + go version [2021-05-06T22:47:13.413Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T22:47:13.464Z] $ docker stop --time=1 1a0672fdd44237458f5494b12c624e5b67539c5713ff4d2d4c395a24787f8e36 [2021-05-06T22:47:13.564Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:47:13.564Z] Removing intermediate container 9ac3ac49e407 [2021-05-06T22:47:13.564Z] ---> 74ae54622fc3 [2021-05-06T22:47:13.564Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:47:14.167Z] 3.12: Pulling from library/alpine [2021-05-06T22:47:14.167Z] 339de151aab4: Pulling fs layer [2021-05-06T22:47:14.477Z] 339de151aab4: Verifying Checksum [2021-05-06T22:47:14.477Z] 339de151aab4: Download complete [2021-05-06T22:47:14.745Z] 339de151aab4: Pull complete [2021-05-06T22:47:14.745Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:47:14.745Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:47:14.745Z] ---> 13621d1b12d4 [2021-05-06T22:47:14.745Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:47:15.039Z] ---> Running in f5fab85e6299 [2021-05-06T22:47:15.370Z] $ docker rm -f 1a0672fdd44237458f5494b12c624e5b67539c5713ff4d2d4c395a24787f8e36 [2021-05-06T22:47:15.380Z] Removing intermediate container f5fab85e6299 [2021-05-06T22:47:15.380Z] ---> 0c53bfbb5549 [2021-05-06T22:47:15.380Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:47:15.380Z] ---> Running in e48327f05b55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:47:16.030Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:47:16.030Z] . [Pipeline] withDockerContainer [2021-05-06T22:47:16.291Z] prd-ubuntu18.04-docker-arm64-4c-16g-3350 does not seem to be running inside a container [2021-05-06T22:47:16.407Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T22:47:17.438Z] Removing intermediate container e48327f05b55 [2021-05-06T22:47:17.438Z] ---> a41c69a8c4be [2021-05-06T22:47:17.438Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:47:17.438Z] ---> Running in 5c4b40cf4f0e [2021-05-06T22:47:17.882Z] $ docker top ba9abeb083937079ded42970fbb2e14d6a29f40f00563b6ede4c76619acfe91c -eo pid,comm [2021-05-06T22:47:18.043Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] { [Pipeline] sh [2021-05-06T22:47:18.650Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:47:18.830Z] + go mod tidy [2021-05-06T22:47:19.270Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:47:19.271Z] (2/5) Installing libsodium (1.0.18-r0) [Pipeline] sh [2021-05-06T22:47:19.537Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:47:19.537Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:47:19.806Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:47:19.806Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:47:19.806Z] OK: 8 MiB in 19 packages [2021-05-06T22:47:20.119Z] + make test [2021-05-06T22:47:20.119Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:47:20.396Z] Removing intermediate container 5c4b40cf4f0e [2021-05-06T22:47:20.396Z] ---> ae182c782b33 [2021-05-06T22:47:20.396Z] Step 14/23 : WORKDIR / [2021-05-06T22:47:20.396Z] ---> Running in 35f67a38ea91 [2021-05-06T22:47:20.664Z] Removing intermediate container 35f67a38ea91 [2021-05-06T22:47:20.664Z] ---> d842fb5c2755 [2021-05-06T22:47:20.664Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:47:20.938Z] ---> c6e1da9cf639 [2021-05-06T22:47:20.938Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:47:22.361Z] ---> 5df7c83f5945 [2021-05-06T22:47:22.361Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:47:22.629Z] ---> 049e161f8bf1 [2021-05-06T22:47:22.629Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:47:22.629Z] ---> Running in c857c8292645 [2021-05-06T22:47:22.896Z] Removing intermediate container c857c8292645 [2021-05-06T22:47:22.896Z] ---> 3166b2c0680a [2021-05-06T22:47:22.896Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:47:22.896Z] ---> Running in cf8308f0c5e5 [2021-05-06T22:47:23.169Z] Removing intermediate container cf8308f0c5e5 [2021-05-06T22:47:23.169Z] ---> 0f5eba881bb6 [2021-05-06T22:47:23.169Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:47:23.169Z] ---> Running in c751e769dc6b [2021-05-06T22:47:23.435Z] Removing intermediate container c751e769dc6b [2021-05-06T22:47:23.435Z] ---> 4be605c970bc [2021-05-06T22:47:23.435Z] Step 21/23 : LABEL arch=amd64 [2021-05-06T22:47:23.435Z] ---> Running in 5f4709912834 [2021-05-06T22:47:23.435Z] Removing intermediate container 5f4709912834 [2021-05-06T22:47:23.435Z] ---> 5eb7c72172bd [2021-05-06T22:47:23.435Z] Step 22/23 : LABEL git_sha=93a89503f9f5babbc00087449042227e3b47a737 [2021-05-06T22:47:23.700Z] ---> Running in 2b77004c5791 [2021-05-06T22:47:23.700Z] Removing intermediate container 2b77004c5791 [2021-05-06T22:47:23.700Z] ---> 657f5419a972 [2021-05-06T22:47:23.700Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:47:23.973Z] ---> Running in f4d88edaba09 [2021-05-06T22:47:23.973Z] Removing intermediate container f4d88edaba09 [2021-05-06T22:47:23.973Z] ---> 709845f52b3d [2021-05-06T22:47:23.973Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-06T22:47:23.973Z] Successfully built 709845f52b3d [2021-05-06T22:47:23.973Z] 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-06T22:47:24.569Z] ---> job-cost.sh [2021-05-06T22:47:24.569Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6SJI [2021-05-06T22:47:42.303Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:47:42.848Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:48:21.943Z] lf-activate-venv(): INFO: Adding /tmp/venv-6SJI/bin to PATH [2021-05-06T22:48:21.943Z] INFO: No Stack... [2021-05-06T22:48:21.943Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:48:21.943Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:48:22.259Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-06T22:48:22.259Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:48:22.361Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] [2021-05-06T22:48:22.370Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] did not exist. Created. [2021-05-06T22:48:22.370Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:48:22.704Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T22:48:22.828Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:48:22.838Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T22:48:50.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:48:50.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:48:50.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:48:50.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T22:48:50.999Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:48:53.708Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.140s coverage: 28.1% of statements [2021-05-06T22:48:53.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.195s coverage: 78.9% of statements [2021-05-06T22:48:53.984Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.184s coverage: 7.8% of statements [2021-05-06T22:48:53.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:48:53.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:48:53.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:48:56.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.222s coverage: 30.2% of statements [2021-05-06T22:48:56.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:48:56.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:48:56.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:48:59.285Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.313s coverage: 57.2% of statements [2021-05-06T22:48:59.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.183s coverage: 6.6% of statements [2021-05-06T22:48:59.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.161s coverage: 5.0% of statements [2021-05-06T22:48:59.906Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:49:00.509Z] GO111MODULE=on go vet ./... [2021-05-06T22:49:57.141Z] gofmt -l . [2021-05-06T22:49:57.141Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:49:57.141Z] ./bin/test-attribution-txt.sh [2021-05-06T22:49:57.141Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:49:57.225Z] $ docker stop --time=1 ba9abeb083937079ded42970fbb2e14d6a29f40f00563b6ede4c76619acfe91c [2021-05-06T22:49:59.423Z] $ docker rm -f ba9abeb083937079ded42970fbb2e14d6a29f40f00563b6ede4c76619acfe91c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:50:00.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:50:00.523Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T22:50:01.444Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:50:01.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:50:02.332Z] + ls -al . [2021-05-06T22:50:02.332Z] total 224 [2021-05-06T22:50:02.332Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 22:49 . [2021-05-06T22:50:02.332Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:45 .. [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 140 May 6 22:45 .dockerignore [2021-05-06T22:50:02.332Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:46 .git [2021-05-06T22:50:02.332Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:45 .github [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 138 May 6 22:45 .gitignore [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 987 May 6 22:45 Dockerfile.build [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 901 May 6 22:45 Jenkinsfile [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 6 22:45 LICENSE [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 6 22:45 Makefile [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 6 22:45 README.md [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 6 22:45 RELEASE-NOTES.txt [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:42 VERSION [2021-05-06T22:50:02.332Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:45 bin [2021-05-06T22:50:02.332Z] -rw-r--r-- 1 jenkins jenkins 100320 May 6 22:48 coverage.out [2021-05-06T22:50:02.332Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:45 example [2021-05-06T22:50:02.332Z] -rw-r--r-- 1 jenkins jenkins 575 May 6 22:49 go.mod [2021-05-06T22:50:02.332Z] -rw-r--r-- 1 jenkins jenkins 20675 May 6 22:47 go.sum [2021-05-06T22:50:02.332Z] drwxrwxr-x 14 jenkins jenkins 4096 May 6 22:45 internal [2021-05-06T22:50:02.332Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:45 openapi [2021-05-06T22:50:02.332Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:45 pkg [2021-05-06T22:50:02.332Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:45 snap [2021-05-06T22:50:02.332Z] -rw-rw-r-- 1 jenkins jenkins 222 May 6 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:50:02.860Z] + 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=93a89503f9f5babbc00087449042227e3b47a737 --label arch=arm64 --label version=0.0.0 . [2021-05-06T22:50:03.508Z] Sending build context to Docker daemon 2.571MB [2021-05-06T22:50:03.508Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:50:03.508Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:50:03.508Z] ---> 0e482914f44e [2021-05-06T22:50:03.508Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:50:03.786Z] ---> Running in 0c94652e22f0 [2021-05-06T22:50:04.380Z] Removing intermediate container 0c94652e22f0 [2021-05-06T22:50:04.380Z] ---> f8edb2034a2a [2021-05-06T22:50:04.380Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:50:04.380Z] ---> Running in d8e1fead3562 [2021-05-06T22:50:04.979Z] Removing intermediate container d8e1fead3562 [2021-05-06T22:50:04.979Z] ---> 821fe6d9622d [2021-05-06T22:50:04.979Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:50:04.979Z] ---> Running in 7625b1122910 [2021-05-06T22:50:07.603Z] Removing intermediate container 7625b1122910 [2021-05-06T22:50:07.603Z] ---> 13ab1fa18039 [2021-05-06T22:50:07.603Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:50:07.603Z] ---> Running in 985095ad8492 [2021-05-06T22:50:08.196Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:50:09.183Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:50:10.163Z] OK: 139 MiB in 46 packages [2021-05-06T22:50:11.592Z] Removing intermediate container 985095ad8492 [2021-05-06T22:50:11.592Z] ---> 8429d666c615 [2021-05-06T22:50:11.592Z] Step 7/23 : COPY . . [2021-05-06T22:50:13.026Z] ---> 4869dfb5a395 [2021-05-06T22:50:13.026Z] Step 8/23 : RUN go mod download [2021-05-06T22:50:13.026Z] ---> Running in d7326ff4dc1d [2021-05-06T22:50:14.998Z] Removing intermediate container d7326ff4dc1d [2021-05-06T22:50:14.998Z] ---> 128eec4b14c2 [2021-05-06T22:50:14.998Z] Step 9/23 : RUN make build [2021-05-06T22:50:14.998Z] ---> Running in fd4dff84bc27 [2021-05-06T22:50:16.448Z] 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-06T22:50:49.814Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:50:51.252Z] Removing intermediate container fd4dff84bc27 [2021-05-06T22:50:51.252Z] ---> 2c285ffd2793 [2021-05-06T22:50:51.252Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:50:51.844Z] 3.12: Pulling from library/alpine [2021-05-06T22:50:51.844Z] d2f70382dc9a: Pulling fs layer [2021-05-06T22:50:52.116Z] d2f70382dc9a: Verifying Checksum [2021-05-06T22:50:52.116Z] d2f70382dc9a: Download complete [2021-05-06T22:50:52.712Z] d2f70382dc9a: Pull complete [2021-05-06T22:50:52.712Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:50:52.712Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:50:52.712Z] ---> 9852663dfa18 [2021-05-06T22:50:52.712Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:50:52.997Z] ---> Running in 687e46baf2fe [2021-05-06T22:50:53.269Z] Removing intermediate container 687e46baf2fe [2021-05-06T22:50:53.269Z] ---> 34929631cfea [2021-05-06T22:50:53.269Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:50:53.541Z] ---> Running in f2268f8b7da5 [2021-05-06T22:50:55.512Z] Removing intermediate container f2268f8b7da5 [2021-05-06T22:50:55.512Z] ---> 974aa6b8d17d [2021-05-06T22:50:55.512Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:50:55.785Z] ---> Running in 0842531a1a41 [2021-05-06T22:50:56.759Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:50:57.736Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:50:58.330Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:50:58.330Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:50:58.330Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:50:58.600Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:50:58.600Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:50:58.871Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:50:58.871Z] OK: 8 MiB in 19 packages [2021-05-06T22:51:00.307Z] Removing intermediate container 0842531a1a41 [2021-05-06T22:51:00.307Z] ---> 057f3155fd98 [2021-05-06T22:51:00.307Z] Step 14/23 : WORKDIR / [2021-05-06T22:51:00.307Z] ---> Running in ed9fced95a0f [2021-05-06T22:51:00.585Z] Removing intermediate container ed9fced95a0f [2021-05-06T22:51:00.585Z] ---> 9d702a29abfe [2021-05-06T22:51:00.585Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:51:01.563Z] ---> b78203c2185a [2021-05-06T22:51:01.563Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:51:02.553Z] ---> 0966e58da147 [2021-05-06T22:51:02.553Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:51:03.526Z] ---> 1954dc3440b1 [2021-05-06T22:51:03.526Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:51:03.526Z] ---> Running in c56a178b8316 [2021-05-06T22:51:04.123Z] Removing intermediate container c56a178b8316 [2021-05-06T22:51:04.123Z] ---> 3835c28b1f35 [2021-05-06T22:51:04.123Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:51:04.123Z] ---> Running in adb36aa31b22 [2021-05-06T22:51:04.717Z] Removing intermediate container adb36aa31b22 [2021-05-06T22:51:04.717Z] ---> d5652d45051c [2021-05-06T22:51:04.717Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:51:04.717Z] ---> Running in 85497e0299dd [2021-05-06T22:51:05.310Z] Removing intermediate container 85497e0299dd [2021-05-06T22:51:05.310Z] ---> 8c6d3176e9a9 [2021-05-06T22:51:05.310Z] Step 21/23 : LABEL arch=arm64 [2021-05-06T22:51:05.310Z] ---> Running in 79ea5c4b38f3 [2021-05-06T22:51:05.903Z] Removing intermediate container 79ea5c4b38f3 [2021-05-06T22:51:05.903Z] ---> ffef1a6b104b [2021-05-06T22:51:05.903Z] Step 22/23 : LABEL git_sha=93a89503f9f5babbc00087449042227e3b47a737 [2021-05-06T22:51:05.903Z] ---> Running in 87c154fd696f [2021-05-06T22:51:06.499Z] Removing intermediate container 87c154fd696f [2021-05-06T22:51:06.499Z] ---> 8f51d2861d57 [2021-05-06T22:51:06.499Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:51:06.499Z] ---> Running in a59c62314241 [2021-05-06T22:51:07.090Z] Removing intermediate container a59c62314241 [2021-05-06T22:51:07.090Z] ---> ac255b7abb06 [2021-05-06T22:51:07.090Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-06T22:51:07.090Z] Successfully built ac255b7abb06 [2021-05-06T22:51:07.090Z] 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-06T22:51:07.537Z] ---> job-cost.sh [2021-05-06T22:51:07.537Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-3pjj [2021-05-06T22:51:46.527Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:53:08.520Z] lf-activate-venv(): INFO: Adding /tmp/venv-3pjj/bin to PATH [2021-05-06T22:53:08.520Z] INFO: No Stack... [2021-05-06T22:53:08.520Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T22:53:08.520Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:53:08.856Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-06T22:53:08.856Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:53:08.963Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] [2021-05-06T22:53:08.975Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] did not exist. Created. [2021-05-06T22:53:08.975Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-906-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:53:09.342Z] /w/workspace/device-sdk-go/2@tmp/durable-85129820/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-85129820/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T22:53:09.690Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T22:53:09.721Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T22:53:09.875Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:53:09.887Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-906-2-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-06T22:53:10.379Z] provisioning config files... [2021-05-06T22:53:10.396Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config5035298564884126474tmp [Pipeline] { [Pipeline] sh [2021-05-06T22:53:10.876Z] + set +x [2021-05-06T22:53:10.877Z] + bash -s -- [2021-05-06T22:53:10.877Z] + curl -s https://codecov.io/bash [2021-05-06T22:53:11.199Z] [2021-05-06T22:53:11.199Z] _____ _ [2021-05-06T22:53:11.199Z] / ____| | | [2021-05-06T22:53:11.199Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T22:53:11.199Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T22:53:11.199Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T22:53:11.199Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T22:53:11.199Z] Bash-1.0.2 [2021-05-06T22:53:11.199Z] [2021-05-06T22:53:11.199Z] [2021-05-06T22:53:11.199Z] ==> git version 2.24.3 found [2021-05-06T22:53:11.199Z] ==> 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-06T22:53:11.199Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T22:53:11.199Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T22:53:11.199Z] ==> Jenkins CI detected. [2021-05-06T22:53:11.199Z] project root: . [2021-05-06T22:53:11.199Z] --> token set from env [2021-05-06T22:53:11.199Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T22:53:11.473Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T22:53:11.473Z] ==> Python coveragepy not found [2021-05-06T22:53:11.473Z] ==> Searching for coverage reports in: [2021-05-06T22:53:11.473Z] + . [2021-05-06T22:53:11.473Z] -> Found 1 reports [2021-05-06T22:53:11.473Z] ==> Detecting git/mercurial file structure [2021-05-06T22:53:11.473Z] ==> Reading reports [2021-05-06T22:53:11.473Z] + ./coverage.out bytes=100320 [2021-05-06T22:53:11.473Z] ==> Appending adjustments [2021-05-06T22:53:11.473Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T22:53:12.107Z] + Found adjustments [2021-05-06T22:53:12.107Z] ==> Gzipping contents [2021-05-06T22:53:12.107Z] 16K /tmp/codecov.iOWBrK.gz [2021-05-06T22:53:12.107Z] ==> Uploading reports [2021-05-06T22:53:12.107Z] url: https://codecov.io [2021-05-06T22:53:12.107Z] query: branch=PR-906&commit=93a89503f9f5babbc00087449042227e3b47a737&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-906%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=906&job=&cmd_args= [2021-05-06T22:53:12.108Z] -> Pinging Codecov [2021-05-06T22:53:12.108Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-906&commit=93a89503f9f5babbc00087449042227e3b47a737&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-906%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=906&job=&cmd_args= [2021-05-06T22:53:13.162Z] -> Uploading to [2021-05-06T22:53:13.162Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/93a89503f9f5babbc00087449042227e3b47a737/9767961a-8b31-4721-a388-8530cb63e367.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T225312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e188985468ab7238ae242732de480cf1e7d02f6262b50b58d2ec7796c190840 [2021-05-06T22:53:13.162Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T22:53:13.162Z] Dload Upload Total Spent Left Speed [2021-05-06T22:53:13.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13524 0 0 100 13524 0 25880 --:--:-- --:--:-- --:--:-- 25908 [2021-05-06T22:53:13.440Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/93a89503f9f5babbc00087449042227e3b47a737 [Pipeline] } [2021-05-06T22:53:13.460Z] 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-06T22:53:14.572Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:15.239Z] ---> package-listing.sh [2021-05-06T22:53:15.239Z] ++ facter osfamily [2021-05-06T22:53:15.239Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T22:53:15.522Z] + OS_FAMILY=redhat [2021-05-06T22:53:15.522Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-906 [2021-05-06T22:53:15.522Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T22:53:15.522Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T22:53:15.522Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T22:53:15.522Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T22:53:15.522Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-906 ']' [2021-05-06T22:53:15.522Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T22:53:15.522Z] + case "${OS_FAMILY}" in [2021-05-06T22:53:15.522Z] + sort [2021-05-06T22:53:15.522Z] + rpm -qa [2021-05-06T22:53:22.223Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T22:53:22.223Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T22:53:22.223Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T22:53:22.223Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-906 ']' [2021-05-06T22:53:22.223Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-906/archives/ [2021-05-06T22:53:22.223Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-906/archives/ [Pipeline] echo [2021-05-06T22:53:22.242Z] 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-906/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T22:53:22.689Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:53:23.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:53:23.355Z] [2021-05-06T22:53:23.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:53:23.717Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:53:23.718Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T22:53:23.718Z] df20fa9351a1: Pulling fs layer [2021-05-06T22:53:23.718Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T22:53:23.718Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T22:53:23.718Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T22:53:23.718Z] 93b61091891f: Pulling fs layer [2021-05-06T22:53:23.718Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T22:53:23.718Z] 5e14af77c1be: Pulling fs layer [2021-05-06T22:53:23.718Z] 01666e4c0597: Pulling fs layer [2021-05-06T22:53:23.718Z] aa168da1d23b: Pulling fs layer [2021-05-06T22:53:23.718Z] 5e14af77c1be: Waiting [2021-05-06T22:53:23.718Z] 01666e4c0597: Waiting [2021-05-06T22:53:23.718Z] 93b9cdb0e59b: Waiting [2021-05-06T22:53:23.718Z] 93b61091891f: Waiting [2021-05-06T22:53:23.718Z] 46f8f816bc3b: Waiting [2021-05-06T22:53:24.029Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T22:53:24.029Z] 36b3adc4ff6f: Download complete [2021-05-06T22:53:24.029Z] 46f8f816bc3b: Download complete [2021-05-06T22:53:24.029Z] df20fa9351a1: Download complete [2021-05-06T22:53:24.479Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T22:53:24.479Z] 93b9cdb0e59b: Download complete [2021-05-06T22:53:24.479Z] 5e14af77c1be: Verifying Checksum [2021-05-06T22:53:24.479Z] 5e14af77c1be: Download complete [2021-05-06T22:53:24.479Z] 01666e4c0597: Verifying Checksum [2021-05-06T22:53:24.479Z] 01666e4c0597: Download complete [2021-05-06T22:53:24.479Z] 93b61091891f: Verifying Checksum [2021-05-06T22:53:24.479Z] 93b61091891f: Download complete [2021-05-06T22:53:25.402Z] df20fa9351a1: Pull complete [2021-05-06T22:53:26.279Z] 36b3adc4ff6f: Pull complete [2021-05-06T22:53:26.616Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T22:53:26.617Z] 8ad3a11d3b57: Download complete [2021-05-06T22:53:28.953Z] 8ad3a11d3b57: Pull complete [2021-05-06T22:53:29.237Z] 46f8f816bc3b: Pull complete [2021-05-06T22:53:30.435Z] 93b61091891f: Pull complete [2021-05-06T22:53:30.747Z] 93b9cdb0e59b: Pull complete [2021-05-06T22:53:31.445Z] 5e14af77c1be: Pull complete [2021-05-06T22:53:31.755Z] 01666e4c0597: Pull complete [2021-05-06T22:53:32.821Z] aa168da1d23b: Verifying Checksum [2021-05-06T22:53:32.821Z] aa168da1d23b: Download complete [2021-05-06T22:53:51.482Z] aa168da1d23b: Pull complete [2021-05-06T22:53:51.482Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T22:53:51.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:53:51.482Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T22:53:52.111Z] prd-centos7-docker-4c-2g-3340 does not seem to be running inside a container [2021-05-06T22:53:52.206Z] $ 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-906/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-906 -v /w/workspace/dgexfoundry_device-sdk-go_PR-906:/w/workspace/dgexfoundry_device-sdk-go_PR-906:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-906@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T22:53:55.947Z] $ docker top cc8b0a050c5150ce1baf61c9caa6470dfab03f5203031bd65d660179f456641f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:53:56.481Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T22:53:56.867Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T22:53:57.679Z] + ls /var/log/sa-host [2021-05-06T22:53:57.679Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T22:53:57.679Z] file_magic: OK [2021-05-06T22:53:57.679Z] HZ: Using current value: 100 [2021-05-06T22:53:57.679Z] file_header: OK [2021-05-06T22:53:57.679Z] 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-06T22:53:57.679Z] Statistics: [2021-05-06T22:53:57.679Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-06T22:53:57.679Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T22:53:57.679Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T22:53:57.679Z] file_magic: OK [2021-05-06T22:53:57.679Z] HZ: Using current value: 100 [2021-05-06T22:53:57.679Z] file_header: OK [2021-05-06T22:53:57.679Z] 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-06T22:53:57.679Z] Statistics: [2021-05-06T22:53:57.679Z] Hnuu...uuuununununu... [2021-05-06T22:53:57.679Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T22:53:57.899Z] provisioning config files... [2021-05-06T22:53:57.925Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-906@tmp/config6152808221826892141tmp [Pipeline] { [Pipeline] echo [2021-05-06T22:53:57.968Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:58.324Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T22:53:58.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T22:53:58.372Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:59.116Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T22:53:59.138Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:53:59.548Z] ---> sudo-logs.sh [2021-05-06T22:53:59.549Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T22:53:59.587Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:54:00.558Z] ---> job-cost.sh [2021-05-06T22:54:00.558Z] lf-activate-venv: SKIPPING [2021-05-06T22:54:00.558Z] DEBUG: total: 0.20999999344348907 [2021-05-06T22:54:00.558Z] INFO: Retrieving Stack Cost... [2021-05-06T22:54:01.436Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:54:02.434Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T22:54:02.464Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:54:03.291Z] ---> logs-deploy.sh [2021-05-06T22:54:03.291Z] lf-activate-venv: SKIPPING [2021-05-06T22:54:03.291Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-906/2 [2021-05-06T22:54:03.291Z] INFO: archiving workspace using pattern(s): [2021-05-06T22:54:06.718Z] Archives upload complete. [2021-05-06T22:54:06.718Z] INFO: archiving logs to Nexus