Pull request #344 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f32931ffe8d4c070bb177082ca0597a272f49c5+6a5bbfd9e0df4486290843fbebd273780ea8bdd3 (5c825b41070c5a48f779052e708925be000be4fb) 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-ssh16091893318809920875.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8810558901951019791.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 e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5318429427617936161.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18060981303119335575.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh16853132928470412998.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-344/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-344/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15334520741616515589.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.21 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7209 in /w/workspace/gexfoundry_device-rest-go_PR-344 [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-344 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 into PR head commit 2f32931ffe8d4c070bb177082ca0597a272f49c5 Merge succeeded, producing 2f32931ffe8d4c070bb177082ca0597a272f49c5 Checking out Revision 2f32931ffe8d4c070bb177082ca0597a272f49c5 (PR-344) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > 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/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f32931ffe8d4c070bb177082ca0597a272f49c5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f32931ffe8d4c070bb177082ca0597a272f49c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T20:28:58.051Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T20:28:58.268Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T20:28:58.370Z] ========================================================= [2023-09-20T20:28:58.370Z] EdgeX Global Pipelines Version Info [2023-09-20T20:28:58.370Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:28:59.123Z] ------------------- [2023-09-20T20:28:59.123Z] stable info: [2023-09-20T20:28:59.123Z] ------------------- [2023-09-20T20:28:59.123Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T20:28:59.123Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:28:59.123Z] Message: update stable to v1.0.254 [2023-09-20T20:28:59.693Z] ------------------- [2023-09-20T20:28:59.693Z] experimental info: [2023-09-20T20:28:59.693Z] ------------------- [2023-09-20T20:28:59.693Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T20:28:59.693Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T20:28:59.693Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T20:29:00.007Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-20T20:29:00.050Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-20T20:29:00.092Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T20:29:00.132Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T20:29:00.175Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T20:29:00.217Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T20:29:00.265Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T20:29:00.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T20:29:00.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T20:29:00.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T20:29:00.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T20:29:00.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-20T20:29:00.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T20:29:00.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T20:29:00.611Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:29:00.653Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T20:29:00.690Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:29:00.730Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T20:29:00.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T20:29:00.802Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T20:29:00.840Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T20:29:00.882Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T20:29:00.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T20:29:00.962Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T20:29:00.999Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T20:29:01.046Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T20:29:01.082Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T20:29:01.119Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-344 [Pipeline] echo [2023-09-20T20:29:01.159Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-344 [Pipeline] echo [2023-09-20T20:29:01.202Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-344 [Pipeline] echo [2023-09-20T20:29:01.244Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] echo [2023-09-20T20:29:01.288Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f32931 [Pipeline] echo [2023-09-20T20:29:01.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:29:01.443Z] provisioning config files... [2023-09-20T20:29:01.480Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/config14057614473671921419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:29:01.832Z] ---> docker-login.sh [2023-09-20T20:29:01.832Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:29:02.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:02.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:02.093Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:02.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:02.093Z] [2023-09-20T20:29:02.093Z] Login Succeeded [2023-09-20T20:29:02.093Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:29:02.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:02.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:02.353Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:02.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:02.353Z] [2023-09-20T20:29:02.353Z] Login Succeeded [2023-09-20T20:29:02.353Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:29:02.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:02.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:02.353Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:02.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:02.353Z] [2023-09-20T20:29:02.353Z] Login Succeeded [2023-09-20T20:29:02.353Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:29:02.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:02.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:02.613Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:02.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:02.613Z] [2023-09-20T20:29:02.613Z] Login Succeeded [2023-09-20T20:29:02.613Z] docker.io [2023-09-20T20:29:02.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:02.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:02.873Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:02.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:02.873Z] [2023-09-20T20:29:02.873Z] Login Succeeded [2023-09-20T20:29:02.873Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:29:02.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T20:29:03.529Z] + git rev-list -1 --merges 2f32931ffe8d4c070bb177082ca0597a272f49c5~1..2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] echo [2023-09-20T20:29:03.594Z] -----------> git rev-list -1 --merges 2f32931ffe8d4c070bb177082ca0597a272f49c5~1..2f32931ffe8d4c070bb177082ca0597a272f49c5 2f32931ffe8d4c070bb177082ca0597a272f49c5 [false] [Pipeline] sh [2023-09-20T20:29:03.905Z] + git log --format=format:%s -1 2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] echo [2023-09-20T20:29:03.938Z] ========================================================= [2023-09-20T20:29:03.938Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T20:29:03.938Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:29:04.383Z] + git log --format=format:%s -1 2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] echo [2023-09-20T20:29:04.413Z] [semverPrep] GIT_COMMIT: 2f32931ffe8d4c070bb177082ca0597a272f49c5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-20T20:29:04.444Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T20:29:04.840Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T20:29:04.840Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T20:29:04.840Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T20:29:04.840Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T20:29:04.840Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T20:29:04.840Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T20:29:04.840Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:29:05.251Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:29:05.251Z] [2023-09-20T20:29:05.251Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:29:05.627Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:29:05.627Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T20:29:05.627Z] b85a868b505f: Pulling fs layer [2023-09-20T20:29:05.627Z] e2be974225ed: Pulling fs layer [2023-09-20T20:29:05.627Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T20:29:05.627Z] 988bab9f4d93: Pulling fs layer [2023-09-20T20:29:05.627Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T20:29:05.627Z] eaf3925da568: Pulling fs layer [2023-09-20T20:29:05.627Z] bab4dde63d76: Pulling fs layer [2023-09-20T20:29:05.627Z] bde34c3a00c8: Pulling fs layer [2023-09-20T20:29:05.627Z] b352a97aabf1: Pulling fs layer [2023-09-20T20:29:05.627Z] 4872d77fe225: Pulling fs layer [2023-09-20T20:29:05.627Z] 5851b861e8e6: Pulling fs layer [2023-09-20T20:29:05.627Z] 988bab9f4d93: Waiting [2023-09-20T20:29:05.627Z] 1469e6f7b9e6: Waiting [2023-09-20T20:29:05.627Z] eaf3925da568: Waiting [2023-09-20T20:29:05.627Z] bab4dde63d76: Waiting [2023-09-20T20:29:05.627Z] bde34c3a00c8: Waiting [2023-09-20T20:29:05.627Z] b352a97aabf1: Waiting [2023-09-20T20:29:05.627Z] 4872d77fe225: Waiting [2023-09-20T20:29:05.627Z] 5851b861e8e6: Waiting [2023-09-20T20:29:05.627Z] e2be974225ed: Download complete [2023-09-20T20:29:05.627Z] 988bab9f4d93: Verifying Checksum [2023-09-20T20:29:05.627Z] 988bab9f4d93: Download complete [2023-09-20T20:29:05.890Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T20:29:05.890Z] 1469e6f7b9e6: Download complete [2023-09-20T20:29:05.890Z] eaf3925da568: Download complete [2023-09-20T20:29:05.890Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T20:29:05.890Z] 339a4e72a1f5: Download complete [2023-09-20T20:29:05.890Z] bde34c3a00c8: Verifying Checksum [2023-09-20T20:29:05.890Z] bde34c3a00c8: Download complete [2023-09-20T20:29:05.890Z] b352a97aabf1: Verifying Checksum [2023-09-20T20:29:05.890Z] b352a97aabf1: Download complete [2023-09-20T20:29:05.890Z] 4872d77fe225: Verifying Checksum [2023-09-20T20:29:05.890Z] 4872d77fe225: Download complete [2023-09-20T20:29:05.890Z] 5851b861e8e6: Verifying Checksum [2023-09-20T20:29:05.890Z] 5851b861e8e6: Download complete [2023-09-20T20:29:05.890Z] b85a868b505f: Verifying Checksum [2023-09-20T20:29:05.890Z] b85a868b505f: Download complete [2023-09-20T20:29:06.150Z] bab4dde63d76: Verifying Checksum [2023-09-20T20:29:06.150Z] bab4dde63d76: Download complete [2023-09-20T20:29:07.105Z] b85a868b505f: Pull complete [2023-09-20T20:29:07.370Z] e2be974225ed: Pull complete [2023-09-20T20:29:07.941Z] 339a4e72a1f5: Pull complete [2023-09-20T20:29:07.941Z] 988bab9f4d93: Pull complete [2023-09-20T20:29:08.201Z] 1469e6f7b9e6: Pull complete [2023-09-20T20:29:08.460Z] eaf3925da568: Pull complete [2023-09-20T20:29:10.381Z] bab4dde63d76: Pull complete [2023-09-20T20:29:10.381Z] bde34c3a00c8: Pull complete [2023-09-20T20:29:10.641Z] b352a97aabf1: Pull complete [2023-09-20T20:29:10.641Z] 4872d77fe225: Pull complete [2023-09-20T20:29:10.641Z] 5851b861e8e6: Pull complete [2023-09-20T20:29:10.641Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T20:29:10.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T20:29:10.641Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:29:10.877Z] prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container [2023-09-20T20:29:10.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T20:29:13.948Z] $ docker top 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 -eo pid,comm [2023-09-20T20:29:14.016Z] 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). [2023-09-20T20:29:14.016Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T20:29:14.140Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:29:14.140Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:29:14.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:29:14.255Z] $ docker exec 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 ssh-agent [2023-09-20T20:29:14.371Z] SSH_AUTH_SOCK=/tmp/ssh-lV7Nn27FWvd9/agent.31 [2023-09-20T20:29:14.371Z] SSH_AGENT_PID=37 [2023-09-20T20:29:14.377Z] Running ssh-add (command line suppressed) [2023-09-20T20:29:14.475Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-344@tmp/private_key_17017579635299151852.key (/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/private_key_17017579635299151852.key) [2023-09-20T20:29:14.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:29:14.829Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T20:29:14.850Z] $ docker exec --env ******** --env ******** 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 ssh-agent -k [2023-09-20T20:29:14.950Z] unset SSH_AUTH_SOCK; [2023-09-20T20:29:14.951Z] unset SSH_AGENT_PID; [2023-09-20T20:29:14.951Z] echo Agent pid 37 killed; [2023-09-20T20:29:14.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T20:29:15.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T20:29:15.058Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T20:29:15.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T20:29:15.172Z] $ docker exec 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 ssh-agent [2023-09-20T20:29:15.284Z] SSH_AUTH_SOCK=/tmp/ssh-83dOuUSyzWXa/agent.69 [2023-09-20T20:29:15.284Z] SSH_AGENT_PID=75 [2023-09-20T20:29:15.289Z] Running ssh-add (command line suppressed) [2023-09-20T20:29:15.384Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-344@tmp/private_key_2444507077073812752.key (/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/private_key_2444507077073812752.key) [2023-09-20T20:29:15.407Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T20:29:15.747Z] + git semver init [2023-09-20T20:29:16.019Z] 2023-09-20 20:29:16,005 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T20:29:16.019Z] 2023-09-20 20:29:16,006 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-344/.semver [2023-09-20T20:29:16.019Z] 2023-09-20 20:29:16,006 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-344/.semver [2023-09-20T20:29:16.019Z] 2023-09-20 20:29:16,006 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-344/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-344, universal_newlines=False, shell=None, istream=None) [2023-09-20T20:29:17.405Z] 2023-09-20 20:29:17,049 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-344/.git/info/exclude [2023-09-20T20:29:17.405Z] 2023-09-20 20:29:17,049 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-344/.semver/PR-344 with force:False [2023-09-20T20:29:17.405Z] 2023-09-20 20:29:17,049 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-344/.semver/PR-344 [2023-09-20T20:29:17.405Z] 2023-09-20 20:29:17,053 [execute] INFO git cat-file --batch-check [2023-09-20T20:29:17.405Z] 2023-09-20 20:29:17,054 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T20:29:17.406Z] 2023-09-20 20:29:17,060 [execute] INFO git cat-file --batch [2023-09-20T20:29:17.406Z] 2023-09-20 20:29:17,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T20:29:17.406Z] 2023-09-20 20:29:17,064 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-344/.semver/PR-344 [2023-09-20T20:29:17.406Z] 0.0.0 [Pipeline] } [2023-09-20T20:29:17.427Z] $ docker exec --env ******** --env ******** 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 ssh-agent -k [2023-09-20T20:29:17.526Z] unset SSH_AUTH_SOCK; [2023-09-20T20:29:17.526Z] unset SSH_AGENT_PID; [2023-09-20T20:29:17.527Z] echo Agent pid 75 killed; [2023-09-20T20:29:17.540Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T20:29:17.964Z] + git semver [Pipeline] } [2023-09-20T20:29:18.247Z] $ docker stop --time=1 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 [2023-09-20T20:29:19.589Z] $ docker rm -f --volumes 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:29:19.974Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T20:29:20.242Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T20:29:20.257Z] [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 [2023-09-20T20:29:20.830Z] provisioning config files... [2023-09-20T20:29:20.839Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/config7038741680010354282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:29:21.188Z] ---> docker-login.sh [2023-09-20T20:29:21.188Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:29:21.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:21.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:21.188Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:21.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:21.188Z] [2023-09-20T20:29:21.188Z] Login Succeeded [2023-09-20T20:29:21.188Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:29:21.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:21.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:21.189Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:21.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:21.189Z] [2023-09-20T20:29:21.189Z] Login Succeeded [2023-09-20T20:29:21.189Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:29:21.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:21.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:21.448Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:21.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:21.448Z] [2023-09-20T20:29:21.448Z] Login Succeeded [2023-09-20T20:29:21.448Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:29:21.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:21.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:21.448Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:21.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:21.448Z] [2023-09-20T20:29:21.448Z] Login Succeeded [2023-09-20T20:29:21.448Z] docker.io [2023-09-20T20:29:21.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:29:21.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:29:21.969Z] Configure a credential helper to remove this warning. See [2023-09-20T20:29:21.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:29:21.969Z] [2023-09-20T20:29:21.969Z] Login Succeeded [2023-09-20T20:29:21.969Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:29:21.997Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:29:22.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:29:22.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:29:22.234Z] ========================================================= [2023-09-20T20:29:22.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T20:29:22.234Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:29:22.687Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T20:29:22.688Z] Sending build context to Docker daemon 10.91MB [2023-09-20T20:29:22.688Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:29:22.688Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:29:22.688Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T20:29:22.688Z] 7264a8db6415: Pulling fs layer [2023-09-20T20:29:22.688Z] c4d48a809fc2: Pulling fs layer [2023-09-20T20:29:22.688Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T20:29:22.688Z] ad3a456e5733: Pulling fs layer [2023-09-20T20:29:22.688Z] 33e27b845d1e: Pulling fs layer [2023-09-20T20:29:22.688Z] ad3a456e5733: Waiting [2023-09-20T20:29:22.688Z] c68163c4e522: Pulling fs layer [2023-09-20T20:29:22.688Z] 50da416c3ac9: Pulling fs layer [2023-09-20T20:29:22.688Z] 33e27b845d1e: Waiting [2023-09-20T20:29:22.688Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T20:29:22.688Z] 50da416c3ac9: Waiting [2023-09-20T20:29:22.688Z] c4d48a809fc2: Verifying Checksum [2023-09-20T20:29:22.688Z] c4d48a809fc2: Download complete [2023-09-20T20:29:22.688Z] ad3a456e5733: Verifying Checksum [2023-09-20T20:29:22.688Z] ad3a456e5733: Download complete [2023-09-20T20:29:22.949Z] 33e27b845d1e: Verifying Checksum [2023-09-20T20:29:22.949Z] 33e27b845d1e: Download complete [2023-09-20T20:29:22.949Z] 7264a8db6415: Verifying Checksum [2023-09-20T20:29:22.949Z] 7264a8db6415: Download complete [2023-09-20T20:29:22.949Z] c68163c4e522: Verifying Checksum [2023-09-20T20:29:22.949Z] c68163c4e522: Download complete [2023-09-20T20:29:22.949Z] 7264a8db6415: Pull complete [2023-09-20T20:29:23.209Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T20:29:23.209Z] 23d2d4c4bb30: Download complete [2023-09-20T20:29:23.209Z] c4d48a809fc2: Pull complete [2023-09-20T20:29:23.468Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T20:29:23.468Z] 4f1c88b9dad5: Download complete [2023-09-20T20:29:23.725Z] 50da416c3ac9: Verifying Checksum [2023-09-20T20:29:23.725Z] 50da416c3ac9: Download complete [2023-09-20T20:29:27.007Z] 4f1c88b9dad5: Pull complete [2023-09-20T20:29:27.007Z] ad3a456e5733: Pull complete [2023-09-20T20:29:27.007Z] 33e27b845d1e: Pull complete [2023-09-20T20:29:27.007Z] c68163c4e522: Pull complete [2023-09-20T20:29:29.534Z] 50da416c3ac9: Pull complete [2023-09-20T20:29:29.793Z] 23d2d4c4bb30: Pull complete [2023-09-20T20:29:29.793Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T20:29:29.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T20:29:29.793Z] ---> 0786185ac409 [2023-09-20T20:29:29.793Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:29:35.665Z] Still waiting to schedule task [2023-09-20T20:29:35.665Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-20T20:29:36.376Z] ---> Running in 992b72b21877 [2023-09-20T20:29:36.376Z] Removing intermediate container 992b72b21877 [2023-09-20T20:29:36.376Z] ---> 2c54b7cf2a21 [2023-09-20T20:29:36.376Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:29:36.376Z] ---> Running in b820d1c2f900 [2023-09-20T20:29:36.376Z] Removing intermediate container b820d1c2f900 [2023-09-20T20:29:36.376Z] ---> bf0f1f3cbb4d [2023-09-20T20:29:36.376Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:29:36.376Z] ---> Running in cd59ac25fff0 [2023-09-20T20:29:36.376Z] Removing intermediate container cd59ac25fff0 [2023-09-20T20:29:36.376Z] ---> 4caaed79e06e [2023-09-20T20:29:36.376Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:29:36.376Z] ---> Running in c23773b3a75c [2023-09-20T20:29:36.376Z] Removing intermediate container c23773b3a75c [2023-09-20T20:29:36.376Z] ---> 3c100a640bac [2023-09-20T20:29:36.376Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:29:36.376Z] ---> Running in 9db757c415af [2023-09-20T20:29:36.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:29:36.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:29:36.637Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:29:36.637Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:29:36.637Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:29:36.637Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:29:36.637Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:29:36.637Z] OK: 268 MiB in 56 packages [2023-09-20T20:29:37.207Z] Removing intermediate container 9db757c415af [2023-09-20T20:29:37.207Z] ---> 7013bbcd2d57 [2023-09-20T20:29:37.207Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-20T20:29:37.207Z] ---> Running in bcf0949ac9de [2023-09-20T20:29:37.207Z] Removing intermediate container bcf0949ac9de [2023-09-20T20:29:37.207Z] ---> 408f4b91e795 [2023-09-20T20:29:37.207Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T20:29:37.464Z] ---> dfd558475bb1 [2023-09-20T20:29:37.464Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:29:37.464Z] ---> Running in 81a409b1477e [2023-09-20T20:30:24.321Z] Removing intermediate container 81a409b1477e [2023-09-20T20:30:24.321Z] ---> 967fb0346e0e [2023-09-20T20:30:24.321Z] Step 11/12 : COPY . . [2023-09-20T20:30:24.321Z] ---> 3d497c979b97 [2023-09-20T20:30:24.321Z] Step 12/12 : RUN $MAKE [2023-09-20T20:30:24.321Z] ---> Running in 2ad59336ac52 [2023-09-20T20:30:24.321Z] noop [2023-09-20T20:30:24.321Z] Removing intermediate container 2ad59336ac52 [2023-09-20T20:30:24.321Z] ---> 6fff18f125a9 [2023-09-20T20:30:24.321Z] Successfully built 6fff18f125a9 [2023-09-20T20:30:24.321Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:30:24.776Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:30:24.776Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:30:24.931Z] prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container [2023-09-20T20:30:24.976Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:30:25.336Z] $ docker top d527446bc0e84bdac74daf8f7f81732ab7710f9610f3d73bd6129371590907bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:30:25.725Z] + go version [2023-09-20T20:30:25.725Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T20:30:25.768Z] $ docker stop --time=1 d527446bc0e84bdac74daf8f7f81732ab7710f9610f3d73bd6129371590907bd [2023-09-20T20:30:27.062Z] $ docker rm -f --volumes d527446bc0e84bdac74daf8f7f81732ab7710f9610f3d73bd6129371590907bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:30:27.740Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T20:30:27.740Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:30:27.894Z] prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container [2023-09-20T20:30:27.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T20:30:28.350Z] $ docker top 6a5b999d29eae20bf8188d6b68f66abd20313cecd5ebf1b682e748b5fff967ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:30:28.721Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-344 [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:30:29.079Z] + make test [2023-09-20T20:30:29.079Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T20:30:30.456Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-20T20:30:42.674Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-20T20:30:42.674Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2023-09-20T20:30:49.241Z] go vet ./... [2023-09-20T20:30:51.770Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:30:51.770Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:30:51.770Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:30:52.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:30:52.096Z] $ docker stop --time=1 6a5b999d29eae20bf8188d6b68f66abd20313cecd5ebf1b682e748b5fff967ed [2023-09-20T20:30:55.928Z] $ docker rm -f --volumes 6a5b999d29eae20bf8188d6b68f66abd20313cecd5ebf1b682e748b5fff967ed [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:30:56.518Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:30:56.576Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T20:30:57.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:30:57.596Z] + ls -al . [2023-09-20T20:30:57.596Z] total 188 [2023-09-20T20:30:57.596Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:30 . [2023-09-20T20:30:57.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:28 .. [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:28 .dockerignore [2023-09-20T20:30:57.596Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:30 .git [2023-09-20T20:30:57.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:28 .github [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:28 .gitignore [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:28 .golangci.yml [2023-09-20T20:30:57.596Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:29 .semver [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:28 Attribution.txt [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:28 CHANGELOG.md [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:28 Dockerfile [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:28 GOVERNANCE.md [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:28 Jenkinsfile [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:28 LICENSE [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:28 Makefile [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:28 OWNERS.md [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:28 README.md [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 20:29 VERSION [2023-09-20T20:30:57.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:28 bin [2023-09-20T20:30:57.596Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:28 cmd [2023-09-20T20:30:57.596Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:30 coverage.out [2023-09-20T20:30:57.596Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:28 driver [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:28 go.mod [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:28 go.sum [2023-09-20T20:30:57.596Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:28 snap [2023-09-20T20:30:57.596Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:30:58.011Z] + 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=2f32931ffe8d4c070bb177082ca0597a272f49c5 --label arch=amd64 --label version=0.0.0 . [2023-09-20T20:30:58.011Z] Sending build context to Docker daemon 10.93MB [2023-09-20T20:30:58.011Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:30:58.011Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T20:30:58.011Z] ---> 6fff18f125a9 [2023-09-20T20:30:58.011Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:30:58.269Z] ---> Running in f26610b68556 [2023-09-20T20:30:58.269Z] Removing intermediate container f26610b68556 [2023-09-20T20:30:58.269Z] ---> 4a050f2c0cc4 [2023-09-20T20:30:58.269Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:30:58.269Z] ---> Running in 33b27f8df0bb [2023-09-20T20:30:58.269Z] Removing intermediate container 33b27f8df0bb [2023-09-20T20:30:58.269Z] ---> 6e419a0c717e [2023-09-20T20:30:58.269Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:30:58.269Z] ---> Running in 482a772e2e0f [2023-09-20T20:30:58.526Z] Removing intermediate container 482a772e2e0f [2023-09-20T20:30:58.527Z] ---> 60315490993b [2023-09-20T20:30:58.527Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:30:58.527Z] ---> Running in 61ad319cd870 [2023-09-20T20:30:58.527Z] Removing intermediate container 61ad319cd870 [2023-09-20T20:30:58.527Z] ---> 99f008733b81 [2023-09-20T20:30:58.527Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:30:58.527Z] ---> Running in dd53ac7e1b78 [2023-09-20T20:30:58.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:30:59.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:30:59.302Z] OK: 268 MiB in 56 packages [2023-09-20T20:30:59.873Z] Removing intermediate container dd53ac7e1b78 [2023-09-20T20:30:59.873Z] ---> cd0cc551707a [2023-09-20T20:30:59.873Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-20T20:30:59.873Z] ---> Running in 262ce544bceb [2023-09-20T20:30:59.873Z] Removing intermediate container 262ce544bceb [2023-09-20T20:30:59.873Z] ---> 16ee57bb4a5a [2023-09-20T20:30:59.873Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T20:30:59.873Z] ---> 472ef393db3e [2023-09-20T20:30:59.873Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:31:00.134Z] ---> Running in e3996b5c172e [2023-09-20T20:31:00.703Z] Removing intermediate container e3996b5c172e [2023-09-20T20:31:00.703Z] ---> 5d426dfd8350 [2023-09-20T20:31:00.703Z] Step 11/25 : COPY . . [2023-09-20T20:31:01.639Z] ---> 5c1f6733475c [2023-09-20T20:31:01.639Z] Step 12/25 : RUN $MAKE [2023-09-20T20:31:01.639Z] ---> Running in cdf81b44e290 [2023-09-20T20:31:01.897Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-20T20:31:02.492Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7210 in /w/workspace/gexfoundry_device-rest-go_PR-344 [Pipeline] { [Pipeline] ws [2023-09-20T20:31:02.547Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-20T20:31:02.631Z] The recommended git tool is: git [2023-09-20T20:31:07.664Z] using credential edgex-jenkins-ssh [2023-09-20T20:31:07.682Z] Cloning the remote Git repository [2023-09-20T20:31:07.716Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T20:31:07.805Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-20T20:31:07.949Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T20:31:07.950Z] > git --version # timeout=10 [2023-09-20T20:31:07.971Z] > git --version # 'git version 2.25.1' [2023-09-20T20:31:07.974Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:31:08.111Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:31:12.318Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-20T20:31:12.336Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T20:31:13.674Z] Merging remotes/origin/main commit 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 into PR head commit 2f32931ffe8d4c070bb177082ca0597a272f49c5 [2023-09-20T20:31:13.937Z] Merge succeeded, producing 2f32931ffe8d4c070bb177082ca0597a272f49c5 [2023-09-20T20:31:13.937Z] Checking out Revision 2f32931ffe8d4c070bb177082ca0597a272f49c5 (PR-344) [2023-09-20T20:31:14.365Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-20T20:31:13.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-20T20:31:13.172Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-20T20:31:13.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:31:13.186Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T20:31:13.684Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T20:31:13.754Z] > git checkout -f 2f32931ffe8d4c070bb177082ca0597a272f49c5 # timeout=10 [2023-09-20T20:31:13.837Z] > git remote # timeout=10 [2023-09-20T20:31:13.855Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T20:31:13.881Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T20:31:13.893Z] > git merge 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 [2023-09-20T20:31:13.916Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T20:31:13.937Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T20:31:13.951Z] > git checkout -f 2f32931ffe8d4c070bb177082ca0597a272f49c5 # timeout=10 [2023-09-20T20:31:14.401Z] > git --version # timeout=10 [2023-09-20T20:31:14.413Z] > git --version # 'git version 2.25.1' [2023-09-20T20:31:14.436Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:31:15.572Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T20:31:15.572Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:31:15.572Z] Dload Upload Total Spent Left Speed [2023-09-20T20:31:15.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-09-20T20:31:16.155Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T20:31:16.496Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T20:31:16.496Z] + sudo tee /etc/docker/daemon.new [2023-09-20T20:31:16.496Z] { [2023-09-20T20:31:16.496Z] "registry-mirrors": [ [2023-09-20T20:31:16.496Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T20:31:16.496Z] ], [2023-09-20T20:31:16.496Z] "bip": "10.250.0.254/24", [2023-09-20T20:31:16.496Z] "hosts": [ [2023-09-20T20:31:16.496Z] "tcp://0.0.0.0:5555", [2023-09-20T20:31:16.496Z] "unix:///var/run/docker.sock" [2023-09-20T20:31:16.496Z] ], [2023-09-20T20:31:16.496Z] "mtu": 1458, [2023-09-20T20:31:16.496Z] "selinux-enabled": true, [2023-09-20T20:31:16.496Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T20:31:16.496Z] } [Pipeline] sh [2023-09-20T20:31:16.835Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T20:31:17.179Z] + sudo service docker restart [2023-09-20T20:31:23.822Z] Removing intermediate container cdf81b44e290 [2023-09-20T20:31:23.822Z] ---> 71194b4c51bf [2023-09-20T20:31:23.822Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T20:31:23.822Z] 3.18: Pulling from library/alpine [2023-09-20T20:31:23.822Z] 7264a8db6415: Already exists [2023-09-20T20:31:23.822Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:31:23.822Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:31:23.822Z] ---> 7e01a0d0a1dc [2023-09-20T20:31:23.822Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T20:31:23.822Z] ---> Running in f79b6cb9c1be [2023-09-20T20:31:24.391Z] Removing intermediate container f79b6cb9c1be [2023-09-20T20:31:24.391Z] ---> 5419a068b9c1 [2023-09-20T20:31:24.391Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-20T20:31:24.958Z] ---> Running in da99da4ce4c6 [2023-09-20T20:31:25.897Z] Removing intermediate container da99da4ce4c6 [2023-09-20T20:31:25.897Z] ---> 4ea5f88d9305 [2023-09-20T20:31:25.897Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:31:26.156Z] ---> Running in 8c07a8c5daf7 [2023-09-20T20:31:26.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T20:31:26.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T20:31:26.982Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:31:26.982Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:31:26.982Z] OK: 7 MiB in 16 packages [2023-09-20T20:31:28.362Z] Removing intermediate container 8c07a8c5daf7 [2023-09-20T20:31:28.362Z] ---> 655ab99f6bf0 [2023-09-20T20:31:28.362Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-20T20:31:29.298Z] ---> bcbfb53d38d5 [2023-09-20T20:31:29.298Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-20T20:31:29.866Z] ---> 0dd0354598b2 [2023-09-20T20:31:29.866Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-20T20:31:30.434Z] ---> dbb20583d193 [2023-09-20T20:31:30.434Z] Step 20/25 : EXPOSE 59986 [2023-09-20T20:31:30.694Z] ---> Running in 2c19bfa8efa7 [2023-09-20T20:31:31.262Z] Removing intermediate container 2c19bfa8efa7 [2023-09-20T20:31:31.262Z] ---> 31f46e05ac08 [2023-09-20T20:31:31.262Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-20T20:31:31.521Z] ---> Running in 5e8643d2341f [2023-09-20T20:31:31.788Z] Removing intermediate container 5e8643d2341f [2023-09-20T20:31:31.788Z] ---> 981207598276 [2023-09-20T20:31:31.788Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T20:31:32.355Z] ---> Running in 4e6472663fc8 [2023-09-20T20:31:32.615Z] Removing intermediate container 4e6472663fc8 [2023-09-20T20:31:32.615Z] ---> deec3987f6d0 [2023-09-20T20:31:32.615Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T20:31:32.874Z] ---> Running in 1f858f0ed69f [2023-09-20T20:31:33.442Z] Removing intermediate container 1f858f0ed69f [2023-09-20T20:31:33.442Z] ---> aabf0ca930fa [2023-09-20T20:31:33.442Z] Step 24/25 : LABEL git_sha=2f32931ffe8d4c070bb177082ca0597a272f49c5 [2023-09-20T20:31:33.701Z] ---> Running in d584e11b4519 [2023-09-20T20:31:33.959Z] Removing intermediate container d584e11b4519 [2023-09-20T20:31:33.959Z] ---> 5f426ed12acf [2023-09-20T20:31:33.959Z] Step 25/25 : LABEL version=0.0.0 [2023-09-20T20:31:34.218Z] ---> Running in f5737445ee6b [2023-09-20T20:31:34.218Z] Removing intermediate container f5737445ee6b [2023-09-20T20:31:34.218Z] ---> 59adabfb4e3b [2023-09-20T20:31:34.218Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:31:34.218Z] Successfully built 59adabfb4e3b [2023-09-20T20:31:34.218Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:31:35.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:31:35.095Z] [2023-09-20T20:31:35.095Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2023-09-20T20:31:35.478Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:31:35.479Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T20:31:35.479Z] 5eb5b503b376: Pulling fs layer [2023-09-20T20:31:35.479Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T20:31:35.479Z] ec43610c2a17: Pulling fs layer [2023-09-20T20:31:35.479Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T20:31:35.479Z] 33b1e0a273af: Pulling fs layer [2023-09-20T20:31:35.479Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T20:31:35.479Z] 2f39f015ded8: Pulling fs layer [2023-09-20T20:31:35.479Z] 33b1e0a273af: Waiting [2023-09-20T20:31:35.479Z] 3a2ae6a8a46f: Waiting [2023-09-20T20:31:35.479Z] 5d3b04190fa2: Waiting [2023-09-20T20:31:35.479Z] 5c69ac0246d0: Download complete [2023-09-20T20:31:35.479Z] 3a2ae6a8a46f: Download complete [2023-09-20T20:31:35.479Z] 33b1e0a273af: Verifying Checksum [2023-09-20T20:31:35.479Z] 33b1e0a273af: Download complete [2023-09-20T20:31:35.479Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T20:31:35.479Z] 5d3b04190fa2: Download complete [Pipeline] configFileProvider [2023-09-20T20:31:35.481Z] provisioning config files... [2023-09-20T20:31:35.504Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10040811395761294475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:31:35.746Z] ec43610c2a17: Verifying Checksum [2023-09-20T20:31:35.746Z] ec43610c2a17: Download complete [2023-09-20T20:31:35.746Z] 5eb5b503b376: Verifying Checksum [2023-09-20T20:31:35.746Z] 5eb5b503b376: Download complete [2023-09-20T20:31:35.890Z] ---> docker-login.sh [2023-09-20T20:31:35.890Z] nexus3.edgexfoundry.org:10001 [2023-09-20T20:31:36.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:31:36.315Z] 2f39f015ded8: Download complete [2023-09-20T20:31:36.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:31:36.427Z] Configure a credential helper to remove this warning. See [2023-09-20T20:31:36.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:31:36.427Z] [2023-09-20T20:31:36.427Z] Login Succeeded [2023-09-20T20:31:36.427Z] nexus3.edgexfoundry.org:10002 [2023-09-20T20:31:36.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:31:36.882Z] 5eb5b503b376: Pull complete [2023-09-20T20:31:36.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:31:36.980Z] Configure a credential helper to remove this warning. See [2023-09-20T20:31:36.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:31:36.980Z] [2023-09-20T20:31:36.980Z] Login Succeeded [2023-09-20T20:31:36.980Z] nexus3.edgexfoundry.org:10003 [2023-09-20T20:31:36.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:31:37.141Z] 5c69ac0246d0: Pull complete [2023-09-20T20:31:37.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:31:37.249Z] Configure a credential helper to remove this warning. See [2023-09-20T20:31:37.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:31:37.249Z] [2023-09-20T20:31:37.249Z] Login Succeeded [2023-09-20T20:31:37.249Z] nexus3.edgexfoundry.org:10004 [2023-09-20T20:31:37.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:31:37.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:31:37.519Z] Configure a credential helper to remove this warning. See [2023-09-20T20:31:37.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:31:37.519Z] [2023-09-20T20:31:37.519Z] Login Succeeded [2023-09-20T20:31:37.519Z] docker.io [2023-09-20T20:31:37.708Z] ec43610c2a17: Pull complete [2023-09-20T20:31:37.708Z] 3a2ae6a8a46f: Pull complete [2023-09-20T20:31:37.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T20:31:37.966Z] 33b1e0a273af: Pull complete [2023-09-20T20:31:37.966Z] 5d3b04190fa2: Pull complete [2023-09-20T20:31:38.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T20:31:38.054Z] Configure a credential helper to remove this warning. See [2023-09-20T20:31:38.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T20:31:38.054Z] [2023-09-20T20:31:38.054Z] Login Succeeded [2023-09-20T20:31:38.054Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T20:31:38.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T20:31:38.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:31:38.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T20:31:38.502Z] ========================================================= [2023-09-20T20:31:38.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T20:31:38.502Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:31:38.992Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T20:31:38.992Z] Sending build context to Docker daemon 143.4kB [2023-09-20T20:31:39.258Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:31:39.258Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T20:31:39.525Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T20:31:39.525Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T20:31:39.525Z] 5d54e960e981: Pulling fs layer [2023-09-20T20:31:39.525Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T20:31:39.525Z] f0e02332f6b5: Pulling fs layer [2023-09-20T20:31:39.525Z] cefa15bbcfad: Pulling fs layer [2023-09-20T20:31:39.525Z] 17808c966233: Pulling fs layer [2023-09-20T20:31:39.525Z] f0e02332f6b5: Waiting [2023-09-20T20:31:39.525Z] cefa15bbcfad: Waiting [2023-09-20T20:31:39.525Z] f4c1fc716caa: Pulling fs layer [2023-09-20T20:31:39.525Z] 17808c966233: Waiting [2023-09-20T20:31:39.525Z] f4c1fc716caa: Waiting [2023-09-20T20:31:39.795Z] 5d54e960e981: Verifying Checksum [2023-09-20T20:31:39.795Z] 5d54e960e981: Download complete [2023-09-20T20:31:39.795Z] f0e02332f6b5: Verifying Checksum [2023-09-20T20:31:39.795Z] f0e02332f6b5: Download complete [2023-09-20T20:31:39.795Z] cefa15bbcfad: Verifying Checksum [2023-09-20T20:31:39.795Z] cefa15bbcfad: Download complete [2023-09-20T20:31:39.795Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T20:31:39.795Z] 9fda8d8052c6: Download complete [2023-09-20T20:31:40.073Z] f4c1fc716caa: Verifying Checksum [2023-09-20T20:31:40.073Z] f4c1fc716caa: Download complete [2023-09-20T20:31:40.664Z] 9fda8d8052c6: Pull complete [2023-09-20T20:31:41.251Z] 5d54e960e981: Pull complete [2023-09-20T20:31:41.251Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T20:31:41.251Z] c4a7e357bf2a: Download complete [2023-09-20T20:31:42.220Z] 17808c966233: Verifying Checksum [2023-09-20T20:31:42.220Z] 17808c966233: Download complete [2023-09-20T20:31:43.251Z] 2f39f015ded8: Pull complete [2023-09-20T20:31:43.251Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T20:31:43.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:31:43.251Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:31:43.478Z] prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container [2023-09-20T20:31:43.517Z] $ 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-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T20:31:50.253Z] $ docker top 757354792df97527ee26d42f7efa15810d24f5551d0b405e1ac4bdb102f9751f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:31:50.684Z] ---> job-cost.sh [2023-09-20T20:31:50.684Z] lf-activate-venv: SKIPPING [2023-09-20T20:31:50.684Z] INFO: No Stack... [2023-09-20T20:31:50.943Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:31:51.203Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:31:51.522Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-344/archives/cost.csv [2023-09-20T20:31:51.522Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:31:51.561Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [2023-09-20T20:31:51.565Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] did not exist. Created. [2023-09-20T20:31:51.565Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:31:51.960Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T20:31:52.010Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:31:52.042Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:31:52.133Z] $ docker stop --time=1 757354792df97527ee26d42f7efa15810d24f5551d0b405e1ac4bdb102f9751f [2023-09-20T20:31:53.281Z] $ docker rm -f --volumes 757354792df97527ee26d42f7efa15810d24f5551d0b405e1ac4bdb102f9751f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T20:31:54.568Z] c4a7e357bf2a: Pull complete [2023-09-20T20:31:54.568Z] f0e02332f6b5: Pull complete [2023-09-20T20:31:54.568Z] cefa15bbcfad: Pull complete [2023-09-20T20:31:59.920Z] 17808c966233: Pull complete [2023-09-20T20:32:01.331Z] f4c1fc716caa: Pull complete [2023-09-20T20:32:01.331Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T20:32:01.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T20:32:01.331Z] ---> ea914061e18c [2023-09-20T20:32:01.331Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:32:02.754Z] ---> Running in 5f924be8b0ec [2023-09-20T20:32:03.022Z] Removing intermediate container 5f924be8b0ec [2023-09-20T20:32:03.022Z] ---> 0cfecf99d199 [2023-09-20T20:32:03.022Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:32:03.022Z] ---> Running in 6c6aacc8a096 [2023-09-20T20:32:03.294Z] Removing intermediate container 6c6aacc8a096 [2023-09-20T20:32:03.294Z] ---> 29cd1ee720a0 [2023-09-20T20:32:03.294Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:32:03.564Z] ---> Running in 591334aaf172 [2023-09-20T20:32:03.834Z] Removing intermediate container 591334aaf172 [2023-09-20T20:32:03.834Z] ---> d93c54d7f29a [2023-09-20T20:32:03.834Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:32:03.834Z] ---> Running in f01e2651f3ec [2023-09-20T20:32:04.103Z] Removing intermediate container f01e2651f3ec [2023-09-20T20:32:04.103Z] ---> d08761173592 [2023-09-20T20:32:04.103Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:32:04.370Z] ---> Running in 8cdbfa511c63 [2023-09-20T20:32:05.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:32:05.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T20:32:06.882Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T20:32:06.882Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T20:32:06.882Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T20:32:06.882Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T20:32:06.882Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:32:06.882Z] OK: 270 MiB in 56 packages [2023-09-20T20:32:07.845Z] Removing intermediate container 8cdbfa511c63 [2023-09-20T20:32:07.845Z] ---> e237b497a1c9 [2023-09-20T20:32:07.845Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-20T20:32:07.845Z] ---> Running in 2aa7071887d5 [2023-09-20T20:32:08.113Z] Removing intermediate container 2aa7071887d5 [2023-09-20T20:32:08.113Z] ---> f3e1a1d20241 [2023-09-20T20:32:08.113Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T20:32:08.696Z] ---> 2e14f01dc727 [2023-09-20T20:32:08.696Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:32:08.696Z] ---> Running in ef67cdd23c1c [2023-09-20T20:33:16.551Z] Removing intermediate container ef67cdd23c1c [2023-09-20T20:33:16.551Z] ---> 6a1944d6d780 [2023-09-20T20:33:16.551Z] Step 11/12 : COPY . . [2023-09-20T20:33:16.551Z] ---> dc7e93b55cab [2023-09-20T20:33:16.551Z] Step 12/12 : RUN $MAKE [2023-09-20T20:33:16.551Z] ---> Running in 5be52149bd6f [2023-09-20T20:33:17.136Z] noop [2023-09-20T20:33:17.719Z] Removing intermediate container 5be52149bd6f [2023-09-20T20:33:17.719Z] ---> c96ca82b5fba [2023-09-20T20:33:17.719Z] Successfully built c96ca82b5fba [2023-09-20T20:33:17.719Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:33:18.429Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T20:33:18.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:33:18.704Z] prd-ubuntu20.04-docker-arm64-4c-16g-7210 does not seem to be running inside a container [2023-09-20T20:33:18.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T20:33:19.881Z] $ docker top 1d112e77f6cd0a7f2c2dcdaa830bdfa526c8c803036a81297c76ecd5cfca7d3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:33:20.748Z] + go version [2023-09-20T20:33:20.748Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T20:33:20.784Z] $ docker stop --time=1 1d112e77f6cd0a7f2c2dcdaa830bdfa526c8c803036a81297c76ecd5cfca7d3f [2023-09-20T20:33:22.375Z] $ docker rm -f --volumes 1d112e77f6cd0a7f2c2dcdaa830bdfa526c8c803036a81297c76ecd5cfca7d3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:33:23.250Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T20:33:23.250Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:33:23.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-7210 does not seem to be running inside a container [2023-09-20T20:33:23.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T20:33:24.682Z] $ docker top 9ac7dac685e21a72149ce575a67dd7359b3da60a25b3240752b01e5266ea3dec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:33:25.225Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T20:33:25.612Z] + make test [2023-09-20T20:33:25.881Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T20:33:31.214Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-20T20:35:07.862Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-20T20:35:07.862Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements [2023-09-20T20:35:07.862Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T20:35:07.862Z] go vet ./... [2023-09-20T20:35:17.954Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T20:35:17.954Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T20:35:17.954Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T20:35:17.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T20:35:18.031Z] $ docker stop --time=1 9ac7dac685e21a72149ce575a67dd7359b3da60a25b3240752b01e5266ea3dec [2023-09-20T20:35:19.849Z] $ docker rm -f --volumes 9ac7dac685e21a72149ce575a67dd7359b3da60a25b3240752b01e5266ea3dec [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T20:35:21.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T20:35:21.095Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T20:35:21.568Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T20:35:22.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T20:35:22.507Z] + ls -al . [2023-09-20T20:35:22.507Z] total 184 [2023-09-20T20:35:22.508Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:33 . [2023-09-20T20:35:22.508Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:31 .. [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:31 .dockerignore [2023-09-20T20:35:22.508Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:31 .git [2023-09-20T20:35:22.508Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:31 .github [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:31 .gitignore [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:31 .golangci.yml [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:31 Attribution.txt [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:31 CHANGELOG.md [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:31 Dockerfile [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:31 GOVERNANCE.md [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:31 Jenkinsfile [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:31 LICENSE [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:31 Makefile [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:31 OWNERS.md [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:31 README.md [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 20:29 VERSION [2023-09-20T20:35:22.508Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:31 bin [2023-09-20T20:35:22.508Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:31 cmd [2023-09-20T20:35:22.508Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:34 coverage.out [2023-09-20T20:35:22.508Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:31 driver [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:31 go.mod [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:31 go.sum [2023-09-20T20:35:22.508Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:31 snap [2023-09-20T20:35:22.508Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:35:22.938Z] + 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=2f32931ffe8d4c070bb177082ca0597a272f49c5 --label arch=arm64 --label version=0.0.0 . [2023-09-20T20:35:22.938Z] Sending build context to Docker daemon 158.7kB [2023-09-20T20:35:23.208Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T20:35:23.208Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T20:35:23.208Z] ---> c96ca82b5fba [2023-09-20T20:35:23.208Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T20:35:23.208Z] ---> Running in 59b8d1af9013 [2023-09-20T20:35:23.478Z] Removing intermediate container 59b8d1af9013 [2023-09-20T20:35:23.478Z] ---> abe16b36c5d4 [2023-09-20T20:35:23.478Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T20:35:23.742Z] ---> Running in 257e4063c625 [2023-09-20T20:35:24.010Z] Removing intermediate container 257e4063c625 [2023-09-20T20:35:24.010Z] ---> c320862c08b2 [2023-09-20T20:35:24.010Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-20T20:35:24.010Z] ---> Running in 126437309daf [2023-09-20T20:35:24.281Z] Removing intermediate container 126437309daf [2023-09-20T20:35:24.281Z] ---> 121d4e07c836 [2023-09-20T20:35:24.281Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T20:35:24.550Z] ---> Running in 17d78a4b86a7 [2023-09-20T20:35:25.983Z] Removing intermediate container 17d78a4b86a7 [2023-09-20T20:35:25.983Z] ---> 68bd0bd4cacb [2023-09-20T20:35:25.983Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T20:35:25.983Z] ---> Running in e476a4c2fbf5 [2023-09-20T20:35:26.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:35:27.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T20:35:28.501Z] OK: 270 MiB in 56 packages [2023-09-20T20:35:31.073Z] Removing intermediate container e476a4c2fbf5 [2023-09-20T20:35:31.073Z] ---> 7393f1b123ca [2023-09-20T20:35:31.073Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-20T20:35:31.339Z] ---> Running in cbde36e2284f [2023-09-20T20:35:31.610Z] Removing intermediate container cbde36e2284f [2023-09-20T20:35:31.610Z] ---> 60e97b886688 [2023-09-20T20:35:31.610Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T20:35:31.882Z] ---> 4cbce9c19a72 [2023-09-20T20:35:31.882Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T20:35:32.151Z] ---> Running in a9f70403c1a6 [2023-09-20T20:35:34.736Z] Removing intermediate container a9f70403c1a6 [2023-09-20T20:35:34.736Z] ---> 9b6121c36d05 [2023-09-20T20:35:34.736Z] Step 11/25 : COPY . . [2023-09-20T20:35:35.005Z] ---> b96cece2f291 [2023-09-20T20:35:35.005Z] Step 12/25 : RUN $MAKE [2023-09-20T20:35:35.005Z] ---> Running in aec86c68e18d [2023-09-20T20:35:35.968Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-20T20:37:42.641Z] Removing intermediate container aec86c68e18d [2023-09-20T20:37:42.641Z] ---> 0530935fd2d6 [2023-09-20T20:37:42.641Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T20:37:42.641Z] 3.18: Pulling from library/alpine [2023-09-20T20:37:42.641Z] 9fda8d8052c6: Already exists [2023-09-20T20:37:42.641Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T20:37:42.641Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T20:37:42.641Z] ---> f6648c04cd6c [2023-09-20T20:37:42.642Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T20:37:42.642Z] ---> Running in 4d7c81198b4b [2023-09-20T20:37:42.642Z] Removing intermediate container 4d7c81198b4b [2023-09-20T20:37:42.642Z] ---> 6abb48ed0aca [2023-09-20T20:37:42.642Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-20T20:37:42.642Z] ---> Running in 84e39f9cb37e [2023-09-20T20:37:42.642Z] Removing intermediate container 84e39f9cb37e [2023-09-20T20:37:42.642Z] ---> a0a39d606256 [2023-09-20T20:37:42.642Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-20T20:37:42.642Z] ---> Running in 821ec0cbeffa [2023-09-20T20:37:42.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T20:37:42.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T20:37:43.231Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-20T20:37:43.231Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T20:37:43.231Z] OK: 8 MiB in 16 packages [2023-09-20T20:37:44.653Z] Removing intermediate container 821ec0cbeffa [2023-09-20T20:37:44.653Z] ---> 112e89f03dfe [2023-09-20T20:37:44.653Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-20T20:37:46.061Z] ---> 685a139155f0 [2023-09-20T20:37:46.061Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-20T20:37:46.329Z] ---> 9101624aed0b [2023-09-20T20:37:46.329Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-20T20:37:46.916Z] ---> 58e9f61aa3f4 [2023-09-20T20:37:46.916Z] Step 20/25 : EXPOSE 59986 [2023-09-20T20:37:46.916Z] ---> Running in fbf2fec5449b [2023-09-20T20:37:47.186Z] Removing intermediate container fbf2fec5449b [2023-09-20T20:37:47.186Z] ---> 2c61915b3860 [2023-09-20T20:37:47.186Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-20T20:37:47.186Z] ---> Running in 1e5f2d0c7ed4 [2023-09-20T20:37:47.456Z] Removing intermediate container 1e5f2d0c7ed4 [2023-09-20T20:37:47.456Z] ---> e8d83d399105 [2023-09-20T20:37:47.456Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-20T20:37:47.724Z] ---> Running in 3d28279323d6 [2023-09-20T20:37:47.998Z] Removing intermediate container 3d28279323d6 [2023-09-20T20:37:47.998Z] ---> eee7628f1297 [2023-09-20T20:37:47.998Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T20:37:47.998Z] ---> Running in 68d8a83c1dbd [2023-09-20T20:37:48.266Z] Removing intermediate container 68d8a83c1dbd [2023-09-20T20:37:48.266Z] ---> b1dd3a9b37fa [2023-09-20T20:37:48.266Z] Step 24/25 : LABEL git_sha=2f32931ffe8d4c070bb177082ca0597a272f49c5 [2023-09-20T20:37:48.266Z] ---> Running in 6255372717de [2023-09-20T20:37:48.532Z] Removing intermediate container 6255372717de [2023-09-20T20:37:48.532Z] ---> e36f327e46a3 [2023-09-20T20:37:48.532Z] Step 25/25 : LABEL version=0.0.0 [2023-09-20T20:37:48.798Z] ---> Running in d3d958488276 [2023-09-20T20:37:49.063Z] Removing intermediate container d3d958488276 [2023-09-20T20:37:49.063Z] ---> de6376c6be87 [2023-09-20T20:37:49.063Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T20:37:49.063Z] Successfully built de6376c6be87 [2023-09-20T20:37:49.063Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:37:49.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T20:37:49.898Z] [2023-09-20T20:37:49.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:37:50.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T20:37:50.303Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T20:37:50.303Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T20:37:50.303Z] 04944245beec: Pulling fs layer [2023-09-20T20:37:50.303Z] 699f458cf7ca: Pulling fs layer [2023-09-20T20:37:50.303Z] 765212b225bb: Pulling fs layer [2023-09-20T20:37:50.303Z] f23df028b6ca: Pulling fs layer [2023-09-20T20:37:50.303Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T20:37:50.303Z] 765212b225bb: Waiting [2023-09-20T20:37:50.303Z] f23df028b6ca: Waiting [2023-09-20T20:37:50.303Z] d65c8cfc05b1: Waiting [2023-09-20T20:37:50.303Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T20:37:50.303Z] 2437ff75d9bd: Waiting [2023-09-20T20:37:50.581Z] 04944245beec: Verifying Checksum [2023-09-20T20:37:50.581Z] 04944245beec: Download complete [2023-09-20T20:37:50.581Z] 765212b225bb: Verifying Checksum [2023-09-20T20:37:50.581Z] 765212b225bb: Download complete [2023-09-20T20:37:50.581Z] f23df028b6ca: Verifying Checksum [2023-09-20T20:37:50.581Z] f23df028b6ca: Download complete [2023-09-20T20:37:50.581Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T20:37:50.581Z] d65c8cfc05b1: Download complete [2023-09-20T20:37:50.581Z] 699f458cf7ca: Verifying Checksum [2023-09-20T20:37:50.581Z] 699f458cf7ca: Download complete [2023-09-20T20:37:51.262Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T20:37:51.262Z] 8998bd30e6a1: Download complete [2023-09-20T20:37:53.890Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T20:37:53.890Z] 2437ff75d9bd: Download complete [2023-09-20T20:37:55.326Z] 8998bd30e6a1: Pull complete [2023-09-20T20:37:57.276Z] 04944245beec: Pull complete [2023-09-20T20:37:58.832Z] 699f458cf7ca: Pull complete [2023-09-20T20:37:58.832Z] 765212b225bb: Pull complete [2023-09-20T20:37:59.413Z] f23df028b6ca: Pull complete [2023-09-20T20:37:59.679Z] d65c8cfc05b1: Pull complete [2023-09-20T20:38:14.676Z] 2437ff75d9bd: Pull complete [2023-09-20T20:38:14.676Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T20:38:14.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T20:38:14.676Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:38:15.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-7210 does not seem to be running inside a container [2023-09-20T20:38:15.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T20:38:17.507Z] $ docker top f052d5de11781113aba5184a2bef3c0ef887ac8b914ec169ebd9e36479a35988 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:38:18.088Z] ---> job-cost.sh [2023-09-20T20:38:18.355Z] lf-activate-venv: SKIPPING [2023-09-20T20:38:18.355Z] INFO: No Stack... [2023-09-20T20:38:18.621Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T20:38:19.577Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T20:38:19.916Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-09-20T20:38:19.916Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T20:38:19.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [2023-09-20T20:38:20.004Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] did not exist. Created. [2023-09-20T20:38:20.004Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T20:38:20.675Z] /w/workspace/device-rest-go/1@tmp/durable-8edb2ea6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T20:38:21.024Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T20:38:21.321Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T20:38:21.374Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T20:38:21.390Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T20:38:21.471Z] $ docker stop --time=1 f052d5de11781113aba5184a2bef3c0ef887ac8b914ec169ebd9e36479a35988 [2023-09-20T20:38:22.967Z] $ docker rm -f --volumes f052d5de11781113aba5184a2bef3c0ef887ac8b914ec169ebd9e36479a35988 [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 [2023-09-20T20:38:23.982Z] provisioning config files... [2023-09-20T20:38:23.990Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/config13085101586526969848tmp [Pipeline] { [Pipeline] sh [2023-09-20T20:38:24.332Z] + set +x [2023-09-20T20:38:24.332Z] + bash -s -- [2023-09-20T20:38:24.332Z] + curl -s https://codecov.io/bash [2023-09-20T20:38:24.332Z] [2023-09-20T20:38:24.332Z] _____ _ [2023-09-20T20:38:24.332Z] / ____| | | [2023-09-20T20:38:24.332Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T20:38:24.332Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T20:38:24.332Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T20:38:24.332Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T20:38:24.332Z] Bash-1.0.6 [2023-09-20T20:38:24.332Z] [2023-09-20T20:38:24.332Z] [2023-09-20T20:38:24.332Z] ==> git version 2.25.1 found [2023-09-20T20:38:24.332Z] ==> 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 [2023-09-20T20:38:24.332Z] Release-Date: 2020-01-08 [2023-09-20T20:38:24.332Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-20T20:38:24.332Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T20:38:24.332Z] ==> Jenkins CI detected. [2023-09-20T20:38:24.332Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-344 [2023-09-20T20:38:24.332Z] project root: . [2023-09-20T20:38:24.332Z] --> token set from env [2023-09-20T20:38:24.332Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T20:38:24.332Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T20:38:24.591Z] ==> Python coveragepy not found [2023-09-20T20:38:24.591Z] ==> Searching for coverage reports in: [2023-09-20T20:38:24.591Z] + . [2023-09-20T20:38:24.591Z] -> Found 1 reports [2023-09-20T20:38:24.591Z] ==> Detecting git/mercurial file structure [2023-09-20T20:38:24.591Z] ==> Reading reports [2023-09-20T20:38:24.591Z] + ./coverage.out bytes=14499 [2023-09-20T20:38:24.591Z] ==> Appending adjustments [2023-09-20T20:38:24.591Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T20:38:24.591Z] + Found adjustments [2023-09-20T20:38:24.591Z] ==> Gzipping contents [2023-09-20T20:38:24.591Z] 4.0K /tmp/codecov.JFu9l3.gz [2023-09-20T20:38:24.591Z] ==> Uploading reports [2023-09-20T20:38:24.591Z] url: https://codecov.io [2023-09-20T20:38:24.591Z] query: branch=PR-344&commit=2f32931ffe8d4c070bb177082ca0597a272f49c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=344&job=&cmd_args= [2023-09-20T20:38:24.591Z] -> Pinging Codecov [2023-09-20T20:38:24.591Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-344&commit=2f32931ffe8d4c070bb177082ca0597a272f49c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=344&job=&cmd_args= [2023-09-20T20:38:39.477Z] -> Uploading to [2023-09-20T20:38:39.477Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/4E5D53B4F1F92C436F7061BF334D961C/2f32931ffe8d4c070bb177082ca0597a272f49c5/12583732-fff0-477d-8498-6d28e0c01bf3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T203837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92fdcd496826cc3b8fd56c75ff929655cbe904ac0bac1d0fcaad8a76a26fea61 [2023-09-20T20:38:39.477Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T20:38:39.477Z] Dload Upload Total Spent Left Speed [2023-09-20T20:38:39.477Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13548 --:--:-- --:--:-- --:--:-- 13548 [2023-09-20T20:38:39.477Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] } [2023-09-20T20:38:39.504Z] 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 [2023-09-20T20:38:41.289Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-344/archives ] [2023-09-20T20:38:41.289Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-344/archives [2023-09-20T20:38:41.289Z] total 16 [2023-09-20T20:38:41.289Z] drwxr-xr-x 3 root root 4096 Sep 20 20:31 . [2023-09-20T20:38:41.289Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:31 .. [2023-09-20T20:38:41.289Z] drwxr-xr-x 2 root root 4096 Sep 20 20:31 cost [2023-09-20T20:38:41.289Z] -rw-r--r-- 1 root root 86 Sep 20 20:31 cost.csv [2023-09-20T20:38:41.289Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-344/archives [2023-09-20T20:38:41.289Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-344/archives [2023-09-20T20:38:41.289Z] total 16 [2023-09-20T20:38:41.289Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:31 . [2023-09-20T20:38:41.289Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:31 .. [2023-09-20T20:38:41.289Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:31 cost [2023-09-20T20:38:41.289Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 20:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:38:41.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:38:42.507Z] ---> package-listing.sh [2023-09-20T20:38:42.507Z] ++ facter osfamily [2023-09-20T20:38:42.508Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T20:38:42.767Z] + OS_FAMILY=debian [2023-09-20T20:38:42.767Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-344 [2023-09-20T20:38:42.767Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T20:38:42.767Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T20:38:42.767Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T20:38:42.767Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T20:38:42.767Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-344 ']' [2023-09-20T20:38:42.767Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T20:38:42.767Z] + case "${OS_FAMILY}" in [2023-09-20T20:38:42.767Z] + dpkg -l [2023-09-20T20:38:42.767Z] + grep '^ii' [2023-09-20T20:38:42.767Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T20:38:42.767Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T20:38:42.767Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T20:38:42.767Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-344 ']' [2023-09-20T20:38:42.767Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-344/archives/ [2023-09-20T20:38:42.767Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-344/archives/ [Pipeline] echo [2023-09-20T20:38:42.799Z] 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-344/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T20:38:43.092Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T20:38:43.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T20:38:43.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T20:38:43.858Z] prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container [2023-09-20T20:38:43.895Z] $ 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-344/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-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T20:38:44.101Z] $ docker top 729d1cba92e8ff3ced8dc1af0cab4d8625ae68006ffd11364c14b6cb83cca5b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T20:38:44.475Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T20:38:44.782Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T20:38:45.093Z] + ls /var/log/sa-host [2023-09-20T20:38:45.093Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T20:38:45.219Z] provisioning config files... [2023-09-20T20:38:45.227Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/config18049416899749302611tmp [Pipeline] { [Pipeline] echo [2023-09-20T20:38:45.285Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:38:45.592Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T20:38:45.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:38:46.012Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T20:38:46.042Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:38:46.355Z] ---> sudo-logs.sh [2023-09-20T20:38:46.355Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T20:38:46.428Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:38:46.743Z] ---> job-cost.sh [2023-09-20T20:38:46.743Z] lf-activate-venv: SKIPPING [2023-09-20T20:38:46.743Z] DEBUG: total: 0.2199999988079071 [2023-09-20T20:38:46.743Z] INFO: Retrieving Stack Cost... [2023-09-20T20:38:47.314Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T20:38:47.576Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T20:38:47.611Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T20:38:47.927Z] ---> logs-deploy.sh [2023-09-20T20:38:47.927Z] lf-activate-venv: SKIPPING [2023-09-20T20:38:47.927Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-344/1 [2023-09-20T20:38:47.927Z] INFO: archiving workspace using pattern(s): [2023-09-20T20:38:48.870Z] Archives upload complete. [2023-09-20T20:38:48.870Z] INFO: archiving logs to Nexus