Pull request #919 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ba9182f884d787fcb5b7c5631719d30bf142a80c+6cc4c25230d964bbb6ccd74e42769d1c7a10d9be (e586d8be7bf661cff69873bfbf2b25220d530510) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-919/workspace@libs/edgex-global-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-919/workspace@libs/lf-pipelines # timeout=10 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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4320’ Running on prd-centos7-docker-4c-2g-4328 in /w/workspace/dgexfoundry_device-sdk-go_PR-919 [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-919 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ba9182f884d787fcb5b7c5631719d30bf142a80c Merge succeeded, producing ba9182f884d787fcb5b7c5631719d30bf142a80c Checking out Revision ba9182f884d787fcb5b7c5631719d30bf142a80c (PR-919) > 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/919/head:refs/remotes/origin/PR-919 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-11T05:17:16.807Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-11T05:17:17.010Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-11T05:17:17.126Z] ========================================================= [2021-05-11T05:17:17.126Z] EdgeX Global Pipelines Version Info [2021-05-11T05:17:17.126Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:17:18.738Z] ------------------- [2021-05-11T05:17:18.738Z] stable info: [2021-05-11T05:17:18.738Z] ------------------- [2021-05-11T05:17:18.738Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-11T05:17:18.738Z] Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd [2021-05-11T05:17:18.738Z] Message: update stable to v1.0.191 [2021-05-11T05:17:19.687Z] ------------------- [2021-05-11T05:17:19.687Z] experimental info: [2021-05-11T05:17:19.687Z] ------------------- [2021-05-11T05:17:19.687Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-11T05:17:19.687Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-11T05:17:19.687Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-11T05:17:19.904Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-11T05:17:19.963Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-11T05:17:20.019Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-11T05:17:20.084Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-11T05:17:20.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-11T05:17:20.201Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-11T05:17:20.254Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-11T05:17:20.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-11T05:17:20.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-11T05:17:20.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-11T05:17:20.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-11T05:17:20.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo [2021-05-11T05:17:20.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-11T05:17:20.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-11T05:17:20.701Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-11T05:17:20.754Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T05:17:20.811Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T05:17:20.863Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-11T05:17:20.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-11T05:17:20.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-11T05:17:21.029Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-11T05:17:21.086Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-11T05:17:21.145Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-11T05:17:21.199Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-11T05:17:21.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-11T05:17:21.310Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-11T05:17:21.362Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-919 [Pipeline] echo [2021-05-11T05:17:21.430Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-919 [Pipeline] echo [2021-05-11T05:17:21.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-919 [Pipeline] echo [2021-05-11T05:17:21.547Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba9182f884d787fcb5b7c5631719d30bf142a80c [Pipeline] echo [2021-05-11T05:17:21.610Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba9182f [Pipeline] echo [2021-05-11T05:17:21.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T05:17:21.832Z] provisioning config files... [2021-05-11T05:17:21.869Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/config2014287651025821466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:17:22.294Z] ---> docker-login.sh [2021-05-11T05:17:22.294Z] nexus3.edgexfoundry.org:10001 [2021-05-11T05:17:22.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:22.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:22.823Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:22.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:22.823Z] [2021-05-11T05:17:22.823Z] Login Succeeded [2021-05-11T05:17:22.823Z] nexus3.edgexfoundry.org:10002 [2021-05-11T05:17:22.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:22.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:22.823Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:22.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:22.823Z] [2021-05-11T05:17:22.823Z] Login Succeeded [2021-05-11T05:17:22.823Z] nexus3.edgexfoundry.org:10003 [2021-05-11T05:17:23.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:23.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:23.091Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:23.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:23.091Z] [2021-05-11T05:17:23.091Z] Login Succeeded [2021-05-11T05:17:23.091Z] nexus3.edgexfoundry.org:10004 [2021-05-11T05:17:23.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:23.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:23.355Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:23.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:23.355Z] [2021-05-11T05:17:23.355Z] Login Succeeded [2021-05-11T05:17:23.355Z] docker.io [2021-05-11T05:17:23.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:17:23.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:17:23.617Z] Configure a credential helper to remove this warning. See [2021-05-11T05:17:23.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:17:23.617Z] [2021-05-11T05:17:23.617Z] Login Succeeded [2021-05-11T05:17:23.617Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T05:17:23.639Z] 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-11T05:17:24.427Z] + git log --format=format:%s -1 ba9182f884d787fcb5b7c5631719d30bf142a80c [Pipeline] echo [2021-05-11T05:17:24.530Z] GIT_COMMIT: ba9182f884d787fcb5b7c5631719d30bf142a80c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo [2021-05-11T05:17:24.569Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:17:25.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T05:17:25.194Z] [2021-05-11T05:17:25.194Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:17:25.558Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T05:17:25.558Z] latest: Pulling from edgex-devops/git-semver [2021-05-11T05:17:25.558Z] 31603596830f: Pulling fs layer [2021-05-11T05:17:25.558Z] 54011a49482f: Pulling fs layer [2021-05-11T05:17:25.558Z] a6820b24f6d8: Pulling fs layer [2021-05-11T05:17:25.558Z] f581987b2513: Pulling fs layer [2021-05-11T05:17:25.558Z] f581987b2513: Waiting [2021-05-11T05:17:25.558Z] 54011a49482f: Verifying Checksum [2021-05-11T05:17:25.558Z] 54011a49482f: Download complete [2021-05-11T05:17:25.558Z] 31603596830f: Download complete [2021-05-11T05:17:25.823Z] a6820b24f6d8: Verifying Checksum [2021-05-11T05:17:25.823Z] a6820b24f6d8: Download complete [2021-05-11T05:17:25.823Z] f581987b2513: Verifying Checksum [2021-05-11T05:17:25.823Z] f581987b2513: Download complete [2021-05-11T05:17:26.085Z] 31603596830f: Pull complete [2021-05-11T05:17:26.086Z] 54011a49482f: Pull complete [2021-05-11T05:17:27.034Z] a6820b24f6d8: Pull complete [2021-05-11T05:17:27.299Z] f581987b2513: Pull complete [2021-05-11T05:17:27.299Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-11T05:17:27.299Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-11T05:17:27.299Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-11T05:17:27.437Z] prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container [2021-05-11T05:17:27.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-919 -v /w/workspace/dgexfoundry_device-sdk-go_PR-919:/w/workspace/dgexfoundry_device-sdk-go_PR-919:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-919@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-05-11T05:17:29.495Z] $ docker top 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-11T05:17:29.728Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T05:17:29.728Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T05:17:29.953Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T05:17:29.957Z] $ docker exec 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f ssh-agent [2021-05-11T05:17:30.139Z] SSH_AUTH_SOCK=/tmp/ssh-F2skTc0sw9fy/agent.12 [2021-05-11T05:17:30.139Z] SSH_AGENT_PID=17 [2021-05-11T05:17:30.150Z] Running ssh-add (command line suppressed) [2021-05-11T05:17:30.273Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/private_key_1016353322500643492.key (/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/private_key_1016353322500643492.key) [2021-05-11T05:17:30.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T05:17:30.673Z] + git tag --points-at HEAD [Pipeline] } [2021-05-11T05:17:30.703Z] $ docker exec --env ******** --env ******** 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f ssh-agent -k [2021-05-11T05:17:30.825Z] unset SSH_AUTH_SOCK; [2021-05-11T05:17:30.825Z] unset SSH_AGENT_PID; [2021-05-11T05:17:30.825Z] echo Agent pid 17 killed; [2021-05-11T05:17:30.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-11T05:17:30.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-11T05:17:30.971Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-11T05:17:31.153Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-11T05:17:31.156Z] $ docker exec 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f ssh-agent [2021-05-11T05:17:31.319Z] SSH_AUTH_SOCK=/tmp/ssh-lNIGtyQPjHIt/agent.46 [2021-05-11T05:17:31.319Z] SSH_AGENT_PID=51 [2021-05-11T05:17:31.327Z] Running ssh-add (command line suppressed) [2021-05-11T05:17:31.451Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/private_key_6658063208850522085.key (/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/private_key_6658063208850522085.key) [2021-05-11T05:17:31.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-11T05:17:31.855Z] + git semver init [2021-05-11T05:17:31.855Z] # -> Open(): unable to determine branch for HEAD [2021-05-11T05:17:31.855Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-919/.git [2021-05-11T05:17:31.855Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-919 [2021-05-11T05:17:31.855Z] # $SEMVER_REMOTE_NAME = origin [2021-05-11T05:17:31.855Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-11T05:17:31.855Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-11T05:17:31.855Z] # $SEMVER_BRANCH = PR-919 [2021-05-11T05:17:31.855Z] # $SEMVER_TEMP = /tmp/semver-769824254 [2021-05-11T05:17:31.855Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-11T05:17:32.805Z] # '/tmp/semver-769824254' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-919/.semver' [2021-05-11T05:17:32.805Z] # -> Force: false [2021-05-11T05:17:32.805Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-919/.semver [Pipeline] } [2021-05-11T05:17:32.827Z] $ docker exec --env ******** --env ******** 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f ssh-agent -k [2021-05-11T05:17:32.946Z] unset SSH_AUTH_SOCK; [2021-05-11T05:17:32.947Z] unset SSH_AGENT_PID; [2021-05-11T05:17:32.947Z] echo Agent pid 51 killed; [2021-05-11T05:17:33.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-11T05:17:33.463Z] + git semver [Pipeline] } [2021-05-11T05:17:33.492Z] $ docker stop --time=1 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f [2021-05-11T05:17:35.202Z] $ docker rm -f 7ba6b994645492d28ebae240019e082093359a843dc25ba2668ed4d3773de62f [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T05:17:35.714Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-11T05:17:36.188Z] Stashed 1 file(s) [Pipeline] echo [2021-05-11T05:17:36.212Z] [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-11T05:17:51.698Z] Still waiting to schedule task [2021-05-11T05:17:51.698Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-11T05:17:51.727Z] Still waiting to schedule task [2021-05-11T05:17:51.727Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-05-11T05:19:12.209Z] Running on prd-centos7-docker-4c-2g-4331 in /w/workspace/dgexfoundry_device-sdk-go_PR-919 [Pipeline] { [Pipeline] ws [2021-05-11T05:19:12.271Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T05:19:15.189Z] using credential edgex-jenkins-ssh [2021-05-11T05:19:15.206Z] Cloning the remote Git repository [2021-05-11T05:19:15.237Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:19:15.316Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-11T05:19:15.386Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:19:15.386Z] > git --version # timeout=10 [2021-05-11T05:19:15.393Z] > git --version # 'git version 2.24.3' [2021-05-11T05:19:15.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:19:15.423Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T05:19:16.916Z] Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ba9182f884d787fcb5b7c5631719d30bf142a80c [2021-05-11T05:19:17.009Z] Merge succeeded, producing ba9182f884d787fcb5b7c5631719d30bf142a80c [2021-05-11T05:19:17.009Z] Checking out Revision ba9182f884d787fcb5b7c5631719d30bf142a80c (PR-919) [2021-05-11T05:19:16.408Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T05:19:16.416Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T05:19:16.484Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T05:19:16.517Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:19:16.518Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:19:16.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/919/head:refs/remotes/origin/PR-919 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T05:19:16.926Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T05:19:16.931Z] > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 [2021-05-11T05:19:16.979Z] > git remote # timeout=10 [2021-05-11T05:19:16.985Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T05:19:16.990Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:19:16.994Z] > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 [2021-05-11T05:19:17.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T05:19:17.014Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T05:19:17.022Z] > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 [2021-05-11T05:19:20.809Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-05-11T05:19:20.837Z] > git --version # timeout=10 [2021-05-11T05:19:20.843Z] > git --version # 'git version 2.24.3' [2021-05-11T05:19:20.850Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T05:19:21.950Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-11T05:19:22.309Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T05:19:22.629Z] + sudo service docker restart [2021-05-11T05:19:22.629Z] + true [2021-05-11T05:19:22.629Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T05:19:23.685Z] provisioning config files... [2021-05-11T05:19:23.715Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6001983576004793424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:19:24.100Z] ---> docker-login.sh [2021-05-11T05:19:24.100Z] nexus3.edgexfoundry.org:10001 [2021-05-11T05:19:24.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:19:24.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:19:24.364Z] Configure a credential helper to remove this warning. See [2021-05-11T05:19:24.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:19:24.364Z] [2021-05-11T05:19:24.364Z] Login Succeeded [2021-05-11T05:19:24.364Z] nexus3.edgexfoundry.org:10002 [2021-05-11T05:19:24.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:19:24.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:19:24.627Z] Configure a credential helper to remove this warning. See [2021-05-11T05:19:24.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:19:24.627Z] [2021-05-11T05:19:24.627Z] Login Succeeded [2021-05-11T05:19:24.627Z] nexus3.edgexfoundry.org:10003 [2021-05-11T05:19:24.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:19:24.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:19:24.891Z] Configure a credential helper to remove this warning. See [2021-05-11T05:19:24.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:19:24.891Z] [2021-05-11T05:19:24.891Z] Login Succeeded [2021-05-11T05:19:24.891Z] nexus3.edgexfoundry.org:10004 [2021-05-11T05:19:24.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:19:25.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:19:25.156Z] Configure a credential helper to remove this warning. See [2021-05-11T05:19:25.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:19:25.156Z] [2021-05-11T05:19:25.156Z] Login Succeeded [2021-05-11T05:19:25.156Z] docker.io [2021-05-11T05:19:25.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:19:25.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:19:25.418Z] Configure a credential helper to remove this warning. See [2021-05-11T05:19:25.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:19:25.418Z] [2021-05-11T05:19:25.418Z] Login Succeeded [2021-05-11T05:19:25.418Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T05:19:25.445Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-11T05:19:25.735Z] ========================================================= [2021-05-11T05:19:25.735Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-11T05:19:25.735Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:19:26.080Z] + 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-11T05:19:26.080Z] Sending build context to Docker daemon 2.542MB [2021-05-11T05:19:26.080Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T05:19:26.080Z] Step 2/8 : FROM ${BASE} [2021-05-11T05:19:26.343Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-11T05:19:26.343Z] 540db60ca938: Pulling fs layer [2021-05-11T05:19:26.343Z] adcc1eea9eea: Pulling fs layer [2021-05-11T05:19:26.343Z] 4c4ab2625f07: Pulling fs layer [2021-05-11T05:19:26.343Z] 0510c868ecb4: Pulling fs layer [2021-05-11T05:19:26.343Z] afea3b2eda06: Pulling fs layer [2021-05-11T05:19:26.343Z] 7809a108b3ef: Pulling fs layer [2021-05-11T05:19:26.343Z] f706445af74f: Pulling fs layer [2021-05-11T05:19:26.343Z] afea3b2eda06: Waiting [2021-05-11T05:19:26.343Z] 7809a108b3ef: Waiting [2021-05-11T05:19:26.343Z] f706445af74f: Waiting [2021-05-11T05:19:26.343Z] 0510c868ecb4: Waiting [2021-05-11T05:19:26.343Z] 4c4ab2625f07: Verifying Checksum [2021-05-11T05:19:26.343Z] 4c4ab2625f07: Download complete [2021-05-11T05:19:26.343Z] adcc1eea9eea: Verifying Checksum [2021-05-11T05:19:26.343Z] adcc1eea9eea: Download complete [2021-05-11T05:19:26.343Z] afea3b2eda06: Verifying Checksum [2021-05-11T05:19:26.343Z] afea3b2eda06: Download complete [2021-05-11T05:19:26.343Z] 7809a108b3ef: Verifying Checksum [2021-05-11T05:19:26.343Z] 7809a108b3ef: Download complete [2021-05-11T05:19:26.343Z] 540db60ca938: Verifying Checksum [2021-05-11T05:19:26.343Z] 540db60ca938: Download complete [2021-05-11T05:19:26.609Z] 540db60ca938: Pull complete [2021-05-11T05:19:26.876Z] adcc1eea9eea: Pull complete [2021-05-11T05:19:26.876Z] 4c4ab2625f07: Pull complete [2021-05-11T05:19:27.845Z] f706445af74f: Verifying Checksum [2021-05-11T05:19:27.846Z] f706445af74f: Download complete [2021-05-11T05:19:28.798Z] 0510c868ecb4: Download complete [2021-05-11T05:19:35.451Z] 0510c868ecb4: Pull complete [2021-05-11T05:19:35.451Z] afea3b2eda06: Pull complete [2021-05-11T05:19:35.451Z] 7809a108b3ef: Pull complete [2021-05-11T05:19:39.709Z] f706445af74f: Pull complete [2021-05-11T05:19:39.709Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-11T05:19:39.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-11T05:19:39.709Z] ---> b068be0155e3 [2021-05-11T05:19:39.709Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:19:39.709Z] ---> Running in 49b3eba2cc36 [2021-05-11T05:19:39.709Z] Removing intermediate container 49b3eba2cc36 [2021-05-11T05:19:39.709Z] ---> f326a9620faf [2021-05-11T05:19:39.709Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:19:39.978Z] ---> Running in 0320f4b1cb73 [2021-05-11T05:19:41.393Z] Removing intermediate container 0320f4b1cb73 [2021-05-11T05:19:41.393Z] ---> 5c00475ad724 [2021-05-11T05:19:41.393Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T05:19:41.393Z] ---> Running in ff3d370e4648 [2021-05-11T05:19:41.656Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T05:19:43.584Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T05:19:44.532Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T05:19:44.794Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T05:19:45.056Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T05:19:45.056Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T05:19:45.325Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T05:19:45.587Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T05:19:45.850Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T05:19:45.850Z] OK: 150 MiB in 46 packages [2021-05-11T05:19:46.427Z] Removing intermediate container ff3d370e4648 [2021-05-11T05:19:46.427Z] ---> 8b9910a69454 [2021-05-11T05:19:46.427Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T05:19:46.427Z] ---> Running in 6f9805570f5e [2021-05-11T05:19:46.691Z] Removing intermediate container 6f9805570f5e [2021-05-11T05:19:46.691Z] ---> 782df358c74b [2021-05-11T05:19:46.691Z] Step 7/8 : COPY . . [2021-05-11T05:19:48.086Z] ---> 37915e0971a7 [2021-05-11T05:19:48.086Z] Step 8/8 : RUN go mod download [2021-05-11T05:19:48.086Z] ---> Running in 5023a775f1a8 [2021-05-11T05:20:14.787Z] Removing intermediate container 5023a775f1a8 [2021-05-11T05:20:14.787Z] ---> 48eb58ee149f [2021-05-11T05:20:14.787Z] Successfully built 48eb58ee149f [2021-05-11T05:20:14.787Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:20:15.150Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T05:20:15.150Z] . [Pipeline] withDockerContainer [2021-05-11T05:20:15.326Z] prd-centos7-docker-4c-2g-4331 does not seem to be running inside a container [2021-05-11T05:20:15.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-05-11T05:20:16.347Z] $ docker top 1458a7085b5e8bcf781b35461c355a66a7b6f87890a26581709a7925d81d03c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:20:16.854Z] + go version [2021-05-11T05:20:16.854Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-11T05:20:16.885Z] $ docker stop --time=1 1458a7085b5e8bcf781b35461c355a66a7b6f87890a26581709a7925d81d03c5 [2021-05-11T05:20:18.279Z] $ docker rm -f 1458a7085b5e8bcf781b35461c355a66a7b6f87890a26581709a7925d81d03c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:20:19.069Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-11T05:20:19.069Z] . [Pipeline] withDockerContainer [2021-05-11T05:20:19.210Z] prd-centos7-docker-4c-2g-4331 does not seem to be running inside a container [2021-05-11T05:20:19.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-05-11T05:20:19.997Z] $ docker top e22d2cd997573a7850a4108928251977a5160f967a5f764e30b5d0c21606f8fb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:20:20.464Z] + go mod tidy [Pipeline] sh [2021-05-11T05:20:21.392Z] + make test [2021-05-11T05:20:21.392Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T05:20:31.637Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T05:20:59.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T05:20:59.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T05:20:59.289Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T05:21:03.601Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.097s coverage: 25.4% of statements [2021-05-11T05:21:03.601Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T05:21:03.601Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.095s coverage: 28.1% of statements [2021-05-11T05:21:04.205Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.115s coverage: 78.9% of statements [2021-05-11T05:21:04.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.128s coverage: 10.7% of statements [2021-05-11T05:21:04.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T05:21:04.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T05:21:04.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T05:21:05.476Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.105s coverage: 30.2% of statements [2021-05-11T05:21:05.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T05:21:05.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-11T05:21:05.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T05:21:05.476Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T05:21:05.752Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.156s coverage: 58.4% of statements [2021-05-11T05:21:07.711Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.280s coverage: 89.2% of statements [2021-05-11T05:21:07.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T05:21:07.711Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 5.0% of statements [2021-05-11T05:21:07.711Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T05:21:07.711Z] GO111MODULE=on go vet ./... [2021-05-11T05:21:13.510Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4336 in /w/workspace/dgexfoundry_device-sdk-go_PR-919 [Pipeline] { [Pipeline] ws [2021-05-11T05:21:13.570Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-11T05:21:19.179Z] using credential edgex-jenkins-ssh [2021-05-11T05:21:19.195Z] Cloning the remote Git repository [2021-05-11T05:21:19.258Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:21:19.352Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-11T05:21:19.445Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:21:19.447Z] > git --version # timeout=10 [2021-05-11T05:21:19.467Z] > git --version # 'git version 2.17.1' [2021-05-11T05:21:19.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:21:19.556Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T05:21:20.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T05:21:20.747Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-11T05:21:20.772Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-11T05:21:20.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-11T05:21:20.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:21:20.814Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/919/head:refs/remotes/origin/PR-919 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-11T05:21:21.290Z] Merging remotes/origin/master commit 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be into PR head commit ba9182f884d787fcb5b7c5631719d30bf142a80c [2021-05-11T05:21:21.484Z] Merge succeeded, producing ba9182f884d787fcb5b7c5631719d30bf142a80c [2021-05-11T05:21:21.484Z] Checking out Revision ba9182f884d787fcb5b7c5631719d30bf142a80c (PR-919) [2021-05-11T05:21:21.324Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T05:21:21.336Z] > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 [2021-05-11T05:21:21.430Z] > git remote # timeout=10 [2021-05-11T05:21:21.446Z] > git config --get remote.origin.url # timeout=10 [2021-05-11T05:21:21.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-11T05:21:21.466Z] > git merge 6cc4c25230d964bbb6ccd74e42769d1c7a10d9be # timeout=10 [2021-05-11T05:21:21.486Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-11T05:21:21.507Z] > git config core.sparsecheckout # timeout=10 [2021-05-11T05:21:21.518Z] > git checkout -f ba9182f884d787fcb5b7c5631719d30bf142a80c # timeout=10 [2021-05-11T05:21:25.672Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" [2021-05-11T05:21:25.751Z] > git --version # timeout=10 [2021-05-11T05:21:25.766Z] > git --version # 'git version 2.17.1' [2021-05-11T05:21:25.785Z] fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T05:21:27.402Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-11T05:21:27.825Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-11T05:21:28.197Z] + + sudo service docker restarttrue [2021-05-11T05:21:28.197Z] [2021-05-11T05:21:29.945Z] gofmt -l . [2021-05-11T05:21:29.946Z] [ "`gofmt -l .`" = "" ] [2021-05-11T05:21:29.946Z] ./bin/test-attribution-txt.sh [2021-05-11T05:21:29.946Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T05:21:29.979Z] $ docker stop --time=1 e22d2cd997573a7850a4108928251977a5160f967a5f764e30b5d0c21606f8fb [2021-05-11T05:21:31.668Z] $ docker rm -f e22d2cd997573a7850a4108928251977a5160f967a5f764e30b5d0c21606f8fb [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2021-05-11T05:21:32.228Z] provisioning config files... [2021-05-11T05:21:32.273Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8996733084797293957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:21:32.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T05:21:32.685Z] ---> docker-login.sh [2021-05-11T05:21:32.685Z] nexus3.edgexfoundry.org:10001 [2021-05-11T05:21:32.888Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-05-11T05:21:33.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:21:33.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:21:33.892Z] Configure a credential helper to remove this warning. See [2021-05-11T05:21:33.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:21:33.892Z] [2021-05-11T05:21:33.892Z] Login Succeeded [2021-05-11T05:21:33.892Z] nexus3.edgexfoundry.org:10002 [2021-05-11T05:21:34.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:21:34.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:21:34.444Z] Configure a credential helper to remove this warning. See [2021-05-11T05:21:34.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:21:34.444Z] [2021-05-11T05:21:34.444Z] Login Succeeded [2021-05-11T05:21:34.444Z] nexus3.edgexfoundry.org:10003 [2021-05-11T05:21:34.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:21:35.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:21:35.009Z] Configure a credential helper to remove this warning. See [2021-05-11T05:21:35.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:21:35.009Z] [2021-05-11T05:21:35.009Z] Login Succeeded [2021-05-11T05:21:35.009Z] nexus3.edgexfoundry.org:10004 [Pipeline] sh [2021-05-11T05:21:35.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:21:35.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:21:35.294Z] Configure a credential helper to remove this warning. See [2021-05-11T05:21:35.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:21:35.294Z] [2021-05-11T05:21:35.294Z] Login Succeeded [2021-05-11T05:21:35.294Z] docker.io [2021-05-11T05:21:35.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T05:21:35.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-11T05:21:35.931Z] + ls -al . [2021-05-11T05:21:35.931Z] total 212 [2021-05-11T05:21:35.931Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 11 05:21 . [2021-05-11T05:21:35.931Z] drwxrwxr-x. 4 jenkins jenkins 28 May 11 05:19 .. [2021-05-11T05:21:35.931Z] drwxrwxr-x. 2 jenkins jenkins 64 May 11 05:19 bin [2021-05-11T05:21:35.931Z] -rw-r--r--. 1 jenkins jenkins 124141 May 11 05:21 coverage.out [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 987 May 11 05:19 Dockerfile.build [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 140 May 11 05:19 .dockerignore [2021-05-11T05:21:35.931Z] drwxrwxr-x. 5 jenkins jenkins 62 May 11 05:19 example [2021-05-11T05:21:35.931Z] drwxrwxr-x. 8 jenkins jenkins 179 May 11 05:19 .git [2021-05-11T05:21:35.931Z] drwxrwxr-x. 2 jenkins jenkins 103 May 11 05:19 .github [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 138 May 11 05:19 .gitignore [2021-05-11T05:21:35.931Z] -rw-r--r--. 1 jenkins jenkins 575 May 11 05:21 go.mod [2021-05-11T05:21:35.931Z] -rw-r--r--. 1 jenkins jenkins 20848 May 11 05:20 go.sum [2021-05-11T05:21:35.931Z] drwxrwxr-x. 15 jenkins jenkins 222 May 11 05:19 internal [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 901 May 11 05:19 Jenkinsfile [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 11 05:19 LICENSE [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 1000 May 11 05:19 Makefile [2021-05-11T05:21:35.931Z] drwxrwxr-x. 4 jenkins jenkins 26 May 11 05:19 openapi [2021-05-11T05:21:35.931Z] drwxrwxr-x. 5 jenkins jenkins 50 May 11 05:19 pkg [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 11 05:19 README.md [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 11 05:19 RELEASE-NOTES.txt [2021-05-11T05:21:35.931Z] drwxrwxr-x. 4 jenkins jenkins 54 May 11 05:19 snap [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 5 May 11 05:17 VERSION [2021-05-11T05:21:35.931Z] -rw-rw-r--. 1 jenkins jenkins 222 May 11 05:19 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:21:36.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-11T05:21:36.164Z] Configure a credential helper to remove this warning. See [2021-05-11T05:21:36.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-11T05:21:36.164Z] [2021-05-11T05:21:36.164Z] Login Succeeded [2021-05-11T05:21:36.164Z] ---> docker-login.sh ends [Pipeline] } [2021-05-11T05:21:36.201Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [2021-05-11T05:21:36.287Z] + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=ba9182f884d787fcb5b7c5631719d30bf142a80c --label arch=amd64 --label version=0.0.0 . [Pipeline] // withEnv [Pipeline] unstash [2021-05-11T05:21:36.555Z] Sending build context to Docker daemon 2.666MB [2021-05-11T05:21:36.555Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T05:21:36.555Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T05:21:36.555Z] ---> 48eb58ee149f [2021-05-11T05:21:36.555Z] Step 3/23 : WORKDIR /device-sdk-go [Pipeline] echo [2021-05-11T05:21:36.634Z] ========================================================= [2021-05-11T05:21:36.634Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-11T05:21:36.634Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:21:37.024Z] + 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-11T05:21:37.140Z] ---> Running in cc0ab1e4c9c6 [2021-05-11T05:21:37.140Z] Removing intermediate container cc0ab1e4c9c6 [2021-05-11T05:21:37.140Z] ---> 87a4a214b064 [2021-05-11T05:21:37.140Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:21:37.424Z] ---> Running in 17fb5a3b2165 [2021-05-11T05:21:37.424Z] Removing intermediate container 17fb5a3b2165 [2021-05-11T05:21:37.424Z] ---> 1a144ccdf14b [2021-05-11T05:21:37.424Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:21:37.424Z] ---> Running in edf39feaf1e4 [2021-05-11T05:21:37.628Z] Sending build context to Docker daemon 2.541MB [2021-05-11T05:21:37.628Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T05:21:37.628Z] Step 2/8 : FROM ${BASE} [2021-05-11T05:21:37.628Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-11T05:21:37.628Z] 595b0fe564bb: Pulling fs layer [2021-05-11T05:21:37.628Z] 7186ed65a4f7: Pulling fs layer [2021-05-11T05:21:37.628Z] 316046926c0a: Pulling fs layer [2021-05-11T05:21:37.628Z] 4ebd0625c992: Pulling fs layer [2021-05-11T05:21:37.628Z] 207e8628e3a3: Pulling fs layer [2021-05-11T05:21:37.628Z] c791037a9be2: Pulling fs layer [2021-05-11T05:21:37.628Z] ffd874e62e21: Pulling fs layer [2021-05-11T05:21:37.628Z] 207e8628e3a3: Waiting [2021-05-11T05:21:37.628Z] c791037a9be2: Waiting [2021-05-11T05:21:37.628Z] 4ebd0625c992: Waiting [2021-05-11T05:21:37.628Z] ffd874e62e21: Waiting [2021-05-11T05:21:37.628Z] 316046926c0a: Verifying Checksum [2021-05-11T05:21:37.628Z] 316046926c0a: Download complete [2021-05-11T05:21:37.628Z] 7186ed65a4f7: Verifying Checksum [2021-05-11T05:21:37.628Z] 7186ed65a4f7: Download complete [2021-05-11T05:21:37.628Z] 207e8628e3a3: Verifying Checksum [2021-05-11T05:21:37.628Z] 207e8628e3a3: Download complete [2021-05-11T05:21:37.628Z] c791037a9be2: Verifying Checksum [2021-05-11T05:21:37.628Z] c791037a9be2: Download complete [2021-05-11T05:21:37.628Z] 595b0fe564bb: Verifying Checksum [2021-05-11T05:21:37.628Z] 595b0fe564bb: Download complete [2021-05-11T05:21:38.403Z] Removing intermediate container edf39feaf1e4 [2021-05-11T05:21:38.403Z] ---> 7d5ec2f139c5 [2021-05-11T05:21:38.403Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T05:21:38.403Z] ---> Running in 7bb84cc7fb83 [2021-05-11T05:21:38.636Z] 595b0fe564bb: Pull complete [2021-05-11T05:21:38.927Z] 7186ed65a4f7: Pull complete [2021-05-11T05:21:39.048Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-11T05:21:39.536Z] 316046926c0a: Pull complete [2021-05-11T05:21:39.812Z] ffd874e62e21: Verifying Checksum [2021-05-11T05:21:39.812Z] ffd874e62e21: Download complete [2021-05-11T05:21:40.987Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-11T05:21:41.269Z] 4ebd0625c992: Verifying Checksum [2021-05-11T05:21:41.269Z] 4ebd0625c992: Download complete [2021-05-11T05:21:41.943Z] OK: 150 MiB in 46 packages [2021-05-11T05:21:42.530Z] Removing intermediate container 7bb84cc7fb83 [2021-05-11T05:21:42.530Z] ---> a1ecf648d4d9 [2021-05-11T05:21:42.530Z] Step 7/23 : COPY . . [2021-05-11T05:21:43.496Z] ---> 76824b9d669f [2021-05-11T05:21:43.496Z] Step 8/23 : RUN go mod download [2021-05-11T05:21:43.496Z] ---> Running in a66c2e25dedd [2021-05-11T05:21:44.893Z] Removing intermediate container a66c2e25dedd [2021-05-11T05:21:44.893Z] ---> 2958bffb1f2b [2021-05-11T05:21:44.893Z] Step 9/23 : RUN make build [2021-05-11T05:21:44.893Z] ---> Running in 4c6ae9d0d971 [2021-05-11T05:21:45.158Z] 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-11T05:21:53.753Z] 4ebd0625c992: Pull complete [2021-05-11T05:21:53.753Z] 207e8628e3a3: Pull complete [2021-05-11T05:21:53.753Z] c791037a9be2: Pull complete [2021-05-11T05:21:56.420Z] ffd874e62e21: Pull complete [2021-05-11T05:21:56.420Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-11T05:21:56.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-11T05:21:56.420Z] ---> cfc18b08335c [2021-05-11T05:21:56.420Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:21:57.533Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T05:21:59.065Z] ---> Running in 1638ed90af9d [2021-05-11T05:21:59.346Z] Removing intermediate container 1638ed90af9d [2021-05-11T05:21:59.346Z] ---> 2cb188f31fcc [2021-05-11T05:21:59.346Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:21:59.346Z] ---> Running in d1b9ef147d11 [2021-05-11T05:22:00.097Z] Removing intermediate container 4c6ae9d0d971 [2021-05-11T05:22:00.097Z] ---> b7222cfa9c97 [2021-05-11T05:22:00.097Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T05:22:00.097Z] 3.12: Pulling from library/alpine [2021-05-11T05:22:00.097Z] 339de151aab4: Pulling fs layer [2021-05-11T05:22:00.358Z] 339de151aab4: Verifying Checksum [2021-05-11T05:22:00.358Z] 339de151aab4: Download complete [2021-05-11T05:22:00.624Z] 339de151aab4: Pull complete [2021-05-11T05:22:00.624Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T05:22:00.624Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T05:22:00.624Z] ---> 13621d1b12d4 [2021-05-11T05:22:00.624Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:22:00.892Z] ---> Running in b038b7fdaf52 [2021-05-11T05:22:01.163Z] Removing intermediate container b038b7fdaf52 [2021-05-11T05:22:01.163Z] ---> f195aab5b8a5 [2021-05-11T05:22:01.163Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:22:01.163Z] ---> Running in c4e49a92d2cc [2021-05-11T05:22:01.977Z] Removing intermediate container d1b9ef147d11 [2021-05-11T05:22:01.977Z] ---> ea7bed7174a7 [2021-05-11T05:22:01.977Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-11T05:22:01.977Z] ---> Running in e0322f5363a7 [2021-05-11T05:22:02.122Z] Removing intermediate container c4e49a92d2cc [2021-05-11T05:22:02.122Z] ---> f789438ad271 [2021-05-11T05:22:02.122Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T05:22:02.122Z] ---> Running in 31b17e2a3814 [2021-05-11T05:22:02.702Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-11T05:22:03.417Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T05:22:04.095Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-11T05:22:04.674Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T05:22:04.846Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T05:22:04.936Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T05:22:05.198Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T05:22:05.818Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-11T05:22:06.091Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-11T05:22:06.361Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-11T05:22:06.361Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-11T05:22:06.633Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-11T05:22:06.905Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-11T05:22:06.905Z] Executing busybox-1.32.1-r6.trigger [2021-05-11T05:22:07.121Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T05:22:07.122Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T05:22:07.122Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T05:22:07.122Z] OK: 8 MiB in 19 packages [2021-05-11T05:22:07.178Z] OK: 139 MiB in 46 packages [2021-05-11T05:22:07.698Z] Removing intermediate container 31b17e2a3814 [2021-05-11T05:22:07.698Z] ---> 3e825aa92057 [2021-05-11T05:22:07.698Z] Step 14/23 : WORKDIR / [2021-05-11T05:22:07.698Z] ---> Running in f0a8b0e76aea [2021-05-11T05:22:07.965Z] Removing intermediate container f0a8b0e76aea [2021-05-11T05:22:07.965Z] ---> ce7011dd4bd6 [2021-05-11T05:22:07.965Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T05:22:08.228Z] ---> 419c8345d8e6 [2021-05-11T05:22:08.228Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T05:22:08.615Z] Removing intermediate container e0322f5363a7 [2021-05-11T05:22:08.615Z] ---> 47ff2ad0bc6c [2021-05-11T05:22:08.615Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-11T05:22:08.615Z] ---> Running in ba90ce2f2923 [2021-05-11T05:22:08.803Z] ---> edda8585d04e [2021-05-11T05:22:08.804Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T05:22:09.069Z] ---> 46d340217c65 [2021-05-11T05:22:09.069Z] Step 18/23 : EXPOSE 49990 [2021-05-11T05:22:09.069Z] ---> Running in a30dc8178a3c [2021-05-11T05:22:09.209Z] Removing intermediate container ba90ce2f2923 [2021-05-11T05:22:09.209Z] ---> 36d9d871fe51 [2021-05-11T05:22:09.209Z] Step 7/8 : COPY . . [2021-05-11T05:22:09.331Z] Removing intermediate container a30dc8178a3c [2021-05-11T05:22:09.331Z] ---> d153739f35b5 [2021-05-11T05:22:09.331Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T05:22:09.331Z] ---> Running in cda59f702a5b [2021-05-11T05:22:09.593Z] Removing intermediate container cda59f702a5b [2021-05-11T05:22:09.593Z] ---> 498537a42172 [2021-05-11T05:22:09.593Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T05:22:09.593Z] ---> Running in 74ec6963beb4 [2021-05-11T05:22:09.855Z] Removing intermediate container 74ec6963beb4 [2021-05-11T05:22:09.855Z] ---> 4e9a797523b2 [2021-05-11T05:22:09.855Z] Step 21/23 : LABEL arch=amd64 [2021-05-11T05:22:09.855Z] ---> Running in 0bdb9531f29e [2021-05-11T05:22:10.117Z] Removing intermediate container 0bdb9531f29e [2021-05-11T05:22:10.117Z] ---> a28842a103e2 [2021-05-11T05:22:10.117Z] Step 22/23 : LABEL git_sha=ba9182f884d787fcb5b7c5631719d30bf142a80c [2021-05-11T05:22:10.117Z] ---> Running in acd6183a38e5 [2021-05-11T05:22:10.381Z] Removing intermediate container acd6183a38e5 [2021-05-11T05:22:10.381Z] ---> 0485b4532072 [2021-05-11T05:22:10.382Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T05:22:10.382Z] ---> Running in d1a157ca6239 [2021-05-11T05:22:10.382Z] Removing intermediate container d1a157ca6239 [2021-05-11T05:22:10.382Z] ---> 51b518dc47c0 [2021-05-11T05:22:10.382Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-11T05:22:10.382Z] Successfully built 51b518dc47c0 [2021-05-11T05:22:10.648Z] Successfully tagged docker-device-sdk-simple:latest [2021-05-11T05:22:10.649Z] ---> 4a205033a416 [2021-05-11T05:22:10.649Z] Step 8/8 : RUN go mod download [2021-05-11T05:22:10.649Z] ---> Running in 6faca0eb0584 [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-11T05:22:11.549Z] ---> job-cost.sh [2021-05-11T05:22:11.549Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-FUCx [2021-05-11T05:22:29.725Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T05:22:37.446Z] Removing intermediate container 6faca0eb0584 [2021-05-11T05:22:37.446Z] ---> d54d2e060054 [2021-05-11T05:22:37.446Z] Successfully built d54d2e060054 [2021-05-11T05:22:37.446Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:22:37.827Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T05:22:37.827Z] . [Pipeline] withDockerContainer [2021-05-11T05:22:38.112Z] prd-ubuntu18.04-docker-arm64-4c-16g-4336 does not seem to be running inside a container [2021-05-11T05:22:38.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-05-11T05:22:39.756Z] $ docker top e95db79691e41c294e33e65e0d9caecf53290a26e95b6372981153bec112994a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:22:40.782Z] + go version [2021-05-11T05:22:40.782Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-11T05:22:40.922Z] $ docker stop --time=1 e95db79691e41c294e33e65e0d9caecf53290a26e95b6372981153bec112994a [2021-05-11T05:22:42.836Z] $ docker rm -f e95db79691e41c294e33e65e0d9caecf53290a26e95b6372981153bec112994a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:22:43.775Z] + docker inspect -f . ci-base-image-arm64 [2021-05-11T05:22:43.775Z] . [Pipeline] withDockerContainer [2021-05-11T05:22:44.063Z] prd-ubuntu18.04-docker-arm64-4c-16g-4336 does not seem to be running inside a container [2021-05-11T05:22:44.169Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-05-11T05:22:45.682Z] $ docker top 2c9f0d7eb7ac988176ee98ea59c11e4b7b37e6f082ffba41727f9b41f7f14099 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:22:46.689Z] + go mod tidy [Pipeline] sh [2021-05-11T05:22:47.974Z] + make test [2021-05-11T05:22:47.974Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-11T05:22:56.379Z] lf-activate-venv(): INFO: Adding /tmp/venv-FUCx/bin to PATH [2021-05-11T05:22:56.379Z] INFO: No Stack... [2021-05-11T05:22:56.379Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T05:22:56.379Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T05:22:56.722Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-11T05:22:56.722Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T05:22:56.835Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [2021-05-11T05:22:56.841Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] did not exist. Created. [2021-05-11T05:22:56.841Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T05:22:57.279Z] + echo total: 0.029999999329447746 [Pipeline] stash [2021-05-11T05:22:57.424Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T05:22:57.446Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-11T05:23:14.786Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-11T05:24:11.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-11T05:24:11.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-11T05:24:11.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-11T05:24:26.480Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.221s coverage: 25.4% of statements [2021-05-11T05:24:26.481Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-11T05:24:26.481Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 28.1% of statements [2021-05-11T05:24:26.481Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.186s coverage: 78.9% of statements [2021-05-11T05:24:26.481Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 1.170s coverage: 10.7% of statements [2021-05-11T05:24:26.481Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-11T05:24:26.481Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-11T05:24:26.481Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-11T05:24:27.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.270s coverage: 30.2% of statements [2021-05-11T05:24:27.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-11T05:24:27.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler [no test files] [2021-05-11T05:24:27.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-11T05:24:27.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-11T05:24:28.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.420s coverage: 58.4% of statements [2021-05-11T05:24:31.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.178s coverage: 89.2% of statements [2021-05-11T05:24:31.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-11T05:24:31.126Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.148s coverage: 5.0% of statements [2021-05-11T05:24:31.126Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-11T05:24:31.126Z] GO111MODULE=on go vet ./... [2021-05-11T05:25:27.737Z] gofmt -l . [2021-05-11T05:25:27.737Z] [ "`gofmt -l .`" = "" ] [2021-05-11T05:25:27.737Z] ./bin/test-attribution-txt.sh [2021-05-11T05:25:27.737Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-11T05:25:27.801Z] $ docker stop --time=1 2c9f0d7eb7ac988176ee98ea59c11e4b7b37e6f082ffba41727f9b41f7f14099 [2021-05-11T05:25:30.028Z] $ docker rm -f 2c9f0d7eb7ac988176ee98ea59c11e4b7b37e6f082ffba41727f9b41f7f14099 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-11T05:25:31.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-11T05:25:31.278Z] Warning: overwriting stash ‘coverage-report’ [2021-05-11T05:25:31.878Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-11T05:25:32.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-11T05:25:32.882Z] + ls -al . [2021-05-11T05:25:32.882Z] total 248 [2021-05-11T05:25:32.882Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:25 . [2021-05-11T05:25:32.882Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 .. [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 140 May 11 05:21 .dockerignore [2021-05-11T05:25:32.882Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:21 .git [2021-05-11T05:25:32.882Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 .github [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 138 May 11 05:21 .gitignore [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 987 May 11 05:21 Dockerfile.build [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 901 May 11 05:21 Jenkinsfile [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 11 05:21 LICENSE [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 1000 May 11 05:21 Makefile [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 11 05:21 README.md [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 11 05:21 RELEASE-NOTES.txt [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:17 VERSION [2021-05-11T05:25:32.882Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:21 bin [2021-05-11T05:25:32.882Z] -rw-r--r-- 1 jenkins jenkins 124140 May 11 05:24 coverage.out [2021-05-11T05:25:32.882Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 05:21 example [2021-05-11T05:25:32.882Z] -rw-r--r-- 1 jenkins jenkins 575 May 11 05:25 go.mod [2021-05-11T05:25:32.882Z] -rw-r--r-- 1 jenkins jenkins 20848 May 11 05:22 go.sum [2021-05-11T05:25:32.882Z] drwxrwxr-x 15 jenkins jenkins 4096 May 11 05:21 internal [2021-05-11T05:25:32.882Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 openapi [2021-05-11T05:25:32.882Z] drwxrwxr-x 5 jenkins jenkins 4096 May 11 05:21 pkg [2021-05-11T05:25:32.882Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:21 snap [2021-05-11T05:25:32.882Z] -rw-rw-r-- 1 jenkins jenkins 222 May 11 05:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:25:33.261Z] + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ba9182f884d787fcb5b7c5631719d30bf142a80c --label arch=arm64 --label version=0.0.0 . [2021-05-11T05:25:33.875Z] Sending build context to Docker daemon 2.665MB [2021-05-11T05:25:33.875Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-11T05:25:33.875Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-11T05:25:33.875Z] ---> d54d2e060054 [2021-05-11T05:25:33.875Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-11T05:25:34.147Z] ---> Running in 6c0e9aa147f0 [2021-05-11T05:25:34.741Z] Removing intermediate container 6c0e9aa147f0 [2021-05-11T05:25:34.741Z] ---> c8d32706132a [2021-05-11T05:25:34.741Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:25:34.741Z] ---> Running in 58c3ef5192ab [2021-05-11T05:25:35.019Z] Removing intermediate container 58c3ef5192ab [2021-05-11T05:25:35.019Z] ---> 495fe0c36f88 [2021-05-11T05:25:35.019Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:25:35.292Z] ---> Running in 10075da2ca9e [2021-05-11T05:25:37.265Z] Removing intermediate container 10075da2ca9e [2021-05-11T05:25:37.265Z] ---> 5f312944522f [2021-05-11T05:25:37.265Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-11T05:25:37.537Z] ---> Running in b45b442dd601 [2021-05-11T05:25:38.509Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-11T05:25:41.108Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-11T05:25:44.480Z] OK: 139 MiB in 46 packages [2021-05-11T05:25:45.070Z] Removing intermediate container b45b442dd601 [2021-05-11T05:25:45.071Z] ---> 47c3599cce68 [2021-05-11T05:25:45.071Z] Step 7/23 : COPY . . [2021-05-11T05:25:46.517Z] ---> e621985c659a [2021-05-11T05:25:46.517Z] Step 8/23 : RUN go mod download [2021-05-11T05:25:46.517Z] ---> Running in 05b29de9f9f0 [2021-05-11T05:25:49.139Z] Removing intermediate container 05b29de9f9f0 [2021-05-11T05:25:49.139Z] ---> 426483338170 [2021-05-11T05:25:49.139Z] Step 9/23 : RUN make build [2021-05-11T05:25:49.139Z] ---> Running in 1950d6d845b7 [2021-05-11T05:25:50.130Z] 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-11T05:26:22.473Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-11T05:26:25.086Z] Removing intermediate container 1950d6d845b7 [2021-05-11T05:26:25.086Z] ---> 5a24ea1c98e0 [2021-05-11T05:26:25.086Z] Step 10/23 : FROM alpine:3.12 [2021-05-11T05:26:25.086Z] 3.12: Pulling from library/alpine [2021-05-11T05:26:25.086Z] d2f70382dc9a: Pulling fs layer [2021-05-11T05:26:25.358Z] d2f70382dc9a: Verifying Checksum [2021-05-11T05:26:25.358Z] d2f70382dc9a: Download complete [2021-05-11T05:26:25.958Z] d2f70382dc9a: Pull complete [2021-05-11T05:26:25.958Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-11T05:26:25.958Z] Status: Downloaded newer image for alpine:3.12 [2021-05-11T05:26:25.958Z] ---> 9852663dfa18 [2021-05-11T05:26:25.958Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-11T05:26:26.234Z] ---> Running in f48c3a9c27b4 [2021-05-11T05:26:26.829Z] Removing intermediate container f48c3a9c27b4 [2021-05-11T05:26:26.829Z] ---> fa0d89e325da [2021-05-11T05:26:26.829Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-11T05:26:26.829Z] ---> Running in 813dfa600e1c [2021-05-11T05:26:28.800Z] Removing intermediate container 813dfa600e1c [2021-05-11T05:26:28.801Z] ---> b70ec870620f [2021-05-11T05:26:28.801Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-11T05:26:29.075Z] ---> Running in 5c8c031ae349 [2021-05-11T05:26:30.061Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-11T05:26:31.501Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-11T05:26:32.937Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-11T05:26:32.937Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-11T05:26:33.210Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-11T05:26:33.484Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-11T05:26:34.460Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-11T05:26:34.759Z] Executing busybox-1.31.1-r20.trigger [2021-05-11T05:26:34.759Z] OK: 8 MiB in 19 packages [2021-05-11T05:26:36.196Z] Removing intermediate container 5c8c031ae349 [2021-05-11T05:26:36.196Z] ---> fe23af76bc2f [2021-05-11T05:26:36.196Z] Step 14/23 : WORKDIR / [2021-05-11T05:26:36.196Z] ---> Running in 75d728e9c374 [2021-05-11T05:26:36.800Z] Removing intermediate container 75d728e9c374 [2021-05-11T05:26:36.800Z] ---> 462639a255fc [2021-05-11T05:26:36.800Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-11T05:26:37.391Z] ---> 1434308f666a [2021-05-11T05:26:37.391Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-11T05:26:38.829Z] ---> 5779ef37332f [2021-05-11T05:26:38.830Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-11T05:26:39.430Z] ---> 45be7e88174a [2021-05-11T05:26:39.430Z] Step 18/23 : EXPOSE 49990 [2021-05-11T05:26:39.705Z] ---> Running in bbbe6b62325a [2021-05-11T05:26:39.978Z] Removing intermediate container bbbe6b62325a [2021-05-11T05:26:39.978Z] ---> 0a4c03685c1c [2021-05-11T05:26:39.978Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-11T05:26:40.250Z] ---> Running in ba99b3e92b6d [2021-05-11T05:26:40.844Z] Removing intermediate container ba99b3e92b6d [2021-05-11T05:26:40.844Z] ---> a61c42eca241 [2021-05-11T05:26:40.844Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-11T05:26:40.844Z] ---> Running in df3ee16afbba [2021-05-11T05:26:41.118Z] Removing intermediate container df3ee16afbba [2021-05-11T05:26:41.118Z] ---> 61c0085ba552 [2021-05-11T05:26:41.118Z] Step 21/23 : LABEL arch=arm64 [2021-05-11T05:26:41.401Z] ---> Running in 6f7aa827bed8 [2021-05-11T05:26:41.996Z] Removing intermediate container 6f7aa827bed8 [2021-05-11T05:26:41.996Z] ---> 5bcc4a4c63b8 [2021-05-11T05:26:41.996Z] Step 22/23 : LABEL git_sha=ba9182f884d787fcb5b7c5631719d30bf142a80c [2021-05-11T05:26:41.996Z] ---> Running in 54090e6b111a [2021-05-11T05:26:42.271Z] Removing intermediate container 54090e6b111a [2021-05-11T05:26:42.271Z] ---> 4687d0549acd [2021-05-11T05:26:42.271Z] Step 23/23 : LABEL version=0.0.0 [2021-05-11T05:26:42.546Z] ---> Running in 4f8f38ebfcfe [2021-05-11T05:26:42.818Z] Removing intermediate container 4f8f38ebfcfe [2021-05-11T05:26:42.818Z] ---> 0fa6a6174aa0 [2021-05-11T05:26:42.818Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-11T05:26:43.089Z] Successfully built 0fa6a6174aa0 [2021-05-11T05:26:43.089Z] Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:26:43.774Z] ---> job-cost.sh [2021-05-11T05:26:43.774Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6Bfl [2021-05-11T05:27:22.737Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-11T05:28:44.550Z] lf-activate-venv(): INFO: Adding /tmp/venv-6Bfl/bin to PATH [2021-05-11T05:28:44.550Z] INFO: No Stack... [2021-05-11T05:28:44.550Z] INFO: Retrieving Pricing Info for: lf-standard-4 [2021-05-11T05:28:44.550Z] INFO: Archiving Costs [Pipeline] sh [2021-05-11T05:28:44.915Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-11T05:28:44.915Z] + cut -d, -f6 [Pipeline] lock [2021-05-11T05:28:45.057Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [2021-05-11T05:28:45.063Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] did not exist. Created. [2021-05-11T05:28:45.063Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-919-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-11T05:28:45.535Z] /w/workspace/device-sdk-go/1@tmp/durable-7f3ffb05/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-7f3ffb05/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-11T05:28:45.919Z] + echo total: 0.20999999344348907 [Pipeline] stash [2021-05-11T05:28:45.962Z] Warning: overwriting stash ‘stack-cost’ [2021-05-11T05:28:46.123Z] Stashed 1 file(s) [Pipeline] } [2021-05-11T05:28:46.147Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-919-1-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-11T05:28:47.224Z] provisioning config files... [2021-05-11T05:28:47.239Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/config3330295401355813656tmp [Pipeline] { [Pipeline] sh [2021-05-11T05:28:47.631Z] + set +x [2021-05-11T05:28:47.631Z] + curl -s https://codecov.io/bash [2021-05-11T05:28:47.631Z] + bash -s -- [2021-05-11T05:28:48.017Z] [2021-05-11T05:28:48.017Z] _____ _ [2021-05-11T05:28:48.017Z] / ____| | | [2021-05-11T05:28:48.017Z] | | ___ __| | ___ ___ _____ __ [2021-05-11T05:28:48.017Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-11T05:28:48.017Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-11T05:28:48.017Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-11T05:28:48.017Z] Bash-1.0.2 [2021-05-11T05:28:48.017Z] [2021-05-11T05:28:48.017Z] [2021-05-11T05:28:48.017Z] ==> git version 2.24.3 found [2021-05-11T05:28:48.017Z] ==> 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-11T05:28:48.017Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-11T05:28:48.017Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-11T05:28:48.017Z] ==> Jenkins CI detected. [2021-05-11T05:28:48.017Z] project root: . [2021-05-11T05:28:48.017Z] --> token set from env [2021-05-11T05:28:48.017Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-11T05:28:48.017Z] ==> Running gcov in . (disable via -X gcov) [2021-05-11T05:28:48.017Z] ==> Python coveragepy not found [2021-05-11T05:28:48.017Z] ==> Searching for coverage reports in: [2021-05-11T05:28:48.017Z] + . [2021-05-11T05:28:48.017Z] -> Found 1 reports [2021-05-11T05:28:48.017Z] ==> Detecting git/mercurial file structure [2021-05-11T05:28:48.017Z] ==> Reading reports [2021-05-11T05:28:48.017Z] + ./coverage.out bytes=124140 [2021-05-11T05:28:48.017Z] ==> Appending adjustments [2021-05-11T05:28:48.017Z] https://docs.codecov.io/docs/fixing-reports [2021-05-11T05:28:48.639Z] + Found adjustments [2021-05-11T05:28:48.639Z] ==> Gzipping contents [2021-05-11T05:28:48.639Z] 16K /tmp/codecov.IboS8l.gz [2021-05-11T05:28:48.639Z] ==> Uploading reports [2021-05-11T05:28:48.639Z] url: https://codecov.io [2021-05-11T05:28:48.639Z] query: branch=PR-919&commit=ba9182f884d787fcb5b7c5631719d30bf142a80c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-919%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=919&job=&cmd_args= [2021-05-11T05:28:48.639Z] -> Pinging Codecov [2021-05-11T05:28:48.639Z] https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-919&commit=ba9182f884d787fcb5b7c5631719d30bf142a80c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-919%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=919&job=&cmd_args= [2021-05-11T05:28:49.216Z] -> Uploading to [2021-05-11T05:28:49.216Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-11/7E55EF52A471D76F132DFD9A03CDDE97/ba9182f884d787fcb5b7c5631719d30bf142a80c/de0002c6-1308-4f21-afe5-b8d32ae5506f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T052848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0a77b4a23cd3d32609901d04a47a9154b9002e0bd9800207cf96a51042784e0 [2021-05-11T05:28:49.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-11T05:28:49.216Z] Dload Upload Total Spent Left Speed [2021-05-11T05:28:49.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16222 0 0 100 16222 0 36762 --:--:-- --:--:-- --:--:-- 36784 [2021-05-11T05:28:49.484Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ba9182f884d787fcb5b7c5631719d30bf142a80c [Pipeline] } [2021-05-11T05:28:49.513Z] 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-11T05:28:51.309Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:28:51.943Z] ---> package-listing.sh [2021-05-11T05:28:51.943Z] ++ facter osfamily [2021-05-11T05:28:51.943Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-11T05:28:51.943Z] + OS_FAMILY=redhat [2021-05-11T05:28:51.943Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-919 [2021-05-11T05:28:51.943Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-11T05:28:51.943Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-11T05:28:51.943Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-11T05:28:51.943Z] + PACKAGES=/tmp/packages_start.txt [2021-05-11T05:28:51.943Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-919 ']' [2021-05-11T05:28:51.943Z] + PACKAGES=/tmp/packages_end.txt [2021-05-11T05:28:51.943Z] + case "${OS_FAMILY}" in [2021-05-11T05:28:51.943Z] + rpm -qa [2021-05-11T05:28:51.943Z] + sort [2021-05-11T05:28:57.275Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-11T05:28:57.275Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-11T05:28:57.275Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-11T05:28:57.275Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-919 ']' [2021-05-11T05:28:57.275Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-919/archives/ [2021-05-11T05:28:57.275Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-919/archives/ [Pipeline] echo [2021-05-11T05:28:57.310Z] 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-919/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-11T05:28:57.619Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:28:57.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T05:28:57.961Z] [2021-05-11T05:28:57.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-11T05:28:58.344Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T05:28:58.344Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-11T05:28:58.344Z] df20fa9351a1: Pulling fs layer [2021-05-11T05:28:58.344Z] 36b3adc4ff6f: Pulling fs layer [2021-05-11T05:28:58.344Z] 8ad3a11d3b57: Pulling fs layer [2021-05-11T05:28:58.344Z] 46f8f816bc3b: Pulling fs layer [2021-05-11T05:28:58.344Z] 93b61091891f: Pulling fs layer [2021-05-11T05:28:58.344Z] 93b9cdb0e59b: Pulling fs layer [2021-05-11T05:28:58.344Z] 5e14af77c1be: Pulling fs layer [2021-05-11T05:28:58.344Z] 01666e4c0597: Pulling fs layer [2021-05-11T05:28:58.344Z] aa168da1d23b: Pulling fs layer [2021-05-11T05:28:58.344Z] 46f8f816bc3b: Waiting [2021-05-11T05:28:58.344Z] 93b61091891f: Waiting [2021-05-11T05:28:58.344Z] 93b9cdb0e59b: Waiting [2021-05-11T05:28:58.344Z] 5e14af77c1be: Waiting [2021-05-11T05:28:58.344Z] 01666e4c0597: Waiting [2021-05-11T05:28:58.344Z] aa168da1d23b: Waiting [2021-05-11T05:28:58.344Z] 36b3adc4ff6f: Download complete [2021-05-11T05:28:58.344Z] 46f8f816bc3b: Verifying Checksum [2021-05-11T05:28:58.344Z] 46f8f816bc3b: Download complete [2021-05-11T05:28:58.616Z] df20fa9351a1: Verifying Checksum [2021-05-11T05:28:58.616Z] 93b9cdb0e59b: Download complete [2021-05-11T05:28:58.616Z] 5e14af77c1be: Verifying Checksum [2021-05-11T05:28:58.616Z] 5e14af77c1be: Download complete [2021-05-11T05:28:58.616Z] 01666e4c0597: Verifying Checksum [2021-05-11T05:28:58.616Z] 01666e4c0597: Download complete [2021-05-11T05:28:58.616Z] 93b61091891f: Verifying Checksum [2021-05-11T05:28:58.616Z] 93b61091891f: Download complete [2021-05-11T05:28:58.880Z] 8ad3a11d3b57: Verifying Checksum [2021-05-11T05:28:58.881Z] 8ad3a11d3b57: Download complete [2021-05-11T05:28:59.145Z] df20fa9351a1: Pull complete [2021-05-11T05:28:59.145Z] 36b3adc4ff6f: Pull complete [2021-05-11T05:29:00.114Z] 8ad3a11d3b57: Pull complete [2021-05-11T05:29:00.114Z] 46f8f816bc3b: Pull complete [2021-05-11T05:29:01.151Z] 93b61091891f: Pull complete [2021-05-11T05:29:01.151Z] 93b9cdb0e59b: Pull complete [2021-05-11T05:29:01.151Z] aa168da1d23b: Verifying Checksum [2021-05-11T05:29:01.151Z] aa168da1d23b: Download complete [2021-05-11T05:29:01.420Z] 5e14af77c1be: Pull complete [2021-05-11T05:29:01.420Z] 01666e4c0597: Pull complete [2021-05-11T05:29:09.637Z] aa168da1d23b: Pull complete [2021-05-11T05:29:09.637Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-11T05:29:09.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-11T05:29:09.637Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-11T05:29:09.850Z] prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container [2021-05-11T05:29:09.898Z] $ 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-919/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-919 -v /w/workspace/dgexfoundry_device-sdk-go_PR-919:/w/workspace/dgexfoundry_device-sdk-go_PR-919:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-919@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-11T05:29:14.043Z] $ docker top b509fe01fdb6e8eff633981e67369fbd1fad5a6ffb2a8838760314ed79eebc9c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-11T05:29:14.599Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-11T05:29:14.926Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-11T05:29:15.258Z] + ls /var/log/sa-host [2021-05-11T05:29:15.258Z] + sadf -c /var/log/sa-host/sa11 [2021-05-11T05:29:15.258Z] file_magic: OK [2021-05-11T05:29:15.258Z] HZ: Using current value: 100 [2021-05-11T05:29:15.258Z] file_header: OK [2021-05-11T05:29:15.258Z] 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-11T05:29:15.258Z] Statistics: [2021-05-11T05:29:15.258Z] 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-11T05:29:15.258Z] File successfully converted to sysstat format version 12.2.1 [2021-05-11T05:29:15.258Z] + sadf -c /var/log/sa-host/sa23 [2021-05-11T05:29:15.258Z] file_magic: OK [2021-05-11T05:29:15.258Z] HZ: Using current value: 100 [2021-05-11T05:29:15.258Z] file_header: OK [2021-05-11T05:29:15.258Z] 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-11T05:29:15.258Z] Statistics: [2021-05-11T05:29:15.258Z] Hnuu...uuuununununu... [2021-05-11T05:29:15.258Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-11T05:29:15.596Z] provisioning config files... [2021-05-11T05:29:15.613Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-919@tmp/config7724852992516731922tmp [Pipeline] { [Pipeline] echo [2021-05-11T05:29:15.669Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:29:16.022Z] ---> create-netrc.sh [Pipeline] } [2021-05-11T05:29:16.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-11T05:29:16.133Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:29:16.489Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-11T05:29:16.522Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:29:16.892Z] ---> sudo-logs.sh [2021-05-11T05:29:16.892Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-11T05:29:17.031Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:29:17.378Z] ---> job-cost.sh [2021-05-11T05:29:17.378Z] lf-activate-venv: SKIPPING [2021-05-11T05:29:17.378Z] DEBUG: total: 0.20999999344348907 [2021-05-11T05:29:17.378Z] INFO: Retrieving Stack Cost... [2021-05-11T05:29:18.328Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2021-05-11T05:29:18.907Z] INFO: Archiving Costs [Pipeline] echo [2021-05-11T05:29:18.944Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-11T05:29:19.288Z] ---> logs-deploy.sh [2021-05-11T05:29:19.288Z] lf-activate-venv: SKIPPING [2021-05-11T05:29:19.288Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-919/1 [2021-05-11T05:29:19.288Z] INFO: archiving workspace using pattern(s): [2021-05-11T05:29:21.214Z] Archives upload complete. [2021-05-11T05:29:21.214Z] INFO: archiving logs to Nexus