Pull request #1060 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from acaad2eaf7e331afa60e093f2992ed3dd0e5840e+7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc (3af4bf122214ac6daaaa6b256670439c6e555382) 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-ssh238342048716654278.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-ssh2185080384452717815.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-1060/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-1060/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5307886232849148661.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-1060/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3030837961442550242.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-ssh2215677036594039231.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-1060/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-1060/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8159241072862399798.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-28034 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [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-1060 # 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-1060@tmp/jenkins-gitclient-ssh5205829022198233585.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit acaad2eaf7e331afa60e093f2992ed3dd0e5840e Merge succeeded, producing acaad2eaf7e331afa60e093f2992ed3dd0e5840e Checking out Revision acaad2eaf7e331afa60e093f2992ed3dd0e5840e (PR-1060) > 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-1060@tmp/jenkins-gitclient-ssh6217733042632000631.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # 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-1060@tmp/jenkins-gitclient-ssh819070024784269916.key > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T04:11:40.833Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T04:11:40.943Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T04:11:41.008Z] ========================================================= [2021-11-09T04:11:41.008Z] EdgeX Global Pipelines Version Info [2021-11-09T04:11:41.008Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:11:42.165Z] ------------------- [2021-11-09T04:11:42.166Z] stable info: [2021-11-09T04:11:42.166Z] ------------------- [2021-11-09T04:11:42.166Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T04:11:42.166Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T04:11:42.166Z] Message: update stable to v1.0.211 [2021-11-09T04:11:42.739Z] ------------------- [2021-11-09T04:11:42.739Z] experimental info: [2021-11-09T04:11:42.739Z] ------------------- [2021-11-09T04:11:42.739Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T04:11:42.739Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T04:11:42.739Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T04:11:42.895Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-09T04:11:42.941Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-09T04:11:42.986Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T04:11:43.022Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T04:11:43.059Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T04:11:43.098Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T04:11:43.130Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T04:11:44.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-09T04:11:44.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T04:11:44.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T04:11:44.117Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T04:11:44.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-09T04:11:44.194Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T04:11:44.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T04:11:44.267Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T04:11:44.302Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T04:11:44.347Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T04:11:44.386Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T04:11:44.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T04:11:44.456Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-09T04:11:44.492Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-09T04:11:44.528Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-09T04:11:44.561Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T04:11:44.601Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T04:11:44.637Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-09T04:11:44.673Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T04:11:44.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1060 [Pipeline] echo [2021-11-09T04:11:44.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1060 [Pipeline] echo [2021-11-09T04:11:44.785Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1060 [Pipeline] echo [2021-11-09T04:11:44.829Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acaad2eaf7e331afa60e093f2992ed3dd0e5840e [Pipeline] echo [2021-11-09T04:11:44.862Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acaad2e [Pipeline] echo [2021-11-09T04:11:44.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T04:11:44.999Z] provisioning config files... [2021-11-09T04:11:45.012Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config5248630860675268277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:11:45.354Z] ---> docker-login.sh [2021-11-09T04:11:45.354Z] nexus3.edgexfoundry.org:10001 [2021-11-09T04:11:45.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:11:45.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:11:45.620Z] Configure a credential helper to remove this warning. See [2021-11-09T04:11:45.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:11:45.620Z] [2021-11-09T04:11:45.620Z] Login Succeeded [2021-11-09T04:11:45.620Z] nexus3.edgexfoundry.org:10002 [2021-11-09T04:11:45.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:11:45.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:11:45.620Z] Configure a credential helper to remove this warning. See [2021-11-09T04:11:45.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:11:45.620Z] [2021-11-09T04:11:45.620Z] Login Succeeded [2021-11-09T04:11:45.620Z] nexus3.edgexfoundry.org:10003 [2021-11-09T04:11:45.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:11:45.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:11:45.881Z] Configure a credential helper to remove this warning. See [2021-11-09T04:11:45.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:11:45.881Z] [2021-11-09T04:11:45.881Z] Login Succeeded [2021-11-09T04:11:45.881Z] nexus3.edgexfoundry.org:10004 [2021-11-09T04:11:45.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:11:45.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:11:45.881Z] Configure a credential helper to remove this warning. See [2021-11-09T04:11:45.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:11:45.881Z] [2021-11-09T04:11:45.881Z] Login Succeeded [2021-11-09T04:11:45.881Z] docker.io [2021-11-09T04:11:45.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:11:46.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:11:46.456Z] Configure a credential helper to remove this warning. See [2021-11-09T04:11:46.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:11:46.456Z] [2021-11-09T04:11:46.456Z] Login Succeeded [2021-11-09T04:11:46.456Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T04:11:46.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T04:11:47.049Z] + git rev-list -1 --merges acaad2eaf7e331afa60e093f2992ed3dd0e5840e~1..acaad2eaf7e331afa60e093f2992ed3dd0e5840e [Pipeline] echo [2021-11-09T04:11:47.103Z] -----------> git rev-list -1 --merges acaad2eaf7e331afa60e093f2992ed3dd0e5840e~1..acaad2eaf7e331afa60e093f2992ed3dd0e5840e acaad2eaf7e331afa60e093f2992ed3dd0e5840e [false] [Pipeline] sh [2021-11-09T04:11:47.425Z] + git log --format=format:%s -1 acaad2eaf7e331afa60e093f2992ed3dd0e5840e [Pipeline] echo [2021-11-09T04:11:47.453Z] ========================================================= [2021-11-09T04:11:47.453Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T04:11:47.453Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T04:11:47.860Z] + git log --format=format:%s -1 acaad2eaf7e331afa60e093f2992ed3dd0e5840e [Pipeline] echo [2021-11-09T04:11:47.884Z] [semverPrep] GIT_COMMIT: acaad2eaf7e331afa60e093f2992ed3dd0e5840e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2021-11-09T04:11:47.912Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:11:48.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T04:11:48.383Z] [2021-11-09T04:11:48.383Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:11:48.720Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T04:11:48.720Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T04:11:48.720Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T04:11:48.720Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T04:11:48.720Z] 4c7163046ea9: Pulling fs layer [2021-11-09T04:11:48.720Z] 0c2d73faf560: Pulling fs layer [2021-11-09T04:11:48.720Z] 0c2d73faf560: Waiting [2021-11-09T04:11:48.720Z] 3e5f54012d9b: Verifying Checksum [2021-11-09T04:11:48.720Z] 3e5f54012d9b: Download complete [2021-11-09T04:11:48.720Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T04:11:48.720Z] a0d0a0d46f8b: Download complete [2021-11-09T04:11:48.720Z] 4c7163046ea9: Verifying Checksum [2021-11-09T04:11:48.720Z] 4c7163046ea9: Download complete [2021-11-09T04:11:49.556Z] 0c2d73faf560: Verifying Checksum [2021-11-09T04:11:49.556Z] 0c2d73faf560: Download complete [2021-11-09T04:11:49.556Z] a0d0a0d46f8b: Pull complete [2021-11-09T04:11:49.556Z] 3e5f54012d9b: Pull complete [2021-11-09T04:11:49.556Z] 4c7163046ea9: Pull complete [2021-11-09T04:11:49.556Z] 0c2d73faf560: Pull complete [2021-11-09T04:11:49.556Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T04:11:49.556Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T04:11:49.556Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T04:11:49.646Z] prd-centos7-docker-4c-2g-28034 does not seem to be running inside a container [2021-11-09T04:11:49.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1060 -v /w/workspace/gexfoundry_device-sdk-go_PR-1060:/w/workspace/gexfoundry_device-sdk-go_PR-1060:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1060@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-09T04:11:50.334Z] $ docker top 7bc25ca87f55518122bfdf96ad5d1fa7dfd5daf5d397dd94b25b1dad747d55da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T04:11:50.493Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T04:11:50.493Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T04:11:50.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T04:11:50.587Z] $ docker exec 7bc25ca87f55518122bfdf96ad5d1fa7dfd5daf5d397dd94b25b1dad747d55da ssh-agent [2021-11-09T04:11:50.686Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHColiN/agent.14 [2021-11-09T04:11:50.686Z] SSH_AGENT_PID=20 [2021-11-09T04:11:50.692Z] Running ssh-add (command line suppressed) [2021-11-09T04:11:50.787Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_9019944828376161060.key (/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_9019944828376161060.key) [2021-11-09T04:11:50.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T04:11:51.117Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T04:11:51.137Z] $ docker exec --env ******** --env ******** 7bc25ca87f55518122bfdf96ad5d1fa7dfd5daf5d397dd94b25b1dad747d55da ssh-agent -k [2021-11-09T04:11:51.223Z] unset SSH_AUTH_SOCK; [2021-11-09T04:11:51.223Z] unset SSH_AGENT_PID; [2021-11-09T04:11:51.224Z] echo Agent pid 20 killed; [2021-11-09T04:11:51.235Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T04:11:51.303Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T04:11:51.303Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T04:11:51.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T04:11:51.404Z] $ docker exec 7bc25ca87f55518122bfdf96ad5d1fa7dfd5daf5d397dd94b25b1dad747d55da ssh-agent [2021-11-09T04:11:51.502Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXikgNGh/agent.55 [2021-11-09T04:11:51.502Z] SSH_AGENT_PID=62 [2021-11-09T04:11:51.509Z] Running ssh-add (command line suppressed) [2021-11-09T04:11:51.607Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_5015179353609207474.key (/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/private_key_5015179353609207474.key) [2021-11-09T04:11:51.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T04:11:51.949Z] + git semver init [2021-11-09T04:11:51.949Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T04:11:51.949Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1060/.git [2021-11-09T04:11:51.949Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-09T04:11:51.949Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T04:11:51.949Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T04:11:51.949Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T04:11:51.949Z] # $SEMVER_BRANCH = PR-1060 [2021-11-09T04:11:51.949Z] # $SEMVER_TEMP = /tmp/semver-883351468 [2021-11-09T04:11:51.949Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-09T04:11:52.903Z] # '/tmp/semver-883351468' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1060/.semver' [2021-11-09T04:11:52.903Z] # -> Force: false [2021-11-09T04:11:52.903Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1060/.semver [Pipeline] } [2021-11-09T04:11:52.919Z] $ docker exec --env ******** --env ******** 7bc25ca87f55518122bfdf96ad5d1fa7dfd5daf5d397dd94b25b1dad747d55da ssh-agent -k [2021-11-09T04:11:53.042Z] unset SSH_AUTH_SOCK; [2021-11-09T04:11:53.044Z] unset SSH_AGENT_PID; [2021-11-09T04:11:53.045Z] echo Agent pid 62 killed; [2021-11-09T04:11:53.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T04:11:53.436Z] + git semver [Pipeline] } [2021-11-09T04:11:53.459Z] $ docker stop --time=1 7bc25ca87f55518122bfdf96ad5d1fa7dfd5daf5d397dd94b25b1dad747d55da [2021-11-09T04:11:54.683Z] $ docker rm -f 7bc25ca87f55518122bfdf96ad5d1fa7dfd5daf5d397dd94b25b1dad747d55da [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T04:11:55.077Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T04:11:55.369Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T04:11:55.387Z] [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-09T04:12:10.744Z] Still waiting to schedule task [2021-11-09T04:12:10.744Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-09T04:12:10.764Z] Still waiting to schedule task [2021-11-09T04:12:10.764Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-09T04:13:10.654Z] Running on prd-centos7-docker-4c-2g-28038 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [Pipeline] { [Pipeline] ws [2021-11-09T04:13:10.694Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-09T04:13:10.812Z] Selected Git installation does not exist. Using Default [2021-11-09T04:13:10.812Z] The recommended git tool is: NONE [2021-11-09T04:13:13.667Z] using credential edgex-jenkins-ssh [2021-11-09T04:13:13.679Z] Cloning the remote Git repository [2021-11-09T04:13:13.666Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:13:13.722Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-09T04:13:13.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:13:13.760Z] > git --version # timeout=10 [2021-11-09T04:13:13.768Z] > git --version # 'git version 2.24.4' [2021-11-09T04:13:13.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:13:13.793Z] [INFO] Currently running in a labeled security context [2021-11-09T04:13:13.794Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T04:13:13.794Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4342480645765249021.key [2021-11-09T04:13:13.815Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T04:13:15.076Z] Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-09T04:13:15.181Z] Merge succeeded, producing acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-09T04:13:15.182Z] Checking out Revision acaad2eaf7e331afa60e093f2992ed3dd0e5840e (PR-1060) [2021-11-09T04:13:14.528Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T04:13:14.537Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T04:13:14.545Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T04:13:14.562Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:13:14.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:13:14.563Z] [INFO] Currently running in a labeled security context [2021-11-09T04:13:14.563Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T04:13:14.563Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4310847489769222951.key [2021-11-09T04:13:14.574Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T04:13:15.048Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T04:13:15.062Z] > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-09T04:13:15.099Z] > git remote # timeout=10 [2021-11-09T04:13:15.107Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T04:13:15.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:13:15.114Z] [INFO] Currently running in a labeled security context [2021-11-09T04:13:15.115Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T04:13:15.115Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3232036729593579493.key [2021-11-09T04:13:15.122Z] > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-09T04:13:15.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T04:13:15.145Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T04:13:15.155Z] > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-09T04:13:18.771Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-11-09T04:13:18.750Z] > git --version # timeout=10 [2021-11-09T04:13:18.757Z] > git --version # 'git version 2.24.4' [2021-11-09T04:13:18.769Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T04:13:19.419Z] provisioning config files... [2021-11-09T04:13:19.433Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8931623887813206268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:13:19.884Z] ---> docker-login.sh [2021-11-09T04:13:19.884Z] nexus3.edgexfoundry.org:10001 [2021-11-09T04:13:19.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:19.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:19.884Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:19.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:19.884Z] [2021-11-09T04:13:19.884Z] Login Succeeded [2021-11-09T04:13:19.884Z] nexus3.edgexfoundry.org:10002 [2021-11-09T04:13:20.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:20.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:20.147Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:20.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:20.147Z] [2021-11-09T04:13:20.147Z] Login Succeeded [2021-11-09T04:13:20.147Z] nexus3.edgexfoundry.org:10003 [2021-11-09T04:13:20.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:20.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:20.147Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:20.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:20.147Z] [2021-11-09T04:13:20.147Z] Login Succeeded [2021-11-09T04:13:20.147Z] nexus3.edgexfoundry.org:10004 [2021-11-09T04:13:20.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:20.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:20.147Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:20.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:20.147Z] [2021-11-09T04:13:20.147Z] Login Succeeded [2021-11-09T04:13:20.147Z] docker.io [2021-11-09T04:13:20.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:13:21.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:13:21.476Z] Configure a credential helper to remove this warning. See [2021-11-09T04:13:21.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:13:21.476Z] [2021-11-09T04:13:21.476Z] Login Succeeded [2021-11-09T04:13:21.476Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T04:13:21.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T04:13:21.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T04:13:21.775Z] ========================================================= [2021-11-09T04:13:21.775Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T04:13:21.775Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:13:22.157Z] + 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-09T04:13:22.157Z] Sending build context to Docker daemon 2.75MB [2021-11-09T04:13:22.157Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T04:13:22.157Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T04:13:22.157Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T04:13:22.157Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T04:13:22.157Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T04:13:22.157Z] b8b176561691: Pulling fs layer [2021-11-09T04:13:22.157Z] 4527c011a84f: Pulling fs layer [2021-11-09T04:13:22.157Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T04:13:22.157Z] e0aca202a116: Pulling fs layer [2021-11-09T04:13:22.157Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T04:13:22.157Z] 34cad66bf833: Pulling fs layer [2021-11-09T04:13:22.157Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T04:13:22.157Z] e0aca202a116: Waiting [2021-11-09T04:13:22.157Z] 3a43be97a3b4: Waiting [2021-11-09T04:13:22.157Z] 34cad66bf833: Waiting [2021-11-09T04:13:22.157Z] b4e3c513aaa6: Waiting [2021-11-09T04:13:22.157Z] 4527c011a84f: Waiting [2021-11-09T04:13:22.157Z] 5d74067f8e1e: Waiting [2021-11-09T04:13:22.157Z] b8b176561691: Verifying Checksum [2021-11-09T04:13:22.157Z] b8b176561691: Download complete [2021-11-09T04:13:22.157Z] 31adcdaf11c8: Verifying Checksum [2021-11-09T04:13:22.157Z] 31adcdaf11c8: Download complete [2021-11-09T04:13:22.423Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T04:13:22.423Z] 5d74067f8e1e: Download complete [2021-11-09T04:13:22.423Z] e0aca202a116: Download complete [2021-11-09T04:13:22.423Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T04:13:22.423Z] a0d0a0d46f8b: Download complete [2021-11-09T04:13:22.423Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T04:13:22.423Z] 3a43be97a3b4: Download complete [2021-11-09T04:13:22.423Z] 34cad66bf833: Verifying Checksum [2021-11-09T04:13:22.423Z] 34cad66bf833: Download complete [2021-11-09T04:13:22.705Z] a0d0a0d46f8b: Pull complete [2021-11-09T04:13:22.982Z] 4527c011a84f: Verifying Checksum [2021-11-09T04:13:22.982Z] 4527c011a84f: Download complete [2021-11-09T04:13:22.982Z] 31adcdaf11c8: Pull complete [2021-11-09T04:13:22.982Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T04:13:22.982Z] b4e3c513aaa6: Download complete [2021-11-09T04:13:22.982Z] b8b176561691: Pull complete [2021-11-09T04:13:27.238Z] 4527c011a84f: Pull complete [2021-11-09T04:13:27.238Z] 5d74067f8e1e: Pull complete [2021-11-09T04:13:27.238Z] e0aca202a116: Pull complete [2021-11-09T04:13:27.238Z] 3a43be97a3b4: Pull complete [2021-11-09T04:13:27.238Z] 34cad66bf833: Pull complete [2021-11-09T04:13:30.555Z] b4e3c513aaa6: Pull complete [2021-11-09T04:13:30.555Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T04:13:30.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T04:13:30.555Z] ---> 9f6097aaca64 [2021-11-09T04:13:30.555Z] Step 3/10 : ARG MAKE=make build [2021-11-09T04:13:31.945Z] ---> Running in 000c6fe21362 [2021-11-09T04:13:31.945Z] Removing intermediate container 000c6fe21362 [2021-11-09T04:13:31.945Z] ---> f841ec500c04 [2021-11-09T04:13:31.945Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T04:13:31.945Z] ---> Running in dfe03eab0c91 [2021-11-09T04:13:31.945Z] Removing intermediate container dfe03eab0c91 [2021-11-09T04:13:31.945Z] ---> 9e3a6e7f19b8 [2021-11-09T04:13:31.945Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:13:31.945Z] ---> Running in dde924ce17cc [2021-11-09T04:13:32.211Z] Removing intermediate container dde924ce17cc [2021-11-09T04:13:32.211Z] ---> 4ca910920d7c [2021-11-09T04:13:32.211Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:13:32.211Z] ---> Running in 8dc8ee7114d3 [2021-11-09T04:13:32.477Z] Removing intermediate container 8dc8ee7114d3 [2021-11-09T04:13:32.477Z] ---> 54157255e7c7 [2021-11-09T04:13:32.477Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T04:13:32.478Z] ---> Running in b8fbc6a28b5b [2021-11-09T04:13:33.051Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T04:13:34.003Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T04:13:34.273Z] OK: 220 MiB in 52 packages [2021-11-09T04:13:34.273Z] Removing intermediate container b8fbc6a28b5b [2021-11-09T04:13:34.273Z] ---> 7a574e5345a0 [2021-11-09T04:13:34.273Z] Step 8/10 : COPY . . [2021-11-09T04:13:34.536Z] ---> 9f3b70b6feef [2021-11-09T04:13:34.536Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T04:13:34.797Z] ---> Running in ba98de37946f [2021-11-09T04:14:07.456Z] Removing intermediate container ba98de37946f [2021-11-09T04:14:07.456Z] ---> 4b5e5053d93f [2021-11-09T04:14:07.456Z] Step 10/10 : RUN ${MAKE} [2021-11-09T04:14:07.456Z] ---> Running in 77635c6f7353 [2021-11-09T04:14:07.456Z] noop [2021-11-09T04:14:07.456Z] Removing intermediate container 77635c6f7353 [2021-11-09T04:14:07.456Z] ---> e7e1f6719e48 [2021-11-09T04:14:07.456Z] Successfully built e7e1f6719e48 [2021-11-09T04:14:07.456Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:14:07.783Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T04:14:07.783Z] . [Pipeline] withDockerContainer [2021-11-09T04:14:07.877Z] prd-centos7-docker-4c-2g-28038 does not seem to be running inside a container [2021-11-09T04:14:07.906Z] $ 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-09T04:14:08.268Z] $ docker top 6b8c020cbb1e88df6fc1796e46612574bf1a75823513fde9bf7a4f67f8a68fa4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T04:14:08.669Z] + go version [2021-11-09T04:14:08.669Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T04:14:08.684Z] $ docker stop --time=1 6b8c020cbb1e88df6fc1796e46612574bf1a75823513fde9bf7a4f67f8a68fa4 [2021-11-09T04:14:09.860Z] $ docker rm -f 6b8c020cbb1e88df6fc1796e46612574bf1a75823513fde9bf7a4f67f8a68fa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:14:10.588Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T04:14:10.588Z] . [Pipeline] withDockerContainer [2021-11-09T04:14:10.700Z] prd-centos7-docker-4c-2g-28038 does not seem to be running inside a container [2021-11-09T04:14:10.730Z] $ 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-09T04:14:11.117Z] $ docker top 3ff4ff3b6bf7dd16e9979847c6e8f5ac55e58791dfa9ac24b5e7ca7794899349 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T04:14:11.580Z] + make test [2021-11-09T04:14:11.580Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T04:14:16.749Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T04:14:43.436Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T04:14:43.436Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T04:14:43.436Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T04:14:43.436Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.5% of statements [2021-11-09T04:14:43.436Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T04:14:43.436Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 27.6% of statements [2021-11-09T04:14:43.701Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.047s coverage: 78.9% of statements [2021-11-09T04:14:44.284Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements [2021-11-09T04:14:44.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T04:14:44.284Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T04:14:44.285Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T04:14:44.864Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements [2021-11-09T04:14:44.864Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T04:14:46.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements [2021-11-09T04:14:46.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T04:14:46.259Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T04:14:46.259Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.084s coverage: 57.8% of statements [2021-11-09T04:14:47.659Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.837s coverage: 89.2% of statements [2021-11-09T04:14:47.659Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T04:14:47.659Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 4.9% of statements [2021-11-09T04:14:47.659Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T04:14:47.659Z] GO111MODULE=on go vet ./... [2021-11-09T04:15:05.878Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T04:15:05.878Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T04:15:05.878Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T04:15:06.471Z] $ docker stop --time=1 3ff4ff3b6bf7dd16e9979847c6e8f5ac55e58791dfa9ac24b5e7ca7794899349 [2021-11-09T04:15:07.854Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28040 in /w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-09T04:15:08.028Z] $ docker rm -f 3ff4ff3b6bf7dd16e9979847c6e8f5ac55e58791dfa9ac24b5e7ca7794899349 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws [2021-11-09T04:15:08.295Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-09T04:15:08.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T04:15:08.549Z] Selected Git installation does not exist. Using Default [2021-11-09T04:15:08.549Z] The recommended git tool is: NONE [2021-11-09T04:15:08.751Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-09T04:15:11.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T04:15:12.147Z] + ls -al . [2021-11-09T04:15:12.147Z] total 264 [2021-11-09T04:15:12.147Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 04:15 . [2021-11-09T04:15:12.147Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 04:13 .. [2021-11-09T04:15:12.147Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 04:13 bin [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 04:13 CHANGELOG.md [2021-11-09T04:15:12.147Z] -rw-r--r--. 1 jenkins jenkins 127568 Nov 9 04:14 coverage.out [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 04:13 .dockerignore [2021-11-09T04:15:12.147Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 04:13 example [2021-11-09T04:15:12.147Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 04:13 .git [2021-11-09T04:15:12.147Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 04:13 .github [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 04:13 .gitignore [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 04:13 go.mod [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 49140 Nov 9 04:13 go.sum [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 04:13 GOVERNANCE.md [2021-11-09T04:15:12.147Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 04:13 internal [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 04:13 Jenkinsfile [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 04:13 LICENSE [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 04:13 Makefile [2021-11-09T04:15:12.147Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 04:13 openapi [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 04:13 OWNERS.md [2021-11-09T04:15:12.147Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 04:13 pkg [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 04:13 README.md [2021-11-09T04:15:12.147Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 04:13 snap [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 04:11 VERSION [2021-11-09T04:15:12.147Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 04:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:15:12.477Z] + 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=acaad2eaf7e331afa60e093f2992ed3dd0e5840e --label arch=amd64 --label version=0.0.0 . [2021-11-09T04:15:12.477Z] Sending build context to Docker daemon 2.879MB [2021-11-09T04:15:12.478Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T04:15:12.478Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T04:15:12.478Z] ---> e7e1f6719e48 [2021-11-09T04:15:12.478Z] Step 3/24 : ARG MAKE=make build [2021-11-09T04:15:12.478Z] ---> Running in 06297de4c239 [2021-11-09T04:15:12.742Z] Removing intermediate container 06297de4c239 [2021-11-09T04:15:12.742Z] ---> b96bf4927d96 [2021-11-09T04:15:12.742Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T04:15:12.742Z] ---> Running in 68a56edd9d75 [2021-11-09T04:15:12.742Z] Removing intermediate container 68a56edd9d75 [2021-11-09T04:15:12.742Z] ---> 7ddc8004df63 [2021-11-09T04:15:12.742Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:15:12.742Z] ---> Running in 3b2a4ebaa118 [2021-11-09T04:15:12.742Z] Removing intermediate container 3b2a4ebaa118 [2021-11-09T04:15:12.742Z] ---> 269100e891fe [2021-11-09T04:15:12.742Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:15:12.742Z] ---> Running in 1bb137925d77 [2021-11-09T04:15:13.319Z] Removing intermediate container 1bb137925d77 [2021-11-09T04:15:13.319Z] ---> 394ecf4bda72 [2021-11-09T04:15:13.319Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T04:15:13.319Z] ---> Running in d70f84cf0459 [2021-11-09T04:15:13.579Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T04:15:14.526Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T04:15:14.788Z] OK: 220 MiB in 52 packages [2021-11-09T04:15:14.788Z] Removing intermediate container d70f84cf0459 [2021-11-09T04:15:14.788Z] ---> 5bbb06dbe326 [2021-11-09T04:15:14.788Z] Step 8/24 : COPY . . [2021-11-09T04:15:15.358Z] ---> 15f127b21e33 [2021-11-09T04:15:15.358Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T04:15:15.358Z] ---> Running in 1ab43b62a929 [2021-11-09T04:15:15.935Z] Removing intermediate container 1ab43b62a929 [2021-11-09T04:15:15.935Z] ---> a9cf30bd2cdf [2021-11-09T04:15:15.935Z] Step 10/24 : RUN ${MAKE} [2021-11-09T04:15:15.935Z] ---> Running in 7ad9f460189d [2021-11-09T04:15:15.935Z] 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-09T04:15:16.133Z] using credential edgex-jenkins-ssh [2021-11-09T04:15:16.154Z] Cloning the remote Git repository [2021-11-09T04:15:16.228Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:15:16.358Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-09T04:15:16.473Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:15:16.474Z] > git --version # timeout=10 [2021-11-09T04:15:16.495Z] > git --version # 'git version 2.17.1' [2021-11-09T04:15:16.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:15:16.583Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T04:15:18.733Z] Merging remotes/origin/main commit 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc into PR head commit acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-09T04:15:19.007Z] Merge succeeded, producing acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-09T04:15:19.008Z] Checking out Revision acaad2eaf7e331afa60e093f2992ed3dd0e5840e (PR-1060) [2021-11-09T04:15:17.991Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T04:15:18.025Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T04:15:18.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T04:15:18.096Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T04:15:18.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:15:18.120Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1060/head:refs/remotes/origin/PR-1060 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T04:15:18.756Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T04:15:18.774Z] > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-09T04:15:18.900Z] > git remote # timeout=10 [2021-11-09T04:15:18.924Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T04:15:18.949Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T04:15:18.962Z] > git merge 7e75dc983f4f9153173ae0a2fd3aa487c5aa71fc # timeout=10 [2021-11-09T04:15:18.989Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T04:15:19.019Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T04:15:19.041Z] > git checkout -f acaad2eaf7e331afa60e093f2992ed3dd0e5840e # timeout=10 [2021-11-09T04:15:24.476Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [2021-11-09T04:15:24.597Z] > git --version # timeout=10 [2021-11-09T04:15:24.609Z] > git --version # 'git version 2.17.1' [2021-11-09T04:15:24.631Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T04:15:25.712Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T04:15:25.712Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T04:15:25.712Z] Dload Upload Total Spent Left Speed [2021-11-09T04:15:25.712Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2021-11-09T04:15:26.161Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-09T04:15:26.195Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T04:15:26.534Z] + sudo tee /etc/docker/daemon.new [2021-11-09T04:15:26.534Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-09T04:15:26.534Z] { [2021-11-09T04:15:26.534Z] "registry-mirrors": [ [2021-11-09T04:15:26.534Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T04:15:26.534Z] ], [2021-11-09T04:15:26.534Z] "bip": "10.250.0.254/24", [2021-11-09T04:15:26.534Z] "hosts": [ [2021-11-09T04:15:26.534Z] "tcp://0.0.0.0:5555", [2021-11-09T04:15:26.534Z] "unix:///var/run/docker.sock" [2021-11-09T04:15:26.534Z] ], [2021-11-09T04:15:26.534Z] "mtu": 1458, [2021-11-09T04:15:26.534Z] "selinux-enabled": true, [2021-11-09T04:15:26.534Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T04:15:26.534Z] } [Pipeline] sh [2021-11-09T04:15:26.905Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-09T04:15:27.138Z] Removing intermediate container 7ad9f460189d [2021-11-09T04:15:27.139Z] ---> f2c38e474f1b [2021-11-09T04:15:27.139Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T04:15:27.281Z] + sudo service docker restart [2021-11-09T04:15:31.347Z] 3.14: Pulling from library/alpine [2021-11-09T04:15:31.347Z] a0d0a0d46f8b: Already exists [2021-11-09T04:15:31.347Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T04:15:31.347Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T04:15:31.347Z] ---> 14119a10abf4 [2021-11-09T04:15:31.347Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:15:31.347Z] ---> Running in 6ec3206c5a9a [2021-11-09T04:15:31.347Z] Removing intermediate container 6ec3206c5a9a [2021-11-09T04:15:31.347Z] ---> d8ef32ceda3a [2021-11-09T04:15:31.347Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:15:31.347Z] ---> Running in 8f9d810835d0 [2021-11-09T04:15:31.924Z] Removing intermediate container 8f9d810835d0 [2021-11-09T04:15:31.924Z] ---> aa8573cc10a6 [2021-11-09T04:15:31.924Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T04:15:31.924Z] ---> Running in c0855d3b1595 [2021-11-09T04:15:32.186Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T04:15:33.126Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T04:15:33.385Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T04:15:33.385Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T04:15:33.645Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T04:15:33.645Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T04:15:33.645Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T04:15:33.905Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T04:15:33.905Z] OK: 8 MiB in 19 packages [2021-11-09T04:15:34.170Z] Removing intermediate container c0855d3b1595 [2021-11-09T04:15:34.170Z] ---> 50bc4a238bc4 [2021-11-09T04:15:34.170Z] Step 15/24 : WORKDIR / [2021-11-09T04:15:34.170Z] ---> Running in cabf8c0c6193 [2021-11-09T04:15:34.170Z] Removing intermediate container cabf8c0c6193 [2021-11-09T04:15:34.170Z] ---> 1a2e9dbf91fe [2021-11-09T04:15:34.170Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T04:15:34.430Z] ---> 6a1a2d8b6a71 [2021-11-09T04:15:34.430Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T04:15:34.696Z] ---> 741d7481f54e [2021-11-09T04:15:34.696Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T04:15:34.959Z] ---> d95504e04162 [2021-11-09T04:15:34.959Z] Step 19/24 : EXPOSE 59999 [2021-11-09T04:15:34.959Z] ---> Running in 1ab6e95a180e [2021-11-09T04:15:34.959Z] Removing intermediate container 1ab6e95a180e [2021-11-09T04:15:34.959Z] ---> c4e1b7274070 [2021-11-09T04:15:34.959Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T04:15:34.959Z] ---> Running in ccd20aa23ef9 [2021-11-09T04:15:34.959Z] Removing intermediate container ccd20aa23ef9 [2021-11-09T04:15:34.959Z] ---> 52e8b14de80b [2021-11-09T04:15:34.959Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T04:15:35.219Z] ---> Running in ab70b49367fa [2021-11-09T04:15:35.219Z] Removing intermediate container ab70b49367fa [2021-11-09T04:15:35.219Z] ---> 5e9b61a0a254 [2021-11-09T04:15:35.219Z] Step 22/24 : LABEL arch=amd64 [2021-11-09T04:15:35.219Z] ---> Running in cf4cd2bc0314 [2021-11-09T04:15:35.219Z] Removing intermediate container cf4cd2bc0314 [2021-11-09T04:15:35.219Z] ---> 4cdd8a759b67 [2021-11-09T04:15:35.219Z] Step 23/24 : LABEL git_sha=acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-09T04:15:35.480Z] ---> Running in d269d76734b4 [2021-11-09T04:15:35.480Z] Removing intermediate container d269d76734b4 [2021-11-09T04:15:35.480Z] ---> ca419d40a52c [2021-11-09T04:15:35.480Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T04:15:35.480Z] ---> Running in 349083f76fac [2021-11-09T04:15:35.480Z] Removing intermediate container 349083f76fac [2021-11-09T04:15:35.480Z] ---> ce1c6d2a26ab [2021-11-09T04:15:35.480Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T04:15:35.480Z] Successfully built ce1c6d2a26ab [2021-11-09T04:15:35.480Z] 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-09T04:15:36.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:15:36.257Z] [2021-11-09T04:15:36.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:15:36.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:15:36.589Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T04:15:36.589Z] b4d181a07f80: Pulling fs layer [2021-11-09T04:15:36.589Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T04:15:36.589Z] ed53099fbce6: Pulling fs layer [2021-11-09T04:15:36.589Z] dc539afda2c1: Pulling fs layer [2021-11-09T04:15:36.589Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T04:15:36.589Z] 9065ff56babe: Pulling fs layer [2021-11-09T04:15:36.589Z] d287ab97295c: Pulling fs layer [2021-11-09T04:15:36.589Z] 77bc0d833cb6: Waiting [2021-11-09T04:15:36.589Z] 9065ff56babe: Waiting [2021-11-09T04:15:36.589Z] d287ab97295c: Waiting [2021-11-09T04:15:36.589Z] dc539afda2c1: Waiting [2021-11-09T04:15:36.589Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T04:15:36.589Z] a1111a8f2ec3: Download complete [2021-11-09T04:15:36.589Z] dc539afda2c1: Verifying Checksum [2021-11-09T04:15:36.589Z] dc539afda2c1: Download complete [2021-11-09T04:15:36.589Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T04:15:36.589Z] 77bc0d833cb6: Download complete [2021-11-09T04:15:36.853Z] 9065ff56babe: Verifying Checksum [2021-11-09T04:15:36.853Z] 9065ff56babe: Download complete [2021-11-09T04:15:36.853Z] ed53099fbce6: Verifying Checksum [2021-11-09T04:15:36.853Z] ed53099fbce6: Download complete [2021-11-09T04:15:36.853Z] b4d181a07f80: Verifying Checksum [2021-11-09T04:15:36.853Z] b4d181a07f80: Download complete [2021-11-09T04:15:37.437Z] d287ab97295c: Verifying Checksum [2021-11-09T04:15:37.437Z] d287ab97295c: Download complete [2021-11-09T04:15:38.384Z] b4d181a07f80: Pull complete [2021-11-09T04:15:38.384Z] a1111a8f2ec3: Pull complete [2021-11-09T04:15:38.976Z] ed53099fbce6: Pull complete [2021-11-09T04:15:38.976Z] dc539afda2c1: Pull complete [2021-11-09T04:15:39.553Z] 77bc0d833cb6: Pull complete [2021-11-09T04:15:39.553Z] 9065ff56babe: Pull complete [2021-11-09T04:15:44.593Z] d287ab97295c: Pull complete [2021-11-09T04:15:44.593Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T04:15:44.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:15:44.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T04:15:44.680Z] prd-centos7-docker-4c-2g-28038 does not seem to be running inside a container [2021-11-09T04:15:44.707Z] $ 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-09T04:15:47.212Z] $ docker top 6a50b7709406d64eecaa4413b38716ec005fb878c0000546f27f2b423dca236a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2021-11-09T04:15:47.467Z] provisioning config files... [2021-11-09T04:15:47.500Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1242371570766612678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:15:47.709Z] ---> job-cost.sh [2021-11-09T04:15:47.709Z] lf-activate-venv: SKIPPING [2021-11-09T04:15:47.709Z] INFO: No Stack... [2021-11-09T04:15:47.919Z] ---> docker-login.sh [2021-11-09T04:15:47.919Z] nexus3.edgexfoundry.org:10001 [2021-11-09T04:15:48.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:49.089Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T04:15:49.089Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T04:15:49.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:49.123Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:49.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:49.123Z] [2021-11-09T04:15:49.123Z] Login Succeeded [2021-11-09T04:15:49.123Z] nexus3.edgexfoundry.org:10002 [2021-11-09T04:15:49.398Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-09T04:15:49.398Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T04:15:49.454Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1060-1-stack-cost] [2021-11-09T04:15:49.459Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-1-stack-cost] did not exist. Created. [2021-11-09T04:15:49.459Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1060-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T04:15:49.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:49.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:49.733Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:49.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:49.733Z] [2021-11-09T04:15:49.733Z] Login Succeeded [2021-11-09T04:15:49.733Z] nexus3.edgexfoundry.org:10003 [2021-11-09T04:15:49.844Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T04:15:49.901Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T04:15:49.916Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T04:15:49.967Z] $ docker stop --time=1 6a50b7709406d64eecaa4413b38716ec005fb878c0000546f27f2b423dca236a [2021-11-09T04:15:50.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:50.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:50.335Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:50.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:50.335Z] [2021-11-09T04:15:50.335Z] Login Succeeded [2021-11-09T04:15:50.335Z] nexus3.edgexfoundry.org:10004 [2021-11-09T04:15:50.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T04:15:51.093Z] $ docker rm -f 6a50b7709406d64eecaa4413b38716ec005fb878c0000546f27f2b423dca236a [Pipeline] // withDockerContainer [2021-11-09T04:15:51.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:51.211Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:51.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:51.211Z] [2021-11-09T04:15:51.211Z] Login Succeeded [2021-11-09T04:15:51.211Z] docker.io [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [2021-11-09T04:15:51.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] } [2021-11-09T04:15:52.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T04:15:52.094Z] Configure a credential helper to remove this warning. See [2021-11-09T04:15:52.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T04:15:52.094Z] [2021-11-09T04:15:52.094Z] Login Succeeded [2021-11-09T04:15:52.094Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T04:15:52.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T04:15:52.765Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T04:15:52.792Z] ========================================================= [2021-11-09T04:15:52.792Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T04:15:52.792Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:15:53.233Z] + 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-09T04:15:53.830Z] Sending build context to Docker daemon 2.739MB [2021-11-09T04:15:53.830Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T04:15:53.830Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T04:15:54.108Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T04:15:54.108Z] 552d1f2373af: Pulling fs layer [2021-11-09T04:15:54.108Z] ea3f2d53f512: Pulling fs layer [2021-11-09T04:15:54.108Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T04:15:54.108Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T04:15:54.108Z] 72dc09318566: Pulling fs layer [2021-11-09T04:15:54.108Z] f4f7b4309257: Pulling fs layer [2021-11-09T04:15:54.108Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T04:15:54.108Z] b78e95d17946: Pulling fs layer [2021-11-09T04:15:54.108Z] f4f7b4309257: Waiting [2021-11-09T04:15:54.108Z] 0ac9a79272e3: Waiting [2021-11-09T04:15:54.108Z] b78e95d17946: Waiting [2021-11-09T04:15:54.108Z] 72dc09318566: Waiting [2021-11-09T04:15:54.108Z] 7a9cfe048b4a: Waiting [2021-11-09T04:15:54.108Z] 9e70ebbbe112: Download complete [2021-11-09T04:15:54.108Z] ea3f2d53f512: Verifying Checksum [2021-11-09T04:15:54.108Z] ea3f2d53f512: Download complete [2021-11-09T04:15:54.108Z] f4f7b4309257: Verifying Checksum [2021-11-09T04:15:54.108Z] f4f7b4309257: Download complete [2021-11-09T04:15:54.108Z] 552d1f2373af: Verifying Checksum [2021-11-09T04:15:54.108Z] 552d1f2373af: Download complete [2021-11-09T04:15:54.108Z] 0ac9a79272e3: Verifying Checksum [2021-11-09T04:15:54.108Z] 0ac9a79272e3: Download complete [2021-11-09T04:15:55.102Z] 552d1f2373af: Pull complete [2021-11-09T04:15:55.710Z] ea3f2d53f512: Pull complete [2021-11-09T04:15:56.317Z] 9e70ebbbe112: Pull complete [2021-11-09T04:15:56.317Z] b78e95d17946: Verifying Checksum [2021-11-09T04:15:56.317Z] b78e95d17946: Download complete [2021-11-09T04:15:56.932Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T04:15:56.932Z] 7a9cfe048b4a: Download complete [2021-11-09T04:16:07.091Z] 7a9cfe048b4a: Pull complete [2021-11-09T04:16:07.366Z] 72dc09318566: Pull complete [2021-11-09T04:16:07.641Z] f4f7b4309257: Pull complete [2021-11-09T04:16:08.241Z] 0ac9a79272e3: Pull complete [2021-11-09T04:16:13.402Z] b78e95d17946: Pull complete [2021-11-09T04:16:13.402Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T04:16:13.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T04:16:13.402Z] ---> 8b459fc5aaf0 [2021-11-09T04:16:13.402Z] Step 3/10 : ARG MAKE=make build [2021-11-09T04:16:16.056Z] ---> Running in 8579aa92ca16 [2021-11-09T04:16:16.332Z] Removing intermediate container 8579aa92ca16 [2021-11-09T04:16:16.332Z] ---> b5ca14b0422d [2021-11-09T04:16:16.332Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T04:16:16.332Z] ---> Running in 653dea3921d2 [2021-11-09T04:16:16.935Z] Removing intermediate container 653dea3921d2 [2021-11-09T04:16:16.935Z] ---> 1dc235bc4b25 [2021-11-09T04:16:16.935Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:16:16.935Z] ---> Running in 078f4f28b3e8 [2021-11-09T04:16:17.544Z] Removing intermediate container 078f4f28b3e8 [2021-11-09T04:16:17.544Z] ---> 76119d5838eb [2021-11-09T04:16:17.544Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:16:17.821Z] ---> Running in b233299fd2e2 [2021-11-09T04:16:20.473Z] Removing intermediate container b233299fd2e2 [2021-11-09T04:16:20.473Z] ---> 2beed2fb87c9 [2021-11-09T04:16:20.473Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T04:16:20.473Z] ---> Running in 2f3150468d58 [2021-11-09T04:16:21.919Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T04:16:22.521Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T04:16:23.979Z] OK: 219 MiB in 52 packages [2021-11-09T04:16:24.992Z] Removing intermediate container 2f3150468d58 [2021-11-09T04:16:24.992Z] ---> 41d8aa06aa7b [2021-11-09T04:16:24.992Z] Step 8/10 : COPY . . [2021-11-09T04:16:26.431Z] ---> c45cc3343df7 [2021-11-09T04:16:26.431Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T04:16:26.431Z] ---> Running in 609c22f783e5 [2021-11-09T04:17:48.259Z] Removing intermediate container 609c22f783e5 [2021-11-09T04:17:48.259Z] ---> 683c55b4bb67 [2021-11-09T04:17:48.259Z] Step 10/10 : RUN ${MAKE} [2021-11-09T04:17:48.259Z] ---> Running in f7c5345e2dd5 [2021-11-09T04:17:48.259Z] noop [2021-11-09T04:17:48.259Z] Removing intermediate container f7c5345e2dd5 [2021-11-09T04:17:48.259Z] ---> 5ff700ecd248 [2021-11-09T04:17:48.259Z] Successfully built 5ff700ecd248 [2021-11-09T04:17:48.259Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:17:48.634Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T04:17:48.634Z] . [Pipeline] withDockerContainer [2021-11-09T04:17:48.923Z] prd-ubuntu18.04-docker-arm64-4c-16g-28040 does not seem to be running inside a container [2021-11-09T04:17:49.041Z] $ 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-09T04:17:50.684Z] $ docker top 03bde82b7a6fedfa6cbbee18ef883c186c6b6d172a771f2161323b0feb88c4b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T04:17:51.676Z] + go version [2021-11-09T04:17:51.676Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-09T04:17:51.746Z] $ docker stop --time=1 03bde82b7a6fedfa6cbbee18ef883c186c6b6d172a771f2161323b0feb88c4b5 [2021-11-09T04:17:53.478Z] $ docker rm -f 03bde82b7a6fedfa6cbbee18ef883c186c6b6d172a771f2161323b0feb88c4b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:17:54.399Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T04:17:54.400Z] . [Pipeline] withDockerContainer [2021-11-09T04:17:54.692Z] prd-ubuntu18.04-docker-arm64-4c-16g-28040 does not seem to be running inside a container [2021-11-09T04:17:54.813Z] $ 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-09T04:17:56.440Z] $ docker top 845f37ea40cc2fa97c21c2421508dfd2eb6c77e660713935f358ccc14f1cbe79 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T04:17:57.469Z] + make test [2021-11-09T04:17:57.469Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T04:18:29.867Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T04:19:51.740Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T04:19:51.740Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T04:19:51.740Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T04:19:54.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.349s coverage: 23.5% of statements [2021-11-09T04:19:54.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T04:19:54.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.230s coverage: 27.6% of statements [2021-11-09T04:19:54.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.239s coverage: 78.9% of statements [2021-11-09T04:19:54.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.222s coverage: 9.0% of statements [2021-11-09T04:19:54.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T04:19:54.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T04:19:54.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T04:19:55.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.307s coverage: 28.7% of statements [2021-11-09T04:19:55.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T04:19:55.387Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.369s coverage: 83.3% of statements [2021-11-09T04:19:55.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T04:19:55.387Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T04:19:56.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.379s coverage: 57.8% of statements [2021-11-09T04:20:01.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.405s coverage: 89.2% of statements [2021-11-09T04:20:01.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T04:20:01.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.234s coverage: 4.9% of statements [2021-11-09T04:20:01.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T04:20:02.080Z] GO111MODULE=on go vet ./... [2021-11-09T04:21:10.155Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T04:21:10.155Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T04:21:10.155Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T04:21:10.274Z] $ docker stop --time=1 845f37ea40cc2fa97c21c2421508dfd2eb6c77e660713935f358ccc14f1cbe79 [2021-11-09T04:21:12.620Z] $ docker rm -f 845f37ea40cc2fa97c21c2421508dfd2eb6c77e660713935f358ccc14f1cbe79 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T04:21:13.792Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T04:21:13.830Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T04:21:14.651Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T04:21:15.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T04:21:15.647Z] + ls -al . [2021-11-09T04:21:15.647Z] total 300 [2021-11-09T04:21:15.647Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 04:21 . [2021-11-09T04:21:15.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 04:15 .. [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 04:15 .dockerignore [2021-11-09T04:21:15.647Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 04:15 .git [2021-11-09T04:21:15.647Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 04:15 .github [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 04:15 .gitignore [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 04:15 CHANGELOG.md [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 04:15 GOVERNANCE.md [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 04:15 Jenkinsfile [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 04:15 LICENSE [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 04:15 Makefile [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 04:15 OWNERS.md [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 04:15 README.md [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 04:11 VERSION [2021-11-09T04:21:15.647Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 04:15 bin [2021-11-09T04:21:15.647Z] -rw-r--r-- 1 jenkins jenkins 127569 Nov 9 04:20 coverage.out [2021-11-09T04:21:15.647Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 04:15 example [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 04:15 go.mod [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 49140 Nov 9 04:15 go.sum [2021-11-09T04:21:15.647Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 04:15 internal [2021-11-09T04:21:15.647Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 04:15 openapi [2021-11-09T04:21:15.647Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 04:15 pkg [2021-11-09T04:21:15.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 04:15 snap [2021-11-09T04:21:15.647Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 04:15 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:21:16.040Z] + 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=acaad2eaf7e331afa60e093f2992ed3dd0e5840e --label arch=arm64 --label version=0.0.0 . [2021-11-09T04:21:16.674Z] Sending build context to Docker daemon 2.867MB [2021-11-09T04:21:16.674Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T04:21:16.674Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T04:21:16.674Z] ---> 5ff700ecd248 [2021-11-09T04:21:16.674Z] Step 3/24 : ARG MAKE=make build [2021-11-09T04:21:16.674Z] ---> Running in fc2636d8f28b [2021-11-09T04:21:17.276Z] Removing intermediate container fc2636d8f28b [2021-11-09T04:21:17.276Z] ---> 792ce269344d [2021-11-09T04:21:17.276Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T04:21:17.550Z] ---> Running in b30333d817fe [2021-11-09T04:21:17.829Z] Removing intermediate container b30333d817fe [2021-11-09T04:21:17.829Z] ---> 463baea8e090 [2021-11-09T04:21:17.829Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:21:18.104Z] ---> Running in 11be8717e607 [2021-11-09T04:21:18.382Z] Removing intermediate container 11be8717e607 [2021-11-09T04:21:18.382Z] ---> a5af2507f09e [2021-11-09T04:21:18.382Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:21:18.656Z] ---> Running in 4f7471af0472 [2021-11-09T04:21:20.647Z] Removing intermediate container 4f7471af0472 [2021-11-09T04:21:20.647Z] ---> 768277c77285 [2021-11-09T04:21:20.647Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T04:21:20.647Z] ---> Running in bd55bde32f7b [2021-11-09T04:21:22.084Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T04:21:23.064Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T04:21:23.670Z] OK: 219 MiB in 52 packages [2021-11-09T04:21:24.660Z] Removing intermediate container bd55bde32f7b [2021-11-09T04:21:24.660Z] ---> d605889b2b4e [2021-11-09T04:21:24.660Z] Step 8/24 : COPY . . [2021-11-09T04:21:26.098Z] ---> 1dfc1f9b69f9 [2021-11-09T04:21:26.098Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T04:21:26.098Z] ---> Running in ab8f5d1b2b9b [2021-11-09T04:21:28.723Z] Removing intermediate container ab8f5d1b2b9b [2021-11-09T04:21:28.723Z] ---> 9d3125e971c1 [2021-11-09T04:21:28.723Z] Step 10/24 : RUN ${MAKE} [2021-11-09T04:21:28.723Z] ---> Running in bf51849bc72c [2021-11-09T04:21:30.152Z] 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-09T04:22:09.198Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T04:22:09.795Z] Removing intermediate container bf51849bc72c [2021-11-09T04:22:09.795Z] ---> 34da54a7a78e [2021-11-09T04:22:09.795Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T04:22:10.774Z] 3.14: Pulling from library/alpine [2021-11-09T04:22:11.055Z] 552d1f2373af: Already exists [2021-11-09T04:22:11.055Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T04:22:11.055Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T04:22:11.055Z] ---> bb3de5531c18 [2021-11-09T04:22:11.055Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T04:22:11.331Z] ---> Running in c3e16bb25f48 [2021-11-09T04:22:11.605Z] Removing intermediate container c3e16bb25f48 [2021-11-09T04:22:11.605Z] ---> 57c7e580264b [2021-11-09T04:22:11.605Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T04:22:11.881Z] ---> Running in f4660e168312 [2021-11-09T04:22:13.863Z] Removing intermediate container f4660e168312 [2021-11-09T04:22:13.863Z] ---> 46c674afe25d [2021-11-09T04:22:13.863Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T04:22:13.863Z] ---> Running in 75aa78df2107 [2021-11-09T04:22:15.305Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T04:22:16.286Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T04:22:16.883Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T04:22:17.157Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T04:22:17.157Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T04:22:17.433Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T04:22:17.433Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T04:22:17.433Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T04:22:17.433Z] OK: 8 MiB in 19 packages [2021-11-09T04:22:18.867Z] Removing intermediate container 75aa78df2107 [2021-11-09T04:22:18.867Z] ---> 8348216d5506 [2021-11-09T04:22:18.867Z] Step 15/24 : WORKDIR / [2021-11-09T04:22:18.867Z] ---> Running in 6d34b47bcd3c [2021-11-09T04:22:19.142Z] Removing intermediate container 6d34b47bcd3c [2021-11-09T04:22:19.142Z] ---> dc7c69fe9a6e [2021-11-09T04:22:19.142Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T04:22:20.117Z] ---> 7106429ec2f7 [2021-11-09T04:22:20.117Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T04:22:21.092Z] ---> 96b702c2ec4c [2021-11-09T04:22:21.092Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T04:22:22.078Z] ---> fab7646c63bd [2021-11-09T04:22:22.078Z] Step 19/24 : EXPOSE 59999 [2021-11-09T04:22:22.078Z] ---> Running in f5dc57d271b2 [2021-11-09T04:22:22.675Z] Removing intermediate container f5dc57d271b2 [2021-11-09T04:22:22.675Z] ---> b52ce59ad54c [2021-11-09T04:22:22.675Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T04:22:22.675Z] ---> Running in 57585f8a733f [2021-11-09T04:22:23.272Z] Removing intermediate container 57585f8a733f [2021-11-09T04:22:23.272Z] ---> 87f80aa5de35 [2021-11-09T04:22:23.272Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T04:22:23.272Z] ---> Running in 37f79a8d6932 [2021-11-09T04:22:23.546Z] Removing intermediate container 37f79a8d6932 [2021-11-09T04:22:23.546Z] ---> 8c6e74510eb1 [2021-11-09T04:22:23.546Z] Step 22/24 : LABEL arch=arm64 [2021-11-09T04:22:23.818Z] ---> Running in 2f691a62b885 [2021-11-09T04:22:24.090Z] Removing intermediate container 2f691a62b885 [2021-11-09T04:22:24.090Z] ---> 0435ba1ffe20 [2021-11-09T04:22:24.090Z] Step 23/24 : LABEL git_sha=acaad2eaf7e331afa60e093f2992ed3dd0e5840e [2021-11-09T04:22:24.364Z] ---> Running in 8e1db4a563c2 [2021-11-09T04:22:24.637Z] Removing intermediate container 8e1db4a563c2 [2021-11-09T04:22:24.637Z] ---> 288f35537707 [2021-11-09T04:22:24.637Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T04:22:24.911Z] ---> Running in 8e2660a8b8a2 [2021-11-09T04:22:25.183Z] Removing intermediate container 8e2660a8b8a2 [2021-11-09T04:22:25.183Z] ---> 472a9354bcfa [2021-11-09T04:22:25.183Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T04:22:25.183Z] Successfully built 472a9354bcfa [2021-11-09T04:22:25.183Z] 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-09T04:22:25.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T04:22:26.169Z] [2021-11-09T04:22:26.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:22:26.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T04:22:26.828Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T04:22:26.828Z] 448f6bf000e3: Pulling fs layer [2021-11-09T04:22:26.828Z] f757da607395: Pulling fs layer [2021-11-09T04:22:26.828Z] 05883995daec: Pulling fs layer [2021-11-09T04:22:26.828Z] 8603b9c90790: Pulling fs layer [2021-11-09T04:22:26.828Z] 1560dd03e051: Pulling fs layer [2021-11-09T04:22:26.828Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T04:22:26.828Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T04:22:26.828Z] 1560dd03e051: Waiting [2021-11-09T04:22:26.828Z] 27f5ce0e4adf: Waiting [2021-11-09T04:22:26.828Z] c2d8d7efcc4b: Waiting [2021-11-09T04:22:26.828Z] 8603b9c90790: Waiting [2021-11-09T04:22:26.828Z] f757da607395: Verifying Checksum [2021-11-09T04:22:26.828Z] f757da607395: Download complete [2021-11-09T04:22:26.828Z] 8603b9c90790: Verifying Checksum [2021-11-09T04:22:26.828Z] 8603b9c90790: Download complete [2021-11-09T04:22:27.104Z] 1560dd03e051: Download complete [2021-11-09T04:22:27.104Z] 05883995daec: Verifying Checksum [2021-11-09T04:22:27.104Z] 05883995daec: Download complete [2021-11-09T04:22:27.104Z] 27f5ce0e4adf: Verifying Checksum [2021-11-09T04:22:27.104Z] 27f5ce0e4adf: Download complete [2021-11-09T04:22:27.376Z] 448f6bf000e3: Verifying Checksum [2021-11-09T04:22:27.376Z] 448f6bf000e3: Download complete [2021-11-09T04:22:30.002Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T04:22:30.002Z] c2d8d7efcc4b: Download complete [2021-11-09T04:22:30.983Z] 448f6bf000e3: Pull complete [2021-11-09T04:22:31.579Z] f757da607395: Pull complete [2021-11-09T04:22:33.046Z] 05883995daec: Pull complete [2021-11-09T04:22:33.645Z] 8603b9c90790: Pull complete [2021-11-09T04:22:34.641Z] 1560dd03e051: Pull complete [2021-11-09T04:22:34.927Z] 27f5ce0e4adf: Pull complete [2021-11-09T04:22:50.049Z] c2d8d7efcc4b: Pull complete [2021-11-09T04:22:50.049Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T04:22:50.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T04:22:50.049Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T04:22:50.353Z] prd-ubuntu18.04-docker-arm64-4c-16g-28040 does not seem to be running inside a container [2021-11-09T04:22:50.529Z] $ 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-09T04:22:54.191Z] $ docker top 814df9d1512f54177c23bb84306c3d80e3b882e511c94baaa73ef1eddbe0ad60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:22:55.180Z] ---> job-cost.sh [2021-11-09T04:22:55.180Z] lf-activate-venv: SKIPPING [2021-11-09T04:22:55.180Z] INFO: No Stack... [2021-11-09T04:22:59.476Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T04:22:59.476Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T04:23:00.160Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-09T04:23:00.160Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T04:23:00.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1060-1-stack-cost] [2021-11-09T04:23:00.252Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-1-stack-cost] did not exist. Created. [2021-11-09T04:23:00.252Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1060-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T04:23:00.984Z] /w/workspace/device-sdk-go/1@tmp/durable-43e446f4/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-43e446f4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T04:23:01.685Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T04:23:01.725Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T04:23:01.790Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T04:23:01.806Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1060-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T04:23:01.952Z] $ docker stop --time=1 814df9d1512f54177c23bb84306c3d80e3b882e511c94baaa73ef1eddbe0ad60 [2021-11-09T04:23:03.597Z] $ docker rm -f 814df9d1512f54177c23bb84306c3d80e3b882e511c94baaa73ef1eddbe0ad60 [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-09T04:23:04.500Z] provisioning config files... [2021-11-09T04:23:04.513Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config8696312804064626669tmp [Pipeline] { [Pipeline] sh [2021-11-09T04:23:04.846Z] + set +x [2021-11-09T04:23:04.846Z] + curl -s https://codecov.io/bash [2021-11-09T04:23:04.846Z] + bash -s -- [2021-11-09T04:23:04.846Z] [2021-11-09T04:23:04.846Z] _____ _ [2021-11-09T04:23:04.846Z] / ____| | | [2021-11-09T04:23:04.846Z] | | ___ __| | ___ ___ _____ __ [2021-11-09T04:23:04.846Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-09T04:23:04.846Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-09T04:23:04.846Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-09T04:23:04.846Z] Bash-1.0.6 [2021-11-09T04:23:04.846Z] [2021-11-09T04:23:04.846Z] [2021-11-09T04:23:04.846Z] ==> git version 2.24.4 found [2021-11-09T04:23:04.846Z] ==> 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-09T04:23:04.846Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-09T04:23:04.846Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-09T04:23:04.846Z] ==> Jenkins CI detected. [2021-11-09T04:23:04.846Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-09T04:23:04.846Z] project root: . [2021-11-09T04:23:04.846Z] --> token set from env [2021-11-09T04:23:04.846Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-09T04:23:04.846Z] ==> Running gcov in . (disable via -X gcov) [2021-11-09T04:23:04.846Z] ==> Python coveragepy not found [2021-11-09T04:23:04.846Z] ==> Searching for coverage reports in: [2021-11-09T04:23:04.846Z] + . [2021-11-09T04:23:04.846Z] -> Found 1 reports [2021-11-09T04:23:04.846Z] ==> Detecting git/mercurial file structure [2021-11-09T04:23:04.846Z] ==> Reading reports [2021-11-09T04:23:04.846Z] + ./coverage.out bytes=127569 [2021-11-09T04:23:05.108Z] ==> Appending adjustments [2021-11-09T04:23:05.108Z] https://docs.codecov.io/docs/fixing-reports [2021-11-09T04:23:05.108Z] + Found adjustments [2021-11-09T04:23:05.108Z] ==> Gzipping contents [2021-11-09T04:23:05.374Z] 16K /tmp/codecov.DrFGXr.gz [2021-11-09T04:23:05.374Z] ==> Uploading reports [2021-11-09T04:23:05.374Z] url: https://codecov.io [2021-11-09T04:23:05.374Z] query: branch=PR-1060&commit=acaad2eaf7e331afa60e093f2992ed3dd0e5840e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1060%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1060&job=&cmd_args= [2021-11-09T04:23:05.374Z] -> Pinging Codecov [2021-11-09T04:23:05.374Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1060&commit=acaad2eaf7e331afa60e093f2992ed3dd0e5840e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1060%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1060&job=&cmd_args= [2021-11-09T04:23:05.635Z] -> Uploading to [2021-11-09T04:23:05.635Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7E55EF52A471D76F132DFD9A03CDDE97/acaad2eaf7e331afa60e093f2992ed3dd0e5840e/8d1cb283-29b2-41e7-b34c-be83a33efb89.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T042305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16ad1c9a4de4725d107d6093dd00c664bcb574e71958f71e3e1de9e681fbc1ca [2021-11-09T04:23:05.635Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T04:23:05.635Z] Dload Upload Total Spent Left Speed [2021-11-09T04:23:06.598Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16261 0 0 100 16261 0 55635 --:--:-- --:--:-- --:--:-- 55688 [2021-11-09T04:23:06.598Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/acaad2eaf7e331afa60e093f2992ed3dd0e5840e [Pipeline] } [2021-11-09T04:23:06.619Z] 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-09T04:23:08.541Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:08.869Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:09.484Z] ---> package-listing.sh [2021-11-09T04:23:09.485Z] ++ facter osfamily [2021-11-09T04:23:09.485Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T04:23:09.765Z] + OS_FAMILY=redhat [2021-11-09T04:23:09.765Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1060 [2021-11-09T04:23:09.765Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T04:23:09.765Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T04:23:09.765Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T04:23:09.765Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T04:23:09.765Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1060 ']' [2021-11-09T04:23:09.765Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T04:23:09.765Z] + case "${OS_FAMILY}" in [2021-11-09T04:23:09.765Z] + rpm -qa [2021-11-09T04:23:09.765Z] + sort [2021-11-09T04:23:10.336Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T04:23:10.336Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T04:23:10.336Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T04:23:10.336Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1060 ']' [2021-11-09T04:23:10.336Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives/ [2021-11-09T04:23:10.336Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1060/archives/ [Pipeline] echo [2021-11-09T04:23:10.363Z] 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-1060/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-09T04:23:10.664Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:23:11.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:23:11.261Z] [2021-11-09T04:23:11.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T04:23:11.592Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:23:11.592Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T04:23:11.592Z] b4d181a07f80: Pulling fs layer [2021-11-09T04:23:11.592Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T04:23:11.592Z] ed53099fbce6: Pulling fs layer [2021-11-09T04:23:11.592Z] dc539afda2c1: Pulling fs layer [2021-11-09T04:23:11.592Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T04:23:11.592Z] 9065ff56babe: Pulling fs layer [2021-11-09T04:23:11.592Z] d287ab97295c: Pulling fs layer [2021-11-09T04:23:11.592Z] dc539afda2c1: Waiting [2021-11-09T04:23:11.592Z] 77bc0d833cb6: Waiting [2021-11-09T04:23:11.592Z] 9065ff56babe: Waiting [2021-11-09T04:23:11.592Z] d287ab97295c: Waiting [2021-11-09T04:23:11.592Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T04:23:11.592Z] a1111a8f2ec3: Download complete [2021-11-09T04:23:11.592Z] dc539afda2c1: Verifying Checksum [2021-11-09T04:23:11.592Z] dc539afda2c1: Download complete [2021-11-09T04:23:11.592Z] ed53099fbce6: Verifying Checksum [2021-11-09T04:23:11.592Z] ed53099fbce6: Download complete [2021-11-09T04:23:11.592Z] 9065ff56babe: Verifying Checksum [2021-11-09T04:23:11.592Z] 9065ff56babe: Download complete [2021-11-09T04:23:11.853Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T04:23:11.853Z] 77bc0d833cb6: Download complete [2021-11-09T04:23:11.853Z] b4d181a07f80: Verifying Checksum [2021-11-09T04:23:11.853Z] b4d181a07f80: Download complete [2021-11-09T04:23:12.430Z] d287ab97295c: Verifying Checksum [2021-11-09T04:23:12.430Z] d287ab97295c: Download complete [2021-11-09T04:23:13.404Z] b4d181a07f80: Pull complete [2021-11-09T04:23:13.404Z] a1111a8f2ec3: Pull complete [2021-11-09T04:23:13.983Z] ed53099fbce6: Pull complete [2021-11-09T04:23:13.983Z] dc539afda2c1: Pull complete [2021-11-09T04:23:14.249Z] 77bc0d833cb6: Pull complete [2021-11-09T04:23:14.511Z] 9065ff56babe: Pull complete [2021-11-09T04:23:19.854Z] d287ab97295c: Pull complete [2021-11-09T04:23:19.854Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T04:23:19.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T04:23:19.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T04:23:19.954Z] prd-centos7-docker-4c-2g-28034 does not seem to be running inside a container [2021-11-09T04:23:19.987Z] $ 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-1060/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-1060 -v /w/workspace/gexfoundry_device-sdk-go_PR-1060:/w/workspace/gexfoundry_device-sdk-go_PR-1060:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1060@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-09T04:23:22.290Z] $ docker top 455351cd3c4119d4b07d5bbf3691b3414db523478ec6e79c0db14518ec412258 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T04:23:22.699Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T04:23:23.010Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T04:23:23.316Z] + ls /var/log/sa-host [2021-11-09T04:23:23.317Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T04:23:23.317Z] file_magic: OK [2021-11-09T04:23:23.317Z] HZ: Using current value: 100 [2021-11-09T04:23:23.317Z] file_header: OK [2021-11-09T04:23:23.317Z] 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-09T04:23:23.317Z] Statistics: [2021-11-09T04:23:23.317Z] 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-09T04:23:23.317Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T04:23:23.317Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T04:23:23.317Z] file_magic: OK [2021-11-09T04:23:23.317Z] HZ: Using current value: 100 [2021-11-09T04:23:23.317Z] file_header: OK [2021-11-09T04:23:23.317Z] 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-09T04:23:23.317Z] Statistics: [2021-11-09T04:23:23.317Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T04:23:23.317Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T04:23:23.436Z] provisioning config files... [2021-11-09T04:23:23.449Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1060@tmp/config5509607767105759732tmp [Pipeline] { [Pipeline] echo [2021-11-09T04:23:23.498Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:23.817Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T04:23:23.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:24.238Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T04:23:24.262Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:24.575Z] ---> sudo-logs.sh [2021-11-09T04:23:24.575Z] Archiving 'sudo' log.. [2021-11-09T04:23:24.575Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28034.novalocal: Name or service not known [2021-11-09T04:23:24.575Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28034.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T04:23:24.636Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:24.948Z] ---> job-cost.sh [2021-11-09T04:23:24.948Z] lf-activate-venv: SKIPPING [2021-11-09T04:23:24.948Z] DEBUG: total: 0.10999999940395355 [2021-11-09T04:23:24.948Z] INFO: Retrieving Stack Cost... [2021-11-09T04:23:26.530Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T04:23:26.530Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T04:23:26.556Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T04:23:26.888Z] ---> logs-deploy.sh [2021-11-09T04:23:26.888Z] lf-activate-venv: SKIPPING [2021-11-09T04:23:26.888Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1060/1 [2021-11-09T04:23:26.888Z] INFO: archiving workspace using pattern(s): [2021-11-09T04:23:27.460Z] Archives upload complete. [2021-11-09T04:23:27.722Z] INFO: archiving logs to Nexus