Pull request #188 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 4edc8d2690683859fe7dd7f6313ce2addb447006 rather than 666239c451659f5f452068b0dd21a739764742be Obtained Jenkinsfile from 4edc8d2690683859fe7dd7f6313ce2addb447006 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-ssh4412902114940707820.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-ssh11218165158515260637.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-188/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-188/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh463351497883312130.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-ssh7272961263599556110.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-188/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-188/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17816235946749163144.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-47527’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47533’ is offline Running on prd-ubuntu20.04-docker-8c-8g-47534 in /w/workspace/gexfoundry_device-rest-go_PR-188 [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-188 # 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 666239c451659f5f452068b0dd21a739764742be > 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/188/head:refs/remotes/origin/PR-188 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 666239c451659f5f452068b0dd21a739764742be # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 666239c451659f5f452068b0dd21a739764742be Checking out Revision 666239c451659f5f452068b0dd21a739764742be (PR-188) 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 666239c451659f5f452068b0dd21a739764742be # timeout=10 Commit message: "build(deps): go mod tidy" > git rev-list --no-walk 6592639535dbfe2f23e78a29db4d492bfcdc0f26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-10T11:56:21.195Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-10T11:56:21.249Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-10T11:56:21.262Z] ========================================================= [2022-05-10T11:56:21.262Z] EdgeX Global Pipelines Version Info [2022-05-10T11:56:21.262Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-10T11:56:22.054Z] ------------------- [2022-05-10T11:56:22.054Z] stable info: [2022-05-10T11:56:22.054Z] ------------------- [2022-05-10T11:56:22.054Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T11:56:22.054Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-10T11:56:22.054Z] Message: update stable to v1.0.227 [2022-05-10T11:56:22.626Z] ------------------- [2022-05-10T11:56:22.626Z] experimental info: [2022-05-10T11:56:22.626Z] ------------------- [2022-05-10T11:56:22.626Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-10T11:56:22.626Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-10T11:56:22.626Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-10T11:56:22.869Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-10T11:56:22.880Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-10T11:56:22.897Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-10T11:56:22.915Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-10T11:56:22.935Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-10T11:56:22.952Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-10T11:56:22.961Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-10T11:56:22.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-10T11:56:22.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-10T11:56:23.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-10T11:56:23.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-10T11:56:23.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-10T11:56:23.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-10T11:56:23.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-10T11:56:23.065Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T11:56:23.077Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-10T11:56:23.089Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T11:56:23.107Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-10T11:56:23.125Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-10T11:56:23.134Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-10T11:56:23.149Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-10T11:56:23.160Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-10T11:56:23.178Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-10T11:56:23.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-10T11:56:23.205Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-10T11:56:23.216Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-10T11:56:23.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-188 [Pipeline] echo [2022-05-10T11:56:23.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-188 [Pipeline] echo [2022-05-10T11:56:23.266Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-188 [Pipeline] echo [2022-05-10T11:56:23.278Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 666239c451659f5f452068b0dd21a739764742be [Pipeline] echo [2022-05-10T11:56:23.288Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 666239c [Pipeline] echo [2022-05-10T11:56:23.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T11:56:23.353Z] provisioning config files... [2022-05-10T11:56:23.379Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/config8128780907721805443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T11:56:23.691Z] ---> docker-login.sh [2022-05-10T11:56:23.691Z] nexus3.edgexfoundry.org:10001 [2022-05-10T11:56:23.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:23.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:23.952Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:23.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:23.952Z] [2022-05-10T11:56:23.952Z] Login Succeeded [2022-05-10T11:56:23.952Z] nexus3.edgexfoundry.org:10002 [2022-05-10T11:56:24.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:24.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:24.212Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:24.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:24.212Z] [2022-05-10T11:56:24.212Z] Login Succeeded [2022-05-10T11:56:24.212Z] nexus3.edgexfoundry.org:10003 [2022-05-10T11:56:24.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:24.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:24.212Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:24.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:24.212Z] [2022-05-10T11:56:24.212Z] Login Succeeded [2022-05-10T11:56:24.212Z] nexus3.edgexfoundry.org:10004 [2022-05-10T11:56:24.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:24.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:24.475Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:24.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:24.475Z] [2022-05-10T11:56:24.475Z] Login Succeeded [2022-05-10T11:56:24.475Z] docker.io [2022-05-10T11:56:24.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:25.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:25.052Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:25.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:25.052Z] [2022-05-10T11:56:25.052Z] Login Succeeded [2022-05-10T11:56:25.052Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T11:56:25.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-10T11:56:25.440Z] + git rev-list -1 --merges 666239c451659f5f452068b0dd21a739764742be~1..666239c451659f5f452068b0dd21a739764742be [Pipeline] echo [2022-05-10T11:56:25.476Z] -----------> git rev-list -1 --merges 666239c451659f5f452068b0dd21a739764742be~1..666239c451659f5f452068b0dd21a739764742be 666239c451659f5f452068b0dd21a739764742be [false] [Pipeline] sh [2022-05-10T11:56:25.771Z] + git log --format=format:%s -1 666239c451659f5f452068b0dd21a739764742be [Pipeline] echo [2022-05-10T11:56:25.791Z] ========================================================= [2022-05-10T11:56:25.791Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-10T11:56:25.791Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T11:56:26.135Z] + git log --format=format:%s -1 666239c451659f5f452068b0dd21a739764742be [Pipeline] echo [2022-05-10T11:56:26.148Z] [semverPrep] GIT_COMMIT: 666239c451659f5f452068b0dd21a739764742be, Commit Message: build(deps): go mod tidy [Pipeline] echo [2022-05-10T11:56:26.159Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-10T11:56:26.666Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-10T11:56:26.666Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-10T11:56:26.666Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-10T11:56:26.666Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-10T11:56:26.666Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-10T11:56:26.666Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-10T11:56:26.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-10T11:56:27.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T11:56:27.018Z] [2022-05-10T11:56:27.018Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T11:56:27.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T11:56:27.332Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-10T11:56:27.332Z] 1fe172e4850f: Pulling fs layer [2022-05-10T11:56:27.332Z] caf521ccaac6: Pulling fs layer [2022-05-10T11:56:27.332Z] 3ead6fa29328: Pulling fs layer [2022-05-10T11:56:27.332Z] 5c2a1cbceb83: Pulling fs layer [2022-05-10T11:56:27.332Z] a8d5f1318db7: Pulling fs layer [2022-05-10T11:56:27.332Z] c427282e49a2: Pulling fs layer [2022-05-10T11:56:27.332Z] 1827001aaf11: Pulling fs layer [2022-05-10T11:56:27.332Z] 0714d37db230: Pulling fs layer [2022-05-10T11:56:27.332Z] ac28cf19c067: Pulling fs layer [2022-05-10T11:56:27.332Z] ca983d60f3e2: Pulling fs layer [2022-05-10T11:56:27.332Z] 9f894cec8388: Pulling fs layer [2022-05-10T11:56:27.332Z] 0714d37db230: Waiting [2022-05-10T11:56:27.332Z] 5c2a1cbceb83: Waiting [2022-05-10T11:56:27.332Z] a8d5f1318db7: Waiting [2022-05-10T11:56:27.332Z] ca983d60f3e2: Waiting [2022-05-10T11:56:27.332Z] 1827001aaf11: Waiting [2022-05-10T11:56:27.332Z] c427282e49a2: Waiting [2022-05-10T11:56:27.332Z] caf521ccaac6: Verifying Checksum [2022-05-10T11:56:27.332Z] caf521ccaac6: Download complete [2022-05-10T11:56:27.332Z] 5c2a1cbceb83: Verifying Checksum [2022-05-10T11:56:27.332Z] 5c2a1cbceb83: Download complete [2022-05-10T11:56:27.594Z] a8d5f1318db7: Verifying Checksum [2022-05-10T11:56:27.594Z] a8d5f1318db7: Download complete [2022-05-10T11:56:27.594Z] c427282e49a2: Verifying Checksum [2022-05-10T11:56:27.594Z] c427282e49a2: Download complete [2022-05-10T11:56:27.594Z] 3ead6fa29328: Verifying Checksum [2022-05-10T11:56:27.594Z] 3ead6fa29328: Download complete [2022-05-10T11:56:27.594Z] 0714d37db230: Download complete [2022-05-10T11:56:27.594Z] ac28cf19c067: Download complete [2022-05-10T11:56:27.594Z] ca983d60f3e2: Download complete [2022-05-10T11:56:27.594Z] 9f894cec8388: Verifying Checksum [2022-05-10T11:56:27.594Z] 9f894cec8388: Download complete [2022-05-10T11:56:27.594Z] 1fe172e4850f: Verifying Checksum [2022-05-10T11:56:27.594Z] 1fe172e4850f: Download complete [2022-05-10T11:56:27.856Z] 1827001aaf11: Verifying Checksum [2022-05-10T11:56:27.856Z] 1827001aaf11: Download complete [2022-05-10T11:56:29.243Z] 1fe172e4850f: Pull complete [2022-05-10T11:56:29.243Z] caf521ccaac6: Pull complete [2022-05-10T11:56:29.814Z] 3ead6fa29328: Pull complete [2022-05-10T11:56:29.814Z] 5c2a1cbceb83: Pull complete [2022-05-10T11:56:30.391Z] a8d5f1318db7: Pull complete [2022-05-10T11:56:30.391Z] c427282e49a2: Pull complete [2022-05-10T11:56:32.312Z] 1827001aaf11: Pull complete [2022-05-10T11:56:32.312Z] 0714d37db230: Pull complete [2022-05-10T11:56:32.575Z] ac28cf19c067: Pull complete [2022-05-10T11:56:32.575Z] ca983d60f3e2: Pull complete [2022-05-10T11:56:32.575Z] 9f894cec8388: Pull complete [2022-05-10T11:56:32.838Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-10T11:56:32.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-10T11:56:32.838Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-10T11:56:32.924Z] prd-ubuntu20.04-docker-8c-8g-47534 does not seem to be running inside a container [2022-05-10T11:56:32.968Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-10T11:56:34.618Z] $ docker top 83b385b77c3f12e9f52d4afc649cc7c30253ed2cad140e3a6fbfa267553e5628 -eo pid,comm [2022-05-10T11:56:34.695Z] 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-10T11:56:34.695Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-10T11:56:34.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T11:56:34.732Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T11:56:34.872Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T11:56:34.875Z] $ docker exec 83b385b77c3f12e9f52d4afc649cc7c30253ed2cad140e3a6fbfa267553e5628 ssh-agent [2022-05-10T11:56:35.006Z] SSH_AUTH_SOCK=/tmp/ssh-jHjWLWg7HiTu/agent.32 [2022-05-10T11:56:35.006Z] SSH_AGENT_PID=38 [2022-05-10T11:56:35.017Z] Running ssh-add (command line suppressed) [2022-05-10T11:56:35.136Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-188@tmp/private_key_4592991171680698016.key (/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/private_key_4592991171680698016.key) [2022-05-10T11:56:35.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T11:56:35.450Z] + git tag --points-at HEAD [Pipeline] } [2022-05-10T11:56:35.464Z] $ docker exec --env ******** --env ******** 83b385b77c3f12e9f52d4afc649cc7c30253ed2cad140e3a6fbfa267553e5628 ssh-agent -k [2022-05-10T11:56:35.587Z] unset SSH_AUTH_SOCK; [2022-05-10T11:56:35.587Z] unset SSH_AGENT_PID; [2022-05-10T11:56:35.588Z] echo Agent pid 38 killed; [2022-05-10T11:56:35.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-10T11:56:35.622Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-10T11:56:35.622Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-10T11:56:35.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-10T11:56:35.769Z] $ docker exec 83b385b77c3f12e9f52d4afc649cc7c30253ed2cad140e3a6fbfa267553e5628 ssh-agent [2022-05-10T11:56:35.886Z] SSH_AUTH_SOCK=/tmp/ssh-NvVg3MrVrNOP/agent.72 [2022-05-10T11:56:35.886Z] SSH_AGENT_PID=78 [2022-05-10T11:56:35.891Z] Running ssh-add (command line suppressed) [2022-05-10T11:56:36.013Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-188@tmp/private_key_8943519172957457842.key (/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/private_key_8943519172957457842.key) [2022-05-10T11:56:36.030Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-10T11:56:36.318Z] + git semver init [2022-05-10T11:56:36.579Z] 2022-05-10 11:56:36,563 [run_init] DEBUG init version:0.0.0 force:False [2022-05-10T11:56:36.579Z] 2022-05-10 11:56:36,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-188/.semver [2022-05-10T11:56:36.579Z] 2022-05-10 11:56:36,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-188/.semver [2022-05-10T11:56:36.579Z] 2022-05-10 11:56:36,564 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-188/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-188, universal_newlines=False, shell=None, istream=None) [2022-05-10T11:56:37.968Z] 2022-05-10 11:56:37,612 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-188/.git/info/exclude [2022-05-10T11:56:37.968Z] 2022-05-10 11:56:37,613 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-188/.semver/PR-188 with force:False [2022-05-10T11:56:37.968Z] 2022-05-10 11:56:37,613 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-188/.semver/PR-188 [2022-05-10T11:56:37.968Z] 2022-05-10 11:56:37,617 [execute] INFO git cat-file --batch-check [2022-05-10T11:56:37.968Z] 2022-05-10 11:56:37,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-188/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T11:56:37.968Z] 2022-05-10 11:56:37,625 [execute] INFO git cat-file --batch [2022-05-10T11:56:37.968Z] 2022-05-10 11:56:37,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-188/.semver, universal_newlines=False, shell=None, istream=) [2022-05-10T11:56:37.968Z] 2022-05-10 11:56:37,631 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-188/.semver/PR-188 [2022-05-10T11:56:37.968Z] 0.0.0 [Pipeline] } [2022-05-10T11:56:37.982Z] $ docker exec --env ******** --env ******** 83b385b77c3f12e9f52d4afc649cc7c30253ed2cad140e3a6fbfa267553e5628 ssh-agent -k [2022-05-10T11:56:38.094Z] unset SSH_AUTH_SOCK; [2022-05-10T11:56:38.095Z] unset SSH_AGENT_PID; [2022-05-10T11:56:38.095Z] echo Agent pid 78 killed; [2022-05-10T11:56:38.107Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-10T11:56:38.423Z] + git semver [Pipeline] } [2022-05-10T11:56:38.703Z] $ docker stop --time=1 83b385b77c3f12e9f52d4afc649cc7c30253ed2cad140e3a6fbfa267553e5628 [2022-05-10T11:56:40.111Z] $ docker rm -f 83b385b77c3f12e9f52d4afc649cc7c30253ed2cad140e3a6fbfa267553e5628 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T11:56:40.483Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-10T11:56:40.734Z] Stashed 1 file(s) [Pipeline] echo [2022-05-10T11:56:40.738Z] [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-10T11:56:40.913Z] provisioning config files... [2022-05-10T11:56:40.924Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/config156743489017476485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T11:56:41.236Z] ---> docker-login.sh [2022-05-10T11:56:41.236Z] nexus3.edgexfoundry.org:10001 [2022-05-10T11:56:41.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:41.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:41.236Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:41.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:41.236Z] [2022-05-10T11:56:41.236Z] Login Succeeded [2022-05-10T11:56:41.236Z] nexus3.edgexfoundry.org:10002 [2022-05-10T11:56:41.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:41.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:41.497Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:41.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:41.497Z] [2022-05-10T11:56:41.497Z] Login Succeeded [2022-05-10T11:56:41.497Z] nexus3.edgexfoundry.org:10003 [2022-05-10T11:56:41.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:41.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:41.497Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:41.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:41.497Z] [2022-05-10T11:56:41.497Z] Login Succeeded [2022-05-10T11:56:41.497Z] nexus3.edgexfoundry.org:10004 [2022-05-10T11:56:41.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:41.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:41.757Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:41.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:41.757Z] [2022-05-10T11:56:41.757Z] Login Succeeded [2022-05-10T11:56:41.757Z] docker.io [2022-05-10T11:56:41.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T11:56:42.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T11:56:42.016Z] Configure a credential helper to remove this warning. See [2022-05-10T11:56:42.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T11:56:42.016Z] [2022-05-10T11:56:42.016Z] Login Succeeded [2022-05-10T11:56:42.277Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T11:56:42.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T11:56:42.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T11:56:42.367Z] ========================================================= [2022-05-10T11:56:42.367Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-10T11:56:42.367Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T11:56:42.685Z] + 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-10T11:56:42.685Z] Sending build context to Docker daemon 10.62MB [2022-05-10T11:56:42.685Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T11:56:42.685Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T11:56:42.685Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-10T11:56:42.685Z] 59bf1c3509f3: Pulling fs layer [2022-05-10T11:56:42.685Z] 666ba61612fd: Pulling fs layer [2022-05-10T11:56:42.685Z] 8ed8ca486205: Pulling fs layer [2022-05-10T11:56:42.685Z] 4fe6c5a15a65: Pulling fs layer [2022-05-10T11:56:42.685Z] 22a0e8bec74d: Pulling fs layer [2022-05-10T11:56:42.685Z] ca2b28591e48: Pulling fs layer [2022-05-10T11:56:42.685Z] a51346096db8: Pulling fs layer [2022-05-10T11:56:42.685Z] daebc70d1ce1: Pulling fs layer [2022-05-10T11:56:42.685Z] 0e18a0eac166: Pulling fs layer [2022-05-10T11:56:42.685Z] 4fe6c5a15a65: Waiting [2022-05-10T11:56:42.685Z] daebc70d1ce1: Waiting [2022-05-10T11:56:42.685Z] 22a0e8bec74d: Waiting [2022-05-10T11:56:42.685Z] 0e18a0eac166: Waiting [2022-05-10T11:56:42.685Z] ca2b28591e48: Waiting [2022-05-10T11:56:42.685Z] a51346096db8: Waiting [2022-05-10T11:56:42.685Z] 8ed8ca486205: Verifying Checksum [2022-05-10T11:56:42.685Z] 8ed8ca486205: Download complete [2022-05-10T11:56:42.685Z] 666ba61612fd: Download complete [2022-05-10T11:56:42.951Z] 22a0e8bec74d: Verifying Checksum [2022-05-10T11:56:42.951Z] 22a0e8bec74d: Download complete [2022-05-10T11:56:42.951Z] 59bf1c3509f3: Verifying Checksum [2022-05-10T11:56:42.951Z] ca2b28591e48: Verifying Checksum [2022-05-10T11:56:42.951Z] ca2b28591e48: Download complete [2022-05-10T11:56:42.951Z] a51346096db8: Verifying Checksum [2022-05-10T11:56:42.951Z] a51346096db8: Download complete [2022-05-10T11:56:42.951Z] daebc70d1ce1: Verifying Checksum [2022-05-10T11:56:42.951Z] daebc70d1ce1: Download complete [2022-05-10T11:56:42.951Z] 59bf1c3509f3: Pull complete [2022-05-10T11:56:43.214Z] 666ba61612fd: Pull complete [2022-05-10T11:56:43.214Z] 8ed8ca486205: Pull complete [2022-05-10T11:56:43.481Z] 0e18a0eac166: Download complete [2022-05-10T11:56:43.742Z] 4fe6c5a15a65: Verifying Checksum [2022-05-10T11:56:43.742Z] 4fe6c5a15a65: Download complete [2022-05-10T11:56:47.960Z] 4fe6c5a15a65: Pull complete [2022-05-10T11:56:48.222Z] 22a0e8bec74d: Pull complete [2022-05-10T11:56:48.222Z] ca2b28591e48: Pull complete [2022-05-10T11:56:48.222Z] a51346096db8: Pull complete [2022-05-10T11:56:48.484Z] daebc70d1ce1: Pull complete [2022-05-10T11:56:51.028Z] 0e18a0eac166: Pull complete [2022-05-10T11:56:51.028Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-10T11:56:51.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-10T11:56:51.028Z] ---> f018257e8ee9 [2022-05-10T11:56:51.028Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T11:56:52.439Z] ---> Running in 4204eea0905b [2022-05-10T11:56:52.439Z] Removing intermediate container 4204eea0905b [2022-05-10T11:56:52.439Z] ---> ad9a99b281f0 [2022-05-10T11:56:52.439Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T11:56:52.439Z] ---> Running in 3b16e373d077 [2022-05-10T11:56:52.439Z] Removing intermediate container 3b16e373d077 [2022-05-10T11:56:52.439Z] ---> 1001bb8a68fc [2022-05-10T11:56:52.439Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T11:56:52.439Z] ---> Running in 5afce77de843 [2022-05-10T11:56:52.698Z] Removing intermediate container 5afce77de843 [2022-05-10T11:56:52.698Z] ---> 6c5376189f5e [2022-05-10T11:56:52.698Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T11:56:52.698Z] ---> Running in 72036559bc1e [2022-05-10T11:56:53.271Z] Removing intermediate container 72036559bc1e [2022-05-10T11:56:53.271Z] ---> eb04e328b16e [2022-05-10T11:56:53.271Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T11:56:53.271Z] ---> Running in a6fb0dd206e2 [2022-05-10T11:56:53.532Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T11:56:54.480Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T11:56:54.743Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T11:56:54.743Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T11:56:55.004Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T11:56:55.004Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T11:56:55.268Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T11:56:55.268Z] OK: 224 MiB in 56 packages [2022-05-10T11:56:55.529Z] Removing intermediate container a6fb0dd206e2 [2022-05-10T11:56:55.529Z] ---> 9bc801c8cfd1 [2022-05-10T11:56:55.529Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T11:56:55.529Z] ---> Running in 8d490a5d0ea6 [2022-05-10T11:56:55.788Z] Removing intermediate container 8d490a5d0ea6 [2022-05-10T11:56:55.788Z] ---> 420f1115f70a [2022-05-10T11:56:55.788Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T11:56:55.788Z] ---> 3361d6f1acdd [2022-05-10T11:56:55.788Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T11:56:55.788Z] ---> Running in 16e5a80ee4d3 [2022-05-10T11:56:55.855Z] Still waiting to schedule task [2022-05-10T11:56:55.856Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-10T11:57:10.704Z] Removing intermediate container 16e5a80ee4d3 [2022-05-10T11:57:10.704Z] ---> 6ea07fafd99a [2022-05-10T11:57:10.704Z] Step 11/12 : COPY . . [2022-05-10T11:57:10.704Z] ---> 9d02fe612e4a [2022-05-10T11:57:10.704Z] Step 12/12 : RUN $MAKE [2022-05-10T11:57:10.704Z] ---> Running in 1108ad4ce4c1 [2022-05-10T11:57:10.704Z] noop [2022-05-10T11:57:10.704Z] Removing intermediate container 1108ad4ce4c1 [2022-05-10T11:57:10.704Z] ---> 5f9c3cb6a1f8 [2022-05-10T11:57:10.704Z] Successfully built 5f9c3cb6a1f8 [2022-05-10T11:57:10.704Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T11:57:11.006Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T11:57:11.006Z] . [Pipeline] withDockerContainer [2022-05-10T11:57:11.079Z] prd-ubuntu20.04-docker-8c-8g-47534 does not seem to be running inside a container [2022-05-10T11:57:11.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T11:57:11.535Z] $ docker top 738fda8106b1a28228322d753f73f6b80354989139f9f7c2b479a4f09c53cb8c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T11:57:11.895Z] + go version [2022-05-10T11:57:11.895Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-10T11:57:11.915Z] $ docker stop --time=1 738fda8106b1a28228322d753f73f6b80354989139f9f7c2b479a4f09c53cb8c [2022-05-10T11:57:13.251Z] $ docker rm -f 738fda8106b1a28228322d753f73f6b80354989139f9f7c2b479a4f09c53cb8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T11:57:13.756Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-10T11:57:13.756Z] . [Pipeline] withDockerContainer [2022-05-10T11:57:13.900Z] prd-ubuntu20.04-docker-8c-8g-47534 does not seem to be running inside a container [2022-05-10T11:57:13.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-10T11:57:14.369Z] $ docker top 2744b66da4e501f86654921e5e4955b50ccc418ec044fe37f23a5c204516bd13 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T11:57:14.739Z] + make test [2022-05-10T11:57:14.739Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T11:57:15.000Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T11:57:24.996Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T11:57:24.996Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements [2022-05-10T11:57:31.579Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T11:57:35.776Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T11:57:35.776Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T11:57:35.776Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T11:57:35.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T11:57:35.816Z] $ docker stop --time=1 2744b66da4e501f86654921e5e4955b50ccc418ec044fe37f23a5c204516bd13 [2022-05-10T11:57:37.640Z] $ docker rm -f 2744b66da4e501f86654921e5e4955b50ccc418ec044fe37f23a5c204516bd13 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T11:57:38.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T11:57:38.122Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-10T11:57:38.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T11:57:38.962Z] + ls -al . [2022-05-10T11:57:38.962Z] total 172 [2022-05-10T11:57:38.962Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 11:57 . [2022-05-10T11:57:38.962Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 11:56 .. [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 11:56 .dockerignore [2022-05-10T11:57:38.962Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 11:56 .git [2022-05-10T11:57:38.962Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:56 .github [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 11:56 .gitignore [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 11:56 .golangci.yml [2022-05-10T11:57:38.962Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 11:56 .semver [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 11:56 Attribution.txt [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 11:56 CHANGELOG.md [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 11:56 Dockerfile [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 11:56 GOVERNANCE.md [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 11:56 Jenkinsfile [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 11:56 LICENSE [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 11:56 Makefile [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 11:56 OWNERS.md [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 11:56 README.md [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 11:56 VERSION [2022-05-10T11:57:38.962Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:56 bin [2022-05-10T11:57:38.962Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:56 cmd [2022-05-10T11:57:38.962Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 11:57 coverage.out [2022-05-10T11:57:38.962Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:56 driver [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 11:56 go.mod [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 10 11:56 go.sum [2022-05-10T11:57:38.962Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:56 snap [2022-05-10T11:57:38.962Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 11:56 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T11:57:39.260Z] + 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=666239c451659f5f452068b0dd21a739764742be --label arch=amd64 --label version=0.0.0 . [2022-05-10T11:57:39.260Z] Sending build context to Docker daemon 10.63MB [2022-05-10T11:57:39.260Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T11:57:39.260Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T11:57:39.260Z] ---> 5f9c3cb6a1f8 [2022-05-10T11:57:39.260Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T11:57:39.260Z] ---> Running in d7eb80763019 [2022-05-10T11:57:39.521Z] Removing intermediate container d7eb80763019 [2022-05-10T11:57:39.521Z] ---> c81bdf11d5d2 [2022-05-10T11:57:39.521Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T11:57:39.521Z] ---> Running in 5140d5d21db6 [2022-05-10T11:57:39.521Z] Removing intermediate container 5140d5d21db6 [2022-05-10T11:57:39.521Z] ---> 29c323671760 [2022-05-10T11:57:39.521Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T11:57:39.782Z] ---> Running in 27d06d4d687f [2022-05-10T11:57:39.782Z] Removing intermediate container 27d06d4d687f [2022-05-10T11:57:39.782Z] ---> ff9a73259829 [2022-05-10T11:57:39.782Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T11:57:40.042Z] ---> Running in 9f11c7d64a2e [2022-05-10T11:57:40.614Z] Removing intermediate container 9f11c7d64a2e [2022-05-10T11:57:40.614Z] ---> 769db7a9889e [2022-05-10T11:57:40.614Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T11:57:40.614Z] ---> Running in 0ab85dbe2f05 [2022-05-10T11:57:40.874Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-10T11:57:41.817Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-10T11:57:42.077Z] OK: 224 MiB in 56 packages [2022-05-10T11:57:42.337Z] Removing intermediate container 0ab85dbe2f05 [2022-05-10T11:57:42.337Z] ---> 5fe5ffd1662c [2022-05-10T11:57:42.337Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T11:57:42.337Z] ---> Running in 55ed8ea5ac4e [2022-05-10T11:57:42.596Z] Removing intermediate container 55ed8ea5ac4e [2022-05-10T11:57:42.596Z] ---> 80fb96a7c2fc [2022-05-10T11:57:42.596Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T11:57:42.596Z] ---> b1e0caad7d59 [2022-05-10T11:57:42.596Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T11:57:42.857Z] ---> Running in 38c6965f723d [2022-05-10T11:57:43.426Z] Removing intermediate container 38c6965f723d [2022-05-10T11:57:43.426Z] ---> 4bfbef2cfcd9 [2022-05-10T11:57:43.426Z] Step 11/25 : COPY . . [2022-05-10T11:57:43.687Z] ---> 5ebc044c0e60 [2022-05-10T11:57:43.687Z] Step 12/25 : RUN $MAKE [2022-05-10T11:57:43.687Z] ---> Running in 8451c87c1fd1 [2022-05-10T11:57:44.004Z] 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-10T11:58:05.966Z] Removing intermediate container 8451c87c1fd1 [2022-05-10T11:58:05.966Z] ---> 7771c2b9d587 [2022-05-10T11:58:05.966Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T11:58:05.966Z] 3.14: Pulling from library/alpine [2022-05-10T11:58:05.966Z] 8663204ce13b: Pulling fs layer [2022-05-10T11:58:05.966Z] 8663204ce13b: Verifying Checksum [2022-05-10T11:58:05.966Z] 8663204ce13b: Download complete [2022-05-10T11:58:05.966Z] 8663204ce13b: Pull complete [2022-05-10T11:58:05.966Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T11:58:05.966Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T11:58:05.966Z] ---> e04c818066af [2022-05-10T11:58:05.966Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T11:58:05.966Z] ---> Running in 8255d3d32184 [2022-05-10T11:58:05.966Z] Removing intermediate container 8255d3d32184 [2022-05-10T11:58:05.966Z] ---> 186d4e9eea1f [2022-05-10T11:58:05.966Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T11:58:05.966Z] ---> Running in 25ec62682afe [2022-05-10T11:58:05.966Z] Removing intermediate container 25ec62682afe [2022-05-10T11:58:05.966Z] ---> 93fe9d7b3371 [2022-05-10T11:58:05.966Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T11:58:05.966Z] ---> Running in fa9204ed1420 [2022-05-10T11:58:05.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-10T11:58:05.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-10T11:58:05.966Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T11:58:05.966Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T11:58:05.966Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T11:58:05.966Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T11:58:05.966Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T11:58:05.966Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T11:58:05.966Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T11:58:05.966Z] OK: 8 MiB in 20 packages [2022-05-10T11:58:05.966Z] Removing intermediate container fa9204ed1420 [2022-05-10T11:58:05.966Z] ---> 73e86ff96709 [2022-05-10T11:58:05.966Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T11:58:06.537Z] ---> 80574611ee93 [2022-05-10T11:58:06.537Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T11:58:06.537Z] ---> 58ac6932e532 [2022-05-10T11:58:06.537Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T11:58:06.796Z] ---> 4b6e200b21c5 [2022-05-10T11:58:06.796Z] Step 20/25 : EXPOSE 59986 [2022-05-10T11:58:06.796Z] ---> Running in 09b3970212cb [2022-05-10T11:58:06.796Z] Removing intermediate container 09b3970212cb [2022-05-10T11:58:06.796Z] ---> cbf9478549f3 [2022-05-10T11:58:06.796Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T11:58:06.796Z] ---> Running in 8a22b5f85373 [2022-05-10T11:58:07.056Z] Removing intermediate container 8a22b5f85373 [2022-05-10T11:58:07.056Z] ---> 9d06d0c2405b [2022-05-10T11:58:07.056Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T11:58:07.056Z] ---> Running in 494b2237296a [2022-05-10T11:58:07.056Z] Removing intermediate container 494b2237296a [2022-05-10T11:58:07.056Z] ---> eca7db82abec [2022-05-10T11:58:07.056Z] Step 23/25 : LABEL arch=amd64 [2022-05-10T11:58:07.056Z] ---> Running in 04f8a869d13f [2022-05-10T11:58:07.327Z] Removing intermediate container 04f8a869d13f [2022-05-10T11:58:07.327Z] ---> ff04d39e0130 [2022-05-10T11:58:07.327Z] Step 24/25 : LABEL git_sha=666239c451659f5f452068b0dd21a739764742be [2022-05-10T11:58:07.327Z] ---> Running in 5e2487195e75 [2022-05-10T11:58:07.327Z] Removing intermediate container 5e2487195e75 [2022-05-10T11:58:07.327Z] ---> f70712fe16e3 [2022-05-10T11:58:07.327Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T11:58:07.588Z] ---> Running in 425dc8de1bdd [2022-05-10T11:58:07.588Z] Removing intermediate container 425dc8de1bdd [2022-05-10T11:58:07.588Z] ---> 0e47b2738b98 [2022-05-10T11:58:07.588Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T11:58:07.588Z] Successfully built 0e47b2738b98 [2022-05-10T11:58:07.588Z] 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-10T11:58:07.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T11:58:07.984Z] [2022-05-10T11:58:07.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T11:58:08.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T11:58:08.284Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-10T11:58:08.284Z] 5eb5b503b376: Pulling fs layer [2022-05-10T11:58:08.284Z] 5c69ac0246d0: Pulling fs layer [2022-05-10T11:58:08.284Z] ec43610c2a17: Pulling fs layer [2022-05-10T11:58:08.284Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-10T11:58:08.284Z] 33b1e0a273af: Pulling fs layer [2022-05-10T11:58:08.284Z] 5d3b04190fa2: Pulling fs layer [2022-05-10T11:58:08.284Z] 2f39f015ded8: Pulling fs layer [2022-05-10T11:58:08.284Z] 3a2ae6a8a46f: Waiting [2022-05-10T11:58:08.284Z] 33b1e0a273af: Waiting [2022-05-10T11:58:08.284Z] 5d3b04190fa2: Waiting [2022-05-10T11:58:08.284Z] 2f39f015ded8: Waiting [2022-05-10T11:58:08.284Z] 5c69ac0246d0: Download complete [2022-05-10T11:58:08.284Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-10T11:58:08.284Z] 3a2ae6a8a46f: Download complete [2022-05-10T11:58:08.284Z] 33b1e0a273af: Verifying Checksum [2022-05-10T11:58:08.284Z] 33b1e0a273af: Download complete [2022-05-10T11:58:08.284Z] 5d3b04190fa2: Verifying Checksum [2022-05-10T11:58:08.284Z] 5d3b04190fa2: Download complete [2022-05-10T11:58:08.543Z] ec43610c2a17: Verifying Checksum [2022-05-10T11:58:08.544Z] ec43610c2a17: Download complete [2022-05-10T11:58:08.544Z] 5eb5b503b376: Verifying Checksum [2022-05-10T11:58:08.544Z] 5eb5b503b376: Download complete [2022-05-10T11:58:09.113Z] 2f39f015ded8: Download complete [2022-05-10T11:58:09.682Z] 5eb5b503b376: Pull complete [2022-05-10T11:58:09.941Z] 5c69ac0246d0: Pull complete [2022-05-10T11:58:10.510Z] ec43610c2a17: Pull complete [2022-05-10T11:58:10.510Z] 3a2ae6a8a46f: Pull complete [2022-05-10T11:58:10.769Z] 33b1e0a273af: Pull complete [2022-05-10T11:58:10.769Z] 5d3b04190fa2: Pull complete [2022-05-10T11:58:14.962Z] 2f39f015ded8: Pull complete [2022-05-10T11:58:14.962Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-10T11:58:14.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T11:58:14.962Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-10T11:58:15.030Z] prd-ubuntu20.04-docker-8c-8g-47534 does not seem to be running inside a container [2022-05-10T11:58:15.081Z] $ 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-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T11:58:16.848Z] $ docker top 0d63243fa1258843d5f88a73b8d8bdcd472f74dad5e89bd96c091b0ee03bf431 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T11:58:17.242Z] ---> job-cost.sh [2022-05-10T11:58:17.242Z] lf-activate-venv: SKIPPING [2022-05-10T11:58:17.242Z] INFO: No Stack... [2022-05-10T11:58:17.503Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T11:58:18.073Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T11:58:18.369Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-188/archives/cost.csv [2022-05-10T11:58:18.369Z] + cut -d, -f6 [Pipeline] lock [2022-05-10T11:58:18.388Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-188-2-stack-cost] [2022-05-10T11:58:18.397Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-188-2-stack-cost] did not exist. Created. [2022-05-10T11:58:18.397Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-188-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T11:58:18.699Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-10T11:58:18.725Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T11:58:18.732Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-188-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T11:58:18.760Z] $ docker stop --time=1 0d63243fa1258843d5f88a73b8d8bdcd472f74dad5e89bd96c091b0ee03bf431 [2022-05-10T11:58:19.931Z] $ docker rm -f 0d63243fa1258843d5f88a73b8d8bdcd472f74dad5e89bd96c091b0ee03bf431 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-10T11:59:33.780Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-47536 in /w/workspace/gexfoundry_device-rest-go_PR-188 [Pipeline] { [Pipeline] ws [2022-05-10T11:59:33.794Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-05-10T11:59:34.125Z] The recommended git tool is: git [2022-05-10T11:59:40.288Z] using credential edgex-jenkins-ssh [2022-05-10T11:59:40.306Z] Cloning the remote Git repository [2022-05-10T11:59:40.369Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T11:59:40.447Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-05-10T11:59:40.543Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T11:59:40.544Z] > git --version # timeout=10 [2022-05-10T11:59:40.621Z] > git --version # 'git version 2.25.1' [2022-05-10T11:59:40.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T11:59:40.710Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T11:59:42.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T11:59:42.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-10T11:59:42.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-10T11:59:42.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-10T11:59:42.742Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T11:59:42.761Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-10T11:59:43.335Z] Merging remotes/origin/main commit 4edc8d2690683859fe7dd7f6313ce2addb447006 into PR head commit 666239c451659f5f452068b0dd21a739764742be [2022-05-10T11:59:43.560Z] Merge succeeded, producing 666239c451659f5f452068b0dd21a739764742be [2022-05-10T11:59:43.560Z] Checking out Revision 666239c451659f5f452068b0dd21a739764742be (PR-188) [2022-05-10T11:59:43.359Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T11:59:43.380Z] > git checkout -f 666239c451659f5f452068b0dd21a739764742be # timeout=10 [2022-05-10T11:59:43.470Z] > git remote # timeout=10 [2022-05-10T11:59:43.488Z] > git config --get remote.origin.url # timeout=10 [2022-05-10T11:59:43.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-10T11:59:43.516Z] > git merge 4edc8d2690683859fe7dd7f6313ce2addb447006 # timeout=10 [2022-05-10T11:59:43.545Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-10T11:59:43.574Z] > git config core.sparsecheckout # timeout=10 [2022-05-10T11:59:43.588Z] > git checkout -f 666239c451659f5f452068b0dd21a739764742be # timeout=10 [2022-05-10T11:59:47.832Z] Commit message: "build(deps): go mod tidy" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T11:59:48.679Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-10T11:59:48.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T11:59:48.679Z] Dload Upload Total Spent Left Speed [2022-05-10T11:59:48.679Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 218k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-05-10T11:59:49.219Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-10T11:59:49.566Z] + sudo tee /etc/docker/daemon.new [2022-05-10T11:59:49.566Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-10T11:59:49.566Z] { [2022-05-10T11:59:49.566Z] "registry-mirrors": [ [2022-05-10T11:59:49.566Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-10T11:59:49.566Z] ], [2022-05-10T11:59:49.566Z] "bip": "10.250.0.254/24", [2022-05-10T11:59:49.566Z] "hosts": [ [2022-05-10T11:59:49.566Z] "tcp://0.0.0.0:5555", [2022-05-10T11:59:49.566Z] "unix:///var/run/docker.sock" [2022-05-10T11:59:49.566Z] ], [2022-05-10T11:59:49.566Z] "mtu": 1458, [2022-05-10T11:59:49.566Z] "selinux-enabled": true, [2022-05-10T11:59:49.566Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-10T11:59:49.566Z] } [Pipeline] sh [2022-05-10T11:59:49.923Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-10T11:59:50.346Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:00:08.766Z] provisioning config files... [2022-05-10T12:00:08.792Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8142520246082656977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:00:09.162Z] ---> docker-login.sh [2022-05-10T12:00:09.162Z] nexus3.edgexfoundry.org:10001 [2022-05-10T12:00:09.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:00:10.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:00:10.042Z] Configure a credential helper to remove this warning. See [2022-05-10T12:00:10.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:00:10.042Z] [2022-05-10T12:00:10.042Z] Login Succeeded [2022-05-10T12:00:10.042Z] nexus3.edgexfoundry.org:10002 [2022-05-10T12:00:10.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:00:10.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:00:10.605Z] Configure a credential helper to remove this warning. See [2022-05-10T12:00:10.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:00:10.605Z] [2022-05-10T12:00:10.605Z] Login Succeeded [2022-05-10T12:00:10.605Z] nexus3.edgexfoundry.org:10003 [2022-05-10T12:00:10.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:00:11.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:00:11.161Z] Configure a credential helper to remove this warning. See [2022-05-10T12:00:11.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:00:11.161Z] [2022-05-10T12:00:11.161Z] Login Succeeded [2022-05-10T12:00:11.161Z] nexus3.edgexfoundry.org:10004 [2022-05-10T12:00:11.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:00:11.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:00:11.433Z] Configure a credential helper to remove this warning. See [2022-05-10T12:00:11.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:00:11.433Z] [2022-05-10T12:00:11.433Z] Login Succeeded [2022-05-10T12:00:11.433Z] docker.io [2022-05-10T12:00:12.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-10T12:00:12.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-10T12:00:12.312Z] Configure a credential helper to remove this warning. See [2022-05-10T12:00:12.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-10T12:00:12.312Z] [2022-05-10T12:00:12.312Z] Login Succeeded [2022-05-10T12:00:12.312Z] ---> docker-login.sh ends [Pipeline] } [2022-05-10T12:00:12.330Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-10T12:00:12.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-10T12:00:12.895Z] ========================================================= [2022-05-10T12:00:12.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-10T12:00:12.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:00:13.251Z] + 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-10T12:00:13.252Z] Sending build context to Docker daemon 128.5kB [2022-05-10T12:00:13.527Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:00:13.527Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-10T12:00:13.804Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-10T12:00:13.804Z] 9b3977197b4f: Pulling fs layer [2022-05-10T12:00:13.804Z] 1a89e8eeedd5: Pulling fs layer [2022-05-10T12:00:13.804Z] 94645a83ff95: Pulling fs layer [2022-05-10T12:00:13.804Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-10T12:00:13.804Z] 0c92f367c5e7: Pulling fs layer [2022-05-10T12:00:13.804Z] 3096ccb668a1: Pulling fs layer [2022-05-10T12:00:13.804Z] e8cf19c19ddd: Pulling fs layer [2022-05-10T12:00:13.804Z] a4caa8a26152: Pulling fs layer [2022-05-10T12:00:13.804Z] 0c92f367c5e7: Waiting [2022-05-10T12:00:13.804Z] 3096ccb668a1: Waiting [2022-05-10T12:00:13.804Z] 3f3a8bcf1eab: Waiting [2022-05-10T12:00:13.804Z] e8cf19c19ddd: Waiting [2022-05-10T12:00:13.804Z] a4caa8a26152: Waiting [2022-05-10T12:00:13.804Z] 94645a83ff95: Verifying Checksum [2022-05-10T12:00:13.804Z] 94645a83ff95: Download complete [2022-05-10T12:00:13.804Z] 1a89e8eeedd5: Verifying Checksum [2022-05-10T12:00:13.804Z] 1a89e8eeedd5: Download complete [2022-05-10T12:00:13.804Z] 0c92f367c5e7: Verifying Checksum [2022-05-10T12:00:13.804Z] 0c92f367c5e7: Download complete [2022-05-10T12:00:13.804Z] 3096ccb668a1: Verifying Checksum [2022-05-10T12:00:13.804Z] 3096ccb668a1: Download complete [2022-05-10T12:00:13.804Z] 9b3977197b4f: Download complete [2022-05-10T12:00:13.804Z] e8cf19c19ddd: Verifying Checksum [2022-05-10T12:00:13.804Z] e8cf19c19ddd: Download complete [2022-05-10T12:00:14.801Z] 9b3977197b4f: Pull complete [2022-05-10T12:00:15.414Z] 1a89e8eeedd5: Pull complete [2022-05-10T12:00:15.692Z] 94645a83ff95: Pull complete [2022-05-10T12:00:15.967Z] a4caa8a26152: Verifying Checksum [2022-05-10T12:00:15.967Z] a4caa8a26152: Download complete [2022-05-10T12:00:16.956Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-10T12:00:16.956Z] 3f3a8bcf1eab: Download complete [2022-05-10T12:00:29.417Z] 3f3a8bcf1eab: Pull complete [2022-05-10T12:00:29.417Z] 0c92f367c5e7: Pull complete [2022-05-10T12:00:29.417Z] 3096ccb668a1: Pull complete [2022-05-10T12:00:29.692Z] e8cf19c19ddd: Pull complete [2022-05-10T12:00:36.430Z] a4caa8a26152: Pull complete [2022-05-10T12:00:36.430Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-10T12:00:36.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-10T12:00:36.430Z] ---> 725f1c02e7f9 [2022-05-10T12:00:36.430Z] Step 3/12 : ARG MAKE='make build' [2022-05-10T12:00:37.430Z] ---> Running in 345d7811c90d [2022-05-10T12:00:37.702Z] Removing intermediate container 345d7811c90d [2022-05-10T12:00:37.702Z] ---> b4150bdecd41 [2022-05-10T12:00:37.702Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:00:37.702Z] ---> Running in 3892ecbba204 [2022-05-10T12:00:37.977Z] Removing intermediate container 3892ecbba204 [2022-05-10T12:00:37.977Z] ---> fa636b25d1f1 [2022-05-10T12:00:37.977Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:00:37.977Z] ---> Running in dfb872e5f71f [2022-05-10T12:00:38.253Z] Removing intermediate container dfb872e5f71f [2022-05-10T12:00:38.253Z] ---> af12f999fb03 [2022-05-10T12:00:38.253Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:00:38.253Z] ---> Running in 7db816f0b882 [2022-05-10T12:00:41.661Z] Removing intermediate container 7db816f0b882 [2022-05-10T12:00:41.661Z] ---> c6d9c820687d [2022-05-10T12:00:41.661Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:00:41.661Z] ---> Running in e527e5417007 [2022-05-10T12:00:42.648Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:00:43.244Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:00:44.229Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-10T12:00:44.501Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-10T12:00:44.501Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-10T12:00:44.776Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-10T12:00:44.776Z] Executing busybox-1.34.1-r3.trigger [2022-05-10T12:00:44.776Z] OK: 224 MiB in 56 packages [2022-05-10T12:00:45.765Z] Removing intermediate container e527e5417007 [2022-05-10T12:00:45.765Z] ---> 214e2e981209 [2022-05-10T12:00:45.765Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-10T12:00:45.765Z] ---> Running in 57691e6f35fb [2022-05-10T12:00:46.038Z] Removing intermediate container 57691e6f35fb [2022-05-10T12:00:46.038Z] ---> ce9fdf699003 [2022-05-10T12:00:46.038Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-10T12:00:46.639Z] ---> 73522f846722 [2022-05-10T12:00:46.639Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:00:46.919Z] ---> Running in 33f2319d7735 [2022-05-10T12:01:33.938Z] Removing intermediate container 33f2319d7735 [2022-05-10T12:01:33.938Z] ---> 540347be7e6c [2022-05-10T12:01:33.938Z] Step 11/12 : COPY . . [2022-05-10T12:01:33.938Z] ---> 0bf66f9c984d [2022-05-10T12:01:33.938Z] Step 12/12 : RUN $MAKE [2022-05-10T12:01:33.938Z] ---> Running in b83343c5f1fc [2022-05-10T12:01:34.926Z] noop [2022-05-10T12:01:35.527Z] Removing intermediate container b83343c5f1fc [2022-05-10T12:01:35.527Z] ---> d0f406790ae4 [2022-05-10T12:01:35.527Z] Successfully built d0f406790ae4 [2022-05-10T12:01:35.527Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:01:35.880Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:01:35.880Z] . [Pipeline] withDockerContainer [2022-05-10T12:01:36.137Z] prd-ubuntu20.04-docker-arm64-4c-16g-47536 does not seem to be running inside a container [2022-05-10T12:01:36.236Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T12:01:37.599Z] $ docker top 56dbea7d417faf109791f136f17c6f59d42b9f5318777e6ce22925dc7ddb8882 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:01:38.515Z] + go version [2022-05-10T12:01:38.515Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-10T12:01:38.548Z] $ docker stop --time=1 56dbea7d417faf109791f136f17c6f59d42b9f5318777e6ce22925dc7ddb8882 [2022-05-10T12:01:40.250Z] $ docker rm -f 56dbea7d417faf109791f136f17c6f59d42b9f5318777e6ce22925dc7ddb8882 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:01:40.867Z] + docker inspect -f . ci-base-image-arm64 [2022-05-10T12:01:40.868Z] . [Pipeline] withDockerContainer [2022-05-10T12:01:41.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-47536 does not seem to be running inside a container [2022-05-10T12:01:41.191Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-10T12:01:42.493Z] $ docker top 26b2f67e5eaddc936931159b0a50d555a10c19fef22635ba8a25038988e6ff6f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-10T12:01:43.420Z] + make test [2022-05-10T12:01:43.420Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-10T12:01:45.404Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-10T12:03:22.343Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-10T12:03:22.343Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements [2022-05-10T12:03:22.343Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-10T12:03:22.343Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-10T12:03:44.561Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-10T12:03:44.561Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-10T12:03:44.561Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-10T12:03:44.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-10T12:03:44.599Z] $ docker stop --time=1 26b2f67e5eaddc936931159b0a50d555a10c19fef22635ba8a25038988e6ff6f [2022-05-10T12:03:46.473Z] $ docker rm -f 26b2f67e5eaddc936931159b0a50d555a10c19fef22635ba8a25038988e6ff6f [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-10T12:03:47.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-10T12:03:47.540Z] Warning: overwriting stash ‘coverage-report’ [2022-05-10T12:03:48.082Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-10T12:03:48.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-10T12:03:48.856Z] + ls -al . [2022-05-10T12:03:48.856Z] total 168 [2022-05-10T12:03:48.856Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:03 . [2022-05-10T12:03:48.856Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 11:59 .. [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 11:59 .dockerignore [2022-05-10T12:03:48.856Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 11:59 .git [2022-05-10T12:03:48.856Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:59 .github [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 11:59 .gitignore [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 11:59 .golangci.yml [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 10 11:59 Attribution.txt [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 10 11:59 CHANGELOG.md [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 10 11:59 Dockerfile [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 11:59 GOVERNANCE.md [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 11:59 Jenkinsfile [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 11:59 LICENSE [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 10 11:59 Makefile [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 11:59 OWNERS.md [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 10 11:59 README.md [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 11:56 VERSION [2022-05-10T12:03:48.856Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:59 bin [2022-05-10T12:03:48.856Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:59 cmd [2022-05-10T12:03:48.856Z] -rw-r--r-- 1 jenkins jenkins 9355 May 10 12:03 coverage.out [2022-05-10T12:03:48.856Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:59 driver [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 10 11:59 go.mod [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 10 11:59 go.sum [2022-05-10T12:03:48.856Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:59 snap [2022-05-10T12:03:48.856Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 11:59 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:03:49.214Z] + 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=666239c451659f5f452068b0dd21a739764742be --label arch=arm64 --label version=0.0.0 . [2022-05-10T12:03:49.214Z] Sending build context to Docker daemon 138.8kB [2022-05-10T12:03:49.509Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-10T12:03:49.509Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-10T12:03:49.509Z] ---> d0f406790ae4 [2022-05-10T12:03:49.509Z] Step 3/25 : ARG MAKE='make build' [2022-05-10T12:03:49.825Z] ---> Running in 796e86e3c747 [2022-05-10T12:03:50.168Z] Removing intermediate container 796e86e3c747 [2022-05-10T12:03:50.168Z] ---> ba7f1bb57314 [2022-05-10T12:03:50.168Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-10T12:03:50.467Z] ---> Running in a91bddb1d488 [2022-05-10T12:03:50.738Z] Removing intermediate container a91bddb1d488 [2022-05-10T12:03:50.738Z] ---> 896c31ac66e4 [2022-05-10T12:03:50.738Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-10T12:03:50.738Z] ---> Running in 571ec6b57d5b [2022-05-10T12:03:51.013Z] Removing intermediate container 571ec6b57d5b [2022-05-10T12:03:51.013Z] ---> ef17b81f772e [2022-05-10T12:03:51.013Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-10T12:03:51.288Z] ---> Running in 72cdb9795383 [2022-05-10T12:03:53.274Z] Removing intermediate container 72cdb9795383 [2022-05-10T12:03:53.274Z] ---> dae7971a5dc9 [2022-05-10T12:03:53.274Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-10T12:03:53.274Z] ---> Running in 4c52789befb0 [2022-05-10T12:03:54.257Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:03:55.241Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:03:56.225Z] OK: 224 MiB in 56 packages [2022-05-10T12:03:56.819Z] Removing intermediate container 4c52789befb0 [2022-05-10T12:03:56.819Z] ---> 7805e817b9d4 [2022-05-10T12:03:56.819Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-10T12:03:57.106Z] ---> Running in 6bb9202c5236 [2022-05-10T12:03:57.379Z] Removing intermediate container 6bb9202c5236 [2022-05-10T12:03:57.379Z] ---> 773d2163e26a [2022-05-10T12:03:57.379Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-10T12:03:57.975Z] ---> 43b28ef04a4c [2022-05-10T12:03:57.975Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-10T12:03:57.975Z] ---> Running in 6c0408d42af0 [2022-05-10T12:03:59.951Z] Removing intermediate container 6c0408d42af0 [2022-05-10T12:03:59.951Z] ---> fc6004361ede [2022-05-10T12:03:59.951Z] Step 11/25 : COPY . . [2022-05-10T12:04:00.548Z] ---> f4f8593c88f3 [2022-05-10T12:04:00.548Z] Step 12/25 : RUN $MAKE [2022-05-10T12:04:00.548Z] ---> Running in 58bf800070bb [2022-05-10T12:04:01.990Z] 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-10T12:06:23.867Z] Removing intermediate container 58bf800070bb [2022-05-10T12:06:23.867Z] ---> df89afe0888a [2022-05-10T12:06:23.867Z] Step 13/25 : FROM alpine:3.14 [2022-05-10T12:06:23.867Z] 3.14: Pulling from library/alpine [2022-05-10T12:06:23.867Z] 455c02918c45: Pulling fs layer [2022-05-10T12:06:23.867Z] 455c02918c45: Verifying Checksum [2022-05-10T12:06:23.867Z] 455c02918c45: Download complete [2022-05-10T12:06:23.867Z] 455c02918c45: Pull complete [2022-05-10T12:06:23.867Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-10T12:06:23.867Z] Status: Downloaded newer image for alpine:3.14 [2022-05-10T12:06:23.867Z] ---> ac73e934f311 [2022-05-10T12:06:23.867Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-10T12:06:23.867Z] ---> Running in 3cc4c3d59011 [2022-05-10T12:06:23.867Z] Removing intermediate container 3cc4c3d59011 [2022-05-10T12:06:23.867Z] ---> db5dc12e526f [2022-05-10T12:06:23.867Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-10T12:06:23.867Z] ---> Running in 321194b74a2f [2022-05-10T12:06:23.867Z] Removing intermediate container 321194b74a2f [2022-05-10T12:06:23.867Z] ---> d0c149fc731e [2022-05-10T12:06:23.867Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-10T12:06:23.867Z] ---> Running in db99171490c9 [2022-05-10T12:06:23.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-10T12:06:23.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-10T12:06:23.867Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-10T12:06:23.867Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-10T12:06:23.867Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-10T12:06:23.867Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-10T12:06:23.867Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-10T12:06:23.867Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-10T12:06:23.867Z] Executing busybox-1.33.1-r7.trigger [2022-05-10T12:06:23.867Z] OK: 8 MiB in 20 packages [2022-05-10T12:06:23.867Z] Removing intermediate container db99171490c9 [2022-05-10T12:06:23.867Z] ---> 560dab91f3d0 [2022-05-10T12:06:23.867Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-10T12:06:23.867Z] ---> 053959d03d37 [2022-05-10T12:06:23.867Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-10T12:06:23.867Z] ---> d8c7fe857e1d [2022-05-10T12:06:23.867Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-10T12:06:23.868Z] ---> 4c7a54c1e513 [2022-05-10T12:06:23.868Z] Step 20/25 : EXPOSE 59986 [2022-05-10T12:06:23.868Z] ---> Running in 46c88dcabf9f [2022-05-10T12:06:23.868Z] Removing intermediate container 46c88dcabf9f [2022-05-10T12:06:23.868Z] ---> bb1e3764f4a7 [2022-05-10T12:06:23.868Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-10T12:06:23.868Z] ---> Running in 3d4d30d35a1b [2022-05-10T12:06:23.868Z] Removing intermediate container 3d4d30d35a1b [2022-05-10T12:06:23.868Z] ---> 0b3a415c9082 [2022-05-10T12:06:23.868Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-10T12:06:23.868Z] ---> Running in f385368065ac [2022-05-10T12:06:23.868Z] Removing intermediate container f385368065ac [2022-05-10T12:06:23.868Z] ---> ead1099a48c4 [2022-05-10T12:06:23.868Z] Step 23/25 : LABEL arch=arm64 [2022-05-10T12:06:23.868Z] ---> Running in 1487b4acb387 [2022-05-10T12:06:23.868Z] Removing intermediate container 1487b4acb387 [2022-05-10T12:06:23.868Z] ---> 400fce9674a8 [2022-05-10T12:06:23.868Z] Step 24/25 : LABEL git_sha=666239c451659f5f452068b0dd21a739764742be [2022-05-10T12:06:23.868Z] ---> Running in eea1636e5a56 [2022-05-10T12:06:24.140Z] Removing intermediate container eea1636e5a56 [2022-05-10T12:06:24.140Z] ---> cc2ec8a999d2 [2022-05-10T12:06:24.140Z] Step 25/25 : LABEL version=0.0.0 [2022-05-10T12:06:24.140Z] ---> Running in 205a94ad331d [2022-05-10T12:06:24.737Z] Removing intermediate container 205a94ad331d [2022-05-10T12:06:24.737Z] ---> 89306ca5f723 [2022-05-10T12:06:24.737Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-10T12:06:24.737Z] Successfully built 89306ca5f723 [2022-05-10T12:06:24.737Z] 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-10T12:06:25.188Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:06:25.188Z] [2022-05-10T12:06:25.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:06:25.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:06:25.813Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-10T12:06:25.813Z] 8998bd30e6a1: Pulling fs layer [2022-05-10T12:06:25.813Z] 04944245beec: Pulling fs layer [2022-05-10T12:06:25.813Z] 699f458cf7ca: Pulling fs layer [2022-05-10T12:06:25.813Z] 765212b225bb: Pulling fs layer [2022-05-10T12:06:25.813Z] f23df028b6ca: Pulling fs layer [2022-05-10T12:06:25.813Z] d65c8cfc05b1: Pulling fs layer [2022-05-10T12:06:25.813Z] f23df028b6ca: Waiting [2022-05-10T12:06:25.813Z] 765212b225bb: Waiting [2022-05-10T12:06:25.813Z] 2437ff75d9bd: Pulling fs layer [2022-05-10T12:06:25.813Z] d65c8cfc05b1: Waiting [2022-05-10T12:06:25.813Z] 2437ff75d9bd: Waiting [2022-05-10T12:06:25.813Z] 04944245beec: Verifying Checksum [2022-05-10T12:06:25.813Z] 04944245beec: Download complete [2022-05-10T12:06:25.813Z] 765212b225bb: Verifying Checksum [2022-05-10T12:06:25.813Z] 765212b225bb: Download complete [2022-05-10T12:06:25.813Z] f23df028b6ca: Verifying Checksum [2022-05-10T12:06:25.813Z] f23df028b6ca: Download complete [2022-05-10T12:06:25.813Z] d65c8cfc05b1: Verifying Checksum [2022-05-10T12:06:25.813Z] d65c8cfc05b1: Download complete [2022-05-10T12:06:26.092Z] 699f458cf7ca: Verifying Checksum [2022-05-10T12:06:26.092Z] 699f458cf7ca: Download complete [2022-05-10T12:06:26.370Z] 8998bd30e6a1: Download complete [2022-05-10T12:06:29.003Z] 2437ff75d9bd: Download complete [2022-05-10T12:06:30.980Z] 8998bd30e6a1: Pull complete [2022-05-10T12:06:31.255Z] 04944245beec: Pull complete [2022-05-10T12:06:32.701Z] 699f458cf7ca: Pull complete [2022-05-10T12:06:32.976Z] 765212b225bb: Pull complete [2022-05-10T12:06:33.958Z] f23df028b6ca: Pull complete [2022-05-10T12:06:33.958Z] d65c8cfc05b1: Pull complete [2022-05-10T12:06:49.044Z] 2437ff75d9bd: Pull complete [2022-05-10T12:06:49.044Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-10T12:06:49.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-10T12:06:49.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-10T12:06:49.275Z] prd-ubuntu20.04-docker-arm64-4c-16g-47536 does not seem to be running inside a container [2022-05-10T12:06:49.370Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-10T12:06:51.999Z] $ docker top 841170960f549e95fb0c0bedb412f30f68495380239d180fbdeab01b0de1ae12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:06:52.898Z] ---> job-cost.sh [2022-05-10T12:06:52.898Z] lf-activate-venv: SKIPPING [2022-05-10T12:06:52.898Z] INFO: No Stack... [2022-05-10T12:06:53.169Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-10T12:06:54.141Z] INFO: Archiving Costs [Pipeline] sh [2022-05-10T12:06:54.801Z] + cut -d, -f6 [2022-05-10T12:06:54.802Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2022-05-10T12:06:54.869Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-188-2-stack-cost] [2022-05-10T12:06:54.877Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-188-2-stack-cost] did not exist. Created. [2022-05-10T12:06:54.877Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-188-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-10T12:06:55.297Z] /w/workspace/device-rest-go/2@tmp/durable-02d49bbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-10T12:06:55.964Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-10T12:06:55.984Z] Warning: overwriting stash ‘stack-cost’ [2022-05-10T12:06:56.027Z] Stashed 1 file(s) [Pipeline] } [2022-05-10T12:06:56.034Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-188-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-10T12:06:56.056Z] $ docker stop --time=1 841170960f549e95fb0c0bedb412f30f68495380239d180fbdeab01b0de1ae12 [2022-05-10T12:06:57.537Z] $ docker rm -f 841170960f549e95fb0c0bedb412f30f68495380239d180fbdeab01b0de1ae12 [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-10T12:06:57.999Z] provisioning config files... [2022-05-10T12:06:58.007Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/config5665285098223519592tmp [Pipeline] { [Pipeline] sh [2022-05-10T12:06:58.297Z] + set +x [2022-05-10T12:06:58.297Z] + curl -s https://codecov.io/bash [2022-05-10T12:06:58.297Z] + bash -s -- [2022-05-10T12:06:58.297Z] [2022-05-10T12:06:58.297Z] _____ _ [2022-05-10T12:06:58.297Z] / ____| | | [2022-05-10T12:06:58.297Z] | | ___ __| | ___ ___ _____ __ [2022-05-10T12:06:58.297Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-10T12:06:58.297Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-10T12:06:58.297Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-10T12:06:58.297Z] Bash-1.0.6 [2022-05-10T12:06:58.297Z] [2022-05-10T12:06:58.297Z] [2022-05-10T12:06:58.297Z] ==> git version 2.25.1 found [2022-05-10T12:06:58.297Z] ==> 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-10T12:06:58.298Z] Release-Date: 2020-01-08 [2022-05-10T12:06:58.298Z] 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-10T12:06:58.298Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-10T12:06:58.298Z] ==> Jenkins CI detected. [2022-05-10T12:06:58.298Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-188 [2022-05-10T12:06:58.298Z] project root: . [2022-05-10T12:06:58.298Z] --> token set from env [2022-05-10T12:06:58.298Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-10T12:06:58.298Z] ==> Running gcov in . (disable via -X gcov) [2022-05-10T12:06:58.298Z] ==> Python coveragepy not found [2022-05-10T12:06:58.298Z] ==> Searching for coverage reports in: [2022-05-10T12:06:58.298Z] + . [2022-05-10T12:06:58.298Z] -> Found 1 reports [2022-05-10T12:06:58.298Z] ==> Detecting git/mercurial file structure [2022-05-10T12:06:58.298Z] ==> Reading reports [2022-05-10T12:06:58.298Z] + ./coverage.out bytes=9355 [2022-05-10T12:06:58.298Z] ==> Appending adjustments [2022-05-10T12:06:58.298Z] https://docs.codecov.io/docs/fixing-reports [2022-05-10T12:06:58.298Z] + Found adjustments [2022-05-10T12:06:58.298Z] ==> Gzipping contents [2022-05-10T12:06:58.558Z] 4.0K /tmp/codecov.Cfxe32.gz [2022-05-10T12:06:58.558Z] ==> Uploading reports [2022-05-10T12:06:58.558Z] url: https://codecov.io [2022-05-10T12:06:58.558Z] query: branch=PR-188&commit=666239c451659f5f452068b0dd21a739764742be&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-188%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2022-05-10T12:06:58.558Z] -> Pinging Codecov [2022-05-10T12:06:58.558Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-188&commit=666239c451659f5f452068b0dd21a739764742be&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-188%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=188&job=&cmd_args= [2022-05-10T12:06:58.558Z] -> Uploading to [2022-05-10T12:06:58.558Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-10/4E5D53B4F1F92C436F7061BF334D961C/666239c451659f5f452068b0dd21a739764742be/810291ee-8238-406f-8dac-a9abae0dfb33.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T120658Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=720dcd14cf4eba31b343df6daf6513efe8813ad3530c0dfe44e6c09f1c5b1d8d [2022-05-10T12:06:58.558Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-10T12:06:58.558Z] Dload Upload Total Spent Left Speed [2022-05-10T12:06:58.818Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 8062 --:--:-- --:--:-- --:--:-- 8062 [2022-05-10T12:06:58.818Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/666239c451659f5f452068b0dd21a739764742be [Pipeline] } [2022-05-10T12:06:58.826Z] 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-10T12:06:59.523Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-188/archives ] [2022-05-10T12:06:59.524Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-188/archives [2022-05-10T12:06:59.524Z] total 16 [2022-05-10T12:06:59.524Z] drwxr-xr-x 3 root root 4096 May 10 11:58 . [2022-05-10T12:06:59.524Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 11:58 .. [2022-05-10T12:06:59.524Z] drwxr-xr-x 2 root root 4096 May 10 11:58 cost [2022-05-10T12:06:59.524Z] -rw-r--r-- 1 root root 85 May 10 11:58 cost.csv [2022-05-10T12:06:59.524Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-188/archives [2022-05-10T12:06:59.524Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-188/archives [2022-05-10T12:06:59.524Z] total 16 [2022-05-10T12:06:59.524Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 11:58 . [2022-05-10T12:06:59.524Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 11:58 .. [2022-05-10T12:06:59.524Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 11:58 cost [2022-05-10T12:06:59.524Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 11:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:06:59.822Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:07:00.688Z] ---> package-listing.sh [2022-05-10T12:07:00.688Z] ++ facter osfamily [2022-05-10T12:07:00.688Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-10T12:07:00.948Z] + OS_FAMILY=debian [2022-05-10T12:07:00.948Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-188 [2022-05-10T12:07:00.948Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-10T12:07:00.948Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-10T12:07:00.948Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-10T12:07:00.948Z] + PACKAGES=/tmp/packages_start.txt [2022-05-10T12:07:00.948Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-188 ']' [2022-05-10T12:07:00.948Z] + PACKAGES=/tmp/packages_end.txt [2022-05-10T12:07:00.948Z] + case "${OS_FAMILY}" in [2022-05-10T12:07:00.948Z] + dpkg -l [2022-05-10T12:07:00.948Z] + grep '^ii' [2022-05-10T12:07:00.948Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-10T12:07:00.948Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-10T12:07:00.948Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-10T12:07:00.948Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-188 ']' [2022-05-10T12:07:00.948Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-188/archives/ [2022-05-10T12:07:00.948Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-188/archives/ [Pipeline] echo [2022-05-10T12:07:00.962Z] 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-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-10T12:07:01.245Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-10T12:07:01.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-10T12:07:01.798Z] . [Pipeline] withDockerContainer [2022-05-10T12:07:01.862Z] prd-ubuntu20.04-docker-8c-8g-47534 does not seem to be running inside a container [2022-05-10T12:07:01.907Z] $ 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-188/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-188 -v /w/workspace/gexfoundry_device-rest-go_PR-188:/w/workspace/gexfoundry_device-rest-go_PR-188:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-188@tmp:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-10T12:07:02.161Z] $ docker top 0d0323f86db1190679236af2e3c7370502a82b9cb468d3cbaf01f6319fcfe0de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-10T12:07:02.511Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-10T12:07:02.807Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-10T12:07:03.096Z] + ls /var/log/sa-host [2022-05-10T12:07:03.096Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-10T12:07:03.194Z] provisioning config files... [2022-05-10T12:07:03.203Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-188@tmp/config7847589545772037152tmp [Pipeline] { [Pipeline] echo [2022-05-10T12:07:03.218Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:07:03.505Z] ---> create-netrc.sh [Pipeline] } [2022-05-10T12:07:03.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:07:03.840Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-10T12:07:03.851Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:07:04.142Z] ---> sudo-logs.sh [2022-05-10T12:07:04.143Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-10T12:07:04.175Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:07:04.467Z] ---> job-cost.sh [2022-05-10T12:07:04.467Z] lf-activate-venv: SKIPPING [2022-05-10T12:07:04.467Z] DEBUG: total: 0.2199999988079071 [2022-05-10T12:07:04.467Z] INFO: Retrieving Stack Cost... [2022-05-10T12:07:05.410Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-10T12:07:05.979Z] INFO: Archiving Costs [Pipeline] echo [2022-05-10T12:07:05.992Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-10T12:07:06.277Z] ---> logs-deploy.sh [2022-05-10T12:07:06.278Z] lf-activate-venv: SKIPPING [2022-05-10T12:07:06.278Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-188/2 [2022-05-10T12:07:06.278Z] INFO: archiving workspace using pattern(s): [2022-05-10T12:07:07.218Z] Archives upload complete. [2022-05-10T12:07:07.218Z] INFO: archiving logs to Nexus