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 24f2d44d41511aea7b66a902317587beb4819f28 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-ssh9407616473937898908.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-ssh9496519886564657447.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-ssh1829108579327642584.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-ssh5575817519505640622.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-ssh15481971172920314529.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40492 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 Merging remotes/origin/main commit f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit 24f2d44d41511aea7b66a902317587beb4819f28 Merge succeeded, producing 24f2d44d41511aea7b66a902317587beb4819f28 Checking out Revision 24f2d44d41511aea7b66a902317587beb4819f28 (PR-184) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 24f2d44d41511aea7b66a902317587beb4819f28 # 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 24f2d44d41511aea7b66a902317587beb4819f28 # timeout=10 Commit message: "docs: cleanup references" First time build. Skipping changelog. > git rev-list --no-walk d81468cbaee3b4856f2e04919014d9c611962b7b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-05T12:24:48.101Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-05T12:24:48.170Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-05T12:24:48.190Z] ========================================================= [2022-05-05T12:24:48.190Z] EdgeX Global Pipelines Version Info [2022-05-05T12:24:48.190Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:24:49.010Z] ------------------- [2022-05-05T12:24:49.010Z] stable info: [2022-05-05T12:24:49.010Z] ------------------- [2022-05-05T12:24:49.010Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-05T12:24:49.010Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-05T12:24:49.010Z] Message: update stable to v1.0.227 [2022-05-05T12:24:49.588Z] ------------------- [2022-05-05T12:24:49.588Z] experimental info: [2022-05-05T12:24:49.588Z] ------------------- [2022-05-05T12:24:49.588Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-05T12:24:49.588Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-05T12:24:49.588Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-05T12:24:49.727Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-05T12:24:49.739Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-05T12:24:49.751Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-05T12:24:49.762Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-05T12:24:49.771Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-05T12:24:49.779Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-05T12:24:49.788Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-05T12:24:49.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-05T12:24:49.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-05T12:24:49.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-05T12:24:49.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-05T12:24:49.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-05T12:24:49.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-05T12:24:49.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-05T12:24:49.891Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-05T12:24:49.904Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-05T12:24:49.917Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-05T12:24:49.930Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-05T12:24:49.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-05T12:24:49.957Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-05T12:24:49.973Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-05T12:24:49.985Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-05T12:24:50.001Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-05T12:24:50.014Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-05T12:24:50.025Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-05T12:24:50.036Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-05T12:24:50.049Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo [2022-05-05T12:24:50.061Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo [2022-05-05T12:24:50.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo [2022-05-05T12:24:50.085Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] echo [2022-05-05T12:24:50.097Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24f2d44 [Pipeline] echo [2022-05-05T12:24:50.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-05T12:24:50.148Z] provisioning config files... [2022-05-05T12:24:50.162Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config487461846282796055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:24:50.471Z] ---> docker-login.sh [2022-05-05T12:24:50.471Z] nexus3.edgexfoundry.org:10001 [2022-05-05T12:24:50.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:24:50.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:24:50.733Z] Configure a credential helper to remove this warning. See [2022-05-05T12:24:50.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:24:50.733Z] [2022-05-05T12:24:50.733Z] Login Succeeded [2022-05-05T12:24:50.733Z] nexus3.edgexfoundry.org:10002 [2022-05-05T12:24:50.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:24:50.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:24:50.995Z] Configure a credential helper to remove this warning. See [2022-05-05T12:24:50.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:24:50.995Z] [2022-05-05T12:24:50.995Z] Login Succeeded [2022-05-05T12:24:50.995Z] nexus3.edgexfoundry.org:10003 [2022-05-05T12:24:50.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:24:50.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:24:50.995Z] Configure a credential helper to remove this warning. See [2022-05-05T12:24:50.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:24:50.995Z] [2022-05-05T12:24:50.995Z] Login Succeeded [2022-05-05T12:24:50.995Z] nexus3.edgexfoundry.org:10004 [2022-05-05T12:24:51.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:24:51.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:24:51.257Z] Configure a credential helper to remove this warning. See [2022-05-05T12:24:51.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:24:51.257Z] [2022-05-05T12:24:51.257Z] Login Succeeded [2022-05-05T12:24:51.257Z] docker.io [2022-05-05T12:24:51.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:24:51.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:24:51.830Z] Configure a credential helper to remove this warning. See [2022-05-05T12:24:51.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:24:51.830Z] [2022-05-05T12:24:51.830Z] Login Succeeded [2022-05-05T12:24:51.830Z] ---> docker-login.sh ends [Pipeline] } [2022-05-05T12:24:51.840Z] 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:24:52.240Z] + git rev-list -1 --merges 24f2d44d41511aea7b66a902317587beb4819f28~1..24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] echo [2022-05-05T12:24:52.281Z] -----------> git rev-list -1 --merges 24f2d44d41511aea7b66a902317587beb4819f28~1..24f2d44d41511aea7b66a902317587beb4819f28 24f2d44d41511aea7b66a902317587beb4819f28 [false] [Pipeline] sh [2022-05-05T12:24:52.588Z] + git log --format=format:%s -1 24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] echo [2022-05-05T12:24:52.606Z] ========================================================= [2022-05-05T12:24:52.606Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-05T12:24:52.606Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-05T12:24:52.941Z] + git log --format=format:%s -1 24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] echo [2022-05-05T12:24:52.955Z] [semverPrep] GIT_COMMIT: 24f2d44d41511aea7b66a902317587beb4819f28, Commit Message: docs: cleanup references [Pipeline] echo [2022-05-05T12:24:52.966Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-05T12:24:53.354Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-05T12:24:53.354Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-05T12:24:53.354Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-05T12:24:53.354Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-05T12:24:53.354Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-05T12:24:53.354Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-05T12:24:53.354Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:24:53.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-05T12:24:53.706Z] [2022-05-05T12:24:53.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:24:54.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-05T12:24:54.011Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-05T12:24:54.011Z] 1fe172e4850f: Pulling fs layer [2022-05-05T12:24:54.011Z] caf521ccaac6: Pulling fs layer [2022-05-05T12:24:54.011Z] 3ead6fa29328: Pulling fs layer [2022-05-05T12:24:54.011Z] 5c2a1cbceb83: Pulling fs layer [2022-05-05T12:24:54.011Z] a8d5f1318db7: Pulling fs layer [2022-05-05T12:24:54.011Z] c427282e49a2: Pulling fs layer [2022-05-05T12:24:54.011Z] 1827001aaf11: Pulling fs layer [2022-05-05T12:24:54.011Z] 0714d37db230: Pulling fs layer [2022-05-05T12:24:54.011Z] ac28cf19c067: Pulling fs layer [2022-05-05T12:24:54.011Z] ca983d60f3e2: Pulling fs layer [2022-05-05T12:24:54.011Z] 9f894cec8388: Pulling fs layer [2022-05-05T12:24:54.011Z] 5c2a1cbceb83: Waiting [2022-05-05T12:24:54.011Z] a8d5f1318db7: Waiting [2022-05-05T12:24:54.011Z] c427282e49a2: Waiting [2022-05-05T12:24:54.011Z] 1827001aaf11: Waiting [2022-05-05T12:24:54.011Z] 9f894cec8388: Waiting [2022-05-05T12:24:54.011Z] ca983d60f3e2: Waiting [2022-05-05T12:24:54.011Z] ac28cf19c067: Waiting [2022-05-05T12:24:54.011Z] 0714d37db230: Waiting [2022-05-05T12:24:54.011Z] caf521ccaac6: Download complete [2022-05-05T12:24:54.011Z] 5c2a1cbceb83: Verifying Checksum [2022-05-05T12:24:54.011Z] 5c2a1cbceb83: Download complete [2022-05-05T12:24:54.011Z] a8d5f1318db7: Verifying Checksum [2022-05-05T12:24:54.011Z] a8d5f1318db7: Download complete [2022-05-05T12:24:54.011Z] c427282e49a2: Verifying Checksum [2022-05-05T12:24:54.011Z] c427282e49a2: Download complete [2022-05-05T12:24:54.274Z] 3ead6fa29328: Verifying Checksum [2022-05-05T12:24:54.274Z] 3ead6fa29328: Download complete [2022-05-05T12:24:54.274Z] 0714d37db230: Verifying Checksum [2022-05-05T12:24:54.274Z] 0714d37db230: Download complete [2022-05-05T12:24:54.274Z] ac28cf19c067: Download complete [2022-05-05T12:24:54.274Z] ca983d60f3e2: Download complete [2022-05-05T12:24:54.274Z] 9f894cec8388: Verifying Checksum [2022-05-05T12:24:54.274Z] 9f894cec8388: Download complete [2022-05-05T12:24:54.274Z] 1fe172e4850f: Verifying Checksum [2022-05-05T12:24:54.274Z] 1fe172e4850f: Download complete [2022-05-05T12:24:54.535Z] 1827001aaf11: Download complete [2022-05-05T12:24:55.919Z] 1fe172e4850f: Pull complete [2022-05-05T12:24:55.919Z] caf521ccaac6: Pull complete [2022-05-05T12:24:56.491Z] 3ead6fa29328: Pull complete [2022-05-05T12:24:56.491Z] 5c2a1cbceb83: Pull complete [2022-05-05T12:24:56.752Z] a8d5f1318db7: Pull complete [2022-05-05T12:24:56.752Z] c427282e49a2: Pull complete [2022-05-05T12:24:59.296Z] 1827001aaf11: Pull complete [2022-05-05T12:24:59.296Z] 0714d37db230: Pull complete [2022-05-05T12:24:59.296Z] ac28cf19c067: Pull complete [2022-05-05T12:24:59.296Z] ca983d60f3e2: Pull complete [2022-05-05T12:24:59.296Z] 9f894cec8388: Pull complete [2022-05-05T12:24:59.296Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-05T12:24:59.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-05T12:24:59.296Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-05T12:24:59.373Z] prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container [2022-05-05T12:24:59.417Z] $ 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:25:00.792Z] $ docker top d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 -eo pid,comm [2022-05-05T12:25:00.859Z] 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:25:00.859Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-05T12:25:00.898Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-05T12:25:00.898Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-05T12:25:01.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-05T12:25:01.054Z] $ docker exec d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 ssh-agent [2022-05-05T12:25:01.197Z] SSH_AUTH_SOCK=/tmp/ssh-AmubuL2NEMpt/agent.34 [2022-05-05T12:25:01.197Z] SSH_AGENT_PID=40 [2022-05-05T12:25:01.206Z] Running ssh-add (command line suppressed) [2022-05-05T12:25:01.340Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_4408375009294772092.key (/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_4408375009294772092.key) [2022-05-05T12:25:01.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-05T12:25:01.643Z] + git tag --points-at HEAD [Pipeline] } [2022-05-05T12:25:01.667Z] $ docker exec --env ******** --env ******** d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 ssh-agent -k [2022-05-05T12:25:01.788Z] unset SSH_AUTH_SOCK; [2022-05-05T12:25:01.788Z] unset SSH_AGENT_PID; [2022-05-05T12:25:01.788Z] echo Agent pid 40 killed; [2022-05-05T12:25:01.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-05T12:25:01.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-05T12:25:01.821Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-05T12:25:01.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-05T12:25:01.975Z] $ docker exec d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 ssh-agent [2022-05-05T12:25:02.105Z] SSH_AUTH_SOCK=/tmp/ssh-fZraRUnJwGpj/agent.73 [2022-05-05T12:25:02.105Z] SSH_AGENT_PID=80 [2022-05-05T12:25:02.110Z] Running ssh-add (command line suppressed) [2022-05-05T12:25:02.241Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_688313742515454090.key (/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_688313742515454090.key) [2022-05-05T12:25:02.252Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-05T12:25:02.547Z] + git semver init [2022-05-05T12:25:02.809Z] 2022-05-05 12:25:02,807 [run_init] DEBUG init version:0.0.0 force:False [2022-05-05T12:25:02.809Z] 2022-05-05 12:25:02,807 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver [2022-05-05T12:25:02.809Z] 2022-05-05 12:25:02,808 [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:25:02.809Z] 2022-05-05 12:25:02,808 [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:25:04.206Z] 2022-05-05 12:25:03,833 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-184/.git/info/exclude [2022-05-05T12:25:04.206Z] 2022-05-05 12:25:03,833 [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:25:04.206Z] 2022-05-05 12:25:03,834 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 [2022-05-05T12:25:04.206Z] 2022-05-05 12:25:03,837 [execute] INFO git cat-file --batch-check [2022-05-05T12:25:04.206Z] 2022-05-05 12:25:03,838 [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:25:04.206Z] 2022-05-05 12:25:03,843 [execute] INFO git cat-file --batch [2022-05-05T12:25:04.206Z] 2022-05-05 12:25:03,843 [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:25:04.206Z] 2022-05-05 12:25:03,847 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 [2022-05-05T12:25:04.206Z] 0.0.0 [Pipeline] } [2022-05-05T12:25:04.225Z] $ docker exec --env ******** --env ******** d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 ssh-agent -k [2022-05-05T12:25:04.349Z] unset SSH_AUTH_SOCK; [2022-05-05T12:25:04.349Z] unset SSH_AGENT_PID; [2022-05-05T12:25:04.349Z] echo Agent pid 80 killed; [2022-05-05T12:25:04.355Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-05T12:25:04.673Z] + git semver [Pipeline] } [2022-05-05T12:25:04.954Z] $ docker stop --time=1 d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 [2022-05-05T12:25:06.295Z] $ docker rm -f d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-05T12:25:06.655Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-05T12:25:06.912Z] Stashed 1 file(s) [Pipeline] echo [2022-05-05T12:25:06.917Z] [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:25:07.076Z] provisioning config files... [2022-05-05T12:25:07.087Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config84088151918558536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:25:07.390Z] ---> docker-login.sh [2022-05-05T12:25:07.390Z] nexus3.edgexfoundry.org:10001 [2022-05-05T12:25:07.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:25:07.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:25:07.390Z] Configure a credential helper to remove this warning. See [2022-05-05T12:25:07.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:25:07.390Z] [2022-05-05T12:25:07.390Z] Login Succeeded [2022-05-05T12:25:07.390Z] nexus3.edgexfoundry.org:10002 [2022-05-05T12:25:07.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:25:07.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:25:07.652Z] Configure a credential helper to remove this warning. See [2022-05-05T12:25:07.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:25:07.652Z] [2022-05-05T12:25:07.652Z] Login Succeeded [2022-05-05T12:25:07.652Z] nexus3.edgexfoundry.org:10003 [2022-05-05T12:25:07.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:25:07.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:25:07.652Z] Configure a credential helper to remove this warning. See [2022-05-05T12:25:07.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:25:07.652Z] [2022-05-05T12:25:07.652Z] Login Succeeded [2022-05-05T12:25:07.652Z] nexus3.edgexfoundry.org:10004 [2022-05-05T12:25:07.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:25:07.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:25:07.914Z] Configure a credential helper to remove this warning. See [2022-05-05T12:25:07.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:25:07.914Z] [2022-05-05T12:25:07.914Z] Login Succeeded [2022-05-05T12:25:07.914Z] docker.io [2022-05-05T12:25:07.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:25:08.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:25:08.176Z] Configure a credential helper to remove this warning. See [2022-05-05T12:25:08.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:25:08.176Z] [2022-05-05T12:25:08.176Z] Login Succeeded [2022-05-05T12:25:08.176Z] ---> docker-login.sh ends [Pipeline] } [2022-05-05T12:25:08.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-05T12:25:08.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-05T12:25:08.259Z] ========================================================= [2022-05-05T12:25:08.259Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-05T12:25:08.259Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:25:08.570Z] + 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:25:08.571Z] Sending build context to Docker daemon 10.61MB [2022-05-05T12:25:08.571Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-05T12:25:08.571Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-05T12:25:08.571Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-05T12:25:08.571Z] 59bf1c3509f3: Pulling fs layer [2022-05-05T12:25:08.571Z] 666ba61612fd: Pulling fs layer [2022-05-05T12:25:08.571Z] 8ed8ca486205: Pulling fs layer [2022-05-05T12:25:08.571Z] 4fe6c5a15a65: Pulling fs layer [2022-05-05T12:25:08.571Z] 22a0e8bec74d: Pulling fs layer [2022-05-05T12:25:08.571Z] ca2b28591e48: Pulling fs layer [2022-05-05T12:25:08.571Z] 22a0e8bec74d: Waiting [2022-05-05T12:25:08.571Z] 4fe6c5a15a65: Waiting [2022-05-05T12:25:08.571Z] a51346096db8: Pulling fs layer [2022-05-05T12:25:08.571Z] daebc70d1ce1: Pulling fs layer [2022-05-05T12:25:08.571Z] 0e18a0eac166: Pulling fs layer [2022-05-05T12:25:08.571Z] ca2b28591e48: Waiting [2022-05-05T12:25:08.571Z] a51346096db8: Waiting [2022-05-05T12:25:08.571Z] daebc70d1ce1: Waiting [2022-05-05T12:25:08.571Z] 0e18a0eac166: Waiting [2022-05-05T12:25:08.571Z] 8ed8ca486205: Download complete [2022-05-05T12:25:08.833Z] 666ba61612fd: Verifying Checksum [2022-05-05T12:25:08.833Z] 666ba61612fd: Download complete [2022-05-05T12:25:08.833Z] 22a0e8bec74d: Download complete [2022-05-05T12:25:08.833Z] ca2b28591e48: Verifying Checksum [2022-05-05T12:25:08.833Z] ca2b28591e48: Download complete [2022-05-05T12:25:08.833Z] a51346096db8: Verifying Checksum [2022-05-05T12:25:08.833Z] a51346096db8: Download complete [2022-05-05T12:25:08.833Z] 59bf1c3509f3: Verifying Checksum [2022-05-05T12:25:08.833Z] 59bf1c3509f3: Download complete [2022-05-05T12:25:08.833Z] daebc70d1ce1: Verifying Checksum [2022-05-05T12:25:08.833Z] daebc70d1ce1: Download complete [2022-05-05T12:25:08.833Z] 59bf1c3509f3: Pull complete [2022-05-05T12:25:09.101Z] 666ba61612fd: Pull complete [2022-05-05T12:25:09.101Z] 8ed8ca486205: Pull complete [2022-05-05T12:25:09.364Z] 0e18a0eac166: Verifying Checksum [2022-05-05T12:25:09.364Z] 0e18a0eac166: Download complete [2022-05-05T12:25:09.626Z] 4fe6c5a15a65: Verifying Checksum [2022-05-05T12:25:09.626Z] 4fe6c5a15a65: Download complete [2022-05-05T12:25:13.829Z] 4fe6c5a15a65: Pull complete [2022-05-05T12:25:13.829Z] 22a0e8bec74d: Pull complete [2022-05-05T12:25:13.829Z] ca2b28591e48: Pull complete [2022-05-05T12:25:13.829Z] a51346096db8: Pull complete [2022-05-05T12:25:14.090Z] daebc70d1ce1: Pull complete [2022-05-05T12:25:16.632Z] 0e18a0eac166: Pull complete [2022-05-05T12:25:16.632Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-05T12:25:16.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-05T12:25:16.632Z] ---> f018257e8ee9 [2022-05-05T12:25:16.632Z] Step 3/12 : ARG MAKE='make build' [2022-05-05T12:25:17.576Z] ---> Running in 2212ed8c00aa [2022-05-05T12:25:17.839Z] Removing intermediate container 2212ed8c00aa [2022-05-05T12:25:17.839Z] ---> a49e867ab78e [2022-05-05T12:25:17.839Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-05T12:25:17.839Z] ---> Running in 77cce0c9a6e2 [2022-05-05T12:25:17.839Z] Removing intermediate container 77cce0c9a6e2 [2022-05-05T12:25:17.839Z] ---> bee48499eaa2 [2022-05-05T12:25:17.839Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-05T12:25:17.839Z] ---> Running in 086c9a3b58c4 [2022-05-05T12:25:18.101Z] Removing intermediate container 086c9a3b58c4 [2022-05-05T12:25:18.101Z] ---> 172aa4465910 [2022-05-05T12:25:18.101Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-05T12:25:18.101Z] ---> Running in 401184f42158 [2022-05-05T12:25:18.673Z] Removing intermediate container 401184f42158 [2022-05-05T12:25:18.673Z] ---> c57376ffa649 [2022-05-05T12:25:18.674Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-05T12:25:18.674Z] ---> Running in 0c10a6582209 [2022-05-05T12:25:18.935Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-05T12:25:19.876Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-05T12:25:20.140Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-05T12:25:20.402Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-05T12:25:20.402Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-05T12:25:20.402Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-05T12:25:20.663Z] Executing busybox-1.34.1-r3.trigger [2022-05-05T12:25:20.664Z] OK: 224 MiB in 56 packages [2022-05-05T12:25:20.927Z] Removing intermediate container 0c10a6582209 [2022-05-05T12:25:20.927Z] ---> 81c210cc0f97 [2022-05-05T12:25:20.927Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-05T12:25:21.189Z] ---> Running in 23bc4c72a731 [2022-05-05T12:25:21.189Z] Removing intermediate container 23bc4c72a731 [2022-05-05T12:25:21.189Z] ---> e863d0c6bbc3 [2022-05-05T12:25:21.189Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-05T12:25:21.189Z] ---> 50d74bd47223 [2022-05-05T12:25:21.189Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-05T12:25:21.450Z] ---> Running in 1a1735782e9b [2022-05-05T12:25:22.043Z] Still waiting to schedule task [2022-05-05T12:25:22.044Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-05T12:25:36.361Z] Removing intermediate container 1a1735782e9b [2022-05-05T12:25:36.361Z] ---> 77ca26336006 [2022-05-05T12:25:36.361Z] Step 11/12 : COPY . . [2022-05-05T12:25:36.361Z] ---> 03bd9e48b32f [2022-05-05T12:25:36.361Z] Step 12/12 : RUN $MAKE [2022-05-05T12:25:36.361Z] ---> Running in 1bf9a90128c3 [2022-05-05T12:25:36.361Z] noop [2022-05-05T12:25:36.361Z] Removing intermediate container 1bf9a90128c3 [2022-05-05T12:25:36.361Z] ---> 8c0b37a40ce6 [2022-05-05T12:25:36.361Z] Successfully built 8c0b37a40ce6 [2022-05-05T12:25:36.361Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:25:36.662Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-05T12:25:36.662Z] . [Pipeline] withDockerContainer [2022-05-05T12:25:36.732Z] prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container [2022-05-05T12:25:36.777Z] $ 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:25:37.160Z] $ docker top d9934922eff104882bf32beb098a4004b965ae2ae7678debd4135e56aa217d8f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-05T12:25:37.513Z] + go version [2022-05-05T12:25:37.513Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-05T12:25:37.528Z] $ docker stop --time=1 d9934922eff104882bf32beb098a4004b965ae2ae7678debd4135e56aa217d8f [2022-05-05T12:25:38.834Z] $ docker rm -f d9934922eff104882bf32beb098a4004b965ae2ae7678debd4135e56aa217d8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:25:39.255Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-05T12:25:39.256Z] . [Pipeline] withDockerContainer [2022-05-05T12:25:39.329Z] prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container [2022-05-05T12:25:39.378Z] $ 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:25:39.803Z] $ docker top 088151072d712c9a8520392bd94fef41e243a174ee803a624ca750857c3c06b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-05T12:25:40.165Z] + make test [2022-05-05T12:25:40.166Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-05T12:25:40.427Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-05T12:25:52.646Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-05T12:25:52.646Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-05-05T12:25:59.224Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-05T12:26:03.542Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-05T12:26:03.542Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-05T12:26:03.542Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-05T12:26:04.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-05T12:26:04.149Z] $ docker stop --time=1 088151072d712c9a8520392bd94fef41e243a174ee803a624ca750857c3c06b5 [2022-05-05T12:26:05.884Z] $ docker rm -f 088151072d712c9a8520392bd94fef41e243a174ee803a624ca750857c3c06b5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-05T12:26:06.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-05T12:26:06.388Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-05T12:26:06.911Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-05T12:26:07.200Z] + ls -al . [2022-05-05T12:26:07.200Z] total 172 [2022-05-05T12:26:07.200Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 12:26 . [2022-05-05T12:26:07.200Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 12:24 .. [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 151 May 5 12:24 .dockerignore [2022-05-05T12:26:07.200Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:25 .git [2022-05-05T12:26:07.200Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:24 .github [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 329 May 5 12:24 .gitignore [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 12:24 .golangci.yml [2022-05-05T12:26:07.200Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 12:25 .semver [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 5 12:24 Attribution.txt [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 5 12:24 CHANGELOG.md [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 5 12:24 Dockerfile [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 12:24 GOVERNANCE.md [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 12:24 Jenkinsfile [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 12:24 LICENSE [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 5 12:24 Makefile [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 12:24 OWNERS.md [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 8212 May 5 12:24 README.md [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 12:25 VERSION [2022-05-05T12:26:07.200Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:24 bin [2022-05-05T12:26:07.200Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:24 cmd [2022-05-05T12:26:07.200Z] -rw-r--r-- 1 jenkins jenkins 9355 May 5 12:25 coverage.out [2022-05-05T12:26:07.200Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:24 driver [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 5 12:24 go.mod [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 5 12:24 go.sum [2022-05-05T12:26:07.200Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:24 snap [2022-05-05T12:26:07.200Z] -rw-rw-r-- 1 jenkins jenkins 713 May 5 12:24 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:26:07.499Z] + 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=24f2d44d41511aea7b66a902317587beb4819f28 --label arch=amd64 --label version=0.0.0 . [2022-05-05T12:26:07.500Z] Sending build context to Docker daemon 10.62MB [2022-05-05T12:26:07.500Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-05T12:26:07.500Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-05T12:26:07.500Z] ---> 8c0b37a40ce6 [2022-05-05T12:26:07.500Z] Step 3/25 : ARG MAKE='make build' [2022-05-05T12:26:07.500Z] ---> Running in f8ea8cca1922 [2022-05-05T12:26:07.760Z] Removing intermediate container f8ea8cca1922 [2022-05-05T12:26:07.760Z] ---> 9bf507129f04 [2022-05-05T12:26:07.760Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-05T12:26:07.760Z] ---> Running in 634cc619fefc [2022-05-05T12:26:07.760Z] Removing intermediate container 634cc619fefc [2022-05-05T12:26:07.760Z] ---> b17ea46590f3 [2022-05-05T12:26:07.760Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-05T12:26:07.760Z] ---> Running in fdf5e78e1172 [2022-05-05T12:26:08.020Z] Removing intermediate container fdf5e78e1172 [2022-05-05T12:26:08.020Z] ---> 14e233e6bc72 [2022-05-05T12:26:08.020Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-05T12:26:08.020Z] ---> Running in 25ce9a7be4cd [2022-05-05T12:26:08.592Z] Removing intermediate container 25ce9a7be4cd [2022-05-05T12:26:08.592Z] ---> 30d6c7046d9f [2022-05-05T12:26:08.592Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-05T12:26:08.593Z] ---> Running in a09b5704821c [2022-05-05T12:26:08.853Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-05T12:26:09.792Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-05T12:26:10.052Z] OK: 224 MiB in 56 packages [2022-05-05T12:26:10.312Z] Removing intermediate container a09b5704821c [2022-05-05T12:26:10.312Z] ---> b205a02bafda [2022-05-05T12:26:10.312Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-05T12:26:10.312Z] ---> Running in f5fbc352f439 [2022-05-05T12:26:10.572Z] Removing intermediate container f5fbc352f439 [2022-05-05T12:26:10.572Z] ---> 973cea28e30c [2022-05-05T12:26:10.572Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-05T12:26:10.572Z] ---> fb41f7790a5d [2022-05-05T12:26:10.572Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-05T12:26:10.572Z] ---> Running in f0232ab2fbfb [2022-05-05T12:26:11.518Z] Removing intermediate container f0232ab2fbfb [2022-05-05T12:26:11.518Z] ---> 21506b87d15e [2022-05-05T12:26:11.518Z] Step 11/25 : COPY . . [2022-05-05T12:26:11.518Z] ---> 911cd573036b [2022-05-05T12:26:11.518Z] Step 12/25 : RUN $MAKE [2022-05-05T12:26:11.777Z] ---> Running in cbfc221b422c [2022-05-05T12:26:12.037Z] 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:26:33.994Z] Removing intermediate container cbfc221b422c [2022-05-05T12:26:33.994Z] ---> b7a03aaaa5e6 [2022-05-05T12:26:33.994Z] Step 13/25 : FROM alpine:3.14 [2022-05-05T12:26:33.994Z] 3.14: Pulling from library/alpine [2022-05-05T12:26:33.994Z] 8663204ce13b: Pulling fs layer [2022-05-05T12:26:33.994Z] 8663204ce13b: Verifying Checksum [2022-05-05T12:26:33.994Z] 8663204ce13b: Download complete [2022-05-05T12:26:33.994Z] 8663204ce13b: Pull complete [2022-05-05T12:26:33.994Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-05T12:26:33.994Z] Status: Downloaded newer image for alpine:3.14 [2022-05-05T12:26:33.994Z] ---> e04c818066af [2022-05-05T12:26:33.994Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-05T12:26:33.994Z] ---> Running in dae600ff19dc [2022-05-05T12:26:33.994Z] Removing intermediate container dae600ff19dc [2022-05-05T12:26:33.994Z] ---> b0c1404be3db [2022-05-05T12:26:33.994Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-05T12:26:33.994Z] ---> Running in b65cb402ce96 [2022-05-05T12:26:33.994Z] Removing intermediate container b65cb402ce96 [2022-05-05T12:26:33.994Z] ---> 08320a2f44a3 [2022-05-05T12:26:33.994Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-05T12:26:33.994Z] ---> Running in f61e79842eb3 [2022-05-05T12:26:34.253Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-05T12:26:34.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-05T12:26:34.805Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-05T12:26:34.805Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-05T12:26:34.805Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-05T12:26:34.805Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-05T12:26:34.805Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-05T12:26:34.805Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-05T12:26:34.805Z] Executing busybox-1.33.1-r7.trigger [2022-05-05T12:26:34.805Z] OK: 8 MiB in 20 packages [2022-05-05T12:26:35.065Z] Removing intermediate container f61e79842eb3 [2022-05-05T12:26:35.065Z] ---> 56ac49e0a192 [2022-05-05T12:26:35.065Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-05T12:26:35.633Z] ---> be1dba7f9211 [2022-05-05T12:26:35.633Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-05T12:26:35.893Z] ---> 00b70f15c24f [2022-05-05T12:26:35.893Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-05T12:26:35.893Z] ---> 6447189d7eb2 [2022-05-05T12:26:35.893Z] Step 20/25 : EXPOSE 59986 [2022-05-05T12:26:35.893Z] ---> Running in e0bc42ce334e [2022-05-05T12:26:36.153Z] Removing intermediate container e0bc42ce334e [2022-05-05T12:26:36.153Z] ---> 1c9b6d9b04fd [2022-05-05T12:26:36.153Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-05T12:26:36.153Z] ---> Running in b002f1f8d32d [2022-05-05T12:26:36.153Z] Removing intermediate container b002f1f8d32d [2022-05-05T12:26:36.153Z] ---> c5d5ee3635fd [2022-05-05T12:26:36.153Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-05T12:26:36.153Z] ---> Running in 4be850e97d72 [2022-05-05T12:26:36.416Z] Removing intermediate container 4be850e97d72 [2022-05-05T12:26:36.416Z] ---> e53a1866b77e [2022-05-05T12:26:36.416Z] Step 23/25 : LABEL arch=amd64 [2022-05-05T12:26:36.416Z] ---> Running in 32c15a536db5 [2022-05-05T12:26:36.416Z] Removing intermediate container 32c15a536db5 [2022-05-05T12:26:36.416Z] ---> 7f28c1c6e131 [2022-05-05T12:26:36.416Z] Step 24/25 : LABEL git_sha=24f2d44d41511aea7b66a902317587beb4819f28 [2022-05-05T12:26:36.416Z] ---> Running in 02bca5614f10 [2022-05-05T12:26:36.678Z] Removing intermediate container 02bca5614f10 [2022-05-05T12:26:36.678Z] ---> 609baa83a0b4 [2022-05-05T12:26:36.678Z] Step 25/25 : LABEL version=0.0.0 [2022-05-05T12:26:36.678Z] ---> Running in 71cc203032d3 [2022-05-05T12:26:36.678Z] Removing intermediate container 71cc203032d3 [2022-05-05T12:26:36.678Z] ---> 5763a5837745 [2022-05-05T12:26:36.678Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-05T12:26:36.678Z] Successfully built 5763a5837745 [2022-05-05T12:26:36.678Z] 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:26:37.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-05T12:26:37.090Z] [2022-05-05T12:26:37.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:26:37.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-05T12:26:37.394Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-05T12:26:37.394Z] 5eb5b503b376: Pulling fs layer [2022-05-05T12:26:37.394Z] 5c69ac0246d0: Pulling fs layer [2022-05-05T12:26:37.394Z] ec43610c2a17: Pulling fs layer [2022-05-05T12:26:37.394Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-05T12:26:37.394Z] 33b1e0a273af: Pulling fs layer [2022-05-05T12:26:37.394Z] 5d3b04190fa2: Pulling fs layer [2022-05-05T12:26:37.394Z] 2f39f015ded8: Pulling fs layer [2022-05-05T12:26:37.394Z] 3a2ae6a8a46f: Waiting [2022-05-05T12:26:37.394Z] 33b1e0a273af: Waiting [2022-05-05T12:26:37.394Z] 5d3b04190fa2: Waiting [2022-05-05T12:26:37.394Z] 2f39f015ded8: Waiting [2022-05-05T12:26:37.394Z] 5c69ac0246d0: Verifying Checksum [2022-05-05T12:26:37.394Z] 5c69ac0246d0: Download complete [2022-05-05T12:26:37.394Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-05T12:26:37.394Z] 3a2ae6a8a46f: Download complete [2022-05-05T12:26:37.394Z] 33b1e0a273af: Verifying Checksum [2022-05-05T12:26:37.394Z] 33b1e0a273af: Download complete [2022-05-05T12:26:37.394Z] 5d3b04190fa2: Verifying Checksum [2022-05-05T12:26:37.394Z] 5d3b04190fa2: Download complete [2022-05-05T12:26:37.655Z] ec43610c2a17: Verifying Checksum [2022-05-05T12:26:37.655Z] ec43610c2a17: Download complete [2022-05-05T12:26:37.655Z] 5eb5b503b376: Verifying Checksum [2022-05-05T12:26:37.655Z] 5eb5b503b376: Download complete [2022-05-05T12:26:38.223Z] 2f39f015ded8: Download complete [2022-05-05T12:26:39.159Z] 5eb5b503b376: Pull complete [2022-05-05T12:26:39.160Z] 5c69ac0246d0: Pull complete [2022-05-05T12:26:39.419Z] ec43610c2a17: Pull complete [2022-05-05T12:26:39.677Z] 3a2ae6a8a46f: Pull complete [2022-05-05T12:26:39.937Z] 33b1e0a273af: Pull complete [2022-05-05T12:26:39.937Z] 5d3b04190fa2: Pull complete [2022-05-05T12:26:45.220Z] 2f39f015ded8: Pull complete [2022-05-05T12:26:45.220Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-05T12:26:45.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-05T12:26:45.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-05T12:26:45.291Z] prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container [2022-05-05T12:26:45.332Z] $ 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:26:47.767Z] $ docker top 2de925230f7d06a9526e44019056c07a19f2010922d06cea11a4b29b95f5eb8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:26:48.235Z] ---> job-cost.sh [2022-05-05T12:26:48.235Z] lf-activate-venv: SKIPPING [2022-05-05T12:26:48.235Z] INFO: No Stack... [2022-05-05T12:26:48.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-05T12:26:49.061Z] INFO: Archiving Costs [Pipeline] sh [2022-05-05T12:26:49.352Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-184/archives/cost.csv [2022-05-05T12:26:49.352Z] + cut -d, -f6 [Pipeline] lock [2022-05-05T12:26:49.368Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [2022-05-05T12:26:49.376Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] did not exist. Created. [2022-05-05T12:26:49.377Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-05T12:26:49.682Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-05T12:26:49.712Z] Stashed 1 file(s) [Pipeline] } [2022-05-05T12:26:49.718Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-05T12:26:49.742Z] $ docker stop --time=1 2de925230f7d06a9526e44019056c07a19f2010922d06cea11a4b29b95f5eb8e [2022-05-05T12:26:50.901Z] $ docker rm -f 2de925230f7d06a9526e44019056c07a19f2010922d06cea11a4b29b95f5eb8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-05T12:26:59.339Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-40493 in /w/workspace/gexfoundry_device-rest-go_PR-184 [Pipeline] { [Pipeline] ws [2022-05-05T12:26:59.353Z] Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout [2022-05-05T12:26:59.860Z] The recommended git tool is: git [2022-05-05T12:27:06.453Z] using credential edgex-jenkins-ssh [2022-05-05T12:27:06.469Z] Cloning the remote Git repository [2022-05-05T12:27:06.518Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-05T12:27:06.587Z] > git init /w/workspace/device-rest-go/5 # timeout=10 [2022-05-05T12:27:06.653Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-05T12:27:06.654Z] > git --version # timeout=10 [2022-05-05T12:27:06.671Z] > git --version # 'git version 2.25.1' [2022-05-05T12:27:06.672Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-05T12:27:06.768Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-05T12:27:08.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-05T12:27:08.548Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-05T12:27:08.574Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-05T12:27:08.629Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-05T12:27:08.629Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-05T12:27:09.290Z] Merging remotes/origin/main commit f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit 24f2d44d41511aea7b66a902317587beb4819f28 [2022-05-05T12:27:09.503Z] Merge succeeded, producing 24f2d44d41511aea7b66a902317587beb4819f28 [2022-05-05T12:27:09.503Z] Checking out Revision 24f2d44d41511aea7b66a902317587beb4819f28 (PR-184) [2022-05-05T12:27:08.690Z] > 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:27:09.310Z] > git config core.sparsecheckout # timeout=10 [2022-05-05T12:27:09.342Z] > git checkout -f 24f2d44d41511aea7b66a902317587beb4819f28 # timeout=10 [2022-05-05T12:27:09.420Z] > git remote # timeout=10 [2022-05-05T12:27:09.437Z] > git config --get remote.origin.url # timeout=10 [2022-05-05T12:27:09.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-05T12:27:09.463Z] > git merge f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 [2022-05-05T12:27:09.486Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-05T12:27:09.512Z] > git config core.sparsecheckout # timeout=10 [2022-05-05T12:27:09.530Z] > git checkout -f 24f2d44d41511aea7b66a902317587beb4819f28 # timeout=10 [2022-05-05T12:27:13.676Z] Commit message: "docs: cleanup references" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-05T12:27:14.572Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-05T12:27:14.572Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-05T12:27:14.572Z] Dload Upload Total Spent Left Speed [2022-05-05T12:27:14.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh [2022-05-05T12:27:15.119Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-05T12:27:15.462Z] + sudo tee /etc/docker/daemon.new [2022-05-05T12:27:15.463Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-05T12:27:15.463Z] { [2022-05-05T12:27:15.463Z] "registry-mirrors": [ [2022-05-05T12:27:15.463Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-05T12:27:15.463Z] ], [2022-05-05T12:27:15.463Z] "bip": "10.250.0.254/24", [2022-05-05T12:27:15.463Z] "hosts": [ [2022-05-05T12:27:15.463Z] "tcp://0.0.0.0:5555", [2022-05-05T12:27:15.463Z] "unix:///var/run/docker.sock" [2022-05-05T12:27:15.463Z] ], [2022-05-05T12:27:15.463Z] "mtu": 1458, [2022-05-05T12:27:15.463Z] "selinux-enabled": true, [2022-05-05T12:27:15.463Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-05T12:27:15.463Z] } [Pipeline] sh [2022-05-05T12:27:15.811Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-05T12:27:16.159Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-05T12:27:34.568Z] provisioning config files... [2022-05-05T12:27:34.594Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config956241185420961579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:27:34.971Z] ---> docker-login.sh [2022-05-05T12:27:34.971Z] nexus3.edgexfoundry.org:10001 [2022-05-05T12:27:35.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:27:35.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:27:35.842Z] Configure a credential helper to remove this warning. See [2022-05-05T12:27:35.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:27:35.842Z] [2022-05-05T12:27:35.842Z] Login Succeeded [2022-05-05T12:27:35.842Z] nexus3.edgexfoundry.org:10002 [2022-05-05T12:27:36.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:27:36.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:27:36.388Z] Configure a credential helper to remove this warning. See [2022-05-05T12:27:36.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:27:36.388Z] [2022-05-05T12:27:36.388Z] Login Succeeded [2022-05-05T12:27:36.388Z] nexus3.edgexfoundry.org:10003 [2022-05-05T12:27:36.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:27:36.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:27:36.664Z] Configure a credential helper to remove this warning. See [2022-05-05T12:27:36.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:27:36.664Z] [2022-05-05T12:27:36.664Z] Login Succeeded [2022-05-05T12:27:36.664Z] nexus3.edgexfoundry.org:10004 [2022-05-05T12:27:36.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:27:37.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:27:37.215Z] Configure a credential helper to remove this warning. See [2022-05-05T12:27:37.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:27:37.215Z] [2022-05-05T12:27:37.215Z] Login Succeeded [2022-05-05T12:27:37.215Z] docker.io [2022-05-05T12:27:37.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-05T12:27:38.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-05T12:27:38.086Z] Configure a credential helper to remove this warning. See [2022-05-05T12:27:38.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-05T12:27:38.086Z] [2022-05-05T12:27:38.086Z] Login Succeeded [2022-05-05T12:27:38.086Z] ---> docker-login.sh ends [Pipeline] } [2022-05-05T12:27:38.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-05T12:27:38.537Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-05T12:27:38.554Z] ========================================================= [2022-05-05T12:27:38.554Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-05T12:27:38.554Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:27:38.915Z] + 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:27:38.915Z] Sending build context to Docker daemon 124.4kB [2022-05-05T12:27:39.190Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-05T12:27:39.190Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-05T12:27:39.469Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-05T12:27:39.469Z] 9b3977197b4f: Pulling fs layer [2022-05-05T12:27:39.469Z] 1a89e8eeedd5: Pulling fs layer [2022-05-05T12:27:39.469Z] 94645a83ff95: Pulling fs layer [2022-05-05T12:27:39.469Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-05T12:27:39.469Z] 0c92f367c5e7: Pulling fs layer [2022-05-05T12:27:39.469Z] 3096ccb668a1: Pulling fs layer [2022-05-05T12:27:39.469Z] e8cf19c19ddd: Pulling fs layer [2022-05-05T12:27:39.469Z] a4caa8a26152: Pulling fs layer [2022-05-05T12:27:39.469Z] 3f3a8bcf1eab: Waiting [2022-05-05T12:27:39.469Z] 0c92f367c5e7: Waiting [2022-05-05T12:27:39.469Z] 3096ccb668a1: Waiting [2022-05-05T12:27:39.469Z] e8cf19c19ddd: Waiting [2022-05-05T12:27:39.469Z] a4caa8a26152: Waiting [2022-05-05T12:27:39.469Z] 94645a83ff95: Verifying Checksum [2022-05-05T12:27:39.469Z] 94645a83ff95: Download complete [2022-05-05T12:27:39.469Z] 1a89e8eeedd5: Download complete [2022-05-05T12:27:39.469Z] 0c92f367c5e7: Verifying Checksum [2022-05-05T12:27:39.469Z] 0c92f367c5e7: Download complete [2022-05-05T12:27:39.469Z] 3096ccb668a1: Verifying Checksum [2022-05-05T12:27:39.469Z] 3096ccb668a1: Download complete [2022-05-05T12:27:39.469Z] e8cf19c19ddd: Verifying Checksum [2022-05-05T12:27:39.469Z] e8cf19c19ddd: Download complete [2022-05-05T12:27:39.469Z] 9b3977197b4f: Verifying Checksum [2022-05-05T12:27:39.469Z] 9b3977197b4f: Download complete [2022-05-05T12:27:40.082Z] 9b3977197b4f: Pull complete [2022-05-05T12:27:40.695Z] 1a89e8eeedd5: Pull complete [2022-05-05T12:27:40.972Z] 94645a83ff95: Pull complete [2022-05-05T12:27:41.570Z] a4caa8a26152: Verifying Checksum [2022-05-05T12:27:41.570Z] a4caa8a26152: Download complete [2022-05-05T12:27:42.173Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-05T12:27:42.173Z] 3f3a8bcf1eab: Download complete [2022-05-05T12:27:54.589Z] 3f3a8bcf1eab: Pull complete [2022-05-05T12:27:54.589Z] 0c92f367c5e7: Pull complete [2022-05-05T12:27:54.589Z] 3096ccb668a1: Pull complete [2022-05-05T12:27:54.589Z] e8cf19c19ddd: Pull complete [2022-05-05T12:28:01.317Z] a4caa8a26152: Pull complete [2022-05-05T12:28:01.317Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-05T12:28:01.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-05T12:28:01.317Z] ---> 725f1c02e7f9 [2022-05-05T12:28:01.317Z] Step 3/12 : ARG MAKE='make build' [2022-05-05T12:28:01.604Z] ---> Running in 69207fac2131 [2022-05-05T12:28:01.884Z] Removing intermediate container 69207fac2131 [2022-05-05T12:28:01.884Z] ---> 73fe6dbe8574 [2022-05-05T12:28:01.884Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-05T12:28:01.884Z] ---> Running in 051ed6af6054 [2022-05-05T12:28:02.171Z] Removing intermediate container 051ed6af6054 [2022-05-05T12:28:02.171Z] ---> b57ecaec7e26 [2022-05-05T12:28:02.171Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-05T12:28:02.451Z] ---> Running in a9624bf7ddf8 [2022-05-05T12:28:02.727Z] Removing intermediate container a9624bf7ddf8 [2022-05-05T12:28:02.728Z] ---> d6c4a78edd94 [2022-05-05T12:28:02.728Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-05T12:28:02.728Z] ---> Running in 769a67f039a0 [2022-05-05T12:28:04.717Z] Removing intermediate container 769a67f039a0 [2022-05-05T12:28:04.717Z] ---> 17e047261456 [2022-05-05T12:28:04.717Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-05T12:28:04.717Z] ---> Running in 1333b48eec40 [2022-05-05T12:28:05.312Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-05T12:28:06.295Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-05T12:28:07.297Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-05T12:28:07.297Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-05T12:28:07.297Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-05T12:28:07.577Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-05T12:28:07.577Z] Executing busybox-1.34.1-r3.trigger [2022-05-05T12:28:07.577Z] OK: 224 MiB in 56 packages [2022-05-05T12:28:08.574Z] Removing intermediate container 1333b48eec40 [2022-05-05T12:28:08.574Z] ---> f5ef8cbec2a8 [2022-05-05T12:28:08.574Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-05T12:28:08.851Z] ---> Running in 8adf0ee212c9 [2022-05-05T12:28:09.125Z] Removing intermediate container 8adf0ee212c9 [2022-05-05T12:28:09.125Z] ---> 2e8b92b49295 [2022-05-05T12:28:09.125Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-05T12:28:09.411Z] ---> fbe960468fb3 [2022-05-05T12:28:09.411Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-05T12:28:09.701Z] ---> Running in 14ca0b873571 [2022-05-05T12:28:56.702Z] Removing intermediate container 14ca0b873571 [2022-05-05T12:28:56.702Z] ---> fc9e418b5587 [2022-05-05T12:28:56.702Z] Step 11/12 : COPY . . [2022-05-05T12:28:56.702Z] ---> c6b4477f0caa [2022-05-05T12:28:56.702Z] Step 12/12 : RUN $MAKE [2022-05-05T12:28:56.702Z] ---> Running in ef7483cb9023 [2022-05-05T12:28:57.692Z] noop [2022-05-05T12:28:58.290Z] Removing intermediate container ef7483cb9023 [2022-05-05T12:28:58.290Z] ---> 718dd1d5d4ff [2022-05-05T12:28:58.290Z] Successfully built 718dd1d5d4ff [2022-05-05T12:28:58.290Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:28:58.639Z] + docker inspect -f . ci-base-image-arm64 [2022-05-05T12:28:58.639Z] . [Pipeline] withDockerContainer [2022-05-05T12:28:58.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-40493 does not seem to be running inside a container [2022-05-05T12:28:58.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** ci-base-image-arm64 cat [2022-05-05T12:29:00.233Z] $ docker top eb5218577aacbab438a985bb9d4890a6c6afdaf4a0d995d15114f1c086e75aba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-05T12:29:01.132Z] + go version [2022-05-05T12:29:01.132Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-05T12:29:01.171Z] $ docker stop --time=1 eb5218577aacbab438a985bb9d4890a6c6afdaf4a0d995d15114f1c086e75aba [2022-05-05T12:29:02.817Z] $ docker rm -f eb5218577aacbab438a985bb9d4890a6c6afdaf4a0d995d15114f1c086e75aba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:29:03.424Z] + docker inspect -f . ci-base-image-arm64 [2022-05-05T12:29:03.424Z] . [Pipeline] withDockerContainer [2022-05-05T12:29:03.642Z] prd-ubuntu20.04-docker-arm64-4c-16g-40493 does not seem to be running inside a container [2022-05-05T12:29:03.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** ci-base-image-arm64 cat [2022-05-05T12:29:05.000Z] $ docker top 5ece14aa8d80ebab1dcc14dd5dc10e549143f2220f5244bd887d86417449158f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-05T12:29:05.934Z] + make test [2022-05-05T12:29:05.934Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-05T12:29:07.372Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-05T12:30:29.221Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-05T12:30:29.221Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-05-05T12:30:29.221Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-05T12:30:29.221Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-05T12:30:51.429Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-05T12:30:51.429Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-05T12:30:51.429Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-05T12:30:52.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-05T12:30:52.461Z] $ docker stop --time=1 5ece14aa8d80ebab1dcc14dd5dc10e549143f2220f5244bd887d86417449158f [2022-05-05T12:30:54.231Z] $ docker rm -f 5ece14aa8d80ebab1dcc14dd5dc10e549143f2220f5244bd887d86417449158f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-05T12:30:55.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-05T12:30:55.175Z] Warning: overwriting stash ‘coverage-report’ [2022-05-05T12:30:55.631Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-05T12:30:56.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-05T12:30:56.356Z] + ls -al . [2022-05-05T12:30:56.356Z] total 168 [2022-05-05T12:30:56.356Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:30 . [2022-05-05T12:30:56.356Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 12:27 .. [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 151 May 5 12:27 .dockerignore [2022-05-05T12:30:56.356Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:27 .git [2022-05-05T12:30:56.356Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:27 .github [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 329 May 5 12:27 .gitignore [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 12:27 .golangci.yml [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 5 12:27 Attribution.txt [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 5 12:27 CHANGELOG.md [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 5 12:27 Dockerfile [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 12:27 GOVERNANCE.md [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 12:27 Jenkinsfile [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 12:27 LICENSE [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 5 12:27 Makefile [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 12:27 OWNERS.md [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 8212 May 5 12:27 README.md [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 12:25 VERSION [2022-05-05T12:30:56.356Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:27 bin [2022-05-05T12:30:56.356Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:27 cmd [2022-05-05T12:30:56.356Z] -rw-r--r-- 1 jenkins jenkins 9355 May 5 12:30 coverage.out [2022-05-05T12:30:56.356Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:27 driver [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 5 12:27 go.mod [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 5 12:27 go.sum [2022-05-05T12:30:56.356Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:27 snap [2022-05-05T12:30:56.356Z] -rw-rw-r-- 1 jenkins jenkins 713 May 5 12:27 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:30:56.703Z] + 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=24f2d44d41511aea7b66a902317587beb4819f28 --label arch=arm64 --label version=0.0.0 . [2022-05-05T12:30:56.703Z] Sending build context to Docker daemon 134.7kB [2022-05-05T12:30:56.978Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-05T12:30:56.978Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-05T12:30:56.978Z] ---> 718dd1d5d4ff [2022-05-05T12:30:56.978Z] Step 3/25 : ARG MAKE='make build' [2022-05-05T12:30:57.253Z] ---> Running in 9fe3ab0e5dce [2022-05-05T12:30:57.528Z] Removing intermediate container 9fe3ab0e5dce [2022-05-05T12:30:57.528Z] ---> 3afa195094ca [2022-05-05T12:30:57.528Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-05T12:30:57.528Z] ---> Running in 0fa0b06cfd07 [2022-05-05T12:30:57.803Z] Removing intermediate container 0fa0b06cfd07 [2022-05-05T12:30:57.803Z] ---> e40b8bd5d5ba [2022-05-05T12:30:57.803Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-05T12:30:57.803Z] ---> Running in ccaa6de16997 [2022-05-05T12:30:58.079Z] Removing intermediate container ccaa6de16997 [2022-05-05T12:30:58.079Z] ---> 4180b268aac9 [2022-05-05T12:30:58.079Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-05T12:30:58.354Z] ---> Running in 6ea8af9ae6f4 [2022-05-05T12:30:59.794Z] Removing intermediate container 6ea8af9ae6f4 [2022-05-05T12:30:59.794Z] ---> 53624ce359c8 [2022-05-05T12:30:59.794Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-05T12:30:59.794Z] ---> Running in 8531e2c2db93 [2022-05-05T12:31:00.774Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-05T12:31:01.747Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-05T12:31:02.721Z] OK: 224 MiB in 56 packages [2022-05-05T12:31:03.318Z] Removing intermediate container 8531e2c2db93 [2022-05-05T12:31:03.318Z] ---> 9591c66eed64 [2022-05-05T12:31:03.318Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-05T12:31:03.318Z] ---> Running in 9c1a940e0fda [2022-05-05T12:31:03.596Z] Removing intermediate container 9c1a940e0fda [2022-05-05T12:31:03.596Z] ---> 814cbd5ef18d [2022-05-05T12:31:03.596Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-05T12:31:04.192Z] ---> e2227b799c05 [2022-05-05T12:31:04.192Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-05T12:31:04.192Z] ---> Running in da4ea97b3982 [2022-05-05T12:31:06.181Z] Removing intermediate container da4ea97b3982 [2022-05-05T12:31:06.181Z] ---> 1cd37fb0bca4 [2022-05-05T12:31:06.181Z] Step 11/25 : COPY . . [2022-05-05T12:31:06.781Z] ---> 9683ee0a592b [2022-05-05T12:31:06.781Z] Step 12/25 : RUN $MAKE [2022-05-05T12:31:06.781Z] ---> Running in f9ad774c7dae [2022-05-05T12:31:07.778Z] 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:33:14.642Z] Removing intermediate container f9ad774c7dae [2022-05-05T12:33:14.642Z] ---> 9a21c08e465a [2022-05-05T12:33:14.642Z] Step 13/25 : FROM alpine:3.14 [2022-05-05T12:33:14.642Z] 3.14: Pulling from library/alpine [2022-05-05T12:33:14.642Z] 455c02918c45: Pulling fs layer [2022-05-05T12:33:14.642Z] 455c02918c45: Verifying Checksum [2022-05-05T12:33:14.642Z] 455c02918c45: Pull complete [2022-05-05T12:33:14.642Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-05T12:33:14.642Z] Status: Downloaded newer image for alpine:3.14 [2022-05-05T12:33:14.642Z] ---> ac73e934f311 [2022-05-05T12:33:14.642Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-05T12:33:14.642Z] ---> Running in 1ac2bf534fea [2022-05-05T12:33:14.642Z] Removing intermediate container 1ac2bf534fea [2022-05-05T12:33:14.642Z] ---> a37dc0b959bf [2022-05-05T12:33:14.642Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-05T12:33:14.642Z] ---> Running in 9bd23102a2d8 [2022-05-05T12:33:14.642Z] Removing intermediate container 9bd23102a2d8 [2022-05-05T12:33:14.642Z] ---> 14016c556088 [2022-05-05T12:33:14.642Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-05T12:33:14.642Z] ---> Running in cfa6c835aae3 [2022-05-05T12:33:14.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-05T12:33:14.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-05T12:33:14.642Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-05T12:33:14.642Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-05T12:33:14.642Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-05T12:33:14.642Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-05T12:33:14.642Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-05T12:33:14.642Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-05T12:33:14.643Z] Executing busybox-1.33.1-r7.trigger [2022-05-05T12:33:14.643Z] OK: 8 MiB in 20 packages [2022-05-05T12:33:14.643Z] Removing intermediate container cfa6c835aae3 [2022-05-05T12:33:14.643Z] ---> 7aa3b2b9d4e6 [2022-05-05T12:33:14.643Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-05T12:33:14.643Z] ---> 23a47558c044 [2022-05-05T12:33:14.643Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-05T12:33:14.643Z] ---> 2e4d81338002 [2022-05-05T12:33:14.643Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-05T12:33:14.643Z] ---> e0b70b20deb7 [2022-05-05T12:33:14.643Z] Step 20/25 : EXPOSE 59986 [2022-05-05T12:33:14.643Z] ---> Running in 73bec4637999 [2022-05-05T12:33:14.643Z] Removing intermediate container 73bec4637999 [2022-05-05T12:33:14.643Z] ---> 4404fefd6c15 [2022-05-05T12:33:14.643Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-05T12:33:14.643Z] ---> Running in 7754da40d147 [2022-05-05T12:33:14.643Z] Removing intermediate container 7754da40d147 [2022-05-05T12:33:14.643Z] ---> 88030212b706 [2022-05-05T12:33:14.643Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-05T12:33:14.643Z] ---> Running in f2e83f49c9dd [2022-05-05T12:33:14.643Z] Removing intermediate container f2e83f49c9dd [2022-05-05T12:33:14.643Z] ---> 1f9d469bbea2 [2022-05-05T12:33:14.643Z] Step 23/25 : LABEL arch=arm64 [2022-05-05T12:33:14.643Z] ---> Running in 7169f5f71daf [2022-05-05T12:33:14.643Z] Removing intermediate container 7169f5f71daf [2022-05-05T12:33:14.643Z] ---> 6b46efe8026a [2022-05-05T12:33:14.643Z] Step 24/25 : LABEL git_sha=24f2d44d41511aea7b66a902317587beb4819f28 [2022-05-05T12:33:14.643Z] ---> Running in 7da5077e638a [2022-05-05T12:33:14.643Z] Removing intermediate container 7da5077e638a [2022-05-05T12:33:14.643Z] ---> 6a80e45d381a [2022-05-05T12:33:14.643Z] Step 25/25 : LABEL version=0.0.0 [2022-05-05T12:33:14.643Z] ---> Running in 87883bfd9b5c [2022-05-05T12:33:14.643Z] Removing intermediate container 87883bfd9b5c [2022-05-05T12:33:14.643Z] ---> 13965e73653b [2022-05-05T12:33:14.643Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-05T12:33:14.643Z] Successfully built 13965e73653b [2022-05-05T12:33:14.643Z] 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:33:15.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-05T12:33:15.076Z] [2022-05-05T12:33:15.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:33:15.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-05T12:33:15.706Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-05T12:33:15.706Z] 8998bd30e6a1: Pulling fs layer [2022-05-05T12:33:15.706Z] 04944245beec: Pulling fs layer [2022-05-05T12:33:15.706Z] 699f458cf7ca: Pulling fs layer [2022-05-05T12:33:15.706Z] 765212b225bb: Pulling fs layer [2022-05-05T12:33:15.706Z] f23df028b6ca: Pulling fs layer [2022-05-05T12:33:15.706Z] d65c8cfc05b1: Pulling fs layer [2022-05-05T12:33:15.706Z] 2437ff75d9bd: Pulling fs layer [2022-05-05T12:33:15.706Z] f23df028b6ca: Waiting [2022-05-05T12:33:15.706Z] 765212b225bb: Waiting [2022-05-05T12:33:15.706Z] d65c8cfc05b1: Waiting [2022-05-05T12:33:15.706Z] 2437ff75d9bd: Waiting [2022-05-05T12:33:15.706Z] 04944245beec: Verifying Checksum [2022-05-05T12:33:15.706Z] 04944245beec: Download complete [2022-05-05T12:33:15.706Z] 765212b225bb: Download complete [2022-05-05T12:33:15.706Z] f23df028b6ca: Verifying Checksum [2022-05-05T12:33:15.706Z] f23df028b6ca: Download complete [2022-05-05T12:33:15.706Z] d65c8cfc05b1: Verifying Checksum [2022-05-05T12:33:15.706Z] d65c8cfc05b1: Download complete [2022-05-05T12:33:15.982Z] 699f458cf7ca: Verifying Checksum [2022-05-05T12:33:15.982Z] 699f458cf7ca: Download complete [2022-05-05T12:33:16.258Z] 8998bd30e6a1: Verifying Checksum [2022-05-05T12:33:16.258Z] 8998bd30e6a1: Download complete [2022-05-05T12:33:18.894Z] 2437ff75d9bd: Verifying Checksum [2022-05-05T12:33:18.894Z] 2437ff75d9bd: Download complete [2022-05-05T12:33:20.346Z] 8998bd30e6a1: Pull complete [2022-05-05T12:33:20.949Z] 04944245beec: Pull complete [2022-05-05T12:33:22.404Z] 699f458cf7ca: Pull complete [2022-05-05T12:33:22.679Z] 765212b225bb: Pull complete [2022-05-05T12:33:23.664Z] f23df028b6ca: Pull complete [2022-05-05T12:33:23.664Z] d65c8cfc05b1: Pull complete [2022-05-05T12:33:38.770Z] 2437ff75d9bd: Pull complete [2022-05-05T12:33:38.770Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-05T12:33:38.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-05T12:33:38.770Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-05T12:33:39.012Z] prd-ubuntu20.04-docker-arm64-4c-16g-40493 does not seem to be running inside a container [2022-05-05T12:33:39.117Z] $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-05T12:33:41.643Z] $ docker top f1cc9bf08cffede1db29822a7295cfd57421944456ae66910fb49138988da257 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:33:42.545Z] ---> job-cost.sh [2022-05-05T12:33:42.545Z] lf-activate-venv: SKIPPING [2022-05-05T12:33:42.545Z] INFO: No Stack... [2022-05-05T12:33:43.142Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-05T12:33:44.124Z] INFO: Archiving Costs [Pipeline] sh [2022-05-05T12:33:44.787Z] + cat /w/workspace/device-rest-go/5/archives/cost.csv [2022-05-05T12:33:44.787Z] + cut -d, -f6 [Pipeline] lock [2022-05-05T12:33:44.852Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [2022-05-05T12:33:44.861Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] did not exist. Created. [2022-05-05T12:33:44.861Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-05T12:33:45.545Z] /w/workspace/device-rest-go/5@tmp/durable-5f0064ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-05T12:33:46.239Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-05T12:33:46.268Z] Warning: overwriting stash ‘stack-cost’ [2022-05-05T12:33:46.312Z] Stashed 1 file(s) [Pipeline] } [2022-05-05T12:33:46.321Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-05T12:33:46.360Z] $ docker stop --time=1 f1cc9bf08cffede1db29822a7295cfd57421944456ae66910fb49138988da257 [2022-05-05T12:33:47.817Z] $ docker rm -f f1cc9bf08cffede1db29822a7295cfd57421944456ae66910fb49138988da257 [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:33:48.310Z] provisioning config files... [2022-05-05T12:33:48.322Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config9106938643736617291tmp [Pipeline] { [Pipeline] sh [2022-05-05T12:33:48.617Z] + set +x [2022-05-05T12:33:48.617Z] + curl -s https://codecov.io/bash [2022-05-05T12:33:48.617Z] + bash -s -- [2022-05-05T12:33:48.617Z] [2022-05-05T12:33:48.617Z] _____ _ [2022-05-05T12:33:48.617Z] / ____| | | [2022-05-05T12:33:48.617Z] | | ___ __| | ___ ___ _____ __ [2022-05-05T12:33:48.617Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-05T12:33:48.617Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-05T12:33:48.617Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-05T12:33:48.617Z] Bash-1.0.6 [2022-05-05T12:33:48.617Z] [2022-05-05T12:33:48.617Z] [2022-05-05T12:33:48.617Z] ==> git version 2.25.1 found [2022-05-05T12:33:48.617Z] ==> 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:33:48.617Z] Release-Date: 2020-01-08 [2022-05-05T12:33:48.617Z] 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:33:48.617Z] 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:33:48.617Z] ==> Jenkins CI detected. [2022-05-05T12:33:48.617Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-184 [2022-05-05T12:33:48.617Z] project root: . [2022-05-05T12:33:48.617Z] --> token set from env [2022-05-05T12:33:48.617Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-05T12:33:48.617Z] ==> Running gcov in . (disable via -X gcov) [2022-05-05T12:33:48.617Z] ==> Python coveragepy not found [2022-05-05T12:33:48.617Z] ==> Searching for coverage reports in: [2022-05-05T12:33:48.617Z] + . [2022-05-05T12:33:48.617Z] -> Found 1 reports [2022-05-05T12:33:48.617Z] ==> Detecting git/mercurial file structure [2022-05-05T12:33:48.617Z] ==> Reading reports [2022-05-05T12:33:48.617Z] + ./coverage.out bytes=9355 [2022-05-05T12:33:48.617Z] ==> Appending adjustments [2022-05-05T12:33:48.617Z] https://docs.codecov.io/docs/fixing-reports [2022-05-05T12:33:48.617Z] + Found adjustments [2022-05-05T12:33:48.617Z] ==> Gzipping contents [2022-05-05T12:33:48.877Z] 4.0K /tmp/codecov.k9fXvt.gz [2022-05-05T12:33:48.877Z] ==> Uploading reports [2022-05-05T12:33:48.877Z] url: https://codecov.io [2022-05-05T12:33:48.877Z] query: branch=PR-184&commit=24f2d44d41511aea7b66a902317587beb4819f28&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-184%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-05-05T12:33:48.877Z] -> Pinging Codecov [2022-05-05T12:33:48.877Z] 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=24f2d44d41511aea7b66a902317587beb4819f28&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-184%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=184&job=&cmd_args= [2022-05-05T12:33:49.137Z] -> Uploading to [2022-05-05T12:33:49.137Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-05/4E5D53B4F1F92C436F7061BF334D961C/24f2d44d41511aea7b66a902317587beb4819f28/e182fac8-328d-466c-884e-4c36ddea284a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220505T123348Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2978699c6e9b1f190a6c6e43a3c05db94b1e033c69d1a6ba241f6f616dcbce90 [2022-05-05T12:33:49.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-05T12:33:49.137Z] Dload Upload Total Spent Left Speed [2022-05-05T12:33:49.398Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8171 --:--:-- --:--:-- --:--:-- 8135 100 1806 0 0 100 1806 0 7620 --:--:-- --:--:-- --:--:-- 7588 [2022-05-05T12:33:49.398Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] } [2022-05-05T12:33:49.405Z] 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:33:50.177Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-184/archives ] [2022-05-05T12:33:50.177Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-184/archives [2022-05-05T12:33:50.177Z] total 16 [2022-05-05T12:33:50.177Z] drwxr-xr-x 3 root root 4096 May 5 12:26 . [2022-05-05T12:33:50.177Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 12:26 .. [2022-05-05T12:33:50.177Z] drwxr-xr-x 2 root root 4096 May 5 12:26 cost [2022-05-05T12:33:50.177Z] -rw-r--r-- 1 root root 85 May 5 12:26 cost.csv [2022-05-05T12:33:50.177Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-184/archives [2022-05-05T12:33:50.177Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-184/archives [2022-05-05T12:33:50.177Z] total 16 [2022-05-05T12:33:50.177Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 12:26 . [2022-05-05T12:33:50.177Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 12:26 .. [2022-05-05T12:33:50.177Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 12:26 cost [2022-05-05T12:33:50.177Z] -rw-r--r-- 1 jenkins jenkins 85 May 5 12:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:33:50.472Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:33:51.452Z] ---> package-listing.sh [2022-05-05T12:33:51.453Z] ++ facter osfamily [2022-05-05T12:33:51.453Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-05T12:33:51.453Z] + OS_FAMILY=debian [2022-05-05T12:33:51.453Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-184 [2022-05-05T12:33:51.453Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-05T12:33:51.453Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-05T12:33:51.453Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-05T12:33:51.453Z] + PACKAGES=/tmp/packages_start.txt [2022-05-05T12:33:51.453Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-184 ']' [2022-05-05T12:33:51.453Z] + PACKAGES=/tmp/packages_end.txt [2022-05-05T12:33:51.453Z] + case "${OS_FAMILY}" in [2022-05-05T12:33:51.453Z] + dpkg -l [2022-05-05T12:33:51.453Z] + grep '^ii' [2022-05-05T12:33:51.453Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-05T12:33:51.453Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-05T12:33:51.453Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-05T12:33:51.453Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-184 ']' [2022-05-05T12:33:51.453Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-184/archives/ [2022-05-05T12:33:51.453Z] + 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:33:51.484Z] 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:33:51.761Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-05T12:33:52.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-05T12:33:52.310Z] . [Pipeline] withDockerContainer [2022-05-05T12:33:52.379Z] prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container [2022-05-05T12:33:52.412Z] $ 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:33:52.642Z] $ docker top 747d65653bcd1e66efd54256215303ba1715bd32676700fe4cd8f8b8fcbd3ebf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-05T12:33:52.999Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-05T12:33:53.285Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-05T12:33:53.574Z] + ls /var/log/sa-host [2022-05-05T12:33:53.574Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-05T12:33:53.662Z] provisioning config files... [2022-05-05T12:33:53.671Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config3724043190799309971tmp [Pipeline] { [Pipeline] echo [2022-05-05T12:33:53.687Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:33:53.972Z] ---> create-netrc.sh [Pipeline] } [2022-05-05T12:33:53.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:33:54.321Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-05T12:33:54.332Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:33:54.618Z] ---> sudo-logs.sh [2022-05-05T12:33:54.618Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-05T12:33:54.650Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:33:54.937Z] ---> job-cost.sh [2022-05-05T12:33:54.938Z] lf-activate-venv: SKIPPING [2022-05-05T12:33:54.938Z] DEBUG: total: 0.2199999988079071 [2022-05-05T12:33:54.938Z] INFO: Retrieving Stack Cost... [2022-05-05T12:33:55.197Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-05T12:33:55.766Z] INFO: Archiving Costs [Pipeline] echo [2022-05-05T12:33:55.781Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-05T12:33:56.065Z] ---> logs-deploy.sh [2022-05-05T12:33:56.066Z] lf-activate-venv: SKIPPING [2022-05-05T12:33:56.066Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-184/5 [2022-05-05T12:33:56.066Z] INFO: archiving workspace using pattern(s): [2022-05-05T12:33:57.003Z] Archives upload complete. [2022-05-05T12:33:57.003Z] INFO: archiving logs to Nexus