Pull request #186 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7cae7b1f58b74971914cd61c53ee135eddaf8249+4edc8d2690683859fe7dd7f6313ce2addb447006 (4dba0940dcc5eeb81636e9c181630bd7016f846c) 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-ssh12983376678815500991.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-ssh6345768261977617277.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-186/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-186/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17509732769917428208.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-ssh7992974192123943703.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-186/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-186/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18322732871042181192.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-45614 in /w/workspace/gexfoundry_device-rest-go_PR-186 [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-186 # 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 4edc8d2690683859fe7dd7f6313ce2addb447006 into PR head commit 7cae7b1f58b74971914cd61c53ee135eddaf8249 Merge succeeded, producing 7cae7b1f58b74971914cd61c53ee135eddaf8249 Checking out Revision 7cae7b1f58b74971914cd61c53ee135eddaf8249 (PR-186) > 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/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # 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 4edc8d2690683859fe7dd7f6313ce2addb447006 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git rev-list --no-walk 4cb71774a2d5d5cadafac4e4038bfd054c067146 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T07:04:04.128Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T07:04:04.179Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T07:04:04.196Z] ========================================================= [2022-05-10T07:04:04.196Z] EdgeX Global Pipelines Version Info [2022-05-10T07:04:04.196Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:04:04.967Z] ------------------- [2022-05-10T07:04:04.967Z] stable info: [2022-05-10T07:04:04.967Z] ------------------- [2022-05-10T07:04:04.967Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T07:04:04.967Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T07:04:04.967Z] Message: update stable to v1.0.227 [2022-05-10T07:04:05.545Z] ------------------- [2022-05-10T07:04:05.545Z] experimental info: [2022-05-10T07:04:05.545Z] ------------------- [2022-05-10T07:04:05.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T07:04:05.545Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T07:04:05.545Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T07:04:05.678Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-10T07:04:05.690Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-10T07:04:05.704Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T07:04:05.716Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T07:04:05.729Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T07:04:05.746Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T07:04:05.765Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T07:04:05.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T07:04:05.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T07:04:05.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T07:04:05.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T07:04:05.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-10T07:04:05.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T07:04:05.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T07:04:05.858Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T07:04:05.870Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T07:04:05.883Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T07:04:05.899Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T07:04:05.912Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T07:04:05.926Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T07:04:05.941Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T07:04:05.952Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T07:04:05.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T07:04:05.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T07:04:05.992Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T07:04:06.010Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T07:04:06.026Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo [2022-05-10T07:04:06.044Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo [2022-05-10T07:04:06.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo [2022-05-10T07:04:06.070Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] echo [2022-05-10T07:04:06.081Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cae7b1 [Pipeline] echo [2022-05-10T07:04:06.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:04:06.142Z] provisioning config files... [2022-05-10T07:04:06.157Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config3926311653854334674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:04:06.496Z] ---> docker-login.sh [2022-05-10T07:04:06.496Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:04:06.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:07.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:07.028Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:07.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:07.028Z] [2022-05-10T07:04:07.028Z] Login Succeeded [2022-05-10T07:04:07.028Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:04:07.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:07.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:07.028Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:07.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:07.028Z] [2022-05-10T07:04:07.028Z] Login Succeeded [2022-05-10T07:04:07.028Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:04:07.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:07.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:07.290Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:07.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:07.290Z] [2022-05-10T07:04:07.290Z] Login Succeeded [2022-05-10T07:04:07.290Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:04:07.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:07.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:07.290Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:07.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:07.290Z] [2022-05-10T07:04:07.290Z] Login Succeeded [2022-05-10T07:04:07.290Z] docker.io [2022-05-10T07:04:07.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:07.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:07.820Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:07.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:07.820Z] [2022-05-10T07:04:07.820Z] Login Succeeded [2022-05-10T07:04:07.820Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:04:07.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T07:04:08.205Z] + git rev-list -1 --merges 7cae7b1f58b74971914cd61c53ee135eddaf8249~1..7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] echo [2022-05-10T07:04:08.238Z] -----------> git rev-list -1 --merges 7cae7b1f58b74971914cd61c53ee135eddaf8249~1..7cae7b1f58b74971914cd61c53ee135eddaf8249 7cae7b1f58b74971914cd61c53ee135eddaf8249 [false] [Pipeline] sh [2022-05-10T07:04:08.532Z] + git log --format=format:%s -1 7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] echo [2022-05-10T07:04:08.549Z] ========================================================= [2022-05-10T07:04:08.549Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T07:04:08.549Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:04:08.882Z] + git log --format=format:%s -1 7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] echo [2022-05-10T07:04:08.894Z] [semverPrep] GIT_COMMIT: 7cae7b1f58b74971914cd61c53ee135eddaf8249, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-05-10T07:04:08.904Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T07:04:09.294Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T07:04:09.294Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T07:04:09.294Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T07:04:09.294Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T07:04:09.294Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T07:04:09.294Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T07:04:09.294Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:04:09.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:04:09.654Z] [2022-05-10T07:04:09.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:04:09.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:04:09.964Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T07:04:09.964Z] 1fe172e4850f: Pulling fs layer [2022-05-10T07:04:09.964Z] caf521ccaac6: Pulling fs layer [2022-05-10T07:04:09.964Z] 3ead6fa29328: Pulling fs layer [2022-05-10T07:04:09.964Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T07:04:09.964Z] a8d5f1318db7: Pulling fs layer [2022-05-10T07:04:09.964Z] c427282e49a2: Pulling fs layer [2022-05-10T07:04:09.964Z] 1827001aaf11: Pulling fs layer [2022-05-10T07:04:09.964Z] 0714d37db230: Pulling fs layer [2022-05-10T07:04:09.964Z] ac28cf19c067: Pulling fs layer [2022-05-10T07:04:09.964Z] ca983d60f3e2: Pulling fs layer [2022-05-10T07:04:09.964Z] 9f894cec8388: Pulling fs layer [2022-05-10T07:04:09.964Z] 5c2a1cbceb83: Waiting [2022-05-10T07:04:09.964Z] a8d5f1318db7: Waiting [2022-05-10T07:04:09.964Z] 0714d37db230: Waiting [2022-05-10T07:04:09.964Z] ac28cf19c067: Waiting [2022-05-10T07:04:09.964Z] 1827001aaf11: Waiting [2022-05-10T07:04:09.964Z] ca983d60f3e2: Waiting [2022-05-10T07:04:09.964Z] 9f894cec8388: Waiting [2022-05-10T07:04:09.964Z] c427282e49a2: Waiting [2022-05-10T07:04:09.964Z] caf521ccaac6: Download complete [2022-05-10T07:04:09.964Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T07:04:09.964Z] 5c2a1cbceb83: Download complete [2022-05-10T07:04:10.228Z] a8d5f1318db7: Verifying Checksum [2022-05-10T07:04:10.228Z] a8d5f1318db7: Download complete [2022-05-10T07:04:10.228Z] 3ead6fa29328: Verifying Checksum [2022-05-10T07:04:10.228Z] 3ead6fa29328: Download complete [2022-05-10T07:04:10.228Z] c427282e49a2: Verifying Checksum [2022-05-10T07:04:10.228Z] c427282e49a2: Download complete [2022-05-10T07:04:10.228Z] 0714d37db230: Verifying Checksum [2022-05-10T07:04:10.228Z] 0714d37db230: Download complete [2022-05-10T07:04:10.228Z] ac28cf19c067: Verifying Checksum [2022-05-10T07:04:10.228Z] ac28cf19c067: Download complete [2022-05-10T07:04:10.228Z] ca983d60f3e2: Verifying Checksum [2022-05-10T07:04:10.228Z] ca983d60f3e2: Download complete [2022-05-10T07:04:10.228Z] 9f894cec8388: Verifying Checksum [2022-05-10T07:04:10.228Z] 9f894cec8388: Download complete [2022-05-10T07:04:10.228Z] 1fe172e4850f: Verifying Checksum [2022-05-10T07:04:10.228Z] 1fe172e4850f: Download complete [2022-05-10T07:04:10.487Z] 1827001aaf11: Verifying Checksum [2022-05-10T07:04:10.487Z] 1827001aaf11: Download complete [2022-05-10T07:04:11.869Z] 1fe172e4850f: Pull complete [2022-05-10T07:04:11.869Z] caf521ccaac6: Pull complete [2022-05-10T07:04:12.443Z] 3ead6fa29328: Pull complete [2022-05-10T07:04:12.443Z] 5c2a1cbceb83: Pull complete [2022-05-10T07:04:12.704Z] a8d5f1318db7: Pull complete [2022-05-10T07:04:12.965Z] c427282e49a2: Pull complete [2022-05-10T07:04:14.976Z] 1827001aaf11: Pull complete [2022-05-10T07:04:14.976Z] 0714d37db230: Pull complete [2022-05-10T07:04:15.239Z] ac28cf19c067: Pull complete [2022-05-10T07:04:15.239Z] ca983d60f3e2: Pull complete [2022-05-10T07:04:15.499Z] 9f894cec8388: Pull complete [2022-05-10T07:04:15.499Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T07:04:15.499Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T07:04:15.499Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T07:04:15.580Z] prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container [2022-05-10T07:04:15.622Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T07:04:17.526Z] $ docker top 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 -eo pid,comm [2022-05-10T07:04:17.593Z] 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-10T07:04:17.593Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T07:04:17.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:04:17.628Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:04:17.772Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:04:17.775Z] $ docker exec 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 ssh-agent [2022-05-10T07:04:17.929Z] SSH_AUTH_SOCK=/tmp/ssh-CKew0GlXAtCC/agent.32 [2022-05-10T07:04:17.929Z] SSH_AGENT_PID=38 [2022-05-10T07:04:17.938Z] Running ssh-add (command line suppressed) [2022-05-10T07:04:18.085Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_3595286315323391041.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_3595286315323391041.key) [2022-05-10T07:04:18.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:04:18.409Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T07:04:18.422Z] $ docker exec --env ******** --env ******** 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 ssh-agent -k [2022-05-10T07:04:18.535Z] unset SSH_AUTH_SOCK; [2022-05-10T07:04:18.536Z] unset SSH_AGENT_PID; [2022-05-10T07:04:18.536Z] echo Agent pid 38 killed; [2022-05-10T07:04:18.544Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T07:04:18.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T07:04:18.567Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T07:04:18.690Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T07:04:18.694Z] $ docker exec 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 ssh-agent [2022-05-10T07:04:18.825Z] SSH_AUTH_SOCK=/tmp/ssh-qLNR5y4Oqzt5/agent.71 [2022-05-10T07:04:18.825Z] SSH_AGENT_PID=78 [2022-05-10T07:04:18.831Z] Running ssh-add (command line suppressed) [2022-05-10T07:04:18.961Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_6256061588764495599.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_6256061588764495599.key) [2022-05-10T07:04:18.976Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T07:04:19.268Z] + git semver init [2022-05-10T07:04:19.527Z] 2022-05-10 07:04:19,523 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T07:04:19.527Z] 2022-05-10 07:04:19,524 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver [2022-05-10T07:04:19.527Z] 2022-05-10 07:04:19,524 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-186/.semver [2022-05-10T07:04:19.527Z] 2022-05-10 07:04:19,524 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-186/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186, universal_newlines=False, shell=None, istream=None) [2022-05-10T07:04:20.914Z] 2022-05-10 07:04:20,557 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.git/info/exclude [2022-05-10T07:04:20.914Z] 2022-05-10 07:04:20,558 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 with force:False [2022-05-10T07:04:20.914Z] 2022-05-10 07:04:20,558 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 [2022-05-10T07:04:20.914Z] 2022-05-10 07:04:20,563 [execute] INFO git cat-file --batch-check [2022-05-10T07:04:20.914Z] 2022-05-10 07:04:20,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T07:04:20.915Z] 2022-05-10 07:04:20,571 [execute] INFO git cat-file --batch [2022-05-10T07:04:20.915Z] 2022-05-10 07:04:20,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T07:04:20.915Z] 2022-05-10 07:04:20,577 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 [2022-05-10T07:04:20.915Z] 0.0.0 [Pipeline] } [2022-05-10T07:04:20.928Z] $ docker exec --env ******** --env ******** 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 ssh-agent -k [2022-05-10T07:04:21.043Z] unset SSH_AUTH_SOCK; [2022-05-10T07:04:21.043Z] unset SSH_AGENT_PID; [2022-05-10T07:04:21.043Z] echo Agent pid 78 killed; [2022-05-10T07:04:21.055Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T07:04:21.361Z] + git semver [Pipeline] } [2022-05-10T07:04:21.633Z] $ docker stop --time=1 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 [2022-05-10T07:04:22.978Z] $ docker rm -f 27d6e5445caa87ed51b2bff23649560b352fb13fc4e2afba510333e958d7e050 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:04:23.337Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T07:04:23.627Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T07:04:23.631Z] [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-10T07:04:23.800Z] provisioning config files... [2022-05-10T07:04:23.811Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config5219430093977922720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:04:24.116Z] ---> docker-login.sh [2022-05-10T07:04:24.116Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:04:24.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:24.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:24.116Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:24.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:24.116Z] [2022-05-10T07:04:24.116Z] Login Succeeded [2022-05-10T07:04:24.116Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:04:24.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:24.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:24.379Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:24.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:24.379Z] [2022-05-10T07:04:24.379Z] Login Succeeded [2022-05-10T07:04:24.379Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:04:24.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:24.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:24.379Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:24.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:24.379Z] [2022-05-10T07:04:24.379Z] Login Succeeded [2022-05-10T07:04:24.379Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:04:24.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:24.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:24.640Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:24.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:24.640Z] [2022-05-10T07:04:24.640Z] Login Succeeded [2022-05-10T07:04:24.640Z] docker.io [2022-05-10T07:04:24.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:04:24.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:04:24.901Z] Configure a credential helper to remove this warning. See [2022-05-10T07:04:24.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:04:24.901Z] [2022-05-10T07:04:24.901Z] Login Succeeded [2022-05-10T07:04:24.901Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:04:24.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T07:04:24.991Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:04:25.000Z] ========================================================= [2022-05-10T07:04:25.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T07:04:25.000Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:04:25.314Z] + 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-10T07:04:25.314Z] Sending build context to Docker daemon 10.62MB [2022-05-10T07:04:25.314Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:04:25.314Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T07:04:25.580Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T07:04:25.580Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T07:04:25.580Z] 666ba61612fd: Pulling fs layer [2022-05-10T07:04:25.580Z] 8ed8ca486205: Pulling fs layer [2022-05-10T07:04:25.580Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T07:04:25.580Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T07:04:25.580Z] ca2b28591e48: Pulling fs layer [2022-05-10T07:04:25.580Z] a51346096db8: Pulling fs layer [2022-05-10T07:04:25.580Z] daebc70d1ce1: Pulling fs layer [2022-05-10T07:04:25.580Z] 0e18a0eac166: Pulling fs layer [2022-05-10T07:04:25.580Z] a51346096db8: Waiting [2022-05-10T07:04:25.580Z] daebc70d1ce1: Waiting [2022-05-10T07:04:25.580Z] 0e18a0eac166: Waiting [2022-05-10T07:04:25.580Z] 22a0e8bec74d: Waiting [2022-05-10T07:04:25.580Z] ca2b28591e48: Waiting [2022-05-10T07:04:25.580Z] 8ed8ca486205: Verifying Checksum [2022-05-10T07:04:25.580Z] 8ed8ca486205: Download complete [2022-05-10T07:04:25.580Z] 666ba61612fd: Download complete [2022-05-10T07:04:25.580Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T07:04:25.580Z] 22a0e8bec74d: Download complete [2022-05-10T07:04:25.580Z] ca2b28591e48: Verifying Checksum [2022-05-10T07:04:25.580Z] ca2b28591e48: Download complete [2022-05-10T07:04:25.580Z] a51346096db8: Verifying Checksum [2022-05-10T07:04:25.580Z] a51346096db8: Download complete [2022-05-10T07:04:25.580Z] 59bf1c3509f3: Download complete [2022-05-10T07:04:25.580Z] daebc70d1ce1: Verifying Checksum [2022-05-10T07:04:25.580Z] daebc70d1ce1: Download complete [2022-05-10T07:04:25.580Z] 59bf1c3509f3: Pull complete [2022-05-10T07:04:25.843Z] 666ba61612fd: Pull complete [2022-05-10T07:04:25.843Z] 8ed8ca486205: Pull complete [2022-05-10T07:04:26.103Z] 0e18a0eac166: Verifying Checksum [2022-05-10T07:04:26.103Z] 0e18a0eac166: Download complete [2022-05-10T07:04:26.362Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T07:04:26.362Z] 4fe6c5a15a65: Download complete [2022-05-10T07:04:30.559Z] 4fe6c5a15a65: Pull complete [2022-05-10T07:04:30.559Z] 22a0e8bec74d: Pull complete [2022-05-10T07:04:30.559Z] ca2b28591e48: Pull complete [2022-05-10T07:04:30.559Z] a51346096db8: Pull complete [2022-05-10T07:04:30.559Z] daebc70d1ce1: Pull complete [2022-05-10T07:04:33.107Z] 0e18a0eac166: Pull complete [2022-05-10T07:04:33.107Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T07:04:33.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T07:04:33.107Z] ---> f018257e8ee9 [2022-05-10T07:04:33.107Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T07:04:35.655Z] ---> Running in cd2ff0f96b2e [2022-05-10T07:04:35.655Z] Removing intermediate container cd2ff0f96b2e [2022-05-10T07:04:35.655Z] ---> 9fac3ba9df7a [2022-05-10T07:04:35.655Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:04:35.655Z] ---> Running in 3554468c4466 [2022-05-10T07:04:35.655Z] Removing intermediate container 3554468c4466 [2022-05-10T07:04:35.655Z] ---> bf394cd187db [2022-05-10T07:04:35.655Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:04:35.655Z] ---> Running in aa50d669165c [2022-05-10T07:04:35.655Z] Removing intermediate container aa50d669165c [2022-05-10T07:04:35.655Z] ---> a03d919eb5eb [2022-05-10T07:04:35.655Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:04:35.655Z] ---> Running in da3d56d32991 [2022-05-10T07:04:36.227Z] Removing intermediate container da3d56d32991 [2022-05-10T07:04:36.227Z] ---> 76121f787574 [2022-05-10T07:04:36.227Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:04:36.227Z] ---> Running in 343e075498c3 [2022-05-10T07:04:36.487Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:04:37.426Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:04:37.687Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T07:04:37.947Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T07:04:37.947Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T07:04:37.947Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T07:04:38.207Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T07:04:38.207Z] OK: 224 MiB in 56 packages [2022-05-10T07:04:38.748Z] Still waiting to schedule task [2022-05-10T07:04:38.749Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-10T07:04:38.780Z] Removing intermediate container 343e075498c3 [2022-05-10T07:04:38.780Z] ---> 773abbddf1aa [2022-05-10T07:04:38.780Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T07:04:38.780Z] ---> Running in a7e65e4f9890 [2022-05-10T07:04:38.780Z] Removing intermediate container a7e65e4f9890 [2022-05-10T07:04:38.780Z] ---> 6572d33f2bf0 [2022-05-10T07:04:38.780Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T07:04:39.041Z] ---> 112d07b1c13b [2022-05-10T07:04:39.041Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:04:39.041Z] ---> Running in 50f0463f1c38 [2022-05-10T07:04:53.945Z] Removing intermediate container 50f0463f1c38 [2022-05-10T07:04:53.945Z] ---> a252040bc80e [2022-05-10T07:04:53.945Z] Step 11/12 : COPY . . [2022-05-10T07:04:53.945Z] ---> d49904b65cde [2022-05-10T07:04:53.945Z] Step 12/12 : RUN $MAKE [2022-05-10T07:04:53.945Z] ---> Running in 0f16e1148090 [2022-05-10T07:04:54.205Z] noop [2022-05-10T07:04:54.468Z] Removing intermediate container 0f16e1148090 [2022-05-10T07:04:54.468Z] ---> cbae1b721e50 [2022-05-10T07:04:54.468Z] Successfully built cbae1b721e50 [2022-05-10T07:04:54.468Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:04:54.763Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T07:04:54.763Z] . [Pipeline] withDockerContainer [2022-05-10T07:04:54.833Z] prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container [2022-05-10T07:04:54.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 ******** ci-base-image-x86_64 cat [2022-05-10T07:04:55.293Z] $ docker top 42918e7cd2d3ad89df83e2bd731ee806404bfb000b9ec11e70a140a97c9321d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:04:55.653Z] + go version [2022-05-10T07:04:55.653Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T07:04:55.667Z] $ docker stop --time=1 42918e7cd2d3ad89df83e2bd731ee806404bfb000b9ec11e70a140a97c9321d2 [2022-05-10T07:04:56.973Z] $ docker rm -f 42918e7cd2d3ad89df83e2bd731ee806404bfb000b9ec11e70a140a97c9321d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:04:57.406Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T07:04:57.406Z] . [Pipeline] withDockerContainer [2022-05-10T07:04:57.487Z] prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container [2022-05-10T07:04:57.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 ******** ci-base-image-x86_64 cat [2022-05-10T07:04:58.015Z] $ docker top 6358a6a3f00e0912365fd27ffaeeebd10d1bdb65886aba84058e5f8e0017cd3d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T07:04:58.376Z] + make test [2022-05-10T07:04:58.376Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T07:04:58.635Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T07:05:08.761Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T07:05:08.761Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-05-10T07:05:15.342Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T07:05:18.630Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T07:05:18.630Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T07:05:18.630Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T07:05:18.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T07:05:18.918Z] $ docker stop --time=1 6358a6a3f00e0912365fd27ffaeeebd10d1bdb65886aba84058e5f8e0017cd3d [2022-05-10T07:05:20.908Z] $ docker rm -f 6358a6a3f00e0912365fd27ffaeeebd10d1bdb65886aba84058e5f8e0017cd3d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:05:21.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T07:05:21.400Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T07:05:21.912Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T07:05:22.203Z] + ls -al . [2022-05-10T07:05:22.203Z] total 172 [2022-05-10T07:05:22.203Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 07:05 . [2022-05-10T07:05:22.203Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:03 .. [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 07:04 .dockerignore [2022-05-10T07:05:22.203Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:04 .git [2022-05-10T07:05:22.203Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 .github [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 07:04 .gitignore [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:04 .golangci.yml [2022-05-10T07:05:22.203Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:04 .semver [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 07:04 Attribution.txt [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 07:04 CHANGELOG.md [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 07:04 Dockerfile [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:04 GOVERNANCE.md [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 07:04 Jenkinsfile [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:04 LICENSE [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 07:04 Makefile [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 07:04 OWNERS.md [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 07:04 README.md [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 07:04 VERSION [2022-05-10T07:05:22.203Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:04 bin [2022-05-10T07:05:22.203Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 cmd [2022-05-10T07:05:22.203Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 07:05 coverage.out [2022-05-10T07:05:22.203Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:04 driver [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 3326 May 10 07:04 go.mod [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 35481 May 10 07:04 go.sum [2022-05-10T07:05:22.203Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:04 snap [2022-05-10T07:05:22.203Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 07:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:05:22.517Z] + 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=7cae7b1f58b74971914cd61c53ee135eddaf8249 --label arch=amd64 --label version=0.0.0 . [2022-05-10T07:05:22.517Z] Sending build context to Docker daemon 10.63MB [2022-05-10T07:05:22.517Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:05:22.517Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T07:05:22.517Z] ---> cbae1b721e50 [2022-05-10T07:05:22.517Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T07:05:22.783Z] ---> Running in b92ca62660c3 [2022-05-10T07:05:22.783Z] Removing intermediate container b92ca62660c3 [2022-05-10T07:05:22.783Z] ---> f5a7af8073a4 [2022-05-10T07:05:22.783Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:05:23.044Z] ---> Running in 34dd6d4274d5 [2022-05-10T07:05:23.044Z] Removing intermediate container 34dd6d4274d5 [2022-05-10T07:05:23.044Z] ---> a408e25879a5 [2022-05-10T07:05:23.044Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:05:23.044Z] ---> Running in a17ae36fa266 [2022-05-10T07:05:23.305Z] Removing intermediate container a17ae36fa266 [2022-05-10T07:05:23.305Z] ---> 8989f1cc4475 [2022-05-10T07:05:23.305Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:05:23.305Z] ---> Running in 42f632560732 [2022-05-10T07:05:23.876Z] Removing intermediate container 42f632560732 [2022-05-10T07:05:23.876Z] ---> 0651442392b2 [2022-05-10T07:05:23.876Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:05:23.876Z] ---> Running in 48efd7092594 [2022-05-10T07:05:24.136Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:05:25.076Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:05:25.336Z] OK: 224 MiB in 56 packages [2022-05-10T07:05:25.596Z] Removing intermediate container 48efd7092594 [2022-05-10T07:05:25.596Z] ---> 0a56b7a60776 [2022-05-10T07:05:25.596Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T07:05:25.857Z] ---> Running in 63fdfc80fe6c [2022-05-10T07:05:25.857Z] Removing intermediate container 63fdfc80fe6c [2022-05-10T07:05:25.857Z] ---> 6e442137f681 [2022-05-10T07:05:25.857Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T07:05:26.118Z] ---> 7b080c343425 [2022-05-10T07:05:26.118Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:05:26.118Z] ---> Running in 5e0657afcd94 [2022-05-10T07:05:26.688Z] Removing intermediate container 5e0657afcd94 [2022-05-10T07:05:26.688Z] ---> db1439733047 [2022-05-10T07:05:26.688Z] Step 11/25 : COPY . . [2022-05-10T07:05:27.259Z] ---> a4916a7b76a1 [2022-05-10T07:05:27.259Z] Step 12/25 : RUN $MAKE [2022-05-10T07:05:27.259Z] ---> Running in fb340cc19fee [2022-05-10T07:05:27.519Z] 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-10T07:05:49.465Z] Removing intermediate container fb340cc19fee [2022-05-10T07:05:49.465Z] ---> a260d7900d48 [2022-05-10T07:05:49.465Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T07:05:49.465Z] 3.14: Pulling from library/alpine [2022-05-10T07:05:49.465Z] 8663204ce13b: Pulling fs layer [2022-05-10T07:05:49.465Z] 8663204ce13b: Verifying Checksum [2022-05-10T07:05:49.465Z] 8663204ce13b: Download complete [2022-05-10T07:05:49.465Z] 8663204ce13b: Pull complete [2022-05-10T07:05:49.466Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T07:05:49.466Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T07:05:49.466Z] ---> e04c818066af [2022-05-10T07:05:49.466Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T07:05:49.466Z] ---> Running in ab501ec7f795 [2022-05-10T07:05:49.466Z] Removing intermediate container ab501ec7f795 [2022-05-10T07:05:49.466Z] ---> 704aeb9953a9 [2022-05-10T07:05:49.466Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T07:05:49.466Z] ---> Running in afb4f989040e [2022-05-10T07:05:49.466Z] Removing intermediate container afb4f989040e [2022-05-10T07:05:49.466Z] ---> 28f30639605f [2022-05-10T07:05:49.466Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T07:05:49.466Z] ---> Running in f33cd93fd138 [2022-05-10T07:05:49.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T07:05:49.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T07:05:49.466Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T07:05:49.466Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T07:05:49.466Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T07:05:49.466Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T07:05:49.466Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T07:05:49.466Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T07:05:49.466Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T07:05:49.466Z] OK: 8 MiB in 20 packages [2022-05-10T07:05:49.726Z] Removing intermediate container f33cd93fd138 [2022-05-10T07:05:49.726Z] ---> 6b4a5d6fefa0 [2022-05-10T07:05:49.726Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T07:05:50.293Z] ---> 6124b03d765c [2022-05-10T07:05:50.293Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T07:05:50.553Z] ---> 4aa7cd4a5f69 [2022-05-10T07:05:50.553Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T07:05:50.553Z] ---> 4e73104c2140 [2022-05-10T07:05:50.553Z] Step 20/25 : EXPOSE 59986 [2022-05-10T07:05:50.812Z] ---> Running in 7febb5464149 [2022-05-10T07:05:50.812Z] Removing intermediate container 7febb5464149 [2022-05-10T07:05:50.812Z] ---> 2181ca30a5ab [2022-05-10T07:05:50.812Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T07:05:50.812Z] ---> Running in 6962abc5c2f9 [2022-05-10T07:05:50.812Z] Removing intermediate container 6962abc5c2f9 [2022-05-10T07:05:50.812Z] ---> 1aae647dcdc7 [2022-05-10T07:05:50.812Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T07:05:51.076Z] ---> Running in ce35f84105b8 [2022-05-10T07:05:51.076Z] Removing intermediate container ce35f84105b8 [2022-05-10T07:05:51.076Z] ---> c3f744f3d7eb [2022-05-10T07:05:51.076Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T07:05:51.076Z] ---> Running in f4d77547534e [2022-05-10T07:05:51.076Z] Removing intermediate container f4d77547534e [2022-05-10T07:05:51.076Z] ---> dcb7a21057ce [2022-05-10T07:05:51.076Z] Step 24/25 : LABEL git_sha=7cae7b1f58b74971914cd61c53ee135eddaf8249 [2022-05-10T07:05:51.335Z] ---> Running in 725731ddad05 [2022-05-10T07:05:51.335Z] Removing intermediate container 725731ddad05 [2022-05-10T07:05:51.335Z] ---> 353fa4dadf3f [2022-05-10T07:05:51.335Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T07:05:51.335Z] ---> Running in db28461788a8 [2022-05-10T07:05:51.594Z] Removing intermediate container db28461788a8 [2022-05-10T07:05:51.594Z] ---> d00dbe0e8143 [2022-05-10T07:05:51.594Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T07:05:51.594Z] Successfully built d00dbe0e8143 [2022-05-10T07:05:51.594Z] 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-10T07:05:51.999Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:05:51.999Z] [2022-05-10T07:05:51.999Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:05:52.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:05:52.293Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T07:05:52.293Z] 5eb5b503b376: Pulling fs layer [2022-05-10T07:05:52.293Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T07:05:52.293Z] ec43610c2a17: Pulling fs layer [2022-05-10T07:05:52.293Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T07:05:52.293Z] 33b1e0a273af: Pulling fs layer [2022-05-10T07:05:52.293Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T07:05:52.293Z] 2f39f015ded8: Pulling fs layer [2022-05-10T07:05:52.293Z] 33b1e0a273af: Waiting [2022-05-10T07:05:52.293Z] 5d3b04190fa2: Waiting [2022-05-10T07:05:52.293Z] 2f39f015ded8: Waiting [2022-05-10T07:05:52.293Z] 3a2ae6a8a46f: Waiting [2022-05-10T07:05:52.293Z] 5c69ac0246d0: Verifying Checksum [2022-05-10T07:05:52.293Z] 5c69ac0246d0: Download complete [2022-05-10T07:05:52.293Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T07:05:52.293Z] 3a2ae6a8a46f: Download complete [2022-05-10T07:05:52.293Z] 33b1e0a273af: Verifying Checksum [2022-05-10T07:05:52.293Z] 33b1e0a273af: Download complete [2022-05-10T07:05:52.293Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T07:05:52.293Z] 5d3b04190fa2: Download complete [2022-05-10T07:05:52.293Z] ec43610c2a17: Download complete [2022-05-10T07:05:52.551Z] 5eb5b503b376: Verifying Checksum [2022-05-10T07:05:52.551Z] 5eb5b503b376: Download complete [2022-05-10T07:05:53.118Z] 2f39f015ded8: Download complete [2022-05-10T07:05:53.687Z] 5eb5b503b376: Pull complete [2022-05-10T07:05:53.687Z] 5c69ac0246d0: Pull complete [2022-05-10T07:05:54.253Z] ec43610c2a17: Pull complete [2022-05-10T07:05:54.253Z] 3a2ae6a8a46f: Pull complete [2022-05-10T07:05:54.513Z] 33b1e0a273af: Pull complete [2022-05-10T07:05:54.513Z] 5d3b04190fa2: Pull complete [2022-05-10T07:05:58.701Z] 2f39f015ded8: Pull complete [2022-05-10T07:05:58.701Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T07:05:58.701Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:05:58.701Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T07:05:58.763Z] prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container [2022-05-10T07:05:58.796Z] $ 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-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T07:06:00.867Z] $ docker top 57be8a816c03c7cd19f27067e5f2bac38a4a679451cbde8f3abbc9cf30b12abb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:06:01.265Z] ---> job-cost.sh [2022-05-10T07:06:01.265Z] lf-activate-venv: SKIPPING [2022-05-10T07:06:01.265Z] INFO: No Stack... [2022-05-10T07:06:01.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T07:06:02.099Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T07:06:02.395Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-186/archives/cost.csv [2022-05-10T07:06:02.396Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T07:06:02.414Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [2022-05-10T07:06:02.420Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] did not exist. Created. [2022-05-10T07:06:02.420Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T07:06:02.731Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T07:06:02.763Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T07:06:02.769Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T07:06:02.796Z] $ docker stop --time=1 57be8a816c03c7cd19f27067e5f2bac38a4a679451cbde8f3abbc9cf30b12abb [2022-05-10T07:06:03.984Z] $ docker rm -f 57be8a816c03c7cd19f27067e5f2bac38a4a679451cbde8f3abbc9cf30b12abb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T07:14:59.016Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-45836 in /w/workspace/gexfoundry_device-rest-go_PR-186 [Pipeline] { [Pipeline] ws [2022-05-10T07:14:59.028Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-05-10T07:14:59.336Z] The recommended git tool is: git [2022-05-10T07:15:07.239Z] using credential edgex-jenkins-ssh [2022-05-10T07:15:07.260Z] Cloning the remote Git repository [2022-05-10T07:15:07.370Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T07:15:07.478Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-05-10T07:15:07.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T07:15:07.576Z] > git --version # timeout=10 [2022-05-10T07:15:07.607Z] > git --version # 'git version 2.25.1' [2022-05-10T07:15:07.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T07:15:07.762Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T07:15:09.686Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T07:15:09.706Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T07:15:09.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T07:15:09.782Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T07:15:09.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T07:15:09.800Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T07:15:10.354Z] Merging remotes/origin/main commit 4edc8d2690683859fe7dd7f6313ce2addb447006 into PR head commit 7cae7b1f58b74971914cd61c53ee135eddaf8249 [2022-05-10T07:15:10.598Z] Merge succeeded, producing 7cae7b1f58b74971914cd61c53ee135eddaf8249 [2022-05-10T07:15:10.598Z] Checking out Revision 7cae7b1f58b74971914cd61c53ee135eddaf8249 (PR-186) [2022-05-10T07:15:10.379Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T07:15:10.399Z] > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 [2022-05-10T07:15:10.499Z] > git remote # timeout=10 [2022-05-10T07:15:10.524Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T07:15:10.543Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T07:15:10.559Z] > git merge 4edc8d2690683859fe7dd7f6313ce2addb447006 # timeout=10 [2022-05-10T07:15:10.588Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T07:15:10.612Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T07:15:10.630Z] > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 [2022-05-10T07:15:14.941Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:15:15.833Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T07:15:15.833Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T07:15:15.833Z] Dload Upload Total Spent Left Speed [2022-05-10T07:15:15.833Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 162k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh [2022-05-10T07:15:16.426Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T07:15:16.777Z] + sudo tee /etc/docker/daemon.new [2022-05-10T07:15:16.777Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T07:15:16.777Z] { [2022-05-10T07:15:16.777Z] "registry-mirrors": [ [2022-05-10T07:15:16.777Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T07:15:16.777Z] ], [2022-05-10T07:15:16.777Z] "bip": "10.250.0.254/24", [2022-05-10T07:15:16.777Z] "hosts": [ [2022-05-10T07:15:16.777Z] "tcp://0.0.0.0:5555", [2022-05-10T07:15:16.777Z] "unix:///var/run/docker.sock" [2022-05-10T07:15:16.777Z] ], [2022-05-10T07:15:16.777Z] "mtu": 1458, [2022-05-10T07:15:16.777Z] "selinux-enabled": true, [2022-05-10T07:15:16.777Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T07:15:16.777Z] } [Pipeline] sh [2022-05-10T07:15:17.131Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T07:15:17.492Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:15:35.897Z] provisioning config files... [2022-05-10T07:15:35.923Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4828162555309488630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:15:36.298Z] ---> docker-login.sh [2022-05-10T07:15:36.299Z] nexus3.edgexfoundry.org:10001 [2022-05-10T07:15:36.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:37.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:37.171Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:37.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:37.171Z] [2022-05-10T07:15:37.171Z] Login Succeeded [2022-05-10T07:15:37.171Z] nexus3.edgexfoundry.org:10002 [2022-05-10T07:15:37.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:37.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:37.733Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:37.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:37.733Z] [2022-05-10T07:15:37.733Z] Login Succeeded [2022-05-10T07:15:37.733Z] nexus3.edgexfoundry.org:10003 [2022-05-10T07:15:38.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:38.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:38.281Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:38.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:38.281Z] [2022-05-10T07:15:38.281Z] Login Succeeded [2022-05-10T07:15:38.281Z] nexus3.edgexfoundry.org:10004 [2022-05-10T07:15:38.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:38.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:38.560Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:38.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:38.560Z] [2022-05-10T07:15:38.560Z] Login Succeeded [2022-05-10T07:15:38.560Z] docker.io [2022-05-10T07:15:39.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T07:15:39.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T07:15:39.430Z] Configure a credential helper to remove this warning. See [2022-05-10T07:15:39.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T07:15:39.430Z] [2022-05-10T07:15:39.430Z] Login Succeeded [2022-05-10T07:15:39.430Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T07:15:39.447Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T07:15:39.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T07:15:39.916Z] ========================================================= [2022-05-10T07:15:39.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T07:15:39.916Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:15:40.313Z] + 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-10T07:15:40.313Z] Sending build context to Docker daemon 128.5kB [2022-05-10T07:15:40.592Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:15:40.592Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T07:15:40.874Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T07:15:40.874Z] 9b3977197b4f: Pulling fs layer [2022-05-10T07:15:40.874Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T07:15:40.874Z] 94645a83ff95: Pulling fs layer [2022-05-10T07:15:40.874Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T07:15:40.874Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T07:15:40.874Z] 3096ccb668a1: Pulling fs layer [2022-05-10T07:15:40.874Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T07:15:40.874Z] a4caa8a26152: Pulling fs layer [2022-05-10T07:15:40.874Z] e8cf19c19ddd: Waiting [2022-05-10T07:15:40.874Z] a4caa8a26152: Waiting [2022-05-10T07:15:40.874Z] 3f3a8bcf1eab: Waiting [2022-05-10T07:15:40.874Z] 3096ccb668a1: Waiting [2022-05-10T07:15:40.874Z] 0c92f367c5e7: Waiting [2022-05-10T07:15:40.874Z] 94645a83ff95: Verifying Checksum [2022-05-10T07:15:40.874Z] 94645a83ff95: Download complete [2022-05-10T07:15:40.874Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T07:15:40.874Z] 1a89e8eeedd5: Download complete [2022-05-10T07:15:40.874Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T07:15:40.874Z] 0c92f367c5e7: Download complete [2022-05-10T07:15:40.874Z] 3096ccb668a1: Verifying Checksum [2022-05-10T07:15:40.874Z] 3096ccb668a1: Download complete [2022-05-10T07:15:40.874Z] 9b3977197b4f: Download complete [2022-05-10T07:15:40.874Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T07:15:40.874Z] e8cf19c19ddd: Download complete [2022-05-10T07:15:41.882Z] 9b3977197b4f: Pull complete [2022-05-10T07:15:42.497Z] 1a89e8eeedd5: Pull complete [2022-05-10T07:15:43.109Z] 94645a83ff95: Pull complete [2022-05-10T07:15:43.392Z] a4caa8a26152: Verifying Checksum [2022-05-10T07:15:43.392Z] a4caa8a26152: Download complete [2022-05-10T07:15:43.999Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T07:15:43.999Z] 3f3a8bcf1eab: Download complete [2022-05-10T07:15:59.151Z] 3f3a8bcf1eab: Pull complete [2022-05-10T07:15:59.151Z] 0c92f367c5e7: Pull complete [2022-05-10T07:15:59.151Z] 3096ccb668a1: Pull complete [2022-05-10T07:15:59.151Z] e8cf19c19ddd: Pull complete [2022-05-10T07:16:05.936Z] a4caa8a26152: Pull complete [2022-05-10T07:16:05.936Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T07:16:05.936Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T07:16:05.936Z] ---> 725f1c02e7f9 [2022-05-10T07:16:05.936Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T07:16:05.936Z] ---> Running in b84b0b85f161 [2022-05-10T07:16:06.563Z] Removing intermediate container b84b0b85f161 [2022-05-10T07:16:06.563Z] ---> 082059d54120 [2022-05-10T07:16:06.563Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:16:06.563Z] ---> Running in ab693a5d17a4 [2022-05-10T07:16:07.178Z] Removing intermediate container ab693a5d17a4 [2022-05-10T07:16:07.178Z] ---> 8155f2279d67 [2022-05-10T07:16:07.178Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:16:07.178Z] ---> Running in bf2997b44961 [2022-05-10T07:16:08.622Z] Removing intermediate container bf2997b44961 [2022-05-10T07:16:08.622Z] ---> 32d97b02fc8f [2022-05-10T07:16:08.622Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:16:08.622Z] ---> Running in aa366d40c1bf [2022-05-10T07:16:10.618Z] Removing intermediate container aa366d40c1bf [2022-05-10T07:16:10.618Z] ---> 30c6cafde847 [2022-05-10T07:16:10.618Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:16:10.618Z] ---> Running in a0f9e6cbdb98 [2022-05-10T07:16:11.609Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:16:12.615Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:16:13.611Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T07:16:13.611Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T07:16:13.886Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T07:16:13.886Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T07:16:14.164Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T07:16:14.164Z] OK: 224 MiB in 56 packages [2022-05-10T07:16:15.157Z] Removing intermediate container a0f9e6cbdb98 [2022-05-10T07:16:15.157Z] ---> c46f37953c5f [2022-05-10T07:16:15.157Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T07:16:15.157Z] ---> Running in 60c8cbb680f8 [2022-05-10T07:16:15.766Z] Removing intermediate container 60c8cbb680f8 [2022-05-10T07:16:15.766Z] ---> 140e300d30cd [2022-05-10T07:16:15.766Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T07:16:16.377Z] ---> 60592e0f1887 [2022-05-10T07:16:16.377Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:16:16.377Z] ---> Running in bd114eb227cd [2022-05-10T07:17:12.978Z] Removing intermediate container bd114eb227cd [2022-05-10T07:17:12.978Z] ---> 442ed9d4c6e6 [2022-05-10T07:17:12.978Z] Step 11/12 : COPY . . [2022-05-10T07:17:12.978Z] ---> 4df81142d948 [2022-05-10T07:17:12.978Z] Step 12/12 : RUN $MAKE [2022-05-10T07:17:12.978Z] ---> Running in 9c6c08910d62 [2022-05-10T07:17:12.978Z] noop [2022-05-10T07:17:12.978Z] Removing intermediate container 9c6c08910d62 [2022-05-10T07:17:12.979Z] ---> 557920b904a6 [2022-05-10T07:17:12.979Z] Successfully built 557920b904a6 [2022-05-10T07:17:12.979Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:17:13.323Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T07:17:13.323Z] . [Pipeline] withDockerContainer [2022-05-10T07:17:13.559Z] prd-ubuntu20.04-docker-arm64-4c-16g-45836 does not seem to be running inside a container [2022-05-10T07:17:13.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat [2022-05-10T07:17:14.907Z] $ docker top 15daa82a70f5fe5f7a00e1cf127531914919ee51062af466cd42d5e2a66fb11f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:17:15.859Z] + go version [2022-05-10T07:17:15.860Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T07:17:15.891Z] $ docker stop --time=1 15daa82a70f5fe5f7a00e1cf127531914919ee51062af466cd42d5e2a66fb11f [2022-05-10T07:17:17.609Z] $ docker rm -f 15daa82a70f5fe5f7a00e1cf127531914919ee51062af466cd42d5e2a66fb11f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:17:18.240Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T07:17:18.240Z] . [Pipeline] withDockerContainer [2022-05-10T07:17:18.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-45836 does not seem to be running inside a container [2022-05-10T07:17:18.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat [2022-05-10T07:17:20.040Z] $ docker top 7dd08fc60c23824aaf69197e20ea6699363e71ca491a04d3810ad40a4a4438c4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T07:17:21.009Z] + make test [2022-05-10T07:17:21.009Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T07:17:22.993Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T07:18:59.943Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T07:18:59.943Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements [2022-05-10T07:18:59.943Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T07:18:59.943Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T07:19:32.325Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T07:19:32.325Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T07:19:32.325Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T07:19:32.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T07:19:32.374Z] $ docker stop --time=1 7dd08fc60c23824aaf69197e20ea6699363e71ca491a04d3810ad40a4a4438c4 [2022-05-10T07:19:34.252Z] $ docker rm -f 7dd08fc60c23824aaf69197e20ea6699363e71ca491a04d3810ad40a4a4438c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T07:19:35.307Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T07:19:35.334Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T07:19:35.884Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T07:19:36.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T07:19:36.655Z] + ls -al . [2022-05-10T07:19:36.655Z] total 168 [2022-05-10T07:19:36.655Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:19 . [2022-05-10T07:19:36.655Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 07:15 .. [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 07:15 .dockerignore [2022-05-10T07:19:36.655Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 07:15 .git [2022-05-10T07:19:36.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 .github [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 07:15 .gitignore [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 07:15 .golangci.yml [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 07:15 Attribution.txt [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 07:15 CHANGELOG.md [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 07:15 Dockerfile [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 07:15 GOVERNANCE.md [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 07:15 Jenkinsfile [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 07:15 LICENSE [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 07:15 Makefile [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 07:15 OWNERS.md [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 07:15 README.md [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 07:04 VERSION [2022-05-10T07:19:36.655Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:15 bin [2022-05-10T07:19:36.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 cmd [2022-05-10T07:19:36.655Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 07:18 coverage.out [2022-05-10T07:19:36.655Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 07:15 driver [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 3326 May 10 07:15 go.mod [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 35481 May 10 07:15 go.sum [2022-05-10T07:19:36.655Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 07:15 snap [2022-05-10T07:19:36.655Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 07:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:19:37.015Z] + 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=7cae7b1f58b74971914cd61c53ee135eddaf8249 --label arch=arm64 --label version=0.0.0 . [2022-05-10T07:19:37.015Z] Sending build context to Docker daemon 138.8kB [2022-05-10T07:19:37.292Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T07:19:37.292Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T07:19:37.292Z] ---> 557920b904a6 [2022-05-10T07:19:37.292Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T07:19:37.571Z] ---> Running in aafa0567e7db [2022-05-10T07:19:37.848Z] Removing intermediate container aafa0567e7db [2022-05-10T07:19:37.848Z] ---> d9569bf6ec9d [2022-05-10T07:19:37.848Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T07:19:37.848Z] ---> Running in 316346ec3b21 [2022-05-10T07:19:38.449Z] Removing intermediate container 316346ec3b21 [2022-05-10T07:19:38.449Z] ---> 379786e8e014 [2022-05-10T07:19:38.449Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T07:19:38.449Z] ---> Running in 6473e629c487 [2022-05-10T07:19:38.731Z] Removing intermediate container 6473e629c487 [2022-05-10T07:19:38.731Z] ---> 98c448a131a9 [2022-05-10T07:19:38.731Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T07:19:38.731Z] ---> Running in 10805c3f1ead [2022-05-10T07:19:40.879Z] Removing intermediate container 10805c3f1ead [2022-05-10T07:19:40.879Z] ---> 0f94d71f1f48 [2022-05-10T07:19:40.879Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T07:19:41.182Z] ---> Running in 0c64041ffd73 [2022-05-10T07:19:42.190Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:19:43.176Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:19:44.610Z] OK: 224 MiB in 56 packages [2022-05-10T07:19:45.210Z] Removing intermediate container 0c64041ffd73 [2022-05-10T07:19:45.210Z] ---> 5ce6c7758614 [2022-05-10T07:19:45.210Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T07:19:45.210Z] ---> Running in a3bb0327abf5 [2022-05-10T07:19:45.815Z] Removing intermediate container a3bb0327abf5 [2022-05-10T07:19:45.815Z] ---> f155fa5d9788 [2022-05-10T07:19:45.815Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T07:19:46.088Z] ---> ba7c4aae6ca9 [2022-05-10T07:19:46.088Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T07:19:46.361Z] ---> Running in 52adde3ea952 [2022-05-10T07:19:48.345Z] Removing intermediate container 52adde3ea952 [2022-05-10T07:19:48.345Z] ---> f78f8be30dbe [2022-05-10T07:19:48.345Z] Step 11/25 : COPY . . [2022-05-10T07:19:48.947Z] ---> 6ea389e0a8d5 [2022-05-10T07:19:48.947Z] Step 12/25 : RUN $MAKE [2022-05-10T07:19:48.947Z] ---> Running in 44713b08c78f [2022-05-10T07:19:49.953Z] 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-10T07:22:11.851Z] Removing intermediate container 44713b08c78f [2022-05-10T07:22:11.851Z] ---> 61f1350de002 [2022-05-10T07:22:11.851Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T07:22:11.851Z] 3.14: Pulling from library/alpine [2022-05-10T07:22:11.851Z] 455c02918c45: Pulling fs layer [2022-05-10T07:22:11.851Z] 455c02918c45: Download complete [2022-05-10T07:22:11.851Z] 455c02918c45: Pull complete [2022-05-10T07:22:11.851Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T07:22:11.851Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T07:22:11.851Z] ---> ac73e934f311 [2022-05-10T07:22:11.851Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T07:22:11.851Z] ---> Running in ca837f12af6a [2022-05-10T07:22:11.851Z] Removing intermediate container ca837f12af6a [2022-05-10T07:22:11.851Z] ---> 2d0d15f8debe [2022-05-10T07:22:11.851Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T07:22:11.851Z] ---> Running in 0817bf2f1101 [2022-05-10T07:22:11.851Z] Removing intermediate container 0817bf2f1101 [2022-05-10T07:22:11.851Z] ---> 8ee4843c6d85 [2022-05-10T07:22:11.851Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T07:22:11.851Z] ---> Running in 70013baf3ac5 [2022-05-10T07:22:11.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T07:22:12.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T07:22:13.111Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T07:22:13.111Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T07:22:13.111Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T07:22:13.111Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T07:22:13.111Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T07:22:13.111Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T07:22:13.111Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T07:22:13.111Z] OK: 8 MiB in 20 packages [2022-05-10T07:22:14.112Z] Removing intermediate container 70013baf3ac5 [2022-05-10T07:22:14.112Z] ---> 545ab9504983 [2022-05-10T07:22:14.112Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T07:22:16.097Z] ---> 321b794b31d1 [2022-05-10T07:22:16.097Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T07:22:16.374Z] ---> 2997021d547b [2022-05-10T07:22:16.374Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T07:22:16.976Z] ---> 99ee9bf376fc [2022-05-10T07:22:16.976Z] Step 20/25 : EXPOSE 59986 [2022-05-10T07:22:16.976Z] ---> Running in 5c020652d344 [2022-05-10T07:22:17.577Z] Removing intermediate container 5c020652d344 [2022-05-10T07:22:17.577Z] ---> 8dc320909848 [2022-05-10T07:22:17.577Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T07:22:17.577Z] ---> Running in fad90c014f55 [2022-05-10T07:22:17.860Z] Removing intermediate container fad90c014f55 [2022-05-10T07:22:17.860Z] ---> 045b96b5a2cf [2022-05-10T07:22:17.860Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T07:22:17.860Z] ---> Running in 8df082e51409 [2022-05-10T07:22:18.462Z] Removing intermediate container 8df082e51409 [2022-05-10T07:22:18.462Z] ---> 006b882a5457 [2022-05-10T07:22:18.462Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T07:22:18.462Z] ---> Running in 0df595e6a2da [2022-05-10T07:22:18.752Z] Removing intermediate container 0df595e6a2da [2022-05-10T07:22:18.752Z] ---> 4b86d1a4d9dd [2022-05-10T07:22:18.752Z] Step 24/25 : LABEL git_sha=7cae7b1f58b74971914cd61c53ee135eddaf8249 [2022-05-10T07:22:18.752Z] ---> Running in 28d2e2da8e33 [2022-05-10T07:22:19.349Z] Removing intermediate container 28d2e2da8e33 [2022-05-10T07:22:19.349Z] ---> 90d6e6d36ce6 [2022-05-10T07:22:19.349Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T07:22:19.349Z] ---> Running in dd5b11e00205 [2022-05-10T07:22:19.625Z] Removing intermediate container dd5b11e00205 [2022-05-10T07:22:19.625Z] ---> 3fb3b857ea63 [2022-05-10T07:22:19.625Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T07:22:19.625Z] Successfully built 3fb3b857ea63 [2022-05-10T07:22:19.625Z] 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-10T07:22:20.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:22:20.064Z] [2022-05-10T07:22:20.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:20.419Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:22:20.700Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T07:22:20.700Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T07:22:20.700Z] 04944245beec: Pulling fs layer [2022-05-10T07:22:20.700Z] 699f458cf7ca: Pulling fs layer [2022-05-10T07:22:20.700Z] 765212b225bb: Pulling fs layer [2022-05-10T07:22:20.700Z] f23df028b6ca: Pulling fs layer [2022-05-10T07:22:20.700Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T07:22:20.700Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T07:22:20.700Z] 765212b225bb: Waiting [2022-05-10T07:22:20.700Z] f23df028b6ca: Waiting [2022-05-10T07:22:20.700Z] d65c8cfc05b1: Waiting [2022-05-10T07:22:20.700Z] 2437ff75d9bd: Waiting [2022-05-10T07:22:20.700Z] 04944245beec: Verifying Checksum [2022-05-10T07:22:20.700Z] 04944245beec: Download complete [2022-05-10T07:22:20.700Z] 765212b225bb: Verifying Checksum [2022-05-10T07:22:20.700Z] 765212b225bb: Download complete [2022-05-10T07:22:20.700Z] f23df028b6ca: Verifying Checksum [2022-05-10T07:22:20.700Z] f23df028b6ca: Download complete [2022-05-10T07:22:20.975Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T07:22:20.975Z] d65c8cfc05b1: Download complete [2022-05-10T07:22:20.975Z] 699f458cf7ca: Verifying Checksum [2022-05-10T07:22:20.975Z] 699f458cf7ca: Download complete [2022-05-10T07:22:21.254Z] 8998bd30e6a1: Verifying Checksum [2022-05-10T07:22:21.254Z] 8998bd30e6a1: Download complete [2022-05-10T07:22:23.884Z] 2437ff75d9bd: Verifying Checksum [2022-05-10T07:22:23.884Z] 2437ff75d9bd: Download complete [2022-05-10T07:22:25.860Z] 8998bd30e6a1: Pull complete [2022-05-10T07:22:26.136Z] 04944245beec: Pull complete [2022-05-10T07:22:27.574Z] 699f458cf7ca: Pull complete [2022-05-10T07:22:27.847Z] 765212b225bb: Pull complete [2022-05-10T07:22:28.829Z] f23df028b6ca: Pull complete [2022-05-10T07:22:29.104Z] d65c8cfc05b1: Pull complete [2022-05-10T07:22:44.220Z] 2437ff75d9bd: Pull complete [2022-05-10T07:22:44.220Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T07:22:44.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T07:22:44.220Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T07:22:44.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-45836 does not seem to be running inside a container [2022-05-10T07:22:44.587Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T07:22:47.714Z] $ docker top 345ec9673646a74100a68241a41559190ffc8040c45ebdf05e31235dac846ba4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:22:48.683Z] ---> job-cost.sh [2022-05-10T07:22:48.683Z] lf-activate-venv: SKIPPING [2022-05-10T07:22:48.683Z] INFO: No Stack... [2022-05-10T07:22:49.665Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T07:22:50.263Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T07:22:50.938Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-05-10T07:22:50.938Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T07:22:51.015Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [2022-05-10T07:22:51.021Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] did not exist. Created. [2022-05-10T07:22:51.021Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T07:22:51.709Z] /w/workspace/device-rest-go/2@tmp/durable-03afe88a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T07:22:52.392Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T07:22:52.422Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T07:22:52.476Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T07:22:52.488Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T07:22:52.513Z] $ docker stop --time=1 345ec9673646a74100a68241a41559190ffc8040c45ebdf05e31235dac846ba4 [2022-05-10T07:22:54.102Z] $ docker rm -f 345ec9673646a74100a68241a41559190ffc8040c45ebdf05e31235dac846ba4 [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-10T07:22:54.571Z] provisioning config files... [2022-05-10T07:22:54.583Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config3521075273240993406tmp [Pipeline] { [Pipeline] sh [2022-05-10T07:22:54.882Z] + set +x [2022-05-10T07:22:54.882Z] + bash -s -- [2022-05-10T07:22:54.882Z] + curl -s https://codecov.io/bash [2022-05-10T07:22:54.882Z] [2022-05-10T07:22:54.882Z] _____ _ [2022-05-10T07:22:54.882Z] / ____| | | [2022-05-10T07:22:54.882Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T07:22:54.882Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T07:22:54.882Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T07:22:54.882Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T07:22:54.882Z] Bash-1.0.6 [2022-05-10T07:22:54.882Z] [2022-05-10T07:22:54.882Z] [2022-05-10T07:22:54.882Z] ==> git version 2.25.1 found [2022-05-10T07:22:54.882Z] ==> 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-10T07:22:54.882Z] Release-Date: 2020-01-08 [2022-05-10T07:22:54.882Z] 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-10T07:22:54.882Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T07:22:54.882Z] ==> Jenkins CI detected. [2022-05-10T07:22:54.882Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-186 [2022-05-10T07:22:54.882Z] project root: . [2022-05-10T07:22:54.882Z] --> token set from env [2022-05-10T07:22:54.882Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T07:22:54.882Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T07:22:54.882Z] ==> Python coveragepy not found [2022-05-10T07:22:54.882Z] ==> Searching for coverage reports in: [2022-05-10T07:22:54.882Z] + . [2022-05-10T07:22:54.882Z] -> Found 1 reports [2022-05-10T07:22:54.882Z] ==> Detecting git/mercurial file structure [2022-05-10T07:22:54.882Z] ==> Reading reports [2022-05-10T07:22:54.882Z] + ./coverage.out bytes=9355 [2022-05-10T07:22:54.882Z] ==> Appending adjustments [2022-05-10T07:22:54.882Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T07:22:55.143Z] + Found adjustments [2022-05-10T07:22:55.143Z] ==> Gzipping contents [2022-05-10T07:22:55.143Z] 4.0K /tmp/codecov.xRvZUr.gz [2022-05-10T07:22:55.143Z] ==> Uploading reports [2022-05-10T07:22:55.143Z] url: https://codecov.io [2022-05-10T07:22:55.143Z] query: branch=PR-186&commit=7cae7b1f58b74971914cd61c53ee135eddaf8249&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= [2022-05-10T07:22:55.143Z] -> Pinging Codecov [2022-05-10T07:22:55.143Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-186&commit=7cae7b1f58b74971914cd61c53ee135eddaf8249&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= [2022-05-10T07:22:55.403Z] -> Uploading to [2022-05-10T07:22:55.404Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/4E5D53B4F1F92C436F7061BF334D961C/7cae7b1f58b74971914cd61c53ee135eddaf8249/0ab49de4-71d0-4056-80cd-cd9626df6afa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T072255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ecd4cc77a9b8454b751b0cbc1f5a89f2df7930244ab3caa658f291574431e163 [2022-05-10T07:22:55.404Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T07:22:55.404Z] Dload Upload Total Spent Left Speed [2022-05-10T07:22:55.664Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8135 --:--:-- --:--:-- --:--:-- 8098 100 1806 0 0 100 1806 0 7818 --:--:-- --:--:-- --:--:-- 7784 [2022-05-10T07:22:55.664Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/7cae7b1f58b74971914cd61c53ee135eddaf8249 [Pipeline] } [2022-05-10T07:22:55.673Z] 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-10T07:22:56.299Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-186/archives ] [2022-05-10T07:22:56.299Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-10T07:22:56.299Z] total 16 [2022-05-10T07:22:56.299Z] drwxr-xr-x 3 root root 4096 May 10 07:06 . [2022-05-10T07:22:56.299Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:06 .. [2022-05-10T07:22:56.299Z] drwxr-xr-x 2 root root 4096 May 10 07:06 cost [2022-05-10T07:22:56.299Z] -rw-r--r-- 1 root root 85 May 10 07:06 cost.csv [2022-05-10T07:22:56.299Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-10T07:22:56.299Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-10T07:22:56.299Z] total 16 [2022-05-10T07:22:56.299Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 07:06 . [2022-05-10T07:22:56.299Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 07:06 .. [2022-05-10T07:22:56.299Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 07:06 cost [2022-05-10T07:22:56.299Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 07:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:22:56.593Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:22:57.540Z] ---> package-listing.sh [2022-05-10T07:22:57.540Z] ++ facter osfamily [2022-05-10T07:22:57.540Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T07:22:57.540Z] + OS_FAMILY=debian [2022-05-10T07:22:57.540Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-186 [2022-05-10T07:22:57.540Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T07:22:57.540Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T07:22:57.540Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T07:22:57.540Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T07:22:57.540Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' [2022-05-10T07:22:57.540Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T07:22:57.540Z] + case "${OS_FAMILY}" in [2022-05-10T07:22:57.540Z] + dpkg -l [2022-05-10T07:22:57.540Z] + grep '^ii' [2022-05-10T07:22:57.803Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T07:22:57.803Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T07:22:57.803Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T07:22:57.803Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' [2022-05-10T07:22:57.803Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ [2022-05-10T07:22:57.803Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ [Pipeline] echo [2022-05-10T07:22:57.815Z] 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-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T07:22:58.093Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T07:22:58.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T07:22:58.648Z] . [Pipeline] withDockerContainer [2022-05-10T07:22:58.710Z] prd-ubuntu20.04-docker-8c-8g-45614 does not seem to be running inside a container [2022-05-10T07:22:58.747Z] $ 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-186/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-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T07:22:58.981Z] $ docker top 25b6198f97a80525c7155c3be1a574c88a762a77f4f6de0e6f5f063c642d4f90 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T07:22:59.336Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T07:22:59.631Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T07:22:59.921Z] + ls /var/log/sa-host [2022-05-10T07:22:59.921Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T07:23:00.008Z] provisioning config files... [2022-05-10T07:23:00.020Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config7118813705929902398tmp [Pipeline] { [Pipeline] echo [2022-05-10T07:23:00.035Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:00.318Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T07:23:00.326Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:00.671Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T07:23:00.682Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:00.973Z] ---> sudo-logs.sh [2022-05-10T07:23:00.973Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T07:23:01.000Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:01.288Z] ---> job-cost.sh [2022-05-10T07:23:01.288Z] lf-activate-venv: SKIPPING [2022-05-10T07:23:01.288Z] DEBUG: total: 0.2199999988079071 [2022-05-10T07:23:01.288Z] INFO: Retrieving Stack Cost... [2022-05-10T07:23:01.549Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T07:23:02.122Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T07:23:02.141Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T07:23:02.428Z] ---> logs-deploy.sh [2022-05-10T07:23:02.428Z] lf-activate-venv: SKIPPING [2022-05-10T07:23:02.428Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-186/2 [2022-05-10T07:23:02.428Z] INFO: archiving workspace using pattern(s): [2022-05-10T07:23:03.370Z] Archives upload complete. [2022-05-10T07:23:03.370Z] INFO: archiving logs to Nexus