Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 8d18a21b742dd7d0af97623468fbe1cfdaa370fb+70dff52b8df9807f5114cad14836e8310fd11d9c (a1995c2b9a174bf2d37df21f6b737cd26e64dbb2) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3338’ is offline Running on prd-centos7-docker-4c-2g-3342 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [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-887 # 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/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb Merge succeeded, producing da658261ccbdba54da4498e1179171f4f4f17bc4 Checking out Revision da658261ccbdba54da4498e1179171f4f4f17bc4 (PR-887) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da658261ccbdba54da4498e1179171f4f4f17bc4 # timeout=10 Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" > git rev-list --no-walk 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-06T22:42:53.268Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-06T22:42:53.350Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-06T22:42:53.376Z] ========================================================= [2021-05-06T22:42:53.376Z] EdgeX Global Pipelines Version Info [2021-05-06T22:42:53.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:42:55.443Z] ------------------- [2021-05-06T22:42:55.443Z] stable info: [2021-05-06T22:42:55.443Z] ------------------- [2021-05-06T22:42:55.443Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-06T22:42:55.443Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:42:55.443Z] Message: update stable to v1.0.191 [2021-05-06T22:42:56.403Z] ------------------- [2021-05-06T22:42:56.403Z] experimental info: [2021-05-06T22:42:56.403Z] ------------------- [2021-05-06T22:42:56.403Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-06T22:42:56.403Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-06T22:42:56.403Z] Message: update experimental to v1.0.191 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-06T22:42:56.526Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-06T22:42:56.550Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-06T22:42:56.574Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-06T22:42:56.597Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-06T22:42:56.620Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-06T22:42:56.644Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-06T22:42:56.667Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-06T22:42:56.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-06T22:42:56.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-06T22:42:56.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-06T22:42:56.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-06T22:42:56.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-06T22:42:56.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-06T22:42:56.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-06T22:42:56.851Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-06T22:42:56.877Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:56.902Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:56.925Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-06T22:42:56.949Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-06T22:42:56.972Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-06T22:42:56.995Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-06T22:42:57.024Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-06T22:42:57.060Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-06T22:42:57.086Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-06T22:42:57.110Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-06T22:42:57.132Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-06T22:42:57.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-887 [Pipeline] echo [2021-05-06T22:42:57.179Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-887 [Pipeline] echo [2021-05-06T22:42:57.205Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-887 [Pipeline] echo [2021-05-06T22:42:57.227Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da658261ccbdba54da4498e1179171f4f4f17bc4 [Pipeline] echo [2021-05-06T22:42:57.250Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da65826 [Pipeline] echo [2021-05-06T22:42:57.272Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:42:57.339Z] provisioning config files... [2021-05-06T22:42:57.371Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config6143930751141757448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:42:57.697Z] ---> docker-login.sh [2021-05-06T22:42:57.698Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:42:57.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:58.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:58.225Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:58.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:58.225Z] [2021-05-06T22:42:58.225Z] Login Succeeded [2021-05-06T22:42:58.225Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:42:58.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:58.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:58.491Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:58.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:58.491Z] [2021-05-06T22:42:58.491Z] Login Succeeded [2021-05-06T22:42:58.491Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:42:58.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:58.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:58.756Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:58.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:58.756Z] [2021-05-06T22:42:58.756Z] Login Succeeded [2021-05-06T22:42:58.756Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:42:58.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:59.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:59.019Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:59.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:59.019Z] [2021-05-06T22:42:59.019Z] Login Succeeded [2021-05-06T22:42:59.019Z] docker.io [2021-05-06T22:42:59.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:42:59.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:42:59.281Z] Configure a credential helper to remove this warning. See [2021-05-06T22:42:59.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:42:59.281Z] [2021-05-06T22:42:59.281Z] Login Succeeded [2021-05-06T22:42:59.281Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:42:59.294Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:42:59.735Z] + git log --format=format:%s -1 da658261ccbdba54da4498e1179171f4f4f17bc4 [Pipeline] echo [2021-05-06T22:42:59.823Z] GIT_COMMIT: da658261ccbdba54da4498e1179171f4f4f17bc4, Commit Message: Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD [Pipeline] echo [2021-05-06T22:42:59.836Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:43:00.395Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:43:00.395Z] [2021-05-06T22:43:00.395Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:43:00.715Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:43:00.715Z] latest: Pulling from edgex-devops/git-semver [2021-05-06T22:43:00.715Z] 31603596830f: Pulling fs layer [2021-05-06T22:43:00.715Z] 54011a49482f: Pulling fs layer [2021-05-06T22:43:00.715Z] a6820b24f6d8: Pulling fs layer [2021-05-06T22:43:00.715Z] f581987b2513: Pulling fs layer [2021-05-06T22:43:00.715Z] f581987b2513: Waiting [2021-05-06T22:43:00.715Z] 54011a49482f: Verifying Checksum [2021-05-06T22:43:00.715Z] 54011a49482f: Download complete [2021-05-06T22:43:00.715Z] 31603596830f: Download complete [2021-05-06T22:43:00.983Z] a6820b24f6d8: Download complete [2021-05-06T22:43:00.983Z] f581987b2513: Verifying Checksum [2021-05-06T22:43:00.983Z] f581987b2513: Download complete [2021-05-06T22:43:01.251Z] 31603596830f: Pull complete [2021-05-06T22:43:01.519Z] 54011a49482f: Pull complete [2021-05-06T22:43:02.975Z] a6820b24f6d8: Pull complete [2021-05-06T22:43:02.975Z] f581987b2513: Pull complete [2021-05-06T22:43:02.975Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-06T22:43:03.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-06T22:43:03.241Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-06T22:43:03.432Z] prd-centos7-docker-4c-2g-3342 does not seem to be running inside a container [2021-05-06T22:43:03.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-06T22:43:05.686Z] $ docker top 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-06T22:43:05.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:43:05.996Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:43:06.283Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:43:06.291Z] $ docker exec 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 ssh-agent [2021-05-06T22:43:06.585Z] SSH_AUTH_SOCK=/tmp/ssh-n90TmrD0JbHg/agent.12 [2021-05-06T22:43:06.585Z] SSH_AGENT_PID=17 [2021-05-06T22:43:06.608Z] Running ssh-add (command line suppressed) [2021-05-06T22:43:06.801Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7085481149574508801.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_7085481149574508801.key) [2021-05-06T22:43:06.866Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:43:07.193Z] + git tag --points-at HEAD [Pipeline] } [2021-05-06T22:43:07.235Z] $ docker exec --env ******** --env ******** 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 ssh-agent -k [2021-05-06T22:43:07.387Z] unset SSH_AUTH_SOCK; [2021-05-06T22:43:07.388Z] unset SSH_AGENT_PID; [2021-05-06T22:43:07.388Z] echo Agent pid 17 killed; [2021-05-06T22:43:07.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-06T22:43:07.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-06T22:43:07.489Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-06T22:43:07.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-06T22:43:07.709Z] $ docker exec 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 ssh-agent [2021-05-06T22:43:07.943Z] SSH_AUTH_SOCK=/tmp/ssh-dqAICx5tAfLo/agent.47 [2021-05-06T22:43:07.943Z] SSH_AGENT_PID=52 [2021-05-06T22:43:07.954Z] Running ssh-add (command line suppressed) [2021-05-06T22:43:08.117Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_2564370572878013282.key (/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/private_key_2564370572878013282.key) [2021-05-06T22:43:08.193Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-06T22:43:08.516Z] + git semver init [2021-05-06T22:43:08.516Z] # -> Open(): unable to determine branch for HEAD [2021-05-06T22:43:08.516Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.git [2021-05-06T22:43:08.516Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-05-06T22:43:08.516Z] # $SEMVER_REMOTE_NAME = origin [2021-05-06T22:43:08.516Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-06T22:43:08.516Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-06T22:43:08.516Z] # $SEMVER_BRANCH = PR-887 [2021-05-06T22:43:08.516Z] # $SEMVER_TEMP = /tmp/semver-882862227 [2021-05-06T22:43:08.516Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-06T22:43:09.936Z] # '/tmp/semver-882862227' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver' [2021-05-06T22:43:09.936Z] # -> Force: false [2021-05-06T22:43:09.936Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-887/.semver [Pipeline] } [2021-05-06T22:43:09.955Z] $ docker exec --env ******** --env ******** 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 ssh-agent -k [2021-05-06T22:43:10.087Z] unset SSH_AUTH_SOCK; [2021-05-06T22:43:10.088Z] unset SSH_AGENT_PID; [2021-05-06T22:43:10.088Z] echo Agent pid 52 killed; [2021-05-06T22:43:10.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-06T22:43:10.479Z] + git semver [Pipeline] } [2021-05-06T22:43:10.518Z] $ docker stop --time=1 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 [2021-05-06T22:43:12.234Z] $ docker rm -f 9b27d71ce87373d2f49216f97e50d5e82917bde89d30a496d100e07b09e62aa1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:43:12.645Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-06T22:43:13.100Z] Stashed 1 file(s) [Pipeline] echo [2021-05-06T22:43:13.104Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-06T22:43:28.286Z] Still waiting to schedule task [2021-05-06T22:43:28.286Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-06T22:43:28.288Z] Still waiting to schedule task [2021-05-06T22:43:28.288Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-05-06T22:45:05.662Z] Running on prd-centos7-docker-4c-2g-3349 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-05-06T22:45:05.682Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-05-06T22:45:15.155Z] using credential edgex-jenkins-ssh [2021-05-06T22:45:15.175Z] Cloning the remote Git repository [2021-05-06T22:45:15.249Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:15.355Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-05-06T22:45:15.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:15.539Z] > git --version # timeout=10 [2021-05-06T22:45:15.562Z] > git --version # 'git version 2.24.3' [2021-05-06T22:45:15.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:15.629Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:45:16.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:45:16.521Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:45:16.557Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:45:16.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:45:16.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:16.614Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:45:17.104Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [2021-05-06T22:45:17.533Z] Merge succeeded, producing 0589d3e5bab86b95e1f8f75c1a914325743c6039 [2021-05-06T22:45:17.533Z] Checking out Revision 0589d3e5bab86b95e1f8f75c1a914325743c6039 (PR-887) [2021-05-06T22:45:17.118Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:45:17.127Z] > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [2021-05-06T22:45:17.347Z] > git remote # timeout=10 [2021-05-06T22:45:17.362Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:45:17.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:45:17.403Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:45:17.458Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:45:17.550Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:45:17.606Z] > git checkout -f 0589d3e5bab86b95e1f8f75c1a914325743c6039 # timeout=10 [2021-05-06T22:45:22.106Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:45:22.113Z] > git rev-list --no-walk 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:45:23.718Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:45:24.135Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:45:24.480Z] + sudo service docker restart [2021-05-06T22:45:24.480Z] + true [2021-05-06T22:45:24.480Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-06T22:45:26.490Z] provisioning config files... [2021-05-06T22:45:26.527Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config2161005959559582795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:45:26.912Z] ---> docker-login.sh [2021-05-06T22:45:26.912Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:45:27.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:27.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:27.926Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:27.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:27.926Z] [2021-05-06T22:45:27.926Z] Login Succeeded [2021-05-06T22:45:27.926Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:45:28.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:28.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:28.207Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:28.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:28.207Z] [2021-05-06T22:45:28.207Z] Login Succeeded [2021-05-06T22:45:28.207Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:45:28.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:28.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:28.757Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:28.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:28.757Z] [2021-05-06T22:45:28.757Z] Login Succeeded [2021-05-06T22:45:28.757Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:45:29.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:29.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:29.029Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:29.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:29.029Z] [2021-05-06T22:45:29.029Z] Login Succeeded [2021-05-06T22:45:29.029Z] docker.io [2021-05-06T22:45:29.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:45:29.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:45:29.573Z] Configure a credential helper to remove this warning. See [2021-05-06T22:45:29.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:45:29.573Z] [2021-05-06T22:45:29.573Z] Login Succeeded [2021-05-06T22:45:29.573Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:45:29.593Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:45:29.912Z] ========================================================= [2021-05-06T22:45:29.912Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-06T22:45:29.912Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:45:30.263Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-06T22:45:30.531Z] Sending build context to Docker daemon 2.474MB [2021-05-06T22:45:30.531Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:45:30.531Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:45:30.851Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-06T22:45:30.851Z] 540db60ca938: Pulling fs layer [2021-05-06T22:45:30.851Z] adcc1eea9eea: Pulling fs layer [2021-05-06T22:45:30.851Z] 4c4ab2625f07: Pulling fs layer [2021-05-06T22:45:30.851Z] 0510c868ecb4: Pulling fs layer [2021-05-06T22:45:30.851Z] afea3b2eda06: Pulling fs layer [2021-05-06T22:45:30.851Z] 7809a108b3ef: Pulling fs layer [2021-05-06T22:45:30.851Z] f706445af74f: Pulling fs layer [2021-05-06T22:45:30.851Z] 0510c868ecb4: Waiting [2021-05-06T22:45:30.851Z] afea3b2eda06: Waiting [2021-05-06T22:45:30.851Z] 7809a108b3ef: Waiting [2021-05-06T22:45:30.851Z] f706445af74f: Waiting [2021-05-06T22:45:30.851Z] 4c4ab2625f07: Verifying Checksum [2021-05-06T22:45:30.851Z] 4c4ab2625f07: Download complete [2021-05-06T22:45:30.851Z] adcc1eea9eea: Verifying Checksum [2021-05-06T22:45:30.851Z] adcc1eea9eea: Download complete [2021-05-06T22:45:30.851Z] afea3b2eda06: Verifying Checksum [2021-05-06T22:45:30.851Z] afea3b2eda06: Download complete [2021-05-06T22:45:30.851Z] 7809a108b3ef: Verifying Checksum [2021-05-06T22:45:30.851Z] 7809a108b3ef: Download complete [2021-05-06T22:45:30.851Z] 540db60ca938: Verifying Checksum [2021-05-06T22:45:30.851Z] 540db60ca938: Download complete [2021-05-06T22:45:31.497Z] 540db60ca938: Pull complete [2021-05-06T22:45:32.110Z] adcc1eea9eea: Pull complete [2021-05-06T22:45:32.110Z] 4c4ab2625f07: Pull complete [2021-05-06T22:45:35.353Z] f706445af74f: Verifying Checksum [2021-05-06T22:45:35.353Z] f706445af74f: Download complete [2021-05-06T22:45:36.890Z] 0510c868ecb4: Verifying Checksum [2021-05-06T22:45:36.890Z] 0510c868ecb4: Download complete [2021-05-06T22:45:49.738Z] 0510c868ecb4: Pull complete [2021-05-06T22:45:49.738Z] afea3b2eda06: Pull complete [2021-05-06T22:45:49.738Z] 7809a108b3ef: Pull complete [2021-05-06T22:45:53.297Z] f706445af74f: Pull complete [2021-05-06T22:45:53.297Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-06T22:45:53.297Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-06T22:45:53.297Z] ---> b068be0155e3 [2021-05-06T22:45:53.297Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:45:54.276Z] ---> Running in 68fa0a7d9aa7 [2021-05-06T22:45:54.276Z] Removing intermediate container 68fa0a7d9aa7 [2021-05-06T22:45:54.276Z] ---> 6c297af35391 [2021-05-06T22:45:54.276Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:45:54.576Z] ---> Running in c88962dc326e [2021-05-06T22:45:56.635Z] Removing intermediate container c88962dc326e [2021-05-06T22:45:56.635Z] ---> 8f0bb4fdc1cd [2021-05-06T22:45:56.635Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:45:56.941Z] ---> Running in 5a638a56e74f [2021-05-06T22:45:58.009Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:45:59.458Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:46:00.431Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:46:00.431Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:46:00.717Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:46:00.717Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:46:00.717Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:46:01.000Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:46:01.000Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:46:01.306Z] OK: 150 MiB in 46 packages [2021-05-06T22:46:01.998Z] Removing intermediate container 5a638a56e74f [2021-05-06T22:46:01.998Z] ---> cd6ebfe78504 [2021-05-06T22:46:01.998Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:46:02.276Z] ---> Running in 36a323ce6c37 [2021-05-06T22:46:02.561Z] Removing intermediate container 36a323ce6c37 [2021-05-06T22:46:02.561Z] ---> 57960ada0d08 [2021-05-06T22:46:02.561Z] Step 7/8 : COPY . . [2021-05-06T22:46:04.547Z] ---> 9a95c0485887 [2021-05-06T22:46:04.547Z] Step 8/8 : RUN go mod download [2021-05-06T22:46:04.547Z] ---> Running in fe85be8f0e2c [2021-05-06T22:46:24.479Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3353 in /w/workspace/dgexfoundry_device-sdk-go_PR-887 [Pipeline] { [Pipeline] ws [2021-05-06T22:46:24.501Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-05-06T22:46:30.625Z] using credential edgex-jenkins-ssh [2021-05-06T22:46:30.667Z] Cloning the remote Git repository [2021-05-06T22:46:30.727Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:46:30.832Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-05-06T22:46:30.934Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:46:30.937Z] > git --version # timeout=10 [2021-05-06T22:46:30.971Z] > git --version # 'git version 2.17.1' [2021-05-06T22:46:30.972Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:46:31.048Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:46:33.521Z] Merging remotes/origin/master commit 70dff52b8df9807f5114cad14836e8310fd11d9c into PR head commit 8d18a21b742dd7d0af97623468fbe1cfdaa370fb [2021-05-06T22:46:32.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:46:32.743Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-06T22:46:32.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-06T22:46:32.826Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-06T22:46:32.827Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:46:32.838Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/887/head:refs/remotes/origin/PR-887 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-06T22:46:33.542Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:46:33.554Z] > git checkout -f 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [2021-05-06T22:46:33.808Z] Merge succeeded, producing e2d50aa7b425e94391476edf4a29b70a3995cae3 [2021-05-06T22:46:33.808Z] Checking out Revision e2d50aa7b425e94391476edf4a29b70a3995cae3 (PR-887) [2021-05-06T22:46:33.661Z] > git remote # timeout=10 [2021-05-06T22:46:33.683Z] > git config --get remote.origin.url # timeout=10 [2021-05-06T22:46:33.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-06T22:46:33.708Z] > git merge 70dff52b8df9807f5114cad14836e8310fd11d9c # timeout=10 [2021-05-06T22:46:33.795Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-06T22:46:33.820Z] > git config core.sparsecheckout # timeout=10 [2021-05-06T22:46:33.835Z] > git checkout -f e2d50aa7b425e94391476edf4a29b70a3995cae3 # timeout=10 [2021-05-06T22:46:37.616Z] Removing intermediate container fe85be8f0e2c [2021-05-06T22:46:37.616Z] ---> dce9cc7102e3 [2021-05-06T22:46:37.616Z] Successfully built dce9cc7102e3 [2021-05-06T22:46:37.616Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:38.053Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:46:38.142Z] Commit message: "Merge commit '70dff52b8df9807f5114cad14836e8310fd11d9c' into HEAD" [2021-05-06T22:46:38.155Z] > git rev-list --no-walk 8d18a21b742dd7d0af97623468fbe1cfdaa370fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:46:38.666Z] . [Pipeline] withDockerContainer [2021-05-06T22:46:39.634Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [2021-05-06T22:46:39.812Z] prd-centos7-docker-4c-2g-3349 does not seem to be running inside a container [2021-05-06T22:46:39.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T22:46:42.396Z] $ docker top ad192bcafbc67c914f99f8e364cde29cab765d0388537b65196f59fdee4ac42f -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-05-06T22:46:43.132Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-06T22:46:43.472Z] + sudo service docker restart [2021-05-06T22:46:43.472Z] + true [2021-05-06T22:46:43.614Z] + go version [2021-05-06T22:46:43.614Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-06T22:46:43.662Z] $ docker stop --time=1 ad192bcafbc67c914f99f8e364cde29cab765d0388537b65196f59fdee4ac42f [2021-05-06T22:46:45.721Z] $ docker rm -f ad192bcafbc67c914f99f8e364cde29cab765d0388537b65196f59fdee4ac42f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] wrap [2021-05-06T22:46:45.922Z] provisioning config files... [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [2021-05-06T22:46:45.971Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config6727351216870010214tmp [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:46:46.385Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-06T22:46:46.385Z] . [Pipeline] withDockerContainer [2021-05-06T22:46:46.489Z] ---> docker-login.sh [2021-05-06T22:46:46.489Z] nexus3.edgexfoundry.org:10001 [2021-05-06T22:46:46.751Z] prd-centos7-docker-4c-2g-3349 does not seem to be running inside a container [2021-05-06T22:46:46.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-06T22:46:47.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:47.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:47.740Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:47.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:47.740Z] [2021-05-06T22:46:47.740Z] Login Succeeded [2021-05-06T22:46:47.740Z] nexus3.edgexfoundry.org:10002 [2021-05-06T22:46:48.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:48.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:48.011Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:48.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:48.011Z] [2021-05-06T22:46:48.011Z] Login Succeeded [2021-05-06T22:46:48.011Z] nexus3.edgexfoundry.org:10003 [2021-05-06T22:46:48.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:48.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:48.607Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:48.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:48.607Z] [2021-05-06T22:46:48.607Z] Login Succeeded [2021-05-06T22:46:48.607Z] nexus3.edgexfoundry.org:10004 [2021-05-06T22:46:48.727Z] $ docker top 592603e92ed3ebe0e24fdf47aa511f4d2b237f5809ee87a4d34eede7a260eb9c -eo pid,comm [2021-05-06T22:46:48.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-06T22:46:49.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:49.149Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:49.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:49.149Z] [2021-05-06T22:46:49.149Z] Login Succeeded [2021-05-06T22:46:49.149Z] docker.io [2021-05-06T22:46:49.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] { [Pipeline] sh [2021-05-06T22:46:49.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-06T22:46:49.701Z] Configure a credential helper to remove this warning. See [2021-05-06T22:46:49.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-06T22:46:49.701Z] [2021-05-06T22:46:49.701Z] Login Succeeded [2021-05-06T22:46:49.701Z] ---> docker-login.sh ends [Pipeline] } [2021-05-06T22:46:49.718Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-06T22:46:50.026Z] ========================================================= [2021-05-06T22:46:50.026Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-06T22:46:50.026Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:46:50.366Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-06T22:46:50.636Z] Sending build context to Docker daemon 2.47MB [2021-05-06T22:46:50.708Z] + go mod tidy [2021-05-06T22:46:50.915Z] Step 1/8 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:46:50.915Z] Step 2/8 : FROM ${BASE} [2021-05-06T22:46:50.915Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-06T22:46:50.915Z] 595b0fe564bb: Pulling fs layer [2021-05-06T22:46:50.915Z] 7186ed65a4f7: Pulling fs layer [2021-05-06T22:46:50.915Z] 316046926c0a: Pulling fs layer [2021-05-06T22:46:50.915Z] 4ebd0625c992: Pulling fs layer [2021-05-06T22:46:50.915Z] 207e8628e3a3: Pulling fs layer [2021-05-06T22:46:50.915Z] c791037a9be2: Pulling fs layer [2021-05-06T22:46:50.915Z] ffd874e62e21: Pulling fs layer [2021-05-06T22:46:50.915Z] 4ebd0625c992: Waiting [2021-05-06T22:46:50.915Z] 207e8628e3a3: Waiting [2021-05-06T22:46:50.915Z] c791037a9be2: Waiting [2021-05-06T22:46:50.915Z] 316046926c0a: Verifying Checksum [2021-05-06T22:46:50.915Z] 7186ed65a4f7: Verifying Checksum [2021-05-06T22:46:50.915Z] 7186ed65a4f7: Download complete [2021-05-06T22:46:50.915Z] 207e8628e3a3: Verifying Checksum [2021-05-06T22:46:50.915Z] 207e8628e3a3: Download complete [2021-05-06T22:46:50.915Z] c791037a9be2: Verifying Checksum [2021-05-06T22:46:50.915Z] c791037a9be2: Download complete [2021-05-06T22:46:50.915Z] 595b0fe564bb: Verifying Checksum [2021-05-06T22:46:50.915Z] 595b0fe564bb: Download complete [2021-05-06T22:46:51.899Z] 595b0fe564bb: Pull complete [2021-05-06T22:46:52.175Z] 7186ed65a4f7: Pull complete [Pipeline] sh [2021-05-06T22:46:52.772Z] 316046926c0a: Pull complete [2021-05-06T22:46:52.967Z] + make test [2021-05-06T22:46:52.967Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:46:53.070Z] ffd874e62e21: Download complete [2021-05-06T22:46:54.053Z] 4ebd0625c992: Verifying Checksum [2021-05-06T22:46:54.053Z] 4ebd0625c992: Download complete [2021-05-06T22:47:04.222Z] 4ebd0625c992: Pull complete [2021-05-06T22:47:04.222Z] 207e8628e3a3: Pull complete [2021-05-06T22:47:04.222Z] c791037a9be2: Pull complete [2021-05-06T22:47:08.545Z] ffd874e62e21: Pull complete [2021-05-06T22:47:08.545Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-06T22:47:08.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-06T22:47:08.545Z] ---> cfc18b08335c [2021-05-06T22:47:08.545Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:47:11.183Z] ---> Running in ed3323a3029f [2021-05-06T22:47:11.456Z] Removing intermediate container ed3323a3029f [2021-05-06T22:47:11.456Z] ---> 2a9cdd3ffbac [2021-05-06T22:47:11.456Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:47:11.456Z] ---> Running in 593fedf51f5b [2021-05-06T22:47:13.515Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:47:14.100Z] Removing intermediate container 593fedf51f5b [2021-05-06T22:47:14.100Z] ---> 16500fa73156 [2021-05-06T22:47:14.100Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-06T22:47:14.100Z] ---> Running in 81bf1dd8aa06 [2021-05-06T22:47:15.082Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:47:16.090Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:47:16.702Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-06T22:47:16.702Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-06T22:47:16.984Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-06T22:47:16.984Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-06T22:47:16.984Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-06T22:47:17.261Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-06T22:47:17.261Z] Executing busybox-1.32.1-r6.trigger [2021-05-06T22:47:17.261Z] OK: 139 MiB in 46 packages [2021-05-06T22:47:18.692Z] Removing intermediate container 81bf1dd8aa06 [2021-05-06T22:47:18.692Z] ---> a13f92ecc8c4 [2021-05-06T22:47:18.692Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-06T22:47:18.692Z] ---> Running in a549e115e0ba [2021-05-06T22:47:19.283Z] Removing intermediate container a549e115e0ba [2021-05-06T22:47:19.283Z] ---> aae04c4faa5b [2021-05-06T22:47:19.283Z] Step 7/8 : COPY . . [2021-05-06T22:47:20.712Z] ---> c61b17b7ff84 [2021-05-06T22:47:20.712Z] Step 8/8 : RUN go mod download [2021-05-06T22:47:20.712Z] ---> Running in 1e2e57f2d820 [2021-05-06T22:47:47.534Z] Removing intermediate container 1e2e57f2d820 [2021-05-06T22:47:47.534Z] ---> d40abb2ee768 [2021-05-06T22:47:47.534Z] Successfully built d40abb2ee768 [2021-05-06T22:47:47.535Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:47:47.884Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:47:47.884Z] . [Pipeline] withDockerContainer [2021-05-06T22:47:48.172Z] prd-ubuntu18.04-docker-arm64-4c-16g-3353 does not seem to be running inside a container [2021-05-06T22:47:48.260Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T22:47:49.943Z] $ docker top f326d7a950bd641866ccd8b1af5a8ce2a6014e5c3891a8ce28605aa865f923b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:47:50.934Z] + go version [2021-05-06T22:47:50.935Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-06T22:47:50.961Z] $ docker stop --time=1 f326d7a950bd641866ccd8b1af5a8ce2a6014e5c3891a8ce28605aa865f923b2 [2021-05-06T22:47:52.972Z] $ docker rm -f f326d7a950bd641866ccd8b1af5a8ce2a6014e5c3891a8ce28605aa865f923b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:47:53.701Z] + docker inspect -f . ci-base-image-arm64 [2021-05-06T22:47:53.701Z] . [Pipeline] withDockerContainer [2021-05-06T22:47:53.936Z] prd-ubuntu18.04-docker-arm64-4c-16g-3353 does not seem to be running inside a container [2021-05-06T22:47:54.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-06T22:47:55.384Z] $ docker top 4163c3ca22bd3af638886ac6ce0cf881c513b58e963112e5702de207336dd8cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:47:56.293Z] + go mod tidy [Pipeline] sh [2021-05-06T22:47:57.595Z] + make test [2021-05-06T22:47:57.595Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-06T22:48:11.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:48:11.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:48:11.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:48:11.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T22:48:11.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:48:11.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.084s coverage: 28.1% of statements [2021-05-06T22:48:11.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.106s coverage: 78.9% of statements [2021-05-06T22:48:11.913Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.205s coverage: 7.8% of statements [2021-05-06T22:48:11.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:48:11.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:48:11.913Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:48:12.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.315s coverage: 30.2% of statements [2021-05-06T22:48:12.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:48:12.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:48:12.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:48:12.907Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.351s coverage: 57.2% of statements [2021-05-06T22:48:16.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.107s coverage: 6.6% of statements [2021-05-06T22:48:16.522Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.088s coverage: 5.0% of statements [2021-05-06T22:48:16.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:48:16.523Z] GO111MODULE=on go vet ./... [2021-05-06T22:48:24.656Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-06T22:48:56.412Z] gofmt -l . [2021-05-06T22:48:56.412Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:48:56.412Z] ./bin/test-attribution-txt.sh [2021-05-06T22:48:57.028Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:48:58.167Z] $ docker stop --time=1 592603e92ed3ebe0e24fdf47aa511f4d2b237f5809ee87a4d34eede7a260eb9c [2021-05-06T22:49:00.609Z] $ docker rm -f 592603e92ed3ebe0e24fdf47aa511f4d2b237f5809ee87a4d34eede7a260eb9c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:49:01.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:49:02.577Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-06T22:49:03.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:49:04.134Z] + ls -al . [2021-05-06T22:49:04.134Z] total 188 [2021-05-06T22:49:04.134Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 6 22:48 . [2021-05-06T22:49:04.134Z] drwxrwxr-x. 4 jenkins jenkins 28 May 6 22:45 .. [2021-05-06T22:49:04.134Z] drwxrwxr-x. 2 jenkins jenkins 64 May 6 22:45 bin [2021-05-06T22:49:04.134Z] -rw-r--r--. 1 jenkins jenkins 100321 May 6 22:48 coverage.out [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 987 May 6 22:45 Dockerfile.build [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 140 May 6 22:45 .dockerignore [2021-05-06T22:49:04.134Z] drwxrwxr-x. 5 jenkins jenkins 62 May 6 22:45 example [2021-05-06T22:49:04.134Z] drwxrwxr-x. 8 jenkins jenkins 179 May 6 22:45 .git [2021-05-06T22:49:04.134Z] drwxrwxr-x. 2 jenkins jenkins 103 May 6 22:45 .github [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 138 May 6 22:45 .gitignore [2021-05-06T22:49:04.134Z] -rw-r--r--. 1 jenkins jenkins 575 May 6 22:48 go.mod [2021-05-06T22:49:04.134Z] -rw-r--r--. 1 jenkins jenkins 21068 May 6 22:46 go.sum [2021-05-06T22:49:04.134Z] drwxrwxr-x. 14 jenkins jenkins 207 May 6 22:45 internal [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 901 May 6 22:45 Jenkinsfile [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 6 22:45 LICENSE [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 1022 May 6 22:45 Makefile [2021-05-06T22:49:04.134Z] drwxrwxr-x. 4 jenkins jenkins 26 May 6 22:45 openapi [2021-05-06T22:49:04.134Z] drwxrwxr-x. 5 jenkins jenkins 50 May 6 22:45 pkg [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 6 22:45 README.md [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 6 22:45 RELEASE-NOTES.txt [2021-05-06T22:49:04.134Z] drwxrwxr-x. 4 jenkins jenkins 54 May 6 22:45 snap [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 5 May 6 22:43 VERSION [2021-05-06T22:49:04.134Z] -rw-rw-r--. 1 jenkins jenkins 222 May 6 22:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:49:04.511Z] + 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=da658261ccbdba54da4498e1179171f4f4f17bc4 --label arch=amd64 --label version=0.0.0 . [2021-05-06T22:49:05.573Z] Sending build context to Docker daemon 2.575MB [2021-05-06T22:49:05.573Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:49:05.573Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:49:05.573Z] ---> dce9cc7102e3 [2021-05-06T22:49:05.573Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:49:05.858Z] ---> Running in 76c6902921e5 [2021-05-06T22:49:06.154Z] Removing intermediate container 76c6902921e5 [2021-05-06T22:49:06.154Z] ---> 622052cbf3ad [2021-05-06T22:49:06.154Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:49:06.154Z] ---> Running in f70aa1651faf [2021-05-06T22:49:06.798Z] Removing intermediate container f70aa1651faf [2021-05-06T22:49:06.798Z] ---> 9a36122622e8 [2021-05-06T22:49:06.798Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:49:06.798Z] ---> Running in ecd1ecd6b8fd [2021-05-06T22:49:08.990Z] Removing intermediate container ecd1ecd6b8fd [2021-05-06T22:49:08.990Z] ---> 1e4d1d8e0e25 [2021-05-06T22:49:08.990Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:49:08.990Z] ---> Running in 6e992102d37d [2021-05-06T22:49:09.995Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:49:10.586Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:49:12.119Z] OK: 150 MiB in 46 packages [2021-05-06T22:49:12.740Z] Removing intermediate container 6e992102d37d [2021-05-06T22:49:12.740Z] ---> 3642c7a67da5 [2021-05-06T22:49:12.740Z] Step 7/23 : COPY . . [2021-05-06T22:49:14.231Z] ---> 36b53c46952e [2021-05-06T22:49:14.231Z] Step 8/23 : RUN go mod download [2021-05-06T22:49:14.231Z] ---> Running in 931bf45193a3 [2021-05-06T22:49:17.043Z] Removing intermediate container 931bf45193a3 [2021-05-06T22:49:17.043Z] ---> 67b9c8637a41 [2021-05-06T22:49:17.043Z] Step 9/23 : RUN make build [2021-05-06T22:49:17.043Z] ---> Running in 29064bff533e [2021-05-06T22:49:17.769Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-06T22:49:32.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-06T22:49:32.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-06T22:49:32.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-06T22:49:32.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2021-05-06T22:49:32.762Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-06T22:49:34.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.141s coverage: 28.1% of statements [2021-05-06T22:49:35.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.188s coverage: 78.9% of statements [2021-05-06T22:49:35.709Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.189s coverage: 7.8% of statements [2021-05-06T22:49:35.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-06T22:49:35.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-06T22:49:35.709Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-06T22:49:37.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.294s coverage: 30.2% of statements [2021-05-06T22:49:37.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-06T22:49:37.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-06T22:49:37.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-06T22:49:39.870Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.311s coverage: 57.2% of statements [2021-05-06T22:49:41.322Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.137s coverage: 6.6% of statements [2021-05-06T22:49:41.322Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.153s coverage: 5.0% of statements [2021-05-06T22:49:41.322Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-06T22:49:41.596Z] GO111MODULE=on go vet ./... [2021-05-06T22:49:45.561Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:49:47.033Z] Removing intermediate container 29064bff533e [2021-05-06T22:49:47.033Z] ---> 5e9c25eb40a5 [2021-05-06T22:49:47.033Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:49:47.311Z] 3.12: Pulling from library/alpine [2021-05-06T22:49:47.311Z] 339de151aab4: Pulling fs layer [2021-05-06T22:49:47.585Z] 339de151aab4: Verifying Checksum [2021-05-06T22:49:47.585Z] 339de151aab4: Download complete [2021-05-06T22:49:48.281Z] 339de151aab4: Pull complete [2021-05-06T22:49:48.281Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:49:48.654Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:49:48.654Z] ---> 13621d1b12d4 [2021-05-06T22:49:48.654Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:49:48.955Z] ---> Running in 2bcb54e14327 [2021-05-06T22:49:49.423Z] Removing intermediate container 2bcb54e14327 [2021-05-06T22:49:49.423Z] ---> 9f7678b42a2b [2021-05-06T22:49:49.423Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:49:49.423Z] ---> Running in ca7e50bb78db [2021-05-06T22:49:50.915Z] Removing intermediate container ca7e50bb78db [2021-05-06T22:49:50.915Z] ---> 5e2cc7fd632b [2021-05-06T22:49:50.915Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:49:51.200Z] ---> Running in 6d005be7962d [2021-05-06T22:49:51.879Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-06T22:49:52.492Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-06T22:49:53.109Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:49:53.109Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:49:53.109Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:49:54.162Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:49:54.162Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:49:54.162Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:49:54.162Z] OK: 8 MiB in 19 packages [2021-05-06T22:49:55.186Z] Removing intermediate container 6d005be7962d [2021-05-06T22:49:55.186Z] ---> 235370f93188 [2021-05-06T22:49:55.186Z] Step 14/23 : WORKDIR / [2021-05-06T22:49:55.186Z] ---> Running in 9c98db40018e [2021-05-06T22:49:55.552Z] Removing intermediate container 9c98db40018e [2021-05-06T22:49:55.552Z] ---> efd262a88c2c [2021-05-06T22:49:55.552Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:49:56.198Z] ---> aa003853f748 [2021-05-06T22:49:56.198Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:49:57.245Z] ---> 1b262cce4af9 [2021-05-06T22:49:57.245Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:49:58.381Z] ---> 8624e9e26dd9 [2021-05-06T22:49:58.381Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:49:58.381Z] ---> Running in 4b5d5e8884cd [2021-05-06T22:49:59.058Z] Removing intermediate container 4b5d5e8884cd [2021-05-06T22:49:59.058Z] ---> bff01e337545 [2021-05-06T22:49:59.058Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:49:59.058Z] ---> Running in b7d7e356546e [2021-05-06T22:49:59.708Z] Removing intermediate container b7d7e356546e [2021-05-06T22:49:59.708Z] ---> 218deefed366 [2021-05-06T22:49:59.708Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:49:59.708Z] ---> Running in 646a0b29a70b [2021-05-06T22:50:00.013Z] Removing intermediate container 646a0b29a70b [2021-05-06T22:50:00.013Z] ---> c85ac6f94fe1 [2021-05-06T22:50:00.013Z] Step 21/23 : LABEL arch=amd64 [2021-05-06T22:50:00.328Z] ---> Running in 38e28570f861 [2021-05-06T22:50:00.626Z] Removing intermediate container 38e28570f861 [2021-05-06T22:50:00.626Z] ---> 54f8f897419b [2021-05-06T22:50:00.626Z] Step 22/23 : LABEL git_sha=da658261ccbdba54da4498e1179171f4f4f17bc4 [2021-05-06T22:50:00.626Z] ---> Running in b11c2465370a [2021-05-06T22:50:00.900Z] Removing intermediate container b11c2465370a [2021-05-06T22:50:00.900Z] ---> 238bb81a1ded [2021-05-06T22:50:00.900Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:50:00.900Z] ---> Running in 4dcaae089431 [2021-05-06T22:50:01.166Z] Removing intermediate container 4dcaae089431 [2021-05-06T22:50:01.166Z] ---> b6199e3e4850 [2021-05-06T22:50:01.166Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-06T22:50:01.166Z] Successfully built b6199e3e4850 [2021-05-06T22:50:01.166Z] Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:50:01.794Z] ---> job-cost.sh [2021-05-06T22:50:01.794Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-9HBk [2021-05-06T22:50:29.017Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:50:49.871Z] gofmt -l . [2021-05-06T22:50:49.871Z] [ "`gofmt -l .`" = "" ] [2021-05-06T22:50:49.871Z] ./bin/test-attribution-txt.sh [2021-05-06T22:50:49.871Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-06T22:50:49.894Z] $ docker stop --time=1 4163c3ca22bd3af638886ac6ce0cf881c513b58e963112e5702de207336dd8cd [2021-05-06T22:50:52.050Z] $ docker rm -f 4163c3ca22bd3af638886ac6ce0cf881c513b58e963112e5702de207336dd8cd [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-06T22:50:53.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-06T22:50:53.254Z] Warning: overwriting stash ‘coverage-report’ [2021-05-06T22:50:54.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-06T22:50:54.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-06T22:50:55.273Z] + ls -al . [2021-05-06T22:50:55.273Z] total 224 [2021-05-06T22:50:55.273Z] drwxrwxr-x 10 jenkins jenkins 4096 May 6 22:50 . [2021-05-06T22:50:55.273Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 .. [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 140 May 6 22:46 .dockerignore [2021-05-06T22:50:55.273Z] drwxrwxr-x 8 jenkins jenkins 4096 May 6 22:46 .git [2021-05-06T22:50:55.273Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:46 .github [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 138 May 6 22:46 .gitignore [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 987 May 6 22:46 Dockerfile.build [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 901 May 6 22:46 Jenkinsfile [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 6 22:46 LICENSE [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 1022 May 6 22:46 Makefile [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 6 22:46 README.md [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 6 22:46 RELEASE-NOTES.txt [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 5 May 6 22:43 VERSION [2021-05-06T22:50:55.273Z] drwxrwxr-x 2 jenkins jenkins 4096 May 6 22:46 bin [2021-05-06T22:50:55.273Z] -rw-r--r-- 1 jenkins jenkins 100320 May 6 22:49 coverage.out [2021-05-06T22:50:55.273Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:46 example [2021-05-06T22:50:55.273Z] -rw-r--r-- 1 jenkins jenkins 575 May 6 22:50 go.mod [2021-05-06T22:50:55.273Z] -rw-r--r-- 1 jenkins jenkins 21068 May 6 22:47 go.sum [2021-05-06T22:50:55.273Z] drwxrwxr-x 14 jenkins jenkins 4096 May 6 22:46 internal [2021-05-06T22:50:55.273Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 openapi [2021-05-06T22:50:55.273Z] drwxrwxr-x 5 jenkins jenkins 4096 May 6 22:46 pkg [2021-05-06T22:50:55.273Z] drwxrwxr-x 4 jenkins jenkins 4096 May 6 22:46 snap [2021-05-06T22:50:55.273Z] -rw-rw-r-- 1 jenkins jenkins 222 May 6 22:46 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:50:55.717Z] + 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=da658261ccbdba54da4498e1179171f4f4f17bc4 --label arch=arm64 --label version=0.0.0 . [2021-05-06T22:50:56.333Z] Sending build context to Docker daemon 2.571MB [2021-05-06T22:50:56.333Z] Step 1/23 : ARG BASE=golang:1.15-alpine3.12 [2021-05-06T22:50:56.333Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-06T22:50:56.333Z] ---> d40abb2ee768 [2021-05-06T22:50:56.333Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-06T22:50:56.634Z] ---> Running in fa918ee49efa [2021-05-06T22:50:57.241Z] Removing intermediate container fa918ee49efa [2021-05-06T22:50:57.241Z] ---> 7174606c16c1 [2021-05-06T22:50:57.241Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:50:57.241Z] ---> Running in 611d452de2aa [2021-05-06T22:50:57.863Z] Removing intermediate container 611d452de2aa [2021-05-06T22:50:57.863Z] ---> 08b88e303552 [2021-05-06T22:50:57.863Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:50:57.863Z] ---> Running in 25147fa4ee0f [2021-05-06T22:51:00.505Z] Removing intermediate container 25147fa4ee0f [2021-05-06T22:51:00.505Z] ---> e77b0c9c0565 [2021-05-06T22:51:00.505Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-06T22:51:00.505Z] ---> Running in e813665822df [2021-05-06T22:51:01.969Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:51:02.949Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:51:03.931Z] OK: 139 MiB in 46 packages [2021-05-06T22:51:04.917Z] Removing intermediate container e813665822df [2021-05-06T22:51:04.917Z] ---> 06d862aec912 [2021-05-06T22:51:04.917Z] Step 7/23 : COPY . . [2021-05-06T22:51:06.359Z] ---> a3d6ce9ee99e [2021-05-06T22:51:06.359Z] Step 8/23 : RUN go mod download [2021-05-06T22:51:06.634Z] ---> Running in 740876ab1a37 [2021-05-06T22:51:09.266Z] Removing intermediate container 740876ab1a37 [2021-05-06T22:51:09.266Z] ---> 50526829f2bd [2021-05-06T22:51:09.266Z] Step 9/23 : RUN make build [2021-05-06T22:51:09.266Z] ---> Running in 1e7109ba38e0 [2021-05-06T22:51:10.705Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-05-06T22:51:17.002Z] lf-activate-venv(): INFO: Adding /tmp/venv-9HBk/bin to PATH [2021-05-06T22:51:17.002Z] INFO: No Stack... [2021-05-06T22:51:17.002Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:51:17.002Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:51:17.444Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2021-05-06T22:51:17.444Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:51:17.619Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [2021-05-06T22:51:17.631Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] did not exist. Created. [2021-05-06T22:51:17.631Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:51:18.095Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-06T22:51:18.408Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:51:18.418Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-06T22:51:49.855Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-06T22:51:50.838Z] Removing intermediate container 1e7109ba38e0 [2021-05-06T22:51:50.838Z] ---> 38b9109094bf [2021-05-06T22:51:50.838Z] Step 10/23 : FROM alpine:3.12 [2021-05-06T22:51:51.112Z] 3.12: Pulling from library/alpine [2021-05-06T22:51:51.112Z] d2f70382dc9a: Pulling fs layer [2021-05-06T22:51:51.383Z] d2f70382dc9a: Verifying Checksum [2021-05-06T22:51:51.383Z] d2f70382dc9a: Download complete [2021-05-06T22:51:51.988Z] d2f70382dc9a: Pull complete [2021-05-06T22:51:51.988Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-06T22:51:51.988Z] Status: Downloaded newer image for alpine:3.12 [2021-05-06T22:51:51.988Z] ---> 9852663dfa18 [2021-05-06T22:51:51.988Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-06T22:51:52.261Z] ---> Running in 433ec0910ec9 [2021-05-06T22:51:52.859Z] Removing intermediate container 433ec0910ec9 [2021-05-06T22:51:52.859Z] ---> f6a8deb095cc [2021-05-06T22:51:52.859Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-06T22:51:52.859Z] ---> Running in 502d3229507d [2021-05-06T22:51:55.508Z] Removing intermediate container 502d3229507d [2021-05-06T22:51:55.508Z] ---> 973ceb9b7b24 [2021-05-06T22:51:55.508Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-06T22:51:55.508Z] ---> Running in 01d3d637b86b [2021-05-06T22:51:56.494Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-06T22:51:57.091Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-06T22:51:58.102Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-06T22:51:58.102Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-06T22:51:58.102Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-06T22:51:58.381Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-06T22:51:58.381Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-06T22:51:58.655Z] Executing busybox-1.31.1-r20.trigger [2021-05-06T22:51:58.655Z] OK: 8 MiB in 19 packages [2021-05-06T22:52:00.085Z] Removing intermediate container 01d3d637b86b [2021-05-06T22:52:00.085Z] ---> a5d694c73792 [2021-05-06T22:52:00.085Z] Step 14/23 : WORKDIR / [2021-05-06T22:52:00.358Z] ---> Running in d2c72653411f [2021-05-06T22:52:00.630Z] Removing intermediate container d2c72653411f [2021-05-06T22:52:00.630Z] ---> 51473d06541c [2021-05-06T22:52:00.631Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-06T22:52:01.838Z] ---> 3cc8dbcc801e [2021-05-06T22:52:01.838Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-06T22:52:02.444Z] ---> 8c82e3c06f11 [2021-05-06T22:52:02.444Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-06T22:52:03.420Z] ---> 91471122fd86 [2021-05-06T22:52:03.420Z] Step 18/23 : EXPOSE 49990 [2021-05-06T22:52:03.420Z] ---> Running in 1409b2f36c4d [2021-05-06T22:52:03.695Z] Removing intermediate container 1409b2f36c4d [2021-05-06T22:52:03.695Z] ---> bbc38cc743cd [2021-05-06T22:52:03.695Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-06T22:52:03.967Z] ---> Running in 5ed69950c746 [2021-05-06T22:52:04.241Z] Removing intermediate container 5ed69950c746 [2021-05-06T22:52:04.241Z] ---> bb2968a4cf11 [2021-05-06T22:52:04.241Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-06T22:52:04.518Z] ---> Running in 8e64e4560464 [2021-05-06T22:52:05.120Z] Removing intermediate container 8e64e4560464 [2021-05-06T22:52:05.120Z] ---> e4ec0e0ac892 [2021-05-06T22:52:05.120Z] Step 21/23 : LABEL arch=arm64 [2021-05-06T22:52:05.120Z] ---> Running in 462ead48be4d [2021-05-06T22:52:05.713Z] Removing intermediate container 462ead48be4d [2021-05-06T22:52:05.713Z] ---> 8ece661a0f03 [2021-05-06T22:52:05.713Z] Step 22/23 : LABEL git_sha=da658261ccbdba54da4498e1179171f4f4f17bc4 [2021-05-06T22:52:05.713Z] ---> Running in 8a41fdd4fffe [2021-05-06T22:52:06.310Z] Removing intermediate container 8a41fdd4fffe [2021-05-06T22:52:06.310Z] ---> 1c9570d5911a [2021-05-06T22:52:06.310Z] Step 23/23 : LABEL version=0.0.0 [2021-05-06T22:52:06.310Z] ---> Running in 8813cb46bd5e [2021-05-06T22:52:06.905Z] Removing intermediate container 8813cb46bd5e [2021-05-06T22:52:06.905Z] ---> 693d2731118e [2021-05-06T22:52:06.905Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-06T22:52:06.905Z] Successfully built 693d2731118e [2021-05-06T22:52:06.905Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:52:07.392Z] ---> job-cost.sh [2021-05-06T22:52:07.393Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LdUm [2021-05-06T22:53:03.903Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-06T22:55:25.768Z] lf-activate-venv(): INFO: Adding /tmp/venv-LdUm/bin to PATH [2021-05-06T22:55:25.768Z] INFO: No Stack... [2021-05-06T22:55:25.768Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-06T22:55:25.768Z] INFO: Archiving Costs [Pipeline] sh [2021-05-06T22:55:26.134Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2021-05-06T22:55:26.134Z] + cut -d, -f6 [Pipeline] lock [2021-05-06T22:55:26.287Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [2021-05-06T22:55:26.296Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] did not exist. Created. [2021-05-06T22:55:26.296Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-06T22:55:26.698Z] /w/workspace/device-sdk-go/7@tmp/durable-497367c2/script.sh: 1: /w/workspace/device-sdk-go/7@tmp/durable-497367c2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-06T22:55:27.055Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-06T22:55:27.077Z] Warning: overwriting stash ‘stack-cost’ [2021-05-06T22:55:27.272Z] Stashed 1 file(s) [Pipeline] } [2021-05-06T22:55:27.292Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-887-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-06T22:55:27.891Z] provisioning config files... [2021-05-06T22:55:27.906Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config4033801835926238872tmp [Pipeline] { [Pipeline] sh [2021-05-06T22:55:28.236Z] + set +x [2021-05-06T22:55:28.236Z] + curl -s https://codecov.io/bash [2021-05-06T22:55:28.236Z] + bash -s -- [2021-05-06T22:55:28.512Z] [2021-05-06T22:55:28.512Z] _____ _ [2021-05-06T22:55:28.512Z] / ____| | | [2021-05-06T22:55:28.512Z] | | ___ __| | ___ ___ _____ __ [2021-05-06T22:55:28.512Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-06T22:55:28.512Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-06T22:55:28.512Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-06T22:55:28.512Z] Bash-1.0.2 [2021-05-06T22:55:28.512Z] [2021-05-06T22:55:28.512Z] [2021-05-06T22:55:28.512Z] ==> git version 2.24.3 found [2021-05-06T22:55:28.512Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-05-06T22:55:28.512Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-06T22:55:28.512Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-06T22:55:28.512Z] ==> Jenkins CI detected. [2021-05-06T22:55:28.512Z] project root: . [2021-05-06T22:55:28.512Z] --> token set from env [2021-05-06T22:55:28.512Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-06T22:55:28.512Z] ==> Running gcov in . (disable via -X gcov) [2021-05-06T22:55:28.512Z] ==> Python coveragepy not found [2021-05-06T22:55:28.512Z] ==> Searching for coverage reports in: [2021-05-06T22:55:28.512Z] + . [2021-05-06T22:55:28.512Z] -> Found 1 reports [2021-05-06T22:55:28.512Z] ==> Detecting git/mercurial file structure [2021-05-06T22:55:28.512Z] ==> Reading reports [2021-05-06T22:55:28.512Z] + ./coverage.out bytes=100320 [2021-05-06T22:55:28.512Z] ==> Appending adjustments [2021-05-06T22:55:28.512Z] https://docs.codecov.io/docs/fixing-reports [2021-05-06T22:55:29.093Z] + Found adjustments [2021-05-06T22:55:29.093Z] ==> Gzipping contents [2021-05-06T22:55:29.093Z] 16K /tmp/codecov.uAlltD.gz [2021-05-06T22:55:29.093Z] ==> Uploading reports [2021-05-06T22:55:29.093Z] url: https://codecov.io [2021-05-06T22:55:29.093Z] query: branch=PR-887&commit=da658261ccbdba54da4498e1179171f4f4f17bc4&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-05-06T22:55:29.093Z] -> Pinging Codecov [2021-05-06T22:55:29.093Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-887&commit=da658261ccbdba54da4498e1179171f4f4f17bc4&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-887%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=887&job=&cmd_args= [2021-05-06T22:55:29.669Z] -> Uploading to [2021-05-06T22:55:29.669Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-06/7E55EF52A471D76F132DFD9A03CDDE97/da658261ccbdba54da4498e1179171f4f4f17bc4/ace44c70-f155-47a8-8da8-3623ac52899c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210506T225529Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=675547dde94e3355c924e3e2a6de9d2066166a4db35afa33e6a3ff6e48aac8ff [2021-05-06T22:55:29.669Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-06T22:55:29.669Z] Dload Upload Total Spent Left Speed [2021-05-06T22:55:29.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13531 0 0 100 13531 0 27119 --:--:-- --:--:-- --:--:-- 27116 [2021-05-06T22:55:29.935Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/da658261ccbdba54da4498e1179171f4f4f17bc4 [Pipeline] } [2021-05-06T22:55:29.946Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:55:31.047Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:55:31.359Z] ---> package-listing.sh [2021-05-06T22:55:31.359Z] ++ facter osfamily [2021-05-06T22:55:31.359Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-06T22:55:31.359Z] + OS_FAMILY=redhat [2021-05-06T22:55:31.359Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-05-06T22:55:31.359Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-06T22:55:31.359Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-06T22:55:31.359Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-06T22:55:31.359Z] + PACKAGES=/tmp/packages_start.txt [2021-05-06T22:55:31.359Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-05-06T22:55:31.359Z] + PACKAGES=/tmp/packages_end.txt [2021-05-06T22:55:31.359Z] + case "${OS_FAMILY}" in [2021-05-06T22:55:31.359Z] + rpm -qa [2021-05-06T22:55:31.359Z] + sort [2021-05-06T22:55:36.689Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-06T22:55:36.689Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-06T22:55:36.689Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-06T22:55:36.689Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-887 ']' [2021-05-06T22:55:36.689Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [2021-05-06T22:55:36.689Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-887/archives/ [Pipeline] echo [2021-05-06T22:55:36.706Z] 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-887/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-06T22:55:37.024Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:55:37.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:55:37.611Z] [2021-05-06T22:55:37.611Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-06T22:55:37.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:55:38.216Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-06T22:55:38.216Z] df20fa9351a1: Pulling fs layer [2021-05-06T22:55:38.216Z] 36b3adc4ff6f: Pulling fs layer [2021-05-06T22:55:38.216Z] 8ad3a11d3b57: Pulling fs layer [2021-05-06T22:55:38.216Z] 46f8f816bc3b: Pulling fs layer [2021-05-06T22:55:38.216Z] 93b61091891f: Pulling fs layer [2021-05-06T22:55:38.216Z] 93b9cdb0e59b: Pulling fs layer [2021-05-06T22:55:38.216Z] 5e14af77c1be: Pulling fs layer [2021-05-06T22:55:38.216Z] 01666e4c0597: Pulling fs layer [2021-05-06T22:55:38.216Z] aa168da1d23b: Pulling fs layer [2021-05-06T22:55:38.216Z] 93b61091891f: Waiting [2021-05-06T22:55:38.216Z] 93b9cdb0e59b: Waiting [2021-05-06T22:55:38.216Z] 5e14af77c1be: Waiting [2021-05-06T22:55:38.216Z] 01666e4c0597: Waiting [2021-05-06T22:55:38.216Z] aa168da1d23b: Waiting [2021-05-06T22:55:38.216Z] 46f8f816bc3b: Waiting [2021-05-06T22:55:38.216Z] 36b3adc4ff6f: Verifying Checksum [2021-05-06T22:55:38.216Z] 36b3adc4ff6f: Download complete [2021-05-06T22:55:38.216Z] 46f8f816bc3b: Verifying Checksum [2021-05-06T22:55:38.216Z] 46f8f816bc3b: Download complete [2021-05-06T22:55:38.216Z] df20fa9351a1: Verifying Checksum [2021-05-06T22:55:38.216Z] df20fa9351a1: Download complete [2021-05-06T22:55:38.216Z] 93b9cdb0e59b: Verifying Checksum [2021-05-06T22:55:38.216Z] 93b9cdb0e59b: Download complete [2021-05-06T22:55:38.216Z] 5e14af77c1be: Download complete [2021-05-06T22:55:38.491Z] 01666e4c0597: Verifying Checksum [2021-05-06T22:55:38.491Z] 01666e4c0597: Download complete [2021-05-06T22:55:38.491Z] 93b61091891f: Download complete [2021-05-06T22:55:39.112Z] 8ad3a11d3b57: Verifying Checksum [2021-05-06T22:55:39.112Z] 8ad3a11d3b57: Download complete [2021-05-06T22:55:39.112Z] df20fa9351a1: Pull complete [2021-05-06T22:55:39.403Z] 36b3adc4ff6f: Pull complete [2021-05-06T22:55:41.458Z] 8ad3a11d3b57: Pull complete [2021-05-06T22:55:41.740Z] 46f8f816bc3b: Pull complete [2021-05-06T22:55:42.761Z] 93b61091891f: Pull complete [2021-05-06T22:55:43.039Z] 93b9cdb0e59b: Pull complete [2021-05-06T22:55:43.311Z] aa168da1d23b: Verifying Checksum [2021-05-06T22:55:43.311Z] aa168da1d23b: Download complete [2021-05-06T22:55:43.601Z] 5e14af77c1be: Pull complete [2021-05-06T22:55:43.905Z] 01666e4c0597: Pull complete [2021-05-06T22:55:56.442Z] aa168da1d23b: Pull complete [2021-05-06T22:55:56.442Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-06T22:55:56.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-06T22:55:56.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-06T22:55:56.684Z] prd-centos7-docker-4c-2g-3342 does not seem to be running inside a container [2021-05-06T22:55:56.766Z] $ 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-887/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-887 -v /w/workspace/dgexfoundry_device-sdk-go_PR-887:/w/workspace/dgexfoundry_device-sdk-go_PR-887:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-06T22:56:01.406Z] $ docker top e1e997c63f880a195255c6d16e2d2bc03f7e6a4d0684d90221a3cc56af5aee30 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-06T22:56:02.581Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-06T22:56:02.905Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-06T22:56:03.243Z] + ls /var/log/sa-host [2021-05-06T22:56:03.243Z] + sadf -c /var/log/sa-host/sa06 [2021-05-06T22:56:03.243Z] file_magic: OK [2021-05-06T22:56:03.243Z] HZ: Using current value: 100 [2021-05-06T22:56:03.243Z] file_header: OK [2021-05-06T22:56:03.243Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-06T22:56:03.243Z] Statistics: [2021-05-06T22:56:03.243Z] 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...Hnuu...uuuununununu... [2021-05-06T22:56:03.243Z] File successfully converted to sysstat format version 12.2.1 [2021-05-06T22:56:03.243Z] + sadf -c /var/log/sa-host/sa23 [2021-05-06T22:56:03.243Z] file_magic: OK [2021-05-06T22:56:03.243Z] HZ: Using current value: 100 [2021-05-06T22:56:03.243Z] file_header: OK [2021-05-06T22:56:03.243Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-06T22:56:03.243Z] Statistics: [2021-05-06T22:56:03.243Z] Hnuu...uuuununununu... [2021-05-06T22:56:03.243Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-06T22:56:03.443Z] provisioning config files... [2021-05-06T22:56:03.463Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp/config3118300581557666029tmp [Pipeline] { [Pipeline] echo [2021-05-06T22:56:03.491Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:03.811Z] ---> create-netrc.sh [Pipeline] } [2021-05-06T22:56:03.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-06T22:56:03.856Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:04.167Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-06T22:56:04.180Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:04.488Z] ---> sudo-logs.sh [2021-05-06T22:56:04.488Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-06T22:56:04.517Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:04.837Z] ---> job-cost.sh [2021-05-06T22:56:04.837Z] lf-activate-venv: SKIPPING [2021-05-06T22:56:04.837Z] DEBUG: total: 0.20999999344348907 [2021-05-06T22:56:04.837Z] INFO: Retrieving Stack Cost... [2021-05-06T22:56:05.809Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-06T22:56:06.442Z] INFO: Archiving Costs [Pipeline] echo [2021-05-06T22:56:06.465Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-06T22:56:07.150Z] ---> logs-deploy.sh [2021-05-06T22:56:07.150Z] lf-activate-venv: SKIPPING [2021-05-06T22:56:07.150Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-887/7 [2021-05-06T22:56:07.150Z] INFO: archiving workspace using pattern(s): [2021-05-06T22:56:09.808Z] Archives upload complete. [2021-05-06T22:56:09.808Z] INFO: archiving logs to Nexus [2021-05-06T22:56:11.261Z] ---> uname -a: [2021-05-06T22:56:11.262Z] Linux prd-centos7-docker-4c-2g-3342.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-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] ---> lscpu: [2021-05-06T22:56:11.262Z] Architecture: x86_64 [2021-05-06T22:56:11.262Z] CPU op-mode(s): 32-bit, 64-bit [2021-05-06T22:56:11.262Z] Byte Order: Little Endian [2021-05-06T22:56:11.262Z] Address sizes: 40 bits physical, 48 bits virtual [2021-05-06T22:56:11.262Z] CPU(s): 4 [2021-05-06T22:56:11.262Z] On-line CPU(s) list: 0-3 [2021-05-06T22:56:11.262Z] Thread(s) per core: 1 [2021-05-06T22:56:11.262Z] Core(s) per socket: 1 [2021-05-06T22:56:11.262Z] Socket(s): 4 [2021-05-06T22:56:11.262Z] NUMA node(s): 1 [2021-05-06T22:56:11.262Z] Vendor ID: GenuineIntel [2021-05-06T22:56:11.262Z] CPU family: 6 [2021-05-06T22:56:11.262Z] Model: 44 [2021-05-06T22:56:11.262Z] Model name: Westmere E56xx/L56xx/X56xx (IBRS update) [2021-05-06T22:56:11.262Z] Stepping: 1 [2021-05-06T22:56:11.262Z] CPU MHz: 2933.436 [2021-05-06T22:56:11.262Z] BogoMIPS: 5866.87 [2021-05-06T22:56:11.262Z] Virtualization: VT-x [2021-05-06T22:56:11.262Z] Hypervisor vendor: KVM [2021-05-06T22:56:11.262Z] Virtualization type: full [2021-05-06T22:56:11.262Z] L1d cache: 128 KiB [2021-05-06T22:56:11.262Z] L1i cache: 128 KiB [2021-05-06T22:56:11.262Z] L2 cache: 16 MiB [2021-05-06T22:56:11.262Z] L3 cache: 64 MiB [2021-05-06T22:56:11.262Z] NUMA node0 CPU(s): 0-3 [2021-05-06T22:56:11.262Z] Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages [2021-05-06T22:56:11.262Z] Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled [2021-05-06T22:56:11.262Z] Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown [2021-05-06T22:56:11.262Z] Vulnerability Meltdown: Mitigation; PTI [2021-05-06T22:56:11.262Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2021-05-06T22:56:11.262Z] Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization [2021-05-06T22:56:11.262Z] Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB [2021-05-06T22:56:11.262Z] Vulnerability Srbds: Not affected [2021-05-06T22:56:11.262Z] Vulnerability Tsx async abort: Not affected [2021-05-06T22:56:11.262Z] 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-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] ---> nproc: [2021-05-06T22:56:11.262Z] 4 [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] ---> df -h: [2021-05-06T22:56:11.262Z] Filesystem Size Used Available Use% Mounted on [2021-05-06T22:56:11.262Z] overlay 50.0G 7.3G 42.7G 15% / [2021-05-06T22:56:11.262Z] tmpfs 64.0M 0 64.0M 0% /dev [2021-05-06T22:56:11.262Z] tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup [2021-05-06T22:56:11.262Z] shm 64.0M 0 64.0M 0% /dev/shm [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-887 [2021-05-06T22:56:11.262Z] /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-887@tmp [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] ---> free -m: [2021-05-06T22:56:11.262Z] total used free shared buff/cache available [2021-05-06T22:56:11.262Z] Mem: 1837 697 114 0 1024 1034 [2021-05-06T22:56:11.262Z] Swap: 1023 1 1022 [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z] ---> ip addr: [2021-05-06T22:56:11.262Z] 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 [2021-05-06T22:56:11.262Z] link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 [2021-05-06T22:56:11.262Z] inet 127.0.0.1/8 scope host lo [2021-05-06T22:56:11.262Z] valid_lft forever preferred_lft forever [2021-05-06T22:56:11.262Z] inet6 ::1/128 scope host [2021-05-06T22:56:11.262Z] valid_lft forever preferred_lft forever [2021-05-06T22:56:11.262Z] 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 [2021-05-06T22:56:11.262Z] link/ether fa:16:3e:6f:bb:3e brd ff:ff:ff:ff:ff:ff [2021-05-06T22:56:11.262Z] inet 10.30.122.105/23 brd 10.30.123.255 scope global dynamic eth0 [2021-05-06T22:56:11.262Z] valid_lft 85561sec preferred_lft 85561sec [2021-05-06T22:56:11.262Z] inet6 fe80::f816:3eff:fe6f:bb3e/64 scope link [2021-05-06T22:56:11.262Z] valid_lft forever preferred_lft forever [2021-05-06T22:56:11.262Z] 3: docker0: mtu 1500 qdisc noqueue state DOWN [2021-05-06T22:56:11.262Z] link/ether 02:42:ef:a8:1d:50 brd ff:ff:ff:ff:ff:ff [2021-05-06T22:56:11.262Z] inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 [2021-05-06T22:56:11.262Z] valid_lft forever preferred_lft forever [2021-05-06T22:56:11.262Z] inet6 fe80::42:efff:fea8:1d50/64 scope link [2021-05-06T22:56:11.262Z] valid_lft forever preferred_lft forever [2021-05-06T22:56:11.262Z] [2021-05-06T22:56:11.262Z]