Pull request #143 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 754aee6365542f660fd29d8a8ab196cffde604e9+4ac6fc9b5edf904ed0b684cea51ffa3833345a1c (6e544fae62d32279b5d1472f5a7f5822f914b8ae) 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-ssh3527511325206052847.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 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-ssh4090702509948862904.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 a03e002eace0db65b27acd1444eb3c4392a49323 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-rest-go/branches/PR-143/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-rest-go/branches/PR-143/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2647421027524818532.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-rest-go/branches/PR-143/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3014034723005738750.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1374633601985713228.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-rest-go/branches/PR-143/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-rest-go/branches/PR-143/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1375712953609992779.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 a03e002eace0db65b27acd1444eb3c4392a49323 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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 Running on prd-centos7-docker-4c-2g-208 in /w/workspace/gexfoundry_device-rest-go_PR-143 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-143 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_PR-143@tmp/jenkins-gitclient-ssh6223853793394984524.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_PR-143@tmp/jenkins-gitclient-ssh1351011936751907431.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c into PR head commit 754aee6365542f660fd29d8a8ab196cffde604e9 Merge succeeded, producing 754aee6365542f660fd29d8a8ab196cffde604e9 Checking out Revision 754aee6365542f660fd29d8a8ab196cffde604e9 (PR-143) > git config core.sparsecheckout # timeout=10 > git checkout -f 754aee6365542f660fd29d8a8ab196cffde604e9 # 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-rest-go_PR-143@tmp/jenkins-gitclient-ssh7131126852119755151.key > git merge 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 754aee6365542f660fd29d8a8ab196cffde604e9 # timeout=10 Commit message: "build: Update to latest SDK and released go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T20:25:49.433Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T20:25:49.565Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T20:25:49.654Z] ========================================================= [2021-11-11T20:25:49.654Z] EdgeX Global Pipelines Version Info [2021-11-11T20:25:49.654Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:25:50.815Z] ------------------- [2021-11-11T20:25:50.815Z] stable info: [2021-11-11T20:25:50.815Z] ------------------- [2021-11-11T20:25:50.815Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T20:25:50.815Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:25:50.815Z] Message: update stable to v1.0.213 [2021-11-11T20:25:51.386Z] ------------------- [2021-11-11T20:25:51.386Z] experimental info: [2021-11-11T20:25:51.386Z] ------------------- [2021-11-11T20:25:51.386Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T20:25:51.386Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:25:51.386Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T20:25:51.549Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-11T20:25:51.599Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-11T20:25:51.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T20:25:51.672Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T20:25:51.708Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T20:25:51.742Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T20:25:51.789Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T20:25:51.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-11T20:25:51.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T20:25:51.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T20:25:51.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T20:25:51.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-11T20:25:52.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T20:25:52.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T20:25:52.107Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:25:52.155Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:25:52.194Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:25:52.231Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:25:52.268Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T20:25:52.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T20:25:52.349Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-11T20:25:52.381Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-11T20:25:52.417Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T20:25:52.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T20:25:52.484Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-11T20:25:52.520Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T20:25:52.556Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-143 [Pipeline] echo [2021-11-11T20:25:52.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-143 [Pipeline] echo [2021-11-11T20:25:52.631Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-143 [Pipeline] echo [2021-11-11T20:25:52.665Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 754aee6365542f660fd29d8a8ab196cffde604e9 [Pipeline] echo [2021-11-11T20:25:52.704Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 754aee6 [Pipeline] echo [2021-11-11T20:25:52.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:25:52.838Z] provisioning config files... [2021-11-11T20:25:52.851Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-143@tmp/config8756454682495935174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:25:53.199Z] ---> docker-login.sh [2021-11-11T20:25:53.199Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:25:53.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:25:53.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:25:53.461Z] Configure a credential helper to remove this warning. See [2021-11-11T20:25:53.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:25:53.461Z] [2021-11-11T20:25:53.461Z] Login Succeeded [2021-11-11T20:25:53.461Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:25:53.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:25:53.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:25:53.461Z] Configure a credential helper to remove this warning. See [2021-11-11T20:25:53.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:25:53.461Z] [2021-11-11T20:25:53.461Z] Login Succeeded [2021-11-11T20:25:53.461Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:25:53.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:25:53.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:25:53.461Z] Configure a credential helper to remove this warning. See [2021-11-11T20:25:53.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:25:53.461Z] [2021-11-11T20:25:53.461Z] Login Succeeded [2021-11-11T20:25:53.461Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:25:53.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:25:53.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:25:53.721Z] Configure a credential helper to remove this warning. See [2021-11-11T20:25:53.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:25:53.721Z] [2021-11-11T20:25:53.721Z] Login Succeeded [2021-11-11T20:25:53.721Z] docker.io [2021-11-11T20:25:53.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:25:53.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:25:53.985Z] Configure a credential helper to remove this warning. See [2021-11-11T20:25:53.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:25:53.985Z] [2021-11-11T20:25:53.985Z] Login Succeeded [2021-11-11T20:25:53.985Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:25:54.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T20:25:54.642Z] + git rev-list -1 --merges 754aee6365542f660fd29d8a8ab196cffde604e9~1..754aee6365542f660fd29d8a8ab196cffde604e9 [Pipeline] echo [2021-11-11T20:25:54.696Z] -----------> git rev-list -1 --merges 754aee6365542f660fd29d8a8ab196cffde604e9~1..754aee6365542f660fd29d8a8ab196cffde604e9 754aee6365542f660fd29d8a8ab196cffde604e9 [false] [Pipeline] sh [2021-11-11T20:25:55.031Z] + git log --format=format:%s -1 754aee6365542f660fd29d8a8ab196cffde604e9 [Pipeline] echo [2021-11-11T20:25:55.061Z] ========================================================= [2021-11-11T20:25:55.061Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T20:25:55.061Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:25:55.488Z] + git log --format=format:%s -1 754aee6365542f660fd29d8a8ab196cffde604e9 [Pipeline] echo [2021-11-11T20:25:55.519Z] [semverPrep] GIT_COMMIT: 754aee6365542f660fd29d8a8ab196cffde604e9, Commit Message: build: Update to latest SDK and released go-mods [Pipeline] echo [2021-11-11T20:25:55.548Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:25:56.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:25:56.181Z] [2021-11-11T20:25:56.181Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:25:56.518Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:25:56.518Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T20:25:56.518Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:25:56.518Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T20:25:56.518Z] 4c7163046ea9: Pulling fs layer [2021-11-11T20:25:56.518Z] 0c2d73faf560: Pulling fs layer [2021-11-11T20:25:56.518Z] 0c2d73faf560: Waiting [2021-11-11T20:25:56.518Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T20:25:56.518Z] 3e5f54012d9b: Download complete [2021-11-11T20:25:56.518Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:25:56.518Z] a0d0a0d46f8b: Download complete [2021-11-11T20:25:56.518Z] 0c2d73faf560: Verifying Checksum [2021-11-11T20:25:56.518Z] 0c2d73faf560: Download complete [2021-11-11T20:25:56.518Z] 4c7163046ea9: Verifying Checksum [2021-11-11T20:25:56.518Z] 4c7163046ea9: Download complete [2021-11-11T20:25:56.780Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:25:56.780Z] 3e5f54012d9b: Pull complete [2021-11-11T20:25:57.041Z] 4c7163046ea9: Pull complete [2021-11-11T20:25:57.302Z] 0c2d73faf560: Pull complete [2021-11-11T20:25:57.302Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T20:25:57.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:25:57.302Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T20:25:57.388Z] prd-centos7-docker-4c-2g-208 does not seem to be running inside a container [2021-11-11T20:25:57.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-143 -v /w/workspace/gexfoundry_device-rest-go_PR-143:/w/workspace/gexfoundry_device-rest-go_PR-143:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-143@tmp:/w/workspace/gexfoundry_device-rest-go_PR-143@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:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:25:58.078Z] $ docker top 53ee03887e53a0d7361210c902aa9c16dda4069b39d7c63b75c9512ceee4fab1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:25:58.252Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:25:58.252Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:25:58.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:25:58.368Z] $ docker exec 53ee03887e53a0d7361210c902aa9c16dda4069b39d7c63b75c9512ceee4fab1 ssh-agent [2021-11-11T20:25:58.493Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkagfbc/agent.13 [2021-11-11T20:25:58.493Z] SSH_AGENT_PID=20 [2021-11-11T20:25:58.499Z] Running ssh-add (command line suppressed) [2021-11-11T20:25:58.590Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-143@tmp/private_key_1467037424841505311.key (/w/workspace/gexfoundry_device-rest-go_PR-143@tmp/private_key_1467037424841505311.key) [2021-11-11T20:25:58.604Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:25:58.938Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T20:25:58.952Z] $ docker exec --env ******** --env ******** 53ee03887e53a0d7361210c902aa9c16dda4069b39d7c63b75c9512ceee4fab1 ssh-agent -k [2021-11-11T20:25:59.049Z] unset SSH_AUTH_SOCK; [2021-11-11T20:25:59.049Z] unset SSH_AGENT_PID; [2021-11-11T20:25:59.049Z] echo Agent pid 20 killed; [2021-11-11T20:25:59.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T20:25:59.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:25:59.141Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:25:59.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:25:59.240Z] $ docker exec 53ee03887e53a0d7361210c902aa9c16dda4069b39d7c63b75c9512ceee4fab1 ssh-agent [2021-11-11T20:25:59.341Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoGjjGh/agent.53 [2021-11-11T20:25:59.341Z] SSH_AGENT_PID=59 [2021-11-11T20:25:59.347Z] Running ssh-add (command line suppressed) [2021-11-11T20:25:59.434Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-143@tmp/private_key_6994285212907017287.key (/w/workspace/gexfoundry_device-rest-go_PR-143@tmp/private_key_6994285212907017287.key) [2021-11-11T20:25:59.449Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:25:59.774Z] + git semver init [2021-11-11T20:25:59.774Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:25:59.774Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-143/.git [2021-11-11T20:25:59.774Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-143 [2021-11-11T20:25:59.774Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:25:59.774Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:25:59.774Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:25:59.774Z] # $SEMVER_BRANCH = PR-143 [2021-11-11T20:25:59.774Z] # $SEMVER_TEMP = /tmp/semver-893076214 [2021-11-11T20:25:59.774Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-11T20:26:00.717Z] # '/tmp/semver-893076214' -> '/w/workspace/gexfoundry_device-rest-go_PR-143/.semver' [2021-11-11T20:26:00.717Z] # -> Force: false [2021-11-11T20:26:00.717Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-143/.semver [Pipeline] } [2021-11-11T20:26:00.735Z] $ docker exec --env ******** --env ******** 53ee03887e53a0d7361210c902aa9c16dda4069b39d7c63b75c9512ceee4fab1 ssh-agent -k [2021-11-11T20:26:00.829Z] unset SSH_AUTH_SOCK; [2021-11-11T20:26:00.829Z] unset SSH_AGENT_PID; [2021-11-11T20:26:00.829Z] echo Agent pid 59 killed; [2021-11-11T20:26:00.841Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:26:01.241Z] + git semver [Pipeline] } [2021-11-11T20:26:01.261Z] $ docker stop --time=1 53ee03887e53a0d7361210c902aa9c16dda4069b39d7c63b75c9512ceee4fab1 [2021-11-11T20:26:02.518Z] $ docker rm -f 53ee03887e53a0d7361210c902aa9c16dda4069b39d7c63b75c9512ceee4fab1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:26:02.926Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T20:26:03.202Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T20:26:03.245Z] [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-11T20:26:18.654Z] Still waiting to schedule task [2021-11-11T20:26:18.654Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-11T20:26:18.679Z] Still waiting to schedule task [2021-11-11T20:26:18.679Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-209’ is offline [2021-11-11T20:28:20.162Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-210 in /w/workspace/gexfoundry_device-rest-go_PR-143 [Pipeline] { [Pipeline] ws [2021-11-11T20:28:20.208Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T20:28:20.460Z] The recommended git tool is: git [2021-11-11T20:28:26.135Z] using credential edgex-jenkins-ssh [2021-11-11T20:28:26.152Z] Cloning the remote Git repository [2021-11-11T20:28:26.178Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:28:26.279Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-11-11T20:28:26.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:28:26.362Z] > git --version # timeout=10 [2021-11-11T20:28:26.381Z] > git --version # 'git version 2.17.1' [2021-11-11T20:28:26.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:28:26.449Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:28:29.982Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-11T20:28:30.000Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:28:30.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-11T20:28:30.067Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:28:30.068Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:28:30.081Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T20:28:30.728Z] Merging remotes/origin/main commit 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c into PR head commit 754aee6365542f660fd29d8a8ab196cffde604e9 [2021-11-11T20:28:30.927Z] Merge succeeded, producing 754aee6365542f660fd29d8a8ab196cffde604e9 [2021-11-11T20:28:30.927Z] Checking out Revision 754aee6365542f660fd29d8a8ab196cffde604e9 (PR-143) [2021-11-11T20:28:30.738Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:28:30.751Z] > git checkout -f 754aee6365542f660fd29d8a8ab196cffde604e9 # timeout=10 [2021-11-11T20:28:30.835Z] > git remote # timeout=10 [2021-11-11T20:28:30.853Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T20:28:30.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:28:30.876Z] > git merge 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c # timeout=10 [2021-11-11T20:28:30.898Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T20:28:30.923Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:28:30.944Z] > git checkout -f 754aee6365542f660fd29d8a8ab196cffde604e9 # timeout=10 [2021-11-11T20:28:35.048Z] Commit message: "build: Update to latest SDK and released go-mods" [2021-11-11T20:28:35.099Z] > git --version # timeout=10 [2021-11-11T20:28:35.114Z] > git --version # 'git version 2.17.1' [2021-11-11T20:28:35.149Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:28:36.151Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T20:28:36.151Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:28:36.151Z] Dload Upload Total Spent Left Speed [2021-11-11T20:28:36.151Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 86941 0 --:--:-- --:--:-- --:--:-- 86941 [Pipeline] sh [2021-11-11T20:28:36.563Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T20:28:37.000Z] + sudo tee /etc/docker/daemon.new [2021-11-11T20:28:37.000Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T20:28:37.000Z] { [2021-11-11T20:28:37.000Z] "registry-mirrors": [ [2021-11-11T20:28:37.000Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T20:28:37.000Z] ], [2021-11-11T20:28:37.000Z] "bip": "10.250.0.254/24", [2021-11-11T20:28:37.000Z] "hosts": [ [2021-11-11T20:28:37.000Z] "tcp://0.0.0.0:5555", [2021-11-11T20:28:37.000Z] "unix:///var/run/docker.sock" [2021-11-11T20:28:37.000Z] ], [2021-11-11T20:28:37.000Z] "mtu": 1458, [2021-11-11T20:28:37.000Z] "selinux-enabled": true, [2021-11-11T20:28:37.000Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T20:28:37.000Z] } [Pipeline] sh [2021-11-11T20:28:37.354Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T20:28:37.718Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:28:56.100Z] provisioning config files... [2021-11-11T20:28:56.125Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5410171055576759017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:28:56.519Z] ---> docker-login.sh [2021-11-11T20:28:56.519Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:28:57.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:28:57.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:28:57.397Z] Configure a credential helper to remove this warning. See [2021-11-11T20:28:57.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:28:57.397Z] [2021-11-11T20:28:57.397Z] Login Succeeded [2021-11-11T20:28:57.397Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:28:57.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:28:57.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:28:57.998Z] Configure a credential helper to remove this warning. See [2021-11-11T20:28:57.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:28:57.998Z] [2021-11-11T20:28:57.998Z] Login Succeeded [2021-11-11T20:28:57.998Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:28:58.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:28:58.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:28:58.602Z] Configure a credential helper to remove this warning. See [2021-11-11T20:28:58.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:28:58.602Z] [2021-11-11T20:28:58.602Z] Login Succeeded [2021-11-11T20:28:58.602Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:28:58.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:28:59.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:28:59.155Z] Configure a credential helper to remove this warning. See [2021-11-11T20:28:59.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:28:59.155Z] [2021-11-11T20:28:59.155Z] Login Succeeded [2021-11-11T20:28:59.155Z] docker.io [2021-11-11T20:28:59.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:29:00.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:29:00.023Z] Configure a credential helper to remove this warning. See [2021-11-11T20:29:00.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:29:00.023Z] [2021-11-11T20:29:00.023Z] Login Succeeded [2021-11-11T20:29:00.023Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:29:00.050Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:29:00.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:29:00.711Z] ========================================================= [2021-11-11T20:29:00.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T20:29:00.711Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:29:01.144Z] + docker build -t ci-base-image-arm64 -f 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-11T20:29:01.144Z] Sending build context to Docker daemon 119.3kB [2021-11-11T20:29:01.426Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:29:01.426Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-11T20:29:01.706Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T20:29:01.706Z] 552d1f2373af: Pulling fs layer [2021-11-11T20:29:01.706Z] ea3f2d53f512: Pulling fs layer [2021-11-11T20:29:01.706Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T20:29:01.706Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T20:29:01.706Z] 72dc09318566: Pulling fs layer [2021-11-11T20:29:01.706Z] f4f7b4309257: Pulling fs layer [2021-11-11T20:29:01.706Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T20:29:01.706Z] b78e95d17946: Pulling fs layer [2021-11-11T20:29:01.706Z] 7a9cfe048b4a: Waiting [2021-11-11T20:29:01.706Z] 72dc09318566: Waiting [2021-11-11T20:29:01.706Z] f4f7b4309257: Waiting [2021-11-11T20:29:01.706Z] 0ac9a79272e3: Waiting [2021-11-11T20:29:01.706Z] b78e95d17946: Waiting [2021-11-11T20:29:01.706Z] 9e70ebbbe112: Download complete [2021-11-11T20:29:01.706Z] ea3f2d53f512: Verifying Checksum [2021-11-11T20:29:01.706Z] ea3f2d53f512: Download complete [2021-11-11T20:29:01.706Z] 72dc09318566: Verifying Checksum [2021-11-11T20:29:01.706Z] 72dc09318566: Download complete [2021-11-11T20:29:01.706Z] f4f7b4309257: Download complete [2021-11-11T20:29:01.706Z] 552d1f2373af: Verifying Checksum [2021-11-11T20:29:01.706Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T20:29:01.706Z] 0ac9a79272e3: Download complete [2021-11-11T20:29:02.697Z] 552d1f2373af: Pull complete [2021-11-11T20:29:03.302Z] ea3f2d53f512: Pull complete [2021-11-11T20:29:03.581Z] 9e70ebbbe112: Pull complete [2021-11-11T20:29:03.855Z] b78e95d17946: Verifying Checksum [2021-11-11T20:29:03.855Z] b78e95d17946: Download complete [2021-11-11T20:29:04.128Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T20:29:04.128Z] 7a9cfe048b4a: Download complete [2021-11-11T20:29:14.286Z] 7a9cfe048b4a: Pull complete [2021-11-11T20:29:14.559Z] 72dc09318566: Pull complete [2021-11-11T20:29:14.832Z] f4f7b4309257: Pull complete [2021-11-11T20:29:15.105Z] 0ac9a79272e3: Pull complete [2021-11-11T20:29:21.828Z] b78e95d17946: Pull complete [2021-11-11T20:29:21.828Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T20:29:21.828Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T20:29:21.828Z] ---> 8b459fc5aaf0 [2021-11-11T20:29:21.828Z] Step 3/11 : ARG MAKE='make build' [2021-11-11T20:29:22.427Z] ---> Running in d41e2cbb439a [2021-11-11T20:29:23.024Z] Removing intermediate container d41e2cbb439a [2021-11-11T20:29:23.024Z] ---> 488644c64038 [2021-11-11T20:29:23.024Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:29:23.024Z] ---> Running in 43e52efc1fc4 [2021-11-11T20:29:23.297Z] Removing intermediate container 43e52efc1fc4 [2021-11-11T20:29:23.297Z] ---> 6215be112c5d [2021-11-11T20:29:23.297Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:29:23.569Z] ---> Running in 9f9dff5e8bd6 [2021-11-11T20:29:23.842Z] Removing intermediate container 9f9dff5e8bd6 [2021-11-11T20:29:23.842Z] ---> a49448552799 [2021-11-11T20:29:23.842Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:29:24.114Z] ---> Running in bd23b11a1694 [2021-11-11T20:29:26.092Z] Removing intermediate container bd23b11a1694 [2021-11-11T20:29:26.092Z] ---> 2da7a2e23f53 [2021-11-11T20:29:26.092Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:29:26.092Z] ---> Running in a2b7abcf06cb [2021-11-11T20:29:27.520Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:29:28.112Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:29:29.092Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T20:29:29.092Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-11T20:29:29.092Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T20:29:29.092Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T20:29:29.367Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:29:29.367Z] OK: 223 MiB in 56 packages [2021-11-11T20:29:30.347Z] Removing intermediate container a2b7abcf06cb [2021-11-11T20:29:30.347Z] ---> a9606d19dc53 [2021-11-11T20:29:30.347Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-11T20:29:30.619Z] ---> Running in 693f57c25678 [2021-11-11T20:29:30.894Z] Removing intermediate container 693f57c25678 [2021-11-11T20:29:30.894Z] ---> 0279a0bbcb76 [2021-11-11T20:29:30.894Z] Step 9/11 : COPY . . [2021-11-11T20:29:31.876Z] ---> 5decef701ac4 [2021-11-11T20:29:31.876Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:29:31.876Z] ---> Running in d84ee35d0616 [2021-11-11T20:30:14.511Z] Running on prd-centos7-docker-4c-2g-211 in /w/workspace/gexfoundry_device-rest-go_PR-143 [Pipeline] { [Pipeline] ws [2021-11-11T20:30:14.552Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T20:30:14.693Z] The recommended git tool is: git [2021-11-11T20:30:16.675Z] using credential edgex-jenkins-ssh [2021-11-11T20:30:16.686Z] Cloning the remote Git repository [2021-11-11T20:30:15.987Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:30:16.046Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-11-11T20:30:16.075Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:30:16.075Z] > git --version # timeout=10 [2021-11-11T20:30:16.081Z] > git --version # 'git version 2.24.4' [2021-11-11T20:30:16.081Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:30:16.100Z] [INFO] Currently running in a labeled security context [2021-11-11T20:30:16.101Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:30:16.101Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh6813360229372134852.key [2021-11-11T20:30:16.128Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:30:19.720Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-11T20:30:19.731Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:30:19.744Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-11T20:30:20.915Z] Merging remotes/origin/main commit 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c into PR head commit 754aee6365542f660fd29d8a8ab196cffde604e9 [2021-11-11T20:30:21.022Z] Merge succeeded, producing 754aee6365542f660fd29d8a8ab196cffde604e9 [2021-11-11T20:30:21.023Z] Checking out Revision 754aee6365542f660fd29d8a8ab196cffde604e9 (PR-143) [2021-11-11T20:30:19.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-11T20:30:19.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:30:19.778Z] [INFO] Currently running in a labeled security context [2021-11-11T20:30:19.778Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:30:19.778Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh3145962506925801933.key [2021-11-11T20:30:19.786Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T20:30:20.416Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:30:20.426Z] > git checkout -f 754aee6365542f660fd29d8a8ab196cffde604e9 # timeout=10 [2021-11-11T20:30:20.473Z] > git remote # timeout=10 [2021-11-11T20:30:20.484Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T20:30:20.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:30:20.491Z] [INFO] Currently running in a labeled security context [2021-11-11T20:30:20.491Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:30:20.491Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh4220035099919571208.key [2021-11-11T20:30:20.497Z] > git merge 4ac6fc9b5edf904ed0b684cea51ffa3833345a1c # timeout=10 [2021-11-11T20:30:20.508Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T20:30:20.523Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:30:20.534Z] > git checkout -f 754aee6365542f660fd29d8a8ab196cffde604e9 # timeout=10 [2021-11-11T20:30:24.404Z] Commit message: "build: Update to latest SDK and released go-mods" [2021-11-11T20:30:24.202Z] > git --version # timeout=10 [2021-11-11T20:30:24.208Z] > git --version # 'git version 2.24.4' [2021-11-11T20:30:24.218Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:30:24.967Z] provisioning config files... [2021-11-11T20:30:24.982Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5190509004489680364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:30:25.401Z] ---> docker-login.sh [2021-11-11T20:30:25.401Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:30:25.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:30:25.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:30:25.401Z] Configure a credential helper to remove this warning. See [2021-11-11T20:30:25.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:30:25.401Z] [2021-11-11T20:30:25.401Z] Login Succeeded [2021-11-11T20:30:25.401Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:30:25.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:30:25.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:30:25.676Z] Configure a credential helper to remove this warning. See [2021-11-11T20:30:25.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:30:25.676Z] [2021-11-11T20:30:25.676Z] Login Succeeded [2021-11-11T20:30:25.676Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:30:25.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:30:25.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:30:25.676Z] Configure a credential helper to remove this warning. See [2021-11-11T20:30:25.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:30:25.676Z] [2021-11-11T20:30:25.676Z] Login Succeeded [2021-11-11T20:30:25.676Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:30:25.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:30:25.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:30:25.938Z] Configure a credential helper to remove this warning. See [2021-11-11T20:30:25.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:30:25.938Z] [2021-11-11T20:30:25.938Z] Login Succeeded [2021-11-11T20:30:25.938Z] docker.io [2021-11-11T20:30:25.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:30:26.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:30:26.199Z] Configure a credential helper to remove this warning. See [2021-11-11T20:30:26.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:30:26.199Z] [2021-11-11T20:30:26.199Z] Login Succeeded [2021-11-11T20:30:26.199Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:30:26.239Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:30:26.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:30:26.497Z] ========================================================= [2021-11-11T20:30:26.497Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T20:30:26.497Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:30:26.896Z] + docker build -t ci-base-image-x86_64 -f 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-11T20:30:26.896Z] Sending build context to Docker daemon 119.3kB [2021-11-11T20:30:26.896Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:30:26.896Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-11T20:30:26.896Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T20:30:26.896Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:30:26.896Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T20:30:26.896Z] b8b176561691: Pulling fs layer [2021-11-11T20:30:26.896Z] 4527c011a84f: Pulling fs layer [2021-11-11T20:30:26.896Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T20:30:26.896Z] e0aca202a116: Pulling fs layer [2021-11-11T20:30:26.896Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T20:30:26.896Z] 34cad66bf833: Pulling fs layer [2021-11-11T20:30:26.896Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T20:30:26.896Z] e0aca202a116: Waiting [2021-11-11T20:30:26.896Z] 3a43be97a3b4: Waiting [2021-11-11T20:30:26.896Z] 34cad66bf833: Waiting [2021-11-11T20:30:26.896Z] 4527c011a84f: Waiting [2021-11-11T20:30:26.896Z] b4e3c513aaa6: Waiting [2021-11-11T20:30:26.896Z] 5d74067f8e1e: Waiting [2021-11-11T20:30:26.896Z] b8b176561691: Verifying Checksum [2021-11-11T20:30:26.896Z] b8b176561691: Download complete [2021-11-11T20:30:26.896Z] 31adcdaf11c8: Verifying Checksum [2021-11-11T20:30:26.896Z] 31adcdaf11c8: Download complete [2021-11-11T20:30:26.896Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T20:30:26.896Z] 5d74067f8e1e: Download complete [2021-11-11T20:30:26.896Z] e0aca202a116: Verifying Checksum [2021-11-11T20:30:26.896Z] e0aca202a116: Download complete [2021-11-11T20:30:26.896Z] a0d0a0d46f8b: Download complete [2021-11-11T20:30:26.896Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T20:30:26.896Z] 3a43be97a3b4: Download complete [2021-11-11T20:30:27.159Z] 34cad66bf833: Verifying Checksum [2021-11-11T20:30:27.159Z] 34cad66bf833: Download complete [2021-11-11T20:30:27.734Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:30:27.734Z] 4527c011a84f: Verifying Checksum [2021-11-11T20:30:27.734Z] 4527c011a84f: Download complete [2021-11-11T20:30:27.734Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T20:30:27.734Z] b4e3c513aaa6: Download complete [2021-11-11T20:30:27.734Z] 31adcdaf11c8: Pull complete [2021-11-11T20:30:27.734Z] b8b176561691: Pull complete [2021-11-11T20:30:31.974Z] 4527c011a84f: Pull complete [2021-11-11T20:30:31.974Z] 5d74067f8e1e: Pull complete [2021-11-11T20:30:31.974Z] e0aca202a116: Pull complete [2021-11-11T20:30:31.974Z] 3a43be97a3b4: Pull complete [2021-11-11T20:30:31.974Z] 34cad66bf833: Pull complete [2021-11-11T20:30:34.544Z] b4e3c513aaa6: Pull complete [2021-11-11T20:30:34.544Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T20:30:34.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T20:30:34.544Z] ---> 9f6097aaca64 [2021-11-11T20:30:34.544Z] Step 3/11 : ARG MAKE='make build' [2021-11-11T20:30:36.467Z] ---> Running in c51aac544d9a [2021-11-11T20:30:36.467Z] Removing intermediate container c51aac544d9a [2021-11-11T20:30:36.467Z] ---> a102e7176329 [2021-11-11T20:30:36.467Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:30:36.467Z] ---> Running in cb5ee6f231cd [2021-11-11T20:30:36.467Z] Removing intermediate container cb5ee6f231cd [2021-11-11T20:30:36.467Z] ---> c83b3bdfb81a [2021-11-11T20:30:36.467Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:30:36.467Z] ---> Running in 95a668488b15 [2021-11-11T20:30:36.737Z] Removing intermediate container 95a668488b15 [2021-11-11T20:30:36.737Z] ---> efdcb52d3a57 [2021-11-11T20:30:36.737Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:30:36.737Z] ---> Running in 8399a0accc90 [2021-11-11T20:30:37.311Z] Removing intermediate container 8399a0accc90 [2021-11-11T20:30:37.311Z] ---> 03bcc530dac4 [2021-11-11T20:30:37.311Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:30:37.311Z] ---> Running in d0f5fff6810b [2021-11-11T20:30:37.311Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:30:38.258Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:30:38.525Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-11T20:30:38.787Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-11T20:30:38.787Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-11T20:30:38.787Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-11T20:30:39.046Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:30:39.046Z] OK: 224 MiB in 56 packages [2021-11-11T20:30:39.315Z] Removing intermediate container d0f5fff6810b [2021-11-11T20:30:39.315Z] ---> b843759fcae8 [2021-11-11T20:30:39.315Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-11T20:30:39.316Z] ---> Running in 4f68ffdc28cf [2021-11-11T20:30:39.316Z] Removing intermediate container 4f68ffdc28cf [2021-11-11T20:30:39.316Z] ---> cb3cc3882330 [2021-11-11T20:30:39.316Z] Step 9/11 : COPY . . [2021-11-11T20:30:39.576Z] ---> 2c40cdda9bdd [2021-11-11T20:30:39.576Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:30:39.576Z] ---> Running in 7f392514e24f [2021-11-11T20:30:54.139Z] Removing intermediate container d84ee35d0616 [2021-11-11T20:30:54.139Z] ---> 07ca77209ea4 [2021-11-11T20:30:54.139Z] Step 11/11 : RUN $MAKE [2021-11-11T20:30:54.139Z] ---> Running in 84706c3203f7 [2021-11-11T20:30:54.139Z] noop [2021-11-11T20:30:54.139Z] Removing intermediate container 84706c3203f7 [2021-11-11T20:30:54.139Z] ---> 40587480053b [2021-11-11T20:30:54.139Z] Successfully built 40587480053b [2021-11-11T20:30:54.139Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:30:54.494Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:30:54.494Z] . [Pipeline] withDockerContainer [2021-11-11T20:30:54.735Z] prd-ubuntu18.04-docker-arm64-4c-16g-210 does not seem to be running inside a container [2021-11-11T20:30:54.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T20:30:56.281Z] $ docker top fad5d7b8d5675f5fcb9d690cf3230f4483875c557a7c217665a42ab8ab7f1c8f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:30:57.188Z] + go version [2021-11-11T20:30:57.188Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T20:30:57.268Z] $ docker stop --time=1 fad5d7b8d5675f5fcb9d690cf3230f4483875c557a7c217665a42ab8ab7f1c8f [2021-11-11T20:30:58.930Z] $ docker rm -f fad5d7b8d5675f5fcb9d690cf3230f4483875c557a7c217665a42ab8ab7f1c8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:30:59.778Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:30:59.779Z] . [Pipeline] withDockerContainer [2021-11-11T20:31:00.053Z] prd-ubuntu18.04-docker-arm64-4c-16g-210 does not seem to be running inside a container [2021-11-11T20:31:00.167Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T20:31:01.578Z] $ docker top c236ee719251197954edf033cc7a1688e999a6481ff72b320066567cff836fd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T20:31:02.529Z] + make test [2021-11-11T20:31:02.529Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-11T20:31:03.963Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-11T20:31:11.774Z] Removing intermediate container 7f392514e24f [2021-11-11T20:31:11.774Z] ---> c4831052ac8a [2021-11-11T20:31:11.774Z] Step 11/11 : RUN $MAKE [2021-11-11T20:31:11.774Z] ---> Running in 5d0d86b9ad8b [2021-11-11T20:31:11.774Z] noop [2021-11-11T20:31:11.774Z] Removing intermediate container 5d0d86b9ad8b [2021-11-11T20:31:11.774Z] ---> 0479b519d8a0 [2021-11-11T20:31:11.774Z] Successfully built 0479b519d8a0 [2021-11-11T20:31:11.774Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:31:12.103Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:31:12.103Z] . [Pipeline] withDockerContainer [2021-11-11T20:31:12.189Z] prd-centos7-docker-4c-2g-211 does not seem to be running inside a container [2021-11-11T20:31:12.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T20:31:12.572Z] $ docker top 5925eaf4db49932ab1d921a270d69ba827e10f989c8d8d744e6dfd881696e653 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:31:12.969Z] + go version [2021-11-11T20:31:12.969Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T20:31:12.989Z] $ docker stop --time=1 5925eaf4db49932ab1d921a270d69ba827e10f989c8d8d744e6dfd881696e653 [2021-11-11T20:31:14.170Z] $ docker rm -f 5925eaf4db49932ab1d921a270d69ba827e10f989c8d8d744e6dfd881696e653 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:31:14.813Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:31:14.813Z] . [Pipeline] withDockerContainer [2021-11-11T20:31:14.912Z] prd-centos7-docker-4c-2g-211 does not seem to be running inside a container [2021-11-11T20:31:14.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T20:31:15.289Z] $ docker top 78a9d4d675fbe1d24c3dc5ae401bebc8896fc4e3a8723662f3ab35c91abf61ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T20:31:15.734Z] + make test [2021-11-11T20:31:15.734Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-11T20:31:15.996Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-11T20:31:34.161Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-11T20:31:34.161Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 53.8% of statements [2021-11-11T20:31:34.161Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T20:31:39.493Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:31:39.493Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:31:39.493Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T20:31:43.658Z] $ docker stop --time=1 78a9d4d675fbe1d24c3dc5ae401bebc8896fc4e3a8723662f3ab35c91abf61ad [2021-11-11T20:31:45.104Z] $ docker rm -f 78a9d4d675fbe1d24c3dc5ae401bebc8896fc4e3a8723662f3ab35c91abf61ad [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:31:47.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:31:47.653Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-11T20:31:50.643Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T20:31:51.475Z] + ls -al . [2021-11-11T20:31:51.475Z] total 144 [2021-11-11T20:31:51.475Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 11 20:31 . [2021-11-11T20:31:51.475Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 11 20:30 .. [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 11 20:30 Attribution.txt [2021-11-11T20:31:51.475Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 20:30 bin [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 11 20:30 CHANGELOG.md [2021-11-11T20:31:51.475Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 11 20:30 cmd [2021-11-11T20:31:51.475Z] -rw-r--r--. 1 jenkins jenkins 8435 Nov 11 20:31 coverage.out [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 11 20:30 Dockerfile [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 11 20:30 .dockerignore [2021-11-11T20:31:51.475Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 11 20:30 driver [2021-11-11T20:31:51.475Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 11 20:30 .git [2021-11-11T20:31:51.475Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 11 20:30 .github [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 11 20:30 .gitignore [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 278 Nov 11 20:30 go.mod [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 49500 Nov 11 20:30 go.sum [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 20:30 GOVERNANCE.md [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 11 20:30 Jenkinsfile [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 11 20:30 LICENSE [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 11 20:30 Makefile [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 11 20:30 OWNERS.md [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 7661 Nov 11 20:30 README.md [2021-11-11T20:31:51.475Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 11 20:30 snap [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 11 20:26 VERSION [2021-11-11T20:31:51.475Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 11 20:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:31:52.599Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=754aee6365542f660fd29d8a8ab196cffde604e9 --label arch=amd64 --label version=0.0.0 . [2021-11-11T20:31:52.599Z] Sending build context to Docker daemon 128.5kB [2021-11-11T20:31:52.599Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:31:52.599Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T20:31:52.599Z] ---> 0479b519d8a0 [2021-11-11T20:31:52.599Z] Step 3/24 : ARG MAKE='make build' [2021-11-11T20:31:52.599Z] ---> Running in 8af134a51872 [2021-11-11T20:31:52.599Z] Removing intermediate container 8af134a51872 [2021-11-11T20:31:52.599Z] ---> b6480ff1456b [2021-11-11T20:31:52.599Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:31:52.599Z] ---> Running in 52355938f76e [2021-11-11T20:31:52.870Z] Removing intermediate container 52355938f76e [2021-11-11T20:31:52.870Z] ---> a194167c17d3 [2021-11-11T20:31:52.870Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:31:52.870Z] ---> Running in 1652c88f921e [2021-11-11T20:31:52.871Z] Removing intermediate container 1652c88f921e [2021-11-11T20:31:52.871Z] ---> 03ff7954bd1c [2021-11-11T20:31:52.871Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:31:52.871Z] ---> Running in 62add00a0388 [2021-11-11T20:31:53.452Z] Removing intermediate container 62add00a0388 [2021-11-11T20:31:53.452Z] ---> 7ccf4ebd567c [2021-11-11T20:31:53.452Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:31:53.452Z] ---> Running in 148472ad7cf7 [2021-11-11T20:31:53.714Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:31:54.656Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:31:54.918Z] OK: 224 MiB in 56 packages [2021-11-11T20:31:55.184Z] Removing intermediate container 148472ad7cf7 [2021-11-11T20:31:55.184Z] ---> a70b76d6d35a [2021-11-11T20:31:55.184Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-11T20:31:55.184Z] ---> Running in 5fe868ef6978 [2021-11-11T20:31:55.184Z] Removing intermediate container 5fe868ef6978 [2021-11-11T20:31:55.184Z] ---> 0bd15b6ff3c5 [2021-11-11T20:31:55.184Z] Step 9/24 : COPY . . [2021-11-11T20:31:55.445Z] ---> dab43888f9b3 [2021-11-11T20:31:55.445Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:31:55.445Z] ---> Running in ffb9f23f000b [2021-11-11T20:31:56.019Z] Removing intermediate container ffb9f23f000b [2021-11-11T20:31:56.019Z] ---> 3c194c12ddfe [2021-11-11T20:31:56.019Z] Step 11/24 : RUN $MAKE [2021-11-11T20:31:56.019Z] ---> Running in 46dbefd56300 [2021-11-11T20:31:56.292Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-11T20:32:00.548Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-11T20:32:00.548Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 53.8% of statements [2021-11-11T20:32:00.548Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-11T20:32:08.654Z] Removing intermediate container 46dbefd56300 [2021-11-11T20:32:08.654Z] ---> 3f0d5e45591a [2021-11-11T20:32:08.654Z] Step 12/24 : FROM alpine:3.14 [2021-11-11T20:32:11.973Z] 3.14: Pulling from library/alpine [2021-11-11T20:32:11.973Z] a0d0a0d46f8b: Already exists [2021-11-11T20:32:11.973Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:32:11.973Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:32:11.973Z] ---> 14119a10abf4 [2021-11-11T20:32:11.973Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-11T20:32:11.973Z] ---> Running in c294f6266fa0 [2021-11-11T20:32:11.973Z] Removing intermediate container c294f6266fa0 [2021-11-11T20:32:11.973Z] ---> f618dabea863 [2021-11-11T20:32:11.973Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-11T20:32:11.973Z] ---> Running in 496507332a11 [2021-11-11T20:32:12.232Z] Removing intermediate container 496507332a11 [2021-11-11T20:32:12.232Z] ---> bc424eaca1bb [2021-11-11T20:32:12.232Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T20:32:12.232Z] ---> Running in 529ff0f6a0fc [2021-11-11T20:32:12.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:32:12.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:32:12.757Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T20:32:12.757Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:32:12.757Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T20:32:12.757Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:32:12.757Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T20:32:12.757Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T20:32:12.757Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:32:12.757Z] OK: 8 MiB in 20 packages [2021-11-11T20:32:13.024Z] Removing intermediate container 529ff0f6a0fc [2021-11-11T20:32:13.024Z] ---> 896e7fe68e66 [2021-11-11T20:32:13.024Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-11T20:32:13.291Z] ---> de9e97eb8a42 [2021-11-11T20:32:13.291Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-11T20:32:13.550Z] ---> 58ae263d0f56 [2021-11-11T20:32:13.550Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-11T20:32:13.550Z] ---> 47550ab5de1f [2021-11-11T20:32:13.550Z] Step 19/24 : EXPOSE 59986 [2021-11-11T20:32:13.550Z] ---> Running in 2857ded5f116 [2021-11-11T20:32:13.810Z] Removing intermediate container 2857ded5f116 [2021-11-11T20:32:13.810Z] ---> 6aa40d515717 [2021-11-11T20:32:13.810Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-11T20:32:13.810Z] ---> Running in cb99ff21310f [2021-11-11T20:32:13.810Z] Removing intermediate container cb99ff21310f [2021-11-11T20:32:13.810Z] ---> bf13c79bb6cf [2021-11-11T20:32:13.810Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-11T20:32:13.810Z] ---> Running in 9675f121d251 [2021-11-11T20:32:13.810Z] Removing intermediate container 9675f121d251 [2021-11-11T20:32:13.810Z] ---> 9882bc183bb7 [2021-11-11T20:32:13.810Z] Step 22/24 : LABEL arch=amd64 [2021-11-11T20:32:14.071Z] ---> Running in 4c3598006576 [2021-11-11T20:32:14.071Z] Removing intermediate container 4c3598006576 [2021-11-11T20:32:14.071Z] ---> 3833f19d5de8 [2021-11-11T20:32:14.071Z] Step 23/24 : LABEL git_sha=754aee6365542f660fd29d8a8ab196cffde604e9 [2021-11-11T20:32:14.071Z] ---> Running in c902335b5bae [2021-11-11T20:32:14.071Z] Removing intermediate container c902335b5bae [2021-11-11T20:32:14.071Z] ---> 699e16fa01b4 [2021-11-11T20:32:14.071Z] Step 24/24 : LABEL version=0.0.0 [2021-11-11T20:32:14.071Z] ---> Running in 24bb8a78e9fb [2021-11-11T20:32:14.334Z] Removing intermediate container 24bb8a78e9fb [2021-11-11T20:32:14.334Z] ---> b53cd175e5c9 [2021-11-11T20:32:14.334Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:32:14.334Z] Successfully built b53cd175e5c9 [2021-11-11T20:32:14.334Z] Successfully tagged device-rest: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 [2021-11-11T20:32:22.725Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:32:22.726Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:32:22.726Z] ./bin/test-attribution-txt.sh [Pipeline] } [Pipeline] // stage Post stage [Pipeline] } [2021-11-11T20:32:24.220Z] $ docker stop --time=1 c236ee719251197954edf033cc7a1688e999a6481ff72b320066567cff836fd5 [2021-11-11T20:32:25.972Z] $ docker rm -f c236ee719251197954edf033cc7a1688e999a6481ff72b320066567cff836fd5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:32:28.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] script [Pipeline] { [Pipeline] stash [2021-11-11T20:32:34.024Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T20:32:34.460Z] Stashed 1 file(s) [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:32:37.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:32:37.736Z] [2021-11-11T20:32:37.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:32:42.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:32:42.188Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:32:42.188Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:32:42.188Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:32:42.188Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:32:42.188Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:32:42.188Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:32:42.188Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:32:42.188Z] d287ab97295c: Pulling fs layer [2021-11-11T20:32:42.188Z] 77bc0d833cb6: Waiting [2021-11-11T20:32:42.188Z] 9065ff56babe: Waiting [2021-11-11T20:32:42.188Z] d287ab97295c: Waiting [2021-11-11T20:32:42.188Z] dc539afda2c1: Waiting [2021-11-11T20:32:42.188Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:32:42.188Z] a1111a8f2ec3: Download complete [2021-11-11T20:32:42.188Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:32:42.188Z] dc539afda2c1: Download complete [2021-11-11T20:32:42.188Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:32:42.188Z] ed53099fbce6: Download complete [2021-11-11T20:32:42.188Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:32:42.188Z] 9065ff56babe: Download complete [Pipeline] script [2021-11-11T20:32:42.450Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:32:42.450Z] 77bc0d833cb6: Download complete [2021-11-11T20:32:42.450Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:32:42.450Z] b4d181a07f80: Download complete [Pipeline] { [2021-11-11T20:32:43.031Z] d287ab97295c: Verifying Checksum [2021-11-11T20:32:43.031Z] d287ab97295c: Download complete [Pipeline] sh [2021-11-11T20:32:43.823Z] + sudo chown -R jenkins:jenkins . [2021-11-11T20:32:43.990Z] b4d181a07f80: Pull complete [2021-11-11T20:32:44.254Z] a1111a8f2ec3: Pull complete [Pipeline] sh [2021-11-11T20:32:44.838Z] ed53099fbce6: Pull complete [2021-11-11T20:32:44.838Z] dc539afda2c1: Pull complete [2021-11-11T20:32:45.103Z] 77bc0d833cb6: Pull complete [2021-11-11T20:32:45.103Z] 9065ff56babe: Pull complete [2021-11-11T20:32:46.608Z] + ls -al . [2021-11-11T20:32:46.608Z] total 172 [2021-11-11T20:32:46.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:32 . [2021-11-11T20:32:46.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:28 .. [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 11 20:28 .dockerignore [2021-11-11T20:32:46.608Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:28 .git [2021-11-11T20:32:46.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:28 .github [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 11 20:28 .gitignore [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 11 20:28 Attribution.txt [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 11 20:28 CHANGELOG.md [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 11 20:28 Dockerfile [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 20:28 GOVERNANCE.md [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 11 20:28 Jenkinsfile [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 11 20:28 LICENSE [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 11 20:28 Makefile [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 11 20:28 OWNERS.md [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 7661 Nov 11 20:28 README.md [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 20:26 VERSION [2021-11-11T20:32:46.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:28 bin [2021-11-11T20:32:46.608Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:28 cmd [2021-11-11T20:32:46.608Z] -rw-r--r-- 1 jenkins jenkins 8435 Nov 11 20:31 coverage.out [2021-11-11T20:32:46.608Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:28 driver [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 278 Nov 11 20:28 go.mod [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 49500 Nov 11 20:28 go.sum [2021-11-11T20:32:46.608Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:28 snap [2021-11-11T20:32:46.608Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 11 20:28 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:32:48.172Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=754aee6365542f660fd29d8a8ab196cffde604e9 --label arch=arm64 --label version=0.0.0 . [2021-11-11T20:32:48.172Z] Sending build context to Docker daemon 128.5kB [2021-11-11T20:32:48.488Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:32:48.488Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T20:32:48.488Z] ---> 40587480053b [2021-11-11T20:32:48.488Z] Step 3/24 : ARG MAKE='make build' [2021-11-11T20:32:48.794Z] ---> Running in b95c88ea34aa [2021-11-11T20:32:49.105Z] Removing intermediate container b95c88ea34aa [2021-11-11T20:32:49.105Z] ---> 2572e56b2efe [2021-11-11T20:32:49.105Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-11T20:32:49.404Z] ---> Running in 21b5d35ca1b7 [2021-11-11T20:32:49.681Z] Removing intermediate container 21b5d35ca1b7 [2021-11-11T20:32:49.681Z] ---> be5f2ef98b19 [2021-11-11T20:32:49.681Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-11T20:32:49.955Z] ---> Running in d05b397a8cbf [2021-11-11T20:32:50.230Z] Removing intermediate container d05b397a8cbf [2021-11-11T20:32:50.230Z] ---> 5b150b529f27 [2021-11-11T20:32:50.230Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:32:50.230Z] ---> Running in 1dd48a15060d [2021-11-11T20:32:50.460Z] d287ab97295c: Pull complete [2021-11-11T20:32:50.460Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:32:50.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:32:50.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:32:50.769Z] prd-centos7-docker-4c-2g-211 does not seem to be running inside a container [2021-11-11T20:32:50.807Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:32:52.208Z] Removing intermediate container 1dd48a15060d [2021-11-11T20:32:52.208Z] ---> 72f41f0153e9 [2021-11-11T20:32:52.208Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-11T20:32:52.208Z] ---> Running in 712ce34664b6 [2021-11-11T20:32:52.998Z] $ docker top 264300d7f5fff008125a98124c8a01428d7f7ea517f697cb1fc9a64f2bc95723 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:32:53.639Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:32:53.925Z] ---> job-cost.sh [2021-11-11T20:32:53.925Z] lf-activate-venv: SKIPPING [2021-11-11T20:32:53.925Z] INFO: No Stack... [2021-11-11T20:32:54.185Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:32:54.234Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:32:54.447Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:32:54.795Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-11-11T20:32:54.795Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T20:32:54.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-143-1-stack-cost] [2021-11-11T20:32:54.910Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-143-1-stack-cost] did not exist. Created. [2021-11-11T20:32:54.910Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-143-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:32:55.211Z] OK: 223 MiB in 56 packages [2021-11-11T20:32:55.484Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T20:32:55.562Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:32:55.644Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-143-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:32:55.772Z] $ docker stop --time=1 264300d7f5fff008125a98124c8a01428d7f7ea517f697cb1fc9a64f2bc95723 [2021-11-11T20:32:55.810Z] Removing intermediate container 712ce34664b6 [2021-11-11T20:32:55.811Z] ---> 8415a8abb2ec [2021-11-11T20:32:55.811Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-11T20:32:56.083Z] ---> Running in 8a066232ef81 [2021-11-11T20:32:56.357Z] Removing intermediate container 8a066232ef81 [2021-11-11T20:32:56.357Z] ---> 81cf62b7592a [2021-11-11T20:32:56.357Z] Step 9/24 : COPY . . [2021-11-11T20:32:56.930Z] $ docker rm -f 264300d7f5fff008125a98124c8a01428d7f7ea517f697cb1fc9a64f2bc95723 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [2021-11-11T20:32:57.347Z] ---> 303465cdbfec [2021-11-11T20:32:57.347Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:32:57.347Z] ---> Running in ab544d0fef75 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-11T20:32:59.974Z] Removing intermediate container ab544d0fef75 [2021-11-11T20:32:59.974Z] ---> 530200e8fb12 [2021-11-11T20:32:59.974Z] Step 11/24 : RUN $MAKE [2021-11-11T20:32:59.974Z] ---> Running in 67db8006419b [2021-11-11T20:33:00.574Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-11T20:33:39.583Z] Removing intermediate container 67db8006419b [2021-11-11T20:33:39.583Z] ---> 015c1c7b3567 [2021-11-11T20:33:39.583Z] Step 12/24 : FROM alpine:3.14 [2021-11-11T20:33:39.583Z] 3.14: Pulling from library/alpine [2021-11-11T20:33:39.856Z] 552d1f2373af: Already exists [2021-11-11T20:33:39.856Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:33:39.856Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:33:39.856Z] ---> bb3de5531c18 [2021-11-11T20:33:39.856Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-11T20:33:40.132Z] ---> Running in 30da24ad1b17 [2021-11-11T20:33:40.406Z] Removing intermediate container 30da24ad1b17 [2021-11-11T20:33:40.406Z] ---> caef7194f229 [2021-11-11T20:33:40.406Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-11T20:33:40.406Z] ---> Running in 6076f7151725 [2021-11-11T20:33:41.010Z] Removing intermediate container 6076f7151725 [2021-11-11T20:33:41.010Z] ---> 63ff9ad5556f [2021-11-11T20:33:41.010Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-11T20:33:41.010Z] ---> Running in 9a5ef11f4f69 [2021-11-11T20:33:41.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T20:33:42.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T20:33:43.245Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-11T20:33:43.245Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:33:43.245Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-11T20:33:43.246Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:33:43.246Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-11T20:33:43.246Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-11T20:33:43.246Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:33:43.246Z] OK: 8 MiB in 20 packages [2021-11-11T20:33:44.225Z] Removing intermediate container 9a5ef11f4f69 [2021-11-11T20:33:44.225Z] ---> a8806dd732bb [2021-11-11T20:33:44.225Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-11T20:33:45.656Z] ---> 4c685489b3a7 [2021-11-11T20:33:45.656Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-11T20:33:46.252Z] ---> 6d48248fe5b2 [2021-11-11T20:33:46.253Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-11T20:33:46.852Z] ---> cede892f40d3 [2021-11-11T20:33:46.852Z] Step 19/24 : EXPOSE 59986 [2021-11-11T20:33:46.852Z] ---> Running in d1032cb5f9c5 [2021-11-11T20:33:47.450Z] Removing intermediate container d1032cb5f9c5 [2021-11-11T20:33:47.450Z] ---> fa3afab1113b [2021-11-11T20:33:47.450Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-11T20:33:47.450Z] ---> Running in d1bd643a1b50 [2021-11-11T20:33:48.042Z] Removing intermediate container d1bd643a1b50 [2021-11-11T20:33:48.042Z] ---> a2cc9a61789d [2021-11-11T20:33:48.042Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-11T20:33:48.042Z] ---> Running in b9b03fdd213e [2021-11-11T20:33:48.313Z] Removing intermediate container b9b03fdd213e [2021-11-11T20:33:48.313Z] ---> a1a54ce45a03 [2021-11-11T20:33:48.313Z] Step 22/24 : LABEL arch=arm64 [2021-11-11T20:33:48.586Z] ---> Running in b643853a0011 [2021-11-11T20:33:48.859Z] Removing intermediate container b643853a0011 [2021-11-11T20:33:48.859Z] ---> 2e4db47a1c0f [2021-11-11T20:33:48.859Z] Step 23/24 : LABEL git_sha=754aee6365542f660fd29d8a8ab196cffde604e9 [2021-11-11T20:33:48.859Z] ---> Running in 50ec6362f1a8 [2021-11-11T20:33:49.453Z] Removing intermediate container 50ec6362f1a8 [2021-11-11T20:33:49.453Z] ---> 6629f72e6eaf [2021-11-11T20:33:49.453Z] Step 24/24 : LABEL version=0.0.0 [2021-11-11T20:33:49.453Z] ---> Running in 530ca04c51b3 [2021-11-11T20:33:50.044Z] Removing intermediate container 530ca04c51b3 [2021-11-11T20:33:50.044Z] ---> ca76bdea48fa [2021-11-11T20:33:50.044Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:33:50.044Z] Successfully built ca76bdea48fa [2021-11-11T20:33:50.044Z] Successfully tagged device-rest-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-11T20:33:51.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:33:51.535Z] [2021-11-11T20:33:51.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:33:52.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:33:52.499Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T20:33:52.499Z] 448f6bf000e3: Pulling fs layer [2021-11-11T20:33:52.499Z] f757da607395: Pulling fs layer [2021-11-11T20:33:52.499Z] 05883995daec: Pulling fs layer [2021-11-11T20:33:52.499Z] 8603b9c90790: Pulling fs layer [2021-11-11T20:33:52.499Z] 1560dd03e051: Pulling fs layer [2021-11-11T20:33:52.499Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T20:33:52.499Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T20:33:52.499Z] 1560dd03e051: Waiting [2021-11-11T20:33:52.499Z] 27f5ce0e4adf: Waiting [2021-11-11T20:33:52.499Z] c2d8d7efcc4b: Waiting [2021-11-11T20:33:52.499Z] 8603b9c90790: Waiting [2021-11-11T20:33:52.499Z] f757da607395: Verifying Checksum [2021-11-11T20:33:52.499Z] f757da607395: Download complete [2021-11-11T20:33:52.499Z] 8603b9c90790: Verifying Checksum [2021-11-11T20:33:52.499Z] 8603b9c90790: Download complete [2021-11-11T20:33:52.499Z] 1560dd03e051: Verifying Checksum [2021-11-11T20:33:52.499Z] 1560dd03e051: Download complete [2021-11-11T20:33:52.773Z] 27f5ce0e4adf: Verifying Checksum [2021-11-11T20:33:52.773Z] 27f5ce0e4adf: Download complete [2021-11-11T20:33:52.773Z] 05883995daec: Verifying Checksum [2021-11-11T20:33:52.773Z] 05883995daec: Download complete [2021-11-11T20:33:53.046Z] 448f6bf000e3: Download complete [2021-11-11T20:33:55.672Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T20:33:55.672Z] c2d8d7efcc4b: Download complete [2021-11-11T20:33:56.648Z] 448f6bf000e3: Pull complete [2021-11-11T20:33:57.243Z] f757da607395: Pull complete [2021-11-11T20:33:58.674Z] 05883995daec: Pull complete [2021-11-11T20:33:58.950Z] 8603b9c90790: Pull complete [2021-11-11T20:33:59.932Z] 1560dd03e051: Pull complete [2021-11-11T20:34:00.205Z] 27f5ce0e4adf: Pull complete [2021-11-11T20:34:15.287Z] c2d8d7efcc4b: Pull complete [2021-11-11T20:34:15.287Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T20:34:15.287Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T20:34:15.287Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T20:34:15.658Z] prd-ubuntu18.04-docker-arm64-4c-16g-210 does not seem to be running inside a container [2021-11-11T20:34:15.802Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-11T20:34:18.680Z] $ docker top 04547926cdbf53b7f310019b562ab9020c15cac3b92eaa837d0d4ad25df39868 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:34:19.829Z] ---> job-cost.sh [2021-11-11T20:34:19.829Z] lf-activate-venv: SKIPPING [2021-11-11T20:34:19.829Z] INFO: No Stack... [2021-11-11T20:34:20.100Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T20:34:20.371Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:34:21.724Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-11-11T20:34:21.724Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T20:34:23.288Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-143-1-stack-cost] [2021-11-11T20:34:23.646Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-143-1-stack-cost] did not exist. Created. [2021-11-11T20:34:23.646Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-143-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:34:28.330Z] /w/workspace/device-rest-go/1@tmp/durable-d61b8506/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-d61b8506/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T20:34:30.292Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T20:34:31.738Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T20:34:31.813Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:34:32.766Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-143-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:34:35.278Z] $ docker stop --time=1 04547926cdbf53b7f310019b562ab9020c15cac3b92eaa837d0d4ad25df39868 [2021-11-11T20:34:36.879Z] $ docker rm -f 04547926cdbf53b7f310019b562ab9020c15cac3b92eaa837d0d4ad25df39868 [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-11T20:34:55.647Z] provisioning config files... [2021-11-11T20:34:55.656Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-143@tmp/config7353160417946234219tmp [Pipeline] { [Pipeline] sh [2021-11-11T20:34:58.188Z] + set +x [2021-11-11T20:34:58.188Z] + curl -s https://codecov.io/bash [2021-11-11T20:34:58.188Z] + bash -s -- [2021-11-11T20:34:58.188Z] [2021-11-11T20:34:58.188Z] _____ _ [2021-11-11T20:34:58.188Z] / ____| | | [2021-11-11T20:34:58.188Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T20:34:58.188Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T20:34:58.188Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T20:34:58.188Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T20:34:58.188Z] Bash-1.0.6 [2021-11-11T20:34:58.188Z] [2021-11-11T20:34:58.188Z] [2021-11-11T20:34:58.188Z] ==> git version 2.24.4 found [2021-11-11T20:34:58.188Z] ==> 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-11T20:34:58.188Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T20:34:58.188Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T20:34:58.188Z] ==> Jenkins CI detected. [2021-11-11T20:34:58.188Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-143 [2021-11-11T20:34:58.188Z] project root: . [2021-11-11T20:34:58.188Z] --> token set from env [2021-11-11T20:34:58.450Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T20:34:58.450Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T20:34:58.450Z] ==> Python coveragepy not found [2021-11-11T20:34:58.450Z] ==> Searching for coverage reports in: [2021-11-11T20:34:58.450Z] + . [2021-11-11T20:34:58.450Z] -> Found 1 reports [2021-11-11T20:34:58.450Z] ==> Detecting git/mercurial file structure [2021-11-11T20:34:58.450Z] ==> Reading reports [2021-11-11T20:34:58.450Z] + ./coverage.out bytes=8435 [2021-11-11T20:34:58.450Z] ==> Appending adjustments [2021-11-11T20:34:58.450Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T20:34:58.450Z] + Found adjustments [2021-11-11T20:34:58.450Z] ==> Gzipping contents [2021-11-11T20:34:58.450Z] 4.0K /tmp/codecov.gBxj3i.gz [2021-11-11T20:34:58.450Z] ==> Uploading reports [2021-11-11T20:34:58.450Z] url: https://codecov.io [2021-11-11T20:34:58.450Z] query: branch=PR-143&commit=754aee6365542f660fd29d8a8ab196cffde604e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-143%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=143&job=&cmd_args= [2021-11-11T20:34:58.450Z] -> Pinging Codecov [2021-11-11T20:34:58.450Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-143&commit=754aee6365542f660fd29d8a8ab196cffde604e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-143%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=143&job=&cmd_args= [2021-11-11T20:34:59.019Z] -> Uploading to [2021-11-11T20:34:59.019Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/4E5D53B4F1F92C436F7061BF334D961C/754aee6365542f660fd29d8a8ab196cffde604e9/9fb4cdee-5360-4b55-b749-aea78860b883.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T203458Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dec3368059b6dc20becde9d586bed97dacbb600ccc963b9776ece349f09feffc [2021-11-11T20:34:59.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:34:59.019Z] Dload Upload Total Spent Left Speed [2021-11-11T20:34:59.280Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1741 0 0 100 1741 0 5523 --:--:-- --:--:-- --:--:-- 5526 [2021-11-11T20:34:59.280Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/754aee6365542f660fd29d8a8ab196cffde604e9 [Pipeline] } [2021-11-11T20:34:59.373Z] 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-11T20:35:03.759Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-143/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:35:04.387Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:35:05.092Z] ---> package-listing.sh [2021-11-11T20:35:05.092Z] ++ facter osfamily [2021-11-11T20:35:05.092Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T20:35:05.367Z] + OS_FAMILY=redhat [2021-11-11T20:35:05.368Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-143 [2021-11-11T20:35:05.368Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T20:35:05.368Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T20:35:05.368Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T20:35:05.368Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T20:35:05.368Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-143 ']' [2021-11-11T20:35:05.368Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T20:35:05.368Z] + case "${OS_FAMILY}" in [2021-11-11T20:35:05.368Z] + rpm -qa [2021-11-11T20:35:05.368Z] + sort [2021-11-11T20:35:05.946Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T20:35:05.946Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T20:35:05.946Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T20:35:05.946Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-143 ']' [2021-11-11T20:35:05.946Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-143/archives/ [2021-11-11T20:35:05.946Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-143/archives/ [Pipeline] echo [2021-11-11T20:35:05.999Z] 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-rest-go_PR-143/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-11T20:35:06.324Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:35:06.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:35:06.972Z] [2021-11-11T20:35:06.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:35:07.687Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:35:07.687Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:35:07.687Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:35:07.687Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:35:07.687Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:35:07.687Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:35:07.687Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:35:07.687Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:35:07.687Z] d287ab97295c: Pulling fs layer [2021-11-11T20:35:07.687Z] 77bc0d833cb6: Waiting [2021-11-11T20:35:07.687Z] 9065ff56babe: Waiting [2021-11-11T20:35:07.687Z] d287ab97295c: Waiting [2021-11-11T20:35:07.687Z] dc539afda2c1: Waiting [2021-11-11T20:35:07.687Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:35:07.687Z] a1111a8f2ec3: Download complete [2021-11-11T20:35:07.687Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:35:07.687Z] dc539afda2c1: Download complete [2021-11-11T20:35:07.687Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:35:07.687Z] ed53099fbce6: Download complete [2021-11-11T20:35:07.687Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:35:07.687Z] 77bc0d833cb6: Download complete [2021-11-11T20:35:07.947Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:35:07.947Z] 9065ff56babe: Download complete [2021-11-11T20:35:07.947Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:35:07.947Z] b4d181a07f80: Download complete [2021-11-11T20:35:08.529Z] d287ab97295c: Verifying Checksum [2021-11-11T20:35:08.529Z] d287ab97295c: Download complete [2021-11-11T20:35:09.466Z] b4d181a07f80: Pull complete [2021-11-11T20:35:09.466Z] a1111a8f2ec3: Pull complete [2021-11-11T20:35:10.060Z] ed53099fbce6: Pull complete [2021-11-11T20:35:10.060Z] dc539afda2c1: Pull complete [2021-11-11T20:35:10.318Z] 77bc0d833cb6: Pull complete [2021-11-11T20:35:10.584Z] 9065ff56babe: Pull complete [2021-11-11T20:35:15.889Z] d287ab97295c: Pull complete [2021-11-11T20:35:15.889Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:35:15.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:35:15.889Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:35:16.876Z] prd-centos7-docker-4c-2g-208 does not seem to be running inside a container [2021-11-11T20:35:16.904Z] $ 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-rest-go_PR-143/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-rest-go_PR-143 -v /w/workspace/gexfoundry_device-rest-go_PR-143:/w/workspace/gexfoundry_device-rest-go_PR-143:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-143@tmp:/w/workspace/gexfoundry_device-rest-go_PR-143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:35:19.465Z] $ docker top 6d9f9b0560a029e80d008b46199d05f76aaefcb226da22459d166a5484e730a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:35:21.918Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T20:35:23.877Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T20:35:25.436Z] + ls /var/log/sa-host [2021-11-11T20:35:25.436Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T20:35:25.436Z] file_magic: OK [2021-11-11T20:35:25.436Z] HZ: Using current value: 100 [2021-11-11T20:35:25.436Z] file_header: OK [2021-11-11T20:35:25.436Z] 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-11T20:35:25.436Z] Statistics: [2021-11-11T20:35:25.436Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T20:35:25.436Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T20:35:25.436Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T20:35:25.436Z] file_magic: OK [2021-11-11T20:35:25.436Z] HZ: Using current value: 100 [2021-11-11T20:35:25.436Z] file_header: OK [2021-11-11T20:35:25.436Z] 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-11T20:35:25.436Z] Statistics: [2021-11-11T20:35:25.436Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T20:35:25.436Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:35:31.202Z] provisioning config files... [2021-11-11T20:35:31.213Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-143@tmp/config7296969012546739531tmp [Pipeline] { [Pipeline] echo [2021-11-11T20:35:34.284Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:35:37.448Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T20:35:39.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:35:43.648Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T20:35:45.200Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:35:45.614Z] ---> sudo-logs.sh [2021-11-11T20:35:45.614Z] Archiving 'sudo' log.. [2021-11-11T20:35:45.614Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-208.novalocal: Name or service not known [2021-11-11T20:35:45.614Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-208.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T20:35:45.758Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:35:46.373Z] ---> job-cost.sh [2021-11-11T20:35:46.373Z] lf-activate-venv: SKIPPING [2021-11-11T20:35:46.373Z] DEBUG: total: 0.10999999940395355 [2021-11-11T20:35:46.373Z] INFO: Retrieving Stack Cost... [2021-11-11T20:35:47.758Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:35:48.020Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T20:35:48.073Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:35:48.454Z] ---> logs-deploy.sh [2021-11-11T20:35:48.454Z] lf-activate-venv: SKIPPING [2021-11-11T20:35:48.454Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-143/1 [2021-11-11T20:35:48.454Z] INFO: archiving workspace using pattern(s): [2021-11-11T20:35:49.028Z] Archives upload complete. [2021-11-11T20:35:49.291Z] INFO: archiving logs to Nexus