Pull request #189 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 jinlinGuan for edgexfoundry/device-rest-go Loading trusted files from base branch main at 9b53a838cf715098176e329c4fd19d0f7ded052f rather than 256139c3d5d62b3a4c0b25e8999062d09719724b Obtained Jenkinsfile from 9b53a838cf715098176e329c4fd19d0f7ded052f 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-ssh411876863653002734.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh588922323454015206.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-189/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-189/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16717439234691276031.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-189/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16319739589178182630.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh3619707936680951485.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-189/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-189/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2172691526663713292.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 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 Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-63042’ is offline Running on prd-ubuntu20.04-docker-8c-8g-63044 in /w/workspace/gexfoundry_device-rest-go_PR-189 [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-189 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9b53a838cf715098176e329c4fd19d0f7ded052f into PR head commit 256139c3d5d62b3a4c0b25e8999062d09719724b Merge succeeded, producing 256139c3d5d62b3a4c0b25e8999062d09719724b Checking out Revision 256139c3d5d62b3a4c0b25e8999062d09719724b (PR-189) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 256139c3d5d62b3a4c0b25e8999062d09719724b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 256139c3d5d62b3a4c0b25e8999062d09719724b # timeout=10 Commit message: "build: Update to released Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T05:20:49.227Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T05:20:49.402Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T05:20:49.683Z] ========================================================= [2022-05-11T05:20:49.683Z] EdgeX Global Pipelines Version Info [2022-05-11T05:20:49.683Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:20:50.578Z] ------------------- [2022-05-11T05:20:50.578Z] stable info: [2022-05-11T05:20:50.578Z] ------------------- [2022-05-11T05:20:50.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:20:50.578Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:20:50.578Z] Message: update stable to v1.0.230 [2022-05-11T05:20:51.149Z] ------------------- [2022-05-11T05:20:51.150Z] experimental info: [2022-05-11T05:20:51.150Z] ------------------- [2022-05-11T05:20:51.150Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T05:20:51.150Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T05:20:51.150Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T05:20:51.409Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-11T05:20:51.447Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-11T05:20:51.491Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T05:20:51.532Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T05:20:51.573Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T05:20:51.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T05:20:51.654Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T05:20:51.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T05:20:51.736Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T05:20:51.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T05:20:51.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T05:20:51.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-11T05:20:51.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T05:20:51.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T05:20:51.982Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:20:52.019Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T05:20:52.060Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:20:52.096Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T05:20:52.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T05:20:52.172Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T05:20:52.209Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T05:20:52.251Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T05:20:52.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T05:20:52.345Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T05:20:52.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T05:20:52.430Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T05:20:52.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-189 [Pipeline] echo [2022-05-11T05:20:52.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-189 [Pipeline] echo [2022-05-11T05:20:52.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-189 [Pipeline] echo [2022-05-11T05:20:52.611Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 256139c3d5d62b3a4c0b25e8999062d09719724b [Pipeline] echo [2022-05-11T05:20:52.653Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 256139c [Pipeline] echo [2022-05-11T05:20:52.696Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:20:52.829Z] provisioning config files... [2022-05-11T05:20:52.847Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-189@tmp/config7631192690254018450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:20:53.210Z] ---> docker-login.sh [2022-05-11T05:20:53.210Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:20:53.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:20:53.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:20:53.493Z] Configure a credential helper to remove this warning. See [2022-05-11T05:20:53.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:20:53.493Z] [2022-05-11T05:20:53.493Z] Login Succeeded [2022-05-11T05:20:53.493Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:20:53.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:20:53.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:20:53.755Z] Configure a credential helper to remove this warning. See [2022-05-11T05:20:53.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:20:53.755Z] [2022-05-11T05:20:53.755Z] Login Succeeded [2022-05-11T05:20:53.755Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:20:53.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:20:53.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:20:53.755Z] Configure a credential helper to remove this warning. See [2022-05-11T05:20:53.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:20:53.755Z] [2022-05-11T05:20:53.755Z] Login Succeeded [2022-05-11T05:20:53.755Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:20:54.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:20:54.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:20:54.019Z] Configure a credential helper to remove this warning. See [2022-05-11T05:20:54.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:20:54.019Z] [2022-05-11T05:20:54.019Z] Login Succeeded [2022-05-11T05:20:54.019Z] docker.io [2022-05-11T05:20:54.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:20:54.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:20:54.592Z] Configure a credential helper to remove this warning. See [2022-05-11T05:20:54.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:20:54.592Z] [2022-05-11T05:20:54.592Z] Login Succeeded [2022-05-11T05:20:54.592Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:20:54.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T05:20:55.252Z] + git rev-list -1 --merges 256139c3d5d62b3a4c0b25e8999062d09719724b~1..256139c3d5d62b3a4c0b25e8999062d09719724b [Pipeline] echo [2022-05-11T05:20:55.303Z] -----------> git rev-list -1 --merges 256139c3d5d62b3a4c0b25e8999062d09719724b~1..256139c3d5d62b3a4c0b25e8999062d09719724b 256139c3d5d62b3a4c0b25e8999062d09719724b [false] [Pipeline] sh [2022-05-11T05:20:55.620Z] + git log --format=format:%s -1 256139c3d5d62b3a4c0b25e8999062d09719724b [Pipeline] echo [2022-05-11T05:20:55.660Z] ========================================================= [2022-05-11T05:20:55.660Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-11T05:20:55.660Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:20:56.099Z] + git log --format=format:%s -1 256139c3d5d62b3a4c0b25e8999062d09719724b [Pipeline] echo [2022-05-11T05:20:56.132Z] [semverPrep] GIT_COMMIT: 256139c3d5d62b3a4c0b25e8999062d09719724b, Commit Message: build: Update to released Go Mods [Pipeline] echo [2022-05-11T05:20:56.164Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T05:20:56.570Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T05:20:56.570Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T05:20:56.570Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T05:20:56.570Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T05:20:56.570Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T05:20:56.570Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T05:20:56.570Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:20:56.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:20:56.957Z] [2022-05-11T05:20:56.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:20:57.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:20:57.304Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T05:20:57.304Z] 1fe172e4850f: Pulling fs layer [2022-05-11T05:20:57.304Z] caf521ccaac6: Pulling fs layer [2022-05-11T05:20:57.304Z] 3ead6fa29328: Pulling fs layer [2022-05-11T05:20:57.304Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T05:20:57.304Z] a8d5f1318db7: Pulling fs layer [2022-05-11T05:20:57.304Z] c427282e49a2: Pulling fs layer [2022-05-11T05:20:57.304Z] 1827001aaf11: Pulling fs layer [2022-05-11T05:20:57.304Z] 0714d37db230: Pulling fs layer [2022-05-11T05:20:57.304Z] ac28cf19c067: Pulling fs layer [2022-05-11T05:20:57.304Z] ca983d60f3e2: Pulling fs layer [2022-05-11T05:20:57.304Z] 9f894cec8388: Pulling fs layer [2022-05-11T05:20:57.304Z] 1827001aaf11: Waiting [2022-05-11T05:20:57.304Z] 0714d37db230: Waiting [2022-05-11T05:20:57.304Z] a8d5f1318db7: Waiting [2022-05-11T05:20:57.304Z] ac28cf19c067: Waiting [2022-05-11T05:20:57.304Z] ca983d60f3e2: Waiting [2022-05-11T05:20:57.304Z] c427282e49a2: Waiting [2022-05-11T05:20:57.304Z] 9f894cec8388: Waiting [2022-05-11T05:20:57.304Z] 5c2a1cbceb83: Waiting [2022-05-11T05:20:57.304Z] caf521ccaac6: Download complete [2022-05-11T05:20:57.304Z] 5c2a1cbceb83: Download complete [2022-05-11T05:20:57.565Z] a8d5f1318db7: Verifying Checksum [2022-05-11T05:20:57.565Z] a8d5f1318db7: Download complete [2022-05-11T05:20:57.565Z] 3ead6fa29328: Verifying Checksum [2022-05-11T05:20:57.565Z] 3ead6fa29328: Download complete [2022-05-11T05:20:57.565Z] c427282e49a2: Verifying Checksum [2022-05-11T05:20:57.565Z] c427282e49a2: Download complete [2022-05-11T05:20:57.565Z] 0714d37db230: Verifying Checksum [2022-05-11T05:20:57.565Z] 0714d37db230: Download complete [2022-05-11T05:20:57.565Z] ac28cf19c067: Verifying Checksum [2022-05-11T05:20:57.565Z] ac28cf19c067: Download complete [2022-05-11T05:20:57.565Z] ca983d60f3e2: Download complete [2022-05-11T05:20:57.565Z] 9f894cec8388: Download complete [2022-05-11T05:20:57.565Z] 1fe172e4850f: Verifying Checksum [2022-05-11T05:20:57.565Z] 1fe172e4850f: Download complete [2022-05-11T05:20:57.826Z] 1827001aaf11: Verifying Checksum [2022-05-11T05:20:57.826Z] 1827001aaf11: Download complete [2022-05-11T05:20:59.214Z] 1fe172e4850f: Pull complete [2022-05-11T05:20:59.214Z] caf521ccaac6: Pull complete [2022-05-11T05:20:59.786Z] 3ead6fa29328: Pull complete [2022-05-11T05:21:00.046Z] 5c2a1cbceb83: Pull complete [2022-05-11T05:21:00.309Z] a8d5f1318db7: Pull complete [2022-05-11T05:21:00.309Z] c427282e49a2: Pull complete [2022-05-11T05:21:02.221Z] 1827001aaf11: Pull complete [2022-05-11T05:21:02.483Z] 0714d37db230: Pull complete [2022-05-11T05:21:02.483Z] ac28cf19c067: Pull complete [2022-05-11T05:21:02.744Z] ca983d60f3e2: Pull complete [2022-05-11T05:21:02.744Z] 9f894cec8388: Pull complete [2022-05-11T05:21:02.744Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T05:21:02.745Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T05:21:02.745Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T05:21:02.848Z] prd-ubuntu20.04-docker-8c-8g-63044 does not seem to be running inside a container [2022-05-11T05:21:02.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-189 -v /w/workspace/gexfoundry_device-rest-go_PR-189:/w/workspace/gexfoundry_device-rest-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-189@tmp:/w/workspace/gexfoundry_device-rest-go_PR-189@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T05:21:04.634Z] $ docker top 105dd3cfb51236ce2d8f62476004ed6c8dd67f4d8b59d243981de8819344dee9 -eo pid,comm [2022-05-11T05:21:04.704Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-11T05:21:04.704Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T05:21:04.881Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:21:04.881Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:21:05.019Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:21:05.024Z] $ docker exec 105dd3cfb51236ce2d8f62476004ed6c8dd67f4d8b59d243981de8819344dee9 ssh-agent [2022-05-11T05:21:05.162Z] SSH_AUTH_SOCK=/tmp/ssh-psDYYHSEWbV6/agent.34 [2022-05-11T05:21:05.162Z] SSH_AGENT_PID=41 [2022-05-11T05:21:05.171Z] Running ssh-add (command line suppressed) [2022-05-11T05:21:05.306Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-189@tmp/private_key_782023870320406965.key (/w/workspace/gexfoundry_device-rest-go_PR-189@tmp/private_key_782023870320406965.key) [2022-05-11T05:21:05.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:21:05.665Z] + git tag --points-at HEAD [Pipeline] } [2022-05-11T05:21:05.689Z] $ docker exec --env ******** --env ******** 105dd3cfb51236ce2d8f62476004ed6c8dd67f4d8b59d243981de8819344dee9 ssh-agent -k [2022-05-11T05:21:05.799Z] unset SSH_AUTH_SOCK; [2022-05-11T05:21:05.800Z] unset SSH_AGENT_PID; [2022-05-11T05:21:05.800Z] echo Agent pid 41 killed; [2022-05-11T05:21:05.810Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-11T05:21:05.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T05:21:05.897Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T05:21:06.031Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T05:21:06.037Z] $ docker exec 105dd3cfb51236ce2d8f62476004ed6c8dd67f4d8b59d243981de8819344dee9 ssh-agent [2022-05-11T05:21:06.181Z] SSH_AUTH_SOCK=/tmp/ssh-VjO6cFIssImO/agent.74 [2022-05-11T05:21:06.181Z] SSH_AGENT_PID=80 [2022-05-11T05:21:06.189Z] Running ssh-add (command line suppressed) [2022-05-11T05:21:06.314Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-189@tmp/private_key_5894773746639712053.key (/w/workspace/gexfoundry_device-rest-go_PR-189@tmp/private_key_5894773746639712053.key) [2022-05-11T05:21:06.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T05:21:06.668Z] + git semver init [2022-05-11T05:21:06.932Z] 2022-05-11 05:21:06,889 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T05:21:06.932Z] 2022-05-11 05:21:06,890 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-189/.semver [2022-05-11T05:21:06.932Z] 2022-05-11 05:21:06,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-189/.semver [2022-05-11T05:21:06.932Z] 2022-05-11 05:21:06,890 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-189/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-189, universal_newlines=False, shell=None, istream=None) [2022-05-11T05:21:08.332Z] 2022-05-11 05:21:08,125 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-189/.git/info/exclude [2022-05-11T05:21:08.332Z] 2022-05-11 05:21:08,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-189/.semver/PR-189 with force:False [2022-05-11T05:21:08.332Z] 2022-05-11 05:21:08,126 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-189/.semver/PR-189 [2022-05-11T05:21:08.332Z] 2022-05-11 05:21:08,131 [execute] INFO git cat-file --batch-check [2022-05-11T05:21:08.332Z] 2022-05-11 05:21:08,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-189/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T05:21:08.332Z] 2022-05-11 05:21:08,138 [execute] INFO git cat-file --batch [2022-05-11T05:21:08.332Z] 2022-05-11 05:21:08,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-189/.semver, universal_newlines=False, shell=None, istream=) [2022-05-11T05:21:08.332Z] 2022-05-11 05:21:08,143 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-189/.semver/PR-189 [2022-05-11T05:21:08.332Z] 0.0.0 [Pipeline] } [2022-05-11T05:21:08.362Z] $ docker exec --env ******** --env ******** 105dd3cfb51236ce2d8f62476004ed6c8dd67f4d8b59d243981de8819344dee9 ssh-agent -k [2022-05-11T05:21:08.481Z] unset SSH_AUTH_SOCK; [2022-05-11T05:21:08.482Z] unset SSH_AGENT_PID; [2022-05-11T05:21:08.482Z] echo Agent pid 80 killed; [2022-05-11T05:21:08.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T05:21:08.967Z] + git semver [Pipeline] } [2022-05-11T05:21:09.256Z] $ docker stop --time=1 105dd3cfb51236ce2d8f62476004ed6c8dd67f4d8b59d243981de8819344dee9 [2022-05-11T05:21:10.698Z] $ docker rm -f 105dd3cfb51236ce2d8f62476004ed6c8dd67f4d8b59d243981de8819344dee9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:21:11.122Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T05:21:11.456Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T05:21:11.479Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:21:12.215Z] provisioning config files... [2022-05-11T05:21:12.226Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-189@tmp/config5569987186232815479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:21:12.643Z] ---> docker-login.sh [2022-05-11T05:21:12.643Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:21:12.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:12.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:12.643Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:12.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:12.643Z] [2022-05-11T05:21:12.643Z] Login Succeeded [2022-05-11T05:21:12.643Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:21:12.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:12.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:12.906Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:12.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:12.906Z] [2022-05-11T05:21:12.906Z] Login Succeeded [2022-05-11T05:21:12.906Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:21:12.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:12.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:12.906Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:12.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:12.906Z] [2022-05-11T05:21:12.906Z] Login Succeeded [2022-05-11T05:21:12.906Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:21:13.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:13.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:13.167Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:13.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:13.167Z] [2022-05-11T05:21:13.167Z] Login Succeeded [2022-05-11T05:21:13.167Z] docker.io [2022-05-11T05:21:13.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:21:13.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:21:13.427Z] Configure a credential helper to remove this warning. See [2022-05-11T05:21:13.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:21:13.427Z] [2022-05-11T05:21:13.427Z] Login Succeeded [2022-05-11T05:21:13.427Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:21:13.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:21:13.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:21:13.688Z] ========================================================= [2022-05-11T05:21:13.688Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T05:21:13.688Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:21:14.107Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T05:21:14.107Z] Sending build context to Docker daemon 10.63MB [2022-05-11T05:21:14.107Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:21:14.107Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T05:21:14.107Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T05:21:14.107Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T05:21:14.107Z] 666ba61612fd: Pulling fs layer [2022-05-11T05:21:14.107Z] 8ed8ca486205: Pulling fs layer [2022-05-11T05:21:14.107Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T05:21:14.107Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T05:21:14.107Z] ca2b28591e48: Pulling fs layer [2022-05-11T05:21:14.107Z] a51346096db8: Pulling fs layer [2022-05-11T05:21:14.107Z] daebc70d1ce1: Pulling fs layer [2022-05-11T05:21:14.107Z] 0e18a0eac166: Pulling fs layer [2022-05-11T05:21:14.107Z] 22a0e8bec74d: Waiting [2022-05-11T05:21:14.107Z] a51346096db8: Waiting [2022-05-11T05:21:14.107Z] daebc70d1ce1: Waiting [2022-05-11T05:21:14.107Z] ca2b28591e48: Waiting [2022-05-11T05:21:14.107Z] 4fe6c5a15a65: Waiting [2022-05-11T05:21:14.107Z] 0e18a0eac166: Waiting [2022-05-11T05:21:14.107Z] 8ed8ca486205: Verifying Checksum [2022-05-11T05:21:14.107Z] 8ed8ca486205: Download complete [2022-05-11T05:21:14.107Z] 666ba61612fd: Download complete [2022-05-11T05:21:14.383Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T05:21:14.384Z] 22a0e8bec74d: Download complete [2022-05-11T05:21:14.384Z] ca2b28591e48: Verifying Checksum [2022-05-11T05:21:14.384Z] ca2b28591e48: Download complete [2022-05-11T05:21:14.384Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T05:21:14.384Z] 59bf1c3509f3: Download complete [2022-05-11T05:21:14.384Z] a51346096db8: Verifying Checksum [2022-05-11T05:21:14.384Z] a51346096db8: Download complete [2022-05-11T05:21:14.384Z] daebc70d1ce1: Verifying Checksum [2022-05-11T05:21:14.384Z] daebc70d1ce1: Download complete [2022-05-11T05:21:14.384Z] 59bf1c3509f3: Pull complete [2022-05-11T05:21:14.645Z] 666ba61612fd: Pull complete [2022-05-11T05:21:14.645Z] 8ed8ca486205: Pull complete [2022-05-11T05:21:14.905Z] 0e18a0eac166: Verifying Checksum [2022-05-11T05:21:14.905Z] 0e18a0eac166: Download complete [2022-05-11T05:21:15.173Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T05:21:15.173Z] 4fe6c5a15a65: Download complete [2022-05-11T05:21:19.369Z] 4fe6c5a15a65: Pull complete [2022-05-11T05:21:19.369Z] 22a0e8bec74d: Pull complete [2022-05-11T05:21:19.369Z] ca2b28591e48: Pull complete [2022-05-11T05:21:19.369Z] a51346096db8: Pull complete [2022-05-11T05:21:19.628Z] daebc70d1ce1: Pull complete [2022-05-11T05:21:22.166Z] 0e18a0eac166: Pull complete [2022-05-11T05:21:22.166Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T05:21:22.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T05:21:22.166Z] ---> f018257e8ee9 [2022-05-11T05:21:22.166Z] Step 3/12 : ARG MAKE='make build' [2022-05-11T05:21:23.550Z] ---> Running in 1d2173439b7a [2022-05-11T05:21:23.811Z] Removing intermediate container 1d2173439b7a [2022-05-11T05:21:23.811Z] ---> 3eea16178f2d [2022-05-11T05:21:23.812Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:21:23.812Z] ---> Running in 367d31eb27e6 [2022-05-11T05:21:23.812Z] Removing intermediate container 367d31eb27e6 [2022-05-11T05:21:23.812Z] ---> 881e8316e5eb [2022-05-11T05:21:23.812Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:21:24.072Z] ---> Running in 5ec5332bba68 [2022-05-11T05:21:24.072Z] Removing intermediate container 5ec5332bba68 [2022-05-11T05:21:24.072Z] ---> 489d83fc8565 [2022-05-11T05:21:24.072Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:21:24.072Z] ---> Running in 6e4c6416cda6 [2022-05-11T05:21:25.017Z] Removing intermediate container 6e4c6416cda6 [2022-05-11T05:21:25.017Z] ---> a9077ba229fb [2022-05-11T05:21:25.017Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:21:25.017Z] ---> Running in dfad0ded62df [2022-05-11T05:21:25.017Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:21:25.964Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:21:26.228Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:21:26.491Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T05:21:26.491Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:21:26.491Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:21:26.765Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:21:26.765Z] OK: 224 MiB in 56 packages [2022-05-11T05:21:26.876Z] Still waiting to schedule task [2022-05-11T05:21:26.876Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-63043’ is offline [2022-05-11T05:21:27.036Z] Removing intermediate container dfad0ded62df [2022-05-11T05:21:27.036Z] ---> 84a8c3b07f66 [2022-05-11T05:21:27.036Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-11T05:21:27.036Z] ---> Running in ef8a94e38905 [2022-05-11T05:21:27.326Z] Removing intermediate container ef8a94e38905 [2022-05-11T05:21:27.326Z] ---> 3bd444772523 [2022-05-11T05:21:27.326Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-11T05:21:27.326Z] ---> 814dee75568e [2022-05-11T05:21:27.326Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:21:27.589Z] ---> Running in 27b2dee0be73 [2022-05-11T05:21:42.501Z] Removing intermediate container 27b2dee0be73 [2022-05-11T05:21:42.501Z] ---> 90759f02543c [2022-05-11T05:21:42.501Z] Step 11/12 : COPY . . [2022-05-11T05:21:42.501Z] ---> 534e6bd7f28f [2022-05-11T05:21:42.501Z] Step 12/12 : RUN $MAKE [2022-05-11T05:21:42.501Z] ---> Running in aab2bd15f355 [2022-05-11T05:21:42.501Z] noop [2022-05-11T05:21:42.501Z] Removing intermediate container aab2bd15f355 [2022-05-11T05:21:42.501Z] ---> 5dd450336bd7 [2022-05-11T05:21:42.501Z] Successfully built 5dd450336bd7 [2022-05-11T05:21:42.501Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:21:42.911Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:21:42.911Z] . [Pipeline] withDockerContainer [2022-05-11T05:21:43.014Z] prd-ubuntu20.04-docker-8c-8g-63044 does not seem to be running inside a container [2022-05-11T05:21:43.056Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-189 -v /w/workspace/gexfoundry_device-rest-go_PR-189:/w/workspace/gexfoundry_device-rest-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-189@tmp:/w/workspace/gexfoundry_device-rest-go_PR-189@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 ******** ci-base-image-x86_64 cat [2022-05-11T05:21:43.489Z] $ docker top ae1870594a81e7e235a57e582c365554da58de0ab0c51256fac14f2152364fb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:21:43.909Z] + go version [2022-05-11T05:21:43.909Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T05:21:43.941Z] $ docker stop --time=1 ae1870594a81e7e235a57e582c365554da58de0ab0c51256fac14f2152364fb3 [2022-05-11T05:21:45.229Z] $ docker rm -f ae1870594a81e7e235a57e582c365554da58de0ab0c51256fac14f2152364fb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:21:45.911Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T05:21:45.911Z] . [Pipeline] withDockerContainer [2022-05-11T05:21:46.010Z] prd-ubuntu20.04-docker-8c-8g-63044 does not seem to be running inside a container [2022-05-11T05:21:46.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-189 -v /w/workspace/gexfoundry_device-rest-go_PR-189:/w/workspace/gexfoundry_device-rest-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-189@tmp:/w/workspace/gexfoundry_device-rest-go_PR-189@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 ******** ci-base-image-x86_64 cat [2022-05-11T05:21:46.459Z] $ docker top 332e7b2e4ca5b1f091bb8c1ed5db5b2fc00094c528d686dc85361b2e1adcfa14 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:21:46.976Z] + make test [2022-05-11T05:21:46.976Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T05:21:47.236Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-11T05:21:57.228Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-11T05:21:57.228Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-05-11T05:22:05.371Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:22:08.669Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:22:08.669Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:22:08.669Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:22:08.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:22:08.737Z] $ docker stop --time=1 332e7b2e4ca5b1f091bb8c1ed5db5b2fc00094c528d686dc85361b2e1adcfa14 [2022-05-11T05:22:10.567Z] $ docker rm -f 332e7b2e4ca5b1f091bb8c1ed5db5b2fc00094c528d686dc85361b2e1adcfa14 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:22:11.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:22:11.154Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T05:22:11.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:22:12.172Z] + ls -al . [2022-05-11T05:22:12.172Z] total 172 [2022-05-11T05:22:12.172Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 05:22 . [2022-05-11T05:22:12.172Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:20 .. [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 05:20 .dockerignore [2022-05-11T05:22:12.172Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:21 .git [2022-05-11T05:22:12.172Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:20 .github [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 05:20 .gitignore [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:20 .golangci.yml [2022-05-11T05:22:12.172Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:21 .semver [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 11 05:20 Attribution.txt [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 11 05:20 CHANGELOG.md [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 11 05:20 Dockerfile [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:20 GOVERNANCE.md [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:20 Jenkinsfile [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:20 LICENSE [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 11 05:20 Makefile [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 05:20 OWNERS.md [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 11 05:20 README.md [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:21 VERSION [2022-05-11T05:22:12.172Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:20 bin [2022-05-11T05:22:12.172Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:20 cmd [2022-05-11T05:22:12.172Z] -rw-r--r-- 1 jenkins jenkins 9355 May 11 05:21 coverage.out [2022-05-11T05:22:12.172Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:20 driver [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 11 05:20 go.mod [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 11 05:20 go.sum [2022-05-11T05:22:12.172Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:20 snap [2022-05-11T05:22:12.172Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 05:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:22:12.543Z] + 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=256139c3d5d62b3a4c0b25e8999062d09719724b --label arch=amd64 --label version=0.0.0 . [2022-05-11T05:22:12.543Z] Sending build context to Docker daemon 10.64MB [2022-05-11T05:22:12.543Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:22:12.543Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T05:22:12.543Z] ---> 5dd450336bd7 [2022-05-11T05:22:12.543Z] Step 3/25 : ARG MAKE='make build' [2022-05-11T05:22:12.806Z] ---> Running in b916a87ea990 [2022-05-11T05:22:12.806Z] Removing intermediate container b916a87ea990 [2022-05-11T05:22:12.806Z] ---> 6595e1e8bf77 [2022-05-11T05:22:12.806Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:22:13.067Z] ---> Running in c0caf7eba6d8 [2022-05-11T05:22:13.067Z] Removing intermediate container c0caf7eba6d8 [2022-05-11T05:22:13.067Z] ---> e685dbe36951 [2022-05-11T05:22:13.067Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:22:13.067Z] ---> Running in f984aee58588 [2022-05-11T05:22:13.335Z] Removing intermediate container f984aee58588 [2022-05-11T05:22:13.335Z] ---> 2f2c7e2948f3 [2022-05-11T05:22:13.335Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:22:13.335Z] ---> Running in d484f52995e3 [2022-05-11T05:22:13.908Z] Removing intermediate container d484f52995e3 [2022-05-11T05:22:13.908Z] ---> 34641611f237 [2022-05-11T05:22:13.908Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:22:14.171Z] ---> Running in a7c48c3e74d1 [2022-05-11T05:22:14.432Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:22:15.006Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:22:15.577Z] OK: 224 MiB in 56 packages [2022-05-11T05:22:15.838Z] Removing intermediate container a7c48c3e74d1 [2022-05-11T05:22:15.838Z] ---> 6aa82e1e2fec [2022-05-11T05:22:15.838Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-11T05:22:15.838Z] ---> Running in 6bd75fd17bc9 [2022-05-11T05:22:15.838Z] Removing intermediate container 6bd75fd17bc9 [2022-05-11T05:22:15.838Z] ---> 143dc31af073 [2022-05-11T05:22:15.838Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-11T05:22:16.100Z] ---> 083ba40089f5 [2022-05-11T05:22:16.100Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:22:16.100Z] ---> Running in ac5ea1f62758 [2022-05-11T05:22:16.672Z] Removing intermediate container ac5ea1f62758 [2022-05-11T05:22:16.672Z] ---> e824b1783179 [2022-05-11T05:22:16.672Z] Step 11/25 : COPY . . [2022-05-11T05:22:17.246Z] ---> c9b5e02e39ce [2022-05-11T05:22:17.246Z] Step 12/25 : RUN $MAKE [2022-05-11T05:22:17.246Z] ---> Running in 1cbc53e67f04 [2022-05-11T05:22:17.510Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-11T05:22:39.467Z] Removing intermediate container 1cbc53e67f04 [2022-05-11T05:22:39.468Z] ---> 3d10e5f590d3 [2022-05-11T05:22:39.468Z] Step 13/25 : FROM alpine:3.14 [2022-05-11T05:22:39.468Z] 3.14: Pulling from library/alpine [2022-05-11T05:22:39.468Z] 8663204ce13b: Pulling fs layer [2022-05-11T05:22:39.468Z] 8663204ce13b: Verifying Checksum [2022-05-11T05:22:39.468Z] 8663204ce13b: Download complete [2022-05-11T05:22:39.468Z] 8663204ce13b: Pull complete [2022-05-11T05:22:39.468Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T05:22:39.468Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T05:22:39.468Z] ---> e04c818066af [2022-05-11T05:22:39.468Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-11T05:22:39.468Z] ---> Running in 1a9ba517c091 [2022-05-11T05:22:39.468Z] Removing intermediate container 1a9ba517c091 [2022-05-11T05:22:39.468Z] ---> 09d645e13302 [2022-05-11T05:22:39.468Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-11T05:22:39.468Z] ---> Running in 3670d3d865ff [2022-05-11T05:22:39.468Z] Removing intermediate container 3670d3d865ff [2022-05-11T05:22:39.468Z] ---> cdaf66d04491 [2022-05-11T05:22:39.468Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T05:22:39.468Z] ---> Running in d82140fe8ec6 [2022-05-11T05:22:39.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T05:22:39.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T05:22:39.468Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T05:22:39.468Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T05:22:39.468Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T05:22:39.468Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T05:22:39.468Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T05:22:39.468Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T05:22:39.468Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T05:22:39.468Z] OK: 8 MiB in 20 packages [2022-05-11T05:22:39.468Z] Removing intermediate container d82140fe8ec6 [2022-05-11T05:22:39.468Z] ---> 67f15695594f [2022-05-11T05:22:39.468Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-11T05:22:39.468Z] ---> c4e5eb879b70 [2022-05-11T05:22:39.468Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-11T05:22:39.730Z] ---> cc1f950dfa70 [2022-05-11T05:22:39.730Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-11T05:22:39.730Z] ---> 280ceae5be9d [2022-05-11T05:22:39.730Z] Step 20/25 : EXPOSE 59986 [2022-05-11T05:22:39.992Z] ---> Running in 51f377ff76cd [2022-05-11T05:22:39.992Z] Removing intermediate container 51f377ff76cd [2022-05-11T05:22:39.992Z] ---> b1c4131ac43a [2022-05-11T05:22:39.992Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-11T05:22:39.992Z] ---> Running in 458f20fa6b18 [2022-05-11T05:22:40.262Z] Removing intermediate container 458f20fa6b18 [2022-05-11T05:22:40.262Z] ---> 675328d31838 [2022-05-11T05:22:40.262Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-11T05:22:40.262Z] ---> Running in b3067dd4358f [2022-05-11T05:22:40.262Z] Removing intermediate container b3067dd4358f [2022-05-11T05:22:40.262Z] ---> 98106c12850d [2022-05-11T05:22:40.262Z] Step 23/25 : LABEL arch=amd64 [2022-05-11T05:22:40.262Z] ---> Running in 7158ec2c1d06 [2022-05-11T05:22:40.525Z] Removing intermediate container 7158ec2c1d06 [2022-05-11T05:22:40.525Z] ---> 4d98ec0237a4 [2022-05-11T05:22:40.525Z] Step 24/25 : LABEL git_sha=256139c3d5d62b3a4c0b25e8999062d09719724b [2022-05-11T05:22:40.525Z] ---> Running in da6da40a5a84 [2022-05-11T05:22:40.525Z] Removing intermediate container da6da40a5a84 [2022-05-11T05:22:40.525Z] ---> 4428876cc44a [2022-05-11T05:22:40.525Z] Step 25/25 : LABEL version=0.0.0 [2022-05-11T05:22:40.525Z] ---> Running in 9d3fa037fdcf [2022-05-11T05:22:40.786Z] Removing intermediate container 9d3fa037fdcf [2022-05-11T05:22:40.786Z] ---> 31111af4e1e4 [2022-05-11T05:22:40.786Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T05:22:40.786Z] Successfully built 31111af4e1e4 [2022-05-11T05:22:40.786Z] 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 [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:22:41.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:22:41.498Z] [2022-05-11T05:22:41.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:22:41.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:22:41.844Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T05:22:41.844Z] 5eb5b503b376: Pulling fs layer [2022-05-11T05:22:41.844Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T05:22:41.844Z] ec43610c2a17: Pulling fs layer [2022-05-11T05:22:41.844Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T05:22:41.844Z] 33b1e0a273af: Pulling fs layer [2022-05-11T05:22:41.844Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T05:22:41.844Z] 2f39f015ded8: Pulling fs layer [2022-05-11T05:22:41.844Z] 3a2ae6a8a46f: Waiting [2022-05-11T05:22:41.844Z] 33b1e0a273af: Waiting [2022-05-11T05:22:41.844Z] 5d3b04190fa2: Waiting [2022-05-11T05:22:41.844Z] 2f39f015ded8: Waiting [2022-05-11T05:22:41.844Z] 5c69ac0246d0: Download complete [2022-05-11T05:22:41.844Z] 3a2ae6a8a46f: Download complete [2022-05-11T05:22:41.844Z] 33b1e0a273af: Verifying Checksum [2022-05-11T05:22:41.844Z] 33b1e0a273af: Download complete [2022-05-11T05:22:41.844Z] ec43610c2a17: Verifying Checksum [2022-05-11T05:22:41.844Z] ec43610c2a17: Download complete [2022-05-11T05:22:41.844Z] 5d3b04190fa2: Verifying Checksum [2022-05-11T05:22:41.844Z] 5d3b04190fa2: Download complete [2022-05-11T05:22:42.105Z] 5eb5b503b376: Verifying Checksum [2022-05-11T05:22:42.105Z] 5eb5b503b376: Download complete [2022-05-11T05:22:42.673Z] 2f39f015ded8: Download complete [2022-05-11T05:22:43.612Z] 5eb5b503b376: Pull complete [2022-05-11T05:22:43.612Z] 5c69ac0246d0: Pull complete [2022-05-11T05:22:44.180Z] ec43610c2a17: Pull complete [2022-05-11T05:22:44.180Z] 3a2ae6a8a46f: Pull complete [2022-05-11T05:22:44.439Z] 33b1e0a273af: Pull complete [2022-05-11T05:22:44.439Z] 5d3b04190fa2: Pull complete [2022-05-11T05:22:49.715Z] 2f39f015ded8: Pull complete [2022-05-11T05:22:49.715Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T05:22:49.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:22:49.715Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T05:22:49.808Z] prd-ubuntu20.04-docker-8c-8g-63044 does not seem to be running inside a container [2022-05-11T05:22:49.845Z] $ 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/gexfoundry_device-rest-go_PR-189 -v /w/workspace/gexfoundry_device-rest-go_PR-189:/w/workspace/gexfoundry_device-rest-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-189@tmp:/w/workspace/gexfoundry_device-rest-go_PR-189@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 [2022-05-11T05:22:51.641Z] $ docker top 4e108b88313dbb75421a31bbfd98c1311270f55d8ddf1ab032a77fe7f698df10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:22:52.137Z] ---> job-cost.sh [2022-05-11T05:22:52.137Z] lf-activate-venv: SKIPPING [2022-05-11T05:22:52.137Z] INFO: No Stack... [2022-05-11T05:22:52.437Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T05:22:52.718Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T05:22:53.043Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-189/archives/cost.csv [2022-05-11T05:22:53.043Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T05:22:53.083Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-189-1-stack-cost] [2022-05-11T05:22:53.088Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-189-1-stack-cost] did not exist. Created. [2022-05-11T05:22:53.088Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-189-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T05:22:53.479Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T05:22:53.534Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T05:22:53.559Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-189-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T05:22:53.630Z] $ docker stop --time=1 4e108b88313dbb75421a31bbfd98c1311270f55d8ddf1ab032a77fe7f698df10 [2022-05-11T05:22:54.799Z] $ docker rm -f 4e108b88313dbb75421a31bbfd98c1311270f55d8ddf1ab032a77fe7f698df10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T05:23:46.151Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63046 in /w/workspace/gexfoundry_device-rest-go_PR-189 [Pipeline] { [Pipeline] ws [2022-05-11T05:23:46.196Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-05-11T05:23:46.707Z] The recommended git tool is: git [2022-05-11T05:23:53.551Z] using credential edgex-jenkins-ssh [2022-05-11T05:23:53.575Z] Cloning the remote Git repository [2022-05-11T05:23:53.645Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T05:23:53.737Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-05-11T05:23:53.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T05:23:53.837Z] > git --version # timeout=10 [2022-05-11T05:23:53.860Z] > git --version # 'git version 2.25.1' [2022-05-11T05:23:53.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:23:53.942Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:23:55.816Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-11T05:23:55.839Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T05:23:55.872Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-11T05:23:55.925Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T05:23:55.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:23:55.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-11T05:23:56.535Z] Merging remotes/origin/main commit 9b53a838cf715098176e329c4fd19d0f7ded052f into PR head commit 256139c3d5d62b3a4c0b25e8999062d09719724b [2022-05-11T05:23:56.777Z] Merge succeeded, producing 256139c3d5d62b3a4c0b25e8999062d09719724b [2022-05-11T05:23:56.778Z] Checking out Revision 256139c3d5d62b3a4c0b25e8999062d09719724b (PR-189) [2022-05-11T05:23:56.557Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T05:23:56.582Z] > git checkout -f 256139c3d5d62b3a4c0b25e8999062d09719724b # timeout=10 [2022-05-11T05:23:56.676Z] > git remote # timeout=10 [2022-05-11T05:23:56.697Z] > git config --get remote.origin.url # timeout=10 [2022-05-11T05:23:56.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T05:23:56.728Z] > git merge 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 [2022-05-11T05:23:56.759Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-11T05:23:56.786Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T05:23:56.799Z] > git checkout -f 256139c3d5d62b3a4c0b25e8999062d09719724b # timeout=10 [2022-05-11T05:24:01.132Z] Commit message: "build: Update to released Go Mods" [2022-05-11T05:24:01.197Z] > git --version # timeout=10 [2022-05-11T05:24:01.208Z] > git --version # 'git version 2.25.1' [2022-05-11T05:24:01.228Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:24:02.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T05:24:02.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T05:24:02.472Z] Dload Upload Total Spent Left Speed [2022-05-11T05:24:02.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh [2022-05-11T05:24:03.038Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T05:24:03.413Z] + sudo tee /etc/docker/daemon.new [2022-05-11T05:24:03.413Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T05:24:03.413Z] { [2022-05-11T05:24:03.413Z] "registry-mirrors": [ [2022-05-11T05:24:03.413Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T05:24:03.413Z] ], [2022-05-11T05:24:03.413Z] "bip": "10.250.0.254/24", [2022-05-11T05:24:03.413Z] "hosts": [ [2022-05-11T05:24:03.413Z] "tcp://0.0.0.0:5555", [2022-05-11T05:24:03.413Z] "unix:///var/run/docker.sock" [2022-05-11T05:24:03.413Z] ], [2022-05-11T05:24:03.413Z] "mtu": 1458, [2022-05-11T05:24:03.413Z] "selinux-enabled": true, [2022-05-11T05:24:03.413Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T05:24:03.413Z] } [Pipeline] sh [2022-05-11T05:24:03.787Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T05:24:04.166Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:24:22.670Z] provisioning config files... [2022-05-11T05:24:22.699Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2516872874691434101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:24:23.293Z] ---> docker-login.sh [2022-05-11T05:24:23.293Z] nexus3.edgexfoundry.org:10001 [2022-05-11T05:24:23.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:24:24.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:24:24.168Z] Configure a credential helper to remove this warning. See [2022-05-11T05:24:24.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:24:24.168Z] [2022-05-11T05:24:24.168Z] Login Succeeded [2022-05-11T05:24:24.168Z] nexus3.edgexfoundry.org:10002 [2022-05-11T05:24:24.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:24:24.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:24:24.717Z] Configure a credential helper to remove this warning. See [2022-05-11T05:24:24.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:24:24.717Z] [2022-05-11T05:24:24.717Z] Login Succeeded [2022-05-11T05:24:24.717Z] nexus3.edgexfoundry.org:10003 [2022-05-11T05:24:24.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:24:25.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:24:25.271Z] Configure a credential helper to remove this warning. See [2022-05-11T05:24:25.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:24:25.271Z] [2022-05-11T05:24:25.271Z] Login Succeeded [2022-05-11T05:24:25.271Z] nexus3.edgexfoundry.org:10004 [2022-05-11T05:24:25.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:24:25.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:24:25.544Z] Configure a credential helper to remove this warning. See [2022-05-11T05:24:25.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:24:25.544Z] [2022-05-11T05:24:25.544Z] Login Succeeded [2022-05-11T05:24:25.544Z] docker.io [2022-05-11T05:24:25.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T05:24:26.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T05:24:26.411Z] Configure a credential helper to remove this warning. See [2022-05-11T05:24:26.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T05:24:26.411Z] [2022-05-11T05:24:26.411Z] Login Succeeded [2022-05-11T05:24:26.411Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T05:24:26.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T05:24:26.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T05:24:26.868Z] ========================================================= [2022-05-11T05:24:26.868Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T05:24:26.868Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:24:27.330Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T05:24:27.330Z] Sending build context to Docker daemon 128.5kB [2022-05-11T05:24:27.607Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:24:27.607Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T05:24:27.888Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T05:24:27.888Z] 9b3977197b4f: Pulling fs layer [2022-05-11T05:24:27.888Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T05:24:27.888Z] 94645a83ff95: Pulling fs layer [2022-05-11T05:24:27.888Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T05:24:27.888Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T05:24:27.888Z] 3096ccb668a1: Pulling fs layer [2022-05-11T05:24:27.888Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T05:24:27.888Z] a4caa8a26152: Pulling fs layer [2022-05-11T05:24:27.888Z] 3f3a8bcf1eab: Waiting [2022-05-11T05:24:27.888Z] 0c92f367c5e7: Waiting [2022-05-11T05:24:27.888Z] e8cf19c19ddd: Waiting [2022-05-11T05:24:27.888Z] a4caa8a26152: Waiting [2022-05-11T05:24:27.888Z] 3096ccb668a1: Waiting [2022-05-11T05:24:27.888Z] 94645a83ff95: Verifying Checksum [2022-05-11T05:24:27.888Z] 94645a83ff95: Download complete [2022-05-11T05:24:27.888Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T05:24:27.888Z] 1a89e8eeedd5: Download complete [2022-05-11T05:24:27.888Z] 0c92f367c5e7: Download complete [2022-05-11T05:24:27.888Z] 3096ccb668a1: Verifying Checksum [2022-05-11T05:24:27.888Z] 3096ccb668a1: Download complete [2022-05-11T05:24:27.888Z] 9b3977197b4f: Download complete [2022-05-11T05:24:27.888Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T05:24:27.888Z] e8cf19c19ddd: Download complete [2022-05-11T05:24:28.493Z] 9b3977197b4f: Pull complete [2022-05-11T05:24:29.096Z] 1a89e8eeedd5: Pull complete [2022-05-11T05:24:29.701Z] 94645a83ff95: Pull complete [2022-05-11T05:24:29.975Z] a4caa8a26152: Verifying Checksum [2022-05-11T05:24:29.975Z] a4caa8a26152: Download complete [2022-05-11T05:24:30.252Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T05:24:30.252Z] 3f3a8bcf1eab: Download complete [2022-05-11T05:24:42.676Z] 3f3a8bcf1eab: Pull complete [2022-05-11T05:24:42.676Z] 0c92f367c5e7: Pull complete [2022-05-11T05:24:42.676Z] 3096ccb668a1: Pull complete [2022-05-11T05:24:42.676Z] e8cf19c19ddd: Pull complete [2022-05-11T05:24:48.111Z] a4caa8a26152: Pull complete [2022-05-11T05:24:48.111Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T05:24:48.111Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T05:24:48.111Z] ---> 725f1c02e7f9 [2022-05-11T05:24:48.111Z] Step 3/12 : ARG MAKE='make build' [2022-05-11T05:24:49.565Z] ---> Running in 17ab5d58d6c0 [2022-05-11T05:24:50.171Z] Removing intermediate container 17ab5d58d6c0 [2022-05-11T05:24:50.171Z] ---> 1c937cd027f4 [2022-05-11T05:24:50.171Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:24:50.171Z] ---> Running in 5782aae798b1 [2022-05-11T05:24:50.447Z] Removing intermediate container 5782aae798b1 [2022-05-11T05:24:50.447Z] ---> 7e167778cf5f [2022-05-11T05:24:50.447Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:24:50.447Z] ---> Running in 5e751ee1d3f3 [2022-05-11T05:24:50.723Z] Removing intermediate container 5e751ee1d3f3 [2022-05-11T05:24:50.723Z] ---> 22635215f938 [2022-05-11T05:24:50.723Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:24:51.005Z] ---> Running in 31f3287c91c1 [2022-05-11T05:24:54.406Z] Removing intermediate container 31f3287c91c1 [2022-05-11T05:24:54.406Z] ---> 035961d60ab2 [2022-05-11T05:24:54.406Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:24:54.406Z] ---> Running in 9aa79aeed493 [2022-05-11T05:24:55.006Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:24:55.981Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:24:56.958Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T05:24:56.958Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T05:24:56.958Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T05:24:57.231Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T05:24:57.231Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T05:24:57.231Z] OK: 224 MiB in 56 packages [2022-05-11T05:24:58.215Z] Removing intermediate container 9aa79aeed493 [2022-05-11T05:24:58.215Z] ---> 25886ea8d0cf [2022-05-11T05:24:58.215Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-11T05:24:58.215Z] ---> Running in 6951a2b156eb [2022-05-11T05:24:58.487Z] Removing intermediate container 6951a2b156eb [2022-05-11T05:24:58.487Z] ---> bcc1799c30c6 [2022-05-11T05:24:58.487Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-11T05:24:59.084Z] ---> e5b934bd4c0f [2022-05-11T05:24:59.084Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:24:59.084Z] ---> Running in 330527989f18 [2022-05-11T05:25:46.112Z] Removing intermediate container 330527989f18 [2022-05-11T05:25:46.112Z] ---> 1a2ef587b6ba [2022-05-11T05:25:46.112Z] Step 11/12 : COPY . . [2022-05-11T05:25:46.112Z] ---> 7d15031fb775 [2022-05-11T05:25:46.112Z] Step 12/12 : RUN $MAKE [2022-05-11T05:25:46.112Z] ---> Running in bbf42eae5549 [2022-05-11T05:25:47.103Z] noop [2022-05-11T05:25:47.706Z] Removing intermediate container bbf42eae5549 [2022-05-11T05:25:47.706Z] ---> c8b6a78ed160 [2022-05-11T05:25:47.706Z] Successfully built c8b6a78ed160 [2022-05-11T05:25:47.706Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:25:48.085Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:25:48.085Z] . [Pipeline] withDockerContainer [2022-05-11T05:25:48.353Z] prd-ubuntu20.04-docker-arm64-4c-16g-63046 does not seem to be running inside a container [2022-05-11T05:25:48.445Z] $ 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 [2022-05-11T05:25:49.861Z] $ docker top 9086b88e6c13ab16849f7b3ff5f60813542a90f74a38add6d5acae8029873fd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:25:50.865Z] + go version [2022-05-11T05:25:50.865Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T05:25:50.902Z] $ docker stop --time=1 9086b88e6c13ab16849f7b3ff5f60813542a90f74a38add6d5acae8029873fd0 [2022-05-11T05:25:52.714Z] $ docker rm -f 9086b88e6c13ab16849f7b3ff5f60813542a90f74a38add6d5acae8029873fd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:25:53.610Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T05:25:53.610Z] . [Pipeline] withDockerContainer [2022-05-11T05:25:53.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-63046 does not seem to be running inside a container [2022-05-11T05:25:53.990Z] $ 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 [2022-05-11T05:25:55.425Z] $ docker top 00ac8f2ff2f6a5978ed16b6dc870805cc61f1d54e073d240011afd825aa8a87e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T05:25:56.494Z] + make test [2022-05-11T05:25:56.494Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T05:25:58.496Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-11T05:27:35.428Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-11T05:27:35.428Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-05-11T05:27:35.428Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T05:27:35.428Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T05:27:53.781Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T05:27:53.781Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T05:27:53.781Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T05:27:54.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T05:27:54.846Z] $ docker stop --time=1 00ac8f2ff2f6a5978ed16b6dc870805cc61f1d54e073d240011afd825aa8a87e [2022-05-11T05:27:56.667Z] $ docker rm -f 00ac8f2ff2f6a5978ed16b6dc870805cc61f1d54e073d240011afd825aa8a87e [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T05:27:57.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T05:27:57.779Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T05:27:58.299Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T05:27:58.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T05:27:59.345Z] + ls -al . [2022-05-11T05:27:59.345Z] total 168 [2022-05-11T05:27:59.345Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:27 . [2022-05-11T05:27:59.345Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 05:23 .. [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 05:23 .dockerignore [2022-05-11T05:27:59.345Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 05:24 .git [2022-05-11T05:27:59.345Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:23 .github [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 05:23 .gitignore [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 05:23 .golangci.yml [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 11 05:23 Attribution.txt [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 11 05:23 CHANGELOG.md [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 11 05:23 Dockerfile [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 05:23 GOVERNANCE.md [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 05:23 Jenkinsfile [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 05:23 LICENSE [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 11 05:23 Makefile [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 05:23 OWNERS.md [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 11 05:23 README.md [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 05:21 VERSION [2022-05-11T05:27:59.345Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:23 bin [2022-05-11T05:27:59.345Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:23 cmd [2022-05-11T05:27:59.345Z] -rw-r--r-- 1 jenkins jenkins 9355 May 11 05:27 coverage.out [2022-05-11T05:27:59.345Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 05:23 driver [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 11 05:23 go.mod [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 11 05:23 go.sum [2022-05-11T05:27:59.345Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 05:23 snap [2022-05-11T05:27:59.345Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 05:23 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:27:59.752Z] + 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=256139c3d5d62b3a4c0b25e8999062d09719724b --label arch=arm64 --label version=0.0.0 . [2022-05-11T05:27:59.752Z] Sending build context to Docker daemon 138.8kB [2022-05-11T05:28:00.077Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T05:28:00.077Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T05:28:00.078Z] ---> c8b6a78ed160 [2022-05-11T05:28:00.078Z] Step 3/25 : ARG MAKE='make build' [2022-05-11T05:28:00.382Z] ---> Running in d220bff53e0c [2022-05-11T05:28:00.665Z] Removing intermediate container d220bff53e0c [2022-05-11T05:28:00.665Z] ---> 69d3032dbf4c [2022-05-11T05:28:00.665Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T05:28:00.665Z] ---> Running in 5338725c7f14 [2022-05-11T05:28:01.284Z] Removing intermediate container 5338725c7f14 [2022-05-11T05:28:01.284Z] ---> 434ccd81a489 [2022-05-11T05:28:01.284Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T05:28:01.284Z] ---> Running in e04a6c5960c3 [2022-05-11T05:28:01.559Z] Removing intermediate container e04a6c5960c3 [2022-05-11T05:28:01.559Z] ---> 39050583e1de [2022-05-11T05:28:01.559Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T05:28:01.559Z] ---> Running in 51e12394a57b [2022-05-11T05:28:03.559Z] Removing intermediate container 51e12394a57b [2022-05-11T05:28:03.559Z] ---> cc561934df49 [2022-05-11T05:28:03.559Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T05:28:03.559Z] ---> Running in f8138fcdc975 [2022-05-11T05:28:04.541Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:28:05.524Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:28:06.510Z] OK: 224 MiB in 56 packages [2022-05-11T05:28:07.515Z] Removing intermediate container f8138fcdc975 [2022-05-11T05:28:07.515Z] ---> e34bab5e98cb [2022-05-11T05:28:07.515Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-11T05:28:07.515Z] ---> Running in 5d9af637dbed [2022-05-11T05:28:07.800Z] Removing intermediate container 5d9af637dbed [2022-05-11T05:28:07.800Z] ---> 2ca118cf878a [2022-05-11T05:28:07.800Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-11T05:28:08.402Z] ---> 45cf02a0ce84 [2022-05-11T05:28:08.402Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T05:28:08.402Z] ---> Running in adf815588bea [2022-05-11T05:28:10.401Z] Removing intermediate container adf815588bea [2022-05-11T05:28:10.401Z] ---> 6705a2b8d67c [2022-05-11T05:28:10.401Z] Step 11/25 : COPY . . [2022-05-11T05:28:11.004Z] ---> 57a679520213 [2022-05-11T05:28:11.004Z] Step 12/25 : RUN $MAKE [2022-05-11T05:28:11.282Z] ---> Running in 9c74db39fa53 [2022-05-11T05:28:12.292Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-11T05:30:34.216Z] Removing intermediate container 9c74db39fa53 [2022-05-11T05:30:34.216Z] ---> f1522ac19f28 [2022-05-11T05:30:34.216Z] Step 13/25 : FROM alpine:3.14 [2022-05-11T05:30:34.216Z] 3.14: Pulling from library/alpine [2022-05-11T05:30:34.216Z] 455c02918c45: Pulling fs layer [2022-05-11T05:30:34.216Z] 455c02918c45: Verifying Checksum [2022-05-11T05:30:34.216Z] 455c02918c45: Download complete [2022-05-11T05:30:34.216Z] 455c02918c45: Pull complete [2022-05-11T05:30:34.216Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T05:30:34.216Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T05:30:34.216Z] ---> ac73e934f311 [2022-05-11T05:30:34.216Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-11T05:30:34.216Z] ---> Running in cd7ea75879ed [2022-05-11T05:30:34.216Z] Removing intermediate container cd7ea75879ed [2022-05-11T05:30:34.216Z] ---> 4b03f57b129b [2022-05-11T05:30:34.216Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-11T05:30:34.216Z] ---> Running in 661fc3258b86 [2022-05-11T05:30:34.216Z] Removing intermediate container 661fc3258b86 [2022-05-11T05:30:34.216Z] ---> 6309813a4961 [2022-05-11T05:30:34.216Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T05:30:34.216Z] ---> Running in 25e613a8dd5e [2022-05-11T05:30:34.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T05:30:34.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T05:30:34.216Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T05:30:34.216Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T05:30:34.216Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T05:30:34.216Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T05:30:34.216Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T05:30:34.216Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T05:30:34.216Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T05:30:34.216Z] OK: 8 MiB in 20 packages [2022-05-11T05:30:34.216Z] Removing intermediate container 25e613a8dd5e [2022-05-11T05:30:34.216Z] ---> 1cb0c608338f [2022-05-11T05:30:34.216Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-11T05:30:34.216Z] ---> 461cf4911130 [2022-05-11T05:30:34.216Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-11T05:30:34.216Z] ---> 99e154495ba6 [2022-05-11T05:30:34.216Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-11T05:30:34.216Z] ---> c889c72cc487 [2022-05-11T05:30:34.216Z] Step 20/25 : EXPOSE 59986 [2022-05-11T05:30:34.216Z] ---> Running in e76cfbf80168 [2022-05-11T05:30:34.216Z] Removing intermediate container e76cfbf80168 [2022-05-11T05:30:34.216Z] ---> 07db1972726f [2022-05-11T05:30:34.216Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-11T05:30:34.216Z] ---> Running in bce14a52c28a [2022-05-11T05:30:34.216Z] Removing intermediate container bce14a52c28a [2022-05-11T05:30:34.216Z] ---> effa111637ea [2022-05-11T05:30:34.216Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-11T05:30:34.216Z] ---> Running in a44f2968304a [2022-05-11T05:30:34.216Z] Removing intermediate container a44f2968304a [2022-05-11T05:30:34.216Z] ---> e66246b47930 [2022-05-11T05:30:34.216Z] Step 23/25 : LABEL arch=arm64 [2022-05-11T05:30:34.216Z] ---> Running in b236690c2e7a [2022-05-11T05:30:34.216Z] Removing intermediate container b236690c2e7a [2022-05-11T05:30:34.216Z] ---> 225755d76590 [2022-05-11T05:30:34.216Z] Step 24/25 : LABEL git_sha=256139c3d5d62b3a4c0b25e8999062d09719724b [2022-05-11T05:30:34.216Z] ---> Running in 3b77d37ce74a [2022-05-11T05:30:34.216Z] Removing intermediate container 3b77d37ce74a [2022-05-11T05:30:34.216Z] ---> 7be34cea7d82 [2022-05-11T05:30:34.216Z] Step 25/25 : LABEL version=0.0.0 [2022-05-11T05:30:34.216Z] ---> Running in e69ea8fdc94b [2022-05-11T05:30:34.216Z] Removing intermediate container e69ea8fdc94b [2022-05-11T05:30:34.216Z] ---> 1067ae7f98e0 [2022-05-11T05:30:34.216Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T05:30:34.216Z] Successfully built 1067ae7f98e0 [2022-05-11T05:30:34.216Z] 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 [2022-05-11T05:30:34.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T05:30:34.878Z] [2022-05-11T05:30:34.878Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:30:35.256Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T05:30:35.531Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T05:30:35.531Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T05:30:35.531Z] 04944245beec: Pulling fs layer [2022-05-11T05:30:35.531Z] 699f458cf7ca: Pulling fs layer [2022-05-11T05:30:35.531Z] 765212b225bb: Pulling fs layer [2022-05-11T05:30:35.531Z] f23df028b6ca: Pulling fs layer [2022-05-11T05:30:35.531Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T05:30:35.531Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T05:30:35.531Z] f23df028b6ca: Waiting [2022-05-11T05:30:35.531Z] d65c8cfc05b1: Waiting [2022-05-11T05:30:35.531Z] 2437ff75d9bd: Waiting [2022-05-11T05:30:35.531Z] 765212b225bb: Waiting [2022-05-11T05:30:35.531Z] 04944245beec: Verifying Checksum [2022-05-11T05:30:35.531Z] 04944245beec: Download complete [2022-05-11T05:30:35.531Z] 765212b225bb: Verifying Checksum [2022-05-11T05:30:35.531Z] 765212b225bb: Download complete [2022-05-11T05:30:35.531Z] f23df028b6ca: Verifying Checksum [2022-05-11T05:30:35.531Z] f23df028b6ca: Download complete [2022-05-11T05:30:35.531Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T05:30:35.531Z] d65c8cfc05b1: Download complete [2022-05-11T05:30:35.804Z] 699f458cf7ca: Verifying Checksum [2022-05-11T05:30:35.804Z] 699f458cf7ca: Download complete [2022-05-11T05:30:36.076Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T05:30:36.076Z] 8998bd30e6a1: Download complete [2022-05-11T05:30:38.058Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T05:30:38.058Z] 2437ff75d9bd: Download complete [2022-05-11T05:30:40.035Z] 8998bd30e6a1: Pull complete [2022-05-11T05:30:40.629Z] 04944245beec: Pull complete [2022-05-11T05:30:42.066Z] 699f458cf7ca: Pull complete [2022-05-11T05:30:42.066Z] 765212b225bb: Pull complete [2022-05-11T05:30:43.041Z] f23df028b6ca: Pull complete [2022-05-11T05:30:43.041Z] d65c8cfc05b1: Pull complete [2022-05-11T05:30:58.112Z] 2437ff75d9bd: Pull complete [2022-05-11T05:30:58.112Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T05:30:58.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T05:30:58.112Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T05:30:58.372Z] prd-ubuntu20.04-docker-arm64-4c-16g-63046 does not seem to be running inside a container [2022-05-11T05:30:58.460Z] $ 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 [2022-05-11T05:31:01.043Z] $ docker top 5af139bb27a6ebb1bd485a081ee01535a69ca441a80910bb5a8aa29496d3c52a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:02.045Z] ---> job-cost.sh [2022-05-11T05:31:02.045Z] lf-activate-venv: SKIPPING [2022-05-11T05:31:02.045Z] INFO: No Stack... [2022-05-11T05:31:02.317Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T05:31:03.294Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T05:31:03.985Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-05-11T05:31:03.985Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T05:31:04.070Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-189-1-stack-cost] [2022-05-11T05:31:04.075Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-189-1-stack-cost] did not exist. Created. [2022-05-11T05:31:04.075Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-189-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T05:31:04.870Z] /w/workspace/device-rest-go/1@tmp/durable-0ba77c45/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T05:31:05.620Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T05:31:05.659Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T05:31:05.729Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T05:31:05.744Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-189-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T05:31:05.824Z] $ docker stop --time=1 5af139bb27a6ebb1bd485a081ee01535a69ca441a80910bb5a8aa29496d3c52a [2022-05-11T05:31:07.338Z] $ docker rm -f 5af139bb27a6ebb1bd485a081ee01535a69ca441a80910bb5a8aa29496d3c52a [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 [2022-05-11T05:31:08.362Z] provisioning config files... [2022-05-11T05:31:08.375Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-189@tmp/config7161542339696839775tmp [Pipeline] { [Pipeline] sh [2022-05-11T05:31:08.704Z] + set +x [2022-05-11T05:31:08.704Z] + curl -s https://codecov.io/bash [2022-05-11T05:31:08.704Z] + bash -s -- [2022-05-11T05:31:08.704Z] [2022-05-11T05:31:08.704Z] _____ _ [2022-05-11T05:31:08.704Z] / ____| | | [2022-05-11T05:31:08.704Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T05:31:08.704Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T05:31:08.704Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T05:31:08.704Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T05:31:08.704Z] Bash-1.0.6 [2022-05-11T05:31:08.704Z] [2022-05-11T05:31:08.704Z] [2022-05-11T05:31:08.704Z] ==> git version 2.25.1 found [2022-05-11T05:31:08.704Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-11T05:31:08.704Z] Release-Date: 2020-01-08 [2022-05-11T05:31:08.704Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-11T05:31:08.704Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T05:31:08.704Z] ==> Jenkins CI detected. [2022-05-11T05:31:08.704Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-189 [2022-05-11T05:31:08.704Z] project root: . [2022-05-11T05:31:08.704Z] --> token set from env [2022-05-11T05:31:08.704Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T05:31:08.704Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T05:31:08.704Z] ==> Python coveragepy not found [2022-05-11T05:31:08.704Z] ==> Searching for coverage reports in: [2022-05-11T05:31:08.704Z] + . [2022-05-11T05:31:08.704Z] -> Found 1 reports [2022-05-11T05:31:08.704Z] ==> Detecting git/mercurial file structure [2022-05-11T05:31:08.704Z] ==> Reading reports [2022-05-11T05:31:08.704Z] + ./coverage.out bytes=9355 [2022-05-11T05:31:08.704Z] ==> Appending adjustments [2022-05-11T05:31:08.704Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T05:31:08.967Z] + Found adjustments [2022-05-11T05:31:08.967Z] ==> Gzipping contents [2022-05-11T05:31:08.967Z] 4.0K /tmp/codecov.yCp824.gz [2022-05-11T05:31:08.967Z] ==> Uploading reports [2022-05-11T05:31:08.967Z] url: https://codecov.io [2022-05-11T05:31:08.967Z] query: branch=PR-189&commit=256139c3d5d62b3a4c0b25e8999062d09719724b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-189%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=189&job=&cmd_args= [2022-05-11T05:31:08.967Z] -> Pinging Codecov [2022-05-11T05:31:08.967Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-189&commit=256139c3d5d62b3a4c0b25e8999062d09719724b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-189%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=189&job=&cmd_args= [2022-05-11T05:31:09.230Z] -> Uploading to [2022-05-11T05:31:09.230Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/4E5D53B4F1F92C436F7061BF334D961C/256139c3d5d62b3a4c0b25e8999062d09719724b/ad0b3db4-13f4-4bc9-ac0e-27f144838c13.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T053109Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ae8f8a45b95ded6af3c8b88efc04508b7a4d2df3569590b8bf9f53aebcd36a4 [2022-05-11T05:31:09.230Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T05:31:09.230Z] Dload Upload Total Spent Left Speed [2022-05-11T05:31:09.491Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7462 --:--:-- --:--:-- --:--:-- 7462 [2022-05-11T05:31:09.491Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/256139c3d5d62b3a4c0b25e8999062d09719724b [Pipeline] } [2022-05-11T05:31:09.518Z] 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 [2022-05-11T05:31:11.137Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-189/archives ] [2022-05-11T05:31:11.137Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-189/archives [2022-05-11T05:31:11.137Z] total 16 [2022-05-11T05:31:11.137Z] drwxr-xr-x 3 root root 4096 May 11 05:22 . [2022-05-11T05:31:11.137Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:22 .. [2022-05-11T05:31:11.137Z] drwxr-xr-x 2 root root 4096 May 11 05:22 cost [2022-05-11T05:31:11.137Z] -rw-r--r-- 1 root root 85 May 11 05:22 cost.csv [2022-05-11T05:31:11.137Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-189/archives [2022-05-11T05:31:11.137Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-189/archives [2022-05-11T05:31:11.137Z] total 16 [2022-05-11T05:31:11.137Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 05:22 . [2022-05-11T05:31:11.137Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 05:22 .. [2022-05-11T05:31:11.137Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 05:22 cost [2022-05-11T05:31:11.137Z] -rw-r--r-- 1 jenkins jenkins 85 May 11 05:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:11.473Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:12.369Z] ---> package-listing.sh [2022-05-11T05:31:12.369Z] ++ facter osfamily [2022-05-11T05:31:12.369Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T05:31:12.630Z] + OS_FAMILY=debian [2022-05-11T05:31:12.630Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-189 [2022-05-11T05:31:12.630Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T05:31:12.630Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T05:31:12.630Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T05:31:12.630Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T05:31:12.630Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-189 ']' [2022-05-11T05:31:12.630Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T05:31:12.630Z] + case "${OS_FAMILY}" in [2022-05-11T05:31:12.630Z] + dpkg -l [2022-05-11T05:31:12.630Z] + grep '^ii' [2022-05-11T05:31:12.630Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T05:31:12.630Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T05:31:12.630Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T05:31:12.630Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-189 ']' [2022-05-11T05:31:12.630Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-189/archives/ [2022-05-11T05:31:12.630Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-189/archives/ [Pipeline] echo [2022-05-11T05:31:12.664Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-189/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-11T05:31:12.960Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T05:31:13.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T05:31:13.549Z] . [Pipeline] withDockerContainer [2022-05-11T05:31:13.642Z] prd-ubuntu20.04-docker-8c-8g-63044 does not seem to be running inside a container [2022-05-11T05:31:13.679Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-189/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-189 -v /w/workspace/gexfoundry_device-rest-go_PR-189:/w/workspace/gexfoundry_device-rest-go_PR-189:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-189@tmp:/w/workspace/gexfoundry_device-rest-go_PR-189@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T05:31:13.912Z] $ docker top eab94db3248c454d16286c61d7af1cd5773f23e655204ab4b375c0577a5ebd4a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T05:31:14.313Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T05:31:14.626Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T05:31:14.939Z] + ls /var/log/sa-host [2022-05-11T05:31:14.939Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T05:31:15.097Z] provisioning config files... [2022-05-11T05:31:15.107Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-189@tmp/config6420658846573601478tmp [Pipeline] { [Pipeline] echo [2022-05-11T05:31:15.164Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:15.487Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T05:31:15.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:15.920Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T05:31:15.953Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:16.280Z] ---> sudo-logs.sh [2022-05-11T05:31:16.280Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T05:31:16.361Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:16.675Z] ---> job-cost.sh [2022-05-11T05:31:16.675Z] lf-activate-venv: SKIPPING [2022-05-11T05:31:16.675Z] DEBUG: total: 0.2199999988079071 [2022-05-11T05:31:16.675Z] INFO: Retrieving Stack Cost... [2022-05-11T05:31:17.248Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T05:31:17.510Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T05:31:17.549Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T05:31:17.869Z] ---> logs-deploy.sh [2022-05-11T05:31:17.870Z] lf-activate-venv: SKIPPING [2022-05-11T05:31:17.870Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-189/1 [2022-05-11T05:31:17.870Z] INFO: archiving workspace using pattern(s): [2022-05-11T05:31:18.812Z] Archives upload complete. [2022-05-11T05:31:18.812Z] INFO: archiving logs to Nexus