Pull request #912 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 4ce5a3699167fe1fd8c949993467574400e9bc24+6cc4c25230d964bbb6ccd74e42769d1c7a10d9be (4f9fe1488194d832c93a685136d5f66e091f9eda) 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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4025’ Running on prd-centos7-docker-4c-2g-4028 in /w/workspace/dgexfoundry_device-sdk-go_PR-912 [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-912 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 4ce5a3699167fe1fd8c949993467574400e9bc24 Merge succeeded, producing 7812047775a6ae24fca0d0343c05e434ffe67b62 Checking out Revision 7812047775a6ae24fca0d0343c05e434ffe67b62 (PR-912) > 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/912/head:refs/remotes/origin/PR-912 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ce5a3699167fe1fd8c949993467574400e9bc24 # 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 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7812047775a6ae24fca0d0343c05e434ffe67b62 # timeout=10 Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" > git rev-list --no-walk 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T06:56:29.319Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T06:56:29.423Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T06:56:29.453Z] ========================================================= [2021-05-10T06:56:29.453Z] EdgeX Global Pipelines Version Info [2021-05-10T06:56:29.453Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:56:31.128Z] ------------------- [2021-05-10T06:56:31.128Z] stable info: [2021-05-10T06:56:31.128Z] ------------------- [2021-05-10T06:56:31.128Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T06:56:31.128Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T06:56:31.128Z] Message: update stable to v1.0.191 [2021-05-10T06:56:32.081Z] ------------------- [2021-05-10T06:56:32.081Z] experimental info: [2021-05-10T06:56:32.081Z] ------------------- [2021-05-10T06:56:32.081Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T06:56:32.081Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T06:56:32.081Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T06:56:32.214Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-10T06:56:32.239Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-10T06:56:32.263Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T06:56:32.289Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T06:56:32.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T06:56:32.340Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T06:56:32.374Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T06:56:32.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T06:56:32.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-10T06:56:32.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T06:56:32.477Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T06:56:32.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-10T06:56:32.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T06:56:32.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T06:56:32.584Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T06:56:32.611Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T06:56:32.637Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T06:56:32.664Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T06:56:32.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T06:56:32.716Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T06:56:32.742Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-10T06:56:32.766Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-10T06:56:32.792Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T06:56:32.818Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T06:56:32.843Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T06:56:32.867Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T06:56:32.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-912 [Pipeline] echo [2021-05-10T06:56:32.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-912 [Pipeline] echo [2021-05-10T06:56:32.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-912 [Pipeline] echo [2021-05-10T06:56:32.971Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7812047775a6ae24fca0d0343c05e434ffe67b62 [Pipeline] echo [2021-05-10T06:56:32.998Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7812047 [Pipeline] echo [2021-05-10T06:56:33.023Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T06:56:33.099Z] provisioning config files... [2021-05-10T06:56:33.138Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/config8364817635559259497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T06:56:33.476Z] ---> docker-login.sh [2021-05-10T06:56:33.476Z] nexus3.edgexfoundry.org:10001 [2021-05-10T06:56:33.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:56:34.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:56:34.006Z] Configure a credential helper to remove this warning. See [2021-05-10T06:56:34.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:56:34.006Z] [2021-05-10T06:56:34.006Z] Login Succeeded [2021-05-10T06:56:34.006Z] nexus3.edgexfoundry.org:10002 [2021-05-10T06:56:34.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:56:34.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:56:34.006Z] Configure a credential helper to remove this warning. See [2021-05-10T06:56:34.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:56:34.006Z] [2021-05-10T06:56:34.006Z] Login Succeeded [2021-05-10T06:56:34.006Z] nexus3.edgexfoundry.org:10003 [2021-05-10T06:56:34.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:56:34.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:56:34.271Z] Configure a credential helper to remove this warning. See [2021-05-10T06:56:34.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:56:34.271Z] [2021-05-10T06:56:34.271Z] Login Succeeded [2021-05-10T06:56:34.271Z] nexus3.edgexfoundry.org:10004 [2021-05-10T06:56:34.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:56:34.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:56:34.535Z] Configure a credential helper to remove this warning. See [2021-05-10T06:56:34.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:56:34.535Z] [2021-05-10T06:56:34.535Z] Login Succeeded [2021-05-10T06:56:34.535Z] docker.io [2021-05-10T06:56:34.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T06:56:35.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T06:56:35.112Z] Configure a credential helper to remove this warning. See [2021-05-10T06:56:35.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T06:56:35.112Z] [2021-05-10T06:56:35.112Z] Login Succeeded [2021-05-10T06:56:35.112Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T06:56:35.123Z] 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-10T06:56:35.584Z] + git log --format=format:%s -1 7812047775a6ae24fca0d0343c05e434ffe67b62 [Pipeline] echo [2021-05-10T06:56:35.671Z] GIT_COMMIT: 7812047775a6ae24fca0d0343c05e434ffe67b62, Commit Message: Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD [Pipeline] echo [2021-05-10T06:56:35.685Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:56:36.255Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T06:56:36.255Z] [2021-05-10T06:56:36.255Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T06:56:36.580Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T06:56:36.580Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T06:56:36.580Z] 31603596830f: Pulling fs layer [2021-05-10T06:56:36.580Z] 54011a49482f: Pulling fs layer [2021-05-10T06:56:36.580Z] a6820b24f6d8: Pulling fs layer [2021-05-10T06:56:36.580Z] f581987b2513: Pulling fs layer [2021-05-10T06:56:36.580Z] f581987b2513: Waiting [2021-05-10T06:56:36.580Z] 54011a49482f: Verifying Checksum [2021-05-10T06:56:36.580Z] 54011a49482f: Download complete [2021-05-10T06:56:36.580Z] 31603596830f: Verifying Checksum [2021-05-10T06:56:36.580Z] 31603596830f: Download complete [2021-05-10T06:56:36.854Z] f581987b2513: Verifying Checksum [2021-05-10T06:56:36.854Z] f581987b2513: Download complete [2021-05-10T06:56:36.854Z] a6820b24f6d8: Verifying Checksum [2021-05-10T06:56:36.854Z] a6820b24f6d8: Download complete [2021-05-10T06:56:37.119Z] 31603596830f: Pull complete [2021-05-10T06:56:37.385Z] 54011a49482f: Pull complete [2021-05-10T06:56:38.361Z] a6820b24f6d8: Pull complete [2021-05-10T06:56:38.361Z] f581987b2513: Pull complete [2021-05-10T06:56:38.626Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T06:56:38.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T06:56:38.626Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T06:56:38.742Z] prd-centos7-docker-4c-2g-4028 does not seem to be running inside a container [2021-05-10T06:56:38.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-912 -v /w/workspace/dgexfoundry_device-sdk-go_PR-912:/w/workspace/dgexfoundry_device-sdk-go_PR-912:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T06:56:40.682Z] $ docker top b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T06:56:40.836Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T06:56:40.836Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T06:56:41.055Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T06:56:41.059Z] $ docker exec b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 ssh-agent [2021-05-10T06:56:41.239Z] SSH_AUTH_SOCK=/tmp/ssh-r1kVImCOtscf/agent.11 [2021-05-10T06:56:41.239Z] SSH_AGENT_PID=16 [2021-05-10T06:56:41.249Z] Running ssh-add (command line suppressed) [2021-05-10T06:56:41.379Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/private_key_2097978906839060366.key (/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/private_key_2097978906839060366.key) [2021-05-10T06:56:41.433Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T06:56:41.738Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T06:56:41.760Z] $ docker exec --env ******** --env ******** b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 ssh-agent -k [2021-05-10T06:56:41.879Z] unset SSH_AUTH_SOCK; [2021-05-10T06:56:41.880Z] unset SSH_AGENT_PID; [2021-05-10T06:56:41.880Z] echo Agent pid 16 killed; [2021-05-10T06:56:41.928Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T06:56:41.968Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T06:56:41.969Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T06:56:42.150Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T06:56:42.155Z] $ docker exec b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 ssh-agent [2021-05-10T06:56:42.355Z] SSH_AUTH_SOCK=/tmp/ssh-ujv92QVWAdUt/agent.44 [2021-05-10T06:56:42.355Z] SSH_AGENT_PID=49 [2021-05-10T06:56:42.363Z] Running ssh-add (command line suppressed) [2021-05-10T06:56:42.489Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/private_key_7838157468976018930.key (/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/private_key_7838157468976018930.key) [2021-05-10T06:56:42.542Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T06:56:42.850Z] + git semver init [2021-05-10T06:56:42.850Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T06:56:42.850Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-912/.git [2021-05-10T06:56:42.850Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-912 [2021-05-10T06:56:42.850Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T06:56:42.850Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T06:56:42.850Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T06:56:42.850Z] # $SEMVER_BRANCH = PR-912 [2021-05-10T06:56:42.850Z] # $SEMVER_TEMP = /tmp/semver-549792854 [2021-05-10T06:56:42.850Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-10T06:56:43.799Z] # '/tmp/semver-549792854' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-912/.semver' [2021-05-10T06:56:43.799Z] # -> Force: false [2021-05-10T06:56:43.799Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-912/.semver [Pipeline] } [2021-05-10T06:56:43.813Z] $ docker exec --env ******** --env ******** b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 ssh-agent -k [2021-05-10T06:56:43.964Z] unset SSH_AUTH_SOCK; [2021-05-10T06:56:43.965Z] unset SSH_AGENT_PID; [2021-05-10T06:56:43.965Z] echo Agent pid 49 killed; [2021-05-10T06:56:44.035Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T06:56:44.372Z] + git semver [Pipeline] } [2021-05-10T06:56:44.389Z] $ docker stop --time=1 b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 [2021-05-10T06:56:46.046Z] $ docker rm -f b24bfb42a2672d9b20934908f0569b27ed3bc39d35345ac6a76f0c8d76433231 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T06:56:46.538Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T06:56:46.938Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T06:56:46.941Z] [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-10T06:57:02.137Z] Still waiting to schedule task [2021-05-10T06:57:02.137Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T06:57:02.142Z] Still waiting to schedule task [2021-05-10T06:57:02.142Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T07:00:31.173Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4032 in /w/workspace/dgexfoundry_device-sdk-go_PR-912 [Pipeline] { [Pipeline] ws [2021-05-10T07:00:31.193Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T07:00:36.620Z] using credential edgex-jenkins-ssh [2021-05-10T07:00:36.637Z] Cloning the remote Git repository [2021-05-10T07:00:36.687Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T07:00:36.859Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-10T07:00:36.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T07:00:36.986Z] > git --version # timeout=10 [2021-05-10T07:00:37.050Z] > git --version # 'git version 2.17.1' [2021-05-10T07:00:37.051Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:00:37.131Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T07:00:38.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T07:00:38.430Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T07:00:38.454Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T07:00:38.502Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T07:00:38.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:00:38.514Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/912/head:refs/remotes/origin/PR-912 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T07:00:39.149Z] Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 4ce5a3699167fe1fd8c949993467574400e9bc24 [2021-05-10T07:00:39.430Z] Merge succeeded, producing 4b4fc1bdd770387890d761e38d11a5f5c8d7ce65 [2021-05-10T07:00:39.430Z] Checking out Revision 4b4fc1bdd770387890d761e38d11a5f5c8d7ce65 (PR-912) [2021-05-10T07:00:39.170Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T07:00:39.193Z] > git checkout -f 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 [2021-05-10T07:00:39.296Z] > git remote # timeout=10 [2021-05-10T07:00:39.312Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T07:00:39.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:00:39.341Z] > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 [2021-05-10T07:00:39.418Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T07:00:39.439Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T07:00:39.453Z] > git checkout -f 4b4fc1bdd770387890d761e38d11a5f5c8d7ce65 # timeout=10 [2021-05-10T07:00:43.691Z] Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" [2021-05-10T07:00:43.702Z] > git rev-list --no-walk 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T07:00:45.272Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T07:00:45.682Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T07:00:46.023Z] + sudo service docker restart [2021-05-10T07:00:46.023Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T07:00:48.689Z] provisioning config files... [2021-05-10T07:00:48.745Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config961654252628060864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:00:49.139Z] ---> docker-login.sh [2021-05-10T07:00:49.139Z] nexus3.edgexfoundry.org:10001 [2021-05-10T07:00:50.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:00:50.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:00:50.396Z] Configure a credential helper to remove this warning. See [2021-05-10T07:00:50.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:00:50.396Z] [2021-05-10T07:00:50.396Z] Login Succeeded [2021-05-10T07:00:50.396Z] nexus3.edgexfoundry.org:10002 [2021-05-10T07:00:50.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:00:50.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:00:50.942Z] Configure a credential helper to remove this warning. See [2021-05-10T07:00:50.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:00:50.942Z] [2021-05-10T07:00:50.942Z] Login Succeeded [2021-05-10T07:00:50.942Z] nexus3.edgexfoundry.org:10003 [2021-05-10T07:00:51.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:00:51.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:00:51.488Z] Configure a credential helper to remove this warning. See [2021-05-10T07:00:51.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:00:51.488Z] [2021-05-10T07:00:51.488Z] Login Succeeded [2021-05-10T07:00:51.488Z] nexus3.edgexfoundry.org:10004 [2021-05-10T07:00:51.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:00:52.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:00:52.034Z] Configure a credential helper to remove this warning. See [2021-05-10T07:00:52.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:00:52.034Z] [2021-05-10T07:00:52.034Z] Login Succeeded [2021-05-10T07:00:52.034Z] docker.io [2021-05-10T07:00:52.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:00:52.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:00:52.594Z] Configure a credential helper to remove this warning. See [2021-05-10T07:00:52.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:00:52.594Z] [2021-05-10T07:00:52.866Z] Login Succeeded [2021-05-10T07:00:52.866Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T07:00:52.883Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T07:00:53.185Z] ========================================================= [2021-05-10T07:00:53.185Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T07:00:53.185Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:00:53.540Z] + 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-10T07:00:53.815Z] Sending build context to Docker daemon 2.526MB [2021-05-10T07:00:54.090Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T07:00:54.090Z] Step 2/8 : FROM ${BASE} [2021-05-10T07:00:54.090Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T07:00:54.090Z] 595b0fe564bb: Pulling fs layer [2021-05-10T07:00:54.090Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T07:00:54.090Z] 316046926c0a: Pulling fs layer [2021-05-10T07:00:54.090Z] 4ebd0625c992: Pulling fs layer [2021-05-10T07:00:54.090Z] 207e8628e3a3: Pulling fs layer [2021-05-10T07:00:54.090Z] c791037a9be2: Pulling fs layer [2021-05-10T07:00:54.090Z] ffd874e62e21: Pulling fs layer [2021-05-10T07:00:54.090Z] 4ebd0625c992: Waiting [2021-05-10T07:00:54.090Z] 207e8628e3a3: Waiting [2021-05-10T07:00:54.090Z] c791037a9be2: Waiting [2021-05-10T07:00:54.090Z] ffd874e62e21: Waiting [2021-05-10T07:00:54.090Z] 316046926c0a: Verifying Checksum [2021-05-10T07:00:54.090Z] 316046926c0a: Download complete [2021-05-10T07:00:54.090Z] 7186ed65a4f7: Verifying Checksum [2021-05-10T07:00:54.090Z] 7186ed65a4f7: Download complete [2021-05-10T07:00:54.090Z] 207e8628e3a3: Download complete [2021-05-10T07:00:54.090Z] c791037a9be2: Verifying Checksum [2021-05-10T07:00:54.090Z] c791037a9be2: Download complete [2021-05-10T07:00:54.369Z] 595b0fe564bb: Verifying Checksum [2021-05-10T07:00:54.369Z] 595b0fe564bb: Download complete [2021-05-10T07:00:54.977Z] 595b0fe564bb: Pull complete [2021-05-10T07:00:55.258Z] 7186ed65a4f7: Pull complete [2021-05-10T07:00:55.861Z] 316046926c0a: Pull complete [2021-05-10T07:00:57.758Z] ffd874e62e21: Verifying Checksum [2021-05-10T07:00:57.758Z] ffd874e62e21: Download complete [2021-05-10T07:00:58.737Z] 4ebd0625c992: Download complete [2021-05-10T07:01:05.919Z] Running on prd-centos7-docker-4c-2g-4033 in /w/workspace/dgexfoundry_device-sdk-go_PR-912 [Pipeline] { [Pipeline] ws [2021-05-10T07:01:05.941Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-10T07:01:08.984Z] 4ebd0625c992: Pull complete [2021-05-10T07:01:09.585Z] 207e8628e3a3: Pull complete [2021-05-10T07:01:09.628Z] using credential edgex-jenkins-ssh [2021-05-10T07:01:09.643Z] Cloning the remote Git repository [2021-05-10T07:01:09.860Z] c791037a9be2: Pull complete [2021-05-10T07:01:09.751Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T07:01:09.917Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-10T07:01:09.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T07:01:09.995Z] > git --version # timeout=10 [2021-05-10T07:01:10.002Z] > git --version # 'git version 2.24.3' [2021-05-10T07:01:10.003Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:01:10.081Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T07:01:11.476Z] Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit 4ce5a3699167fe1fd8c949993467574400e9bc24 [2021-05-10T07:01:11.739Z] Merge succeeded, producing 47963683eae74da18e120a5601d657f127b94957 [2021-05-10T07:01:11.740Z] Checking out Revision 47963683eae74da18e120a5601d657f127b94957 (PR-912) [2021-05-10T07:01:11.047Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T07:01:11.062Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T07:01:11.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T07:01:11.090Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T07:01:11.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:01:11.095Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/912/head:refs/remotes/origin/PR-912 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T07:01:11.490Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T07:01:11.505Z] > git checkout -f 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 [2021-05-10T07:01:11.555Z] > git remote # timeout=10 [2021-05-10T07:01:11.574Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T07:01:11.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T07:01:11.661Z] > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 [2021-05-10T07:01:11.733Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T07:01:11.745Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T07:01:11.751Z] > git checkout -f 47963683eae74da18e120a5601d657f127b94957 # timeout=10 [2021-05-10T07:01:14.192Z] ffd874e62e21: Pull complete [2021-05-10T07:01:14.192Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T07:01:14.192Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T07:01:14.192Z] ---> cfc18b08335c [2021-05-10T07:01:14.192Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T07:01:15.715Z] Commit message: "Merge commit '6cc4c25230d964bbb6ccd74e42769d1c7a10d9be' into HEAD" [2021-05-10T07:01:15.723Z] > git rev-list --no-walk 4ce5a3699167fe1fd8c949993467574400e9bc24 # timeout=10 [2021-05-10T07:01:16.171Z] ---> Running in 2527c1e02c3b [Pipeline] withEnv [Pipeline] { [2021-05-10T07:01:16.454Z] Removing intermediate container 2527c1e02c3b [2021-05-10T07:01:16.454Z] ---> afa0a8356b8a [2021-05-10T07:01:16.454Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T07:01:16.728Z] ---> Running in a3976faf2bbc [2021-05-10T07:01:17.334Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T07:01:17.695Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T07:01:18.004Z] + sudo service docker restart [2021-05-10T07:01:18.004Z] + true [2021-05-10T07:01:18.004Z] Redirecting to /bin/systemctl restart docker.service [2021-05-10T07:01:18.732Z] Removing intermediate container a3976faf2bbc [2021-05-10T07:01:18.732Z] ---> c113727e914b [2021-05-10T07:01:18.732Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T07:01:19.011Z] ---> Running in 523b1a83a397 [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T07:01:19.448Z] provisioning config files... [2021-05-10T07:01:19.526Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config3468786751821084193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:01:19.890Z] ---> docker-login.sh [2021-05-10T07:01:19.890Z] nexus3.edgexfoundry.org:10001 [2021-05-10T07:01:19.992Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T07:01:20.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:01:20.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:01:20.154Z] Configure a credential helper to remove this warning. See [2021-05-10T07:01:20.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:01:20.154Z] [2021-05-10T07:01:20.154Z] Login Succeeded [2021-05-10T07:01:20.430Z] nexus3.edgexfoundry.org:10002 [2021-05-10T07:01:20.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:01:20.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:01:20.430Z] Configure a credential helper to remove this warning. See [2021-05-10T07:01:20.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:01:20.430Z] [2021-05-10T07:01:20.430Z] Login Succeeded [2021-05-10T07:01:20.430Z] nexus3.edgexfoundry.org:10003 [2021-05-10T07:01:20.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:01:20.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:01:20.697Z] Configure a credential helper to remove this warning. See [2021-05-10T07:01:20.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:01:20.697Z] [2021-05-10T07:01:20.697Z] Login Succeeded [2021-05-10T07:01:20.697Z] nexus3.edgexfoundry.org:10004 [2021-05-10T07:01:20.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:01:20.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:01:20.965Z] Configure a credential helper to remove this warning. See [2021-05-10T07:01:20.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:01:20.965Z] [2021-05-10T07:01:20.965Z] Login Succeeded [2021-05-10T07:01:20.965Z] docker.io [2021-05-10T07:01:20.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T07:01:21.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T07:01:21.555Z] Configure a credential helper to remove this warning. See [2021-05-10T07:01:21.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T07:01:21.555Z] [2021-05-10T07:01:21.555Z] Login Succeeded [2021-05-10T07:01:21.555Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T07:01:21.567Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T07:01:21.799Z] ========================================================= [2021-05-10T07:01:21.799Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T07:01:21.799Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:01:21.967Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T07:01:22.131Z] + 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-10T07:01:22.131Z] Sending build context to Docker daemon 2.535MB [2021-05-10T07:01:22.405Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T07:01:22.405Z] Step 2/8 : FROM ${BASE} [2021-05-10T07:01:22.405Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T07:01:22.405Z] 540db60ca938: Pulling fs layer [2021-05-10T07:01:22.405Z] adcc1eea9eea: Pulling fs layer [2021-05-10T07:01:22.405Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T07:01:22.405Z] 0510c868ecb4: Pulling fs layer [2021-05-10T07:01:22.405Z] afea3b2eda06: Pulling fs layer [2021-05-10T07:01:22.405Z] 7809a108b3ef: Pulling fs layer [2021-05-10T07:01:22.405Z] f706445af74f: Pulling fs layer [2021-05-10T07:01:22.405Z] afea3b2eda06: Waiting [2021-05-10T07:01:22.405Z] 7809a108b3ef: Waiting [2021-05-10T07:01:22.405Z] f706445af74f: Waiting [2021-05-10T07:01:22.405Z] 0510c868ecb4: Waiting [2021-05-10T07:01:22.405Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T07:01:22.405Z] 4c4ab2625f07: Download complete [2021-05-10T07:01:22.405Z] adcc1eea9eea: Download complete [2021-05-10T07:01:22.405Z] afea3b2eda06: Verifying Checksum [2021-05-10T07:01:22.405Z] afea3b2eda06: Download complete [2021-05-10T07:01:22.405Z] 540db60ca938: Verifying Checksum [2021-05-10T07:01:22.405Z] 7809a108b3ef: Verifying Checksum [2021-05-10T07:01:22.405Z] 7809a108b3ef: Download complete [2021-05-10T07:01:22.681Z] 540db60ca938: Pull complete [2021-05-10T07:01:23.266Z] adcc1eea9eea: Pull complete [2021-05-10T07:01:23.400Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-10T07:01:23.400Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-10T07:01:23.537Z] 4c4ab2625f07: Pull complete [2021-05-10T07:01:24.002Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-10T07:01:24.273Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-10T07:01:24.548Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-10T07:01:24.996Z] f706445af74f: Verifying Checksum [2021-05-10T07:01:24.996Z] f706445af74f: Download complete [2021-05-10T07:01:25.142Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-10T07:01:25.142Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T07:01:25.142Z] OK: 139 MiB in 46 packages [2021-05-10T07:01:26.464Z] 0510c868ecb4: Verifying Checksum [2021-05-10T07:01:26.464Z] 0510c868ecb4: Download complete [2021-05-10T07:01:26.579Z] Removing intermediate container 523b1a83a397 [2021-05-10T07:01:26.579Z] ---> cb5eca8f8a61 [2021-05-10T07:01:26.579Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-10T07:01:26.852Z] ---> Running in 16163e2a7b04 [2021-05-10T07:01:27.127Z] Removing intermediate container 16163e2a7b04 [2021-05-10T07:01:27.127Z] ---> 9759c2c8a0bb [2021-05-10T07:01:27.127Z] Step 7/8 : COPY . . [2021-05-10T07:01:28.557Z] ---> b04d13406163 [2021-05-10T07:01:28.557Z] Step 8/8 : RUN go mod download [2021-05-10T07:01:28.557Z] ---> Running in e39b67469b69 [2021-05-10T07:01:34.799Z] 0510c868ecb4: Pull complete [2021-05-10T07:01:34.799Z] afea3b2eda06: Pull complete [2021-05-10T07:01:34.799Z] 7809a108b3ef: Pull complete [2021-05-10T07:01:43.015Z] f706445af74f: Pull complete [2021-05-10T07:01:43.015Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T07:01:43.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T07:01:43.015Z] ---> b068be0155e3 [2021-05-10T07:01:43.015Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T07:01:43.596Z] ---> Running in 8d636b304f59 [2021-05-10T07:01:43.865Z] Removing intermediate container 8d636b304f59 [2021-05-10T07:01:43.865Z] ---> 970574e5c533 [2021-05-10T07:01:43.865Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T07:01:43.865Z] ---> Running in 88ef35cb35cc [2021-05-10T07:01:45.807Z] Removing intermediate container 88ef35cb35cc [2021-05-10T07:01:45.807Z] ---> b38ffbb500bb [2021-05-10T07:01:45.807Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T07:01:45.807Z] ---> Running in e21367857c21 [2021-05-10T07:01:46.384Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T07:01:48.318Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T07:01:50.243Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-10T07:01:50.243Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-10T07:01:50.243Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-10T07:01:50.507Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-10T07:01:50.773Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-10T07:01:50.773Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-10T07:01:51.038Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T07:01:51.038Z] OK: 150 MiB in 46 packages [2021-05-10T07:01:51.619Z] Removing intermediate container e21367857c21 [2021-05-10T07:01:51.619Z] ---> 7e11eb265407 [2021-05-10T07:01:51.619Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-10T07:01:51.619Z] ---> Running in 5d66f22ea330 [2021-05-10T07:01:51.888Z] Removing intermediate container 5d66f22ea330 [2021-05-10T07:01:51.888Z] ---> 889aee27fc4c [2021-05-10T07:01:51.888Z] Step 7/8 : COPY . . [2021-05-10T07:01:53.826Z] ---> 0ae47d5444d3 [2021-05-10T07:01:53.826Z] Step 8/8 : RUN go mod download [2021-05-10T07:01:53.826Z] ---> Running in 586542b3d9b4 [2021-05-10T07:01:55.337Z] Removing intermediate container e39b67469b69 [2021-05-10T07:01:55.337Z] ---> 50d0bdbc2080 [2021-05-10T07:01:55.337Z] Successfully built 50d0bdbc2080 [2021-05-10T07:01:55.337Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:01:55.675Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T07:01:55.675Z] . [Pipeline] withDockerContainer [2021-05-10T07:01:55.919Z] prd-ubuntu18.04-docker-arm64-4c-16g-4032 does not seem to be running inside a container [2021-05-10T07:01:56.010Z] $ 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-arm64 cat [2021-05-10T07:01:57.466Z] $ docker top 6390bc79fe10f96c81706e435e4d0ba0bcb1606dafc0c3e65b02cbae5e31950e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:01:58.444Z] + go version [2021-05-10T07:01:58.444Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T07:01:58.471Z] $ docker stop --time=1 6390bc79fe10f96c81706e435e4d0ba0bcb1606dafc0c3e65b02cbae5e31950e [2021-05-10T07:02:00.400Z] $ docker rm -f 6390bc79fe10f96c81706e435e4d0ba0bcb1606dafc0c3e65b02cbae5e31950e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:02:01.065Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T07:02:01.065Z] . [Pipeline] withDockerContainer [2021-05-10T07:02:01.331Z] prd-ubuntu18.04-docker-arm64-4c-16g-4032 does not seem to be running inside a container [2021-05-10T07:02:01.424Z] $ 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-arm64 cat [2021-05-10T07:02:02.877Z] $ docker top 8b57a2266b61bb447f3b7fe0aa85a94956dd8312cab14fb8a7d515e2fc31a479 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:02:03.803Z] + go mod tidy [Pipeline] sh [2021-05-10T07:02:05.061Z] + make test [2021-05-10T07:02:05.062Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T07:02:20.525Z] Removing intermediate container 586542b3d9b4 [2021-05-10T07:02:20.525Z] ---> 5bf49065f5e4 [2021-05-10T07:02:20.525Z] Successfully built 5bf49065f5e4 [2021-05-10T07:02:20.525Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:02:20.846Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T07:02:20.846Z] . [Pipeline] withDockerContainer [2021-05-10T07:02:20.974Z] prd-centos7-docker-4c-2g-4033 does not seem to be running inside a container [2021-05-10T07:02:21.033Z] $ 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-10T07:02:21.907Z] $ docker top 992499febd9db79da2c000408e4174e923e2e46516145136aaf5d541b6838a2b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:02:22.378Z] + go version [2021-05-10T07:02:22.379Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T07:02:22.393Z] $ docker stop --time=1 992499febd9db79da2c000408e4174e923e2e46516145136aaf5d541b6838a2b [2021-05-10T07:02:24.069Z] $ docker rm -f 992499febd9db79da2c000408e4174e923e2e46516145136aaf5d541b6838a2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:02:24.651Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T07:02:24.651Z] . [Pipeline] withDockerContainer [2021-05-10T07:02:24.756Z] prd-centos7-docker-4c-2g-4033 does not seem to be running inside a container [2021-05-10T07:02:24.808Z] $ 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-10T07:02:25.467Z] $ docker top 2a57d499fba00bbd0d8f969230afb65993c19837c2d2425a847d77303847fa07 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:02:25.899Z] + go mod tidy [Pipeline] sh [2021-05-10T07:02:26.783Z] + make test [2021-05-10T07:02:26.783Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T07:02:27.240Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-10T07:02:37.113Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-10T07:03:03.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-10T07:03:03.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-10T07:03:03.984Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-10T07:03:07.533Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.116s coverage: 25.4% of statements [2021-05-10T07:03:07.533Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-10T07:03:07.533Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.108s coverage: 28.1% of statements [2021-05-10T07:03:07.533Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.178s coverage: 78.9% of statements [2021-05-10T07:03:08.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.128s coverage: 10.7% of statements [2021-05-10T07:03:08.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-10T07:03:08.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-10T07:03:08.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-10T07:03:10.183Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.360s coverage: 30.2% of statements [2021-05-10T07:03:10.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-10T07:03:10.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-10T07:03:10.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-10T07:03:10.183Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-10T07:03:10.183Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.311s coverage: 58.4% of statements [2021-05-10T07:03:11.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.778s coverage: 89.2% of statements [2021-05-10T07:03:11.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-10T07:03:11.847Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.117s coverage: 5.0% of statements [2021-05-10T07:03:11.847Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-10T07:03:12.121Z] GO111MODULE=on go vet ./... [2021-05-10T07:03:35.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-10T07:03:35.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-10T07:03:35.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-10T07:03:40.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.251s coverage: 25.4% of statements [2021-05-10T07:03:40.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-10T07:03:40.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.137s coverage: 28.1% of statements [2021-05-10T07:03:40.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.252s coverage: 78.9% of statements [2021-05-10T07:03:40.778Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.168s coverage: 10.7% of statements [2021-05-10T07:03:40.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-10T07:03:40.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-10T07:03:40.778Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-10T07:03:44.203Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.295s coverage: 30.2% of statements [2021-05-10T07:03:44.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-10T07:03:44.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-10T07:03:44.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-10T07:03:44.203Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-10T07:03:44.203Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.393s coverage: 58.4% of statements [2021-05-10T07:03:46.201Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.226s coverage: 89.2% of statements [2021-05-10T07:03:46.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-10T07:03:46.201Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-05-10T07:03:46.201Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-10T07:03:46.796Z] GO111MODULE=on go vet ./... [2021-05-10T07:03:51.922Z] gofmt -l . [2021-05-10T07:03:51.922Z] [ "`gofmt -l .`" = "" ] [2021-05-10T07:03:51.922Z] ./bin/test-attribution-txt.sh [2021-05-10T07:03:51.922Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T07:03:52.002Z] $ docker stop --time=1 2a57d499fba00bbd0d8f969230afb65993c19837c2d2425a847d77303847fa07 [2021-05-10T07:03:54.852Z] $ docker rm -f 2a57d499fba00bbd0d8f969230afb65993c19837c2d2425a847d77303847fa07 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T07:03:55.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T07:03:56.654Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-10T07:03:57.764Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T07:03:58.165Z] + ls -al . [2021-05-10T07:03:58.166Z] total 212 [2021-05-10T07:03:58.166Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 10 07:03 . [2021-05-10T07:03:58.166Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 07:01 .. [2021-05-10T07:03:58.166Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 07:01 bin [2021-05-10T07:03:58.166Z] -rw-r--r--. 1 jenkins jenkins 124140 May 10 07:03 coverage.out [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 987 May 10 07:01 Dockerfile.build [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 140 May 10 07:01 .dockerignore [2021-05-10T07:03:58.166Z] drwxrwxr-x. 5 jenkins jenkins 62 May 10 07:01 example [2021-05-10T07:03:58.166Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 07:01 .git [2021-05-10T07:03:58.166Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 07:01 .github [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 138 May 10 07:01 .gitignore [2021-05-10T07:03:58.166Z] -rw-r--r--. 1 jenkins jenkins 575 May 10 07:03 go.mod [2021-05-10T07:03:58.166Z] -rw-r--r--. 1 jenkins jenkins 20637 May 10 07:02 go.sum [2021-05-10T07:03:58.166Z] drwxrwxr-x. 15 jenkins jenkins 222 May 10 07:01 internal [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 901 May 10 07:01 Jenkinsfile [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 10 07:01 LICENSE [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 10 07:01 Makefile [2021-05-10T07:03:58.166Z] drwxrwxr-x. 4 jenkins jenkins 26 May 10 07:01 openapi [2021-05-10T07:03:58.166Z] drwxrwxr-x. 5 jenkins jenkins 50 May 10 07:01 pkg [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 10 07:01 README.md [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 10 07:01 RELEASE-NOTES.txt [2021-05-10T07:03:58.166Z] drwxrwxr-x. 4 jenkins jenkins 54 May 10 07:01 snap [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 06:56 VERSION [2021-05-10T07:03:58.166Z] -rw-rw-r--. 1 jenkins jenkins 222 May 10 07:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:03:58.507Z] + 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=7812047775a6ae24fca0d0343c05e434ffe67b62 --label arch=amd64 --label version=0.0.0 . [2021-05-10T07:03:59.157Z] Sending build context to Docker daemon 2.66MB [2021-05-10T07:03:59.157Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T07:03:59.157Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T07:03:59.157Z] ---> 5bf49065f5e4 [2021-05-10T07:03:59.157Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-10T07:03:59.493Z] ---> Running in b4c292867153 [2021-05-10T07:03:59.782Z] Removing intermediate container b4c292867153 [2021-05-10T07:03:59.782Z] ---> 9e4c451462db [2021-05-10T07:03:59.782Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T07:03:59.782Z] ---> Running in 9279e114b48c [2021-05-10T07:04:00.385Z] Removing intermediate container 9279e114b48c [2021-05-10T07:04:00.385Z] ---> 4d632dcd2e85 [2021-05-10T07:04:00.385Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T07:04:00.385Z] ---> Running in 333b6d6e8412 [2021-05-10T07:04:02.486Z] Removing intermediate container 333b6d6e8412 [2021-05-10T07:04:02.486Z] ---> a3878e7780f9 [2021-05-10T07:04:02.486Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T07:04:02.486Z] ---> Running in 9ce4c77442e2 [2021-05-10T07:04:04.058Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T07:04:05.547Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T07:04:08.308Z] OK: 150 MiB in 46 packages [2021-05-10T07:04:08.937Z] Removing intermediate container 9ce4c77442e2 [2021-05-10T07:04:08.937Z] ---> 56e88938331b [2021-05-10T07:04:08.937Z] Step 7/23 : COPY . . [2021-05-10T07:04:10.435Z] ---> 50759e184143 [2021-05-10T07:04:10.435Z] Step 8/23 : RUN go mod download [2021-05-10T07:04:10.435Z] ---> Running in b3908bd6f9f9 [2021-05-10T07:04:12.574Z] Removing intermediate container b3908bd6f9f9 [2021-05-10T07:04:12.574Z] ---> 974da3b066a8 [2021-05-10T07:04:12.574Z] Step 9/23 : RUN make build [2021-05-10T07:04:12.574Z] ---> Running in 50a6eb0437df [2021-05-10T07:04:14.208Z] 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-10T07:04:41.972Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-10T07:04:43.430Z] gofmt -l . [2021-05-10T07:04:43.430Z] [ "`gofmt -l .`" = "" ] [2021-05-10T07:04:43.430Z] ./bin/test-attribution-txt.sh [2021-05-10T07:04:43.430Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T07:04:43.462Z] $ docker stop --time=1 8b57a2266b61bb447f3b7fe0aa85a94956dd8312cab14fb8a7d515e2fc31a479 [2021-05-10T07:04:44.724Z] Removing intermediate container 50a6eb0437df [2021-05-10T07:04:44.724Z] ---> 3b8092a10d7b [2021-05-10T07:04:44.724Z] Step 10/23 : FROM alpine:3.12 [2021-05-10T07:04:45.359Z] 3.12: Pulling from library/alpine [2021-05-10T07:04:45.359Z] 339de151aab4: Pulling fs layer [2021-05-10T07:04:45.557Z] $ docker rm -f 8b57a2266b61bb447f3b7fe0aa85a94956dd8312cab14fb8a7d515e2fc31a479 [2021-05-10T07:04:45.640Z] 339de151aab4: Verifying Checksum [2021-05-10T07:04:45.640Z] 339de151aab4: Download complete [2021-05-10T07:04:46.250Z] 339de151aab4: Pull complete [2021-05-10T07:04:46.250Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T07:04:46.570Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T07:04:46.570Z] ---> 13621d1b12d4 [2021-05-10T07:04:46.570Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T07:04:46.570Z] ---> Running in 651d43af8a6e [2021-05-10T07:04:46.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T07:04:46.675Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T07:04:47.270Z] Removing intermediate container 651d43af8a6e [2021-05-10T07:04:47.271Z] ---> 5f16ddbf773d [2021-05-10T07:04:47.271Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T07:04:47.271Z] ---> Running in 285e39c38525 [2021-05-10T07:04:47.676Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T07:04:48.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T07:04:48.535Z] + ls -al . [2021-05-10T07:04:48.535Z] total 248 [2021-05-10T07:04:48.535Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:04 . [2021-05-10T07:04:48.535Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:00 .. [2021-05-10T07:04:48.535Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 07:00 .dockerignore [2021-05-10T07:04:48.535Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:00 .git [2021-05-10T07:04:48.535Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:00 .github [2021-05-10T07:04:48.535Z] -rw-rw-r-- 1 jenkins jenkins 138 May 10 07:00 .gitignore [2021-05-10T07:04:48.535Z] -rw-rw-r-- 1 jenkins jenkins 987 May 10 07:00 Dockerfile.build [2021-05-10T07:04:48.535Z] -rw-rw-r-- 1 jenkins jenkins 901 May 10 07:00 Jenkinsfile [2021-05-10T07:04:48.536Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 07:00 LICENSE [2021-05-10T07:04:48.536Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 10 07:00 Makefile [2021-05-10T07:04:48.536Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 10 07:00 README.md [2021-05-10T07:04:48.536Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 10 07:00 RELEASE-NOTES.txt [2021-05-10T07:04:48.536Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:56 VERSION [2021-05-10T07:04:48.536Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:00 bin [2021-05-10T07:04:48.536Z] -rw-r--r-- 1 jenkins jenkins 124140 May 10 07:03 coverage.out [2021-05-10T07:04:48.536Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 07:00 example [2021-05-10T07:04:48.536Z] -rw-r--r-- 1 jenkins jenkins 575 May 10 07:04 go.mod [2021-05-10T07:04:48.536Z] -rw-r--r-- 1 jenkins jenkins 20637 May 10 07:02 go.sum [2021-05-10T07:04:48.536Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 07:00 internal [2021-05-10T07:04:48.536Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:00 openapi [2021-05-10T07:04:48.536Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 07:00 pkg [2021-05-10T07:04:48.536Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:00 snap [2021-05-10T07:04:48.536Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 07:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:04:48.875Z] Removing intermediate container 285e39c38525 [2021-05-10T07:04:48.875Z] ---> efa0ffef6ef0 [2021-05-10T07:04:48.875Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-10T07:04:48.875Z] ---> Running in 0022a08e78d6 [2021-05-10T07:04:48.916Z] + 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=7812047775a6ae24fca0d0343c05e434ffe67b62 --label arch=arm64 --label version=0.0.0 . [2021-05-10T07:04:49.539Z] Sending build context to Docker daemon 2.651MB [2021-05-10T07:04:49.539Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-10T07:04:49.539Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T07:04:49.539Z] ---> 50d0bdbc2080 [2021-05-10T07:04:49.539Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-10T07:04:49.817Z] ---> Running in 5269ff7d41e4 [2021-05-10T07:04:50.370Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T07:04:50.423Z] Removing intermediate container 5269ff7d41e4 [2021-05-10T07:04:50.423Z] ---> 2ec2a26cc91f [2021-05-10T07:04:50.423Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T07:04:50.423Z] ---> Running in 3dca28858f04 [2021-05-10T07:04:51.018Z] Removing intermediate container 3dca28858f04 [2021-05-10T07:04:51.018Z] ---> 7b50d525b2f5 [2021-05-10T07:04:51.018Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T07:04:51.018Z] ---> Running in d84e12183825 [2021-05-10T07:04:51.844Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T07:04:52.850Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-10T07:04:52.850Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-10T07:04:53.163Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-10T07:04:53.642Z] Removing intermediate container d84e12183825 [2021-05-10T07:04:53.642Z] ---> 25b98df20b4d [2021-05-10T07:04:53.642Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T07:04:53.642Z] ---> Running in de77c6248ec3 [2021-05-10T07:04:54.152Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-10T07:04:54.439Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-10T07:04:54.439Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T07:04:54.439Z] OK: 8 MiB in 19 packages [2021-05-10T07:04:54.623Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T07:04:55.963Z] Removing intermediate container 0022a08e78d6 [2021-05-10T07:04:55.963Z] ---> d3dd12fe76d7 [2021-05-10T07:04:55.963Z] Step 14/23 : WORKDIR / [2021-05-10T07:04:55.963Z] ---> Running in 38622d088617 [2021-05-10T07:04:56.276Z] Removing intermediate container 38622d088617 [2021-05-10T07:04:56.276Z] ---> 046f51fe7d86 [2021-05-10T07:04:56.276Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-10T07:04:56.600Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T07:04:57.311Z] ---> e7d06431a83a [2021-05-10T07:04:57.311Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-10T07:04:58.021Z] OK: 139 MiB in 46 packages [2021-05-10T07:04:58.319Z] ---> 8b034b6c24e9 [2021-05-10T07:04:58.319Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-10T07:04:58.992Z] ---> 7dbc003b7f1e [2021-05-10T07:04:58.992Z] Step 18/23 : EXPOSE 49990 [2021-05-10T07:04:58.992Z] ---> Running in 85ab5d53f929 [2021-05-10T07:04:59.045Z] Removing intermediate container de77c6248ec3 [2021-05-10T07:04:59.045Z] ---> feb72f6a4998 [2021-05-10T07:04:59.046Z] Step 7/23 : COPY . . [2021-05-10T07:04:59.314Z] Removing intermediate container 85ab5d53f929 [2021-05-10T07:04:59.314Z] ---> 94bdc4798031 [2021-05-10T07:04:59.314Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-10T07:04:59.314Z] ---> Running in d009f77413c7 [2021-05-10T07:04:59.946Z] Removing intermediate container d009f77413c7 [2021-05-10T07:04:59.946Z] ---> ec3dfc182764 [2021-05-10T07:04:59.946Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T07:04:59.946Z] ---> Running in 0d39d535e2b9 [2021-05-10T07:05:00.027Z] ---> 8a6b4dc3ed0a [2021-05-10T07:05:00.027Z] Step 8/23 : RUN go mod download [2021-05-10T07:05:00.254Z] Removing intermediate container 0d39d535e2b9 [2021-05-10T07:05:00.254Z] ---> f909236f34d8 [2021-05-10T07:05:00.254Z] Step 21/23 : LABEL arch=amd64 [2021-05-10T07:05:00.254Z] ---> Running in 26e51a8bd4bb [2021-05-10T07:05:00.299Z] ---> Running in 46a391b6a118 [2021-05-10T07:05:00.612Z] Removing intermediate container 26e51a8bd4bb [2021-05-10T07:05:00.612Z] ---> 56b7938d8e66 [2021-05-10T07:05:00.612Z] Step 22/23 : LABEL git_sha=7812047775a6ae24fca0d0343c05e434ffe67b62 [2021-05-10T07:05:00.612Z] ---> Running in ae0c2e4df3d0 [2021-05-10T07:05:00.918Z] Removing intermediate container ae0c2e4df3d0 [2021-05-10T07:05:00.918Z] ---> dc697489ed8d [2021-05-10T07:05:00.918Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T07:05:01.186Z] ---> Running in eff4654d09c1 [2021-05-10T07:05:01.791Z] Removing intermediate container eff4654d09c1 [2021-05-10T07:05:01.791Z] ---> 8e078b88d8a4 [2021-05-10T07:05:01.791Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-10T07:05:01.791Z] Successfully built 8e078b88d8a4 [2021-05-10T07:05:01.791Z] 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-10T07:05:02.269Z] Removing intermediate container 46a391b6a118 [2021-05-10T07:05:02.269Z] ---> 432f1f59dcd5 [2021-05-10T07:05:02.269Z] Step 9/23 : RUN make build [2021-05-10T07:05:02.531Z] ---> job-cost.sh [2021-05-10T07:05:02.531Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-rG8o [2021-05-10T07:05:02.547Z] ---> Running in af09a674628e [2021-05-10T07:05:03.530Z] 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-10T07:05:24.976Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T07:05:36.949Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-10T07:05:37.922Z] Removing intermediate container af09a674628e [2021-05-10T07:05:37.922Z] ---> bf97c05565d0 [2021-05-10T07:05:37.922Z] Step 10/23 : FROM alpine:3.12 [2021-05-10T07:05:38.193Z] 3.12: Pulling from library/alpine [2021-05-10T07:05:38.467Z] d2f70382dc9a: Pulling fs layer [2021-05-10T07:05:38.468Z] d2f70382dc9a: Verifying Checksum [2021-05-10T07:05:38.468Z] d2f70382dc9a: Download complete [2021-05-10T07:05:39.063Z] d2f70382dc9a: Pull complete [2021-05-10T07:05:39.063Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T07:05:39.063Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T07:05:39.063Z] ---> 9852663dfa18 [2021-05-10T07:05:39.063Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T07:05:39.344Z] ---> Running in 4ce483644d8e [2021-05-10T07:05:39.936Z] Removing intermediate container 4ce483644d8e [2021-05-10T07:05:39.936Z] ---> 04202cb41024 [2021-05-10T07:05:39.936Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T07:05:39.936Z] ---> Running in 8cbc45f9c52e [2021-05-10T07:05:41.911Z] Removing intermediate container 8cbc45f9c52e [2021-05-10T07:05:41.911Z] ---> de1123c870ae [2021-05-10T07:05:41.911Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-10T07:05:42.186Z] ---> Running in b0f4c867009d [2021-05-10T07:05:43.161Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T07:05:45.122Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T07:05:45.712Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-10T07:05:45.984Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-10T07:05:45.984Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-10T07:05:46.574Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-10T07:05:46.574Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-10T07:05:46.845Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T07:05:46.845Z] OK: 8 MiB in 19 packages [2021-05-10T07:05:48.277Z] Removing intermediate container b0f4c867009d [2021-05-10T07:05:48.277Z] ---> fb7b9e02c84a [2021-05-10T07:05:48.277Z] Step 14/23 : WORKDIR / [2021-05-10T07:05:48.277Z] ---> Running in 79a063d96f0d [2021-05-10T07:05:48.878Z] Removing intermediate container 79a063d96f0d [2021-05-10T07:05:48.878Z] ---> 932245c5889e [2021-05-10T07:05:48.878Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-10T07:05:49.472Z] ---> 07354efe5f9e [2021-05-10T07:05:49.472Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-10T07:05:50.904Z] ---> 867bb8832e6d [2021-05-10T07:05:50.904Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-10T07:05:51.497Z] ---> d5d6ae237ae5 [2021-05-10T07:05:51.497Z] Step 18/23 : EXPOSE 49990 [2021-05-10T07:05:51.770Z] ---> Running in 655ad45bd8b3 [2021-05-10T07:05:52.041Z] Removing intermediate container 655ad45bd8b3 [2021-05-10T07:05:52.041Z] ---> c40479cb535a [2021-05-10T07:05:52.041Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-10T07:05:52.315Z] ---> Running in 4e9b9f60c29a [2021-05-10T07:05:52.592Z] Removing intermediate container 4e9b9f60c29a [2021-05-10T07:05:52.592Z] ---> 45f9ef217e2a [2021-05-10T07:05:52.592Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T07:05:52.866Z] ---> Running in c1743f99cb5c [2021-05-10T07:05:53.461Z] Removing intermediate container c1743f99cb5c [2021-05-10T07:05:53.461Z] ---> 10adc6be03fa [2021-05-10T07:05:53.461Z] Step 21/23 : LABEL arch=arm64 [2021-05-10T07:05:53.461Z] ---> Running in d281f585006a [2021-05-10T07:05:53.732Z] Removing intermediate container d281f585006a [2021-05-10T07:05:53.732Z] ---> fd2c2e3d8e3f [2021-05-10T07:05:53.732Z] Step 22/23 : LABEL git_sha=7812047775a6ae24fca0d0343c05e434ffe67b62 [2021-05-10T07:05:54.007Z] ---> Running in 6c935dbd4e14 [2021-05-10T07:05:54.602Z] Removing intermediate container 6c935dbd4e14 [2021-05-10T07:05:54.602Z] ---> e4ff736cdaee [2021-05-10T07:05:54.602Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T07:05:54.602Z] ---> Running in a5e9c3f75680 [2021-05-10T07:05:54.876Z] Removing intermediate container a5e9c3f75680 [2021-05-10T07:05:54.876Z] ---> 8d42f94063a0 [2021-05-10T07:05:54.876Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-10T07:05:55.148Z] Successfully built 8d42f94063a0 [2021-05-10T07:05:55.148Z] 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-10T07:05:55.655Z] ---> job-cost.sh [2021-05-10T07:05:55.655Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-ESUY [2021-05-10T07:05:57.338Z] lf-activate-venv(): INFO: Adding /tmp/venv-rG8o/bin to PATH [2021-05-10T07:05:57.339Z] INFO: No Stack... [2021-05-10T07:05:58.811Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T07:05:59.797Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T07:06:00.503Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-10T07:06:00.503Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T07:06:00.887Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] [2021-05-10T07:06:00.898Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] did not exist. Created. [2021-05-10T07:06:00.898Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T07:06:01.448Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T07:06:01.605Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T07:06:01.621Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T07:06:34.614Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T07:08:11.375Z] lf-activate-venv(): INFO: Adding /tmp/venv-ESUY/bin to PATH [2021-05-10T07:08:11.375Z] INFO: No Stack... [2021-05-10T07:08:11.375Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T07:08:11.375Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T07:08:11.723Z] + + cutcat -d, /w/workspace/device-sdk-go/2/archives/cost.csv -f6 [2021-05-10T07:08:11.723Z] [Pipeline] lock [2021-05-10T07:08:11.890Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] [2021-05-10T07:08:11.903Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] did not exist. Created. [2021-05-10T07:08:11.903Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-912-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T07:08:12.250Z] /w/workspace/device-sdk-go/2@tmp/durable-a81149ac/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-a81149ac/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T07:08:12.599Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T07:08:12.635Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T07:08:12.798Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T07:08:12.824Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-912-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-10T07:08:13.264Z] provisioning config files... [2021-05-10T07:08:13.279Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/config1067620218926543894tmp [Pipeline] { [Pipeline] sh [2021-05-10T07:08:13.617Z] + set +x [2021-05-10T07:08:13.617Z] + curl -s https://codecov.io/bash [2021-05-10T07:08:13.617Z] + bash -s -- [2021-05-10T07:08:13.883Z] [2021-05-10T07:08:13.883Z] _____ _ [2021-05-10T07:08:13.883Z] / ____| | | [2021-05-10T07:08:13.883Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T07:08:13.883Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T07:08:13.883Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T07:08:13.883Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T07:08:13.883Z] Bash-1.0.2 [2021-05-10T07:08:13.883Z] [2021-05-10T07:08:13.883Z] [2021-05-10T07:08:13.883Z] ==> git version 2.24.3 found [2021-05-10T07:08:13.883Z] ==> 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-10T07:08:13.883Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T07:08:13.883Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T07:08:13.883Z] ==> Jenkins CI detected. [2021-05-10T07:08:13.883Z] project root: . [2021-05-10T07:08:13.883Z] --> token set from env [2021-05-10T07:08:13.883Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T07:08:13.883Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T07:08:13.883Z] ==> Python coveragepy not found [2021-05-10T07:08:13.883Z] ==> Searching for coverage reports in: [2021-05-10T07:08:13.883Z] + . [2021-05-10T07:08:13.883Z] -> Found 1 reports [2021-05-10T07:08:13.883Z] ==> Detecting git/mercurial file structure [2021-05-10T07:08:13.883Z] ==> Reading reports [2021-05-10T07:08:13.883Z] + ./coverage.out bytes=124140 [2021-05-10T07:08:13.883Z] ==> Appending adjustments [2021-05-10T07:08:13.883Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T07:08:14.516Z] + Found adjustments [2021-05-10T07:08:14.516Z] ==> Gzipping contents [2021-05-10T07:08:14.516Z] 16K /tmp/codecov.IE9cTG.gz [2021-05-10T07:08:14.516Z] ==> Uploading reports [2021-05-10T07:08:14.516Z] url: https://codecov.io [2021-05-10T07:08:14.516Z] query: branch=PR-912&commit=7812047775a6ae24fca0d0343c05e434ffe67b62&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-912%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=912&job=&cmd_args= [2021-05-10T07:08:14.516Z] -> Pinging Codecov [2021-05-10T07:08:14.516Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-912&commit=7812047775a6ae24fca0d0343c05e434ffe67b62&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-912%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=912&job=&cmd_args= [2021-05-10T07:08:14.783Z] -> Uploading to [2021-05-10T07:08:14.783Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/7E55EF52A471D76F132DFD9A03CDDE97/7812047775a6ae24fca0d0343c05e434ffe67b62/5e018bfc-4c3e-4818-abbe-e1f978ff0145.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T070814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ee58e142db2b44b19a6de07c153810fa97f73aed9443b92bcf5a9f61332c1d65 [2021-05-10T07:08:14.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T07:08:14.783Z] Dload Upload Total Spent Left Speed [2021-05-10T07:08:15.358Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16255 0 0 100 16255 0 26712 --:--:-- --:--:-- --:--:-- 26735 [2021-05-10T07:08:15.358Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7812047775a6ae24fca0d0343c05e434ffe67b62 [Pipeline] } [2021-05-10T07:08:15.369Z] 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-10T07:08:16.406Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:08:16.717Z] ---> package-listing.sh [2021-05-10T07:08:16.718Z] ++ facter osfamily [2021-05-10T07:08:16.718Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T07:08:16.718Z] + OS_FAMILY=redhat [2021-05-10T07:08:16.718Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-912 [2021-05-10T07:08:16.718Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T07:08:16.718Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T07:08:16.718Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T07:08:16.718Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T07:08:16.718Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-912 ']' [2021-05-10T07:08:16.718Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T07:08:16.718Z] + case "${OS_FAMILY}" in [2021-05-10T07:08:16.718Z] + sort [2021-05-10T07:08:16.718Z] + rpm -qa [2021-05-10T07:08:22.037Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T07:08:22.037Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T07:08:22.037Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T07:08:22.037Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-912 ']' [2021-05-10T07:08:22.037Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-912/archives/ [2021-05-10T07:08:22.037Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-912/archives/ [Pipeline] echo [2021-05-10T07:08:22.051Z] 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-912/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T07:08:22.354Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:08:22.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T07:08:22.681Z] [2021-05-10T07:08:22.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T07:08:23.007Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T07:08:23.007Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T07:08:23.007Z] df20fa9351a1: Pulling fs layer [2021-05-10T07:08:23.007Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T07:08:23.007Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T07:08:23.007Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T07:08:23.007Z] 93b61091891f: Pulling fs layer [2021-05-10T07:08:23.007Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T07:08:23.007Z] 5e14af77c1be: Pulling fs layer [2021-05-10T07:08:23.007Z] 01666e4c0597: Pulling fs layer [2021-05-10T07:08:23.007Z] aa168da1d23b: Pulling fs layer [2021-05-10T07:08:23.007Z] 93b9cdb0e59b: Waiting [2021-05-10T07:08:23.007Z] 5e14af77c1be: Waiting [2021-05-10T07:08:23.007Z] 01666e4c0597: Waiting [2021-05-10T07:08:23.007Z] aa168da1d23b: Waiting [2021-05-10T07:08:23.007Z] 46f8f816bc3b: Waiting [2021-05-10T07:08:23.007Z] 93b61091891f: Waiting [2021-05-10T07:08:23.007Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T07:08:23.007Z] 36b3adc4ff6f: Download complete [2021-05-10T07:08:23.007Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T07:08:23.007Z] 46f8f816bc3b: Download complete [2021-05-10T07:08:23.007Z] df20fa9351a1: Verifying Checksum [2021-05-10T07:08:23.007Z] df20fa9351a1: Download complete [2021-05-10T07:08:23.271Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T07:08:23.271Z] 93b9cdb0e59b: Download complete [2021-05-10T07:08:23.271Z] 5e14af77c1be: Verifying Checksum [2021-05-10T07:08:23.271Z] 5e14af77c1be: Download complete [2021-05-10T07:08:23.271Z] 93b61091891f: Verifying Checksum [2021-05-10T07:08:23.271Z] 93b61091891f: Download complete [2021-05-10T07:08:23.271Z] 01666e4c0597: Download complete [2021-05-10T07:08:23.271Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T07:08:23.271Z] 8ad3a11d3b57: Download complete [2021-05-10T07:08:23.542Z] df20fa9351a1: Pull complete [2021-05-10T07:08:23.811Z] 36b3adc4ff6f: Pull complete [2021-05-10T07:08:24.401Z] 8ad3a11d3b57: Pull complete [2021-05-10T07:08:24.680Z] 46f8f816bc3b: Pull complete [2021-05-10T07:08:25.259Z] 93b61091891f: Pull complete [2021-05-10T07:08:25.259Z] 93b9cdb0e59b: Pull complete [2021-05-10T07:08:25.521Z] 5e14af77c1be: Pull complete [2021-05-10T07:08:25.784Z] 01666e4c0597: Pull complete [2021-05-10T07:08:25.784Z] aa168da1d23b: Verifying Checksum [2021-05-10T07:08:25.784Z] aa168da1d23b: Download complete [2021-05-10T07:08:33.990Z] aa168da1d23b: Pull complete [2021-05-10T07:08:33.990Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T07:08:33.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T07:08:33.990Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T07:08:34.222Z] prd-centos7-docker-4c-2g-4028 does not seem to be running inside a container [2021-05-10T07:08:34.276Z] $ 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-912/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-912 -v /w/workspace/dgexfoundry_device-sdk-go_PR-912:/w/workspace/dgexfoundry_device-sdk-go_PR-912:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-912@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T07:08:37.299Z] $ docker top f7bd72d046343a0e072875d044fd3cea43ddcd9cfe22502fdc0157d90a7c404c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T07:08:37.747Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T07:08:38.054Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T07:08:38.362Z] + ls /var/log/sa-host [2021-05-10T07:08:38.362Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T07:08:38.362Z] file_magic: OK [2021-05-10T07:08:38.362Z] HZ: Using current value: 100 [2021-05-10T07:08:38.362Z] file_header: OK [2021-05-10T07:08:38.362Z] 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-10T07:08:38.362Z] Statistics: [2021-05-10T07:08:38.362Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-10T07:08:38.362Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T07:08:38.362Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T07:08:38.362Z] file_magic: OK [2021-05-10T07:08:38.362Z] HZ: Using current value: 100 [2021-05-10T07:08:38.362Z] file_header: OK [2021-05-10T07:08:38.362Z] 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-10T07:08:38.362Z] Statistics: [2021-05-10T07:08:38.362Z] Hnuu...uuuununununu... [2021-05-10T07:08:38.362Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T07:08:38.622Z] provisioning config files... [2021-05-10T07:08:38.648Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-912@tmp/config4047892816574210026tmp [Pipeline] { [Pipeline] echo [2021-05-10T07:08:38.672Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:08:38.969Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T07:08:38.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T07:08:39.008Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:08:39.307Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T07:08:39.319Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:08:39.637Z] ---> sudo-logs.sh [2021-05-10T07:08:39.637Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T07:08:39.668Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:08:39.968Z] ---> job-cost.sh [2021-05-10T07:08:39.968Z] lf-activate-venv: SKIPPING [2021-05-10T07:08:39.968Z] DEBUG: total: 0.20999999344348907 [2021-05-10T07:08:39.968Z] INFO: Retrieving Stack Cost... [2021-05-10T07:08:41.363Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T07:08:41.626Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T07:08:41.642Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T07:08:41.949Z] ---> logs-deploy.sh [2021-05-10T07:08:41.949Z] lf-activate-venv: SKIPPING [2021-05-10T07:08:41.949Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-912/2 [2021-05-10T07:08:41.949Z] INFO: archiving workspace using pattern(s): [2021-05-10T07:08:43.877Z] Archives upload complete. [2021-05-10T07:08:43.877Z] INFO: archiving logs to Nexus