Pull request #184 updated 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 MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at f0689e2451660e374e54247122f91e779ddae9a5 rather than cd70cda7d0fa808bba6f169f61eb100b0db77b22 Obtained Jenkinsfile from f0689e2451660e374e54247122f91e779ddae9a5 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-ssh17872540636533523958.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh15853659694707246183.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-184/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-184/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15114906791934707342.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 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-ssh14100722377495785743.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-184/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-184/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11194492855028789698.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-40492’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40494 in /w/workspace/gexfoundry_device-rest-go_PR-184 [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-184 # 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 > 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit cd70cda7d0fa808bba6f169f61eb100b0db77b22 Merge succeeded, producing cd70cda7d0fa808bba6f169f61eb100b0db77b22 Checking out Revision cd70cda7d0fa808bba6f169f61eb100b0db77b22 (PR-184) > git config core.sparsecheckout # timeout=10 > git checkout -f cd70cda7d0fa808bba6f169f61eb100b0db77b22 # 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 f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cd70cda7d0fa808bba6f169f61eb100b0db77b22 # timeout=10 Commit message: "docs: cleanup references " First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-05T12:42:30.270Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-05T12:42:30.331Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-05T12:42:30.347Z] ========================================================= [2022-05-05T12:42:30.347Z] EdgeX Global Pipelines Version Info [2022-05-05T12:42:30.347Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 24f2d44d41511aea7b66a902317587beb4819f28 # timeout=10 [2022-05-05T12:42:31.125Z] ------------------- [2022-05-05T12:42:31.125Z] stable info: [2022-05-05T12:42:31.125Z] ------------------- [2022-05-05T12:42:31.125Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-05T12:42:31.125Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-05T12:42:31.125Z] Message: update stable to v1.0.227 [2022-05-05T12:42:31.700Z] ------------------- [2022-05-05T12:42:31.700Z] experimental info: [2022-05-05T12:42:31.700Z] ------------------- [2022-05-05T12:42:31.700Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-05T12:42:31.700Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-05T12:42:31.700Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-05T12:42:31.870Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-05T12:42:31.885Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-05T12:42:31.901Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-05T12:42:31.916Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-05T12:42:31.927Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-05T12:42:31.941Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-05T12:42:31.954Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-05T12:42:31.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-05T12:42:31.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-05T12:42:31.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-05T12:42:32.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-05T12:42:32.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-05T12:42:32.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-05T12:42:32.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-05T12:42:32.138Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-05T12:42:32.155Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-05T12:42:32.172Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-05T12:42:32.183Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-05T12:42:32.198Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-05T12:42:32.210Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-05T12:42:32.225Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-05T12:42:32.236Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-05T12:42:32.249Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-05T12:42:32.262Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-05T12:42:32.274Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-05T12:42:32.289Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-05T12:42:32.300Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-05-05T12:42:32.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-05-05T12:42:32.325Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-05-05T12:42:32.337Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cd70cda7d0fa808bba6f169f61eb100b0db77b22 [Pipeline] echo [2022-05-05T12:42:32.352Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cd70cda [Pipeline] echo [2022-05-05T12:42:32.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-05T12:42:32.408Z] provisioning config files... [2022-05-05T12:42:32.430Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config7751578188799914861tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:42:32.744Z] ---> docker-login.sh [2022-05-05T12:42:32.745Z] nexus3.edgexfoundry.org:10001 [2022-05-05T12:42:33.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:33.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:33.269Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:33.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:33.269Z] [2022-05-05T12:42:33.269Z] Login Succeeded [2022-05-05T12:42:33.269Z] nexus3.edgexfoundry.org:10002 [2022-05-05T12:42:33.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:33.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:33.532Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:33.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:33.532Z] [2022-05-05T12:42:33.532Z] Login Succeeded [2022-05-05T12:42:33.532Z] nexus3.edgexfoundry.org:10003 [2022-05-05T12:42:33.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:33.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:33.532Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:33.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:33.532Z] [2022-05-05T12:42:33.532Z] Login Succeeded [2022-05-05T12:42:33.532Z] nexus3.edgexfoundry.org:10004 [2022-05-05T12:42:33.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:33.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:33.795Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:33.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:33.795Z] [2022-05-05T12:42:33.795Z] Login Succeeded [2022-05-05T12:42:33.795Z] docker.io [2022-05-05T12:42:33.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:34.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:34.369Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:34.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:34.369Z] [2022-05-05T12:42:34.369Z] Login Succeeded [2022-05-05T12:42:34.369Z] ---> docker-login.sh ends [Pipeline] } [2022-05-05T12:42:34.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-05T12:42:34.803Z] + git rev-list -1 --merges cd70cda7d0fa808bba6f169f61eb100b0db77b22~1..cd70cda7d0fa808bba6f169f61eb100b0db77b22 [Pipeline] echo [2022-05-05T12:42:34.844Z] -----------> git rev-list -1 --merges cd70cda7d0fa808bba6f169f61eb100b0db77b22~1..cd70cda7d0fa808bba6f169f61eb100b0db77b22 cd70cda7d0fa808bba6f169f61eb100b0db77b22 [false] [Pipeline] sh [2022-05-05T12:42:35.140Z] + git log --format=format:%s -1 cd70cda7d0fa808bba6f169f61eb100b0db77b22 [Pipeline] echo [2022-05-05T12:42:35.160Z] ========================================================= [2022-05-05T12:42:35.160Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-05T12:42:35.160Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-05T12:42:35.504Z] + git log --format=format:%s -1 cd70cda7d0fa808bba6f169f61eb100b0db77b22 [Pipeline] echo [2022-05-05T12:42:35.521Z] [semverPrep] GIT_COMMIT: cd70cda7d0fa808bba6f169f61eb100b0db77b22, Commit Message: docs: cleanup references [Pipeline] echo [2022-05-05T12:42:35.533Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-05T12:42:36.018Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-05T12:42:36.018Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-05T12:42:36.018Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-05T12:42:36.018Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-05T12:42:36.018Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-05T12:42:36.018Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-05T12:42:36.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:42:36.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-05T12:42:36.449Z] [2022-05-05T12:42:36.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:42:36.762Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-05T12:42:37.024Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-05T12:42:37.024Z] 1fe172e4850f: Pulling fs layer [2022-05-05T12:42:37.024Z] caf521ccaac6: Pulling fs layer [2022-05-05T12:42:37.024Z] 3ead6fa29328: Pulling fs layer [2022-05-05T12:42:37.024Z] 5c2a1cbceb83: Pulling fs layer [2022-05-05T12:42:37.024Z] a8d5f1318db7: Pulling fs layer [2022-05-05T12:42:37.024Z] c427282e49a2: Pulling fs layer [2022-05-05T12:42:37.024Z] 1827001aaf11: Pulling fs layer [2022-05-05T12:42:37.024Z] 0714d37db230: Pulling fs layer [2022-05-05T12:42:37.024Z] ac28cf19c067: Pulling fs layer [2022-05-05T12:42:37.024Z] a8d5f1318db7: Waiting [2022-05-05T12:42:37.024Z] ca983d60f3e2: Pulling fs layer [2022-05-05T12:42:37.024Z] c427282e49a2: Waiting [2022-05-05T12:42:37.024Z] 9f894cec8388: Pulling fs layer [2022-05-05T12:42:37.024Z] 1827001aaf11: Waiting [2022-05-05T12:42:37.024Z] 0714d37db230: Waiting [2022-05-05T12:42:37.024Z] ac28cf19c067: Waiting [2022-05-05T12:42:37.024Z] 9f894cec8388: Waiting [2022-05-05T12:42:37.024Z] ca983d60f3e2: Waiting [2022-05-05T12:42:37.024Z] 5c2a1cbceb83: Waiting [2022-05-05T12:42:37.024Z] caf521ccaac6: Verifying Checksum [2022-05-05T12:42:37.024Z] 5c2a1cbceb83: Verifying Checksum [2022-05-05T12:42:37.024Z] 5c2a1cbceb83: Download complete [2022-05-05T12:42:37.290Z] a8d5f1318db7: Verifying Checksum [2022-05-05T12:42:37.290Z] a8d5f1318db7: Download complete [2022-05-05T12:42:37.290Z] 3ead6fa29328: Verifying Checksum [2022-05-05T12:42:37.290Z] 3ead6fa29328: Download complete [2022-05-05T12:42:37.290Z] c427282e49a2: Download complete [2022-05-05T12:42:37.290Z] ac28cf19c067: Verifying Checksum [2022-05-05T12:42:37.290Z] ac28cf19c067: Download complete [2022-05-05T12:42:37.290Z] ca983d60f3e2: Verifying Checksum [2022-05-05T12:42:37.290Z] ca983d60f3e2: Download complete [2022-05-05T12:42:37.290Z] 9f894cec8388: Verifying Checksum [2022-05-05T12:42:37.290Z] 9f894cec8388: Download complete [2022-05-05T12:42:37.290Z] 1fe172e4850f: Download complete [2022-05-05T12:42:37.550Z] 1827001aaf11: Verifying Checksum [2022-05-05T12:42:37.550Z] 1827001aaf11: Download complete [2022-05-05T12:42:38.936Z] 1fe172e4850f: Pull complete [2022-05-05T12:42:38.936Z] caf521ccaac6: Pull complete [2022-05-05T12:42:39.506Z] 3ead6fa29328: Pull complete [2022-05-05T12:42:39.766Z] 5c2a1cbceb83: Pull complete [2022-05-05T12:42:40.028Z] a8d5f1318db7: Pull complete [2022-05-05T12:42:40.289Z] c427282e49a2: Pull complete [2022-05-05T12:42:42.206Z] 1827001aaf11: Pull complete [2022-05-05T12:42:42.206Z] 0714d37db230: Pull complete [2022-05-05T12:42:42.206Z] ac28cf19c067: Pull complete [2022-05-05T12:42:42.469Z] ca983d60f3e2: Pull complete [2022-05-05T12:42:42.469Z] 9f894cec8388: Pull complete [2022-05-05T12:42:42.469Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-05T12:42:42.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-05T12:42:42.732Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-05T12:42:42.812Z] prd-ubuntu20.04-docker-8c-8g-40494 does not seem to be running inside a container [2022-05-05T12:42:42.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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-devops/py-git-semver:latest cat [2022-05-05T12:42:45.406Z] $ docker top cf911587b0d7b035b60dabf923119aa1cdd3fb54e1cad014e81d1d69c9a4daf3 -eo pid,comm [2022-05-05T12:42:45.482Z] 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-05T12:42:45.482Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-05T12:42:45.525Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-05T12:42:45.525Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-05T12:42:45.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-05T12:42:45.662Z] $ docker exec cf911587b0d7b035b60dabf923119aa1cdd3fb54e1cad014e81d1d69c9a4daf3 ssh-agent [2022-05-05T12:42:45.791Z] SSH_AUTH_SOCK=/tmp/ssh-KyuaXwAAUZIA/agent.32 [2022-05-05T12:42:45.791Z] SSH_AGENT_PID=39 [2022-05-05T12:42:45.801Z] Running ssh-add (command line suppressed) [2022-05-05T12:42:45.964Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_8431219493551054683.key (/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_8431219493551054683.key) [2022-05-05T12:42:45.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-05T12:42:46.272Z] + git tag --points-at HEAD [Pipeline] } [2022-05-05T12:42:46.293Z] $ docker exec --env ******** --env ******** cf911587b0d7b035b60dabf923119aa1cdd3fb54e1cad014e81d1d69c9a4daf3 ssh-agent -k [2022-05-05T12:42:46.409Z] unset SSH_AUTH_SOCK; [2022-05-05T12:42:46.410Z] unset SSH_AGENT_PID; [2022-05-05T12:42:46.410Z] echo Agent pid 39 killed; [2022-05-05T12:42:46.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-05T12:42:46.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-05T12:42:46.445Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-05T12:42:46.566Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-05T12:42:46.575Z] $ docker exec cf911587b0d7b035b60dabf923119aa1cdd3fb54e1cad014e81d1d69c9a4daf3 ssh-agent [2022-05-05T12:42:46.700Z] SSH_AUTH_SOCK=/tmp/ssh-uNMITpp6LW4I/agent.73 [2022-05-05T12:42:46.700Z] SSH_AGENT_PID=79 [2022-05-05T12:42:46.705Z] Running ssh-add (command line suppressed) [2022-05-05T12:42:46.830Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_5281993530273456409.key (/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_5281993530273456409.key) [2022-05-05T12:42:46.843Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-05T12:42:47.140Z] + git semver init [2022-05-05T12:42:47.402Z] 2022-05-05 12:42:47,373 [run_init] DEBUG init version:0.0.0 force:False [2022-05-05T12:42:47.402Z] 2022-05-05 12:42:47,374 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver [2022-05-05T12:42:47.402Z] 2022-05-05 12:42:47,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-184/.semver [2022-05-05T12:42:47.402Z] 2022-05-05 12:42:47,375 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-184/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184, universal_newlines=False, shell=None, istream=None) [2022-05-05T12:42:48.797Z] 2022-05-05 12:42:48,417 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-184/.git/info/exclude [2022-05-05T12:42:48.797Z] 2022-05-05 12:42:48,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 with force:False [2022-05-05T12:42:48.797Z] 2022-05-05 12:42:48,418 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 [2022-05-05T12:42:48.797Z] 2022-05-05 12:42:48,422 [execute] INFO git cat-file --batch-check [2022-05-05T12:42:48.797Z] 2022-05-05 12:42:48,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-05-05T12:42:48.797Z] 2022-05-05 12:42:48,429 [execute] INFO git cat-file --batch [2022-05-05T12:42:48.797Z] 2022-05-05 12:42:48,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) [2022-05-05T12:42:48.797Z] 2022-05-05 12:42:48,434 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 [2022-05-05T12:42:48.797Z] 0.0.0 [Pipeline] } [2022-05-05T12:42:48.816Z] $ docker exec --env ******** --env ******** cf911587b0d7b035b60dabf923119aa1cdd3fb54e1cad014e81d1d69c9a4daf3 ssh-agent -k [2022-05-05T12:42:48.935Z] unset SSH_AUTH_SOCK; [2022-05-05T12:42:48.935Z] unset SSH_AGENT_PID; [2022-05-05T12:42:48.935Z] echo Agent pid 79 killed; [2022-05-05T12:42:48.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-05T12:42:49.263Z] + git semver [Pipeline] } [2022-05-05T12:42:49.548Z] $ docker stop --time=1 cf911587b0d7b035b60dabf923119aa1cdd3fb54e1cad014e81d1d69c9a4daf3 [2022-05-05T12:42:51.047Z] $ docker rm -f cf911587b0d7b035b60dabf923119aa1cdd3fb54e1cad014e81d1d69c9a4daf3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-05T12:42:51.389Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-05T12:42:51.672Z] Stashed 1 file(s) [Pipeline] echo [2022-05-05T12:42:51.676Z] [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-05T12:42:51.785Z] provisioning config files... [2022-05-05T12:42:51.796Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config2682034445968317199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:42:52.098Z] ---> docker-login.sh [2022-05-05T12:42:52.098Z] nexus3.edgexfoundry.org:10001 [2022-05-05T12:42:52.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:52.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:52.098Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:52.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:52.098Z] [2022-05-05T12:42:52.098Z] Login Succeeded [2022-05-05T12:42:52.098Z] nexus3.edgexfoundry.org:10002 [2022-05-05T12:42:52.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:52.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:52.359Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:52.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:52.359Z] [2022-05-05T12:42:52.359Z] Login Succeeded [2022-05-05T12:42:52.359Z] nexus3.edgexfoundry.org:10003 [2022-05-05T12:42:52.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:52.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:52.359Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:52.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:52.359Z] [2022-05-05T12:42:52.359Z] Login Succeeded [2022-05-05T12:42:52.359Z] nexus3.edgexfoundry.org:10004 [2022-05-05T12:42:52.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:52.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:52.621Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:52.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:52.621Z] [2022-05-05T12:42:52.621Z] Login Succeeded [2022-05-05T12:42:52.621Z] docker.io [2022-05-05T12:42:52.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:42:52.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:42:52.882Z] Configure a credential helper to remove this warning. See [2022-05-05T12:42:52.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:42:52.882Z] [2022-05-05T12:42:52.882Z] Login Succeeded [2022-05-05T12:42:52.882Z] ---> docker-login.sh ends [Pipeline] } [2022-05-05T12:42:52.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-05T12:42:52.959Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-05T12:42:52.971Z] ========================================================= [2022-05-05T12:42:52.971Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-05T12:42:52.971Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:42:53.281Z] + 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-05T12:42:53.282Z] Sending build context to Docker daemon 10.61MB [2022-05-05T12:42:53.282Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-05T12:42:53.282Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-05T12:42:53.553Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-05T12:42:53.553Z] 59bf1c3509f3: Pulling fs layer [2022-05-05T12:42:53.553Z] 666ba61612fd: Pulling fs layer [2022-05-05T12:42:53.553Z] 8ed8ca486205: Pulling fs layer [2022-05-05T12:42:53.553Z] 4fe6c5a15a65: Pulling fs layer [2022-05-05T12:42:53.553Z] 22a0e8bec74d: Pulling fs layer [2022-05-05T12:42:53.553Z] ca2b28591e48: Pulling fs layer [2022-05-05T12:42:53.553Z] a51346096db8: Pulling fs layer [2022-05-05T12:42:53.553Z] daebc70d1ce1: Pulling fs layer [2022-05-05T12:42:53.553Z] 0e18a0eac166: Pulling fs layer [2022-05-05T12:42:53.553Z] ca2b28591e48: Waiting [2022-05-05T12:42:53.553Z] a51346096db8: Waiting [2022-05-05T12:42:53.553Z] daebc70d1ce1: Waiting [2022-05-05T12:42:53.553Z] 0e18a0eac166: Waiting [2022-05-05T12:42:53.553Z] 4fe6c5a15a65: Waiting [2022-05-05T12:42:53.553Z] 22a0e8bec74d: Waiting [2022-05-05T12:42:53.553Z] 8ed8ca486205: Download complete [2022-05-05T12:42:53.553Z] 666ba61612fd: Download complete [2022-05-05T12:42:53.553Z] 22a0e8bec74d: Verifying Checksum [2022-05-05T12:42:53.553Z] 22a0e8bec74d: Download complete [2022-05-05T12:42:53.553Z] ca2b28591e48: Verifying Checksum [2022-05-05T12:42:53.553Z] ca2b28591e48: Download complete [2022-05-05T12:42:53.553Z] 59bf1c3509f3: Download complete [2022-05-05T12:42:53.553Z] a51346096db8: Verifying Checksum [2022-05-05T12:42:53.553Z] a51346096db8: Download complete [2022-05-05T12:42:53.553Z] 59bf1c3509f3: Pull complete [2022-05-05T12:42:53.828Z] 666ba61612fd: Pull complete [2022-05-05T12:42:53.828Z] daebc70d1ce1: Verifying Checksum [2022-05-05T12:42:53.828Z] daebc70d1ce1: Download complete [2022-05-05T12:42:53.828Z] 8ed8ca486205: Pull complete [2022-05-05T12:42:54.408Z] 0e18a0eac166: Verifying Checksum [2022-05-05T12:42:54.408Z] 0e18a0eac166: Download complete [2022-05-05T12:42:54.668Z] 4fe6c5a15a65: Verifying Checksum [2022-05-05T12:42:54.668Z] 4fe6c5a15a65: Download complete [2022-05-05T12:42:58.870Z] 4fe6c5a15a65: Pull complete [2022-05-05T12:42:58.870Z] 22a0e8bec74d: Pull complete [2022-05-05T12:42:58.870Z] ca2b28591e48: Pull complete [2022-05-05T12:42:58.870Z] a51346096db8: Pull complete [2022-05-05T12:42:58.870Z] daebc70d1ce1: Pull complete [2022-05-05T12:43:01.408Z] 0e18a0eac166: Pull complete [2022-05-05T12:43:01.408Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-05T12:43:01.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-05T12:43:01.408Z] ---> f018257e8ee9 [2022-05-05T12:43:01.408Z] Step 3/12 : ARG MAKE='make build' [2022-05-05T12:43:03.985Z] ---> Running in 9b0578265d6a [2022-05-05T12:43:04.259Z] Removing intermediate container 9b0578265d6a [2022-05-05T12:43:04.259Z] ---> 2399e9bfb4b3 [2022-05-05T12:43:04.259Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-05T12:43:04.259Z] ---> Running in de447c3bf881 [2022-05-05T12:43:04.521Z] Removing intermediate container de447c3bf881 [2022-05-05T12:43:04.521Z] ---> d7d2f027d69d [2022-05-05T12:43:04.521Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-05T12:43:04.521Z] ---> Running in c1663d5e64b1 [2022-05-05T12:43:04.781Z] Removing intermediate container c1663d5e64b1 [2022-05-05T12:43:04.781Z] ---> 405ae4c2488b [2022-05-05T12:43:04.781Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-05T12:43:04.781Z] ---> Running in 5596328494be [2022-05-05T12:43:05.354Z] Removing intermediate container 5596328494be [2022-05-05T12:43:05.354Z] ---> 9d935eeb0bb9 [2022-05-05T12:43:05.354Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-05T12:43:05.614Z] ---> Running in 398023bb8ce3 [2022-05-05T12:43:05.875Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-05T12:43:06.753Z] Still waiting to schedule task [2022-05-05T12:43:06.753Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-05T12:43:06.818Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-05T12:43:07.079Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-05T12:43:07.079Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-05T12:43:07.079Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-05T12:43:07.340Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-05T12:43:07.340Z] Executing busybox-1.34.1-r3.trigger [2022-05-05T12:43:07.340Z] OK: 224 MiB in 56 packages [2022-05-05T12:43:07.917Z] Removing intermediate container 398023bb8ce3 [2022-05-05T12:43:07.917Z] ---> 1bf2c94b1fba [2022-05-05T12:43:07.917Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-05T12:43:07.917Z] ---> Running in e4abd6e62909 [2022-05-05T12:43:08.185Z] Removing intermediate container e4abd6e62909 [2022-05-05T12:43:08.185Z] ---> 790bc33a2a68 [2022-05-05T12:43:08.185Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-05T12:43:08.445Z] ---> e1f258a2764c [2022-05-05T12:43:08.445Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-05T12:43:08.445Z] ---> Running in 09fc84c6b8a2 [2022-05-05T12:43:26.581Z] Removing intermediate container 09fc84c6b8a2 [2022-05-05T12:43:26.581Z] ---> 486296c3cdb7 [2022-05-05T12:43:26.581Z] Step 11/12 : COPY . . [2022-05-05T12:43:26.842Z] ---> 19c9d3201251 [2022-05-05T12:43:26.842Z] Step 12/12 : RUN $MAKE [2022-05-05T12:43:26.842Z] ---> Running in f4acb0a1931f [2022-05-05T12:43:27.102Z] noop [2022-05-05T12:43:27.364Z] Removing intermediate container f4acb0a1931f [2022-05-05T12:43:27.364Z] ---> 278c9b4229ac [2022-05-05T12:43:27.364Z] Successfully built 278c9b4229ac [2022-05-05T12:43:27.364Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:43:27.660Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-05T12:43:27.660Z] . [Pipeline] withDockerContainer [2022-05-05T12:43:27.729Z] prd-ubuntu20.04-docker-8c-8g-40494 does not seem to be running inside a container [2022-05-05T12:43:27.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-05T12:43:28.221Z] $ docker top b7da6c292ca8d815cddfb7036397009b0fff0c7301c564b5e44079808559c014 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-05T12:43:28.586Z] + go version [2022-05-05T12:43:28.586Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-05T12:43:28.603Z] $ docker stop --time=1 b7da6c292ca8d815cddfb7036397009b0fff0c7301c564b5e44079808559c014 [2022-05-05T12:43:29.874Z] $ docker rm -f b7da6c292ca8d815cddfb7036397009b0fff0c7301c564b5e44079808559c014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:43:30.276Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-05T12:43:30.276Z] . [Pipeline] withDockerContainer [2022-05-05T12:43:30.344Z] prd-ubuntu20.04-docker-8c-8g-40494 does not seem to be running inside a container [2022-05-05T12:43:30.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-05T12:43:30.791Z] $ docker top d0ca2a46af1e155207824b1524a1d36f1b12646daea9bf2a902eab9a2ddfa87d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-05T12:43:31.161Z] + make test [2022-05-05T12:43:31.161Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-05T12:43:31.419Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-05T12:43:41.528Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-05T12:43:41.528Z] ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 55.2% of statements [2022-05-05T12:43:46.811Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-05T12:43:50.104Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-05T12:43:50.104Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-05T12:43:50.104Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-05T12:43:50.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-05T12:43:50.395Z] $ docker stop --time=1 d0ca2a46af1e155207824b1524a1d36f1b12646daea9bf2a902eab9a2ddfa87d [2022-05-05T12:43:52.320Z] $ docker rm -f d0ca2a46af1e155207824b1524a1d36f1b12646daea9bf2a902eab9a2ddfa87d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-05T12:43:52.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-05T12:43:52.803Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-05T12:43:53.516Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-05T12:43:53.806Z] + ls -al . [2022-05-05T12:43:53.806Z] total 168 [2022-05-05T12:43:53.806Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 12:43 . [2022-05-05T12:43:53.806Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 12:42 .. [2022-05-05T12:43:53.806Z] -rw-rw-r-- 1 jenkins jenkins 151 May 5 12:42 .dockerignore [2022-05-05T12:43:53.806Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:42 .git [2022-05-05T12:43:53.806Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:42 .github [2022-05-05T12:43:53.806Z] -rw-rw-r-- 1 jenkins jenkins 329 May 5 12:42 .gitignore [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 12:42 .golangci.yml [2022-05-05T12:43:53.807Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 12:42 .semver [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 5 12:42 Attribution.txt [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 5 12:42 CHANGELOG.md [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 5 12:42 Dockerfile [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 12:42 GOVERNANCE.md [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 12:42 Jenkinsfile [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 12:42 LICENSE [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 5 12:42 Makefile [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 12:42 OWNERS.md [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 5 12:42 README.md [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 12:42 VERSION [2022-05-05T12:43:53.807Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:42 bin [2022-05-05T12:43:53.807Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:42 cmd [2022-05-05T12:43:53.807Z] -rw-r--r-- 1 jenkins jenkins 9355 May 5 12:43 coverage.out [2022-05-05T12:43:53.807Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:42 driver [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 5 12:42 go.mod [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 5 12:42 go.sum [2022-05-05T12:43:53.807Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:42 snap [2022-05-05T12:43:53.807Z] -rw-rw-r-- 1 jenkins jenkins 713 May 5 12:42 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:43:54.130Z] + 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=cd70cda7d0fa808bba6f169f61eb100b0db77b22 --label arch=amd64 --label version=0.0.0 . [2022-05-05T12:43:54.130Z] Sending build context to Docker daemon 10.62MB [2022-05-05T12:43:54.130Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-05T12:43:54.130Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-05T12:43:54.130Z] ---> 278c9b4229ac [2022-05-05T12:43:54.130Z] Step 3/25 : ARG MAKE='make build' [2022-05-05T12:43:54.390Z] ---> Running in f53bc5af6034 [2022-05-05T12:43:54.390Z] Removing intermediate container f53bc5af6034 [2022-05-05T12:43:54.390Z] ---> 61cb360a00b7 [2022-05-05T12:43:54.390Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-05T12:43:54.390Z] ---> Running in bfbf5ee722c8 [2022-05-05T12:43:54.390Z] Removing intermediate container bfbf5ee722c8 [2022-05-05T12:43:54.390Z] ---> 9297d027dce6 [2022-05-05T12:43:54.390Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-05T12:43:54.650Z] ---> Running in 4bfe93f9d48b [2022-05-05T12:43:54.650Z] Removing intermediate container 4bfe93f9d48b [2022-05-05T12:43:54.650Z] ---> 54cdf2475423 [2022-05-05T12:43:54.650Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-05T12:43:54.650Z] ---> Running in d73b88d3257a [2022-05-05T12:43:55.232Z] Removing intermediate container d73b88d3257a [2022-05-05T12:43:55.232Z] ---> 423664dce799 [2022-05-05T12:43:55.232Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-05T12:43:55.493Z] ---> Running in 292f267f056b [2022-05-05T12:43:55.755Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-05T12:43:56.699Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-05T12:43:56.960Z] OK: 224 MiB in 56 packages [2022-05-05T12:43:57.221Z] Removing intermediate container 292f267f056b [2022-05-05T12:43:57.221Z] ---> c97d65458e3e [2022-05-05T12:43:57.221Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-05T12:43:57.221Z] ---> Running in 198ad967a24d [2022-05-05T12:43:57.497Z] Removing intermediate container 198ad967a24d [2022-05-05T12:43:57.497Z] ---> e597694f2d20 [2022-05-05T12:43:57.497Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-05T12:43:57.760Z] ---> 51e40fb747d0 [2022-05-05T12:43:57.760Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-05T12:43:57.760Z] ---> Running in 2a2f32a036f1 [2022-05-05T12:43:58.328Z] Removing intermediate container 2a2f32a036f1 [2022-05-05T12:43:58.328Z] ---> 1858d69e14da [2022-05-05T12:43:58.328Z] Step 11/25 : COPY . . [2022-05-05T12:43:58.898Z] ---> 84e9ae4af0ed [2022-05-05T12:43:58.898Z] Step 12/25 : RUN $MAKE [2022-05-05T12:43:58.898Z] ---> Running in a406cd42de72 [2022-05-05T12:43:59.157Z] 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-05T12:44:21.108Z] Removing intermediate container a406cd42de72 [2022-05-05T12:44:21.108Z] ---> d9f583474078 [2022-05-05T12:44:21.108Z] Step 13/25 : FROM alpine:3.14 [2022-05-05T12:44:21.108Z] 3.14: Pulling from library/alpine [2022-05-05T12:44:21.108Z] 8663204ce13b: Pulling fs layer [2022-05-05T12:44:21.108Z] 8663204ce13b: Download complete [2022-05-05T12:44:21.108Z] 8663204ce13b: Pull complete [2022-05-05T12:44:21.108Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-05T12:44:21.108Z] Status: Downloaded newer image for alpine:3.14 [2022-05-05T12:44:21.108Z] ---> e04c818066af [2022-05-05T12:44:21.108Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-05T12:44:21.108Z] ---> Running in acca00355c7e [2022-05-05T12:44:21.108Z] Removing intermediate container acca00355c7e [2022-05-05T12:44:21.108Z] ---> 82e2446685df [2022-05-05T12:44:21.108Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-05T12:44:21.108Z] ---> Running in 00c7533dfa00 [2022-05-05T12:44:21.108Z] Removing intermediate container 00c7533dfa00 [2022-05-05T12:44:21.108Z] ---> 30b99ad1fa21 [2022-05-05T12:44:21.108Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-05T12:44:21.108Z] ---> Running in d705a98b83f7 [2022-05-05T12:44:21.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-05T12:44:21.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-05T12:44:21.369Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-05T12:44:21.369Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-05T12:44:21.369Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-05T12:44:21.369Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-05T12:44:21.369Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-05T12:44:21.369Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-05T12:44:21.369Z] Executing busybox-1.33.1-r7.trigger [2022-05-05T12:44:21.369Z] OK: 8 MiB in 20 packages [2022-05-05T12:44:21.940Z] Removing intermediate container d705a98b83f7 [2022-05-05T12:44:21.940Z] ---> 35caf01a2f4f [2022-05-05T12:44:21.940Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-05T12:44:22.512Z] ---> 1f9f359ed20b [2022-05-05T12:44:22.512Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-05T12:44:22.770Z] ---> 9fbd13386407 [2022-05-05T12:44:22.770Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-05T12:44:23.030Z] ---> 20fa8ae77167 [2022-05-05T12:44:23.030Z] Step 20/25 : EXPOSE 59986 [2022-05-05T12:44:23.030Z] ---> Running in 8d7015f35ae9 [2022-05-05T12:44:23.030Z] Removing intermediate container 8d7015f35ae9 [2022-05-05T12:44:23.030Z] ---> 851edc25b5a7 [2022-05-05T12:44:23.030Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-05T12:44:23.291Z] ---> Running in 44698dd35c09 [2022-05-05T12:44:23.291Z] Removing intermediate container 44698dd35c09 [2022-05-05T12:44:23.291Z] ---> 7c61f751dfee [2022-05-05T12:44:23.291Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-05T12:44:23.291Z] ---> Running in c745bf2a8bac [2022-05-05T12:44:23.552Z] Removing intermediate container c745bf2a8bac [2022-05-05T12:44:23.552Z] ---> bdfd18ec26c1 [2022-05-05T12:44:23.552Z] Step 23/25 : LABEL arch=amd64 [2022-05-05T12:44:23.552Z] ---> Running in 3b948be46c54 [2022-05-05T12:44:23.552Z] Removing intermediate container 3b948be46c54 [2022-05-05T12:44:23.552Z] ---> 470b49654120 [2022-05-05T12:44:23.552Z] Step 24/25 : LABEL git_sha=cd70cda7d0fa808bba6f169f61eb100b0db77b22 [2022-05-05T12:44:23.813Z] ---> Running in 0a1a0cc4a5aa [2022-05-05T12:44:23.813Z] Removing intermediate container 0a1a0cc4a5aa [2022-05-05T12:44:23.813Z] ---> 65019259272c [2022-05-05T12:44:23.813Z] Step 25/25 : LABEL version=0.0.0 [2022-05-05T12:44:23.813Z] ---> Running in 6c814c25fcf4 [2022-05-05T12:44:24.074Z] Removing intermediate container 6c814c25fcf4 [2022-05-05T12:44:24.074Z] ---> 3a345edbe0c3 [2022-05-05T12:44:24.074Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-05T12:44:24.074Z] Successfully built 3a345edbe0c3 [2022-05-05T12:44:24.074Z] 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-05T12:44:24.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-05T12:44:24.498Z] [2022-05-05T12:44:24.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:44:24.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-05T12:44:24.801Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-05T12:44:24.801Z] 5eb5b503b376: Pulling fs layer [2022-05-05T12:44:24.801Z] 5c69ac0246d0: Pulling fs layer [2022-05-05T12:44:24.801Z] ec43610c2a17: Pulling fs layer [2022-05-05T12:44:24.801Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-05T12:44:24.801Z] 33b1e0a273af: Pulling fs layer [2022-05-05T12:44:24.801Z] 5d3b04190fa2: Pulling fs layer [2022-05-05T12:44:24.801Z] 2f39f015ded8: Pulling fs layer [2022-05-05T12:44:24.801Z] 3a2ae6a8a46f: Waiting [2022-05-05T12:44:24.801Z] 5d3b04190fa2: Waiting [2022-05-05T12:44:24.801Z] 2f39f015ded8: Waiting [2022-05-05T12:44:24.801Z] 5c69ac0246d0: Verifying Checksum [2022-05-05T12:44:24.801Z] 5c69ac0246d0: Download complete [2022-05-05T12:44:24.801Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-05T12:44:24.801Z] 3a2ae6a8a46f: Download complete [2022-05-05T12:44:24.801Z] 33b1e0a273af: Verifying Checksum [2022-05-05T12:44:24.801Z] 33b1e0a273af: Download complete [2022-05-05T12:44:24.801Z] 5d3b04190fa2: Verifying Checksum [2022-05-05T12:44:24.801Z] 5d3b04190fa2: Download complete [2022-05-05T12:44:24.801Z] ec43610c2a17: Verifying Checksum [2022-05-05T12:44:24.801Z] ec43610c2a17: Download complete [2022-05-05T12:44:25.061Z] 5eb5b503b376: Verifying Checksum [2022-05-05T12:44:25.061Z] 5eb5b503b376: Download complete [2022-05-05T12:44:25.630Z] 2f39f015ded8: Download complete [2022-05-05T12:44:26.198Z] 5eb5b503b376: Pull complete [2022-05-05T12:44:26.457Z] 5c69ac0246d0: Pull complete [2022-05-05T12:44:27.024Z] ec43610c2a17: Pull complete [2022-05-05T12:44:27.024Z] 3a2ae6a8a46f: Pull complete [2022-05-05T12:44:27.283Z] 33b1e0a273af: Pull complete [2022-05-05T12:44:27.283Z] 5d3b04190fa2: Pull complete [2022-05-05T12:44:31.478Z] 2f39f015ded8: Pull complete [2022-05-05T12:44:31.478Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-05T12:44:31.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-05T12:44:31.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-05T12:44:31.546Z] prd-ubuntu20.04-docker-8c-8g-40494 does not seem to be running inside a container [2022-05-05T12:44:31.584Z] $ 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-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-05T12:44:34.911Z] $ docker top 521d614a8aa48aa5cbca510760d49fb7ea321a9916c84060fe14d12c63e7920c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:44:35.327Z] ---> job-cost.sh [2022-05-05T12:44:35.327Z] lf-activate-venv: SKIPPING [2022-05-05T12:44:35.327Z] INFO: No Stack... [2022-05-05T12:44:35.587Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-05T12:44:36.157Z] INFO: Archiving Costs [Pipeline] sh [2022-05-05T12:44:36.450Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-184/archives/cost.csv [2022-05-05T12:44:36.450Z] + cut -d, -f6 [Pipeline] lock [2022-05-05T12:44:36.465Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-184-6-stack-cost] [2022-05-05T12:44:36.471Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-184-6-stack-cost] did not exist. Created. [2022-05-05T12:44:36.471Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-184-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-05T12:44:36.771Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-05T12:44:36.797Z] Stashed 1 file(s) [Pipeline] } [2022-05-05T12:44:36.803Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-184-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-05T12:44:36.832Z] $ docker stop --time=1 521d614a8aa48aa5cbca510760d49fb7ea321a9916c84060fe14d12c63e7920c [2022-05-05T12:44:38.149Z] $ docker rm -f 521d614a8aa48aa5cbca510760d49fb7ea321a9916c84060fe14d12c63e7920c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-05T12:44:48.800Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-40495 in /w/workspace/gexfoundry_device-rest-go_PR-184 [Pipeline] { [Pipeline] ws [2022-05-05T12:44:48.814Z] Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout [2022-05-05T12:44:49.046Z] The recommended git tool is: git [2022-05-05T12:44:55.211Z] using credential edgex-jenkins-ssh [2022-05-05T12:44:55.234Z] Cloning the remote Git repository [2022-05-05T12:44:55.313Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-05T12:44:55.385Z] > git init /w/workspace/device-rest-go/6 # timeout=10 [2022-05-05T12:44:55.477Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-05T12:44:55.478Z] > git --version # timeout=10 [2022-05-05T12:44:55.497Z] > git --version # 'git version 2.25.1' [2022-05-05T12:44:55.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-05T12:44:55.613Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-05T12:44:58.150Z] Merging remotes/origin/main commit f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit cd70cda7d0fa808bba6f169f61eb100b0db77b22 [2022-05-05T12:44:58.356Z] Merge succeeded, producing cd70cda7d0fa808bba6f169f61eb100b0db77b22 [2022-05-05T12:44:58.356Z] Checking out Revision cd70cda7d0fa808bba6f169f61eb100b0db77b22 (PR-184) [2022-05-05T12:44:57.492Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-05T12:44:57.512Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-05T12:44:57.536Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-05T12:44:57.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-05T12:44:57.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-05T12:44:57.582Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-05T12:44:58.170Z] > git config core.sparsecheckout # timeout=10 [2022-05-05T12:44:58.192Z] > git checkout -f cd70cda7d0fa808bba6f169f61eb100b0db77b22 # timeout=10 [2022-05-05T12:44:58.270Z] > git remote # timeout=10 [2022-05-05T12:44:58.287Z] > git config --get remote.origin.url # timeout=10 [2022-05-05T12:44:58.299Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-05T12:44:58.311Z] > git merge f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 [2022-05-05T12:44:58.336Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-05T12:44:58.364Z] > git config core.sparsecheckout # timeout=10 [2022-05-05T12:44:58.381Z] > git checkout -f cd70cda7d0fa808bba6f169f61eb100b0db77b22 # timeout=10 [2022-05-05T12:45:02.449Z] Commit message: "docs: cleanup references " [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-05T12:45:03.470Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-05T12:45:03.470Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-05T12:45:03.470Z] Dload Upload Total Spent Left Speed [2022-05-05T12:45:03.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85201 0 --:--:-- --:--:-- --:--:-- 85818 [Pipeline] sh [2022-05-05T12:45:03.985Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-05T12:45:04.326Z] + sudo tee /etc/docker/daemon.new [2022-05-05T12:45:04.326Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-05T12:45:04.326Z] { [2022-05-05T12:45:04.326Z] "registry-mirrors": [ [2022-05-05T12:45:04.326Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-05T12:45:04.326Z] ], [2022-05-05T12:45:04.326Z] "bip": "10.250.0.254/24", [2022-05-05T12:45:04.326Z] "hosts": [ [2022-05-05T12:45:04.326Z] "tcp://0.0.0.0:5555", [2022-05-05T12:45:04.326Z] "unix:///var/run/docker.sock" [2022-05-05T12:45:04.326Z] ], [2022-05-05T12:45:04.326Z] "mtu": 1458, [2022-05-05T12:45:04.326Z] "selinux-enabled": true, [2022-05-05T12:45:04.326Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-05T12:45:04.326Z] } [Pipeline] sh [2022-05-05T12:45:04.677Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-05T12:45:05.022Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-05T12:45:23.438Z] provisioning config files... [2022-05-05T12:45:23.463Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config3293419261169078251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:45:23.835Z] ---> docker-login.sh [2022-05-05T12:45:23.835Z] nexus3.edgexfoundry.org:10001 [2022-05-05T12:45:24.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:45:24.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:45:24.706Z] Configure a credential helper to remove this warning. See [2022-05-05T12:45:24.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:45:24.706Z] [2022-05-05T12:45:24.706Z] Login Succeeded [2022-05-05T12:45:24.706Z] nexus3.edgexfoundry.org:10002 [2022-05-05T12:45:24.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:45:24.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:45:24.981Z] Configure a credential helper to remove this warning. See [2022-05-05T12:45:24.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:45:24.981Z] [2022-05-05T12:45:24.981Z] Login Succeeded [2022-05-05T12:45:24.981Z] nexus3.edgexfoundry.org:10003 [2022-05-05T12:45:25.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:45:25.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:45:25.577Z] Configure a credential helper to remove this warning. See [2022-05-05T12:45:25.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:45:25.577Z] [2022-05-05T12:45:25.577Z] Login Succeeded [2022-05-05T12:45:25.577Z] nexus3.edgexfoundry.org:10004 [2022-05-05T12:45:25.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:45:25.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:45:25.852Z] Configure a credential helper to remove this warning. See [2022-05-05T12:45:25.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:45:25.852Z] [2022-05-05T12:45:25.852Z] Login Succeeded [2022-05-05T12:45:25.852Z] docker.io [2022-05-05T12:45:26.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:45:26.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:45:26.720Z] Configure a credential helper to remove this warning. See [2022-05-05T12:45:26.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:45:26.720Z] [2022-05-05T12:45:26.720Z] Login Succeeded [2022-05-05T12:45:26.720Z] ---> docker-login.sh ends [Pipeline] } [2022-05-05T12:45:26.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-05T12:45:27.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-05T12:45:27.268Z] ========================================================= [2022-05-05T12:45:27.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-05T12:45:27.268Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:45:27.624Z] + 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-05T12:45:27.624Z] Sending build context to Docker daemon 124.4kB [2022-05-05T12:45:27.897Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-05T12:45:27.897Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-05T12:45:28.175Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-05T12:45:28.175Z] 9b3977197b4f: Pulling fs layer [2022-05-05T12:45:28.175Z] 1a89e8eeedd5: Pulling fs layer [2022-05-05T12:45:28.175Z] 94645a83ff95: Pulling fs layer [2022-05-05T12:45:28.175Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-05T12:45:28.175Z] 0c92f367c5e7: Pulling fs layer [2022-05-05T12:45:28.175Z] 3096ccb668a1: Pulling fs layer [2022-05-05T12:45:28.175Z] 3f3a8bcf1eab: Waiting [2022-05-05T12:45:28.175Z] 0c92f367c5e7: Waiting [2022-05-05T12:45:28.175Z] e8cf19c19ddd: Pulling fs layer [2022-05-05T12:45:28.175Z] a4caa8a26152: Pulling fs layer [2022-05-05T12:45:28.175Z] 3096ccb668a1: Waiting [2022-05-05T12:45:28.175Z] a4caa8a26152: Waiting [2022-05-05T12:45:28.175Z] e8cf19c19ddd: Waiting [2022-05-05T12:45:28.175Z] 94645a83ff95: Verifying Checksum [2022-05-05T12:45:28.175Z] 94645a83ff95: Download complete [2022-05-05T12:45:28.175Z] 1a89e8eeedd5: Verifying Checksum [2022-05-05T12:45:28.175Z] 1a89e8eeedd5: Download complete [2022-05-05T12:45:28.175Z] 0c92f367c5e7: Verifying Checksum [2022-05-05T12:45:28.175Z] 0c92f367c5e7: Download complete [2022-05-05T12:45:28.175Z] 3096ccb668a1: Verifying Checksum [2022-05-05T12:45:28.175Z] 3096ccb668a1: Download complete [2022-05-05T12:45:28.175Z] 9b3977197b4f: Verifying Checksum [2022-05-05T12:45:28.175Z] 9b3977197b4f: Download complete [2022-05-05T12:45:28.175Z] e8cf19c19ddd: Verifying Checksum [2022-05-05T12:45:28.175Z] e8cf19c19ddd: Download complete [2022-05-05T12:45:28.781Z] 9b3977197b4f: Pull complete [2022-05-05T12:45:29.388Z] 1a89e8eeedd5: Pull complete [2022-05-05T12:45:29.675Z] 94645a83ff95: Pull complete [2022-05-05T12:45:29.948Z] a4caa8a26152: Verifying Checksum [2022-05-05T12:45:29.948Z] a4caa8a26152: Download complete [2022-05-05T12:45:30.546Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-05T12:45:30.546Z] 3f3a8bcf1eab: Download complete [2022-05-05T12:45:42.961Z] 3f3a8bcf1eab: Pull complete [2022-05-05T12:45:42.961Z] 0c92f367c5e7: Pull complete [2022-05-05T12:45:42.961Z] 3096ccb668a1: Pull complete [2022-05-05T12:45:43.245Z] e8cf19c19ddd: Pull complete [2022-05-05T12:45:49.980Z] a4caa8a26152: Pull complete [2022-05-05T12:45:49.980Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-05T12:45:49.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-05T12:45:49.980Z] ---> 725f1c02e7f9 [2022-05-05T12:45:49.980Z] Step 3/12 : ARG MAKE='make build' [2022-05-05T12:45:50.969Z] ---> Running in fe0d2b073f05 [2022-05-05T12:45:50.969Z] Removing intermediate container fe0d2b073f05 [2022-05-05T12:45:50.969Z] ---> e49ce158a013 [2022-05-05T12:45:50.969Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-05T12:45:51.244Z] ---> Running in a14b4cf728b1 [2022-05-05T12:45:51.518Z] Removing intermediate container a14b4cf728b1 [2022-05-05T12:45:51.518Z] ---> 635611e54cbc [2022-05-05T12:45:51.518Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-05T12:45:51.518Z] ---> Running in 2c3c6129773c [2022-05-05T12:45:51.797Z] Removing intermediate container 2c3c6129773c [2022-05-05T12:45:51.797Z] ---> 7f84276e2753 [2022-05-05T12:45:51.797Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-05T12:45:51.797Z] ---> Running in b16928245e04 [2022-05-05T12:45:53.778Z] Removing intermediate container b16928245e04 [2022-05-05T12:45:53.778Z] ---> 6cb4c059b104 [2022-05-05T12:45:53.778Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-05T12:45:53.778Z] ---> Running in d4f688c1376c [2022-05-05T12:45:54.765Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-05T12:45:55.761Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-05T12:45:56.755Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-05T12:45:56.755Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-05T12:45:56.755Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-05T12:45:57.040Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-05T12:45:57.040Z] Executing busybox-1.34.1-r3.trigger [2022-05-05T12:45:57.040Z] OK: 224 MiB in 56 packages [2022-05-05T12:45:58.038Z] Removing intermediate container d4f688c1376c [2022-05-05T12:45:58.038Z] ---> 3cc2bca72631 [2022-05-05T12:45:58.038Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-05T12:45:58.038Z] ---> Running in 012ddc49f641 [2022-05-05T12:45:58.640Z] Removing intermediate container 012ddc49f641 [2022-05-05T12:45:58.640Z] ---> 7e595e27db19 [2022-05-05T12:45:58.640Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-05T12:45:59.236Z] ---> c25af3216f94 [2022-05-05T12:45:59.236Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-05T12:45:59.236Z] ---> Running in 2038dabee453 [2022-05-05T12:46:46.237Z] Removing intermediate container 2038dabee453 [2022-05-05T12:46:46.237Z] ---> 924a16061bf3 [2022-05-05T12:46:46.237Z] Step 11/12 : COPY . . [2022-05-05T12:46:46.237Z] ---> feb3c52307c4 [2022-05-05T12:46:46.237Z] Step 12/12 : RUN $MAKE [2022-05-05T12:46:46.237Z] ---> Running in a14ebb2d039e [2022-05-05T12:46:46.237Z] noop [2022-05-05T12:46:46.237Z] Removing intermediate container a14ebb2d039e [2022-05-05T12:46:46.237Z] ---> 86c34aecb61e [2022-05-05T12:46:46.237Z] Successfully built 86c34aecb61e [2022-05-05T12:46:46.237Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:46:46.584Z] + docker inspect -f . ci-base-image-arm64 [2022-05-05T12:46:46.584Z] . [Pipeline] withDockerContainer [2022-05-05T12:46:46.830Z] prd-ubuntu20.04-docker-arm64-4c-16g-40495 does not seem to be running inside a container [2022-05-05T12:46:46.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-05T12:46:48.156Z] $ docker top 719cccf5ecd74896a861803f9572eed5548a137a75cade7877ec2e37c83d19ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-05T12:46:49.073Z] + go version [2022-05-05T12:46:49.073Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-05T12:46:49.099Z] $ docker stop --time=1 719cccf5ecd74896a861803f9572eed5548a137a75cade7877ec2e37c83d19ab [2022-05-05T12:46:50.737Z] $ docker rm -f 719cccf5ecd74896a861803f9572eed5548a137a75cade7877ec2e37c83d19ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:46:51.364Z] + docker inspect -f . ci-base-image-arm64 [2022-05-05T12:46:51.364Z] . [Pipeline] withDockerContainer [2022-05-05T12:46:51.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-40495 does not seem to be running inside a container [2022-05-05T12:46:51.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-05T12:46:52.909Z] $ docker top bc833218eca28f6bc1d74c4e07b0eefcefaff38ce63b2f41663bd5e4c2dffc21 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-05T12:46:53.836Z] + make test [2022-05-05T12:46:53.836Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-05T12:46:55.273Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-05T12:48:17.143Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-05T12:48:17.143Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-05-05T12:48:17.143Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-05T12:48:17.143Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-05T12:48:39.433Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-05T12:48:39.433Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-05T12:48:39.433Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-05T12:48:40.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-05T12:48:40.455Z] $ docker stop --time=1 bc833218eca28f6bc1d74c4e07b0eefcefaff38ce63b2f41663bd5e4c2dffc21 [2022-05-05T12:48:42.216Z] $ docker rm -f bc833218eca28f6bc1d74c4e07b0eefcefaff38ce63b2f41663bd5e4c2dffc21 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-05T12:48:43.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-05T12:48:43.188Z] Warning: overwriting stash ‘coverage-report’ [2022-05-05T12:48:43.655Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-05T12:48:44.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-05T12:48:44.397Z] + ls -al . [2022-05-05T12:48:44.397Z] total 164 [2022-05-05T12:48:44.397Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:48 . [2022-05-05T12:48:44.397Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 12:44 .. [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 151 May 5 12:44 .dockerignore [2022-05-05T12:48:44.397Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:45 .git [2022-05-05T12:48:44.397Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:44 .github [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 329 May 5 12:44 .gitignore [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 12:44 .golangci.yml [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 5 12:44 Attribution.txt [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 5 12:44 CHANGELOG.md [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 5 12:44 Dockerfile [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 12:44 GOVERNANCE.md [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 12:44 Jenkinsfile [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 12:44 LICENSE [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 5 12:44 Makefile [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 12:44 OWNERS.md [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 5 12:44 README.md [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 12:42 VERSION [2022-05-05T12:48:44.397Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:44 bin [2022-05-05T12:48:44.397Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:44 cmd [2022-05-05T12:48:44.397Z] -rw-r--r-- 1 jenkins jenkins 9355 May 5 12:48 coverage.out [2022-05-05T12:48:44.397Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:44 driver [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 5 12:44 go.mod [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 5 12:44 go.sum [2022-05-05T12:48:44.397Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:44 snap [2022-05-05T12:48:44.397Z] -rw-rw-r-- 1 jenkins jenkins 713 May 5 12:44 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:48:44.734Z] + 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=cd70cda7d0fa808bba6f169f61eb100b0db77b22 --label arch=arm64 --label version=0.0.0 . [2022-05-05T12:48:44.734Z] Sending build context to Docker daemon 134.7kB [2022-05-05T12:48:45.010Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-05T12:48:45.010Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-05T12:48:45.010Z] ---> 86c34aecb61e [2022-05-05T12:48:45.010Z] Step 3/25 : ARG MAKE='make build' [2022-05-05T12:48:45.010Z] ---> Running in 0cd616c52bea [2022-05-05T12:48:45.287Z] Removing intermediate container 0cd616c52bea [2022-05-05T12:48:45.287Z] ---> 0f494ddff28e [2022-05-05T12:48:45.287Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-05T12:48:45.561Z] ---> Running in 63f8581a65ea [2022-05-05T12:48:45.833Z] Removing intermediate container 63f8581a65ea [2022-05-05T12:48:45.833Z] ---> e1987afa21e5 [2022-05-05T12:48:45.833Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-05T12:48:45.833Z] ---> Running in 2fa5a77c90a4 [2022-05-05T12:48:46.108Z] Removing intermediate container 2fa5a77c90a4 [2022-05-05T12:48:46.108Z] ---> faba6c20633d [2022-05-05T12:48:46.108Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-05T12:48:46.108Z] ---> Running in 778c7f068be7 [2022-05-05T12:48:48.091Z] Removing intermediate container 778c7f068be7 [2022-05-05T12:48:48.091Z] ---> e9e5b6bf9949 [2022-05-05T12:48:48.091Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-05T12:48:48.091Z] ---> Running in d523d95913e4 [2022-05-05T12:48:48.685Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-05T12:48:49.658Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-05T12:48:50.646Z] OK: 224 MiB in 56 packages [2022-05-05T12:48:51.247Z] Removing intermediate container d523d95913e4 [2022-05-05T12:48:51.247Z] ---> ccd87374a66e [2022-05-05T12:48:51.247Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-05T12:48:51.247Z] ---> Running in 4b1e8b8fff87 [2022-05-05T12:48:51.521Z] Removing intermediate container 4b1e8b8fff87 [2022-05-05T12:48:51.521Z] ---> 8383fd498e2f [2022-05-05T12:48:51.521Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-05T12:48:52.123Z] ---> a83aec5f554b [2022-05-05T12:48:52.123Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-05T12:48:52.123Z] ---> Running in 8943142fd460 [2022-05-05T12:48:54.131Z] Removing intermediate container 8943142fd460 [2022-05-05T12:48:54.131Z] ---> 6073d30e1ce3 [2022-05-05T12:48:54.131Z] Step 11/25 : COPY . . [2022-05-05T12:48:54.734Z] ---> c1b6069d26a5 [2022-05-05T12:48:54.734Z] Step 12/25 : RUN $MAKE [2022-05-05T12:48:54.734Z] ---> Running in 3867e7c758cc [2022-05-05T12:48:55.732Z] 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-05T12:51:02.598Z] Removing intermediate container 3867e7c758cc [2022-05-05T12:51:02.598Z] ---> 22f9631de4cf [2022-05-05T12:51:02.598Z] Step 13/25 : FROM alpine:3.14 [2022-05-05T12:51:02.598Z] 3.14: Pulling from library/alpine [2022-05-05T12:51:02.598Z] 455c02918c45: Pulling fs layer [2022-05-05T12:51:02.598Z] 455c02918c45: Verifying Checksum [2022-05-05T12:51:02.598Z] 455c02918c45: Download complete [2022-05-05T12:51:02.598Z] 455c02918c45: Pull complete [2022-05-05T12:51:02.598Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-05T12:51:02.598Z] Status: Downloaded newer image for alpine:3.14 [2022-05-05T12:51:02.598Z] ---> ac73e934f311 [2022-05-05T12:51:02.598Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-05T12:51:02.598Z] ---> Running in c16c70ce0de1 [2022-05-05T12:51:02.598Z] Removing intermediate container c16c70ce0de1 [2022-05-05T12:51:02.598Z] ---> aa1e89557d00 [2022-05-05T12:51:02.598Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-05T12:51:02.598Z] ---> Running in da2a71f6c0b0 [2022-05-05T12:51:02.598Z] Removing intermediate container da2a71f6c0b0 [2022-05-05T12:51:02.598Z] ---> 49a47a406196 [2022-05-05T12:51:02.598Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-05T12:51:02.598Z] ---> Running in 55bd5ed519b5 [2022-05-05T12:51:02.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-05T12:51:02.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-05T12:51:02.598Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-05T12:51:02.598Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-05T12:51:02.598Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-05T12:51:02.598Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-05T12:51:02.598Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-05T12:51:02.598Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-05T12:51:02.598Z] Executing busybox-1.33.1-r7.trigger [2022-05-05T12:51:02.598Z] OK: 8 MiB in 20 packages [2022-05-05T12:51:02.598Z] Removing intermediate container 55bd5ed519b5 [2022-05-05T12:51:02.598Z] ---> a9bd0412b933 [2022-05-05T12:51:02.598Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-05T12:51:02.598Z] ---> ad7118282d9b [2022-05-05T12:51:02.598Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-05T12:51:02.598Z] ---> e14cd4022dbe [2022-05-05T12:51:02.598Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-05T12:51:02.598Z] ---> 077a04113741 [2022-05-05T12:51:02.598Z] Step 20/25 : EXPOSE 59986 [2022-05-05T12:51:02.598Z] ---> Running in 899ae62b07ae [2022-05-05T12:51:02.598Z] Removing intermediate container 899ae62b07ae [2022-05-05T12:51:02.598Z] ---> c860be88004e [2022-05-05T12:51:02.598Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-05T12:51:02.598Z] ---> Running in 227d0b9bcce6 [2022-05-05T12:51:02.598Z] Removing intermediate container 227d0b9bcce6 [2022-05-05T12:51:02.598Z] ---> ddbef254d59c [2022-05-05T12:51:02.598Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-05T12:51:02.598Z] ---> Running in 1774c2cbf27a [2022-05-05T12:51:02.598Z] Removing intermediate container 1774c2cbf27a [2022-05-05T12:51:02.598Z] ---> 45a1e7c42f43 [2022-05-05T12:51:02.598Z] Step 23/25 : LABEL arch=arm64 [2022-05-05T12:51:02.598Z] ---> Running in 46a01c81b3da [2022-05-05T12:51:02.598Z] Removing intermediate container 46a01c81b3da [2022-05-05T12:51:02.598Z] ---> 59733fe4c04c [2022-05-05T12:51:02.598Z] Step 24/25 : LABEL git_sha=cd70cda7d0fa808bba6f169f61eb100b0db77b22 [2022-05-05T12:51:02.598Z] ---> Running in f9b103604f4c [2022-05-05T12:51:02.598Z] Removing intermediate container f9b103604f4c [2022-05-05T12:51:02.598Z] ---> 4c569abf2792 [2022-05-05T12:51:02.598Z] Step 25/25 : LABEL version=0.0.0 [2022-05-05T12:51:02.598Z] ---> Running in 835e3a5d0ee0 [2022-05-05T12:51:02.598Z] Removing intermediate container 835e3a5d0ee0 [2022-05-05T12:51:02.598Z] ---> bf11b9a27f15 [2022-05-05T12:51:02.598Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-05T12:51:02.598Z] Successfully built bf11b9a27f15 [2022-05-05T12:51:02.598Z] 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-05T12:51:03.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-05T12:51:03.026Z] [2022-05-05T12:51:03.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:51:03.380Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-05T12:51:03.380Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-05T12:51:03.380Z] 8998bd30e6a1: Pulling fs layer [2022-05-05T12:51:03.380Z] 04944245beec: Pulling fs layer [2022-05-05T12:51:03.380Z] 699f458cf7ca: Pulling fs layer [2022-05-05T12:51:03.380Z] 765212b225bb: Pulling fs layer [2022-05-05T12:51:03.380Z] f23df028b6ca: Pulling fs layer [2022-05-05T12:51:03.380Z] d65c8cfc05b1: Pulling fs layer [2022-05-05T12:51:03.380Z] 2437ff75d9bd: Pulling fs layer [2022-05-05T12:51:03.380Z] 765212b225bb: Waiting [2022-05-05T12:51:03.380Z] f23df028b6ca: Waiting [2022-05-05T12:51:03.380Z] d65c8cfc05b1: Waiting [2022-05-05T12:51:03.380Z] 2437ff75d9bd: Waiting [2022-05-05T12:51:03.654Z] 04944245beec: Verifying Checksum [2022-05-05T12:51:03.654Z] 04944245beec: Download complete [2022-05-05T12:51:03.654Z] 765212b225bb: Verifying Checksum [2022-05-05T12:51:03.654Z] 765212b225bb: Download complete [2022-05-05T12:51:03.654Z] f23df028b6ca: Verifying Checksum [2022-05-05T12:51:03.654Z] f23df028b6ca: Download complete [2022-05-05T12:51:03.654Z] d65c8cfc05b1: Verifying Checksum [2022-05-05T12:51:03.654Z] d65c8cfc05b1: Download complete [2022-05-05T12:51:03.654Z] 699f458cf7ca: Verifying Checksum [2022-05-05T12:51:03.654Z] 699f458cf7ca: Download complete [2022-05-05T12:51:04.251Z] 8998bd30e6a1: Verifying Checksum [2022-05-05T12:51:04.251Z] 8998bd30e6a1: Download complete [2022-05-05T12:51:06.226Z] 2437ff75d9bd: Verifying Checksum [2022-05-05T12:51:06.226Z] 2437ff75d9bd: Download complete [2022-05-05T12:51:08.216Z] 8998bd30e6a1: Pull complete [2022-05-05T12:51:08.824Z] 04944245beec: Pull complete [2022-05-05T12:51:10.267Z] 699f458cf7ca: Pull complete [2022-05-05T12:51:10.540Z] 765212b225bb: Pull complete [2022-05-05T12:51:11.527Z] f23df028b6ca: Pull complete [2022-05-05T12:51:11.527Z] d65c8cfc05b1: Pull complete [2022-05-05T12:51:26.644Z] 2437ff75d9bd: Pull complete [2022-05-05T12:51:26.644Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-05T12:51:26.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-05T12:51:26.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-05T12:51:26.890Z] prd-ubuntu20.04-docker-arm64-4c-16g-40495 does not seem to be running inside a container [2022-05-05T12:51:26.977Z] $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-05T12:51:29.466Z] $ docker top 0819d35324e368b66759b8bb1d90a68b47e866515c66e9143e544a0501fe7bba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:51:30.424Z] ---> job-cost.sh [2022-05-05T12:51:30.424Z] lf-activate-venv: SKIPPING [2022-05-05T12:51:30.424Z] INFO: No Stack... [2022-05-05T12:51:31.024Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-05T12:51:32.003Z] INFO: Archiving Costs [Pipeline] sh [2022-05-05T12:51:32.681Z] + cat /w/workspace/device-rest-go/6/archives/cost.csv [2022-05-05T12:51:32.681Z] + cut -d, -f6 [Pipeline] lock [2022-05-05T12:51:32.749Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-184-6-stack-cost] [2022-05-05T12:51:32.755Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-184-6-stack-cost] did not exist. Created. [2022-05-05T12:51:32.755Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-184-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-05T12:51:33.440Z] /w/workspace/device-rest-go/6@tmp/durable-9d775481/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-05T12:51:34.130Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-05T12:51:34.159Z] Warning: overwriting stash ‘stack-cost’ [2022-05-05T12:51:34.201Z] Stashed 1 file(s) [Pipeline] } [2022-05-05T12:51:34.208Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-184-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-05T12:51:34.226Z] $ docker stop --time=1 0819d35324e368b66759b8bb1d90a68b47e866515c66e9143e544a0501fe7bba [2022-05-05T12:51:35.763Z] $ docker rm -f 0819d35324e368b66759b8bb1d90a68b47e866515c66e9143e544a0501fe7bba [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-05T12:51:36.328Z] provisioning config files... [2022-05-05T12:51:36.340Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config4035450535989624963tmp [Pipeline] { [Pipeline] sh [2022-05-05T12:51:36.641Z] + set +x [2022-05-05T12:51:36.641Z] + curl -s https://codecov.io/bash [2022-05-05T12:51:36.641Z] + bash -s -- [2022-05-05T12:51:36.641Z] [2022-05-05T12:51:36.641Z] _____ _ [2022-05-05T12:51:36.641Z] / ____| | | [2022-05-05T12:51:36.641Z] | | ___ __| | ___ ___ _____ __ [2022-05-05T12:51:36.641Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-05T12:51:36.641Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-05T12:51:36.641Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-05T12:51:36.641Z] Bash-1.0.6 [2022-05-05T12:51:36.641Z] [2022-05-05T12:51:36.641Z] [2022-05-05T12:51:36.641Z] ==> git version 2.25.1 found [2022-05-05T12:51:36.641Z] ==> 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-05T12:51:36.641Z] Release-Date: 2020-01-08 [2022-05-05T12:51:36.641Z] 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-05T12:51:36.641Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-05T12:51:36.641Z] ==> Jenkins CI detected. [2022-05-05T12:51:36.641Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-184 [2022-05-05T12:51:36.641Z] project root: . [2022-05-05T12:51:36.641Z] --> token set from env [2022-05-05T12:51:36.641Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-05T12:51:36.641Z] ==> Running gcov in . (disable via -X gcov) [2022-05-05T12:51:36.641Z] ==> Python coveragepy not found [2022-05-05T12:51:36.641Z] ==> Searching for coverage reports in: [2022-05-05T12:51:36.641Z] + . [2022-05-05T12:51:36.641Z] -> Found 1 reports [2022-05-05T12:51:36.641Z] ==> Detecting git/mercurial file structure [2022-05-05T12:51:36.641Z] ==> Reading reports [2022-05-05T12:51:36.641Z] + ./coverage.out bytes=9355 [2022-05-05T12:51:36.641Z] ==> Appending adjustments [2022-05-05T12:51:36.641Z] https://docs.codecov.io/docs/fixing-reports [2022-05-05T12:51:36.903Z] + Found adjustments [2022-05-05T12:51:36.903Z] ==> Gzipping contents [2022-05-05T12:51:36.903Z] 4.0K /tmp/codecov.I3cZwI.gz [2022-05-05T12:51:36.903Z] ==> Uploading reports [2022-05-05T12:51:36.903Z] url: https://codecov.io [2022-05-05T12:51:36.903Z] query: branch=PR-184&commit=cd70cda7d0fa808bba6f169f61eb100b0db77b22&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-184%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-05-05T12:51:36.903Z] -> Pinging Codecov [2022-05-05T12:51:36.903Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-184&commit=cd70cda7d0fa808bba6f169f61eb100b0db77b22&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-184%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-05-05T12:51:37.163Z] -> Uploading to [2022-05-05T12:51:37.163Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-05/4E5D53B4F1F92C436F7061BF334D961C/cd70cda7d0fa808bba6f169f61eb100b0db77b22/bbbe1021-b443-49fc-9b2c-92996f1d5246.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220505T125136Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30fa9f9e702b1f2db5fe6a53bf607c54d329d4f694e8c81a77e132f72227f966 [2022-05-05T12:51:37.163Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-05T12:51:37.163Z] Dload Upload Total Spent Left Speed [2022-05-05T12:51:37.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 7141 --:--:-- --:--:-- --:--:-- 7141 [2022-05-05T12:51:37.425Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cd70cda7d0fa808bba6f169f61eb100b0db77b22 [Pipeline] } [2022-05-05T12:51:37.433Z] 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-05T12:51:38.254Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-184/archives ] [2022-05-05T12:51:38.254Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-184/archives [2022-05-05T12:51:38.254Z] total 16 [2022-05-05T12:51:38.254Z] drwxr-xr-x 3 root root 4096 May 5 12:44 . [2022-05-05T12:51:38.254Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 12:44 .. [2022-05-05T12:51:38.254Z] drwxr-xr-x 2 root root 4096 May 5 12:44 cost [2022-05-05T12:51:38.254Z] -rw-r--r-- 1 root root 85 May 5 12:44 cost.csv [2022-05-05T12:51:38.254Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-184/archives [2022-05-05T12:51:38.254Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-184/archives [2022-05-05T12:51:38.254Z] total 16 [2022-05-05T12:51:38.254Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 12:44 . [2022-05-05T12:51:38.254Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 12:44 .. [2022-05-05T12:51:38.254Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 12:44 cost [2022-05-05T12:51:38.254Z] -rw-r--r-- 1 jenkins jenkins 85 May 5 12:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:51:38.580Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:51:39.534Z] ---> package-listing.sh [2022-05-05T12:51:39.534Z] ++ facter osfamily [2022-05-05T12:51:39.534Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-05T12:51:39.795Z] + OS_FAMILY=debian [2022-05-05T12:51:39.795Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-184 [2022-05-05T12:51:39.795Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-05T12:51:39.795Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-05T12:51:39.795Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-05T12:51:39.795Z] + PACKAGES=/tmp/packages_start.txt [2022-05-05T12:51:39.795Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-184 ']' [2022-05-05T12:51:39.795Z] + PACKAGES=/tmp/packages_end.txt [2022-05-05T12:51:39.795Z] + case "${OS_FAMILY}" in [2022-05-05T12:51:39.795Z] + dpkg -l [2022-05-05T12:51:39.795Z] + grep '^ii' [2022-05-05T12:51:39.795Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-05T12:51:39.795Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-05T12:51:39.795Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-05T12:51:39.795Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-184 ']' [2022-05-05T12:51:39.795Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-184/archives/ [2022-05-05T12:51:39.795Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-184/archives/ [Pipeline] echo [2022-05-05T12:51:39.806Z] 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-05T12:51:40.089Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:51:40.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-05T12:51:40.649Z] . [Pipeline] withDockerContainer [2022-05-05T12:51:40.718Z] prd-ubuntu20.04-docker-8c-8g-40494 does not seem to be running inside a container [2022-05-05T12:51:40.760Z] $ 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-184/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-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-05T12:51:41.049Z] $ docker top 5b8a082c68dca4ef0ec6df99f607159f82beb16307dc48dd5d7a4b71597d7d56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-05T12:51:41.406Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-05T12:51:41.696Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-05T12:51:41.989Z] + ls /var/log/sa-host [2022-05-05T12:51:41.989Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-05T12:51:42.225Z] provisioning config files... [2022-05-05T12:51:42.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config833487647689031265tmp [Pipeline] { [Pipeline] echo [2022-05-05T12:51:42.250Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:51:42.538Z] ---> create-netrc.sh [Pipeline] } [2022-05-05T12:51:42.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:51:42.890Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-05T12:51:42.900Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:51:43.187Z] ---> sudo-logs.sh [2022-05-05T12:51:43.187Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-05T12:51:43.219Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:51:43.506Z] ---> job-cost.sh [2022-05-05T12:51:43.506Z] lf-activate-venv: SKIPPING [2022-05-05T12:51:43.506Z] DEBUG: total: 0.2199999988079071 [2022-05-05T12:51:43.506Z] INFO: Retrieving Stack Cost... [2022-05-05T12:51:44.078Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-05T12:51:44.648Z] INFO: Archiving Costs [Pipeline] echo [2022-05-05T12:51:44.660Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:51:44.953Z] ---> logs-deploy.sh [2022-05-05T12:51:44.953Z] lf-activate-venv: SKIPPING [2022-05-05T12:51:44.953Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-184/6 [2022-05-05T12:51:44.953Z] INFO: archiving workspace using pattern(s): [2022-05-05T12:51:45.895Z] Archives upload complete. [2022-05-05T12:51:45.895Z] INFO: archiving logs to Nexus