Pull request #900 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9+edddd13237ed2f870dfa3fb5fc7d300be4879f06 (6597a663e3a9f284a56649eab6ad98492038b868) 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3943 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [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-900 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit edddd13237ed2f870dfa3fb5fc7d300be4879f06 into PR head commit 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 Merge succeeded, producing 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 Checking out Revision 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 (PR-900) > git config core.sparsecheckout # timeout=10 > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # 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 edddd13237ed2f870dfa3fb5fc7d300be4879f06 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 Commit message: "Merge branch 'master' into ut" > git rev-list --no-walk a6d8b77750f96f2bc258c0f41868b8ebbb4671a3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-10T05:04:58.778Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-10T05:04:58.884Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-10T05:04:58.912Z] ========================================================= [2021-05-10T05:04:58.912Z] EdgeX Global Pipelines Version Info [2021-05-10T05:04:58.912Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:05:00.467Z] ------------------- [2021-05-10T05:05:00.467Z] stable info: [2021-05-10T05:05:00.467Z] ------------------- [2021-05-10T05:05:00.467Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-10T05:05:00.467Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:05:00.467Z] Message: update stable to v1.0.191 [2021-05-10T05:05:01.415Z] ------------------- [2021-05-10T05:05:01.415Z] experimental info: [2021-05-10T05:05:01.415Z] ------------------- [2021-05-10T05:05:01.415Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-10T05:05:01.415Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-10T05:05:01.415Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-10T05:05:01.569Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-10T05:05:01.595Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-10T05:05:01.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-10T05:05:01.647Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-10T05:05:01.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-10T05:05:01.719Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-10T05:05:01.748Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-10T05:05:01.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-10T05:05:01.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-10T05:05:01.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-10T05:05:01.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-10T05:05:01.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-10T05:05:01.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-10T05:05:02.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-10T05:05:02.066Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-10T05:05:02.093Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:05:02.136Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:05:02.162Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-10T05:05:02.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-10T05:05:02.214Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-10T05:05:02.258Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-10T05:05:02.283Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-10T05:05:02.307Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-10T05:05:02.331Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-10T05:05:02.370Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-10T05:05:02.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-10T05:05:02.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-900 [Pipeline] echo [2021-05-10T05:05:02.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-900 [Pipeline] echo [2021-05-10T05:05:02.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-900 [Pipeline] echo [2021-05-10T05:05:02.510Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [Pipeline] echo [2021-05-10T05:05:02.535Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5fdfe4e [Pipeline] echo [2021-05-10T05:05:02.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T05:05:02.664Z] provisioning config files... [2021-05-10T05:05:02.697Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config2723678301567520178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:05:03.034Z] ---> docker-login.sh [2021-05-10T05:05:03.034Z] nexus3.edgexfoundry.org:10001 [2021-05-10T05:05:03.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:05:03.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:05:03.580Z] Configure a credential helper to remove this warning. See [2021-05-10T05:05:03.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:05:03.580Z] [2021-05-10T05:05:03.580Z] Login Succeeded [2021-05-10T05:05:03.580Z] nexus3.edgexfoundry.org:10002 [2021-05-10T05:05:03.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:05:03.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:05:03.580Z] Configure a credential helper to remove this warning. See [2021-05-10T05:05:03.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:05:03.580Z] [2021-05-10T05:05:03.580Z] Login Succeeded [2021-05-10T05:05:03.580Z] nexus3.edgexfoundry.org:10003 [2021-05-10T05:05:03.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:05:03.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:05:03.849Z] Configure a credential helper to remove this warning. See [2021-05-10T05:05:03.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:05:03.849Z] [2021-05-10T05:05:03.849Z] Login Succeeded [2021-05-10T05:05:03.849Z] nexus3.edgexfoundry.org:10004 [2021-05-10T05:05:04.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:05:04.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:05:04.114Z] Configure a credential helper to remove this warning. See [2021-05-10T05:05:04.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:05:04.114Z] [2021-05-10T05:05:04.114Z] Login Succeeded [2021-05-10T05:05:04.114Z] docker.io [2021-05-10T05:05:04.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:05:04.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:05:04.693Z] Configure a credential helper to remove this warning. See [2021-05-10T05:05:04.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:05:04.693Z] [2021-05-10T05:05:04.693Z] Login Succeeded [2021-05-10T05:05:04.693Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T05:05:04.704Z] 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-10T05:05:05.179Z] + git log --format=format:%s -1 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [Pipeline] echo [2021-05-10T05:05:05.273Z] GIT_COMMIT: 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9, Commit Message: Merge branch 'master' into ut [Pipeline] echo [2021-05-10T05:05:05.307Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:05:06.464Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:05:06.465Z] [2021-05-10T05:05:06.465Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:05:06.805Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:05:06.806Z] latest: Pulling from edgex-devops/git-semver [2021-05-10T05:05:06.806Z] 31603596830f: Pulling fs layer [2021-05-10T05:05:06.806Z] 54011a49482f: Pulling fs layer [2021-05-10T05:05:06.806Z] a6820b24f6d8: Pulling fs layer [2021-05-10T05:05:06.806Z] f581987b2513: Pulling fs layer [2021-05-10T05:05:06.806Z] f581987b2513: Waiting [2021-05-10T05:05:06.806Z] 54011a49482f: Verifying Checksum [2021-05-10T05:05:06.806Z] 54011a49482f: Download complete [2021-05-10T05:05:07.070Z] 31603596830f: Verifying Checksum [2021-05-10T05:05:07.070Z] 31603596830f: Download complete [2021-05-10T05:05:07.070Z] f581987b2513: Verifying Checksum [2021-05-10T05:05:07.070Z] f581987b2513: Download complete [2021-05-10T05:05:07.334Z] a6820b24f6d8: Verifying Checksum [2021-05-10T05:05:07.334Z] a6820b24f6d8: Download complete [2021-05-10T05:05:07.334Z] 31603596830f: Pull complete [2021-05-10T05:05:07.334Z] 54011a49482f: Pull complete [2021-05-10T05:05:08.291Z] a6820b24f6d8: Pull complete [2021-05-10T05:05:08.554Z] f581987b2513: Pull complete [2021-05-10T05:05:08.554Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-10T05:05:08.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-10T05:05:08.554Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-10T05:05:08.666Z] prd-centos7-docker-4c-2g-3943 does not seem to be running inside a container [2021-05-10T05:05:08.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-10T05:05:10.687Z] $ docker top 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-10T05:05:10.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:05:10.859Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:05:11.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:05:11.088Z] $ docker exec 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 ssh-agent [2021-05-10T05:05:11.276Z] SSH_AUTH_SOCK=/tmp/ssh-jeV8WjIuLMai/agent.12 [2021-05-10T05:05:11.276Z] SSH_AGENT_PID=17 [2021-05-10T05:05:11.286Z] Running ssh-add (command line suppressed) [2021-05-10T05:05:11.413Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_6912350412499546606.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_6912350412499546606.key) [2021-05-10T05:05:11.470Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:05:11.780Z] + git tag --points-at HEAD [Pipeline] } [2021-05-10T05:05:11.799Z] $ docker exec --env ******** --env ******** 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 ssh-agent -k [2021-05-10T05:05:11.930Z] unset SSH_AUTH_SOCK; [2021-05-10T05:05:11.931Z] unset SSH_AGENT_PID; [2021-05-10T05:05:11.931Z] echo Agent pid 17 killed; [2021-05-10T05:05:11.977Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-10T05:05:12.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-10T05:05:12.020Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-10T05:05:12.207Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-10T05:05:12.212Z] $ docker exec 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 ssh-agent [2021-05-10T05:05:12.388Z] SSH_AUTH_SOCK=/tmp/ssh-UnSJLGDICwiM/agent.46 [2021-05-10T05:05:12.388Z] SSH_AGENT_PID=52 [2021-05-10T05:05:12.395Z] Running ssh-add (command line suppressed) [2021-05-10T05:05:12.526Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_5450773898365666097.key (/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/private_key_5450773898365666097.key) [2021-05-10T05:05:12.810Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-10T05:05:13.118Z] + git semver init [2021-05-10T05:05:13.118Z] # -> Open(): unable to determine branch for HEAD [2021-05-10T05:05:13.118Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.git [2021-05-10T05:05:13.118Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-05-10T05:05:13.118Z] # $SEMVER_REMOTE_NAME = origin [2021-05-10T05:05:13.118Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-10T05:05:13.118Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-10T05:05:13.118Z] # $SEMVER_BRANCH = PR-900 [2021-05-10T05:05:13.118Z] # $SEMVER_TEMP = /tmp/semver-184059524 [2021-05-10T05:05:13.118Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-10T05:05:14.067Z] # '/tmp/semver-184059524' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver' [2021-05-10T05:05:14.067Z] # -> Force: false [2021-05-10T05:05:14.067Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-900/.semver [Pipeline] } [2021-05-10T05:05:14.082Z] $ docker exec --env ******** --env ******** 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 ssh-agent -k [2021-05-10T05:05:14.203Z] unset SSH_AUTH_SOCK; [2021-05-10T05:05:14.205Z] unset SSH_AGENT_PID; [2021-05-10T05:05:14.205Z] echo Agent pid 52 killed; [2021-05-10T05:05:14.256Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-10T05:05:14.590Z] + git semver [Pipeline] } [2021-05-10T05:05:14.612Z] $ docker stop --time=1 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 [2021-05-10T05:05:16.047Z] $ docker rm -f 2c28efcddfa7c15d7df5783bba92aa9baccf119b3061ce05d079d4ab79673e48 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T05:05:16.450Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-10T05:05:16.784Z] Stashed 1 file(s) [Pipeline] echo [2021-05-10T05:05:16.787Z] [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-10T05:05:32.007Z] Still waiting to schedule task [2021-05-10T05:05:32.008Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-10T05:05:32.010Z] Still waiting to schedule task [2021-05-10T05:05:32.010Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-10T05:08:59.824Z] Running on prd-centos7-docker-4c-2g-3945 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws [2021-05-10T05:08:59.843Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-05-10T05:09:02.631Z] using credential edgex-jenkins-ssh [2021-05-10T05:09:02.644Z] Cloning the remote Git repository [2021-05-10T05:09:02.676Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T05:09:02.769Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-05-10T05:09:02.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T05:09:02.842Z] > git --version # timeout=10 [2021-05-10T05:09:02.849Z] > git --version # 'git version 2.24.3' [2021-05-10T05:09:02.850Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T05:09:02.877Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T05:09:04.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T05:09:04.427Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T05:09:05.828Z] Merging remotes/origin/master commit edddd13237ed2f870dfa3fb5fc7d300be4879f06 into PR head commit 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [2021-05-10T05:09:05.297Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T05:09:05.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T05:09:05.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T05:09:05.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T05:09:05.838Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T05:09:05.843Z] > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 [2021-05-10T05:09:05.933Z] Merge succeeded, producing 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [2021-05-10T05:09:05.933Z] Checking out Revision 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 (PR-900) [2021-05-10T05:09:05.897Z] > git remote # timeout=10 [2021-05-10T05:09:05.903Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T05:09:05.910Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T05:09:05.915Z] > git merge edddd13237ed2f870dfa3fb5fc7d300be4879f06 # timeout=10 [2021-05-10T05:09:05.927Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T05:09:05.937Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T05:09:05.943Z] > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 [2021-05-10T05:09:09.616Z] Commit message: "Merge branch 'master' into ut" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T05:09:10.746Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-10T05:09:11.101Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T05:09:11.421Z] + sudo service docker restart [2021-05-10T05:09:11.421Z] + true [2021-05-10T05:09:11.421Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T05:09:12.861Z] provisioning config files... [2021-05-10T05:09:12.899Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5160331690733987810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:09:13.249Z] ---> docker-login.sh [2021-05-10T05:09:13.249Z] nexus3.edgexfoundry.org:10001 [2021-05-10T05:09:13.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:13.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:13.514Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:13.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:13.514Z] [2021-05-10T05:09:13.514Z] Login Succeeded [2021-05-10T05:09:13.514Z] nexus3.edgexfoundry.org:10002 [2021-05-10T05:09:13.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:13.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:13.776Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:13.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:13.776Z] [2021-05-10T05:09:13.776Z] Login Succeeded [2021-05-10T05:09:13.776Z] nexus3.edgexfoundry.org:10003 [2021-05-10T05:09:14.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:14.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:14.041Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:14.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:14.041Z] [2021-05-10T05:09:14.041Z] Login Succeeded [2021-05-10T05:09:14.041Z] nexus3.edgexfoundry.org:10004 [2021-05-10T05:09:14.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:14.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:14.306Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:14.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:14.306Z] [2021-05-10T05:09:14.306Z] Login Succeeded [2021-05-10T05:09:14.306Z] docker.io [2021-05-10T05:09:14.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:14.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:14.571Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:14.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:14.571Z] [2021-05-10T05:09:14.571Z] Login Succeeded [2021-05-10T05:09:14.571Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T05:09:14.582Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T05:09:14.800Z] ========================================================= [2021-05-10T05:09:14.800Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-10T05:09:14.800Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:09:15.116Z] + 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-10T05:09:15.116Z] Sending build context to Docker daemon 2.577MB [2021-05-10T05:09:15.116Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T05:09:15.116Z] Step 2/8 : FROM ${BASE} [2021-05-10T05:09:15.378Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-10T05:09:15.378Z] 540db60ca938: Pulling fs layer [2021-05-10T05:09:15.378Z] adcc1eea9eea: Pulling fs layer [2021-05-10T05:09:15.378Z] 4c4ab2625f07: Pulling fs layer [2021-05-10T05:09:15.378Z] 0510c868ecb4: Pulling fs layer [2021-05-10T05:09:15.378Z] afea3b2eda06: Pulling fs layer [2021-05-10T05:09:15.378Z] 7809a108b3ef: Pulling fs layer [2021-05-10T05:09:15.378Z] f706445af74f: Pulling fs layer [2021-05-10T05:09:15.378Z] afea3b2eda06: Waiting [2021-05-10T05:09:15.378Z] 7809a108b3ef: Waiting [2021-05-10T05:09:15.378Z] f706445af74f: Waiting [2021-05-10T05:09:15.378Z] 0510c868ecb4: Waiting [2021-05-10T05:09:15.378Z] 4c4ab2625f07: Verifying Checksum [2021-05-10T05:09:15.378Z] 4c4ab2625f07: Download complete [2021-05-10T05:09:15.378Z] adcc1eea9eea: Verifying Checksum [2021-05-10T05:09:15.378Z] adcc1eea9eea: Download complete [2021-05-10T05:09:15.378Z] afea3b2eda06: Verifying Checksum [2021-05-10T05:09:15.378Z] afea3b2eda06: Download complete [2021-05-10T05:09:15.378Z] 7809a108b3ef: Download complete [2021-05-10T05:09:15.378Z] 540db60ca938: Verifying Checksum [2021-05-10T05:09:15.378Z] 540db60ca938: Download complete [2021-05-10T05:09:15.646Z] 540db60ca938: Pull complete [2021-05-10T05:09:15.909Z] adcc1eea9eea: Pull complete [2021-05-10T05:09:15.909Z] 4c4ab2625f07: Pull complete [2021-05-10T05:09:17.840Z] f706445af74f: Verifying Checksum [2021-05-10T05:09:17.840Z] f706445af74f: Download complete [2021-05-10T05:09:18.424Z] 0510c868ecb4: Verifying Checksum [2021-05-10T05:09:18.424Z] 0510c868ecb4: Download complete [2021-05-10T05:09:19.706Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3944 in /w/workspace/dgexfoundry_device-sdk-go_PR-900 [Pipeline] { [Pipeline] ws [2021-05-10T05:09:19.724Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2021-05-10T05:09:23.770Z] 0510c868ecb4: Pull complete [2021-05-10T05:09:23.770Z] afea3b2eda06: Pull complete [2021-05-10T05:09:23.770Z] 7809a108b3ef: Pull complete [2021-05-10T05:09:24.902Z] using credential edgex-jenkins-ssh [2021-05-10T05:09:24.921Z] Cloning the remote Git repository [2021-05-10T05:09:25.034Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T05:09:25.195Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2021-05-10T05:09:25.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T05:09:25.480Z] > git --version # timeout=10 [2021-05-10T05:09:25.530Z] > git --version # 'git version 2.17.1' [2021-05-10T05:09:25.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T05:09:25.586Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T05:09:26.873Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T05:09:26.903Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-10T05:09:26.936Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-10T05:09:26.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-10T05:09:26.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T05:09:26.993Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/900/head:refs/remotes/origin/PR-900 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-10T05:09:27.646Z] Merging remotes/origin/master commit edddd13237ed2f870dfa3fb5fc7d300be4879f06 into PR head commit 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [2021-05-10T05:09:27.863Z] Merge succeeded, producing 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [2021-05-10T05:09:27.864Z] Checking out Revision 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 (PR-900) [2021-05-10T05:09:27.665Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T05:09:27.677Z] > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 [2021-05-10T05:09:27.777Z] > git remote # timeout=10 [2021-05-10T05:09:27.795Z] > git config --get remote.origin.url # timeout=10 [2021-05-10T05:09:27.808Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-10T05:09:27.819Z] > git merge edddd13237ed2f870dfa3fb5fc7d300be4879f06 # timeout=10 [2021-05-10T05:09:27.843Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-10T05:09:27.872Z] > git config core.sparsecheckout # timeout=10 [2021-05-10T05:09:27.897Z] > git checkout -f 5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 # timeout=10 [2021-05-10T05:09:31.989Z] f706445af74f: Pull complete [2021-05-10T05:09:31.990Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-10T05:09:31.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-10T05:09:31.990Z] ---> b068be0155e3 [2021-05-10T05:09:31.990Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T05:09:31.990Z] ---> Running in 39adae46d07c [2021-05-10T05:09:31.990Z] Removing intermediate container 39adae46d07c [2021-05-10T05:09:31.990Z] ---> 43ad08748144 [2021-05-10T05:09:31.990Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T05:09:31.990Z] ---> Running in 9df9ccebb421 [2021-05-10T05:09:32.074Z] Commit message: "Merge branch 'master' into ut" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T05:09:32.950Z] Removing intermediate container 9df9ccebb421 [2021-05-10T05:09:32.950Z] ---> aadb6cc7b085 [2021-05-10T05:09:32.950Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T05:09:32.950Z] ---> Running in 4caf7d23cf8f [2021-05-10T05:09:33.420Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-10T05:09:33.538Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T05:09:33.854Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-10T05:09:34.203Z] + + true [2021-05-10T05:09:34.203Z] sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-10T05:09:36.867Z] provisioning config files... [2021-05-10T05:09:36.911Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3065643261837914777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:09:37.290Z] ---> docker-login.sh [2021-05-10T05:09:37.290Z] nexus3.edgexfoundry.org:10001 [2021-05-10T05:09:38.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:38.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:38.554Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:38.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:38.554Z] [2021-05-10T05:09:38.554Z] Login Succeeded [2021-05-10T05:09:38.554Z] nexus3.edgexfoundry.org:10002 [2021-05-10T05:09:38.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:38.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:38.829Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:38.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:38.829Z] [2021-05-10T05:09:38.829Z] Login Succeeded [2021-05-10T05:09:38.829Z] nexus3.edgexfoundry.org:10003 [2021-05-10T05:09:39.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:39.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:39.425Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:39.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:39.425Z] [2021-05-10T05:09:39.425Z] Login Succeeded [2021-05-10T05:09:39.425Z] nexus3.edgexfoundry.org:10004 [2021-05-10T05:09:39.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:39.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:39.975Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:39.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:39.975Z] [2021-05-10T05:09:39.975Z] Login Succeeded [2021-05-10T05:09:39.975Z] docker.io [2021-05-10T05:09:40.174Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T05:09:40.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-10T05:09:40.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-10T05:09:40.518Z] Configure a credential helper to remove this warning. See [2021-05-10T05:09:40.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-10T05:09:40.518Z] [2021-05-10T05:09:40.518Z] Login Succeeded [2021-05-10T05:09:40.790Z] ---> docker-login.sh ends [Pipeline] } [2021-05-10T05:09:40.809Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-10T05:09:41.129Z] ========================================================= [2021-05-10T05:09:41.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-10T05:09:41.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:09:41.474Z] + 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-10T05:09:42.084Z] Sending build context to Docker daemon 2.585MB [2021-05-10T05:09:42.084Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T05:09:42.084Z] Step 2/8 : FROM ${BASE} [2021-05-10T05:09:42.084Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-10T05:09:42.084Z] 595b0fe564bb: Pulling fs layer [2021-05-10T05:09:42.084Z] 7186ed65a4f7: Pulling fs layer [2021-05-10T05:09:42.084Z] 316046926c0a: Pulling fs layer [2021-05-10T05:09:42.084Z] 4ebd0625c992: Pulling fs layer [2021-05-10T05:09:42.084Z] 207e8628e3a3: Pulling fs layer [2021-05-10T05:09:42.084Z] c791037a9be2: Pulling fs layer [2021-05-10T05:09:42.084Z] ffd874e62e21: Pulling fs layer [2021-05-10T05:09:42.084Z] 4ebd0625c992: Waiting [2021-05-10T05:09:42.084Z] 207e8628e3a3: Waiting [2021-05-10T05:09:42.084Z] c791037a9be2: Waiting [2021-05-10T05:09:42.084Z] ffd874e62e21: Waiting [2021-05-10T05:09:42.084Z] 316046926c0a: Download complete [2021-05-10T05:09:42.084Z] 7186ed65a4f7: Download complete [2021-05-10T05:09:42.084Z] 207e8628e3a3: Verifying Checksum [2021-05-10T05:09:42.084Z] 207e8628e3a3: Download complete [2021-05-10T05:09:42.084Z] c791037a9be2: Verifying Checksum [2021-05-10T05:09:42.084Z] c791037a9be2: Download complete [2021-05-10T05:09:42.084Z] 595b0fe564bb: Verifying Checksum [2021-05-10T05:09:42.084Z] 595b0fe564bb: Download complete [2021-05-10T05:09:42.687Z] 595b0fe564bb: Pull complete [2021-05-10T05:09:42.740Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-10T05:09:42.740Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-10T05:09:43.004Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-10T05:09:43.267Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-10T05:09:43.296Z] 7186ed65a4f7: Pull complete [2021-05-10T05:09:43.906Z] 316046926c0a: Pull complete [2021-05-10T05:09:44.216Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-10T05:09:44.500Z] ffd874e62e21: Verifying Checksum [2021-05-10T05:09:44.500Z] ffd874e62e21: Download complete [2021-05-10T05:09:44.793Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-10T05:09:45.056Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T05:09:45.056Z] OK: 150 MiB in 46 packages [2021-05-10T05:09:45.475Z] 4ebd0625c992: Verifying Checksum [2021-05-10T05:09:45.475Z] 4ebd0625c992: Download complete [2021-05-10T05:09:46.007Z] Removing intermediate container 4caf7d23cf8f [2021-05-10T05:09:46.007Z] ---> e3a415016b97 [2021-05-10T05:09:46.007Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-10T05:09:46.007Z] ---> Running in 4e18f8c598ff [2021-05-10T05:09:46.007Z] Removing intermediate container 4e18f8c598ff [2021-05-10T05:09:46.007Z] ---> e4aa71badd6a [2021-05-10T05:09:46.007Z] Step 7/8 : COPY . . [2021-05-10T05:09:47.411Z] ---> f259081d6ed3 [2021-05-10T05:09:47.411Z] Step 8/8 : RUN go mod download [2021-05-10T05:09:47.411Z] ---> Running in 516057c89298 [2021-05-10T05:09:55.645Z] 4ebd0625c992: Pull complete [2021-05-10T05:09:55.645Z] 207e8628e3a3: Pull complete [2021-05-10T05:09:56.246Z] c791037a9be2: Pull complete [2021-05-10T05:09:59.665Z] ffd874e62e21: Pull complete [2021-05-10T05:09:59.665Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-10T05:09:59.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-10T05:09:59.665Z] ---> cfc18b08335c [2021-05-10T05:09:59.665Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T05:10:02.295Z] ---> Running in 296cbd3e3327 [2021-05-10T05:10:02.889Z] Removing intermediate container 296cbd3e3327 [2021-05-10T05:10:02.889Z] ---> e41cadc55d7f [2021-05-10T05:10:02.889Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T05:10:02.889Z] ---> Running in c590d68c4e77 [2021-05-10T05:10:05.603Z] Removing intermediate container c590d68c4e77 [2021-05-10T05:10:05.603Z] ---> 61e1181a49ab [2021-05-10T05:10:05.603Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-10T05:10:05.603Z] ---> Running in 8028a2833611 [2021-05-10T05:10:06.202Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T05:10:08.166Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T05:10:09.587Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-10T05:10:09.587Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-10T05:10:09.587Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-10T05:10:09.858Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-10T05:10:10.128Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-10T05:10:10.402Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-10T05:10:10.402Z] Executing busybox-1.32.1-r6.trigger [2021-05-10T05:10:10.402Z] OK: 139 MiB in 46 packages [2021-05-10T05:10:11.831Z] Removing intermediate container 8028a2833611 [2021-05-10T05:10:11.831Z] ---> e1639229252c [2021-05-10T05:10:11.831Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-10T05:10:11.831Z] ---> Running in f757591e07bd [2021-05-10T05:10:12.429Z] Removing intermediate container f757591e07bd [2021-05-10T05:10:12.429Z] ---> bbeb68f930c1 [2021-05-10T05:10:12.429Z] Step 7/8 : COPY . . [2021-05-10T05:10:13.871Z] ---> 86887904982b [2021-05-10T05:10:13.871Z] Step 8/8 : RUN go mod download [2021-05-10T05:10:13.871Z] ---> Running in d65424227df1 [2021-05-10T05:10:14.109Z] Removing intermediate container 516057c89298 [2021-05-10T05:10:14.109Z] ---> 5d40c17df159 [2021-05-10T05:10:14.109Z] Successfully built 5d40c17df159 [2021-05-10T05:10:14.109Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:10:14.435Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T05:10:14.435Z] . [Pipeline] withDockerContainer [2021-05-10T05:10:14.558Z] prd-centos7-docker-4c-2g-3945 does not seem to be running inside a container [2021-05-10T05:10:14.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T05:10:15.502Z] $ docker top cf492c3f691739604929165c90cafd5716ca0cc9c50c6329775a60008303f66e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T05:10:15.955Z] + go version [2021-05-10T05:10:15.955Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-10T05:10:15.969Z] $ docker stop --time=1 cf492c3f691739604929165c90cafd5716ca0cc9c50c6329775a60008303f66e [2021-05-10T05:10:17.334Z] $ docker rm -f cf492c3f691739604929165c90cafd5716ca0cc9c50c6329775a60008303f66e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:10:17.895Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-10T05:10:17.895Z] . [Pipeline] withDockerContainer [2021-05-10T05:10:17.997Z] prd-centos7-docker-4c-2g-3945 does not seem to be running inside a container [2021-05-10T05:10:18.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-10T05:10:18.700Z] $ docker top b62a93cee9f4947c24cc15f7628f9457bfeca0cb7be2f63efce445170ef914a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T05:10:19.105Z] + go mod tidy [Pipeline] sh [2021-05-10T05:10:19.993Z] + make test [2021-05-10T05:10:19.993Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T05:10:28.244Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-10T05:10:40.684Z] Removing intermediate container d65424227df1 [2021-05-10T05:10:40.684Z] ---> b6b4aecd1438 [2021-05-10T05:10:40.684Z] Successfully built b6b4aecd1438 [2021-05-10T05:10:40.684Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:10:41.028Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T05:10:41.028Z] . [Pipeline] withDockerContainer [2021-05-10T05:10:41.312Z] prd-ubuntu18.04-docker-arm64-4c-16g-3944 does not seem to be running inside a container [2021-05-10T05:10:41.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T05:10:42.835Z] $ docker top 3aa14551dde36d0b29b6a34703db04608539d42815f0082392a42334d9d5bfd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T05:10:43.779Z] + go version [2021-05-10T05:10:43.779Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-10T05:10:43.807Z] $ docker stop --time=1 3aa14551dde36d0b29b6a34703db04608539d42815f0082392a42334d9d5bfd4 [2021-05-10T05:10:45.771Z] $ docker rm -f 3aa14551dde36d0b29b6a34703db04608539d42815f0082392a42334d9d5bfd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:10:46.494Z] + docker inspect -f . ci-base-image-arm64 [2021-05-10T05:10:46.494Z] . [Pipeline] withDockerContainer [2021-05-10T05:10:46.733Z] prd-ubuntu18.04-docker-arm64-4c-16g-3944 does not seem to be running inside a container [2021-05-10T05:10:46.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-10T05:10:48.330Z] $ docker top ea776f7cf5afbdf051ad663ad87955f155d51420cc676b61b64cb496ac2c7d62 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T05:10:49.297Z] + go mod tidy [Pipeline] sh [2021-05-10T05:10:50.551Z] + make test [2021-05-10T05:10:50.551Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-10T05:10:55.290Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-10T05:10:55.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-10T05:10:55.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-10T05:10:55.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 25.4% of statements [2021-05-10T05:10:55.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-10T05:10:55.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.095s coverage: 28.1% of statements [2021-05-10T05:10:55.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.070s coverage: 78.9% of statements [2021-05-10T05:10:55.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.066s coverage: 10.7% of statements [2021-05-10T05:10:55.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-10T05:10:55.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-10T05:10:55.559Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-10T05:10:55.823Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 30.2% of statements [2021-05-10T05:10:55.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-10T05:10:55.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-10T05:10:55.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-10T05:10:55.823Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-10T05:10:55.823Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 58.4% of statements [2021-05-10T05:10:57.238Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.235s coverage: 89.2% of statements [2021-05-10T05:10:57.238Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-10T05:10:57.238Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-05-10T05:10:57.238Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-10T05:10:57.238Z] GO111MODULE=on go vet ./... [2021-05-10T05:11:12.750Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-10T05:11:19.356Z] gofmt -l . [2021-05-10T05:11:19.356Z] [ "`gofmt -l .`" = "" ] [2021-05-10T05:11:19.356Z] ./bin/test-attribution-txt.sh [2021-05-10T05:11:19.356Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T05:11:19.378Z] $ docker stop --time=1 b62a93cee9f4947c24cc15f7628f9457bfeca0cb7be2f63efce445170ef914a4 [2021-05-10T05:11:22.361Z] $ docker rm -f b62a93cee9f4947c24cc15f7628f9457bfeca0cb7be2f63efce445170ef914a4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T05:11:23.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T05:11:23.441Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-10T05:11:26.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T05:11:26.521Z] + ls -al . [2021-05-10T05:11:26.521Z] total 212 [2021-05-10T05:11:26.521Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 10 05:11 . [2021-05-10T05:11:26.521Z] drwxrwxr-x. 4 jenkins jenkins 28 May 10 05:09 .. [2021-05-10T05:11:26.521Z] drwxrwxr-x. 2 jenkins jenkins 64 May 10 05:09 bin [2021-05-10T05:11:26.521Z] -rw-r--r--. 1 jenkins jenkins 124140 May 10 05:10 coverage.out [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 987 May 10 05:09 Dockerfile.build [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 140 May 10 05:09 .dockerignore [2021-05-10T05:11:26.521Z] drwxrwxr-x. 5 jenkins jenkins 62 May 10 05:09 example [2021-05-10T05:11:26.521Z] drwxrwxr-x. 8 jenkins jenkins 179 May 10 05:09 .git [2021-05-10T05:11:26.521Z] drwxrwxr-x. 2 jenkins jenkins 103 May 10 05:09 .github [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 138 May 10 05:09 .gitignore [2021-05-10T05:11:26.521Z] -rw-r--r--. 1 jenkins jenkins 575 May 10 05:11 go.mod [2021-05-10T05:11:26.521Z] -rw-r--r--. 1 jenkins jenkins 20904 May 10 05:10 go.sum [2021-05-10T05:11:26.521Z] drwxrwxr-x. 15 jenkins jenkins 222 May 10 05:09 internal [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 901 May 10 05:09 Jenkinsfile [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 10 05:09 LICENSE [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 10 05:09 Makefile [2021-05-10T05:11:26.521Z] drwxrwxr-x. 4 jenkins jenkins 26 May 10 05:09 openapi [2021-05-10T05:11:26.521Z] drwxrwxr-x. 5 jenkins jenkins 50 May 10 05:09 pkg [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 10 05:09 README.md [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 10 05:09 RELEASE-NOTES.txt [2021-05-10T05:11:26.521Z] drwxrwxr-x. 4 jenkins jenkins 54 May 10 05:09 snap [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 5 May 10 05:05 VERSION [2021-05-10T05:11:26.521Z] -rw-rw-r--. 1 jenkins jenkins 222 May 10 05:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:11:26.834Z] + 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=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 --label arch=amd64 --label version=0.0.0 . [2021-05-10T05:11:27.101Z] Sending build context to Docker daemon 2.702MB [2021-05-10T05:11:27.101Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T05:11:27.101Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T05:11:27.101Z] ---> 5d40c17df159 [2021-05-10T05:11:27.101Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-10T05:11:28.058Z] ---> Running in 40a317569bc2 [2021-05-10T05:11:28.058Z] Removing intermediate container 40a317569bc2 [2021-05-10T05:11:28.058Z] ---> cf408e0ae4ab [2021-05-10T05:11:28.058Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T05:11:28.058Z] ---> Running in 388432c9d54c [2021-05-10T05:11:28.323Z] Removing intermediate container 388432c9d54c [2021-05-10T05:11:28.323Z] ---> 6694fd60b761 [2021-05-10T05:11:28.323Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T05:11:28.323Z] ---> Running in 6818861abd82 [2021-05-10T05:11:29.278Z] Removing intermediate container 6818861abd82 [2021-05-10T05:11:29.278Z] ---> b1bbf0a3a0ad [2021-05-10T05:11:29.278Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T05:11:29.548Z] ---> Running in 497caa3fe04e [2021-05-10T05:11:30.126Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-10T05:11:33.446Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-10T05:11:38.763Z] OK: 150 MiB in 46 packages [2021-05-10T05:11:39.345Z] Removing intermediate container 497caa3fe04e [2021-05-10T05:11:39.345Z] ---> 4942c1e444cf [2021-05-10T05:11:39.345Z] Step 7/23 : COPY . . [2021-05-10T05:11:40.298Z] ---> 0c2be204c7f7 [2021-05-10T05:11:40.298Z] Step 8/23 : RUN go mod download [2021-05-10T05:11:40.561Z] ---> Running in df29dc5aba43 [2021-05-10T05:11:41.512Z] Removing intermediate container df29dc5aba43 [2021-05-10T05:11:41.512Z] ---> 8d9b7be02f60 [2021-05-10T05:11:41.512Z] Step 9/23 : RUN make build [2021-05-10T05:11:41.512Z] ---> Running in e688c131dc17 [2021-05-10T05:11:41.778Z] 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-10T05:11:54.145Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-10T05:11:55.096Z] Removing intermediate container e688c131dc17 [2021-05-10T05:11:55.096Z] ---> 0cc731939f0d [2021-05-10T05:11:55.096Z] Step 10/23 : FROM alpine:3.12 [2021-05-10T05:11:55.360Z] 3.12: Pulling from library/alpine [2021-05-10T05:11:55.623Z] 339de151aab4: Pulling fs layer [2021-05-10T05:11:55.623Z] 339de151aab4: Verifying Checksum [2021-05-10T05:11:55.623Z] 339de151aab4: Download complete [2021-05-10T05:11:55.887Z] 339de151aab4: Pull complete [2021-05-10T05:11:55.887Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T05:11:55.887Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T05:11:55.887Z] ---> 13621d1b12d4 [2021-05-10T05:11:55.887Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T05:11:56.167Z] ---> Running in b7a09e810f73 [2021-05-10T05:11:56.167Z] Removing intermediate container b7a09e810f73 [2021-05-10T05:11:56.167Z] ---> 5c931545ec07 [2021-05-10T05:11:56.167Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T05:11:56.167Z] ---> Running in 487c9b599ec2 [2021-05-10T05:11:57.566Z] Removing intermediate container 487c9b599ec2 [2021-05-10T05:11:57.566Z] ---> c9d8d7c03469 [2021-05-10T05:11:57.566Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-10T05:11:57.566Z] ---> Running in fc426ed6b6db [2021-05-10T05:11:57.829Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-10T05:11:59.226Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-10T05:11:59.802Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-10T05:12:00.065Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-10T05:12:00.328Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-10T05:12:01.727Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-10T05:12:03.125Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-10T05:12:03.125Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T05:12:03.125Z] OK: 8 MiB in 19 packages [2021-05-10T05:12:03.705Z] Removing intermediate container fc426ed6b6db [2021-05-10T05:12:03.705Z] ---> d4c5a549466d [2021-05-10T05:12:03.705Z] Step 14/23 : WORKDIR / [2021-05-10T05:12:03.705Z] ---> Running in 341b72615151 [2021-05-10T05:12:03.969Z] Removing intermediate container 341b72615151 [2021-05-10T05:12:03.969Z] ---> bf1f515fec0e [2021-05-10T05:12:03.969Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-10T05:12:04.233Z] ---> ecbfb27bd07f [2021-05-10T05:12:04.233Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-10T05:12:04.811Z] ---> 8f39193b6b5b [2021-05-10T05:12:04.811Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-10T05:12:05.076Z] ---> 7a18d40fbf9c [2021-05-10T05:12:05.076Z] Step 18/23 : EXPOSE 49990 [2021-05-10T05:12:05.076Z] ---> Running in 5cc90c9a6844 [2021-05-10T05:12:05.343Z] Removing intermediate container 5cc90c9a6844 [2021-05-10T05:12:05.343Z] ---> bc3ac0a67bbc [2021-05-10T05:12:05.343Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-10T05:12:05.343Z] ---> Running in fffb940da524 [2021-05-10T05:12:05.608Z] Removing intermediate container fffb940da524 [2021-05-10T05:12:05.608Z] ---> cbd2e66db3c3 [2021-05-10T05:12:05.608Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T05:12:05.608Z] ---> Running in ea225a5f4f01 [2021-05-10T05:12:05.872Z] Removing intermediate container ea225a5f4f01 [2021-05-10T05:12:05.872Z] ---> a92c5751370b [2021-05-10T05:12:05.872Z] Step 21/23 : LABEL arch=amd64 [2021-05-10T05:12:05.872Z] ---> Running in bad019ef4eb3 [2021-05-10T05:12:06.137Z] Removing intermediate container bad019ef4eb3 [2021-05-10T05:12:06.137Z] ---> 8a01d593804b [2021-05-10T05:12:06.137Z] Step 22/23 : LABEL git_sha=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [2021-05-10T05:12:06.137Z] ---> Running in 8761bc245e59 [2021-05-10T05:12:06.137Z] Removing intermediate container 8761bc245e59 [2021-05-10T05:12:06.137Z] ---> dd28fbbead52 [2021-05-10T05:12:06.137Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T05:12:06.400Z] ---> Running in 0dfc2d6bd7b0 [2021-05-10T05:12:06.400Z] Removing intermediate container 0dfc2d6bd7b0 [2021-05-10T05:12:06.400Z] ---> 69453d4ffed7 [2021-05-10T05:12:06.400Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-10T05:12:06.400Z] Successfully built 69453d4ffed7 [2021-05-10T05:12:06.400Z] 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-10T05:12:07.267Z] ---> job-cost.sh [2021-05-10T05:12:07.267Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-Se85 [2021-05-10T05:12:20.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-10T05:12:20.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-10T05:12:20.842Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-10T05:12:22.252Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T05:12:27.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.185s coverage: 25.4% of statements [2021-05-10T05:12:27.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-10T05:12:27.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.131s coverage: 28.1% of statements [2021-05-10T05:12:27.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.165s coverage: 78.9% of statements [2021-05-10T05:12:27.603Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.160s coverage: 10.7% of statements [2021-05-10T05:12:27.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-10T05:12:27.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-10T05:12:27.603Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-10T05:12:30.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.215s coverage: 30.2% of statements [2021-05-10T05:12:30.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-10T05:12:30.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-10T05:12:30.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-10T05:12:30.269Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-10T05:12:30.269Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.344s coverage: 58.4% of statements [2021-05-10T05:12:32.261Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.122s coverage: 89.2% of statements [2021-05-10T05:12:32.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-10T05:12:32.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.147s coverage: 5.0% of statements [2021-05-10T05:12:32.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-10T05:12:32.816Z] GO111MODULE=on go vet ./... [2021-05-10T05:12:48.882Z] lf-activate-venv(): INFO: Adding /tmp/venv-Se85/bin to PATH [2021-05-10T05:12:48.882Z] INFO: No Stack... [2021-05-10T05:12:48.882Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T05:12:49.836Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T05:12:50.148Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2021-05-10T05:12:50.148Z] + cut -d, -f6 [Pipeline] lock [2021-05-10T05:12:50.233Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] [2021-05-10T05:12:50.243Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] did not exist. Created. [2021-05-10T05:12:50.243Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T05:12:50.581Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-10T05:12:50.710Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T05:12:50.723Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-10T05:13:29.433Z] gofmt -l . [2021-05-10T05:13:29.433Z] [ "`gofmt -l .`" = "" ] [2021-05-10T05:13:29.433Z] ./bin/test-attribution-txt.sh [2021-05-10T05:13:29.433Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-10T05:13:29.741Z] $ docker stop --time=1 ea776f7cf5afbdf051ad663ad87955f155d51420cc676b61b64cb496ac2c7d62 [2021-05-10T05:13:31.927Z] $ docker rm -f ea776f7cf5afbdf051ad663ad87955f155d51420cc676b61b64cb496ac2c7d62 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-10T05:13:32.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-10T05:13:33.009Z] Warning: overwriting stash ‘coverage-report’ [2021-05-10T05:13:33.979Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-10T05:13:34.471Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-10T05:13:34.840Z] + ls -al . [2021-05-10T05:13:34.840Z] total 248 [2021-05-10T05:13:34.840Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 05:13 . [2021-05-10T05:13:34.840Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 05:09 .. [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 05:09 .dockerignore [2021-05-10T05:13:34.840Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 05:09 .git [2021-05-10T05:13:34.840Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 05:09 .github [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 138 May 10 05:09 .gitignore [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 987 May 10 05:09 Dockerfile.build [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 901 May 10 05:09 Jenkinsfile [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 05:09 LICENSE [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 10 05:09 Makefile [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 10 05:09 README.md [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 10 05:09 RELEASE-NOTES.txt [2021-05-10T05:13:34.840Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 05:05 VERSION [2021-05-10T05:13:34.840Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 05:09 bin [2021-05-10T05:13:34.840Z] -rw-r--r-- 1 jenkins jenkins 124140 May 10 05:12 coverage.out [2021-05-10T05:13:34.840Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 05:09 example [2021-05-10T05:13:34.840Z] -rw-r--r-- 1 jenkins jenkins 575 May 10 05:13 go.mod [2021-05-10T05:13:34.841Z] -rw-r--r-- 1 jenkins jenkins 20904 May 10 05:10 go.sum [2021-05-10T05:13:34.841Z] drwxrwxr-x 15 jenkins jenkins 4096 May 10 05:09 internal [2021-05-10T05:13:34.841Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 05:09 openapi [2021-05-10T05:13:34.841Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 05:09 pkg [2021-05-10T05:13:34.841Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 05:09 snap [2021-05-10T05:13:34.841Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 05:09 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:13:35.232Z] + 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=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 --label arch=arm64 --label version=0.0.0 . [2021-05-10T05:13:35.860Z] Sending build context to Docker daemon 2.71MB [2021-05-10T05:13:35.860Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-10T05:13:35.860Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-10T05:13:35.860Z] ---> b6b4aecd1438 [2021-05-10T05:13:35.860Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-10T05:13:36.147Z] ---> Running in 4b0b27df4169 [2021-05-10T05:13:36.742Z] Removing intermediate container 4b0b27df4169 [2021-05-10T05:13:36.742Z] ---> 2f7fbc01cad1 [2021-05-10T05:13:36.742Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T05:13:36.742Z] ---> Running in 03dfac55c650 [2021-05-10T05:13:37.337Z] Removing intermediate container 03dfac55c650 [2021-05-10T05:13:37.337Z] ---> 23bad672725a [2021-05-10T05:13:37.337Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T05:13:37.337Z] ---> Running in 77d13bdbbe4e [2021-05-10T05:13:39.317Z] Removing intermediate container 77d13bdbbe4e [2021-05-10T05:13:39.318Z] ---> cff880f75ff9 [2021-05-10T05:13:39.318Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-10T05:13:39.591Z] ---> Running in 94bdff390bc0 [2021-05-10T05:13:40.569Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-10T05:13:42.532Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-10T05:13:43.955Z] OK: 139 MiB in 46 packages [2021-05-10T05:13:44.924Z] Removing intermediate container 94bdff390bc0 [2021-05-10T05:13:44.924Z] ---> fdc11680d16b [2021-05-10T05:13:44.924Z] Step 7/23 : COPY . . [2021-05-10T05:13:46.353Z] ---> f88bda56d6f8 [2021-05-10T05:13:46.353Z] Step 8/23 : RUN go mod download [2021-05-10T05:13:46.353Z] ---> Running in 406d27cd6e26 [2021-05-10T05:13:48.325Z] Removing intermediate container 406d27cd6e26 [2021-05-10T05:13:48.326Z] ---> d3f72545c774 [2021-05-10T05:13:48.326Z] Step 9/23 : RUN make build [2021-05-10T05:13:48.617Z] ---> Running in 87feb85557c5 [2021-05-10T05:13:49.598Z] 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-10T05:14:21.973Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-10T05:14:23.945Z] Removing intermediate container 87feb85557c5 [2021-05-10T05:14:23.945Z] ---> 03cfccc33a52 [2021-05-10T05:14:23.945Z] Step 10/23 : FROM alpine:3.12 [2021-05-10T05:14:24.539Z] 3.12: Pulling from library/alpine [2021-05-10T05:14:24.539Z] d2f70382dc9a: Pulling fs layer [2021-05-10T05:14:24.816Z] d2f70382dc9a: Verifying Checksum [2021-05-10T05:14:24.816Z] d2f70382dc9a: Download complete [2021-05-10T05:14:25.413Z] d2f70382dc9a: Pull complete [2021-05-10T05:14:25.413Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-10T05:14:25.413Z] Status: Downloaded newer image for alpine:3.12 [2021-05-10T05:14:25.413Z] ---> 9852663dfa18 [2021-05-10T05:14:25.413Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-10T05:14:25.687Z] ---> Running in c81031ead715 [2021-05-10T05:14:25.960Z] Removing intermediate container c81031ead715 [2021-05-10T05:14:25.960Z] ---> 76416e609ec1 [2021-05-10T05:14:25.960Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-10T05:14:26.239Z] ---> Running in fc1548d13178 [2021-05-10T05:14:28.217Z] Removing intermediate container fc1548d13178 [2021-05-10T05:14:28.217Z] ---> 209d305673fd [2021-05-10T05:14:28.217Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-10T05:14:28.490Z] ---> Running in 15ead0f7e00a [2021-05-10T05:14:29.470Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-10T05:14:30.897Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-10T05:14:31.871Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-10T05:14:32.141Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-10T05:14:32.418Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-10T05:14:33.010Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-10T05:14:33.010Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-10T05:14:33.283Z] Executing busybox-1.31.1-r20.trigger [2021-05-10T05:14:33.283Z] OK: 8 MiB in 19 packages [2021-05-10T05:14:34.725Z] Removing intermediate container 15ead0f7e00a [2021-05-10T05:14:34.725Z] ---> c8726c68ad80 [2021-05-10T05:14:34.725Z] Step 14/23 : WORKDIR / [2021-05-10T05:14:34.725Z] ---> Running in c3e1c8a9317e [2021-05-10T05:14:35.323Z] Removing intermediate container c3e1c8a9317e [2021-05-10T05:14:35.323Z] ---> 6ae14135c43a [2021-05-10T05:14:35.323Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-10T05:14:35.921Z] ---> f4f64354686c [2021-05-10T05:14:35.921Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-10T05:14:37.360Z] ---> c005810f7473 [2021-05-10T05:14:37.360Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-10T05:14:37.957Z] ---> 10195d0091d9 [2021-05-10T05:14:37.957Z] Step 18/23 : EXPOSE 49990 [2021-05-10T05:14:38.234Z] ---> Running in b9ea2ec4d8d1 [2021-05-10T05:14:38.508Z] Removing intermediate container b9ea2ec4d8d1 [2021-05-10T05:14:38.508Z] ---> 601b366a2d25 [2021-05-10T05:14:38.508Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-10T05:14:38.786Z] ---> Running in 879d93f5336d [2021-05-10T05:14:39.384Z] Removing intermediate container 879d93f5336d [2021-05-10T05:14:39.384Z] ---> a8f12851208d [2021-05-10T05:14:39.384Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-10T05:14:39.384Z] ---> Running in 27dd0fc77fb8 [2021-05-10T05:14:39.656Z] Removing intermediate container 27dd0fc77fb8 [2021-05-10T05:14:39.656Z] ---> 7d46a664448e [2021-05-10T05:14:39.656Z] Step 21/23 : LABEL arch=arm64 [2021-05-10T05:14:39.934Z] ---> Running in 36dc5704e13e [2021-05-10T05:14:40.535Z] Removing intermediate container 36dc5704e13e [2021-05-10T05:14:40.535Z] ---> 4adc006bed7c [2021-05-10T05:14:40.535Z] Step 22/23 : LABEL git_sha=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [2021-05-10T05:14:40.535Z] ---> Running in 1b36160f2745 [2021-05-10T05:14:41.132Z] Removing intermediate container 1b36160f2745 [2021-05-10T05:14:41.132Z] ---> 36df75e276f5 [2021-05-10T05:14:41.132Z] Step 23/23 : LABEL version=0.0.0 [2021-05-10T05:14:41.132Z] ---> Running in 86f019e8b3d9 [2021-05-10T05:14:41.727Z] Removing intermediate container 86f019e8b3d9 [2021-05-10T05:14:41.727Z] ---> b2a02d6cfea3 [2021-05-10T05:14:41.727Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-10T05:14:41.727Z] Successfully built b2a02d6cfea3 [2021-05-10T05:14:41.727Z] 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-10T05:14:42.269Z] ---> job-cost.sh [2021-05-10T05:14:42.269Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-xzzj [2021-05-10T05:15:21.214Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-10T05:16:42.943Z] lf-activate-venv(): INFO: Adding /tmp/venv-xzzj/bin to PATH [2021-05-10T05:16:42.943Z] INFO: No Stack... [2021-05-10T05:16:42.943Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-10T05:16:43.213Z] INFO: Archiving Costs [Pipeline] sh [2021-05-10T05:16:43.558Z] + cut -d, -f6 [2021-05-10T05:16:43.558Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2021-05-10T05:16:43.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] [2021-05-10T05:16:43.689Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] did not exist. Created. [2021-05-10T05:16:43.689Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-900-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-10T05:16:44.060Z] /w/workspace/device-sdk-go/5@tmp/durable-849a9118/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-849a9118/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-10T05:16:44.408Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-10T05:16:44.442Z] Warning: overwriting stash ‘stack-cost’ [2021-05-10T05:16:44.601Z] Stashed 1 file(s) [Pipeline] } [2021-05-10T05:16:44.617Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-900-5-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-10T05:16:45.493Z] provisioning config files... [2021-05-10T05:16:45.510Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config6060083571424814503tmp [Pipeline] { [Pipeline] sh [2021-05-10T05:16:45.877Z] + set +x [2021-05-10T05:16:45.877Z] + curl -s https://codecov.io/bash [2021-05-10T05:16:45.877Z] + bash -s -- [2021-05-10T05:16:46.141Z] [2021-05-10T05:16:46.141Z] _____ _ [2021-05-10T05:16:46.141Z] / ____| | | [2021-05-10T05:16:46.141Z] | | ___ __| | ___ ___ _____ __ [2021-05-10T05:16:46.141Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-10T05:16:46.141Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-10T05:16:46.141Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-10T05:16:46.141Z] Bash-1.0.2 [2021-05-10T05:16:46.141Z] [2021-05-10T05:16:46.141Z] [2021-05-10T05:16:46.141Z] ==> git version 2.24.3 found [2021-05-10T05:16:46.141Z] ==> 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-10T05:16:46.141Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-10T05:16:46.141Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-10T05:16:46.141Z] ==> Jenkins CI detected. [2021-05-10T05:16:46.141Z] project root: . [2021-05-10T05:16:46.141Z] --> token set from env [2021-05-10T05:16:46.141Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-10T05:16:46.141Z] ==> Running gcov in . (disable via -X gcov) [2021-05-10T05:16:46.141Z] ==> Python coveragepy not found [2021-05-10T05:16:46.141Z] ==> Searching for coverage reports in: [2021-05-10T05:16:46.141Z] + . [2021-05-10T05:16:46.141Z] -> Found 1 reports [2021-05-10T05:16:46.141Z] ==> Detecting git/mercurial file structure [2021-05-10T05:16:46.141Z] ==> Reading reports [2021-05-10T05:16:46.141Z] + ./coverage.out bytes=124140 [2021-05-10T05:16:46.141Z] ==> Appending adjustments [2021-05-10T05:16:46.141Z] https://docs.codecov.io/docs/fixing-reports [2021-05-10T05:16:46.718Z] + Found adjustments [2021-05-10T05:16:46.718Z] ==> Gzipping contents [2021-05-10T05:16:46.718Z] 16K /tmp/codecov.vVPc39.gz [2021-05-10T05:16:46.718Z] ==> Uploading reports [2021-05-10T05:16:46.718Z] url: https://codecov.io [2021-05-10T05:16:46.718Z] query: branch=PR-900&commit=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= [2021-05-10T05:16:46.718Z] -> Pinging Codecov [2021-05-10T05:16:46.718Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-900&commit=5fdfe4e96ed49d8ecf859992466e40d3a779b6f9&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-900%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=900&job=&cmd_args= [2021-05-10T05:16:47.295Z] -> Uploading to [2021-05-10T05:16:47.295Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-10/7E55EF52A471D76F132DFD9A03CDDE97/5fdfe4e96ed49d8ecf859992466e40d3a779b6f9/9d9fd8dd-9458-473f-81d1-473e95fde917.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210510T051646Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4154f9fc7d3cece9204038804d00b20e554881a6ee6c26d2ff0724f727f5b8e5 [2021-05-10T05:16:47.295Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-10T05:16:47.295Z] Dload Upload Total Spent Left Speed [2021-05-10T05:16:47.559Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16222 0 0 100 16222 0 37870 --:--:-- --:--:-- --:--:-- 37901 [2021-05-10T05:16:47.559Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5fdfe4e96ed49d8ecf859992466e40d3a779b6f9 [Pipeline] } [2021-05-10T05:16:47.570Z] 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-10T05:16:48.779Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:16:49.352Z] ---> package-listing.sh [2021-05-10T05:16:49.352Z] ++ facter osfamily [2021-05-10T05:16:49.352Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-10T05:16:49.352Z] + OS_FAMILY=redhat [2021-05-10T05:16:49.352Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-900 [2021-05-10T05:16:49.352Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-10T05:16:49.352Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-10T05:16:49.352Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-10T05:16:49.352Z] + PACKAGES=/tmp/packages_start.txt [2021-05-10T05:16:49.352Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' [2021-05-10T05:16:49.352Z] + PACKAGES=/tmp/packages_end.txt [2021-05-10T05:16:49.352Z] + case "${OS_FAMILY}" in [2021-05-10T05:16:49.352Z] + rpm -qa [2021-05-10T05:16:49.352Z] + sort [2021-05-10T05:16:54.662Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-10T05:16:54.662Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-10T05:16:54.662Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-10T05:16:54.662Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-900 ']' [2021-05-10T05:16:54.662Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [2021-05-10T05:16:54.662Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-900/archives/ [Pipeline] echo [2021-05-10T05:16:54.677Z] 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-900/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-10T05:16:54.968Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:16:55.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T05:16:55.277Z] [2021-05-10T05:16:55.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-10T05:16:55.597Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T05:16:55.597Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-10T05:16:55.597Z] df20fa9351a1: Pulling fs layer [2021-05-10T05:16:55.597Z] 36b3adc4ff6f: Pulling fs layer [2021-05-10T05:16:55.597Z] 8ad3a11d3b57: Pulling fs layer [2021-05-10T05:16:55.597Z] 46f8f816bc3b: Pulling fs layer [2021-05-10T05:16:55.597Z] 93b61091891f: Pulling fs layer [2021-05-10T05:16:55.597Z] 93b9cdb0e59b: Pulling fs layer [2021-05-10T05:16:55.597Z] 5e14af77c1be: Pulling fs layer [2021-05-10T05:16:55.597Z] 01666e4c0597: Pulling fs layer [2021-05-10T05:16:55.597Z] aa168da1d23b: Pulling fs layer [2021-05-10T05:16:55.597Z] 46f8f816bc3b: Waiting [2021-05-10T05:16:55.597Z] 93b61091891f: Waiting [2021-05-10T05:16:55.597Z] 93b9cdb0e59b: Waiting [2021-05-10T05:16:55.597Z] 5e14af77c1be: Waiting [2021-05-10T05:16:55.597Z] 01666e4c0597: Waiting [2021-05-10T05:16:55.597Z] aa168da1d23b: Waiting [2021-05-10T05:16:55.597Z] 36b3adc4ff6f: Verifying Checksum [2021-05-10T05:16:55.597Z] 36b3adc4ff6f: Download complete [2021-05-10T05:16:55.597Z] 46f8f816bc3b: Verifying Checksum [2021-05-10T05:16:55.597Z] 46f8f816bc3b: Download complete [2021-05-10T05:16:55.859Z] df20fa9351a1: Verifying Checksum [2021-05-10T05:16:55.859Z] df20fa9351a1: Download complete [2021-05-10T05:16:55.859Z] 93b9cdb0e59b: Verifying Checksum [2021-05-10T05:16:55.859Z] 93b9cdb0e59b: Download complete [2021-05-10T05:16:55.859Z] 5e14af77c1be: Verifying Checksum [2021-05-10T05:16:55.859Z] 5e14af77c1be: Download complete [2021-05-10T05:16:55.859Z] 93b61091891f: Verifying Checksum [2021-05-10T05:16:55.859Z] 93b61091891f: Download complete [2021-05-10T05:16:55.859Z] 01666e4c0597: Verifying Checksum [2021-05-10T05:16:55.859Z] 01666e4c0597: Download complete [2021-05-10T05:16:55.859Z] 8ad3a11d3b57: Verifying Checksum [2021-05-10T05:16:55.859Z] 8ad3a11d3b57: Download complete [2021-05-10T05:16:56.123Z] df20fa9351a1: Pull complete [2021-05-10T05:16:56.387Z] 36b3adc4ff6f: Pull complete [2021-05-10T05:16:56.970Z] 8ad3a11d3b57: Pull complete [2021-05-10T05:16:57.236Z] 46f8f816bc3b: Pull complete [2021-05-10T05:16:58.634Z] aa168da1d23b: Verifying Checksum [2021-05-10T05:16:58.634Z] aa168da1d23b: Download complete [2021-05-10T05:16:58.634Z] 93b61091891f: Pull complete [2021-05-10T05:16:58.634Z] 93b9cdb0e59b: Pull complete [2021-05-10T05:16:58.897Z] 5e14af77c1be: Pull complete [2021-05-10T05:16:58.897Z] 01666e4c0597: Pull complete [2021-05-10T05:17:07.076Z] aa168da1d23b: Pull complete [2021-05-10T05:17:07.076Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-10T05:17:07.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-10T05:17:07.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-10T05:17:07.287Z] prd-centos7-docker-4c-2g-3943 does not seem to be running inside a container [2021-05-10T05:17:07.336Z] $ 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-900/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-900 -v /w/workspace/dgexfoundry_device-sdk-go_PR-900:/w/workspace/dgexfoundry_device-sdk-go_PR-900:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-10T05:17:10.774Z] $ docker top d6afeb33af03cd3038b74f441a03e003781470095f9c6c2d5d9fc8ea37b71f0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-10T05:17:11.263Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-10T05:17:11.570Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-10T05:17:11.877Z] + ls /var/log/sa-host [2021-05-10T05:17:11.877Z] + sadf -c /var/log/sa-host/sa10 [2021-05-10T05:17:11.877Z] file_magic: OK [2021-05-10T05:17:11.877Z] HZ: Using current value: 100 [2021-05-10T05:17:11.877Z] file_header: OK [2021-05-10T05:17:11.877Z] 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-10T05:17:11.877Z] Statistics: [2021-05-10T05:17:11.877Z] 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-10T05:17:11.877Z] File successfully converted to sysstat format version 12.2.1 [2021-05-10T05:17:11.877Z] + sadf -c /var/log/sa-host/sa23 [2021-05-10T05:17:11.877Z] file_magic: OK [2021-05-10T05:17:11.877Z] HZ: Using current value: 100 [2021-05-10T05:17:11.877Z] file_header: OK [2021-05-10T05:17:11.877Z] 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-10T05:17:11.877Z] Statistics: [2021-05-10T05:17:11.877Z] Hnuu...uuuununununu... [2021-05-10T05:17:11.877Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-10T05:17:12.082Z] provisioning config files... [2021-05-10T05:17:12.102Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-900@tmp/config1888579147547486729tmp [Pipeline] { [Pipeline] echo [2021-05-10T05:17:12.125Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:17:12.428Z] ---> create-netrc.sh [Pipeline] } [2021-05-10T05:17:12.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-10T05:17:12.466Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:17:12.773Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-10T05:17:12.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:17:13.091Z] ---> sudo-logs.sh [2021-05-10T05:17:13.091Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-10T05:17:13.127Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:17:13.429Z] ---> job-cost.sh [2021-05-10T05:17:13.429Z] lf-activate-venv: SKIPPING [2021-05-10T05:17:13.429Z] DEBUG: total: 0.20999999344348907 [2021-05-10T05:17:13.429Z] INFO: Retrieving Stack Cost... [2021-05-10T05:17:14.831Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-10T05:17:15.409Z] INFO: Archiving Costs [Pipeline] echo [2021-05-10T05:17:15.426Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-10T05:17:15.747Z] ---> logs-deploy.sh [2021-05-10T05:17:15.747Z] lf-activate-venv: SKIPPING [2021-05-10T05:17:15.747Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-900/5 [2021-05-10T05:17:15.747Z] INFO: archiving workspace using pattern(s): [2021-05-10T05:17:17.673Z] Archives upload complete. [2021-05-10T05:17:17.673Z] INFO: archiving logs to Nexus [2021-05-10T05:17:18.622Z] ---> uname -a: [2021-05-10T05:17:18.622Z] Linux prd-centos7-docker-4c-2g-3943.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux [2021-05-10T05:17:18.622Z] [2021-05-10T05:17:18.622Z] [2021-05-10T05:17:18.622Z] ---> lscpu: [2021-05-10T05:17:18.622Z] Architecture: x86_64 [2021-05-10T05:17:18.622Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-10T05:17:18.622Z] Byte Order: Little Endian [2021-05-10T05:17:18.622Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-10T05:17:18.622Z] CPU(s): 4 [2021-05-10T05:17:18.622Z] On-line CPU(s) list: 0-3 [2021-05-10T05:17:18.622Z] Thread(s) per core: 1 [2021-05-10T05:17:18.622Z] Core(s) per socket: 1 [2021-05-10T05:17:18.622Z] Socket(s): 4 [2021-05-10T05:17:18.622Z] NUMA node(s): 1 [2021-05-10T05:17:18.622Z] Vendor ID: GenuineIntel [2021-05-10T05:17:18.622Z] CPU family: 6 [2021-05-10T05:17:18.622Z] Model: 44 [2021-05-10T05:17:18.622Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-10T05:17:18.622Z] Stepping: 1 [2021-05-10T05:17:18.622Z] CPU MHz: 2933.438 [2021-05-10T05:17:18.622Z] BogoMIPS: 5866.87 [2021-05-10T05:17:18.622Z] Virtualization: VT-x [2021-05-10T05:17:18.622Z] Hypervisor vendor: KVM [2021-05-10T05:17:18.622Z] Virtualization type: full [2021-05-10T05:17:18.622Z] L1d cache: 128 KiB [2021-05-10T05:17:18.622Z] L1i cache: 128 KiB [2021-05-10T05:17:18.622Z] L2 cache: 16 MiB [2021-05-10T05:17:18.622Z] L3 cache: 64 MiB [2021-05-10T05:17:18.622Z] NUMA node0 CPU(s): 0-3 [2021-05-10T05:17:18.622Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-10T05:17:18.622Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-10T05:17:18.622Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-10T05:17:18.622Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-10T05:17:18.622Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-10T05:17:18.622Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-10T05:17:18.622Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-10T05:17:18.622Z] Vulnerability Srbds: Not affected [2021-05-10T05:17:18.622Z] Vulnerability Tsx async abort: Not affected [2021-05-10T05:17:18.622Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp [2021-05-10T05:17:18.622Z] [2021-05-10T05:17:18.622Z]