Pull request #927 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 311f2bb00fb3e0fe2386e99dd9959fda52599076+759496df5f428c8235f1427b99e1498ca885078c (336642a9ce25d39d1a4ccb51da038d8159c9160e) 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 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 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > 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: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: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-5061 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [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-927 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit 311f2bb00fb3e0fe2386e99dd9959fda52599076 > 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/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 311f2bb00fb3e0fe2386e99dd9959fda52599076 # timeout=10 Merge succeeded, producing 311f2bb00fb3e0fe2386e99dd9959fda52599076 Checking out Revision 311f2bb00fb3e0fe2386e99dd9959fda52599076 (PR-927) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 311f2bb00fb3e0fe2386e99dd9959fda52599076 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk 6e18029c9a523fc55bb67dd0cb4dc6558a1210ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-13T08:15:58.937Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-13T08:15:59.037Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-13T08:15:59.066Z] ========================================================= [2021-05-13T08:15:59.066Z] EdgeX Global Pipelines Version Info [2021-05-13T08:15:59.066Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:16:00.576Z] ------------------- [2021-05-13T08:16:00.577Z] stable info: [2021-05-13T08:16:00.577Z] ------------------- [2021-05-13T08:16:00.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-13T08:16:00.577Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T08:16:00.577Z] Message: update stable to v1.0.192 [2021-05-13T08:16:01.521Z] ------------------- [2021-05-13T08:16:01.521Z] experimental info: [2021-05-13T08:16:01.521Z] ------------------- [2021-05-13T08:16:01.521Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-13T08:16:01.521Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-13T08:16:01.521Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-13T08:16:01.651Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-13T08:16:01.675Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-13T08:16:01.699Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-13T08:16:01.723Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-13T08:16:01.746Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-13T08:16:01.770Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-13T08:16:01.807Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-13T08:16:01.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-13T08:16:01.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-13T08:16:01.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-13T08:16:01.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-13T08:16:01.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-13T08:16:01.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-13T08:16:01.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-13T08:16:02.011Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-13T08:16:02.035Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T08:16:02.063Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T08:16:02.088Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-13T08:16:02.113Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-13T08:16:02.137Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-13T08:16:02.167Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-13T08:16:02.191Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-13T08:16:02.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-13T08:16:02.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-13T08:16:02.268Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-13T08:16:02.293Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-13T08:16:02.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-927 [Pipeline] echo [2021-05-13T08:16:02.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-927 [Pipeline] echo [2021-05-13T08:16:02.370Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-927 [Pipeline] echo [2021-05-13T08:16:02.395Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 311f2bb00fb3e0fe2386e99dd9959fda52599076 [Pipeline] echo [2021-05-13T08:16:02.418Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 311f2bb [Pipeline] echo [2021-05-13T08:16:02.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T08:16:02.519Z] provisioning config files... [2021-05-13T08:16:02.549Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config5546290880826071688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:16:02.867Z] ---> docker-login.sh [2021-05-13T08:16:02.867Z] nexus3.edgexfoundry.org:10001 [2021-05-13T08:16:03.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:03.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:03.394Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:03.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:03.394Z] [2021-05-13T08:16:03.394Z] Login Succeeded [2021-05-13T08:16:03.394Z] nexus3.edgexfoundry.org:10002 [2021-05-13T08:16:03.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:03.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:03.394Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:03.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:03.394Z] [2021-05-13T08:16:03.394Z] Login Succeeded [2021-05-13T08:16:03.658Z] nexus3.edgexfoundry.org:10003 [2021-05-13T08:16:03.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:03.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:03.658Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:03.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:03.658Z] [2021-05-13T08:16:03.658Z] Login Succeeded [2021-05-13T08:16:03.658Z] nexus3.edgexfoundry.org:10004 [2021-05-13T08:16:03.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:03.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:03.920Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:03.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:03.920Z] [2021-05-13T08:16:03.920Z] Login Succeeded [2021-05-13T08:16:03.920Z] docker.io [2021-05-13T08:16:03.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:16:04.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:16:04.499Z] Configure a credential helper to remove this warning. See [2021-05-13T08:16:04.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:16:04.499Z] [2021-05-13T08:16:04.499Z] Login Succeeded [2021-05-13T08:16:04.499Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T08:16:04.509Z] 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-13T08:16:04.953Z] + git log --format=format:%s -1 311f2bb00fb3e0fe2386e99dd9959fda52599076 [Pipeline] echo [2021-05-13T08:16:05.026Z] GIT_COMMIT: 311f2bb00fb3e0fe2386e99dd9959fda52599076, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-05-13T08:16:05.040Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:16:05.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T08:16:05.616Z] [2021-05-13T08:16:05.616Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:16:05.939Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T08:16:05.939Z] latest: Pulling from edgex-devops/git-semver [2021-05-13T08:16:05.940Z] 31603596830f: Pulling fs layer [2021-05-13T08:16:05.940Z] 54011a49482f: Pulling fs layer [2021-05-13T08:16:05.940Z] a6820b24f6d8: Pulling fs layer [2021-05-13T08:16:05.940Z] f581987b2513: Pulling fs layer [2021-05-13T08:16:05.940Z] 54011a49482f: Verifying Checksum [2021-05-13T08:16:05.940Z] 54011a49482f: Download complete [2021-05-13T08:16:06.215Z] 31603596830f: Verifying Checksum [2021-05-13T08:16:06.215Z] 31603596830f: Download complete [2021-05-13T08:16:06.215Z] f581987b2513: Verifying Checksum [2021-05-13T08:16:06.215Z] f581987b2513: Download complete [2021-05-13T08:16:06.215Z] a6820b24f6d8: Verifying Checksum [2021-05-13T08:16:06.215Z] a6820b24f6d8: Download complete [2021-05-13T08:16:06.483Z] 31603596830f: Pull complete [2021-05-13T08:16:06.744Z] 54011a49482f: Pull complete [2021-05-13T08:16:07.324Z] a6820b24f6d8: Pull complete [2021-05-13T08:16:07.902Z] f581987b2513: Pull complete [2021-05-13T08:16:07.902Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-13T08:16:07.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-13T08:16:07.902Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-13T08:16:08.011Z] prd-centos7-docker-4c-2g-5061 does not seem to be running inside a container [2021-05-13T08:16:08.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-927 -v /w/workspace/dgexfoundry_device-sdk-go_PR-927:/w/workspace/dgexfoundry_device-sdk-go_PR-927:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-927@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-13T08:16:09.983Z] $ docker top fb7489078340b5a846d61b78e9d71e70cd98153bf81648da6da482e27f3ce10d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-13T08:16:10.288Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T08:16:10.288Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T08:16:10.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T08:16:10.552Z] $ docker exec fb7489078340b5a846d61b78e9d71e70cd98153bf81648da6da482e27f3ce10d ssh-agent [2021-05-13T08:16:10.742Z] SSH_AUTH_SOCK=/tmp/ssh-pDBVF715WNID/agent.11 [2021-05-13T08:16:10.742Z] SSH_AGENT_PID=16 [2021-05-13T08:16:10.755Z] Running ssh-add (command line suppressed) [2021-05-13T08:16:10.883Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_888862130688548052.key (/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_888862130688548052.key) [2021-05-13T08:16:10.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T08:16:11.241Z] + git tag --points-at HEAD [Pipeline] } [2021-05-13T08:16:11.261Z] $ docker exec --env ******** --env ******** fb7489078340b5a846d61b78e9d71e70cd98153bf81648da6da482e27f3ce10d ssh-agent -k [2021-05-13T08:16:11.378Z] unset SSH_AUTH_SOCK; [2021-05-13T08:16:11.379Z] unset SSH_AGENT_PID; [2021-05-13T08:16:11.379Z] echo Agent pid 16 killed; [2021-05-13T08:16:11.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-13T08:16:11.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-13T08:16:11.471Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-13T08:16:11.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-13T08:16:11.668Z] $ docker exec fb7489078340b5a846d61b78e9d71e70cd98153bf81648da6da482e27f3ce10d ssh-agent [2021-05-13T08:16:11.839Z] SSH_AUTH_SOCK=/tmp/ssh-rPP5xBdybVcj/agent.45 [2021-05-13T08:16:11.839Z] SSH_AGENT_PID=50 [2021-05-13T08:16:11.846Z] Running ssh-add (command line suppressed) [2021-05-13T08:16:11.978Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_8795791515588196115.key (/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/private_key_8795791515588196115.key) [2021-05-13T08:16:12.027Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-13T08:16:12.329Z] + git semver init [2021-05-13T08:16:12.329Z] # -> Open(): unable to determine branch for HEAD [2021-05-13T08:16:12.329Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-927/.git [2021-05-13T08:16:12.329Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-927 [2021-05-13T08:16:12.329Z] # $SEMVER_REMOTE_NAME = origin [2021-05-13T08:16:12.329Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-13T08:16:12.329Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-13T08:16:12.329Z] # $SEMVER_BRANCH = PR-927 [2021-05-13T08:16:12.329Z] # $SEMVER_TEMP = /tmp/semver-517502178 [2021-05-13T08:16:12.329Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-13T08:16:13.292Z] # '/tmp/semver-517502178' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-927/.semver' [2021-05-13T08:16:13.292Z] # -> Force: false [2021-05-13T08:16:13.292Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-927/.semver [Pipeline] } [2021-05-13T08:16:13.309Z] $ docker exec --env ******** --env ******** fb7489078340b5a846d61b78e9d71e70cd98153bf81648da6da482e27f3ce10d ssh-agent -k [2021-05-13T08:16:13.473Z] unset SSH_AUTH_SOCK; [2021-05-13T08:16:13.474Z] unset SSH_AGENT_PID; [2021-05-13T08:16:13.474Z] echo Agent pid 50 killed; [2021-05-13T08:16:13.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-13T08:16:13.880Z] + git semver [Pipeline] } [2021-05-13T08:16:13.903Z] $ docker stop --time=1 fb7489078340b5a846d61b78e9d71e70cd98153bf81648da6da482e27f3ce10d [2021-05-13T08:16:15.677Z] $ docker rm -f fb7489078340b5a846d61b78e9d71e70cd98153bf81648da6da482e27f3ce10d [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T08:16:16.095Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-13T08:16:16.460Z] Stashed 1 file(s) [Pipeline] echo [2021-05-13T08:16:16.463Z] [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-13T08:16:31.636Z] Still waiting to schedule task [2021-05-13T08:16:31.637Z] ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-5056’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-5035’ is offline; ‘prd-centos7-docker-4c-2g-5058’ is offline; ‘prd-centos7-docker-4c-2g-5064’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-5047’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-05-13T08:16:31.639Z] Still waiting to schedule task [2021-05-13T08:16:31.639Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-13T08:17:51.624Z] Running on prd-centos7-docker-4c-2g-5069 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [Pipeline] { [Pipeline] ws [2021-05-13T08:17:51.643Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-13T08:17:56.618Z] using credential edgex-jenkins-ssh [2021-05-13T08:17:56.635Z] Cloning the remote Git repository [2021-05-13T08:17:56.709Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:17:56.847Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-13T08:17:56.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:17:56.948Z] > git --version # timeout=10 [2021-05-13T08:17:56.966Z] > git --version # 'git version 2.24.3' [2021-05-13T08:17:56.967Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:17:57.044Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T08:17:58.025Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T08:17:58.040Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T08:17:58.055Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T08:17:58.468Z] Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit 311f2bb00fb3e0fe2386e99dd9959fda52599076 [2021-05-13T08:17:58.637Z] Merge succeeded, producing 311f2bb00fb3e0fe2386e99dd9959fda52599076 [2021-05-13T08:17:58.637Z] Checking out Revision 311f2bb00fb3e0fe2386e99dd9959fda52599076 (PR-927) [2021-05-13T08:17:58.071Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:17:58.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:17:58.076Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T08:17:58.481Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T08:17:58.500Z] > git checkout -f 311f2bb00fb3e0fe2386e99dd9959fda52599076 # timeout=10 [2021-05-13T08:17:58.558Z] > git remote # timeout=10 [2021-05-13T08:17:58.570Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T08:17:58.592Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:17:58.598Z] > git merge 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 [2021-05-13T08:17:58.627Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T08:17:58.643Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T08:17:58.656Z] > git checkout -f 311f2bb00fb3e0fe2386e99dd9959fda52599076 # timeout=10 [2021-05-13T08:18:02.636Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T08:18:03.908Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-13T08:18:04.315Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T08:18:04.679Z] + true [2021-05-13T08:18:04.679Z] + sudo service docker restart [2021-05-13T08:18:04.679Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T08:18:06.138Z] provisioning config files... [2021-05-13T08:18:06.178Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8940225149897447109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:18:06.542Z] ---> docker-login.sh [2021-05-13T08:18:06.542Z] nexus3.edgexfoundry.org:10001 [2021-05-13T08:18:06.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:07.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:07.081Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:07.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:07.081Z] [2021-05-13T08:18:07.081Z] Login Succeeded [2021-05-13T08:18:07.081Z] nexus3.edgexfoundry.org:10002 [2021-05-13T08:18:07.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:07.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:07.348Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:07.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:07.348Z] [2021-05-13T08:18:07.348Z] Login Succeeded [2021-05-13T08:18:07.348Z] nexus3.edgexfoundry.org:10003 [2021-05-13T08:18:07.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:07.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:07.616Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:07.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:07.616Z] [2021-05-13T08:18:07.616Z] Login Succeeded [2021-05-13T08:18:07.616Z] nexus3.edgexfoundry.org:10004 [2021-05-13T08:18:07.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:09.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:09.023Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:09.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:09.023Z] [2021-05-13T08:18:09.023Z] Login Succeeded [2021-05-13T08:18:09.023Z] docker.io [2021-05-13T08:18:09.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:18:09.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:18:09.297Z] Configure a credential helper to remove this warning. See [2021-05-13T08:18:09.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:18:09.297Z] [2021-05-13T08:18:09.297Z] Login Succeeded [2021-05-13T08:18:09.297Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T08:18:09.310Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T08:18:09.541Z] ========================================================= [2021-05-13T08:18:09.541Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-13T08:18:09.541Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:18:09.895Z] + 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-13T08:18:10.168Z] Sending build context to Docker daemon 2.564MB [2021-05-13T08:18:10.168Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T08:18:10.168Z] Step 2/8 : FROM ${BASE} [2021-05-13T08:18:10.168Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-13T08:18:10.168Z] 540db60ca938: Pulling fs layer [2021-05-13T08:18:10.168Z] adcc1eea9eea: Pulling fs layer [2021-05-13T08:18:10.168Z] 4c4ab2625f07: Pulling fs layer [2021-05-13T08:18:10.168Z] 0510c868ecb4: Pulling fs layer [2021-05-13T08:18:10.168Z] afea3b2eda06: Pulling fs layer [2021-05-13T08:18:10.168Z] 7809a108b3ef: Pulling fs layer [2021-05-13T08:18:10.168Z] f706445af74f: Pulling fs layer [2021-05-13T08:18:10.168Z] afea3b2eda06: Waiting [2021-05-13T08:18:10.168Z] 7809a108b3ef: Waiting [2021-05-13T08:18:10.168Z] f706445af74f: Waiting [2021-05-13T08:18:10.168Z] 0510c868ecb4: Waiting [2021-05-13T08:18:10.168Z] 4c4ab2625f07: Verifying Checksum [2021-05-13T08:18:10.168Z] 4c4ab2625f07: Download complete [2021-05-13T08:18:10.168Z] adcc1eea9eea: Download complete [2021-05-13T08:18:10.168Z] afea3b2eda06: Download complete [2021-05-13T08:18:10.168Z] 7809a108b3ef: Verifying Checksum [2021-05-13T08:18:10.168Z] 7809a108b3ef: Download complete [2021-05-13T08:18:10.168Z] 540db60ca938: Verifying Checksum [2021-05-13T08:18:10.168Z] 540db60ca938: Download complete [2021-05-13T08:18:10.751Z] 540db60ca938: Pull complete [2021-05-13T08:18:10.751Z] adcc1eea9eea: Pull complete [2021-05-13T08:18:11.024Z] 4c4ab2625f07: Pull complete [2021-05-13T08:18:11.987Z] f706445af74f: Verifying Checksum [2021-05-13T08:18:11.987Z] f706445af74f: Download complete [2021-05-13T08:18:14.601Z] 0510c868ecb4: Verifying Checksum [2021-05-13T08:18:14.602Z] 0510c868ecb4: Download complete [2021-05-13T08:18:21.459Z] 0510c868ecb4: Pull complete [2021-05-13T08:18:21.459Z] afea3b2eda06: Pull complete [2021-05-13T08:18:21.459Z] 7809a108b3ef: Pull complete [2021-05-13T08:18:28.153Z] f706445af74f: Pull complete [2021-05-13T08:18:28.153Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-13T08:18:28.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-13T08:18:28.153Z] ---> b068be0155e3 [2021-05-13T08:18:28.153Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:18:28.153Z] ---> Running in 88d8ebe494a1 [2021-05-13T08:18:28.434Z] Removing intermediate container 88d8ebe494a1 [2021-05-13T08:18:28.434Z] ---> c62a920abeb4 [2021-05-13T08:18:28.434Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:18:28.434Z] ---> Running in a60675431835 [2021-05-13T08:18:29.891Z] Removing intermediate container a60675431835 [2021-05-13T08:18:29.891Z] ---> 0fa384976fcd [2021-05-13T08:18:29.891Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-13T08:18:29.891Z] ---> Running in 415ac9e23fb9 [2021-05-13T08:18:31.298Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T08:18:31.896Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T08:18:32.875Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-13T08:18:32.875Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-13T08:18:33.149Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-13T08:18:33.425Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-13T08:18:33.425Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-13T08:18:33.696Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-13T08:18:33.696Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T08:18:33.696Z] OK: 150 MiB in 46 packages [2021-05-13T08:18:34.285Z] Removing intermediate container 415ac9e23fb9 [2021-05-13T08:18:34.285Z] ---> f31fefac6013 [2021-05-13T08:18:34.285Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-13T08:18:34.565Z] ---> Running in e39ba4be81de [2021-05-13T08:18:34.565Z] Removing intermediate container e39ba4be81de [2021-05-13T08:18:34.565Z] ---> b8de485e16a3 [2021-05-13T08:18:34.565Z] Step 7/8 : COPY . . [2021-05-13T08:18:36.029Z] ---> 79eb025076cb [2021-05-13T08:18:36.029Z] Step 8/8 : RUN go mod download [2021-05-13T08:18:36.029Z] ---> Running in b7fac7c7a227 [2021-05-13T08:19:02.860Z] Removing intermediate container b7fac7c7a227 [2021-05-13T08:19:02.860Z] ---> e867321ed18a [2021-05-13T08:19:02.860Z] Successfully built e867321ed18a [2021-05-13T08:19:02.860Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:19:03.235Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T08:19:03.508Z] . [Pipeline] withDockerContainer [2021-05-13T08:19:03.754Z] prd-centos7-docker-4c-2g-5069 does not seem to be running inside a container [2021-05-13T08:19:03.885Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-13T08:19:05.596Z] $ docker top 67ed2486a73f22ed40f0eddba9cda8dc94124b9ac77befedd38cabfe34c2d9d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T08:19:06.160Z] + go version [2021-05-13T08:19:06.439Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-13T08:19:06.479Z] $ docker stop --time=1 67ed2486a73f22ed40f0eddba9cda8dc94124b9ac77befedd38cabfe34c2d9d6 [2021-05-13T08:19:08.997Z] $ docker rm -f 67ed2486a73f22ed40f0eddba9cda8dc94124b9ac77befedd38cabfe34c2d9d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:19:09.844Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-13T08:19:09.844Z] . [Pipeline] withDockerContainer [2021-05-13T08:19:10.246Z] prd-centos7-docker-4c-2g-5069 does not seem to be running inside a container [2021-05-13T08:19:10.398Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-05-13T08:19:11.632Z] $ docker top fc14c314a72a22d39ca2ac9d6ed18e4a8d6011a2fab64cabdbf700197157be66 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T08:19:12.074Z] + go mod tidy [Pipeline] sh [2021-05-13T08:19:12.979Z] + make test [2021-05-13T08:19:12.979Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-13T08:19:22.266Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5072 in /w/workspace/dgexfoundry_device-sdk-go_PR-927 [Pipeline] { [Pipeline] ws [2021-05-13T08:19:22.284Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-05-13T08:19:23.131Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-13T08:19:27.918Z] using credential edgex-jenkins-ssh [2021-05-13T08:19:27.941Z] Cloning the remote Git repository [2021-05-13T08:19:27.999Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:19:28.181Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-05-13T08:19:28.287Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:19:28.288Z] > git --version # timeout=10 [2021-05-13T08:19:28.307Z] > git --version # 'git version 2.17.1' [2021-05-13T08:19:28.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:19:28.409Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T08:19:29.680Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T08:19:29.701Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-13T08:19:29.728Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-13T08:19:29.778Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-13T08:19:29.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:19:29.798Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/927/head:refs/remotes/origin/PR-927 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-13T08:19:30.313Z] Merging remotes/origin/master commit 759496df5f428c8235f1427b99e1498ca885078c into PR head commit 311f2bb00fb3e0fe2386e99dd9959fda52599076 [2021-05-13T08:19:30.562Z] Merge succeeded, producing 311f2bb00fb3e0fe2386e99dd9959fda52599076 [2021-05-13T08:19:30.563Z] Checking out Revision 311f2bb00fb3e0fe2386e99dd9959fda52599076 (PR-927) [2021-05-13T08:19:30.336Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T08:19:30.358Z] > git checkout -f 311f2bb00fb3e0fe2386e99dd9959fda52599076 # timeout=10 [2021-05-13T08:19:30.477Z] > git remote # timeout=10 [2021-05-13T08:19:30.497Z] > git config --get remote.origin.url # timeout=10 [2021-05-13T08:19:30.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-13T08:19:30.528Z] > git merge 759496df5f428c8235f1427b99e1498ca885078c # timeout=10 [2021-05-13T08:19:30.549Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-13T08:19:30.571Z] > git config core.sparsecheckout # timeout=10 [2021-05-13T08:19:30.598Z] > git checkout -f 311f2bb00fb3e0fe2386e99dd9959fda52599076 # timeout=10 [2021-05-13T08:19:35.151Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T08:19:36.660Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-13T08:19:37.115Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-13T08:19:37.464Z] + sudo service docker restart [2021-05-13T08:19:37.464Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-13T08:19:40.151Z] provisioning config files... [2021-05-13T08:19:40.195Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1649401695884066222tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:19:40.585Z] ---> docker-login.sh [2021-05-13T08:19:40.586Z] nexus3.edgexfoundry.org:10001 [2021-05-13T08:19:41.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:41.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:41.846Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:41.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:41.846Z] [2021-05-13T08:19:41.846Z] Login Succeeded [2021-05-13T08:19:41.846Z] nexus3.edgexfoundry.org:10002 [2021-05-13T08:19:42.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:42.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:42.444Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:42.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:42.444Z] [2021-05-13T08:19:42.444Z] Login Succeeded [2021-05-13T08:19:42.444Z] nexus3.edgexfoundry.org:10003 [2021-05-13T08:19:42.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:42.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:42.996Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:42.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:42.996Z] [2021-05-13T08:19:42.996Z] Login Succeeded [2021-05-13T08:19:42.996Z] nexus3.edgexfoundry.org:10004 [2021-05-13T08:19:43.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:43.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:43.547Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:43.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:43.547Z] [2021-05-13T08:19:43.547Z] Login Succeeded [2021-05-13T08:19:43.547Z] docker.io [2021-05-13T08:19:43.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-13T08:19:44.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-13T08:19:44.105Z] Configure a credential helper to remove this warning. See [2021-05-13T08:19:44.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-13T08:19:44.105Z] [2021-05-13T08:19:44.105Z] Login Succeeded [2021-05-13T08:19:44.105Z] ---> docker-login.sh ends [Pipeline] } [2021-05-13T08:19:44.136Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-13T08:19:44.478Z] ========================================================= [2021-05-13T08:19:44.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-13T08:19:44.478Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:19:44.826Z] + 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-13T08:19:45.102Z] Sending build context to Docker daemon 2.563MB [2021-05-13T08:19:45.102Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T08:19:45.102Z] Step 2/8 : FROM ${BASE} [2021-05-13T08:19:45.380Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-13T08:19:45.380Z] 595b0fe564bb: Pulling fs layer [2021-05-13T08:19:45.380Z] 7186ed65a4f7: Pulling fs layer [2021-05-13T08:19:45.380Z] 316046926c0a: Pulling fs layer [2021-05-13T08:19:45.380Z] 4ebd0625c992: Pulling fs layer [2021-05-13T08:19:45.380Z] 207e8628e3a3: Pulling fs layer [2021-05-13T08:19:45.380Z] c791037a9be2: Pulling fs layer [2021-05-13T08:19:45.380Z] ffd874e62e21: Pulling fs layer [2021-05-13T08:19:45.380Z] 207e8628e3a3: Waiting [2021-05-13T08:19:45.380Z] c791037a9be2: Waiting [2021-05-13T08:19:45.380Z] 4ebd0625c992: Waiting [2021-05-13T08:19:45.380Z] ffd874e62e21: Waiting [2021-05-13T08:19:45.380Z] 316046926c0a: Verifying Checksum [2021-05-13T08:19:45.380Z] 316046926c0a: Download complete [2021-05-13T08:19:45.380Z] 7186ed65a4f7: Verifying Checksum [2021-05-13T08:19:45.380Z] 7186ed65a4f7: Download complete [2021-05-13T08:19:45.380Z] 207e8628e3a3: Verifying Checksum [2021-05-13T08:19:45.380Z] 207e8628e3a3: Download complete [2021-05-13T08:19:45.380Z] c791037a9be2: Download complete [2021-05-13T08:19:45.380Z] 595b0fe564bb: Verifying Checksum [2021-05-13T08:19:45.380Z] 595b0fe564bb: Download complete [2021-05-13T08:19:46.388Z] 595b0fe564bb: Pull complete [2021-05-13T08:19:46.669Z] 7186ed65a4f7: Pull complete [2021-05-13T08:19:47.273Z] 316046926c0a: Pull complete [2021-05-13T08:19:47.547Z] ffd874e62e21: Verifying Checksum [2021-05-13T08:19:47.547Z] ffd874e62e21: Download complete [2021-05-13T08:19:48.984Z] 4ebd0625c992: Verifying Checksum [2021-05-13T08:19:48.984Z] 4ebd0625c992: Download complete [2021-05-13T08:19:55.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-13T08:19:55.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-13T08:19:55.708Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-13T08:19:59.173Z] 4ebd0625c992: Pull complete [2021-05-13T08:19:59.173Z] 207e8628e3a3: Pull complete [2021-05-13T08:19:59.173Z] c791037a9be2: Pull complete [2021-05-13T08:20:01.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.095s coverage: 25.4% of statements [2021-05-13T08:20:01.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-13T08:20:01.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.094s coverage: 28.1% of statements [2021-05-13T08:20:01.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.114s coverage: 78.9% of statements [2021-05-13T08:20:01.141Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.103s coverage: 10.7% of statements [2021-05-13T08:20:01.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-13T08:20:01.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-13T08:20:01.141Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-13T08:20:02.568Z] ffd874e62e21: Pull complete [2021-05-13T08:20:02.568Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-13T08:20:02.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-13T08:20:02.568Z] ---> cfc18b08335c [2021-05-13T08:20:02.568Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:20:02.623Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.146s coverage: 30.2% of statements [2021-05-13T08:20:02.623Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-13T08:20:03.635Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.105s coverage: 83.3% of statements [2021-05-13T08:20:03.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-13T08:20:03.635Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-13T08:20:03.945Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.190s coverage: 58.4% of statements [2021-05-13T08:20:04.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.701s coverage: 89.2% of statements [2021-05-13T08:20:04.970Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-13T08:20:04.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.158s coverage: 5.0% of statements [2021-05-13T08:20:04.970Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-13T08:20:05.178Z] ---> Running in 8e7d4250b05d [2021-05-13T08:20:05.178Z] Removing intermediate container 8e7d4250b05d [2021-05-13T08:20:05.178Z] ---> 0385245a68fa [2021-05-13T08:20:05.178Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:20:05.255Z] GO111MODULE=on go vet ./... [2021-05-13T08:20:05.456Z] ---> Running in 5d7b28d74895 [2021-05-13T08:20:08.096Z] Removing intermediate container 5d7b28d74895 [2021-05-13T08:20:08.096Z] ---> 190c09c8253e [2021-05-13T08:20:08.096Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-13T08:20:08.096Z] ---> Running in bfd38234a151 [2021-05-13T08:20:09.081Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T08:20:10.524Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T08:20:13.140Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-13T08:20:13.141Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-13T08:20:13.413Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-13T08:20:13.413Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-13T08:20:13.413Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-13T08:20:14.005Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-13T08:20:14.279Z] Executing busybox-1.32.1-r6.trigger [2021-05-13T08:20:14.279Z] OK: 139 MiB in 46 packages [2021-05-13T08:20:15.719Z] Removing intermediate container bfd38234a151 [2021-05-13T08:20:15.719Z] ---> 4c3c043c5c48 [2021-05-13T08:20:15.719Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-13T08:20:15.992Z] ---> Running in bc009a46c890 [2021-05-13T08:20:16.587Z] Removing intermediate container bc009a46c890 [2021-05-13T08:20:16.587Z] ---> 4e98a2a477cf [2021-05-13T08:20:16.587Z] Step 7/8 : COPY . . [2021-05-13T08:20:18.030Z] ---> 9a7d266e5bf3 [2021-05-13T08:20:18.030Z] Step 8/8 : RUN go mod download [2021-05-13T08:20:18.031Z] ---> Running in 2c364cc99e61 [2021-05-13T08:20:32.256Z] gofmt -l . [2021-05-13T08:20:32.257Z] [ "`gofmt -l .`" = "" ] [2021-05-13T08:20:32.257Z] ./bin/test-attribution-txt.sh [2021-05-13T08:20:32.845Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-13T08:20:33.130Z] $ docker stop --time=1 fc14c314a72a22d39ca2ac9d6ed18e4a8d6011a2fab64cabdbf700197157be66 [2021-05-13T08:20:34.963Z] $ docker rm -f fc14c314a72a22d39ca2ac9d6ed18e4a8d6011a2fab64cabdbf700197157be66 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T08:20:35.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T08:20:36.184Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-13T08:20:37.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T08:20:37.459Z] + ls -al . [2021-05-13T08:20:37.459Z] total 212 [2021-05-13T08:20:37.459Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 13 08:20 . [2021-05-13T08:20:37.459Z] drwxrwxr-x. 4 jenkins jenkins 28 May 13 08:17 .. [2021-05-13T08:20:37.459Z] drwxrwxr-x. 2 jenkins jenkins 64 May 13 08:17 bin [2021-05-13T08:20:37.459Z] -rw-r--r--. 1 jenkins jenkins 126002 May 13 08:20 coverage.out [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 987 May 13 08:17 Dockerfile.build [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 140 May 13 08:17 .dockerignore [2021-05-13T08:20:37.459Z] drwxrwxr-x. 5 jenkins jenkins 62 May 13 08:17 example [2021-05-13T08:20:37.459Z] drwxrwxr-x. 8 jenkins jenkins 179 May 13 08:18 .git [2021-05-13T08:20:37.459Z] drwxrwxr-x. 2 jenkins jenkins 103 May 13 08:17 .github [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 138 May 13 08:17 .gitignore [2021-05-13T08:20:37.459Z] -rw-r--r--. 1 jenkins jenkins 575 May 13 08:20 go.mod [2021-05-13T08:20:37.459Z] -rw-r--r--. 1 jenkins jenkins 20712 May 13 08:19 go.sum [2021-05-13T08:20:37.459Z] drwxrwxr-x. 15 jenkins jenkins 224 May 13 08:17 internal [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 894 May 13 08:17 Jenkinsfile [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 13 08:17 LICENSE [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 13 08:17 Makefile [2021-05-13T08:20:37.459Z] drwxrwxr-x. 4 jenkins jenkins 26 May 13 08:17 openapi [2021-05-13T08:20:37.459Z] drwxrwxr-x. 5 jenkins jenkins 50 May 13 08:17 pkg [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 13 08:17 README.md [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 13 08:17 RELEASE-NOTES.txt [2021-05-13T08:20:37.459Z] drwxrwxr-x. 4 jenkins jenkins 54 May 13 08:17 snap [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 5 May 13 08:16 VERSION [2021-05-13T08:20:37.459Z] -rw-rw-r--. 1 jenkins jenkins 222 May 13 08:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:20:37.778Z] + docker build -t 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=311f2bb00fb3e0fe2386e99dd9959fda52599076 --label arch=amd64 --label version=0.0.0 . [2021-05-13T08:20:38.046Z] Sending build context to Docker daemon 2.691MB [2021-05-13T08:20:38.046Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T08:20:38.046Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-13T08:20:38.046Z] ---> e867321ed18a [2021-05-13T08:20:38.046Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-13T08:20:38.634Z] ---> Running in 25d5d91ac856 [2021-05-13T08:20:38.901Z] Removing intermediate container 25d5d91ac856 [2021-05-13T08:20:38.902Z] ---> 8c4cd4115c64 [2021-05-13T08:20:38.902Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:20:38.902Z] ---> Running in 02b182869d16 [2021-05-13T08:20:39.167Z] Removing intermediate container 02b182869d16 [2021-05-13T08:20:39.167Z] ---> 031e007d4f1b [2021-05-13T08:20:39.167Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:20:39.167Z] ---> Running in a2315ebc4213 [2021-05-13T08:20:40.571Z] Removing intermediate container a2315ebc4213 [2021-05-13T08:20:40.571Z] ---> 668008467278 [2021-05-13T08:20:40.571Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-13T08:20:40.571Z] ---> Running in 07fb731e6f8d [2021-05-13T08:20:41.155Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-13T08:20:42.120Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-13T08:20:44.693Z] OK: 150 MiB in 46 packages [2021-05-13T08:20:44.874Z] Removing intermediate container 2c364cc99e61 [2021-05-13T08:20:44.874Z] ---> 877d50b7c7c2 [2021-05-13T08:20:44.874Z] Successfully built 877d50b7c7c2 [2021-05-13T08:20:44.874Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:20:44.961Z] Removing intermediate container 07fb731e6f8d [2021-05-13T08:20:44.961Z] ---> 157adc27bacf [2021-05-13T08:20:44.961Z] Step 7/23 : COPY . . [2021-05-13T08:20:45.214Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T08:20:45.214Z] . [Pipeline] withDockerContainer [2021-05-13T08:20:45.461Z] prd-ubuntu18.04-docker-arm64-4c-16g-5072 does not seem to be running inside a container [2021-05-13T08:20:45.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T08:20:45.918Z] ---> 5553952203b4 [2021-05-13T08:20:45.918Z] Step 8/23 : RUN go mod download [2021-05-13T08:20:45.918Z] ---> Running in d4fc3db98698 [2021-05-13T08:20:47.143Z] $ docker top 1f23e0bd101e4cdb599a0db42b4dc889bdfd6f2e888d8a9d21d8f41be07a3c12 -eo pid,comm [2021-05-13T08:20:47.349Z] Removing intermediate container d4fc3db98698 [2021-05-13T08:20:47.349Z] ---> 108c1d3d54bf [2021-05-13T08:20:47.349Z] Step 9/23 : RUN make build [Pipeline] { [Pipeline] sh [2021-05-13T08:20:47.623Z] ---> Running in 7871a759a041 [2021-05-13T08:20:48.157Z] + go version [2021-05-13T08:20:48.157Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-13T08:20:48.184Z] $ docker stop --time=1 1f23e0bd101e4cdb599a0db42b4dc889bdfd6f2e888d8a9d21d8f41be07a3c12 [2021-05-13T08:20:48.209Z] 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-13T08:20:50.048Z] $ docker rm -f 1f23e0bd101e4cdb599a0db42b4dc889bdfd6f2e888d8a9d21d8f41be07a3c12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:20:50.744Z] + docker inspect -f . ci-base-image-arm64 [2021-05-13T08:20:50.744Z] . [Pipeline] withDockerContainer [2021-05-13T08:20:51.000Z] prd-ubuntu18.04-docker-arm64-4c-16g-5072 does not seem to be running inside a container [2021-05-13T08:20:51.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-13T08:20:52.745Z] $ docker top 00f6906302efbbf62f4c41cd1bbf9d2a7be617294aab2eb7ca0ddfc1cd6dbd75 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T08:20:53.719Z] + go mod tidy [Pipeline] sh [2021-05-13T08:20:54.981Z] + make test [2021-05-13T08:20:54.981Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-13T08:21:06.819Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-13T08:21:06.819Z] Removing intermediate container 7871a759a041 [2021-05-13T08:21:06.819Z] ---> 2a298eac79b4 [2021-05-13T08:21:06.819Z] Step 10/23 : FROM alpine:3.12 [2021-05-13T08:21:07.091Z] 3.12: Pulling from library/alpine [2021-05-13T08:21:07.396Z] 339de151aab4: Pulling fs layer [2021-05-13T08:21:07.396Z] 339de151aab4: Verifying Checksum [2021-05-13T08:21:07.396Z] 339de151aab4: Download complete [2021-05-13T08:21:08.894Z] 339de151aab4: Pull complete [2021-05-13T08:21:08.894Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T08:21:08.894Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T08:21:08.894Z] ---> 13621d1b12d4 [2021-05-13T08:21:08.894Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:21:08.894Z] ---> Running in ddb3fce4ad4a [2021-05-13T08:21:09.170Z] Removing intermediate container ddb3fce4ad4a [2021-05-13T08:21:09.170Z] ---> 186dd94cffcb [2021-05-13T08:21:09.170Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:21:09.170Z] ---> Running in 81a63b759e93 [2021-05-13T08:21:11.333Z] Removing intermediate container 81a63b759e93 [2021-05-13T08:21:11.333Z] ---> a314e0cbb4ec [2021-05-13T08:21:11.333Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-13T08:21:11.333Z] ---> Running in 64da58f9bdc6 [2021-05-13T08:21:12.307Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-13T08:21:12.887Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-13T08:21:13.489Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-13T08:21:13.489Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-13T08:21:13.489Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-13T08:21:13.763Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-13T08:21:14.031Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-13T08:21:14.031Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T08:21:14.031Z] OK: 8 MiB in 19 packages [2021-05-13T08:21:14.611Z] Removing intermediate container 64da58f9bdc6 [2021-05-13T08:21:14.611Z] ---> cc5df09421f7 [2021-05-13T08:21:14.611Z] Step 14/23 : WORKDIR / [2021-05-13T08:21:14.874Z] ---> Running in 88b544ddebfe [2021-05-13T08:21:15.138Z] Removing intermediate container 88b544ddebfe [2021-05-13T08:21:15.138Z] ---> 5cec26d725fe [2021-05-13T08:21:15.138Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-13T08:21:15.433Z] ---> f99ab53f8d1b [2021-05-13T08:21:15.433Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-13T08:21:16.447Z] ---> 9050beaa4e39 [2021-05-13T08:21:16.447Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-13T08:21:16.727Z] ---> ba6af70f0d9a [2021-05-13T08:21:16.727Z] Step 18/23 : EXPOSE 49990 [2021-05-13T08:21:16.727Z] ---> Running in ef94913f4fa1 [2021-05-13T08:21:16.999Z] Removing intermediate container ef94913f4fa1 [2021-05-13T08:21:16.999Z] ---> 661d76bfc4a1 [2021-05-13T08:21:16.999Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-13T08:21:16.999Z] ---> Running in d7e9541da158 [2021-05-13T08:21:17.265Z] Removing intermediate container d7e9541da158 [2021-05-13T08:21:17.265Z] ---> 05156b61edbb [2021-05-13T08:21:17.265Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-13T08:21:17.265Z] ---> Running in c57ef30eac80 [2021-05-13T08:21:17.534Z] Removing intermediate container c57ef30eac80 [2021-05-13T08:21:17.534Z] ---> 31bf13e4828d [2021-05-13T08:21:17.534Z] Step 21/23 : LABEL arch=amd64 [2021-05-13T08:21:17.534Z] ---> Running in ed91ff787888 [2021-05-13T08:21:17.800Z] Removing intermediate container ed91ff787888 [2021-05-13T08:21:17.800Z] ---> 5f7647233871 [2021-05-13T08:21:17.800Z] Step 22/23 : LABEL git_sha=311f2bb00fb3e0fe2386e99dd9959fda52599076 [2021-05-13T08:21:18.069Z] ---> Running in 7be64888d602 [2021-05-13T08:21:18.337Z] Removing intermediate container 7be64888d602 [2021-05-13T08:21:18.337Z] ---> dc51ba0cf7df [2021-05-13T08:21:18.337Z] Step 23/23 : LABEL version=0.0.0 [2021-05-13T08:21:18.337Z] ---> Running in ba9fdec3426f [2021-05-13T08:21:18.612Z] Removing intermediate container ba9fdec3426f [2021-05-13T08:21:18.612Z] ---> 839123ff3593 [2021-05-13T08:21:18.612Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-13T08:21:18.612Z] Successfully built 839123ff3593 [2021-05-13T08:21:18.612Z] Successfully tagged 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-13T08:21:19.163Z] ---> job-cost.sh [2021-05-13T08:21:19.163Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LonP [2021-05-13T08:21:21.865Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-13T08:21:41.371Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T08:22:20.577Z] lf-activate-venv(): INFO: Adding /tmp/venv-LonP/bin to PATH [2021-05-13T08:22:20.577Z] INFO: No Stack... [2021-05-13T08:22:20.577Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T08:22:20.577Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T08:22:21.024Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-13T08:22:21.024Z] + cut -d, -f6 [Pipeline] lock [2021-05-13T08:22:21.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-927-2-stack-cost] [2021-05-13T08:22:21.277Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-927-2-stack-cost] did not exist. Created. [2021-05-13T08:22:21.278Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-927-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T08:22:21.802Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-13T08:22:21.952Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T08:22:21.982Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-927-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-13T08:22:30.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-13T08:22:30.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-13T08:22:30.518Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-13T08:22:40.715Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.416s coverage: 25.4% of statements [2021-05-13T08:22:40.715Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-13T08:22:40.715Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.246s coverage: 28.1% of statements [2021-05-13T08:22:40.715Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.220s coverage: 78.9% of statements [2021-05-13T08:22:40.715Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.208s coverage: 10.7% of statements [2021-05-13T08:22:40.715Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-13T08:22:40.715Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-13T08:22:40.715Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-13T08:22:43.363Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.302s coverage: 30.2% of statements [2021-05-13T08:22:43.363Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-13T08:22:43.640Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.196s coverage: 83.3% of statements [2021-05-13T08:22:43.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-13T08:22:43.641Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-13T08:22:44.272Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.332s coverage: 58.4% of statements [2021-05-13T08:22:48.616Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.121s coverage: 89.2% of statements [2021-05-13T08:22:48.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-13T08:22:48.617Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.185s coverage: 5.0% of statements [2021-05-13T08:22:48.617Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-13T08:22:48.617Z] GO111MODULE=on go vet ./... [2021-05-13T08:23:45.286Z] gofmt -l . [2021-05-13T08:23:45.286Z] [ "`gofmt -l .`" = "" ] [2021-05-13T08:23:45.286Z] ./bin/test-attribution-txt.sh [2021-05-13T08:23:47.267Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-13T08:23:47.566Z] $ docker stop --time=1 00f6906302efbbf62f4c41cd1bbf9d2a7be617294aab2eb7ca0ddfc1cd6dbd75 [2021-05-13T08:23:49.790Z] $ docker rm -f 00f6906302efbbf62f4c41cd1bbf9d2a7be617294aab2eb7ca0ddfc1cd6dbd75 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-13T08:23:50.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-13T08:23:50.989Z] Warning: overwriting stash ‘coverage-report’ [2021-05-13T08:23:52.024Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-13T08:23:52.506Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-13T08:23:52.916Z] + ls -al . [2021-05-13T08:23:52.916Z] total 248 [2021-05-13T08:23:52.916Z] drwxrwxr-x 10 jenkins jenkins 4096 May 13 08:23 . [2021-05-13T08:23:52.916Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 .. [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 08:19 .dockerignore [2021-05-13T08:23:52.916Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 08:19 .git [2021-05-13T08:23:52.916Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:19 .github [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 138 May 13 08:19 .gitignore [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 987 May 13 08:19 Dockerfile.build [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 894 May 13 08:19 Jenkinsfile [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 13 08:19 LICENSE [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 13 08:19 Makefile [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 13 08:19 README.md [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 13 08:19 RELEASE-NOTES.txt [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 08:16 VERSION [2021-05-13T08:23:52.916Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 08:19 bin [2021-05-13T08:23:52.916Z] -rw-r--r-- 1 jenkins jenkins 126002 May 13 08:22 coverage.out [2021-05-13T08:23:52.916Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:19 example [2021-05-13T08:23:52.916Z] -rw-r--r-- 1 jenkins jenkins 575 May 13 08:23 go.mod [2021-05-13T08:23:52.916Z] -rw-r--r-- 1 jenkins jenkins 20712 May 13 08:20 go.sum [2021-05-13T08:23:52.916Z] drwxrwxr-x 15 jenkins jenkins 4096 May 13 08:19 internal [2021-05-13T08:23:52.916Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 openapi [2021-05-13T08:23:52.916Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 08:19 pkg [2021-05-13T08:23:52.916Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 08:19 snap [2021-05-13T08:23:52.916Z] -rw-rw-r-- 1 jenkins jenkins 222 May 13 08:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:23:53.302Z] + docker build -t 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=311f2bb00fb3e0fe2386e99dd9959fda52599076 --label arch=arm64 --label version=0.0.0 . [2021-05-13T08:23:53.943Z] Sending build context to Docker daemon 2.69MB [2021-05-13T08:23:53.943Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-13T08:23:53.943Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-13T08:23:53.943Z] ---> 877d50b7c7c2 [2021-05-13T08:23:53.943Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-13T08:23:54.221Z] ---> Running in a10c92eabfde [2021-05-13T08:23:54.823Z] Removing intermediate container a10c92eabfde [2021-05-13T08:23:54.823Z] ---> e8a0cc8ea9fc [2021-05-13T08:23:54.823Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:23:54.823Z] ---> Running in 57ea7745f160 [2021-05-13T08:23:55.426Z] Removing intermediate container 57ea7745f160 [2021-05-13T08:23:55.426Z] ---> 9ce58216cacf [2021-05-13T08:23:55.426Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:23:55.426Z] ---> Running in 2092fe70b99c [2021-05-13T08:23:58.045Z] Removing intermediate container 2092fe70b99c [2021-05-13T08:23:58.045Z] ---> 30725879c0ef [2021-05-13T08:23:58.045Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-13T08:23:58.045Z] ---> Running in 883d243a7eaa [2021-05-13T08:23:59.024Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-13T08:24:00.003Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-13T08:24:01.004Z] OK: 139 MiB in 46 packages [2021-05-13T08:24:02.448Z] Removing intermediate container 883d243a7eaa [2021-05-13T08:24:02.448Z] ---> 02d68b62e860 [2021-05-13T08:24:02.448Z] Step 7/23 : COPY . . [2021-05-13T08:24:03.435Z] ---> 5f389443777f [2021-05-13T08:24:03.435Z] Step 8/23 : RUN go mod download [2021-05-13T08:24:03.708Z] ---> Running in 55734bcf0fbf [2021-05-13T08:24:06.337Z] Removing intermediate container 55734bcf0fbf [2021-05-13T08:24:06.337Z] ---> 57cbc1b3b83f [2021-05-13T08:24:06.337Z] Step 9/23 : RUN make build [2021-05-13T08:24:06.337Z] ---> Running in ae9f6924904e [2021-05-13T08:24:07.774Z] 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-13T08:24:47.379Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-13T08:24:47.978Z] Removing intermediate container ae9f6924904e [2021-05-13T08:24:47.978Z] ---> 4a0b630845f1 [2021-05-13T08:24:47.978Z] Step 10/23 : FROM alpine:3.12 [2021-05-13T08:24:48.572Z] 3.12: Pulling from library/alpine [2021-05-13T08:24:48.572Z] d2f70382dc9a: Pulling fs layer [2021-05-13T08:24:48.846Z] d2f70382dc9a: Verifying Checksum [2021-05-13T08:24:48.846Z] d2f70382dc9a: Download complete [2021-05-13T08:24:49.442Z] d2f70382dc9a: Pull complete [2021-05-13T08:24:49.442Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-13T08:24:49.442Z] Status: Downloaded newer image for alpine:3.12 [2021-05-13T08:24:49.442Z] ---> 9852663dfa18 [2021-05-13T08:24:49.442Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-13T08:24:49.715Z] ---> Running in bf7db04d7fbc [2021-05-13T08:24:49.989Z] Removing intermediate container bf7db04d7fbc [2021-05-13T08:24:49.989Z] ---> cc5f3e858320 [2021-05-13T08:24:49.989Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-13T08:24:50.262Z] ---> Running in 412c1ac04951 [2021-05-13T08:24:52.887Z] Removing intermediate container 412c1ac04951 [2021-05-13T08:24:52.887Z] ---> def9a7bcd060 [2021-05-13T08:24:52.887Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-13T08:24:52.887Z] ---> Running in d1b8ce4e050a [2021-05-13T08:24:53.880Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-13T08:24:54.493Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-13T08:24:55.475Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-13T08:24:55.475Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-13T08:24:55.475Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-13T08:24:56.067Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-13T08:24:56.067Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-13T08:24:56.341Z] Executing busybox-1.31.1-r20.trigger [2021-05-13T08:24:56.341Z] OK: 8 MiB in 19 packages [2021-05-13T08:24:57.798Z] Removing intermediate container d1b8ce4e050a [2021-05-13T08:24:57.798Z] ---> d3ae51fd982b [2021-05-13T08:24:57.798Z] Step 14/23 : WORKDIR / [2021-05-13T08:24:57.798Z] ---> Running in e03330bedb29 [2021-05-13T08:24:58.072Z] Removing intermediate container e03330bedb29 [2021-05-13T08:24:58.072Z] ---> b9f5f0255465 [2021-05-13T08:24:58.072Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-13T08:24:59.049Z] ---> e04f211d17cf [2021-05-13T08:24:59.049Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-13T08:25:00.481Z] ---> c6fe1f3b3340 [2021-05-13T08:25:00.481Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-13T08:25:01.077Z] ---> 4d91e7eec84e [2021-05-13T08:25:01.077Z] Step 18/23 : EXPOSE 49990 [2021-05-13T08:25:01.077Z] ---> Running in 84b27adfc79c [2021-05-13T08:25:01.671Z] Removing intermediate container 84b27adfc79c [2021-05-13T08:25:01.671Z] ---> 4a504774739b [2021-05-13T08:25:01.671Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-13T08:25:01.947Z] ---> Running in 49999f65f47b [2021-05-13T08:25:02.220Z] Removing intermediate container 49999f65f47b [2021-05-13T08:25:02.220Z] ---> 2a8b65211ae3 [2021-05-13T08:25:02.220Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-13T08:25:02.493Z] ---> Running in aeb607294299 [2021-05-13T08:25:03.089Z] Removing intermediate container aeb607294299 [2021-05-13T08:25:03.089Z] ---> e5b09383ea2c [2021-05-13T08:25:03.089Z] Step 21/23 : LABEL arch=arm64 [2021-05-13T08:25:03.089Z] ---> Running in 10a55f80b925 [2021-05-13T08:25:03.688Z] Removing intermediate container 10a55f80b925 [2021-05-13T08:25:03.688Z] ---> 93afcf2ba740 [2021-05-13T08:25:03.688Z] Step 22/23 : LABEL git_sha=311f2bb00fb3e0fe2386e99dd9959fda52599076 [2021-05-13T08:25:03.688Z] ---> Running in e7dfa5a60965 [2021-05-13T08:25:04.283Z] Removing intermediate container e7dfa5a60965 [2021-05-13T08:25:04.283Z] ---> 4da13ac59948 [2021-05-13T08:25:04.283Z] Step 23/23 : LABEL version=0.0.0 [2021-05-13T08:25:04.283Z] ---> Running in d2688edd6ccb [2021-05-13T08:25:04.880Z] Removing intermediate container d2688edd6ccb [2021-05-13T08:25:04.880Z] ---> b02674f18983 [2021-05-13T08:25:04.880Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-13T08:25:04.880Z] Successfully built b02674f18983 [2021-05-13T08:25:04.880Z] Successfully tagged 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-13T08:25:05.343Z] ---> job-cost.sh [2021-05-13T08:25:05.343Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-IxmV [2021-05-13T08:25:52.284Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-13T08:27:44.101Z] lf-activate-venv(): INFO: Adding /tmp/venv-IxmV/bin to PATH [2021-05-13T08:27:44.101Z] INFO: No Stack... [2021-05-13T08:27:44.101Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-13T08:27:44.101Z] INFO: Archiving Costs [Pipeline] sh [2021-05-13T08:27:44.480Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-05-13T08:27:44.480Z] + cut -d, -f6 [Pipeline] lock [2021-05-13T08:27:44.599Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-927-2-stack-cost] [2021-05-13T08:27:44.614Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-927-2-stack-cost] did not exist. Created. [2021-05-13T08:27:44.615Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-927-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-13T08:27:45.005Z] /w/workspace/device-sdk-go/2@tmp/durable-40ea6475/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-40ea6475/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-13T08:27:45.369Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-13T08:27:45.402Z] Warning: overwriting stash ‘stack-cost’ [2021-05-13T08:27:45.572Z] Stashed 1 file(s) [Pipeline] } [2021-05-13T08:27:45.579Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-927-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2021-05-13T08:27:46.004Z] provisioning config files... [2021-05-13T08:27:46.023Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config7025293747785141810tmp [Pipeline] { [Pipeline] sh [2021-05-13T08:27:46.368Z] + set +x [2021-05-13T08:27:46.368Z] + curl -s https://codecov.io/bash [2021-05-13T08:27:46.368Z] + bash -s -- [2021-05-13T08:27:46.633Z] [2021-05-13T08:27:46.633Z] _____ _ [2021-05-13T08:27:46.633Z] / ____| | | [2021-05-13T08:27:46.633Z] | | ___ __| | ___ ___ _____ __ [2021-05-13T08:27:46.633Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-13T08:27:46.633Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-13T08:27:46.633Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-13T08:27:46.633Z] Bash-1.0.2 [2021-05-13T08:27:46.633Z] [2021-05-13T08:27:46.633Z] [2021-05-13T08:27:46.633Z] ==> git version 2.24.3 found [2021-05-13T08:27:46.633Z] ==> 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-13T08:27:46.633Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-13T08:27:46.633Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-13T08:27:46.633Z] ==> Jenkins CI detected. [2021-05-13T08:27:46.633Z] project root: . [2021-05-13T08:27:46.633Z] --> token set from env [2021-05-13T08:27:46.633Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-13T08:27:46.633Z] ==> Running gcov in . (disable via -X gcov) [2021-05-13T08:27:46.633Z] ==> Python coveragepy not found [2021-05-13T08:27:46.633Z] ==> Searching for coverage reports in: [2021-05-13T08:27:46.633Z] + . [2021-05-13T08:27:46.633Z] -> Found 1 reports [2021-05-13T08:27:46.633Z] ==> Detecting git/mercurial file structure [2021-05-13T08:27:46.633Z] ==> Reading reports [2021-05-13T08:27:46.633Z] + ./coverage.out bytes=126002 [2021-05-13T08:27:46.633Z] ==> Appending adjustments [2021-05-13T08:27:46.633Z] https://docs.codecov.io/docs/fixing-reports [2021-05-13T08:27:46.899Z] + Found adjustments [2021-05-13T08:27:47.162Z] ==> Gzipping contents [2021-05-13T08:27:47.162Z] 20K /tmp/codecov.fOsTXd.gz [2021-05-13T08:27:47.162Z] ==> Uploading reports [2021-05-13T08:27:47.162Z] url: https://codecov.io [2021-05-13T08:27:47.162Z] query: branch=PR-927&commit=311f2bb00fb3e0fe2386e99dd9959fda52599076&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-927%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=927&job=&cmd_args= [2021-05-13T08:27:47.162Z] -> Pinging Codecov [2021-05-13T08:27:47.162Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-927&commit=311f2bb00fb3e0fe2386e99dd9959fda52599076&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-927%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=927&job=&cmd_args= [2021-05-13T08:27:47.745Z] -> Uploading to [2021-05-13T08:27:47.745Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-13/7E55EF52A471D76F132DFD9A03CDDE97/311f2bb00fb3e0fe2386e99dd9959fda52599076/64ffa5bc-4f48-4f8f-b254-8b102db24dee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210513T082747Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c628e44f1d0b7c0df08d07a0d46d850f1ba5e5655b789e5d78607133c273bf99 [2021-05-13T08:27:47.745Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-13T08:27:47.745Z] Dload Upload Total Spent Left Speed [2021-05-13T08:27:48.347Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16456 0 0 100 16456 0 27553 --:--:-- --:--:-- --:--:-- 27518 100 16456 0 0 100 16456 0 27546 --:--:-- --:--:-- --:--:-- 27518 [2021-05-13T08:27:48.347Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/311f2bb00fb3e0fe2386e99dd9959fda52599076 [Pipeline] } [2021-05-13T08:27:48.376Z] 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-13T08:27:49.520Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:27:50.165Z] ---> package-listing.sh [2021-05-13T08:27:50.165Z] ++ facter osfamily [2021-05-13T08:27:50.165Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-13T08:27:50.165Z] + OS_FAMILY=redhat [2021-05-13T08:27:50.165Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-927 [2021-05-13T08:27:50.165Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-13T08:27:50.165Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-13T08:27:50.165Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-13T08:27:50.165Z] + PACKAGES=/tmp/packages_start.txt [2021-05-13T08:27:50.165Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-927 ']' [2021-05-13T08:27:50.165Z] + PACKAGES=/tmp/packages_end.txt [2021-05-13T08:27:50.165Z] + case "${OS_FAMILY}" in [2021-05-13T08:27:50.165Z] + rpm -qa [2021-05-13T08:27:50.165Z] + sort [2021-05-13T08:27:55.485Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-13T08:27:55.485Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-13T08:27:55.485Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-13T08:27:55.485Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-927 ']' [2021-05-13T08:27:55.485Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-927/archives/ [2021-05-13T08:27:55.485Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-927/archives/ [Pipeline] echo [2021-05-13T08:27:55.499Z] 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-927/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-13T08:27:55.791Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:27:56.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T08:27:56.097Z] [2021-05-13T08:27:56.097Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-13T08:27:56.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T08:27:56.419Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-13T08:27:56.419Z] df20fa9351a1: Pulling fs layer [2021-05-13T08:27:56.419Z] 36b3adc4ff6f: Pulling fs layer [2021-05-13T08:27:56.419Z] 8ad3a11d3b57: Pulling fs layer [2021-05-13T08:27:56.419Z] 46f8f816bc3b: Pulling fs layer [2021-05-13T08:27:56.419Z] 93b61091891f: Pulling fs layer [2021-05-13T08:27:56.419Z] 93b9cdb0e59b: Pulling fs layer [2021-05-13T08:27:56.419Z] 5e14af77c1be: Pulling fs layer [2021-05-13T08:27:56.419Z] 01666e4c0597: Pulling fs layer [2021-05-13T08:27:56.419Z] aa168da1d23b: Pulling fs layer [2021-05-13T08:27:56.419Z] 46f8f816bc3b: Waiting [2021-05-13T08:27:56.419Z] 93b61091891f: Waiting [2021-05-13T08:27:56.419Z] 5e14af77c1be: Waiting [2021-05-13T08:27:56.419Z] 93b9cdb0e59b: Waiting [2021-05-13T08:27:56.419Z] 01666e4c0597: Waiting [2021-05-13T08:27:56.419Z] aa168da1d23b: Waiting [2021-05-13T08:27:56.419Z] 36b3adc4ff6f: Verifying Checksum [2021-05-13T08:27:56.419Z] 36b3adc4ff6f: Download complete [2021-05-13T08:27:56.419Z] 46f8f816bc3b: Download complete [2021-05-13T08:27:56.419Z] df20fa9351a1: Verifying Checksum [2021-05-13T08:27:56.419Z] df20fa9351a1: Download complete [2021-05-13T08:27:56.419Z] 93b9cdb0e59b: Download complete [2021-05-13T08:27:56.419Z] 5e14af77c1be: Verifying Checksum [2021-05-13T08:27:56.419Z] 5e14af77c1be: Download complete [2021-05-13T08:27:56.681Z] 93b61091891f: Download complete [2021-05-13T08:27:56.681Z] 01666e4c0597: Verifying Checksum [2021-05-13T08:27:56.681Z] 01666e4c0597: Download complete [2021-05-13T08:27:56.944Z] 8ad3a11d3b57: Verifying Checksum [2021-05-13T08:27:56.944Z] 8ad3a11d3b57: Download complete [2021-05-13T08:27:57.218Z] df20fa9351a1: Pull complete [2021-05-13T08:27:57.485Z] 36b3adc4ff6f: Pull complete [2021-05-13T08:27:58.593Z] 8ad3a11d3b57: Pull complete [2021-05-13T08:27:58.593Z] 46f8f816bc3b: Pull complete [2021-05-13T08:27:58.866Z] aa168da1d23b: Verifying Checksum [2021-05-13T08:27:58.866Z] aa168da1d23b: Download complete [2021-05-13T08:27:59.128Z] 93b61091891f: Pull complete [2021-05-13T08:27:59.128Z] 93b9cdb0e59b: Pull complete [2021-05-13T08:27:59.128Z] 5e14af77c1be: Pull complete [2021-05-13T08:27:59.395Z] 01666e4c0597: Pull complete [2021-05-13T08:28:07.595Z] aa168da1d23b: Pull complete [2021-05-13T08:28:07.595Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-13T08:28:07.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-13T08:28:07.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-13T08:28:07.789Z] prd-centos7-docker-4c-2g-5061 does not seem to be running inside a container [2021-05-13T08:28:07.844Z] $ 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-927/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-927 -v /w/workspace/dgexfoundry_device-sdk-go_PR-927:/w/workspace/dgexfoundry_device-sdk-go_PR-927:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-927@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-13T08:28:11.540Z] $ docker top fdf94dbf8488b5e7085f22aff5cad8e312aa199c79fba9a1ba0ae9a700a6ddf4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-13T08:28:12.059Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-13T08:28:12.391Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-13T08:28:12.703Z] + ls /var/log/sa-host [2021-05-13T08:28:12.703Z] + sadf -c /var/log/sa-host/sa13 [2021-05-13T08:28:12.703Z] file_magic: OK [2021-05-13T08:28:12.703Z] HZ: Using current value: 100 [2021-05-13T08:28:12.703Z] file_header: OK [2021-05-13T08:28:12.703Z] 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-13T08:28:12.703Z] Statistics: [2021-05-13T08:28:12.703Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-13T08:28:12.703Z] File successfully converted to sysstat format version 12.2.1 [2021-05-13T08:28:12.703Z] + sadf -c /var/log/sa-host/sa23 [2021-05-13T08:28:12.703Z] file_magic: OK [2021-05-13T08:28:12.703Z] HZ: Using current value: 100 [2021-05-13T08:28:12.703Z] file_header: OK [2021-05-13T08:28:12.703Z] 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-13T08:28:12.703Z] Statistics: [2021-05-13T08:28:12.703Z] Hnuu...uuuununununu... [2021-05-13T08:28:12.703Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-13T08:28:12.894Z] provisioning config files... [2021-05-13T08:28:12.909Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-927@tmp/config1394134872572039672tmp [Pipeline] { [Pipeline] echo [2021-05-13T08:28:12.932Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:13.230Z] ---> create-netrc.sh [Pipeline] } [2021-05-13T08:28:13.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-13T08:28:13.270Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:13.570Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-13T08:28:13.585Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:14.156Z] ---> sudo-logs.sh [2021-05-13T08:28:14.156Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-13T08:28:14.203Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:14.506Z] ---> job-cost.sh [2021-05-13T08:28:14.506Z] lf-activate-venv: SKIPPING [2021-05-13T08:28:14.506Z] DEBUG: total: 0.20999999344348907 [2021-05-13T08:28:14.506Z] INFO: Retrieving Stack Cost... [2021-05-13T08:28:15.527Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-13T08:28:15.806Z] INFO: Archiving Costs [Pipeline] echo [2021-05-13T08:28:15.834Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-13T08:28:16.170Z] ---> logs-deploy.sh [2021-05-13T08:28:16.170Z] lf-activate-venv: SKIPPING [2021-05-13T08:28:16.170Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-927/2 [2021-05-13T08:28:16.170Z] INFO: archiving workspace using pattern(s): [2021-05-13T08:28:18.094Z] Archives upload complete. [2021-05-13T08:28:18.094Z] INFO: archiving logs to Nexus