Pull request #947 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from a0faaf100a45f710ac8d37cc291467948e5b160e+f9e550b20f5a93948f1e6d0294bcd4043c76663f (ab23fb2d48189f2fc9c782e584665c740619d03c) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5582238306163536438.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6704962974493209762.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git 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-947/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-947/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7198117759501275995.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-947/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6445407899016996428.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh150517317727630209.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE 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-947/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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-947/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh120283647469992885.key > 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 Avoid second fetch 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 9d0281235b943b7ad605f650702698f9078b2862 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-309’ is offline Running on prd-centos7-docker-4c-2g-589 in /w/workspace/dgexfoundry_device-sdk-go_PR-947 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-947 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/jenkins-gitclient-ssh1151954789693851676.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/jenkins-gitclient-ssh620950193214160641.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a0faaf100a45f710ac8d37cc291467948e5b160e Merge succeeded, producing a0faaf100a45f710ac8d37cc291467948e5b160e Checking out Revision a0faaf100a45f710ac8d37cc291467948e5b160e (PR-947) > git config core.sparsecheckout # timeout=10 > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/jenkins-gitclient-ssh1777636394577637721.key > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-27T05:46:07.547Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-27T05:46:07.788Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-27T05:46:07.908Z] ========================================================= [2021-05-27T05:46:07.909Z] EdgeX Global Pipelines Version Info [2021-05-27T05:46:07.909Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:46:09.460Z] ------------------- [2021-05-27T05:46:09.460Z] stable info: [2021-05-27T05:46:09.460Z] ------------------- [2021-05-27T05:46:09.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-27T05:46:09.460Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-27T05:46:09.460Z] Message: update stable to v1.0.192 [2021-05-27T05:46:10.036Z] ------------------- [2021-05-27T05:46:10.037Z] experimental info: [2021-05-27T05:46:10.037Z] ------------------- [2021-05-27T05:46:10.037Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-27T05:46:10.037Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-27T05:46:10.037Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-27T05:46:10.268Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-05-27T05:46:10.323Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-05-27T05:46:10.381Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-27T05:46:10.463Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-27T05:46:10.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-27T05:46:10.580Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-27T05:46:10.646Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-27T05:46:10.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-27T05:46:10.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-05-27T05:46:10.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-27T05:46:10.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-27T05:46:10.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-05-27T05:46:10.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-27T05:46:11.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-27T05:46:11.102Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-27T05:46:11.160Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-05-27T05:46:11.220Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-27T05:46:11.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-27T05:46:11.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-27T05:46:11.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-05-27T05:46:11.459Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-05-27T05:46:11.535Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-05-27T05:46:11.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-27T05:46:11.652Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-27T05:46:11.711Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-27T05:46:11.774Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-27T05:46:11.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-947 [Pipeline] echo [2021-05-27T05:46:11.896Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-947 [Pipeline] echo [2021-05-27T05:46:11.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-947 [Pipeline] echo [2021-05-27T05:46:12.017Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0faaf100a45f710ac8d37cc291467948e5b160e [Pipeline] echo [2021-05-27T05:46:12.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0faaf1 [Pipeline] echo [2021-05-27T05:46:12.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-27T05:46:12.305Z] provisioning config files... [2021-05-27T05:46:12.324Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/config5771531268236531551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:46:12.702Z] ---> docker-login.sh [2021-05-27T05:46:12.702Z] nexus3.edgexfoundry.org:10001 [2021-05-27T05:46:12.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:46:12.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:46:12.972Z] Configure a credential helper to remove this warning. See [2021-05-27T05:46:12.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:46:12.972Z] [2021-05-27T05:46:12.972Z] Login Succeeded [2021-05-27T05:46:12.972Z] nexus3.edgexfoundry.org:10002 [2021-05-27T05:46:12.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:46:12.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:46:12.972Z] Configure a credential helper to remove this warning. See [2021-05-27T05:46:12.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:46:12.972Z] [2021-05-27T05:46:12.972Z] Login Succeeded [2021-05-27T05:46:12.972Z] nexus3.edgexfoundry.org:10003 [2021-05-27T05:46:13.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:46:13.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:46:13.234Z] Configure a credential helper to remove this warning. See [2021-05-27T05:46:13.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:46:13.234Z] [2021-05-27T05:46:13.234Z] Login Succeeded [2021-05-27T05:46:13.234Z] nexus3.edgexfoundry.org:10004 [2021-05-27T05:46:13.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:46:13.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:46:13.504Z] Configure a credential helper to remove this warning. See [2021-05-27T05:46:13.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:46:13.504Z] [2021-05-27T05:46:13.504Z] Login Succeeded [2021-05-27T05:46:13.504Z] docker.io [2021-05-27T05:46:13.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:46:13.765Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:46:13.765Z] Configure a credential helper to remove this warning. See [2021-05-27T05:46:13.765Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:46:13.765Z] [2021-05-27T05:46:13.765Z] Login Succeeded [2021-05-27T05:46:13.765Z] ---> docker-login.sh ends [Pipeline] } [2021-05-27T05:46:13.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-27T05:46:14.543Z] + git log --format=format:%s -1 a0faaf100a45f710ac8d37cc291467948e5b160e [Pipeline] echo [2021-05-27T05:46:14.611Z] GIT_COMMIT: a0faaf100a45f710ac8d37cc291467948e5b160e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-05-27T05:46:14.670Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:46:15.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-27T05:46:15.286Z] [2021-05-27T05:46:15.286Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:46:15.642Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-27T05:46:15.642Z] latest: Pulling from edgex-devops/git-semver [2021-05-27T05:46:15.642Z] 31603596830f: Pulling fs layer [2021-05-27T05:46:15.642Z] 54011a49482f: Pulling fs layer [2021-05-27T05:46:15.642Z] a6820b24f6d8: Pulling fs layer [2021-05-27T05:46:15.642Z] f581987b2513: Pulling fs layer [2021-05-27T05:46:15.642Z] f581987b2513: Waiting [2021-05-27T05:46:15.642Z] 54011a49482f: Verifying Checksum [2021-05-27T05:46:15.642Z] 54011a49482f: Download complete [2021-05-27T05:46:15.906Z] 31603596830f: Verifying Checksum [2021-05-27T05:46:15.906Z] 31603596830f: Download complete [2021-05-27T05:46:15.906Z] f581987b2513: Verifying Checksum [2021-05-27T05:46:15.906Z] f581987b2513: Download complete [2021-05-27T05:46:15.906Z] a6820b24f6d8: Verifying Checksum [2021-05-27T05:46:15.906Z] a6820b24f6d8: Download complete [2021-05-27T05:46:16.202Z] 31603596830f: Pull complete [2021-05-27T05:46:16.202Z] 54011a49482f: Pull complete [2021-05-27T05:46:16.795Z] a6820b24f6d8: Pull complete [2021-05-27T05:46:17.059Z] f581987b2513: Pull complete [2021-05-27T05:46:17.059Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-27T05:46:17.059Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-27T05:46:17.059Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-27T05:46:17.175Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2021-05-27T05:46:17.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-947 -v /w/workspace/dgexfoundry_device-sdk-go_PR-947:/w/workspace/dgexfoundry_device-sdk-go_PR-947:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-947@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:10004/edgex-devops/git-semver:latest cat [2021-05-27T05:46:18.592Z] $ docker top 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-27T05:46:18.834Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-27T05:46:18.834Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-27T05:46:18.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-27T05:46:18.958Z] $ docker exec 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c ssh-agent [2021-05-27T05:46:19.087Z] SSH_AUTH_SOCK=/tmp/ssh-0oOuZbX23ODl/agent.14 [2021-05-27T05:46:19.087Z] SSH_AGENT_PID=20 [2021-05-27T05:46:19.097Z] Running ssh-add (command line suppressed) [2021-05-27T05:46:19.211Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/private_key_2354469590696780203.key (/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/private_key_2354469590696780203.key) [2021-05-27T05:46:19.234Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-27T05:46:19.582Z] + git tag --points-at HEAD [Pipeline] } [2021-05-27T05:46:19.602Z] $ docker exec --env ******** --env ******** 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c ssh-agent -k [2021-05-27T05:46:19.714Z] unset SSH_AUTH_SOCK; [2021-05-27T05:46:19.715Z] unset SSH_AGENT_PID; [2021-05-27T05:46:19.715Z] echo Agent pid 20 killed; [2021-05-27T05:46:19.733Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-27T05:46:19.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-27T05:46:19.838Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-27T05:46:19.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-27T05:46:19.965Z] $ docker exec 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c ssh-agent [2021-05-27T05:46:20.095Z] SSH_AUTH_SOCK=/tmp/ssh-giMEPmaHdcm7/agent.53 [2021-05-27T05:46:20.095Z] SSH_AGENT_PID=59 [2021-05-27T05:46:20.101Z] Running ssh-add (command line suppressed) [2021-05-27T05:46:20.209Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/private_key_5784587294821324935.key (/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/private_key_5784587294821324935.key) [2021-05-27T05:46:20.229Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-27T05:46:20.583Z] + git semver init [2021-05-27T05:46:20.583Z] # -> Open(): unable to determine branch for HEAD [2021-05-27T05:46:20.584Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-947/.git [2021-05-27T05:46:20.584Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-947 [2021-05-27T05:46:20.584Z] # $SEMVER_REMOTE_NAME = origin [2021-05-27T05:46:20.584Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-27T05:46:20.584Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-27T05:46:20.584Z] # $SEMVER_BRANCH = PR-947 [2021-05-27T05:46:20.584Z] # $SEMVER_TEMP = /tmp/semver-291756640 [2021-05-27T05:46:20.584Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-05-27T05:46:21.538Z] # '/tmp/semver-291756640' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-947/.semver' [2021-05-27T05:46:21.538Z] # -> Force: false [2021-05-27T05:46:21.538Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-947/.semver [Pipeline] } [2021-05-27T05:46:21.557Z] $ docker exec --env ******** --env ******** 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c ssh-agent -k [2021-05-27T05:46:21.672Z] unset SSH_AUTH_SOCK; [2021-05-27T05:46:21.673Z] unset SSH_AGENT_PID; [2021-05-27T05:46:21.673Z] echo Agent pid 59 killed; [2021-05-27T05:46:21.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-27T05:46:22.152Z] + git semver [Pipeline] } [2021-05-27T05:46:22.179Z] $ docker stop --time=1 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c [2021-05-27T05:46:23.479Z] $ docker rm -f 4e8733ae0b4507beabbbfb4e8e8e0e9a0b0d62760f4b10c178eb158b7d08b79c [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-27T05:46:23.950Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-27T05:46:24.304Z] Stashed 1 file(s) [Pipeline] echo [2021-05-27T05:46:24.327Z] [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-27T05:46:39.802Z] Still waiting to schedule task [2021-05-27T05:46:39.802Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-05-27T05:46:39.846Z] Still waiting to schedule task [2021-05-27T05:46:39.846Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-590’ is offline [2021-05-27T05:48:07.486Z] Running on prd-centos7-docker-4c-2g-592 in /w/workspace/dgexfoundry_device-sdk-go_PR-947 [Pipeline] { [Pipeline] ws [2021-05-27T05:48:07.541Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-27T05:48:07.684Z] Selected Git installation does not exist. Using Default [2021-05-27T05:48:07.684Z] The recommended git tool is: NONE [2021-05-27T05:48:10.026Z] using credential edgex-jenkins-ssh [2021-05-27T05:48:10.043Z] Cloning the remote Git repository [2021-05-27T05:48:10.066Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-27T05:48:10.144Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-27T05:48:10.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-27T05:48:10.178Z] > git --version # timeout=10 [2021-05-27T05:48:10.185Z] > git --version # 'git version 2.24.4' [2021-05-27T05:48:10.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:48:10.219Z] [INFO] Currently running in a labeled security context [2021-05-27T05:48:10.219Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-27T05:48:10.219Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1267615277831345478.key [2021-05-27T05:48:10.254Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-27T05:48:11.138Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-27T05:48:11.146Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-27T05:48:11.665Z] Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a0faaf100a45f710ac8d37cc291467948e5b160e [2021-05-27T05:48:11.754Z] Merge succeeded, producing a0faaf100a45f710ac8d37cc291467948e5b160e [2021-05-27T05:48:11.755Z] Checking out Revision a0faaf100a45f710ac8d37cc291467948e5b160e (PR-947) [2021-05-27T05:48:11.164Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-27T05:48:11.178Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-27T05:48:11.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:48:11.179Z] [INFO] Currently running in a labeled security context [2021-05-27T05:48:11.179Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-27T05:48:11.179Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4136900741327820662.key [2021-05-27T05:48:11.190Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-27T05:48:11.673Z] > git config core.sparsecheckout # timeout=10 [2021-05-27T05:48:11.680Z] > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 [2021-05-27T05:48:11.720Z] > git remote # timeout=10 [2021-05-27T05:48:11.724Z] > git config --get remote.origin.url # timeout=10 [2021-05-27T05:48:11.729Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:48:11.730Z] [INFO] Currently running in a labeled security context [2021-05-27T05:48:11.730Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-27T05:48:11.731Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh9180069527062498470.key [2021-05-27T05:48:11.737Z] > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 [2021-05-27T05:48:11.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-27T05:48:11.756Z] > git config core.sparsecheckout # timeout=10 [2021-05-27T05:48:11.762Z] > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 [2021-05-27T05:48:15.545Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-05-27T05:48:15.570Z] > git --version # timeout=10 [2021-05-27T05:48:15.600Z] > git --version # 'git version 2.24.4' [2021-05-27T05:48:15.612Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-27T05:48:16.857Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-27T05:48:17.208Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-27T05:48:17.527Z] + true [2021-05-27T05:48:17.527Z] + sudo service docker restart [2021-05-27T05:48:17.527Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-27T05:48:35.802Z] provisioning config files... [2021-05-27T05:48:35.820Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7967146426088420386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:48:36.210Z] ---> docker-login.sh [2021-05-27T05:48:36.210Z] nexus3.edgexfoundry.org:10001 [2021-05-27T05:48:36.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:48:36.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:48:36.784Z] Configure a credential helper to remove this warning. See [2021-05-27T05:48:36.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:48:36.784Z] [2021-05-27T05:48:36.784Z] Login Succeeded [2021-05-27T05:48:36.784Z] nexus3.edgexfoundry.org:10002 [2021-05-27T05:48:36.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:48:37.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:48:37.045Z] Configure a credential helper to remove this warning. See [2021-05-27T05:48:37.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:48:37.045Z] [2021-05-27T05:48:37.045Z] Login Succeeded [2021-05-27T05:48:37.045Z] nexus3.edgexfoundry.org:10003 [2021-05-27T05:48:37.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:48:37.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:48:37.045Z] Configure a credential helper to remove this warning. See [2021-05-27T05:48:37.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:48:37.045Z] [2021-05-27T05:48:37.045Z] Login Succeeded [2021-05-27T05:48:37.045Z] nexus3.edgexfoundry.org:10004 [2021-05-27T05:48:37.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:48:37.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:48:37.306Z] Configure a credential helper to remove this warning. See [2021-05-27T05:48:37.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:48:37.306Z] [2021-05-27T05:48:37.306Z] Login Succeeded [2021-05-27T05:48:37.306Z] docker.io [2021-05-27T05:48:37.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:48:37.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:48:37.570Z] Configure a credential helper to remove this warning. See [2021-05-27T05:48:37.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:48:37.570Z] [2021-05-27T05:48:37.570Z] Login Succeeded [2021-05-27T05:48:37.570Z] ---> docker-login.sh ends [Pipeline] } [2021-05-27T05:48:37.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-27T05:48:37.932Z] ========================================================= [2021-05-27T05:48:37.932Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-27T05:48:37.932Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:48:38.306Z] + 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-27T05:48:38.306Z] Sending build context to Docker daemon 2.618MB [2021-05-27T05:48:38.306Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-27T05:48:38.306Z] Step 2/8 : FROM ${BASE} [2021-05-27T05:48:38.569Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-27T05:48:38.569Z] 540db60ca938: Pulling fs layer [2021-05-27T05:48:38.569Z] adcc1eea9eea: Pulling fs layer [2021-05-27T05:48:38.569Z] 4c4ab2625f07: Pulling fs layer [2021-05-27T05:48:38.569Z] 0510c868ecb4: Pulling fs layer [2021-05-27T05:48:38.569Z] afea3b2eda06: Pulling fs layer [2021-05-27T05:48:38.569Z] 7809a108b3ef: Pulling fs layer [2021-05-27T05:48:38.569Z] f706445af74f: Pulling fs layer [2021-05-27T05:48:38.569Z] afea3b2eda06: Waiting [2021-05-27T05:48:38.569Z] 7809a108b3ef: Waiting [2021-05-27T05:48:38.569Z] f706445af74f: Waiting [2021-05-27T05:48:38.569Z] 0510c868ecb4: Waiting [2021-05-27T05:48:38.569Z] 4c4ab2625f07: Verifying Checksum [2021-05-27T05:48:38.569Z] 4c4ab2625f07: Download complete [2021-05-27T05:48:38.569Z] adcc1eea9eea: Verifying Checksum [2021-05-27T05:48:38.569Z] adcc1eea9eea: Download complete [2021-05-27T05:48:38.569Z] afea3b2eda06: Verifying Checksum [2021-05-27T05:48:38.569Z] afea3b2eda06: Download complete [2021-05-27T05:48:38.569Z] 7809a108b3ef: Verifying Checksum [2021-05-27T05:48:38.569Z] 7809a108b3ef: Download complete [2021-05-27T05:48:38.569Z] 540db60ca938: Verifying Checksum [2021-05-27T05:48:38.569Z] 540db60ca938: Download complete [2021-05-27T05:48:38.838Z] 540db60ca938: Pull complete [2021-05-27T05:48:39.102Z] adcc1eea9eea: Pull complete [2021-05-27T05:48:39.102Z] 4c4ab2625f07: Pull complete [2021-05-27T05:48:40.507Z] f706445af74f: Verifying Checksum [2021-05-27T05:48:40.507Z] f706445af74f: Download complete [2021-05-27T05:48:40.778Z] 0510c868ecb4: Verifying Checksum [2021-05-27T05:48:40.778Z] 0510c868ecb4: Download complete [2021-05-27T05:48:45.008Z] 0510c868ecb4: Pull complete [2021-05-27T05:48:45.008Z] afea3b2eda06: Pull complete [2021-05-27T05:48:45.008Z] 7809a108b3ef: Pull complete [2021-05-27T05:48:46.401Z] f706445af74f: Pull complete [2021-05-27T05:48:46.401Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-27T05:48:46.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-27T05:48:46.401Z] ---> b068be0155e3 [2021-05-27T05:48:46.401Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-27T05:48:58.672Z] ---> Running in bc196a16c4a8 [2021-05-27T05:48:58.672Z] Removing intermediate container bc196a16c4a8 [2021-05-27T05:48:58.672Z] ---> 798aaa758ff7 [2021-05-27T05:48:58.672Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-27T05:48:58.672Z] ---> Running in 85b60b0e043b [2021-05-27T05:48:58.672Z] Removing intermediate container 85b60b0e043b [2021-05-27T05:48:58.672Z] ---> 8f7b1e897a07 [2021-05-27T05:48:58.672Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-27T05:48:58.944Z] ---> Running in 8608a5abe84c [2021-05-27T05:48:59.545Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-27T05:49:00.134Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-27T05:49:01.085Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-27T05:49:01.085Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-27T05:49:01.085Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-27T05:49:01.085Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-27T05:49:01.357Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-27T05:49:01.357Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-27T05:49:01.357Z] Executing busybox-1.32.1-r6.trigger [2021-05-27T05:49:01.357Z] OK: 150 MiB in 46 packages [2021-05-27T05:49:01.944Z] Removing intermediate container 8608a5abe84c [2021-05-27T05:49:01.944Z] ---> 0c60c7cf66cc [2021-05-27T05:49:01.944Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-27T05:49:02.209Z] ---> Running in 55a52cd15f13 [2021-05-27T05:49:02.209Z] Removing intermediate container 55a52cd15f13 [2021-05-27T05:49:02.209Z] ---> 17852ced874e [2021-05-27T05:49:02.209Z] Step 7/8 : COPY . . [2021-05-27T05:49:03.170Z] ---> 7b45a138efc8 [2021-05-27T05:49:03.170Z] Step 8/8 : RUN go mod download [2021-05-27T05:49:03.170Z] ---> Running in fedd15027d15 [2021-05-27T05:49:29.781Z] Removing intermediate container fedd15027d15 [2021-05-27T05:49:29.781Z] ---> a46da00fcade [2021-05-27T05:49:29.781Z] Successfully built a46da00fcade [2021-05-27T05:49:29.781Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:49:30.285Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-27T05:49:30.285Z] . [Pipeline] withDockerContainer [2021-05-27T05:49:30.396Z] prd-centos7-docker-4c-2g-592 does not seem to be running inside a container [2021-05-27T05:49:30.440Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-05-27T05:49:31.027Z] $ docker top bf04b51ca18f6f60f3caa3c4e5246d12e8267291ddf7659050aee1e306106d79 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-27T05:49:31.492Z] + go version [2021-05-27T05:49:31.492Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-05-27T05:49:31.525Z] $ docker stop --time=1 bf04b51ca18f6f60f3caa3c4e5246d12e8267291ddf7659050aee1e306106d79 [2021-05-27T05:49:32.796Z] $ docker rm -f bf04b51ca18f6f60f3caa3c4e5246d12e8267291ddf7659050aee1e306106d79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:49:33.548Z] + docker inspect -f . ci-base-image-x86_64 [2021-05-27T05:49:33.548Z] . [Pipeline] withDockerContainer [2021-05-27T05:49:33.655Z] prd-centos7-docker-4c-2g-592 does not seem to be running inside a container [2021-05-27T05:49:33.694Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2021-05-27T05:49:34.113Z] $ docker top d47498ff07580e4a4d2a448546813a0a3de766b7c0f54e2ade22291dda916e06 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-27T05:49:34.622Z] + go mod tidy [Pipeline] sh [2021-05-27T05:49:35.211Z] + make test [2021-05-27T05:49:35.211Z] go mod tidy [2021-05-27T05:49:35.475Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-27T05:49:40.845Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-27T05:49:46.755Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-594 in /w/workspace/dgexfoundry_device-sdk-go_PR-947 [Pipeline] { [Pipeline] ws [2021-05-27T05:49:46.823Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-05-27T05:49:47.088Z] Selected Git installation does not exist. Using Default [2021-05-27T05:49:47.088Z] The recommended git tool is: NONE [2021-05-27T05:49:52.649Z] using credential edgex-jenkins-ssh [2021-05-27T05:49:52.667Z] Cloning the remote Git repository [2021-05-27T05:49:52.731Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-05-27T05:49:52.868Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-05-27T05:49:52.957Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-27T05:49:52.957Z] > git --version # timeout=10 [2021-05-27T05:49:52.972Z] > git --version # 'git version 2.17.1' [2021-05-27T05:49:52.973Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:49:53.051Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-27T05:49:54.259Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-27T05:49:54.286Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-27T05:49:54.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-05-27T05:49:54.349Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-05-27T05:49:54.350Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:49:54.362Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/947/head:refs/remotes/origin/PR-947 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-27T05:49:54.939Z] Merging remotes/origin/master commit f9e550b20f5a93948f1e6d0294bcd4043c76663f into PR head commit a0faaf100a45f710ac8d37cc291467948e5b160e [2021-05-27T05:49:55.157Z] Merge succeeded, producing a0faaf100a45f710ac8d37cc291467948e5b160e [2021-05-27T05:49:55.157Z] Checking out Revision a0faaf100a45f710ac8d37cc291467948e5b160e (PR-947) [2021-05-27T05:49:54.955Z] > git config core.sparsecheckout # timeout=10 [2021-05-27T05:49:54.975Z] > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 [2021-05-27T05:49:55.080Z] > git remote # timeout=10 [2021-05-27T05:49:55.097Z] > git config --get remote.origin.url # timeout=10 [2021-05-27T05:49:55.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-27T05:49:55.120Z] > git merge f9e550b20f5a93948f1e6d0294bcd4043c76663f # timeout=10 [2021-05-27T05:49:55.141Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-27T05:49:55.161Z] > git config core.sparsecheckout # timeout=10 [2021-05-27T05:49:55.170Z] > git checkout -f a0faaf100a45f710ac8d37cc291467948e5b160e # timeout=10 [2021-05-27T05:49:59.381Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-05-27T05:49:59.434Z] > git --version # timeout=10 [2021-05-27T05:49:59.459Z] > git --version # 'git version 2.17.1' [2021-05-27T05:49:59.472Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-27T05:50:01.057Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-27T05:50:01.498Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-27T05:50:01.875Z] + sudo service docker restart [2021-05-27T05:50:01.875Z] + true [2021-05-27T05:50:02.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-27T05:50:02.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-27T05:50:02.912Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-27T05:50:05.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 25.4% of statements [2021-05-27T05:50:05.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-27T05:50:05.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 28.1% of statements [2021-05-27T05:50:06.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements [2021-05-27T05:50:06.477Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 9.0% of statements [2021-05-27T05:50:06.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-27T05:50:06.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-27T05:50:06.477Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-27T05:50:07.422Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 30.2% of statements [2021-05-27T05:50:07.422Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-27T05:50:08.390Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 83.3% of statements [2021-05-27T05:50:08.390Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-27T05:50:08.390Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-27T05:50:08.390Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-05-27T05:50:09.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.847s coverage: 89.2% of statements [2021-05-27T05:50:09.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-27T05:50:09.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 5.0% of statements [2021-05-27T05:50:09.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-27T05:50:09.610Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-27T05:50:20.303Z] provisioning config files... [2021-05-27T05:50:20.330Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6743526563009871234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:50:20.758Z] ---> docker-login.sh [2021-05-27T05:50:20.758Z] nexus3.edgexfoundry.org:10001 [2021-05-27T05:50:21.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:50:21.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:50:21.956Z] Configure a credential helper to remove this warning. See [2021-05-27T05:50:21.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:50:21.956Z] [2021-05-27T05:50:21.956Z] Login Succeeded [2021-05-27T05:50:21.956Z] nexus3.edgexfoundry.org:10002 [2021-05-27T05:50:22.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:50:22.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:50:22.508Z] Configure a credential helper to remove this warning. See [2021-05-27T05:50:22.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:50:22.508Z] [2021-05-27T05:50:22.508Z] Login Succeeded [2021-05-27T05:50:22.508Z] nexus3.edgexfoundry.org:10003 [2021-05-27T05:50:22.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:50:23.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:50:23.062Z] Configure a credential helper to remove this warning. See [2021-05-27T05:50:23.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:50:23.062Z] [2021-05-27T05:50:23.062Z] Login Succeeded [2021-05-27T05:50:23.062Z] nexus3.edgexfoundry.org:10004 [2021-05-27T05:50:23.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:50:23.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:50:23.611Z] Configure a credential helper to remove this warning. See [2021-05-27T05:50:23.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:50:23.611Z] [2021-05-27T05:50:23.611Z] Login Succeeded [2021-05-27T05:50:23.611Z] docker.io [2021-05-27T05:50:23.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-27T05:50:24.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-27T05:50:24.481Z] Configure a credential helper to remove this warning. See [2021-05-27T05:50:24.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-27T05:50:24.481Z] [2021-05-27T05:50:24.481Z] Login Succeeded [2021-05-27T05:50:24.481Z] ---> docker-login.sh ends [Pipeline] } [2021-05-27T05:50:24.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-27T05:50:25.128Z] ========================================================= [2021-05-27T05:50:25.128Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-27T05:50:25.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:50:25.553Z] + 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-27T05:50:26.161Z] Sending build context to Docker daemon 2.614MB [2021-05-27T05:50:26.161Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-27T05:50:26.161Z] Step 2/8 : FROM ${BASE} [2021-05-27T05:50:26.445Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-27T05:50:26.445Z] 595b0fe564bb: Pulling fs layer [2021-05-27T05:50:26.445Z] 7186ed65a4f7: Pulling fs layer [2021-05-27T05:50:26.445Z] 316046926c0a: Pulling fs layer [2021-05-27T05:50:26.445Z] 4ebd0625c992: Pulling fs layer [2021-05-27T05:50:26.445Z] 207e8628e3a3: Pulling fs layer [2021-05-27T05:50:26.445Z] c791037a9be2: Pulling fs layer [2021-05-27T05:50:26.445Z] ffd874e62e21: Pulling fs layer [2021-05-27T05:50:26.445Z] 207e8628e3a3: Waiting [2021-05-27T05:50:26.445Z] ffd874e62e21: Waiting [2021-05-27T05:50:26.445Z] 4ebd0625c992: Waiting [2021-05-27T05:50:26.445Z] 316046926c0a: Verifying Checksum [2021-05-27T05:50:26.445Z] 316046926c0a: Download complete [2021-05-27T05:50:26.445Z] 7186ed65a4f7: Verifying Checksum [2021-05-27T05:50:26.445Z] 7186ed65a4f7: Download complete [2021-05-27T05:50:26.445Z] 207e8628e3a3: Download complete [2021-05-27T05:50:26.445Z] c791037a9be2: Download complete [2021-05-27T05:50:26.445Z] 595b0fe564bb: Verifying Checksum [2021-05-27T05:50:26.445Z] 595b0fe564bb: Download complete [2021-05-27T05:50:27.436Z] 595b0fe564bb: Pull complete [2021-05-27T05:50:27.851Z] gofmt -l . [2021-05-27T05:50:27.851Z] [ "`gofmt -l .`" = "" ] [2021-05-27T05:50:27.851Z] ./bin/test-attribution-txt.sh [2021-05-27T05:50:27.851Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-27T05:50:27.884Z] $ docker stop --time=1 d47498ff07580e4a4d2a448546813a0a3de766b7c0f54e2ade22291dda916e06 [2021-05-27T05:50:28.045Z] 7186ed65a4f7: Pull complete [2021-05-27T05:50:28.322Z] 316046926c0a: Pull complete [2021-05-27T05:50:28.919Z] ffd874e62e21: Verifying Checksum [2021-05-27T05:50:28.919Z] ffd874e62e21: Download complete [2021-05-27T05:50:29.344Z] $ docker rm -f d47498ff07580e4a4d2a448546813a0a3de766b7c0f54e2ade22291dda916e06 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-27T05:50:29.899Z] 4ebd0625c992: Verifying Checksum [2021-05-27T05:50:29.899Z] 4ebd0625c992: Download complete [2021-05-27T05:50:29.965Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-27T05:50:30.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-05-27T05:50:31.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-27T05:50:31.821Z] + ls -al . [2021-05-27T05:50:31.821Z] total 208 [2021-05-27T05:50:31.821Z] drwxrwxr-x. 10 jenkins jenkins 4096 May 27 05:50 . [2021-05-27T05:50:31.821Z] drwxrwxr-x. 4 jenkins jenkins 28 May 27 05:48 .. [2021-05-27T05:50:31.821Z] drwxrwxr-x. 2 jenkins jenkins 64 May 27 05:48 bin [2021-05-27T05:50:31.821Z] -rw-r--r--. 1 jenkins jenkins 126444 May 27 05:50 coverage.out [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 987 May 27 05:48 Dockerfile.build [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 140 May 27 05:48 .dockerignore [2021-05-27T05:50:31.821Z] drwxrwxr-x. 5 jenkins jenkins 62 May 27 05:48 example [2021-05-27T05:50:31.821Z] drwxrwxr-x. 8 jenkins jenkins 179 May 27 05:48 .git [2021-05-27T05:50:31.821Z] drwxrwxr-x. 2 jenkins jenkins 103 May 27 05:48 .github [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 138 May 27 05:48 .gitignore [2021-05-27T05:50:31.821Z] -rw-r--r--. 1 jenkins jenkins 575 May 27 05:50 go.mod [2021-05-27T05:50:31.821Z] -rw-r--r--. 1 jenkins jenkins 20381 May 27 05:49 go.sum [2021-05-27T05:50:31.821Z] drwxrwxr-x. 15 jenkins jenkins 224 May 27 05:48 internal [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 894 May 27 05:48 Jenkinsfile [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 11341 May 27 05:48 LICENSE [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 1026 May 27 05:48 Makefile [2021-05-27T05:50:31.821Z] drwxrwxr-x. 4 jenkins jenkins 26 May 27 05:48 openapi [2021-05-27T05:50:31.821Z] drwxrwxr-x. 5 jenkins jenkins 50 May 27 05:48 pkg [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 7652 May 27 05:48 README.md [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 6616 May 27 05:48 RELEASE-NOTES.txt [2021-05-27T05:50:31.821Z] drwxrwxr-x. 4 jenkins jenkins 54 May 27 05:48 snap [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 5 May 27 05:46 VERSION [2021-05-27T05:50:31.821Z] -rw-rw-r--. 1 jenkins jenkins 222 May 27 05:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:50:32.194Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a0faaf100a45f710ac8d37cc291467948e5b160e --label arch=amd64 --label version=0.0.0 . [2021-05-27T05:50:32.194Z] Sending build context to Docker daemon 2.745MB [2021-05-27T05:50:32.194Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-27T05:50:32.194Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-27T05:50:32.194Z] ---> a46da00fcade [2021-05-27T05:50:32.194Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-27T05:50:32.194Z] ---> Running in d359afe4613e [2021-05-27T05:50:32.454Z] Removing intermediate container d359afe4613e [2021-05-27T05:50:32.454Z] ---> 80fc114f5db9 [2021-05-27T05:50:32.454Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-27T05:50:32.454Z] ---> Running in 82e16b61bf60 [2021-05-27T05:50:32.454Z] Removing intermediate container 82e16b61bf60 [2021-05-27T05:50:32.454Z] ---> 6f8556af306e [2021-05-27T05:50:32.454Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-27T05:50:32.454Z] ---> Running in dd2edcc11a24 [2021-05-27T05:50:33.026Z] Removing intermediate container dd2edcc11a24 [2021-05-27T05:50:33.026Z] ---> 19b7252f7baa [2021-05-27T05:50:33.026Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-27T05:50:33.026Z] ---> Running in e7c78d6d8528 [2021-05-27T05:50:33.305Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-27T05:50:34.250Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-27T05:50:34.824Z] OK: 150 MiB in 46 packages [2021-05-27T05:50:34.824Z] Removing intermediate container e7c78d6d8528 [2021-05-27T05:50:34.824Z] ---> 312831619377 [2021-05-27T05:50:34.824Z] Step 7/23 : COPY . . [2021-05-27T05:50:35.412Z] ---> 2d96726accca [2021-05-27T05:50:35.412Z] Step 8/23 : RUN go mod download [2021-05-27T05:50:35.412Z] ---> Running in c91cfa8d6259 [2021-05-27T05:50:35.678Z] Removing intermediate container c91cfa8d6259 [2021-05-27T05:50:35.678Z] ---> d0d2ccb58911 [2021-05-27T05:50:35.678Z] Step 9/23 : RUN make build [2021-05-27T05:50:35.940Z] ---> Running in ce71ba739205 [2021-05-27T05:50:36.202Z] go mod tidy [2021-05-27T05:50:36.467Z] 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-27T05:50:42.318Z] 4ebd0625c992: Pull complete [2021-05-27T05:50:42.318Z] 207e8628e3a3: Pull complete [2021-05-27T05:50:42.318Z] c791037a9be2: Pull complete [2021-05-27T05:50:44.943Z] ffd874e62e21: Pull complete [2021-05-27T05:50:44.943Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-27T05:50:44.943Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-27T05:50:44.943Z] ---> cfc18b08335c [2021-05-27T05:50:44.943Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-27T05:50:46.561Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-27T05:50:46.927Z] ---> Running in 76f7403e7fda [2021-05-27T05:50:47.203Z] Removing intermediate container 76f7403e7fda [2021-05-27T05:50:47.203Z] ---> eefee123f3ee [2021-05-27T05:50:47.203Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-27T05:50:47.203Z] ---> Running in 07a169de3da9 [2021-05-27T05:50:47.950Z] Removing intermediate container ce71ba739205 [2021-05-27T05:50:47.950Z] ---> 40c4cf9ed6ac [2021-05-27T05:50:47.950Z] Step 10/23 : FROM alpine:3.12 [2021-05-27T05:50:48.210Z] 3.12: Pulling from library/alpine [2021-05-27T05:50:48.210Z] 339de151aab4: Pulling fs layer [2021-05-27T05:50:48.477Z] 339de151aab4: Verifying Checksum [2021-05-27T05:50:48.477Z] 339de151aab4: Download complete [2021-05-27T05:50:48.740Z] 339de151aab4: Pull complete [2021-05-27T05:50:48.740Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-27T05:50:48.740Z] Status: Downloaded newer image for alpine:3.12 [2021-05-27T05:50:48.740Z] ---> 13621d1b12d4 [2021-05-27T05:50:48.740Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-27T05:50:48.740Z] ---> Running in b2279bf0e9b0 [2021-05-27T05:50:48.740Z] Removing intermediate container b2279bf0e9b0 [2021-05-27T05:50:48.740Z] ---> b54645af6fff [2021-05-27T05:50:48.740Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-27T05:50:48.740Z] ---> Running in a93fb3bf123e [2021-05-27T05:50:49.328Z] Removing intermediate container a93fb3bf123e [2021-05-27T05:50:49.328Z] ---> 048b5d4ee495 [2021-05-27T05:50:49.328Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-27T05:50:49.328Z] ---> Running in cebd518c7e8f [2021-05-27T05:50:49.591Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-05-27T05:50:49.827Z] Removing intermediate container 07a169de3da9 [2021-05-27T05:50:49.827Z] ---> a05fc236fef6 [2021-05-27T05:50:49.827Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-05-27T05:50:49.827Z] ---> Running in 3f9fb19b5756 [2021-05-27T05:50:50.173Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-05-27T05:50:50.438Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-27T05:50:50.699Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-27T05:50:50.699Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-27T05:50:50.821Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-27T05:50:51.642Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-27T05:50:51.642Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-27T05:50:51.642Z] Executing busybox-1.31.1-r20.trigger [2021-05-27T05:50:51.642Z] OK: 8 MiB in 19 packages [2021-05-27T05:50:51.798Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-27T05:50:51.916Z] Removing intermediate container cebd518c7e8f [2021-05-27T05:50:51.916Z] ---> 18abd186dc29 [2021-05-27T05:50:51.916Z] Step 14/23 : WORKDIR / [2021-05-27T05:50:51.916Z] ---> Running in 107ff5e2fd1d [2021-05-27T05:50:52.186Z] Removing intermediate container 107ff5e2fd1d [2021-05-27T05:50:52.186Z] ---> 69af94cfbe15 [2021-05-27T05:50:52.186Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-27T05:50:52.186Z] ---> 2997bb515433 [2021-05-27T05:50:52.186Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-27T05:50:52.761Z] ---> f49014947584 [2021-05-27T05:50:52.761Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-27T05:50:52.776Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-05-27T05:50:52.776Z] (2/6) Installing libsodium (1.0.18-r0) [2021-05-27T05:50:52.776Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-05-27T05:50:53.023Z] ---> 86f5d48bbfe3 [2021-05-27T05:50:53.023Z] Step 18/23 : EXPOSE 59999 [2021-05-27T05:50:53.023Z] ---> Running in 966a3a5e952b [2021-05-27T05:50:53.023Z] Removing intermediate container 966a3a5e952b [2021-05-27T05:50:53.023Z] ---> 0bcdeababdd0 [2021-05-27T05:50:53.023Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-27T05:50:53.047Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-05-27T05:50:53.047Z] (5/6) Installing libzmq (4.3.3-r1) [2021-05-27T05:50:53.291Z] ---> Running in 151612835d69 [2021-05-27T05:50:53.291Z] Removing intermediate container 151612835d69 [2021-05-27T05:50:53.291Z] ---> 0132857697e2 [2021-05-27T05:50:53.291Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-27T05:50:53.291Z] ---> Running in 4558f2230856 [2021-05-27T05:50:53.291Z] Removing intermediate container 4558f2230856 [2021-05-27T05:50:53.291Z] ---> 0c18ebb0852c [2021-05-27T05:50:53.291Z] Step 21/23 : LABEL arch=amd64 [2021-05-27T05:50:53.291Z] ---> Running in 035437f01e5c [2021-05-27T05:50:53.320Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-05-27T05:50:53.320Z] Executing busybox-1.32.1-r6.trigger [2021-05-27T05:50:53.320Z] OK: 139 MiB in 46 packages [2021-05-27T05:50:53.554Z] Removing intermediate container 035437f01e5c [2021-05-27T05:50:53.554Z] ---> 14965baa923f [2021-05-27T05:50:53.554Z] Step 22/23 : LABEL git_sha=a0faaf100a45f710ac8d37cc291467948e5b160e [2021-05-27T05:50:53.554Z] ---> Running in 2f44a52d1619 [2021-05-27T05:50:53.554Z] Removing intermediate container 2f44a52d1619 [2021-05-27T05:50:53.554Z] ---> de3be41780d5 [2021-05-27T05:50:53.554Z] Step 23/23 : LABEL version=0.0.0 [2021-05-27T05:50:53.816Z] ---> Running in 1a9e4d87c504 [2021-05-27T05:50:53.816Z] Removing intermediate container 1a9e4d87c504 [2021-05-27T05:50:53.816Z] ---> f221cc43bb97 [2021-05-27T05:50:53.816Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-05-27T05:50:53.816Z] Successfully built f221cc43bb97 [2021-05-27T05:50:53.816Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:50:54.738Z] ---> job-cost.sh [2021-05-27T05:50:54.738Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-6IM3 [2021-05-27T05:50:54.776Z] Removing intermediate container 3f9fb19b5756 [2021-05-27T05:50:54.776Z] ---> b132af33c0cc [2021-05-27T05:50:54.776Z] Step 6/8 : WORKDIR /device-sdk-go [2021-05-27T05:50:54.776Z] ---> Running in 9884fae708a0 [2021-05-27T05:50:55.382Z] Removing intermediate container 9884fae708a0 [2021-05-27T05:50:55.382Z] ---> 292ec8512138 [2021-05-27T05:50:55.382Z] Step 7/8 : COPY . . [2021-05-27T05:50:56.827Z] ---> 7846284562b5 [2021-05-27T05:50:56.827Z] Step 8/8 : RUN go mod download [2021-05-27T05:50:56.827Z] ---> Running in 785f069f7ad7 [2021-05-27T05:51:04.810Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-27T05:51:19.781Z] lf-activate-venv(): INFO: Adding /tmp/venv-6IM3/bin to PATH [2021-05-27T05:51:19.781Z] INFO: No Stack... [2021-05-27T05:51:19.781Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-27T05:51:19.781Z] INFO: Archiving Costs [Pipeline] sh [2021-05-27T05:51:20.114Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-05-27T05:51:20.114Z] + cut -d, -f6 [Pipeline] lock [2021-05-27T05:51:20.185Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] [2021-05-27T05:51:20.192Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] did not exist. Created. [2021-05-27T05:51:20.192Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-27T05:51:20.651Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-27T05:51:20.752Z] Stashed 1 file(s) [Pipeline] } [2021-05-27T05:51:20.773Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-27T05:51:24.355Z] Removing intermediate container 785f069f7ad7 [2021-05-27T05:51:24.355Z] ---> 2fa5ec999237 [2021-05-27T05:51:24.355Z] Successfully built 2fa5ec999237 [2021-05-27T05:51:24.355Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:51:24.746Z] + docker inspect -f . ci-base-image-arm64 [2021-05-27T05:51:24.746Z] . [Pipeline] withDockerContainer [2021-05-27T05:51:25.048Z] prd-ubuntu18.04-docker-arm64-4c-16g-594 does not seem to be running inside a container [2021-05-27T05:51:25.164Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-27T05:51:26.768Z] $ docker top 7a8fdb9239383bfe22cb3efc4e12b1de51ad10785ebc2b11fc371541a71f3ac1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-27T05:51:27.819Z] + go version [2021-05-27T05:51:27.820Z] go version go1.16.3 linux/arm64 [Pipeline] } [2021-05-27T05:51:27.865Z] $ docker stop --time=1 7a8fdb9239383bfe22cb3efc4e12b1de51ad10785ebc2b11fc371541a71f3ac1 [2021-05-27T05:51:29.704Z] $ docker rm -f 7a8fdb9239383bfe22cb3efc4e12b1de51ad10785ebc2b11fc371541a71f3ac1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:51:30.655Z] + docker inspect -f . ci-base-image-arm64 [2021-05-27T05:51:30.655Z] . [Pipeline] withDockerContainer [2021-05-27T05:51:30.941Z] prd-ubuntu18.04-docker-arm64-4c-16g-594 does not seem to be running inside a container [2021-05-27T05:51:31.045Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-05-27T05:51:32.645Z] $ docker top d977b866d3b4502041040a509f37adc5d5a3717b54ddfc062ceccb9e9cf645ab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-27T05:51:33.652Z] + go mod tidy [Pipeline] sh [2021-05-27T05:51:34.938Z] + make test [2021-05-27T05:51:34.938Z] go mod tidy [2021-05-27T05:51:35.535Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-05-27T05:51:57.719Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-05-27T05:53:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-05-27T05:53:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-05-27T05:53:05.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-05-27T05:53:12.585Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.329s coverage: 25.4% of statements [2021-05-27T05:53:12.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-05-27T05:53:12.585Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.203s coverage: 28.1% of statements [2021-05-27T05:53:12.585Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.224s coverage: 78.9% of statements [2021-05-27T05:53:12.585Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.290s coverage: 9.0% of statements [2021-05-27T05:53:12.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-05-27T05:53:12.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-05-27T05:53:12.585Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-05-27T05:53:14.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.255s coverage: 30.2% of statements [2021-05-27T05:53:14.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-05-27T05:53:15.196Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.224s coverage: 83.3% of statements [2021-05-27T05:53:15.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-05-27T05:53:15.196Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-05-27T05:53:17.208Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.489s coverage: 58.0% of statements [2021-05-27T05:53:19.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.187s coverage: 89.2% of statements [2021-05-27T05:53:19.199Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-05-27T05:53:19.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.177s coverage: 5.0% of statements [2021-05-27T05:53:19.199Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-05-27T05:53:19.809Z] GO111MODULE=on go vet ./... [2021-05-27T05:54:16.475Z] gofmt -l . [2021-05-27T05:54:16.475Z] [ "`gofmt -l .`" = "" ] [2021-05-27T05:54:17.075Z] ./bin/test-attribution-txt.sh [2021-05-27T05:54:19.049Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-05-27T05:54:19.367Z] $ docker stop --time=1 d977b866d3b4502041040a509f37adc5d5a3717b54ddfc062ceccb9e9cf645ab [2021-05-27T05:54:21.478Z] $ docker rm -f d977b866d3b4502041040a509f37adc5d5a3717b54ddfc062ceccb9e9cf645ab [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-27T05:54:22.632Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-05-27T05:54:22.675Z] Warning: overwriting stash ‘coverage-report’ [2021-05-27T05:54:23.293Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-27T05:54:23.964Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-05-27T05:54:24.332Z] + ls -al . [2021-05-27T05:54:24.332Z] total 244 [2021-05-27T05:54:24.332Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 05:54 . [2021-05-27T05:54:24.332Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 05:49 .. [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 05:49 .dockerignore [2021-05-27T05:54:24.332Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 05:49 .git [2021-05-27T05:54:24.332Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 05:49 .github [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 138 May 27 05:49 .gitignore [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 987 May 27 05:49 Dockerfile.build [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 894 May 27 05:49 Jenkinsfile [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 27 05:49 LICENSE [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 1026 May 27 05:49 Makefile [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 7652 May 27 05:49 README.md [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 6616 May 27 05:49 RELEASE-NOTES.txt [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 5 May 27 05:46 VERSION [2021-05-27T05:54:24.332Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 05:49 bin [2021-05-27T05:54:24.332Z] -rw-r--r-- 1 jenkins jenkins 126444 May 27 05:53 coverage.out [2021-05-27T05:54:24.332Z] drwxrwxr-x 5 jenkins jenkins 4096 May 27 05:49 example [2021-05-27T05:54:24.332Z] -rw-r--r-- 1 jenkins jenkins 575 May 27 05:54 go.mod [2021-05-27T05:54:24.332Z] -rw-r--r-- 1 jenkins jenkins 20381 May 27 05:51 go.sum [2021-05-27T05:54:24.332Z] drwxrwxr-x 15 jenkins jenkins 4096 May 27 05:49 internal [2021-05-27T05:54:24.332Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 05:49 openapi [2021-05-27T05:54:24.332Z] drwxrwxr-x 5 jenkins jenkins 4096 May 27 05:49 pkg [2021-05-27T05:54:24.332Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 05:49 snap [2021-05-27T05:54:24.332Z] -rw-rw-r-- 1 jenkins jenkins 222 May 27 05:49 version.go [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:54:24.706Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a0faaf100a45f710ac8d37cc291467948e5b160e --label arch=arm64 --label version=0.0.0 . [2021-05-27T05:54:25.304Z] Sending build context to Docker daemon 2.741MB [2021-05-27T05:54:25.304Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-05-27T05:54:25.304Z] Step 2/23 : FROM ${BASE} AS builder [2021-05-27T05:54:25.304Z] ---> 2fa5ec999237 [2021-05-27T05:54:25.304Z] Step 3/23 : WORKDIR /device-sdk-go [2021-05-27T05:54:25.583Z] ---> Running in 0dc5719e9558 [2021-05-27T05:54:26.178Z] Removing intermediate container 0dc5719e9558 [2021-05-27T05:54:26.178Z] ---> 6bf54fa94a48 [2021-05-27T05:54:26.178Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-27T05:54:26.178Z] ---> Running in d2d2a157041e [2021-05-27T05:54:26.772Z] Removing intermediate container d2d2a157041e [2021-05-27T05:54:26.772Z] ---> 5fcc9435052d [2021-05-27T05:54:26.772Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-27T05:54:26.772Z] ---> Running in d37401eaa3f4 [2021-05-27T05:54:28.776Z] Removing intermediate container d37401eaa3f4 [2021-05-27T05:54:28.776Z] ---> 03c9aa49f9b2 [2021-05-27T05:54:28.776Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-05-27T05:54:29.049Z] ---> Running in 166d3172a09e [2021-05-27T05:54:30.046Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-27T05:54:31.019Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-27T05:54:31.999Z] OK: 139 MiB in 46 packages [2021-05-27T05:54:32.987Z] Removing intermediate container 166d3172a09e [2021-05-27T05:54:32.987Z] ---> b2a988b19eaa [2021-05-27T05:54:32.987Z] Step 7/23 : COPY . . [2021-05-27T05:54:34.431Z] ---> 2dfe37253009 [2021-05-27T05:54:34.431Z] Step 8/23 : RUN go mod download [2021-05-27T05:54:34.705Z] ---> Running in 58191b813deb [2021-05-27T05:54:37.330Z] Removing intermediate container 58191b813deb [2021-05-27T05:54:37.330Z] ---> ab28eca93dbc [2021-05-27T05:54:37.330Z] Step 9/23 : RUN make build [2021-05-27T05:54:37.330Z] ---> Running in 2f28d004f39f [2021-05-27T05:54:38.314Z] go mod tidy [2021-05-27T05:54:38.587Z] 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-27T05:55:11.602Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-05-27T05:55:14.974Z] Removing intermediate container 2f28d004f39f [2021-05-27T05:55:14.974Z] ---> 779472df36f7 [2021-05-27T05:55:14.974Z] Step 10/23 : FROM alpine:3.12 [2021-05-27T05:55:15.569Z] 3.12: Pulling from library/alpine [2021-05-27T05:55:15.569Z] d2f70382dc9a: Pulling fs layer [2021-05-27T05:55:15.842Z] d2f70382dc9a: Download complete [2021-05-27T05:55:16.437Z] d2f70382dc9a: Pull complete [2021-05-27T05:55:16.437Z] Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad [2021-05-27T05:55:16.437Z] Status: Downloaded newer image for alpine:3.12 [2021-05-27T05:55:16.716Z] ---> 9852663dfa18 [2021-05-27T05:55:16.716Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-05-27T05:55:16.716Z] ---> Running in 3b2c0e767d11 [2021-05-27T05:55:17.340Z] Removing intermediate container 3b2c0e767d11 [2021-05-27T05:55:17.340Z] ---> 4b2deafd9666 [2021-05-27T05:55:17.340Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-27T05:55:17.340Z] ---> Running in 3fe4c133f6bb [2021-05-27T05:55:19.955Z] Removing intermediate container 3fe4c133f6bb [2021-05-27T05:55:19.956Z] ---> 135f9c871860 [2021-05-27T05:55:19.956Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-05-27T05:55:19.956Z] ---> Running in 49cf591b4cd6 [2021-05-27T05:55:20.946Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-05-27T05:55:21.540Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-05-27T05:55:22.518Z] (1/5) Installing libgcc (9.3.0-r2) [2021-05-27T05:55:22.518Z] (2/5) Installing libsodium (1.0.18-r0) [2021-05-27T05:55:22.518Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-05-27T05:55:22.792Z] (4/5) Installing libzmq (4.3.3-r0) [2021-05-27T05:55:23.074Z] (5/5) Installing zeromq (4.3.3-r0) [2021-05-27T05:55:23.074Z] Executing busybox-1.31.1-r20.trigger [2021-05-27T05:55:23.074Z] OK: 8 MiB in 19 packages [2021-05-27T05:55:24.097Z] Removing intermediate container 49cf591b4cd6 [2021-05-27T05:55:24.097Z] ---> 2fc5d0a70779 [2021-05-27T05:55:24.097Z] Step 14/23 : WORKDIR / [2021-05-27T05:55:24.097Z] ---> Running in 6d70d20e1931 [2021-05-27T05:55:24.720Z] Removing intermediate container 6d70d20e1931 [2021-05-27T05:55:24.720Z] ---> 10b347550131 [2021-05-27T05:55:24.720Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-05-27T05:55:25.312Z] ---> dc0ed342a947 [2021-05-27T05:55:25.312Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-05-27T05:55:26.763Z] ---> 4abb3af388c7 [2021-05-27T05:55:26.763Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-05-27T05:55:27.739Z] ---> 002fddbb9814 [2021-05-27T05:55:27.739Z] Step 18/23 : EXPOSE 59999 [2021-05-27T05:55:27.739Z] ---> Running in ac9813beff6c [2021-05-27T05:55:28.017Z] Removing intermediate container ac9813beff6c [2021-05-27T05:55:28.017Z] ---> 57215c16d885 [2021-05-27T05:55:28.017Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-05-27T05:55:28.292Z] ---> Running in 1bf33e3b6b3e [2021-05-27T05:55:28.920Z] Removing intermediate container 1bf33e3b6b3e [2021-05-27T05:55:28.920Z] ---> a2c544ad6a3f [2021-05-27T05:55:28.920Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-05-27T05:55:28.920Z] ---> Running in d78254c54c03 [2021-05-27T05:55:29.518Z] Removing intermediate container d78254c54c03 [2021-05-27T05:55:29.518Z] ---> abb53f3b62f6 [2021-05-27T05:55:29.518Z] Step 21/23 : LABEL arch=arm64 [2021-05-27T05:55:29.518Z] ---> Running in a537c1af4095 [2021-05-27T05:55:30.112Z] Removing intermediate container a537c1af4095 [2021-05-27T05:55:30.112Z] ---> 47b8f0a4edd3 [2021-05-27T05:55:30.112Z] Step 22/23 : LABEL git_sha=a0faaf100a45f710ac8d37cc291467948e5b160e [2021-05-27T05:55:30.112Z] ---> Running in 672274a05a35 [2021-05-27T05:55:30.711Z] Removing intermediate container 672274a05a35 [2021-05-27T05:55:30.711Z] ---> 9f99c1ba5c92 [2021-05-27T05:55:30.711Z] Step 23/23 : LABEL version=0.0.0 [2021-05-27T05:55:30.711Z] ---> Running in f2039ad49a4f [2021-05-27T05:55:31.309Z] Removing intermediate container f2039ad49a4f [2021-05-27T05:55:31.309Z] ---> 677c34f4110e [2021-05-27T05:55:31.309Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-05-27T05:55:31.309Z] Successfully built 677c34f4110e [2021-05-27T05:55:31.309Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:55:32.208Z] ---> job-cost.sh [2021-05-27T05:55:32.208Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-EI7Z [2021-05-27T05:56:19.272Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-27T05:57:56.035Z] lf-activate-venv(): INFO: Adding /tmp/venv-EI7Z/bin to PATH [2021-05-27T05:57:56.035Z] INFO: No Stack... [2021-05-27T05:57:56.035Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-27T05:57:56.035Z] INFO: Archiving Costs [Pipeline] sh [2021-05-27T05:57:56.404Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csvcut [2021-05-27T05:57:56.404Z] -d, -f6 [Pipeline] lock [2021-05-27T05:57:56.506Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] [2021-05-27T05:57:56.512Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] did not exist. Created. [2021-05-27T05:57:56.512Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-947-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-27T05:57:56.949Z] /w/workspace/device-sdk-go/1@tmp/durable-58f95812/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-58f95812/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-05-27T05:57:57.319Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-27T05:57:57.359Z] Warning: overwriting stash ‘stack-cost’ [2021-05-27T05:57:57.518Z] Stashed 1 file(s) [Pipeline] } [2021-05-27T05:57:57.537Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-947-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] configFileProvider [2021-05-27T05:57:58.438Z] provisioning config files... [2021-05-27T05:57:58.448Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/config5105788945611183662tmp [Pipeline] { [Pipeline] sh [2021-05-27T05:57:58.807Z] + set +x [2021-05-27T05:57:58.807Z] + curl -s https://codecov.io/bash [2021-05-27T05:57:58.807Z] + bash -s -- [2021-05-27T05:57:58.807Z] [2021-05-27T05:57:58.807Z] _____ _ [2021-05-27T05:57:58.807Z] / ____| | | [2021-05-27T05:57:58.807Z] | | ___ __| | ___ ___ _____ __ [2021-05-27T05:57:58.807Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-05-27T05:57:58.807Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-05-27T05:57:58.807Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-05-27T05:57:58.807Z] Bash-1.0.3 [2021-05-27T05:57:58.807Z] [2021-05-27T05:57:58.807Z] [2021-05-27T05:57:58.807Z] ==> git version 2.24.4 found [2021-05-27T05:57:58.807Z] ==> 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-27T05:57:58.807Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-05-27T05:57:58.807Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-05-27T05:57:58.807Z] ==> Jenkins CI detected. [2021-05-27T05:57:58.807Z] project root: . [2021-05-27T05:57:58.807Z] --> token set from env [2021-05-27T05:57:58.807Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-05-27T05:57:58.807Z] ==> Running gcov in . (disable via -X gcov) [2021-05-27T05:57:58.807Z] ==> Python coveragepy not found [2021-05-27T05:57:58.807Z] ==> Searching for coverage reports in: [2021-05-27T05:57:58.807Z] + . [2021-05-27T05:57:59.071Z] -> Found 1 reports [2021-05-27T05:57:59.071Z] ==> Detecting git/mercurial file structure [2021-05-27T05:57:59.071Z] ==> Reading reports [2021-05-27T05:57:59.071Z] + ./coverage.out bytes=126444 [2021-05-27T05:57:59.071Z] ==> Appending adjustments [2021-05-27T05:57:59.071Z] https://docs.codecov.io/docs/fixing-reports [2021-05-27T05:57:59.334Z] + Found adjustments [2021-05-27T05:57:59.334Z] ==> Gzipping contents [2021-05-27T05:57:59.334Z] 20K /tmp/codecov.khupaU.gz [2021-05-27T05:57:59.334Z] ==> Uploading reports [2021-05-27T05:57:59.334Z] url: https://codecov.io [2021-05-27T05:57:59.334Z] query: branch=PR-947&commit=a0faaf100a45f710ac8d37cc291467948e5b160e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-947%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=947&job=&cmd_args= [2021-05-27T05:57:59.334Z] -> Pinging Codecov [2021-05-27T05:57:59.334Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-947&commit=a0faaf100a45f710ac8d37cc291467948e5b160e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-947%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=947&job=&cmd_args= [2021-05-27T05:57:59.908Z] -> Uploading to [2021-05-27T05:57:59.908Z] https://storage.googleapis.com/codecov/v4/raw/2021-05-27/7E55EF52A471D76F132DFD9A03CDDE97/a0faaf100a45f710ac8d37cc291467948e5b160e/8ea38281-67b9-45ca-9297-eb17f00b43a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210527%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210527T055759Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=55ff36e39afe51cdf1f7d4658a16646e83fd9e43ece83c7aa7bb72817082a4bb [2021-05-27T05:57:59.908Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-05-27T05:57:59.908Z] Dload Upload Total Spent Left Speed [2021-05-27T05:58:00.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16480 0 0 100 16480 0 34634 --:--:-- --:--:-- --:--:-- 34694 [2021-05-27T05:58:00.170Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a0faaf100a45f710ac8d37cc291467948e5b160e [Pipeline] } [2021-05-27T05:58:00.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [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-27T05:58:02.112Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:58:02.727Z] ---> package-listing.sh [2021-05-27T05:58:02.727Z] ++ facter osfamily [2021-05-27T05:58:02.727Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-27T05:58:02.998Z] + OS_FAMILY=redhat [2021-05-27T05:58:02.998Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-947 [2021-05-27T05:58:02.998Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-27T05:58:02.998Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-27T05:58:02.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-27T05:58:02.998Z] + PACKAGES=/tmp/packages_start.txt [2021-05-27T05:58:02.998Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-947 ']' [2021-05-27T05:58:02.998Z] + PACKAGES=/tmp/packages_end.txt [2021-05-27T05:58:02.998Z] + case "${OS_FAMILY}" in [2021-05-27T05:58:02.998Z] + rpm -qa [2021-05-27T05:58:02.998Z] + sort [2021-05-27T05:58:03.580Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-27T05:58:03.580Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-27T05:58:03.580Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-27T05:58:03.580Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-947 ']' [2021-05-27T05:58:03.580Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-947/archives/ [2021-05-27T05:58:03.580Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-947/archives/ [Pipeline] echo [2021-05-27T05:58:03.618Z] 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-947/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-27T05:58:03.926Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:58:04.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-27T05:58:04.528Z] [2021-05-27T05:58:04.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-27T05:58:04.881Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-27T05:58:04.882Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-27T05:58:04.882Z] df20fa9351a1: Pulling fs layer [2021-05-27T05:58:04.882Z] 36b3adc4ff6f: Pulling fs layer [2021-05-27T05:58:04.882Z] 8ad3a11d3b57: Pulling fs layer [2021-05-27T05:58:04.882Z] 46f8f816bc3b: Pulling fs layer [2021-05-27T05:58:04.882Z] 93b61091891f: Pulling fs layer [2021-05-27T05:58:04.882Z] 93b9cdb0e59b: Pulling fs layer [2021-05-27T05:58:04.882Z] 5e14af77c1be: Pulling fs layer [2021-05-27T05:58:04.882Z] 01666e4c0597: Pulling fs layer [2021-05-27T05:58:04.882Z] aa168da1d23b: Pulling fs layer [2021-05-27T05:58:04.882Z] 93b9cdb0e59b: Waiting [2021-05-27T05:58:04.882Z] 5e14af77c1be: Waiting [2021-05-27T05:58:04.882Z] 01666e4c0597: Waiting [2021-05-27T05:58:04.882Z] aa168da1d23b: Waiting [2021-05-27T05:58:04.882Z] 46f8f816bc3b: Waiting [2021-05-27T05:58:04.882Z] 93b61091891f: Waiting [2021-05-27T05:58:04.882Z] 36b3adc4ff6f: Verifying Checksum [2021-05-27T05:58:04.882Z] 36b3adc4ff6f: Download complete [2021-05-27T05:58:04.882Z] 46f8f816bc3b: Verifying Checksum [2021-05-27T05:58:04.882Z] 46f8f816bc3b: Download complete [2021-05-27T05:58:05.143Z] df20fa9351a1: Verifying Checksum [2021-05-27T05:58:05.143Z] df20fa9351a1: Download complete [2021-05-27T05:58:05.143Z] 93b9cdb0e59b: Verifying Checksum [2021-05-27T05:58:05.143Z] 93b9cdb0e59b: Download complete [2021-05-27T05:58:05.143Z] 5e14af77c1be: Download complete [2021-05-27T05:58:05.143Z] 93b61091891f: Verifying Checksum [2021-05-27T05:58:05.143Z] 93b61091891f: Download complete [2021-05-27T05:58:05.143Z] 01666e4c0597: Verifying Checksum [2021-05-27T05:58:05.143Z] 01666e4c0597: Download complete [2021-05-27T05:58:05.143Z] 8ad3a11d3b57: Verifying Checksum [2021-05-27T05:58:05.143Z] 8ad3a11d3b57: Download complete [2021-05-27T05:58:05.407Z] df20fa9351a1: Pull complete [2021-05-27T05:58:05.407Z] 36b3adc4ff6f: Pull complete [2021-05-27T05:58:06.363Z] 8ad3a11d3b57: Pull complete [2021-05-27T05:58:06.363Z] 46f8f816bc3b: Pull complete [2021-05-27T05:58:06.626Z] 93b61091891f: Pull complete [2021-05-27T05:58:06.894Z] 93b9cdb0e59b: Pull complete [2021-05-27T05:58:06.894Z] 5e14af77c1be: Pull complete [2021-05-27T05:58:07.166Z] 01666e4c0597: Pull complete [2021-05-27T05:58:07.166Z] aa168da1d23b: Verifying Checksum [2021-05-27T05:58:07.166Z] aa168da1d23b: Download complete [2021-05-27T05:58:12.523Z] aa168da1d23b: Pull complete [2021-05-27T05:58:12.523Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-27T05:58:12.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-27T05:58:12.523Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-27T05:58:12.666Z] prd-centos7-docker-4c-2g-589 does not seem to be running inside a container [2021-05-27T05:58:12.705Z] $ 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-947/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-947 -v /w/workspace/dgexfoundry_device-sdk-go_PR-947:/w/workspace/dgexfoundry_device-sdk-go_PR-947:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-27T05:58:23.849Z] $ docker top 9569ba4fed4c7c655512fdd05edfd4cdf2bca69aae68fc43f9aa61534a153f60 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-27T05:58:24.290Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-27T05:58:24.608Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-27T05:58:24.929Z] + ls /var/log/sa-host [2021-05-27T05:58:24.930Z] + sadf -c /var/log/sa-host/sa05 [2021-05-27T05:58:24.930Z] file_magic: OK [2021-05-27T05:58:24.930Z] HZ: Using current value: 100 [2021-05-27T05:58:24.930Z] file_header: OK [2021-05-27T05:58:24.930Z] 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-27T05:58:24.930Z] Statistics: [2021-05-27T05:58:24.930Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-27T05:58:24.930Z] File successfully converted to sysstat format version 12.2.1 [2021-05-27T05:58:24.930Z] + sadf -c /var/log/sa-host/sa27 [2021-05-27T05:58:24.930Z] file_magic: OK [2021-05-27T05:58:24.930Z] HZ: Using current value: 100 [2021-05-27T05:58:24.930Z] file_header: OK [2021-05-27T05:58:24.930Z] 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-27T05:58:24.930Z] Statistics: [2021-05-27T05:58:24.930Z] 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-27T05:58:24.930Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-27T05:58:25.307Z] provisioning config files... [2021-05-27T05:58:25.323Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-947@tmp/config533042688926380393tmp [Pipeline] { [Pipeline] echo [2021-05-27T05:58:25.373Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:58:25.703Z] ---> create-netrc.sh [Pipeline] } [2021-05-27T05:58:25.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-27T05:58:25.816Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:58:26.155Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-27T05:58:26.187Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:58:26.527Z] ---> sudo-logs.sh [2021-05-27T05:58:26.527Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-27T05:58:26.604Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:58:26.936Z] ---> job-cost.sh [2021-05-27T05:58:26.936Z] lf-activate-venv: SKIPPING [2021-05-27T05:58:26.936Z] DEBUG: total: 0.18000000715255737 [2021-05-27T05:58:26.936Z] INFO: Retrieving Stack Cost... [2021-05-27T05:58:27.879Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-27T05:58:28.455Z] INFO: Archiving Costs [Pipeline] echo [2021-05-27T05:58:28.488Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-27T05:58:28.832Z] ---> logs-deploy.sh [2021-05-27T05:58:28.832Z] lf-activate-venv: SKIPPING [2021-05-27T05:58:28.832Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-947/1 [2021-05-27T05:58:28.832Z] INFO: archiving workspace using pattern(s): [2021-05-27T05:58:29.780Z] Archives upload complete. [2021-05-27T05:58:29.780Z] INFO: archiving logs to Nexus