Pull request #1056 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0ea57342c624bee91335f4cb6d1021054e409bb+555c3bb6a6e69767d223739ff73f88b00326690d (a9260efdf92ca0e0a478f873c4712632a51c35d2) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6687548889321203968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh620487646190164392.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-1056/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1056/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3962732606493647864.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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1056/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7061563659881962311.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9038906689125390523.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-1056/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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1056/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5767884970568281424.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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/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 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27892’ Running on prd-centos7-docker-4c-2g-27895 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [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/gexfoundry_device-sdk-go_PR-1056 # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/jenkins-gitclient-ssh4481086950335711453.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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/jenkins-gitclient-ssh7869430489834740876.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb Merge succeeded, producing a0ea57342c624bee91335f4cb6d1021054e409bb Checking out Revision a0ea57342c624bee91335f4cb6d1021054e409bb (PR-1056) > git config core.sparsecheckout # timeout=10 > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/jenkins-gitclient-ssh8692812058950435756.key > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-08T04:13:05.152Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-08T04:13:05.287Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-08T04:13:05.372Z] ========================================================= [2021-11-08T04:13:05.372Z] EdgeX Global Pipelines Version Info [2021-11-08T04:13:05.372Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:13:06.684Z] ------------------- [2021-11-08T04:13:06.684Z] stable info: [2021-11-08T04:13:06.684Z] ------------------- [2021-11-08T04:13:06.684Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-08T04:13:06.684Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-08T04:13:06.684Z] Message: update stable to v1.0.211 [2021-11-08T04:13:07.259Z] ------------------- [2021-11-08T04:13:07.259Z] experimental info: [2021-11-08T04:13:07.259Z] ------------------- [2021-11-08T04:13:07.259Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-08T04:13:07.259Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-08T04:13:07.259Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-08T04:13:07.420Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-08T04:13:07.463Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-08T04:13:07.497Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-08T04:13:07.536Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-08T04:13:07.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-08T04:13:07.607Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-08T04:13:07.647Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-08T04:13:07.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-08T04:13:07.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-08T04:13:07.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-08T04:13:07.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-08T04:13:07.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-08T04:13:07.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-08T04:13:07.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-08T04:13:07.944Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-08T04:13:07.980Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T04:13:08.018Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T04:13:08.056Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-08T04:13:08.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-08T04:13:08.129Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-08T04:13:08.171Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-08T04:13:08.209Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-08T04:13:08.247Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-08T04:13:08.284Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-08T04:13:08.325Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-08T04:13:08.364Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-08T04:13:08.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1056 [Pipeline] echo [2021-11-08T04:13:08.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1056 [Pipeline] echo [2021-11-08T04:13:08.468Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1056 [Pipeline] echo [2021-11-08T04:13:08.504Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0ea57342c624bee91335f4cb6d1021054e409bb [Pipeline] echo [2021-11-08T04:13:08.542Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0ea573 [Pipeline] echo [2021-11-08T04:13:08.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T04:13:08.674Z] provisioning config files... [2021-11-08T04:13:08.693Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/config4080237657160557389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:13:09.057Z] ---> docker-login.sh [2021-11-08T04:13:09.057Z] nexus3.edgexfoundry.org:10001 [2021-11-08T04:13:09.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:13:09.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:13:09.325Z] Configure a credential helper to remove this warning. See [2021-11-08T04:13:09.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:13:09.325Z] [2021-11-08T04:13:09.325Z] Login Succeeded [2021-11-08T04:13:09.325Z] nexus3.edgexfoundry.org:10002 [2021-11-08T04:13:09.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:13:09.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:13:09.325Z] Configure a credential helper to remove this warning. See [2021-11-08T04:13:09.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:13:09.325Z] [2021-11-08T04:13:09.325Z] Login Succeeded [2021-11-08T04:13:09.325Z] nexus3.edgexfoundry.org:10003 [2021-11-08T04:13:09.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:13:09.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:13:09.589Z] Configure a credential helper to remove this warning. See [2021-11-08T04:13:09.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:13:09.589Z] [2021-11-08T04:13:09.589Z] Login Succeeded [2021-11-08T04:13:09.589Z] nexus3.edgexfoundry.org:10004 [2021-11-08T04:13:09.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:13:09.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:13:09.589Z] Configure a credential helper to remove this warning. See [2021-11-08T04:13:09.589Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:13:09.589Z] [2021-11-08T04:13:09.589Z] Login Succeeded [2021-11-08T04:13:09.589Z] docker.io [2021-11-08T04:13:09.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:13:10.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:13:10.117Z] Configure a credential helper to remove this warning. See [2021-11-08T04:13:10.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:13:10.117Z] [2021-11-08T04:13:10.117Z] Login Succeeded [2021-11-08T04:13:10.117Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T04:13:10.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-08T04:13:10.767Z] + git rev-list -1 --merges a0ea57342c624bee91335f4cb6d1021054e409bb~1..a0ea57342c624bee91335f4cb6d1021054e409bb [Pipeline] echo [2021-11-08T04:13:10.817Z] -----------> git rev-list -1 --merges a0ea57342c624bee91335f4cb6d1021054e409bb~1..a0ea57342c624bee91335f4cb6d1021054e409bb a0ea57342c624bee91335f4cb6d1021054e409bb [false] [Pipeline] sh [2021-11-08T04:13:11.130Z] + git log --format=format:%s -1 a0ea57342c624bee91335f4cb6d1021054e409bb [Pipeline] echo [2021-11-08T04:13:11.165Z] ========================================================= [2021-11-08T04:13:11.165Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-08T04:13:11.165Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T04:13:11.571Z] + git log --format=format:%s -1 a0ea57342c624bee91335f4cb6d1021054e409bb [Pipeline] echo [2021-11-08T04:13:11.601Z] [semverPrep] GIT_COMMIT: a0ea57342c624bee91335f4cb6d1021054e409bb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2021-11-08T04:13:11.629Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:13:12.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T04:13:12.149Z] [2021-11-08T04:13:12.149Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:13:12.499Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T04:13:12.499Z] latest: Pulling from edgex-devops/git-semver [2021-11-08T04:13:12.499Z] a0d0a0d46f8b: Pulling fs layer [2021-11-08T04:13:12.499Z] 3e5f54012d9b: Pulling fs layer [2021-11-08T04:13:12.499Z] 4c7163046ea9: Pulling fs layer [2021-11-08T04:13:12.499Z] 0c2d73faf560: Pulling fs layer [2021-11-08T04:13:12.499Z] 0c2d73faf560: Waiting [2021-11-08T04:13:12.499Z] 3e5f54012d9b: Download complete [2021-11-08T04:13:12.499Z] a0d0a0d46f8b: Verifying Checksum [2021-11-08T04:13:12.499Z] a0d0a0d46f8b: Download complete [2021-11-08T04:13:12.499Z] 0c2d73faf560: Verifying Checksum [2021-11-08T04:13:12.499Z] 0c2d73faf560: Download complete [2021-11-08T04:13:12.499Z] 4c7163046ea9: Verifying Checksum [2021-11-08T04:13:12.499Z] 4c7163046ea9: Download complete [2021-11-08T04:13:12.772Z] a0d0a0d46f8b: Pull complete [2021-11-08T04:13:12.772Z] 3e5f54012d9b: Pull complete [2021-11-08T04:13:13.040Z] 4c7163046ea9: Pull complete [2021-11-08T04:13:13.301Z] 0c2d73faf560: Pull complete [2021-11-08T04:13:13.301Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-08T04:13:13.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-08T04:13:13.301Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-08T04:13:13.398Z] prd-centos7-docker-4c-2g-27895 does not seem to be running inside a container [2021-11-08T04:13:13.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1056 -v /w/workspace/gexfoundry_device-sdk-go_PR-1056:/w/workspace/gexfoundry_device-sdk-go_PR-1056:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-08T04:13:14.086Z] $ docker top 7ce005676e85ad9f5700fb3c98c67123fa35027eb24808d5dd00fe334e189c80 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-08T04:13:14.259Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T04:13:14.259Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T04:13:14.384Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T04:13:14.387Z] $ docker exec 7ce005676e85ad9f5700fb3c98c67123fa35027eb24808d5dd00fe334e189c80 ssh-agent [2021-11-08T04:13:14.513Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHAFCdJ/agent.12 [2021-11-08T04:13:14.513Z] SSH_AGENT_PID=19 [2021-11-08T04:13:14.521Z] Running ssh-add (command line suppressed) [2021-11-08T04:13:14.623Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_3170688837457602663.key (/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_3170688837457602663.key) [2021-11-08T04:13:14.636Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T04:13:14.962Z] + git tag --points-at HEAD [Pipeline] } [2021-11-08T04:13:14.981Z] $ docker exec --env ******** --env ******** 7ce005676e85ad9f5700fb3c98c67123fa35027eb24808d5dd00fe334e189c80 ssh-agent -k [2021-11-08T04:13:15.090Z] unset SSH_AUTH_SOCK; [2021-11-08T04:13:15.091Z] unset SSH_AGENT_PID; [2021-11-08T04:13:15.091Z] echo Agent pid 19 killed; [2021-11-08T04:13:15.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-08T04:13:15.167Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-08T04:13:15.167Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-08T04:13:15.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-08T04:13:15.287Z] $ docker exec 7ce005676e85ad9f5700fb3c98c67123fa35027eb24808d5dd00fe334e189c80 ssh-agent [2021-11-08T04:13:15.401Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAoLEEm/agent.51 [2021-11-08T04:13:15.401Z] SSH_AGENT_PID=58 [2021-11-08T04:13:15.407Z] Running ssh-add (command line suppressed) [2021-11-08T04:13:15.508Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_7563873004688922356.key (/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_7563873004688922356.key) [2021-11-08T04:13:15.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-08T04:13:15.852Z] + git semver init [2021-11-08T04:13:15.852Z] # -> Open(): unable to determine branch for HEAD [2021-11-08T04:13:15.852Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1056/.git [2021-11-08T04:13:15.852Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1056 [2021-11-08T04:13:15.852Z] # $SEMVER_REMOTE_NAME = origin [2021-11-08T04:13:15.852Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-08T04:13:15.852Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-08T04:13:15.852Z] # $SEMVER_BRANCH = PR-1056 [2021-11-08T04:13:15.852Z] # $SEMVER_TEMP = /tmp/semver-943208076 [2021-11-08T04:13:15.852Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-08T04:13:16.800Z] # '/tmp/semver-943208076' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1056/.semver' [2021-11-08T04:13:16.800Z] # -> Force: false [2021-11-08T04:13:16.800Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1056/.semver [Pipeline] } [2021-11-08T04:13:16.817Z] $ docker exec --env ******** --env ******** 7ce005676e85ad9f5700fb3c98c67123fa35027eb24808d5dd00fe334e189c80 ssh-agent -k [2021-11-08T04:13:16.926Z] unset SSH_AUTH_SOCK; [2021-11-08T04:13:16.926Z] unset SSH_AGENT_PID; [2021-11-08T04:13:16.927Z] echo Agent pid 58 killed; [2021-11-08T04:13:16.933Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-08T04:13:17.317Z] + git semver [Pipeline] } [2021-11-08T04:13:17.343Z] $ docker stop --time=1 7ce005676e85ad9f5700fb3c98c67123fa35027eb24808d5dd00fe334e189c80 [2021-11-08T04:13:18.569Z] $ docker rm -f 7ce005676e85ad9f5700fb3c98c67123fa35027eb24808d5dd00fe334e189c80 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T04:13:18.967Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-08T04:13:19.264Z] Stashed 1 file(s) [Pipeline] echo [2021-11-08T04:13:19.282Z] [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-11-08T04:13:34.603Z] Still waiting to schedule task [2021-11-08T04:13:34.603Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-08T04:13:34.620Z] Still waiting to schedule task [2021-11-08T04:13:34.620Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-27893’ [2021-11-08T04:15:16.967Z] Running on prd-centos7-docker-4c-2g-27896 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [Pipeline] { [Pipeline] ws [2021-11-08T04:15:17.007Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-08T04:15:17.133Z] Selected Git installation does not exist. Using Default [2021-11-08T04:15:17.133Z] The recommended git tool is: NONE [2021-11-08T04:15:19.300Z] using credential edgex-jenkins-ssh [2021-11-08T04:15:19.314Z] Cloning the remote Git repository [2021-11-08T04:15:19.349Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T04:15:19.410Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-08T04:15:19.443Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T04:15:19.443Z] > git --version # timeout=10 [2021-11-08T04:15:19.458Z] > git --version # 'git version 2.24.4' [2021-11-08T04:15:19.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T04:15:19.492Z] [INFO] Currently running in a labeled security context [2021-11-08T04:15:19.492Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-08T04:15:19.493Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2541630772962393827.key [2021-11-08T04:15:19.508Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T04:15:20.275Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T04:15:20.292Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T04:15:20.303Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T04:15:20.318Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T04:15:20.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T04:15:20.321Z] [INFO] Currently running in a labeled security context [2021-11-08T04:15:20.321Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-08T04:15:20.321Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1554924161185661359.key [2021-11-08T04:15:20.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-08T04:15:20.821Z] Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-08T04:15:20.924Z] Merge succeeded, producing a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-08T04:15:20.924Z] Checking out Revision a0ea57342c624bee91335f4cb6d1021054e409bb (PR-1056) [2021-11-08T04:15:20.831Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T04:15:20.841Z] > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-08T04:15:20.877Z] > git remote # timeout=10 [2021-11-08T04:15:20.887Z] > git config --get remote.origin.url # timeout=10 [2021-11-08T04:15:20.895Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T04:15:20.896Z] [INFO] Currently running in a labeled security context [2021-11-08T04:15:20.896Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-08T04:15:20.896Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2760079671957349293.key [2021-11-08T04:15:20.903Z] > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [2021-11-08T04:15:20.918Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-08T04:15:20.926Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T04:15:20.931Z] > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-08T04:15:24.523Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-11-08T04:15:24.577Z] > git --version # timeout=10 [2021-11-08T04:15:24.584Z] > git --version # 'git version 2.24.4' [2021-11-08T04:15:24.595Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T04:15:25.263Z] provisioning config files... [2021-11-08T04:15:25.278Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1117415552897382805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:15:25.721Z] ---> docker-login.sh [2021-11-08T04:15:25.721Z] nexus3.edgexfoundry.org:10001 [2021-11-08T04:15:25.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:15:25.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:15:25.989Z] Configure a credential helper to remove this warning. See [2021-11-08T04:15:25.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:15:25.989Z] [2021-11-08T04:15:25.989Z] Login Succeeded [2021-11-08T04:15:25.989Z] nexus3.edgexfoundry.org:10002 [2021-11-08T04:15:25.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:15:25.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:15:25.989Z] Configure a credential helper to remove this warning. See [2021-11-08T04:15:25.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:15:25.989Z] [2021-11-08T04:15:25.989Z] Login Succeeded [2021-11-08T04:15:25.989Z] nexus3.edgexfoundry.org:10003 [2021-11-08T04:15:26.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:15:26.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:15:26.257Z] Configure a credential helper to remove this warning. See [2021-11-08T04:15:26.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:15:26.257Z] [2021-11-08T04:15:26.257Z] Login Succeeded [2021-11-08T04:15:26.257Z] nexus3.edgexfoundry.org:10004 [2021-11-08T04:15:26.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:15:26.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:15:26.525Z] Configure a credential helper to remove this warning. See [2021-11-08T04:15:26.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:15:26.525Z] [2021-11-08T04:15:26.525Z] Login Succeeded [2021-11-08T04:15:26.525Z] docker.io [2021-11-08T04:15:26.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:15:26.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:15:26.788Z] Configure a credential helper to remove this warning. See [2021-11-08T04:15:26.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:15:26.788Z] [2021-11-08T04:15:26.788Z] Login Succeeded [2021-11-08T04:15:26.788Z] ---> docker-login.sh ends [Pipeline] } [2021-11-08T04:15:26.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-08T04:15:27.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T04:15:27.072Z] ========================================================= [2021-11-08T04:15:27.072Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-08T04:15:27.072Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:15:27.483Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-08T04:15:27.484Z] Sending build context to Docker daemon 2.73MB [2021-11-08T04:15:27.484Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T04:15:27.484Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-08T04:15:27.484Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-08T04:15:27.484Z] a0d0a0d46f8b: Pulling fs layer [2021-11-08T04:15:27.484Z] 31adcdaf11c8: Pulling fs layer [2021-11-08T04:15:27.484Z] b8b176561691: Pulling fs layer [2021-11-08T04:15:27.484Z] 4527c011a84f: Pulling fs layer [2021-11-08T04:15:27.484Z] 5d74067f8e1e: Pulling fs layer [2021-11-08T04:15:27.484Z] e0aca202a116: Pulling fs layer [2021-11-08T04:15:27.484Z] 3a43be97a3b4: Pulling fs layer [2021-11-08T04:15:27.484Z] 34cad66bf833: Pulling fs layer [2021-11-08T04:15:27.484Z] b4e3c513aaa6: Pulling fs layer [2021-11-08T04:15:27.484Z] 5d74067f8e1e: Waiting [2021-11-08T04:15:27.484Z] e0aca202a116: Waiting [2021-11-08T04:15:27.484Z] 3a43be97a3b4: Waiting [2021-11-08T04:15:27.484Z] 34cad66bf833: Waiting [2021-11-08T04:15:27.484Z] b4e3c513aaa6: Waiting [2021-11-08T04:15:27.484Z] 4527c011a84f: Waiting [2021-11-08T04:15:27.747Z] b8b176561691: Verifying Checksum [2021-11-08T04:15:27.747Z] b8b176561691: Download complete [2021-11-08T04:15:27.747Z] 31adcdaf11c8: Verifying Checksum [2021-11-08T04:15:27.747Z] 31adcdaf11c8: Download complete [2021-11-08T04:15:27.747Z] 5d74067f8e1e: Verifying Checksum [2021-11-08T04:15:27.747Z] 5d74067f8e1e: Download complete [2021-11-08T04:15:27.747Z] e0aca202a116: Verifying Checksum [2021-11-08T04:15:27.747Z] e0aca202a116: Download complete [2021-11-08T04:15:27.747Z] a0d0a0d46f8b: Verifying Checksum [2021-11-08T04:15:27.747Z] a0d0a0d46f8b: Download complete [2021-11-08T04:15:27.747Z] 3a43be97a3b4: Verifying Checksum [2021-11-08T04:15:27.747Z] 3a43be97a3b4: Download complete [2021-11-08T04:15:27.747Z] 34cad66bf833: Verifying Checksum [2021-11-08T04:15:27.747Z] 34cad66bf833: Download complete [2021-11-08T04:15:28.332Z] a0d0a0d46f8b: Pull complete [2021-11-08T04:15:28.332Z] b4e3c513aaa6: Verifying Checksum [2021-11-08T04:15:28.332Z] b4e3c513aaa6: Download complete [2021-11-08T04:15:28.332Z] 4527c011a84f: Verifying Checksum [2021-11-08T04:15:28.332Z] 4527c011a84f: Download complete [2021-11-08T04:15:28.332Z] 31adcdaf11c8: Pull complete [2021-11-08T04:15:28.607Z] b8b176561691: Pull complete [2021-11-08T04:15:32.873Z] 4527c011a84f: Pull complete [2021-11-08T04:15:32.873Z] 5d74067f8e1e: Pull complete [2021-11-08T04:15:32.873Z] e0aca202a116: Pull complete [2021-11-08T04:15:33.134Z] 3a43be97a3b4: Pull complete [2021-11-08T04:15:33.394Z] 34cad66bf833: Pull complete [2021-11-08T04:15:37.645Z] b4e3c513aaa6: Pull complete [2021-11-08T04:15:37.645Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-08T04:15:37.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-08T04:15:37.645Z] ---> 9f6097aaca64 [2021-11-08T04:15:37.645Z] Step 3/10 : ARG MAKE=make build [2021-11-08T04:15:40.959Z] ---> Running in 1dc2f6856406 [2021-11-08T04:15:40.959Z] Removing intermediate container 1dc2f6856406 [2021-11-08T04:15:40.959Z] ---> ca28475cbfc0 [2021-11-08T04:15:40.959Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-08T04:15:40.959Z] ---> Running in 8d79cea5478f [2021-11-08T04:15:40.959Z] Removing intermediate container 8d79cea5478f [2021-11-08T04:15:40.959Z] ---> 4c10dad6610a [2021-11-08T04:15:40.959Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T04:15:40.959Z] ---> Running in 35b1dd7cd714 [2021-11-08T04:15:41.222Z] Removing intermediate container 35b1dd7cd714 [2021-11-08T04:15:41.222Z] ---> 65167fddbf05 [2021-11-08T04:15:41.222Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T04:15:41.222Z] ---> Running in 34b92b380a48 [2021-11-08T04:15:41.793Z] Removing intermediate container 34b92b380a48 [2021-11-08T04:15:41.793Z] ---> 84251306a532 [2021-11-08T04:15:41.793Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T04:15:41.793Z] ---> Running in a2fd6455d673 [2021-11-08T04:15:42.371Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T04:15:43.324Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T04:15:43.586Z] OK: 220 MiB in 52 packages [2021-11-08T04:15:43.857Z] Removing intermediate container a2fd6455d673 [2021-11-08T04:15:43.857Z] ---> 23b480cd791a [2021-11-08T04:15:43.857Z] Step 8/10 : COPY . . [2021-11-08T04:15:44.122Z] ---> d1ba7ffba276 [2021-11-08T04:15:44.122Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T04:15:44.122Z] ---> Running in 699bd769af28 [2021-11-08T04:16:51.955Z] Removing intermediate container 699bd769af28 [2021-11-08T04:16:51.955Z] ---> 3cfd041210c9 [2021-11-08T04:16:51.955Z] Step 10/10 : RUN ${MAKE} [2021-11-08T04:16:51.955Z] ---> Running in bcc51cd110a1 [2021-11-08T04:16:51.955Z] noop [2021-11-08T04:16:51.955Z] Removing intermediate container bcc51cd110a1 [2021-11-08T04:16:51.955Z] ---> 94028e1e4277 [2021-11-08T04:16:51.955Z] Successfully built 94028e1e4277 [2021-11-08T04:16:51.955Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:16:52.188Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27897 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [Pipeline] { [Pipeline] ws [2021-11-08T04:16:52.228Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-08T04:16:52.292Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-08T04:16:52.292Z] . [Pipeline] withDockerContainer [2021-11-08T04:16:52.383Z] prd-centos7-docker-4c-2g-27896 does not seem to be running inside a container [2021-11-08T04:16:52.425Z] Selected Git installation does not exist. Using Default [2021-11-08T04:16:52.425Z] The recommended git tool is: NONE [2021-11-08T04:16:52.427Z] $ 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-x86_64 cat [2021-11-08T04:16:52.829Z] $ docker top 9d2789823364fd4cde443205b27cd904399fe18c419cde2f95191d85c9fc7672 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T04:16:53.261Z] + go version [2021-11-08T04:16:53.261Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-08T04:16:53.287Z] $ docker stop --time=1 9d2789823364fd4cde443205b27cd904399fe18c419cde2f95191d85c9fc7672 [2021-11-08T04:16:54.513Z] $ docker rm -f 9d2789823364fd4cde443205b27cd904399fe18c419cde2f95191d85c9fc7672 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:16:55.177Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-08T04:16:55.177Z] . [Pipeline] withDockerContainer [2021-11-08T04:16:55.276Z] prd-centos7-docker-4c-2g-27896 does not seem to be running inside a container [2021-11-08T04:16:55.316Z] $ 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-x86_64 cat [2021-11-08T04:16:55.760Z] $ docker top 46920622b2f5683308ead0eb7c05e38a307263b1614d21d8f8c6e77f1eced566 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-08T04:16:56.230Z] + make test [2021-11-08T04:16:56.230Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-08T04:16:57.990Z] using credential edgex-jenkins-ssh [2021-11-08T04:16:58.021Z] Cloning the remote Git repository [2021-11-08T04:16:58.077Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T04:16:58.166Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-08T04:16:58.242Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T04:16:58.243Z] > git --version # timeout=10 [2021-11-08T04:16:58.273Z] > git --version # 'git version 2.17.1' [2021-11-08T04:16:58.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T04:16:58.359Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T04:16:59.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T04:16:59.627Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-08T04:16:59.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-08T04:16:59.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-08T04:16:59.690Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T04:16:59.702Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-08T04:17:00.291Z] Merging remotes/origin/main commit 555c3bb6a6e69767d223739ff73f88b00326690d into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-08T04:17:00.514Z] Merge succeeded, producing a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-08T04:17:00.515Z] Checking out Revision a0ea57342c624bee91335f4cb6d1021054e409bb (PR-1056) [2021-11-08T04:17:00.299Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T04:17:00.316Z] > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-08T04:17:00.424Z] > git remote # timeout=10 [2021-11-08T04:17:00.445Z] > git config --get remote.origin.url # timeout=10 [2021-11-08T04:17:00.458Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-08T04:17:00.470Z] > git merge 555c3bb6a6e69767d223739ff73f88b00326690d # timeout=10 [2021-11-08T04:17:00.491Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-08T04:17:00.510Z] > git config core.sparsecheckout # timeout=10 [2021-11-08T04:17:00.524Z] > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-08T04:17:02.894Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-08T04:17:04.720Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2021-11-08T04:17:04.764Z] > git --version # timeout=10 [2021-11-08T04:17:04.773Z] > git --version # 'git version 2.17.1' [2021-11-08T04:17:04.787Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T04:17:05.771Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-08T04:17:05.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T04:17:05.771Z] Dload Upload Total Spent Left Speed [2021-11-08T04:17:05.771Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2021-11-08T04:17:06.193Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-08T04:17:06.544Z] + sudo tee /etc/docker/daemon.new [2021-11-08T04:17:06.544Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-08T04:17:06.544Z] { [2021-11-08T04:17:06.544Z] "registry-mirrors": [ [2021-11-08T04:17:06.544Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-08T04:17:06.544Z] ], [2021-11-08T04:17:06.544Z] "bip": "10.250.0.254/24", [2021-11-08T04:17:06.544Z] "hosts": [ [2021-11-08T04:17:06.544Z] "tcp://0.0.0.0:5555", [2021-11-08T04:17:06.544Z] "unix:///var/run/docker.sock" [2021-11-08T04:17:06.544Z] ], [2021-11-08T04:17:06.544Z] "mtu": 1458, [2021-11-08T04:17:06.544Z] "selinux-enabled": true, [2021-11-08T04:17:06.544Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-08T04:17:06.544Z] } [Pipeline] sh [2021-11-08T04:17:06.908Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-08T04:17:07.258Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T04:17:25.701Z] provisioning config files... [2021-11-08T04:17:25.726Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2176252725552104930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:17:26.117Z] ---> docker-login.sh [2021-11-08T04:17:26.117Z] nexus3.edgexfoundry.org:10001 [2021-11-08T04:17:26.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:17:26.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:17:26.989Z] Configure a credential helper to remove this warning. See [2021-11-08T04:17:26.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:17:26.989Z] [2021-11-08T04:17:26.989Z] Login Succeeded [2021-11-08T04:17:26.989Z] nexus3.edgexfoundry.org:10002 [2021-11-08T04:17:27.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:17:27.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:17:27.586Z] Configure a credential helper to remove this warning. See [2021-11-08T04:17:27.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:17:27.586Z] [2021-11-08T04:17:27.586Z] Login Succeeded [2021-11-08T04:17:27.586Z] nexus3.edgexfoundry.org:10003 [2021-11-08T04:17:27.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:17:28.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:17:28.139Z] Configure a credential helper to remove this warning. See [2021-11-08T04:17:28.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:17:28.139Z] [2021-11-08T04:17:28.139Z] Login Succeeded [2021-11-08T04:17:28.139Z] nexus3.edgexfoundry.org:10004 [2021-11-08T04:17:28.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:17:28.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:17:28.686Z] Configure a credential helper to remove this warning. See [2021-11-08T04:17:28.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:17:28.686Z] [2021-11-08T04:17:28.686Z] Login Succeeded [2021-11-08T04:17:28.686Z] docker.io [2021-11-08T04:17:28.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-08T04:17:29.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-08T04:17:29.556Z] Configure a credential helper to remove this warning. See [2021-11-08T04:17:29.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-08T04:17:29.556Z] [2021-11-08T04:17:29.556Z] Login Succeeded [2021-11-08T04:17:29.556Z] ---> docker-login.sh ends [2021-11-08T04:17:29.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-08T04:17:29.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-08T04:17:29.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-08T04:17:29.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 23.5% of statements [2021-11-08T04:17:29.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-08T04:17:29.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-11-08T04:17:29.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements [Pipeline] } [2021-11-08T04:17:29.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-11-08T04:17:29.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 9.0% of statements [2021-11-08T04:17:29.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-08T04:17:29.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-08T04:17:29.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [Pipeline] echo [2021-11-08T04:17:30.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-08T04:17:30.241Z] ========================================================= [2021-11-08T04:17:30.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-08T04:17:30.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:17:30.678Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-08T04:17:30.787Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 28.7% of statements [2021-11-08T04:17:30.787Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-08T04:17:31.276Z] Sending build context to Docker daemon 2.729MB [2021-11-08T04:17:31.276Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T04:17:31.276Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-08T04:17:31.276Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-08T04:17:31.276Z] 552d1f2373af: Pulling fs layer [2021-11-08T04:17:31.276Z] ea3f2d53f512: Pulling fs layer [2021-11-08T04:17:31.276Z] 9e70ebbbe112: Pulling fs layer [2021-11-08T04:17:31.276Z] 7a9cfe048b4a: Pulling fs layer [2021-11-08T04:17:31.276Z] 72dc09318566: Pulling fs layer [2021-11-08T04:17:31.276Z] f4f7b4309257: Pulling fs layer [2021-11-08T04:17:31.276Z] 0ac9a79272e3: Pulling fs layer [2021-11-08T04:17:31.276Z] b78e95d17946: Pulling fs layer [2021-11-08T04:17:31.276Z] 72dc09318566: Waiting [2021-11-08T04:17:31.276Z] f4f7b4309257: Waiting [2021-11-08T04:17:31.276Z] 0ac9a79272e3: Waiting [2021-11-08T04:17:31.276Z] b78e95d17946: Waiting [2021-11-08T04:17:31.276Z] 7a9cfe048b4a: Waiting [2021-11-08T04:17:31.276Z] 9e70ebbbe112: Verifying Checksum [2021-11-08T04:17:31.276Z] 9e70ebbbe112: Download complete [2021-11-08T04:17:31.276Z] ea3f2d53f512: Download complete [2021-11-08T04:17:31.276Z] 72dc09318566: Verifying Checksum [2021-11-08T04:17:31.276Z] 72dc09318566: Download complete [2021-11-08T04:17:31.276Z] f4f7b4309257: Verifying Checksum [2021-11-08T04:17:31.276Z] f4f7b4309257: Download complete [2021-11-08T04:17:31.554Z] 552d1f2373af: Verifying Checksum [2021-11-08T04:17:31.554Z] 552d1f2373af: Download complete [2021-11-08T04:17:31.554Z] 0ac9a79272e3: Verifying Checksum [2021-11-08T04:17:31.554Z] 0ac9a79272e3: Download complete [2021-11-08T04:17:32.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.071s coverage: 83.3% of statements [2021-11-08T04:17:32.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-08T04:17:32.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-08T04:17:32.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 57.8% of statements [2021-11-08T04:17:32.178Z] 552d1f2373af: Pull complete [2021-11-08T04:17:32.785Z] ea3f2d53f512: Pull complete [2021-11-08T04:17:33.386Z] 9e70ebbbe112: Pull complete [2021-11-08T04:17:33.386Z] b78e95d17946: Verifying Checksum [2021-11-08T04:17:33.386Z] b78e95d17946: Download complete [2021-11-08T04:17:33.568Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.814s coverage: 89.2% of statements [2021-11-08T04:17:33.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-08T04:17:33.569Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.9% of statements [2021-11-08T04:17:33.569Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-08T04:17:33.569Z] GO111MODULE=on go vet ./... [2021-11-08T04:17:33.983Z] 7a9cfe048b4a: Verifying Checksum [2021-11-08T04:17:33.983Z] 7a9cfe048b4a: Download complete [2021-11-08T04:17:44.145Z] 7a9cfe048b4a: Pull complete [2021-11-08T04:17:44.423Z] 72dc09318566: Pull complete [2021-11-08T04:17:44.698Z] f4f7b4309257: Pull complete [2021-11-08T04:17:44.972Z] 0ac9a79272e3: Pull complete [2021-11-08T04:17:51.689Z] b78e95d17946: Pull complete [2021-11-08T04:17:51.689Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-08T04:17:51.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-08T04:17:51.689Z] ---> 8b459fc5aaf0 [2021-11-08T04:17:51.689Z] Step 3/10 : ARG MAKE=make build [2021-11-08T04:17:51.823Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-08T04:17:51.823Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-08T04:17:51.823Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-08T04:17:51.852Z] $ docker stop --time=1 46920622b2f5683308ead0eb7c05e38a307263b1614d21d8f8c6e77f1eced566 [2021-11-08T04:17:52.666Z] ---> Running in c92571647c52 [2021-11-08T04:17:52.958Z] Removing intermediate container c92571647c52 [2021-11-08T04:17:52.958Z] ---> 25b57811ac6d [2021-11-08T04:17:52.958Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-08T04:17:52.958Z] ---> Running in e2e73dfc2839 [2021-11-08T04:17:53.553Z] Removing intermediate container e2e73dfc2839 [2021-11-08T04:17:53.553Z] ---> 62b70869f7b2 [2021-11-08T04:17:53.553Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T04:17:53.553Z] ---> Running in cf83493a24c2 [2021-11-08T04:17:53.575Z] $ docker rm -f 46920622b2f5683308ead0eb7c05e38a307263b1614d21d8f8c6e77f1eced566 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T04:17:53.828Z] Removing intermediate container cf83493a24c2 [2021-11-08T04:17:53.828Z] ---> 705014ef16e8 [2021-11-08T04:17:53.828Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T04:17:54.100Z] ---> Running in 92325049dd9c [2021-11-08T04:17:54.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-08T04:17:54.317Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-08T04:17:55.817Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-08T04:17:56.074Z] Removing intermediate container 92325049dd9c [2021-11-08T04:17:56.074Z] ---> cb8cd019f22d [2021-11-08T04:17:56.074Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T04:17:56.074Z] ---> Running in ef52bd46d614 [2021-11-08T04:17:56.128Z] + ls -al . [2021-11-08T04:17:56.128Z] total 264 [2021-11-08T04:17:56.128Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 8 04:17 . [2021-11-08T04:17:56.128Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 8 04:15 .. [2021-11-08T04:17:56.128Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 8 04:15 bin [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 8 04:15 CHANGELOG.md [2021-11-08T04:17:56.128Z] -rw-r--r--. 1 jenkins jenkins 127567 Nov 8 04:17 coverage.out [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 8 04:15 .dockerignore [2021-11-08T04:17:56.128Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 8 04:15 example [2021-11-08T04:17:56.128Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 8 04:15 .git [2021-11-08T04:17:56.128Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 8 04:15 .github [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 8 04:15 .gitignore [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 8 04:15 go.mod [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 49140 Nov 8 04:15 go.sum [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 8 04:15 GOVERNANCE.md [2021-11-08T04:17:56.128Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 8 04:15 internal [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 8 04:15 Jenkinsfile [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 8 04:15 LICENSE [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 8 04:15 Makefile [2021-11-08T04:17:56.128Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 8 04:15 openapi [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 8 04:15 OWNERS.md [2021-11-08T04:17:56.128Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 8 04:15 pkg [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 8 04:15 README.md [2021-11-08T04:17:56.128Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 8 04:15 snap [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 8 04:13 VERSION [2021-11-08T04:17:56.128Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 8 04:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:17:56.459Z] + 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=a0ea57342c624bee91335f4cb6d1021054e409bb --label arch=amd64 --label version=0.0.0 . [2021-11-08T04:17:56.459Z] Sending build context to Docker daemon 2.859MB [2021-11-08T04:17:56.459Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T04:17:56.459Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-08T04:17:56.459Z] ---> 94028e1e4277 [2021-11-08T04:17:56.459Z] Step 3/24 : ARG MAKE=make build [2021-11-08T04:17:56.459Z] ---> Running in 620bf00e5913 [2021-11-08T04:17:56.720Z] Removing intermediate container 620bf00e5913 [2021-11-08T04:17:56.720Z] ---> 12b3841b9f0c [2021-11-08T04:17:56.720Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-08T04:17:56.720Z] ---> Running in c4d09140c02d [2021-11-08T04:17:56.720Z] Removing intermediate container c4d09140c02d [2021-11-08T04:17:56.720Z] ---> f1de77c6f9e5 [2021-11-08T04:17:56.720Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T04:17:56.720Z] ---> Running in d105fc2ab1ff [2021-11-08T04:17:56.982Z] Removing intermediate container d105fc2ab1ff [2021-11-08T04:17:56.982Z] ---> 424c24c9dc8c [2021-11-08T04:17:56.982Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T04:17:56.982Z] ---> Running in ea363cc3cb2a [2021-11-08T04:17:57.056Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T04:17:57.249Z] Removing intermediate container ea363cc3cb2a [2021-11-08T04:17:57.249Z] ---> 2b6ac4fa947e [2021-11-08T04:17:57.249Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T04:17:57.508Z] ---> Running in e6445c107214 [2021-11-08T04:17:57.770Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T04:17:58.032Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T04:17:58.345Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T04:17:58.632Z] OK: 219 MiB in 52 packages [2021-11-08T04:17:58.916Z] OK: 220 MiB in 52 packages [2021-11-08T04:17:58.917Z] Removing intermediate container e6445c107214 [2021-11-08T04:17:58.917Z] ---> 61866345f6cf [2021-11-08T04:17:58.917Z] Step 8/24 : COPY . . [2021-11-08T04:17:59.492Z] ---> 406361e24e66 [2021-11-08T04:17:59.492Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T04:17:59.492Z] ---> Running in 54586b94a1c2 [2021-11-08T04:17:59.614Z] Removing intermediate container ef52bd46d614 [2021-11-08T04:17:59.614Z] ---> 8816ba95e163 [2021-11-08T04:17:59.614Z] Step 8/10 : COPY . . [2021-11-08T04:18:00.066Z] Removing intermediate container 54586b94a1c2 [2021-11-08T04:18:00.066Z] ---> 7edfc1e7091b [2021-11-08T04:18:00.066Z] Step 10/24 : RUN ${MAKE} [2021-11-08T04:18:00.066Z] ---> Running in 8fab5e886625 [2021-11-08T04:18:00.332Z] 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-11-08T04:18:01.065Z] ---> 298bc09b5376 [2021-11-08T04:18:01.065Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T04:18:01.065Z] ---> Running in c86556cb2e38 [2021-11-08T04:18:15.314Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-08T04:18:15.314Z] Removing intermediate container 8fab5e886625 [2021-11-08T04:18:15.314Z] ---> 298bd747aaae [2021-11-08T04:18:15.314Z] Step 11/24 : FROM alpine:3.14 [2021-11-08T04:18:18.616Z] 3.14: Pulling from library/alpine [2021-11-08T04:18:18.616Z] a0d0a0d46f8b: Already exists [2021-11-08T04:18:18.616Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-08T04:18:18.616Z] Status: Downloaded newer image for alpine:3.14 [2021-11-08T04:18:18.616Z] ---> 14119a10abf4 [2021-11-08T04:18:18.616Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T04:18:18.616Z] ---> Running in 91402e879b8f [2021-11-08T04:18:18.616Z] Removing intermediate container 91402e879b8f [2021-11-08T04:18:18.616Z] ---> 9762d097ccf9 [2021-11-08T04:18:18.616Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T04:18:18.616Z] ---> Running in 786a3496abb7 [2021-11-08T04:18:19.209Z] Removing intermediate container 786a3496abb7 [2021-11-08T04:18:19.209Z] ---> f184c03b3fff [2021-11-08T04:18:19.209Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-08T04:18:19.209Z] ---> Running in b0ee8ff92cd8 [2021-11-08T04:18:19.470Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-08T04:18:20.041Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-08T04:18:20.619Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-08T04:18:20.619Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-08T04:18:20.619Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-08T04:18:20.881Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-08T04:18:20.881Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-08T04:18:20.881Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T04:18:20.881Z] OK: 8 MiB in 19 packages [2021-11-08T04:18:21.143Z] Removing intermediate container b0ee8ff92cd8 [2021-11-08T04:18:21.143Z] ---> 923558f96892 [2021-11-08T04:18:21.143Z] Step 15/24 : WORKDIR / [2021-11-08T04:18:21.406Z] ---> Running in 6389d598a33b [2021-11-08T04:18:21.406Z] Removing intermediate container 6389d598a33b [2021-11-08T04:18:21.406Z] ---> 7b7cf7606547 [2021-11-08T04:18:21.406Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-08T04:18:21.670Z] ---> f319e6981b9e [2021-11-08T04:18:21.670Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-08T04:18:21.935Z] ---> 44fabef854f7 [2021-11-08T04:18:21.935Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-08T04:18:22.197Z] ---> 5a82dbf0b9f8 [2021-11-08T04:18:22.197Z] Step 19/24 : EXPOSE 59999 [2021-11-08T04:18:22.197Z] ---> Running in 4568a1be3340 [2021-11-08T04:18:22.197Z] Removing intermediate container 4568a1be3340 [2021-11-08T04:18:22.197Z] ---> b877ba258a39 [2021-11-08T04:18:22.197Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-08T04:18:22.197Z] ---> Running in cec1d2442aea [2021-11-08T04:18:22.459Z] Removing intermediate container cec1d2442aea [2021-11-08T04:18:22.459Z] ---> 590eef581bde [2021-11-08T04:18:22.459Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-08T04:18:22.459Z] ---> Running in ff36ac65db1a [2021-11-08T04:18:22.459Z] Removing intermediate container ff36ac65db1a [2021-11-08T04:18:22.459Z] ---> d36835183e1a [2021-11-08T04:18:22.459Z] Step 22/24 : LABEL arch=amd64 [2021-11-08T04:18:22.459Z] ---> Running in 73c6dae8d607 [2021-11-08T04:18:22.726Z] Removing intermediate container 73c6dae8d607 [2021-11-08T04:18:22.726Z] ---> ca2187d948ec [2021-11-08T04:18:22.726Z] Step 23/24 : LABEL git_sha=a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-08T04:18:22.726Z] ---> Running in 194b435b0fa4 [2021-11-08T04:18:22.726Z] Removing intermediate container 194b435b0fa4 [2021-11-08T04:18:22.726Z] ---> a96a059e4e80 [2021-11-08T04:18:22.726Z] Step 24/24 : LABEL version=0.0.0 [2021-11-08T04:18:22.726Z] ---> Running in a5a801e7e4e4 [2021-11-08T04:18:22.991Z] Removing intermediate container a5a801e7e4e4 [2021-11-08T04:18:22.991Z] ---> 00fdcb4f74a0 [2021-11-08T04:18:22.991Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-08T04:18:22.991Z] Successfully built 00fdcb4f74a0 [2021-11-08T04:18:22.991Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:18:24.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T04:18:24.243Z] [2021-11-08T04:18:24.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:18:24.587Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T04:18:24.587Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-08T04:18:24.588Z] b4d181a07f80: Pulling fs layer [2021-11-08T04:18:24.588Z] a1111a8f2ec3: Pulling fs layer [2021-11-08T04:18:24.588Z] ed53099fbce6: Pulling fs layer [2021-11-08T04:18:24.588Z] dc539afda2c1: Pulling fs layer [2021-11-08T04:18:24.588Z] 77bc0d833cb6: Pulling fs layer [2021-11-08T04:18:24.588Z] 9065ff56babe: Pulling fs layer [2021-11-08T04:18:24.588Z] d287ab97295c: Pulling fs layer [2021-11-08T04:18:24.588Z] dc539afda2c1: Waiting [2021-11-08T04:18:24.588Z] 77bc0d833cb6: Waiting [2021-11-08T04:18:24.588Z] 9065ff56babe: Waiting [2021-11-08T04:18:24.588Z] d287ab97295c: Waiting [2021-11-08T04:18:24.588Z] a1111a8f2ec3: Verifying Checksum [2021-11-08T04:18:24.588Z] a1111a8f2ec3: Download complete [2021-11-08T04:18:24.588Z] dc539afda2c1: Verifying Checksum [2021-11-08T04:18:24.588Z] dc539afda2c1: Download complete [2021-11-08T04:18:24.857Z] ed53099fbce6: Verifying Checksum [2021-11-08T04:18:24.857Z] ed53099fbce6: Download complete [2021-11-08T04:18:24.857Z] 77bc0d833cb6: Verifying Checksum [2021-11-08T04:18:24.857Z] 77bc0d833cb6: Download complete [2021-11-08T04:18:24.857Z] 9065ff56babe: Verifying Checksum [2021-11-08T04:18:24.857Z] 9065ff56babe: Download complete [2021-11-08T04:18:24.857Z] b4d181a07f80: Verifying Checksum [2021-11-08T04:18:24.857Z] b4d181a07f80: Download complete [2021-11-08T04:18:25.442Z] d287ab97295c: Verifying Checksum [2021-11-08T04:18:25.442Z] d287ab97295c: Download complete [2021-11-08T04:18:26.414Z] b4d181a07f80: Pull complete [2021-11-08T04:18:26.682Z] a1111a8f2ec3: Pull complete [2021-11-08T04:18:27.256Z] ed53099fbce6: Pull complete [2021-11-08T04:18:27.519Z] dc539afda2c1: Pull complete [2021-11-08T04:18:27.788Z] 77bc0d833cb6: Pull complete [2021-11-08T04:18:27.788Z] 9065ff56babe: Pull complete [2021-11-08T04:18:33.144Z] d287ab97295c: Pull complete [2021-11-08T04:18:33.144Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-08T04:18:33.144Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T04:18:33.144Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-08T04:18:33.234Z] prd-centos7-docker-4c-2g-27896 does not seem to be running inside a container [2021-11-08T04:18:33.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-08T04:18:36.771Z] $ docker top 4207e36fb3c53811cd4327cacc3f92a86ef06c282d8ac139c4fc86509638e646 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:18:37.398Z] ---> job-cost.sh [2021-11-08T04:18:37.398Z] lf-activate-venv: SKIPPING [2021-11-08T04:18:37.398Z] INFO: No Stack... [2021-11-08T04:18:37.972Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-08T04:18:38.232Z] INFO: Archiving Costs [Pipeline] sh [2021-11-08T04:18:38.546Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-08T04:18:38.547Z] + cut -d, -f6 [Pipeline] lock [2021-11-08T04:18:38.592Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1056-1-stack-cost] [2021-11-08T04:18:38.598Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-1-stack-cost] did not exist. Created. [2021-11-08T04:18:38.598Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1056-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-08T04:18:39.006Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-08T04:18:39.055Z] Stashed 1 file(s) [Pipeline] } [2021-11-08T04:18:39.107Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-08T04:18:39.171Z] $ docker stop --time=1 4207e36fb3c53811cd4327cacc3f92a86ef06c282d8ac139c4fc86509638e646 [2021-11-08T04:18:40.405Z] $ docker rm -f 4207e36fb3c53811cd4327cacc3f92a86ef06c282d8ac139c4fc86509638e646 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-08T04:19:22.838Z] Removing intermediate container c86556cb2e38 [2021-11-08T04:19:22.838Z] ---> 7ea64e3cb923 [2021-11-08T04:19:22.838Z] Step 10/10 : RUN ${MAKE} [2021-11-08T04:19:22.838Z] ---> Running in 9ccde472c2c3 [2021-11-08T04:19:22.838Z] noop [2021-11-08T04:19:22.838Z] Removing intermediate container 9ccde472c2c3 [2021-11-08T04:19:22.838Z] ---> 406055c0ea58 [2021-11-08T04:19:22.838Z] Successfully built 406055c0ea58 [2021-11-08T04:19:22.838Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:19:23.201Z] + docker inspect -f . ci-base-image-arm64 [2021-11-08T04:19:23.201Z] . [Pipeline] withDockerContainer [2021-11-08T04:19:23.455Z] prd-ubuntu18.04-docker-arm64-4c-16g-27897 does not seem to be running inside a container [2021-11-08T04:19:23.542Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-11-08T04:19:24.990Z] $ docker top f1c5c0b5c59cfb234503801dfaea59179f016f509babbc934f0954b8513bb6ba -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T04:19:25.962Z] + go version [2021-11-08T04:19:25.962Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-08T04:19:26.001Z] $ docker stop --time=1 f1c5c0b5c59cfb234503801dfaea59179f016f509babbc934f0954b8513bb6ba [2021-11-08T04:19:27.667Z] $ docker rm -f f1c5c0b5c59cfb234503801dfaea59179f016f509babbc934f0954b8513bb6ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:19:28.661Z] + docker inspect -f . ci-base-image-arm64 [2021-11-08T04:19:28.661Z] . [Pipeline] withDockerContainer [2021-11-08T04:19:28.930Z] prd-ubuntu18.04-docker-arm64-4c-16g-27897 does not seem to be running inside a container [2021-11-08T04:19:29.013Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2021-11-08T04:19:30.457Z] $ docker top daf47a55cc2cf3aac362e30a3b45c84647d17fd60ae02053d01f5840ff281565 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-08T04:19:31.445Z] + make test [2021-11-08T04:19:31.445Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-08T04:19:53.638Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-08T04:21:01.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-08T04:21:01.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-08T04:21:01.712Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-08T04:21:10.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.483s coverage: 23.5% of statements [2021-11-08T04:21:10.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-08T04:21:10.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.297s coverage: 28.1% of statements [2021-11-08T04:21:10.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.268s coverage: 78.9% of statements [2021-11-08T04:21:10.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.225s coverage: 9.0% of statements [2021-11-08T04:21:10.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-08T04:21:10.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-08T04:21:10.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-08T04:21:10.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.319s coverage: 28.7% of statements [2021-11-08T04:21:10.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-08T04:21:11.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.270s coverage: 83.3% of statements [2021-11-08T04:21:11.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-08T04:21:11.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-08T04:21:11.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.389s coverage: 57.8% of statements [2021-11-08T04:21:13.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.098s coverage: 89.2% of statements [2021-11-08T04:21:13.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-08T04:21:13.980Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 4.9% of statements [2021-11-08T04:21:13.980Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-08T04:21:14.572Z] GO111MODULE=on go vet ./... [2021-11-08T04:22:11.136Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-08T04:22:11.136Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-08T04:22:11.136Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-08T04:22:11.182Z] $ docker stop --time=1 daf47a55cc2cf3aac362e30a3b45c84647d17fd60ae02053d01f5840ff281565 [2021-11-08T04:22:13.028Z] $ docker rm -f daf47a55cc2cf3aac362e30a3b45c84647d17fd60ae02053d01f5840ff281565 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-08T04:22:14.152Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-08T04:22:14.186Z] Warning: overwriting stash ‘coverage-report’ [2021-11-08T04:22:14.889Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-08T04:22:15.569Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-08T04:22:15.958Z] + ls -al . [2021-11-08T04:22:15.958Z] total 300 [2021-11-08T04:22:15.958Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 04:22 . [2021-11-08T04:22:15.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:16 .. [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 04:17 .dockerignore [2021-11-08T04:22:15.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 04:17 .git [2021-11-08T04:22:15.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:17 .github [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 8 04:17 .gitignore [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 8 04:17 CHANGELOG.md [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 04:17 GOVERNANCE.md [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 8 04:17 Jenkinsfile [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 04:17 LICENSE [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 8 04:17 Makefile [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 04:17 OWNERS.md [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 8 04:17 README.md [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 04:13 VERSION [2021-11-08T04:22:15.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:17 bin [2021-11-08T04:22:15.958Z] -rw-r--r-- 1 jenkins jenkins 127566 Nov 8 04:21 coverage.out [2021-11-08T04:22:15.958Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 04:17 example [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 8 04:17 go.mod [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 49140 Nov 8 04:17 go.sum [2021-11-08T04:22:15.958Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 8 04:17 internal [2021-11-08T04:22:15.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:17 openapi [2021-11-08T04:22:15.958Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 04:17 pkg [2021-11-08T04:22:15.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:17 snap [2021-11-08T04:22:15.958Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 04:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:22:16.440Z] + 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=a0ea57342c624bee91335f4cb6d1021054e409bb --label arch=arm64 --label version=0.0.0 . [2021-11-08T04:22:17.050Z] Sending build context to Docker daemon 2.858MB [2021-11-08T04:22:17.050Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-08T04:22:17.050Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-08T04:22:17.050Z] ---> 406055c0ea58 [2021-11-08T04:22:17.050Z] Step 3/24 : ARG MAKE=make build [2021-11-08T04:22:17.323Z] ---> Running in bfb30028052a [2021-11-08T04:22:17.595Z] Removing intermediate container bfb30028052a [2021-11-08T04:22:17.595Z] ---> 36ff20882c3a [2021-11-08T04:22:17.595Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-08T04:22:17.878Z] ---> Running in aeed860ce713 [2021-11-08T04:22:18.151Z] Removing intermediate container aeed860ce713 [2021-11-08T04:22:18.151Z] ---> 1ee364a2ff7e [2021-11-08T04:22:18.151Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T04:22:18.423Z] ---> Running in f66353f1329e [2021-11-08T04:22:18.698Z] Removing intermediate container f66353f1329e [2021-11-08T04:22:18.698Z] ---> 6a51d4fb8bf6 [2021-11-08T04:22:18.698Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T04:22:18.698Z] ---> Running in 3a80f57e10d5 [2021-11-08T04:22:20.669Z] Removing intermediate container 3a80f57e10d5 [2021-11-08T04:22:20.669Z] ---> c219794a24c1 [2021-11-08T04:22:20.669Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-08T04:22:20.669Z] ---> Running in ca07738f3656 [2021-11-08T04:22:22.109Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T04:22:22.705Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T04:22:23.679Z] OK: 219 MiB in 52 packages [2021-11-08T04:22:24.274Z] Removing intermediate container ca07738f3656 [2021-11-08T04:22:24.274Z] ---> f61972b33946 [2021-11-08T04:22:24.274Z] Step 8/24 : COPY . . [2021-11-08T04:22:25.704Z] ---> 52bdb4dd6335 [2021-11-08T04:22:25.704Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-08T04:22:25.704Z] ---> Running in a7b7a1f6c6d3 [2021-11-08T04:22:28.324Z] Removing intermediate container a7b7a1f6c6d3 [2021-11-08T04:22:28.324Z] ---> 54fc9c17e7f2 [2021-11-08T04:22:28.324Z] Step 10/24 : RUN ${MAKE} [2021-11-08T04:22:28.324Z] ---> Running in a7b88a9cf95f [2021-11-08T04:22:29.303Z] 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-11-08T04:23:01.633Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-08T04:23:04.246Z] Removing intermediate container a7b88a9cf95f [2021-11-08T04:23:04.246Z] ---> 2dd62a81d060 [2021-11-08T04:23:04.246Z] Step 11/24 : FROM alpine:3.14 [2021-11-08T04:23:08.534Z] 3.14: Pulling from library/alpine [2021-11-08T04:23:08.534Z] 552d1f2373af: Already exists [2021-11-08T04:23:08.534Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-08T04:23:08.534Z] Status: Downloaded newer image for alpine:3.14 [2021-11-08T04:23:08.534Z] ---> bb3de5531c18 [2021-11-08T04:23:08.534Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-08T04:23:08.534Z] ---> Running in 5044bd3d073c [2021-11-08T04:23:08.814Z] Removing intermediate container 5044bd3d073c [2021-11-08T04:23:08.814Z] ---> 5e8f8f74a333 [2021-11-08T04:23:08.814Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-08T04:23:08.814Z] ---> Running in 8907a63848a8 [2021-11-08T04:23:10.786Z] Removing intermediate container 8907a63848a8 [2021-11-08T04:23:10.786Z] ---> c36ce3b980e3 [2021-11-08T04:23:10.787Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-08T04:23:10.787Z] ---> Running in 0e11927e87ac [2021-11-08T04:23:12.216Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-08T04:23:12.810Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-08T04:23:13.788Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-08T04:23:13.788Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-08T04:23:13.788Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-08T04:23:13.788Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-08T04:23:14.060Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-08T04:23:14.060Z] Executing busybox-1.33.1-r3.trigger [2021-11-08T04:23:14.060Z] OK: 8 MiB in 19 packages [2021-11-08T04:23:15.033Z] Removing intermediate container 0e11927e87ac [2021-11-08T04:23:15.033Z] ---> 1cc55a2fa329 [2021-11-08T04:23:15.033Z] Step 15/24 : WORKDIR / [2021-11-08T04:23:15.033Z] ---> Running in daf3878f7c6f [2021-11-08T04:23:15.626Z] Removing intermediate container daf3878f7c6f [2021-11-08T04:23:15.626Z] ---> fafdf716bbed [2021-11-08T04:23:15.626Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-08T04:23:16.222Z] ---> 2c51b17fa1df [2021-11-08T04:23:16.222Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-08T04:23:17.196Z] ---> ecd42bdbc216 [2021-11-08T04:23:17.196Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-08T04:23:18.172Z] ---> 94da2a28110d [2021-11-08T04:23:18.172Z] Step 19/24 : EXPOSE 59999 [2021-11-08T04:23:18.172Z] ---> Running in 3375f607c314 [2021-11-08T04:23:18.444Z] Removing intermediate container 3375f607c314 [2021-11-08T04:23:18.444Z] ---> af2bcc3a1db4 [2021-11-08T04:23:18.444Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-08T04:23:18.717Z] ---> Running in 8d04f04cf3be [2021-11-08T04:23:18.990Z] Removing intermediate container 8d04f04cf3be [2021-11-08T04:23:18.990Z] ---> 12a948b3ee15 [2021-11-08T04:23:18.990Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-08T04:23:18.990Z] ---> Running in 15895528ee40 [2021-11-08T04:23:19.584Z] Removing intermediate container 15895528ee40 [2021-11-08T04:23:19.584Z] ---> fcd9add355a4 [2021-11-08T04:23:19.584Z] Step 22/24 : LABEL arch=arm64 [2021-11-08T04:23:19.584Z] ---> Running in 29bae5955e49 [2021-11-08T04:23:19.854Z] Removing intermediate container 29bae5955e49 [2021-11-08T04:23:19.855Z] ---> 7709f89ecbe0 [2021-11-08T04:23:19.855Z] Step 23/24 : LABEL git_sha=a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-08T04:23:20.128Z] ---> Running in 118ca6c35933 [2021-11-08T04:23:20.402Z] Removing intermediate container 118ca6c35933 [2021-11-08T04:23:20.402Z] ---> 5aa05c7517cf [2021-11-08T04:23:20.402Z] Step 24/24 : LABEL version=0.0.0 [2021-11-08T04:23:20.402Z] ---> Running in 1ef8b982800a [2021-11-08T04:23:20.994Z] Removing intermediate container 1ef8b982800a [2021-11-08T04:23:20.994Z] ---> bb9c6e0747e9 [2021-11-08T04:23:20.994Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-08T04:23:20.994Z] Successfully built bb9c6e0747e9 [2021-11-08T04:23:20.994Z] 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:23:21.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T04:23:21.706Z] [2021-11-08T04:23:21.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:23:22.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T04:23:22.358Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-08T04:23:22.358Z] 448f6bf000e3: Pulling fs layer [2021-11-08T04:23:22.358Z] f757da607395: Pulling fs layer [2021-11-08T04:23:22.358Z] 05883995daec: Pulling fs layer [2021-11-08T04:23:22.358Z] 8603b9c90790: Pulling fs layer [2021-11-08T04:23:22.358Z] 1560dd03e051: Pulling fs layer [2021-11-08T04:23:22.358Z] 27f5ce0e4adf: Pulling fs layer [2021-11-08T04:23:22.358Z] c2d8d7efcc4b: Pulling fs layer [2021-11-08T04:23:22.358Z] 8603b9c90790: Waiting [2021-11-08T04:23:22.358Z] 1560dd03e051: Waiting [2021-11-08T04:23:22.358Z] 27f5ce0e4adf: Waiting [2021-11-08T04:23:22.358Z] c2d8d7efcc4b: Waiting [2021-11-08T04:23:22.358Z] f757da607395: Verifying Checksum [2021-11-08T04:23:22.358Z] f757da607395: Download complete [2021-11-08T04:23:22.358Z] 8603b9c90790: Verifying Checksum [2021-11-08T04:23:22.358Z] 8603b9c90790: Download complete [2021-11-08T04:23:22.630Z] 1560dd03e051: Verifying Checksum [2021-11-08T04:23:22.630Z] 1560dd03e051: Download complete [2021-11-08T04:23:22.630Z] 27f5ce0e4adf: Download complete [2021-11-08T04:23:22.630Z] 05883995daec: Verifying Checksum [2021-11-08T04:23:22.630Z] 05883995daec: Download complete [2021-11-08T04:23:22.906Z] 448f6bf000e3: Verifying Checksum [2021-11-08T04:23:22.906Z] 448f6bf000e3: Download complete [2021-11-08T04:23:25.526Z] c2d8d7efcc4b: Verifying Checksum [2021-11-08T04:23:25.526Z] c2d8d7efcc4b: Download complete [2021-11-08T04:23:26.504Z] 448f6bf000e3: Pull complete [2021-11-08T04:23:27.101Z] f757da607395: Pull complete [2021-11-08T04:23:28.534Z] 05883995daec: Pull complete [2021-11-08T04:23:28.807Z] 8603b9c90790: Pull complete [2021-11-08T04:23:29.782Z] 1560dd03e051: Pull complete [2021-11-08T04:23:30.054Z] 27f5ce0e4adf: Pull complete [2021-11-08T04:23:45.126Z] c2d8d7efcc4b: Pull complete [2021-11-08T04:23:45.126Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-08T04:23:45.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-08T04:23:45.126Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-08T04:23:45.479Z] prd-ubuntu18.04-docker-arm64-4c-16g-27897 does not seem to be running inside a container [2021-11-08T04:23:45.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-08T04:23:48.353Z] $ docker top 8c52a253c110c7c1564e00a4c661b262cc9d8f5f7483e3bab4df4ae9aff7c62e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:23:49.412Z] ---> job-cost.sh [2021-11-08T04:23:49.412Z] lf-activate-venv: SKIPPING [2021-11-08T04:23:49.412Z] INFO: No Stack... [2021-11-08T04:23:49.688Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-08T04:23:49.962Z] INFO: Archiving Costs [Pipeline] sh [2021-11-08T04:23:50.637Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv+ cut -d, -f6 [2021-11-08T04:23:50.637Z] [Pipeline] lock [2021-11-08T04:23:50.711Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1056-1-stack-cost] [2021-11-08T04:23:50.716Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-1-stack-cost] did not exist. Created. [2021-11-08T04:23:50.716Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1056-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-08T04:23:51.443Z] /w/workspace/device-sdk-go/1@tmp/durable-52d0f487/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-52d0f487/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-08T04:23:52.131Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-08T04:23:52.166Z] Warning: overwriting stash ‘stack-cost’ [2021-11-08T04:23:52.222Z] Stashed 1 file(s) [Pipeline] } [2021-11-08T04:23:52.238Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-08T04:23:52.306Z] $ docker stop --time=1 8c52a253c110c7c1564e00a4c661b262cc9d8f5f7483e3bab4df4ae9aff7c62e [2021-11-08T04:23:53.888Z] $ docker rm -f 8c52a253c110c7c1564e00a4c661b262cc9d8f5f7483e3bab4df4ae9aff7c62e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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-11-08T04:23:54.866Z] provisioning config files... [2021-11-08T04:23:54.876Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/config7450858258966933975tmp [Pipeline] { [Pipeline] sh [2021-11-08T04:23:56.165Z] + set +x [2021-11-08T04:23:56.165Z] + bash -s -- [2021-11-08T04:23:56.165Z] + curl -s https://codecov.io/bash [2021-11-08T04:23:56.165Z] [2021-11-08T04:23:56.165Z] _____ _ [2021-11-08T04:23:56.165Z] / ____| | | [2021-11-08T04:23:56.165Z] | | ___ __| | ___ ___ _____ __ [2021-11-08T04:23:56.165Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-08T04:23:56.165Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-08T04:23:56.165Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-08T04:23:56.165Z] Bash-1.0.6 [2021-11-08T04:23:56.165Z] [2021-11-08T04:23:56.165Z] [2021-11-08T04:23:56.165Z] ==> git version 2.24.4 found [2021-11-08T04:23:56.165Z] ==> 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-11-08T04:23:56.165Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-08T04:23:56.165Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-08T04:23:56.165Z] ==> Jenkins CI detected. [2021-11-08T04:23:56.165Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1056 [2021-11-08T04:23:56.165Z] project root: . [2021-11-08T04:23:56.165Z] --> token set from env [2021-11-08T04:23:56.165Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-08T04:23:56.427Z] ==> Running gcov in . (disable via -X gcov) [2021-11-08T04:23:56.427Z] ==> Python coveragepy not found [2021-11-08T04:23:56.427Z] ==> Searching for coverage reports in: [2021-11-08T04:23:56.427Z] + . [2021-11-08T04:23:56.427Z] -> Found 1 reports [2021-11-08T04:23:56.427Z] ==> Detecting git/mercurial file structure [2021-11-08T04:23:56.427Z] ==> Reading reports [2021-11-08T04:23:56.427Z] + ./coverage.out bytes=127566 [2021-11-08T04:23:56.427Z] ==> Appending adjustments [2021-11-08T04:23:56.427Z] https://docs.codecov.io/docs/fixing-reports [2021-11-08T04:23:56.690Z] + Found adjustments [2021-11-08T04:23:56.690Z] ==> Gzipping contents [2021-11-08T04:23:56.690Z] 16K /tmp/codecov.UJLrFM.gz [2021-11-08T04:23:56.690Z] ==> Uploading reports [2021-11-08T04:23:56.690Z] url: https://codecov.io [2021-11-08T04:23:56.690Z] query: branch=PR-1056&commit=a0ea57342c624bee91335f4cb6d1021054e409bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1056%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1056&job=&cmd_args= [2021-11-08T04:23:56.690Z] -> Pinging Codecov [2021-11-08T04:23:56.690Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1056&commit=a0ea57342c624bee91335f4cb6d1021054e409bb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1056%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1056&job=&cmd_args= [2021-11-08T04:23:56.954Z] -> Uploading to [2021-11-08T04:23:56.954Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-08/7E55EF52A471D76F132DFD9A03CDDE97/a0ea57342c624bee91335f4cb6d1021054e409bb/eb1c4a66-3e59-4590-ad95-f314bedc3841.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211108T042356Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e978d110a0f937f4fb86c4f4878c18d5371fb864e4272d3ad451dadbf83874c [2021-11-08T04:23:57.214Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-08T04:23:57.214Z] Dload Upload Total Spent Left Speed [2021-11-08T04:23:57.476Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16229 0 0 100 16229 0 42981 --:--:-- --:--:-- --:--:-- 42933 100 16229 0 0 100 16229 0 42956 --:--:-- --:--:-- --:--:-- 42933 [2021-11-08T04:23:57.476Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a0ea57342c624bee91335f4cb6d1021054e409bb [Pipeline] } [2021-11-08T04:23:57.499Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-08T04:23:59.372Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:23:59.698Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:24:00.305Z] ---> package-listing.sh [2021-11-08T04:24:00.305Z] ++ facter osfamily [2021-11-08T04:24:00.305Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-08T04:24:00.568Z] + OS_FAMILY=redhat [2021-11-08T04:24:00.568Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1056 [2021-11-08T04:24:00.568Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-08T04:24:00.568Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-08T04:24:00.568Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-08T04:24:00.568Z] + PACKAGES=/tmp/packages_start.txt [2021-11-08T04:24:00.568Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1056 ']' [2021-11-08T04:24:00.568Z] + PACKAGES=/tmp/packages_end.txt [2021-11-08T04:24:00.568Z] + case "${OS_FAMILY}" in [2021-11-08T04:24:00.568Z] + sort [2021-11-08T04:24:00.568Z] + rpm -qa [2021-11-08T04:24:01.147Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-08T04:24:01.147Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-08T04:24:01.147Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-08T04:24:01.147Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1056 ']' [2021-11-08T04:24:01.147Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives/ [2021-11-08T04:24:01.147Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives/ [Pipeline] echo [2021-11-08T04:24:01.184Z] 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/gexfoundry_device-sdk-go_PR-1056/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-08T04:24:01.482Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:24:02.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T04:24:02.079Z] [2021-11-08T04:24:02.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-08T04:24:02.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T04:24:02.417Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-08T04:24:02.417Z] b4d181a07f80: Pulling fs layer [2021-11-08T04:24:02.417Z] a1111a8f2ec3: Pulling fs layer [2021-11-08T04:24:02.417Z] ed53099fbce6: Pulling fs layer [2021-11-08T04:24:02.417Z] dc539afda2c1: Pulling fs layer [2021-11-08T04:24:02.417Z] 77bc0d833cb6: Pulling fs layer [2021-11-08T04:24:02.417Z] 9065ff56babe: Pulling fs layer [2021-11-08T04:24:02.417Z] d287ab97295c: Pulling fs layer [2021-11-08T04:24:02.417Z] dc539afda2c1: Waiting [2021-11-08T04:24:02.417Z] 77bc0d833cb6: Waiting [2021-11-08T04:24:02.417Z] 9065ff56babe: Waiting [2021-11-08T04:24:02.417Z] d287ab97295c: Waiting [2021-11-08T04:24:02.417Z] a1111a8f2ec3: Verifying Checksum [2021-11-08T04:24:02.417Z] a1111a8f2ec3: Download complete [2021-11-08T04:24:02.417Z] dc539afda2c1: Verifying Checksum [2021-11-08T04:24:02.417Z] dc539afda2c1: Download complete [2021-11-08T04:24:02.417Z] ed53099fbce6: Verifying Checksum [2021-11-08T04:24:02.417Z] ed53099fbce6: Download complete [2021-11-08T04:24:02.695Z] 9065ff56babe: Verifying Checksum [2021-11-08T04:24:02.695Z] 9065ff56babe: Download complete [2021-11-08T04:24:02.695Z] 77bc0d833cb6: Verifying Checksum [2021-11-08T04:24:02.695Z] 77bc0d833cb6: Download complete [2021-11-08T04:24:02.695Z] b4d181a07f80: Verifying Checksum [2021-11-08T04:24:02.695Z] b4d181a07f80: Download complete [2021-11-08T04:24:03.273Z] d287ab97295c: Verifying Checksum [2021-11-08T04:24:03.273Z] d287ab97295c: Download complete [2021-11-08T04:24:04.240Z] b4d181a07f80: Pull complete [2021-11-08T04:24:04.525Z] a1111a8f2ec3: Pull complete [2021-11-08T04:24:05.111Z] ed53099fbce6: Pull complete [2021-11-08T04:24:05.111Z] dc539afda2c1: Pull complete [2021-11-08T04:24:05.380Z] 77bc0d833cb6: Pull complete [2021-11-08T04:24:05.644Z] 9065ff56babe: Pull complete [2021-11-08T04:24:11.088Z] d287ab97295c: Pull complete [2021-11-08T04:24:11.088Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-08T04:24:11.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-08T04:24:11.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-08T04:24:11.176Z] prd-centos7-docker-4c-2g-27895 does not seem to be running inside a container [2021-11-08T04:24:11.208Z] $ 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/gexfoundry_device-sdk-go_PR-1056/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1056 -v /w/workspace/gexfoundry_device-sdk-go_PR-1056:/w/workspace/gexfoundry_device-sdk-go_PR-1056:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-08T04:24:14.272Z] $ docker top a69b4545cbc1cf20ffcdca4fd7f9f825241796ec274f55fa533328b3a8fe5d03 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-08T04:24:14.664Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-08T04:24:14.978Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-08T04:24:15.297Z] + ls /var/log/sa-host [2021-11-08T04:24:15.297Z] + sadf -c /var/log/sa-host/sa08 [2021-11-08T04:24:15.297Z] file_magic: OK [2021-11-08T04:24:15.297Z] HZ: Using current value: 100 [2021-11-08T04:24:15.297Z] file_header: OK [2021-11-08T04:24:15.297Z] 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-11-08T04:24:15.297Z] Statistics: [2021-11-08T04:24:15.297Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-08T04:24:15.297Z] File successfully converted to sysstat format version 12.0.3 [2021-11-08T04:24:15.297Z] + sadf -c /var/log/sa-host/sa30 [2021-11-08T04:24:15.297Z] file_magic: OK [2021-11-08T04:24:15.297Z] HZ: Using current value: 100 [2021-11-08T04:24:15.297Z] file_header: OK [2021-11-08T04:24:15.297Z] 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-11-08T04:24:15.297Z] Statistics: [2021-11-08T04:24:15.297Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-08T04:24:15.297Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-08T04:24:15.431Z] provisioning config files... [2021-11-08T04:24:15.442Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/config2551181940809496345tmp [Pipeline] { [Pipeline] echo [2021-11-08T04:24:15.481Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:24:15.805Z] ---> create-netrc.sh [Pipeline] } [2021-11-08T04:24:15.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:24:16.203Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-08T04:24:16.227Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:24:16.542Z] ---> sudo-logs.sh [2021-11-08T04:24:16.542Z] Archiving 'sudo' log.. [2021-11-08T04:24:16.542Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27895.novalocal: Name or service not known [2021-11-08T04:24:16.542Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27895.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-08T04:24:16.601Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:24:16.923Z] ---> job-cost.sh [2021-11-08T04:24:16.923Z] lf-activate-venv: SKIPPING [2021-11-08T04:24:16.923Z] DEBUG: total: 0.10999999940395355 [2021-11-08T04:24:16.923Z] INFO: Retrieving Stack Cost... [2021-11-08T04:24:19.483Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-08T04:24:19.483Z] INFO: Archiving Costs [Pipeline] echo [2021-11-08T04:24:19.515Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-08T04:24:19.854Z] ---> logs-deploy.sh [2021-11-08T04:24:19.854Z] lf-activate-venv: SKIPPING [2021-11-08T04:24:19.854Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1056/1 [2021-11-08T04:24:19.854Z] INFO: archiving workspace using pattern(s): [2021-11-08T04:24:20.803Z] Archives upload complete. [2021-11-08T04:24:20.803Z] INFO: archiving logs to Nexus