Pull request #349 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30e900135b4fda310d3da32f43ad86fb4c0924c0+7254ae82036954a30da847ceb4fb6fc335c14613 (cb8ee4dd2789ce7379cac2be8b3450629720d14a) 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-ssh3768624058294204770.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-ssh6392560430554897157.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-349/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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6745435962105280265.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-349/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7700091617378232378.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-ssh3773642269909155196.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-349/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-349/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3401424464724060393.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-8871 in /w/workspace/gexfoundry_device-rest-go_PR-349 [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-349 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit 30e900135b4fda310d3da32f43ad86fb4c0924c0 Merge succeeded, producing 30e900135b4fda310d3da32f43ad86fb4c0924c0 Checking out Revision 30e900135b4fda310d3da32f43ad86fb4c0924c0 (PR-349) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-11T20:10:57.476Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-11T20:10:57.648Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 30e900135b4fda310d3da32f43ad86fb4c0924c0 # 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 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30e900135b4fda310d3da32f43ad86fb4c0924c0 # timeout=10 [Pipeline] echo [2023-10-11T20:10:57.747Z] ========================================================= [2023-10-11T20:10:57.747Z] EdgeX Global Pipelines Version Info [2023-10-11T20:10:57.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:10:58.482Z] ------------------- [2023-10-11T20:10:58.482Z] stable info: [2023-10-11T20:10:58.482Z] ------------------- [2023-10-11T20:10:58.482Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-11T20:10:58.482Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T20:10:58.482Z] Message: update stable to v1.0.254 [2023-10-11T20:10:59.051Z] ------------------- [2023-10-11T20:10:59.051Z] experimental info: [2023-10-11T20:10:59.051Z] ------------------- [2023-10-11T20:10:59.051Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-11T20:10:59.051Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T20:10:59.051Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-11T20:10:59.322Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-11T20:10:59.359Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-11T20:10:59.400Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-11T20:10:59.438Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-11T20:10:59.479Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-11T20:10:59.517Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-11T20:10:59.555Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-11T20:10:59.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-11T20:10:59.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-11T20:10:59.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-11T20:10:59.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-11T20:10:59.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-11T20:10:59.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-11T20:10:59.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-11T20:10:59.873Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-11T20:10:59.914Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-11T20:10:59.959Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T20:11:00.000Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-11T20:11:00.042Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-11T20:11:00.084Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-11T20:11:00.132Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-11T20:11:00.179Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-11T20:11:00.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-11T20:11:00.267Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-11T20:11:00.311Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-11T20:11:00.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-11T20:11:00.399Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-11T20:11:00.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-349 [Pipeline] echo [2023-10-11T20:11:00.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-349 [Pipeline] echo [2023-10-11T20:11:00.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-349 [Pipeline] echo [2023-10-11T20:11:00.579Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] echo [2023-10-11T20:11:00.624Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30e9001 [Pipeline] echo [2023-10-11T20:11:00.665Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T20:11:00.785Z] provisioning config files... [2023-10-11T20:11:00.799Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/config17532449543498615425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:11:01.166Z] ---> docker-login.sh [2023-10-11T20:11:01.166Z] nexus3.edgexfoundry.org:10001 [2023-10-11T20:11:01.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:01.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:01.429Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:01.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:01.429Z] [2023-10-11T20:11:01.429Z] Login Succeeded [2023-10-11T20:11:01.429Z] nexus3.edgexfoundry.org:10002 [2023-10-11T20:11:01.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:01.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:01.689Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:01.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:01.689Z] [2023-10-11T20:11:01.689Z] Login Succeeded [2023-10-11T20:11:01.689Z] nexus3.edgexfoundry.org:10003 [2023-10-11T20:11:01.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:01.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:01.689Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:01.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:01.689Z] [2023-10-11T20:11:01.689Z] Login Succeeded [2023-10-11T20:11:01.689Z] nexus3.edgexfoundry.org:10004 [2023-10-11T20:11:01.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:01.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:01.950Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:01.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:01.950Z] [2023-10-11T20:11:01.950Z] Login Succeeded [2023-10-11T20:11:01.950Z] docker.io [2023-10-11T20:11:01.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:02.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:02.211Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:02.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:02.211Z] [2023-10-11T20:11:02.211Z] Login Succeeded [2023-10-11T20:11:02.211Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T20:11:02.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-11T20:11:02.880Z] + git rev-list -1 --merges 30e900135b4fda310d3da32f43ad86fb4c0924c0~1..30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] echo [2023-10-11T20:11:02.938Z] -----------> git rev-list -1 --merges 30e900135b4fda310d3da32f43ad86fb4c0924c0~1..30e900135b4fda310d3da32f43ad86fb4c0924c0 30e900135b4fda310d3da32f43ad86fb4c0924c0 [false] [Pipeline] sh [2023-10-11T20:11:03.250Z] + git log --format=format:%s -1 30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] echo [2023-10-11T20:11:03.283Z] ========================================================= [2023-10-11T20:11:03.283Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-11T20:11:03.283Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T20:11:03.712Z] + git log --format=format:%s -1 30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] echo [2023-10-11T20:11:03.745Z] [semverPrep] GIT_COMMIT: 30e900135b4fda310d3da32f43ad86fb4c0924c0, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2 [Pipeline] echo [2023-10-11T20:11:03.772Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-11T20:11:04.170Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-11T20:11:04.171Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-11T20:11:04.171Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-11T20:11:04.171Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-11T20:11:04.171Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-11T20:11:04.171Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-11T20:11:04.171Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:11:04.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T20:11:04.655Z] [2023-10-11T20:11:04.655Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:11:05.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T20:11:05.024Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-11T20:11:05.024Z] b85a868b505f: Pulling fs layer [2023-10-11T20:11:05.024Z] e2be974225ed: Pulling fs layer [2023-10-11T20:11:05.024Z] 339a4e72a1f5: Pulling fs layer [2023-10-11T20:11:05.024Z] 988bab9f4d93: Pulling fs layer [2023-10-11T20:11:05.024Z] 1469e6f7b9e6: Pulling fs layer [2023-10-11T20:11:05.024Z] eaf3925da568: Pulling fs layer [2023-10-11T20:11:05.024Z] bab4dde63d76: Pulling fs layer [2023-10-11T20:11:05.024Z] bde34c3a00c8: Pulling fs layer [2023-10-11T20:11:05.024Z] b352a97aabf1: Pulling fs layer [2023-10-11T20:11:05.024Z] 4872d77fe225: Pulling fs layer [2023-10-11T20:11:05.024Z] 5851b861e8e6: Pulling fs layer [2023-10-11T20:11:05.024Z] bab4dde63d76: Waiting [2023-10-11T20:11:05.024Z] bde34c3a00c8: Waiting [2023-10-11T20:11:05.024Z] 1469e6f7b9e6: Waiting [2023-10-11T20:11:05.024Z] eaf3925da568: Waiting [2023-10-11T20:11:05.024Z] b352a97aabf1: Waiting [2023-10-11T20:11:05.024Z] 5851b861e8e6: Waiting [2023-10-11T20:11:05.024Z] 988bab9f4d93: Waiting [2023-10-11T20:11:05.024Z] e2be974225ed: Download complete [2023-10-11T20:11:05.024Z] 988bab9f4d93: Verifying Checksum [2023-10-11T20:11:05.024Z] 988bab9f4d93: Download complete [2023-10-11T20:11:05.283Z] 1469e6f7b9e6: Verifying Checksum [2023-10-11T20:11:05.283Z] 1469e6f7b9e6: Download complete [2023-10-11T20:11:05.283Z] eaf3925da568: Verifying Checksum [2023-10-11T20:11:05.283Z] eaf3925da568: Download complete [2023-10-11T20:11:05.283Z] 339a4e72a1f5: Verifying Checksum [2023-10-11T20:11:05.283Z] 339a4e72a1f5: Download complete [2023-10-11T20:11:05.283Z] bde34c3a00c8: Verifying Checksum [2023-10-11T20:11:05.283Z] bde34c3a00c8: Download complete [2023-10-11T20:11:05.283Z] b352a97aabf1: Download complete [2023-10-11T20:11:05.283Z] 4872d77fe225: Verifying Checksum [2023-10-11T20:11:05.283Z] 4872d77fe225: Download complete [2023-10-11T20:11:05.283Z] 5851b861e8e6: Verifying Checksum [2023-10-11T20:11:05.283Z] b85a868b505f: Verifying Checksum [2023-10-11T20:11:05.283Z] b85a868b505f: Download complete [2023-10-11T20:11:05.541Z] bab4dde63d76: Verifying Checksum [2023-10-11T20:11:05.541Z] bab4dde63d76: Download complete [2023-10-11T20:11:06.476Z] b85a868b505f: Pull complete [2023-10-11T20:11:06.735Z] e2be974225ed: Pull complete [2023-10-11T20:11:06.994Z] 339a4e72a1f5: Pull complete [2023-10-11T20:11:07.254Z] 988bab9f4d93: Pull complete [2023-10-11T20:11:07.513Z] 1469e6f7b9e6: Pull complete [2023-10-11T20:11:07.513Z] eaf3925da568: Pull complete [2023-10-11T20:11:08.889Z] bab4dde63d76: Pull complete [2023-10-11T20:11:09.148Z] bde34c3a00c8: Pull complete [2023-10-11T20:11:09.148Z] b352a97aabf1: Pull complete [2023-10-11T20:11:09.407Z] 4872d77fe225: Pull complete [2023-10-11T20:11:09.407Z] 5851b861e8e6: Pull complete [2023-10-11T20:11:09.407Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-11T20:11:09.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-11T20:11:09.407Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T20:11:09.636Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-10-11T20:11:09.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-11T20:11:11.474Z] $ docker top de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 -eo pid,comm [2023-10-11T20:11:11.525Z] 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-10-11T20:11:11.525Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-11T20:11:11.653Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-11T20:11:11.653Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-11T20:11:11.766Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-11T20:11:11.770Z] $ docker exec de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 ssh-agent [2023-10-11T20:11:11.871Z] SSH_AUTH_SOCK=/tmp/ssh-wRCGMZ9N9Bu8/agent.32 [2023-10-11T20:11:11.871Z] SSH_AGENT_PID=38 [2023-10-11T20:11:11.877Z] Running ssh-add (command line suppressed) [2023-10-11T20:11:11.983Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-349@tmp/private_key_880933503052980037.key (/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/private_key_880933503052980037.key) [2023-10-11T20:11:11.995Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-11T20:11:12.321Z] + git tag --points-at HEAD [Pipeline] } [2023-10-11T20:11:12.348Z] $ docker exec --env ******** --env ******** de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 ssh-agent -k [2023-10-11T20:11:12.441Z] unset SSH_AUTH_SOCK; [2023-10-11T20:11:12.441Z] unset SSH_AGENT_PID; [2023-10-11T20:11:12.442Z] echo Agent pid 38 killed; [2023-10-11T20:11:12.450Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-11T20:11:12.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-11T20:11:12.541Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-11T20:11:12.649Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-11T20:11:12.653Z] $ docker exec de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 ssh-agent [2023-10-11T20:11:12.752Z] SSH_AUTH_SOCK=/tmp/ssh-froX3wqPWmUE/agent.72 [2023-10-11T20:11:12.752Z] SSH_AGENT_PID=78 [2023-10-11T20:11:12.757Z] Running ssh-add (command line suppressed) [2023-10-11T20:11:12.849Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-349@tmp/private_key_9268196528055731223.key (/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/private_key_9268196528055731223.key) [2023-10-11T20:11:12.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-11T20:11:13.188Z] + git semver init [2023-10-11T20:11:13.446Z] 2023-10-11 20:11:13,371 [run_init] DEBUG init version:0.0.0 force:False [2023-10-11T20:11:13.446Z] 2023-10-11 20:11:13,372 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-349/.semver [2023-10-11T20:11:13.446Z] 2023-10-11 20:11:13,372 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-349/.semver [2023-10-11T20:11:13.446Z] 2023-10-11 20:11:13,372 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-349/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-349, universal_newlines=False, shell=None, istream=None) [2023-10-11T20:11:14.828Z] 2023-10-11 20:11:14,406 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-349/.git/info/exclude [2023-10-11T20:11:14.828Z] 2023-10-11 20:11:14,406 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-349/.semver/PR-349 with force:False [2023-10-11T20:11:14.828Z] 2023-10-11 20:11:14,406 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-349/.semver/PR-349 [2023-10-11T20:11:14.828Z] 2023-10-11 20:11:14,410 [execute] INFO git cat-file --batch-check [2023-10-11T20:11:14.828Z] 2023-10-11 20:11:14,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-349/.semver, universal_newlines=False, shell=None, istream=) [2023-10-11T20:11:14.828Z] 2023-10-11 20:11:14,417 [execute] INFO git cat-file --batch [2023-10-11T20:11:14.828Z] 2023-10-11 20:11:14,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-349/.semver, universal_newlines=False, shell=None, istream=) [2023-10-11T20:11:14.828Z] 2023-10-11 20:11:14,422 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-349/.semver/PR-349 [2023-10-11T20:11:14.828Z] 0.0.0 [Pipeline] } [2023-10-11T20:11:14.857Z] $ docker exec --env ******** --env ******** de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 ssh-agent -k [2023-10-11T20:11:14.949Z] unset SSH_AUTH_SOCK; [2023-10-11T20:11:14.949Z] unset SSH_AGENT_PID; [2023-10-11T20:11:14.949Z] echo Agent pid 78 killed; [2023-10-11T20:11:14.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-11T20:11:15.393Z] + git semver [Pipeline] } [2023-10-11T20:11:15.676Z] $ docker stop --time=1 de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 [2023-10-11T20:11:16.977Z] $ docker rm -f --volumes de304a7ed57ef767eef58956e45eaa5cec6c55ae6dda1d863690656906f1fb32 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T20:11:17.377Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-11T20:11:17.639Z] Stashed 1 file(s) [Pipeline] echo [2023-10-11T20:11:17.655Z] [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-10-11T20:11:18.242Z] provisioning config files... [2023-10-11T20:11:18.251Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/config18243035035959726905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:11:18.594Z] ---> docker-login.sh [2023-10-11T20:11:18.595Z] nexus3.edgexfoundry.org:10001 [2023-10-11T20:11:18.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:18.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:18.595Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:18.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:18.595Z] [2023-10-11T20:11:18.595Z] Login Succeeded [2023-10-11T20:11:18.595Z] nexus3.edgexfoundry.org:10002 [2023-10-11T20:11:18.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:18.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:18.595Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:18.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:18.595Z] [2023-10-11T20:11:18.595Z] Login Succeeded [2023-10-11T20:11:18.595Z] nexus3.edgexfoundry.org:10003 [2023-10-11T20:11:18.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:18.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:18.854Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:18.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:18.854Z] [2023-10-11T20:11:18.854Z] Login Succeeded [2023-10-11T20:11:18.854Z] nexus3.edgexfoundry.org:10004 [2023-10-11T20:11:18.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:18.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:18.854Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:18.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:18.854Z] [2023-10-11T20:11:18.854Z] Login Succeeded [2023-10-11T20:11:18.854Z] docker.io [2023-10-11T20:11:19.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:11:19.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:11:19.116Z] Configure a credential helper to remove this warning. See [2023-10-11T20:11:19.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:11:19.116Z] [2023-10-11T20:11:19.116Z] Login Succeeded [2023-10-11T20:11:19.116Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T20:11:19.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-11T20:11:19.345Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T20:11:19.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T20:11:19.421Z] ========================================================= [2023-10-11T20:11:19.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-11T20:11:19.421Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:11:19.890Z] + 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-10-11T20:11:19.890Z] Sending build context to Docker daemon 10.94MB [2023-10-11T20:11:19.890Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T20:11:19.890Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-11T20:11:19.890Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-11T20:11:19.890Z] 7264a8db6415: Pulling fs layer [2023-10-11T20:11:19.890Z] c4d48a809fc2: Pulling fs layer [2023-10-11T20:11:19.890Z] 4f1c88b9dad5: Pulling fs layer [2023-10-11T20:11:19.890Z] ad3a456e5733: Pulling fs layer [2023-10-11T20:11:19.890Z] 33e27b845d1e: Pulling fs layer [2023-10-11T20:11:19.890Z] c68163c4e522: Pulling fs layer [2023-10-11T20:11:19.890Z] 50da416c3ac9: Pulling fs layer [2023-10-11T20:11:19.890Z] 23d2d4c4bb30: Pulling fs layer [2023-10-11T20:11:19.890Z] 33e27b845d1e: Waiting [2023-10-11T20:11:19.890Z] c68163c4e522: Waiting [2023-10-11T20:11:19.890Z] 50da416c3ac9: Waiting [2023-10-11T20:11:19.890Z] ad3a456e5733: Waiting [2023-10-11T20:11:19.890Z] 23d2d4c4bb30: Waiting [2023-10-11T20:11:20.152Z] c4d48a809fc2: Verifying Checksum [2023-10-11T20:11:20.152Z] c4d48a809fc2: Download complete [2023-10-11T20:11:20.152Z] ad3a456e5733: Download complete [2023-10-11T20:11:20.152Z] 33e27b845d1e: Verifying Checksum [2023-10-11T20:11:20.152Z] 33e27b845d1e: Download complete [2023-10-11T20:11:20.152Z] 7264a8db6415: Verifying Checksum [2023-10-11T20:11:20.152Z] 7264a8db6415: Download complete [2023-10-11T20:11:20.152Z] c68163c4e522: Verifying Checksum [2023-10-11T20:11:20.152Z] c68163c4e522: Download complete [2023-10-11T20:11:20.152Z] 7264a8db6415: Pull complete [2023-10-11T20:11:20.411Z] 23d2d4c4bb30: Verifying Checksum [2023-10-11T20:11:20.411Z] 23d2d4c4bb30: Download complete [2023-10-11T20:11:20.411Z] c4d48a809fc2: Pull complete [2023-10-11T20:11:20.411Z] 4f1c88b9dad5: Verifying Checksum [2023-10-11T20:11:20.411Z] 4f1c88b9dad5: Download complete [2023-10-11T20:11:20.669Z] 50da416c3ac9: Verifying Checksum [2023-10-11T20:11:20.669Z] 50da416c3ac9: Download complete [2023-10-11T20:11:23.203Z] 4f1c88b9dad5: Pull complete [2023-10-11T20:11:23.203Z] ad3a456e5733: Pull complete [2023-10-11T20:11:23.460Z] 33e27b845d1e: Pull complete [2023-10-11T20:11:23.460Z] c68163c4e522: Pull complete [2023-10-11T20:11:25.988Z] 50da416c3ac9: Pull complete [2023-10-11T20:11:25.988Z] 23d2d4c4bb30: Pull complete [2023-10-11T20:11:25.988Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-11T20:11:25.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-11T20:11:25.988Z] ---> 0786185ac409 [2023-10-11T20:11:25.988Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-11T20:11:28.523Z] ---> Running in 8cab6aee8656 [2023-10-11T20:11:28.523Z] Removing intermediate container 8cab6aee8656 [2023-10-11T20:11:28.523Z] ---> 0f1f2c239447 [2023-10-11T20:11:28.523Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T20:11:28.523Z] ---> Running in 9862d3b6cc15 [2023-10-11T20:11:28.523Z] Removing intermediate container 9862d3b6cc15 [2023-10-11T20:11:28.523Z] ---> 6fb24e72c32f [2023-10-11T20:11:28.523Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T20:11:28.523Z] ---> Running in d3c110f9f569 [2023-10-11T20:11:28.523Z] Removing intermediate container d3c110f9f569 [2023-10-11T20:11:28.523Z] ---> d51a11816721 [2023-10-11T20:11:28.523Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T20:11:28.523Z] ---> Running in b998be572d81 [2023-10-11T20:11:28.523Z] Removing intermediate container b998be572d81 [2023-10-11T20:11:28.523Z] ---> 099b1387c206 [2023-10-11T20:11:28.523Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T20:11:28.523Z] ---> Running in bc53c7853e8c [2023-10-11T20:11:28.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T20:11:29.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T20:11:29.297Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-11T20:11:29.297Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-11T20:11:29.297Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-11T20:11:29.297Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-11T20:11:29.297Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T20:11:29.297Z] OK: 268 MiB in 56 packages [2023-10-11T20:11:29.555Z] Removing intermediate container bc53c7853e8c [2023-10-11T20:11:29.555Z] ---> 04a23a9d4cb4 [2023-10-11T20:11:29.555Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-11T20:11:29.555Z] ---> Running in c902c12a23fb [2023-10-11T20:11:29.814Z] Removing intermediate container c902c12a23fb [2023-10-11T20:11:29.814Z] ---> 36ddea3f64b7 [2023-10-11T20:11:29.814Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-11T20:11:29.814Z] ---> 9e757ef8265e [2023-10-11T20:11:29.814Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T20:11:29.814Z] ---> Running in 90066e4b79bc [2023-10-11T20:11:33.057Z] Still waiting to schedule task [2023-10-11T20:11:33.058Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-11T20:12:32.884Z] Removing intermediate container 90066e4b79bc [2023-10-11T20:12:32.884Z] ---> 798f946d5e76 [2023-10-11T20:12:32.884Z] Step 11/12 : COPY . . [2023-10-11T20:12:32.884Z] ---> 1f50bead910a [2023-10-11T20:12:32.884Z] Step 12/12 : RUN $MAKE [2023-10-11T20:12:32.884Z] ---> Running in 4f8f727a47e9 [2023-10-11T20:12:33.142Z] noop [2023-10-11T20:12:33.401Z] Removing intermediate container 4f8f727a47e9 [2023-10-11T20:12:33.401Z] ---> 1651f44db569 [2023-10-11T20:12:33.401Z] Successfully built 1651f44db569 [2023-10-11T20:12:33.401Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:12:33.851Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-11T20:12:33.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T20:12:34.007Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-10-11T20:12:34.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@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-x86_64 cat [2023-10-11T20:12:34.348Z] $ docker top 9e4d338db42537b9fc579f77cc0563a62491e78bae67975f2fd6ba3c9dd0d160 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T20:12:34.725Z] + go version [2023-10-11T20:12:34.725Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-11T20:12:34.755Z] $ docker stop --time=1 9e4d338db42537b9fc579f77cc0563a62491e78bae67975f2fd6ba3c9dd0d160 [2023-10-11T20:12:36.003Z] $ docker rm -f --volumes 9e4d338db42537b9fc579f77cc0563a62491e78bae67975f2fd6ba3c9dd0d160 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:12:36.692Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-11T20:12:36.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T20:12:36.839Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-10-11T20:12:36.869Z] $ 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-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@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-x86_64 cat [2023-10-11T20:12:37.205Z] $ docker top a237f86ce28764ce98f07cf6835bcf991e208daac8baa41dee230b96d2bdca8a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T20:12:37.585Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-349 [Pipeline] fileExists [Pipeline] sh [2023-10-11T20:12:37.939Z] + make test [2023-10-11T20:12:37.939Z] go test ./... -coverprofile=coverage.out ./... [2023-10-11T20:12:38.888Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-11T20:12:51.093Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-11T20:12:51.093Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-10-11T20:12:56.358Z] go vet ./... [2023-10-11T20:12:59.642Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-11T20:12:59.642Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-11T20:12:59.642Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-11T20:12:59.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-11T20:12:59.708Z] $ docker stop --time=1 a237f86ce28764ce98f07cf6835bcf991e208daac8baa41dee230b96d2bdca8a [2023-10-11T20:13:02.133Z] $ docker rm -f --volumes a237f86ce28764ce98f07cf6835bcf991e208daac8baa41dee230b96d2bdca8a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T20:13:02.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-11T20:13:02.744Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-11T20:13:03.443Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-11T20:13:03.760Z] + ls -al . [2023-10-11T20:13:03.760Z] total 188 [2023-10-11T20:13:03.760Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 20:12 . [2023-10-11T20:13:03.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 20:10 .. [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 11 20:10 .dockerignore [2023-10-11T20:13:03.760Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 20:12 .git [2023-10-11T20:13:03.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 20:10 .github [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 11 20:10 .gitignore [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 20:10 .golangci.yml [2023-10-11T20:13:03.760Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 20:11 .semver [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 11 20:10 Attribution.txt [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 11 20:10 CHANGELOG.md [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 11 20:10 Dockerfile [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 20:10 GOVERNANCE.md [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 11 20:10 Jenkinsfile [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 20:10 LICENSE [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 11 20:10 Makefile [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 20:10 OWNERS.md [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 11 20:10 README.md [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 20:11 VERSION [2023-10-11T20:13:03.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 20:10 bin [2023-10-11T20:13:03.760Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 20:10 cmd [2023-10-11T20:13:03.760Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 11 20:12 coverage.out [2023-10-11T20:13:03.760Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 20:10 driver [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 3890 Oct 11 20:10 go.mod [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 11 20:10 go.sum [2023-10-11T20:13:03.760Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 20:10 snap [2023-10-11T20:13:03.760Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 11 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:13:04.150Z] + 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=30e900135b4fda310d3da32f43ad86fb4c0924c0 --label arch=amd64 --label version=0.0.0 . [2023-10-11T20:13:04.150Z] Sending build context to Docker daemon 10.96MB [2023-10-11T20:13:04.150Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T20:13:04.150Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-11T20:13:04.150Z] ---> 1651f44db569 [2023-10-11T20:13:04.150Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-11T20:13:04.150Z] ---> Running in ae69f9a21c0f [2023-10-11T20:13:04.409Z] Removing intermediate container ae69f9a21c0f [2023-10-11T20:13:04.409Z] ---> 22b2c86e1d9d [2023-10-11T20:13:04.409Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T20:13:04.409Z] ---> Running in dadddcb96a88 [2023-10-11T20:13:04.409Z] Removing intermediate container dadddcb96a88 [2023-10-11T20:13:04.409Z] ---> 3e057a8ba48b [2023-10-11T20:13:04.409Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T20:13:04.409Z] ---> Running in ddaccc85eb56 [2023-10-11T20:13:04.409Z] Removing intermediate container ddaccc85eb56 [2023-10-11T20:13:04.409Z] ---> 4ba9a9ccab43 [2023-10-11T20:13:04.409Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T20:13:04.721Z] ---> Running in f1a32244ed6a [2023-10-11T20:13:04.721Z] Removing intermediate container f1a32244ed6a [2023-10-11T20:13:04.721Z] ---> cc88ba0538f1 [2023-10-11T20:13:04.721Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T20:13:04.721Z] ---> Running in 73025012177b [2023-10-11T20:13:05.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T20:13:05.000Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T20:13:05.281Z] OK: 268 MiB in 56 packages [2023-10-11T20:13:05.561Z] Removing intermediate container 73025012177b [2023-10-11T20:13:05.561Z] ---> 9f31aecb1396 [2023-10-11T20:13:05.561Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-11T20:13:05.561Z] ---> Running in ab722b0b86a2 [2023-10-11T20:13:05.561Z] Removing intermediate container ab722b0b86a2 [2023-10-11T20:13:05.561Z] ---> 89ccab524389 [2023-10-11T20:13:05.561Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-11T20:13:05.843Z] ---> 7a18095548f5 [2023-10-11T20:13:05.843Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T20:13:05.843Z] ---> Running in 309f4da1ce4f [2023-10-11T20:13:06.415Z] Removing intermediate container 309f4da1ce4f [2023-10-11T20:13:06.415Z] ---> 359649f30de3 [2023-10-11T20:13:06.415Z] Step 11/25 : COPY . . [2023-10-11T20:13:06.674Z] ---> 66fa7c34d4c0 [2023-10-11T20:13:06.674Z] Step 12/25 : RUN $MAKE [2023-10-11T20:13:06.674Z] ---> Running in a124fb1ca2aa [2023-10-11T20:13:06.932Z] 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.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-11T20:13:20.598Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8872 in /w/workspace/gexfoundry_device-rest-go_PR-349 [Pipeline] { [Pipeline] ws [2023-10-11T20:13:20.661Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-10-11T20:13:20.773Z] The recommended git tool is: git [2023-10-11T20:13:25.684Z] Removing intermediate container a124fb1ca2aa [2023-10-11T20:13:25.684Z] ---> e54e14ddf91f [2023-10-11T20:13:25.684Z] Step 13/25 : FROM alpine:3.18 [2023-10-11T20:13:25.684Z] 3.18: Pulling from library/alpine [2023-10-11T20:13:25.943Z] 96526aa774ef: Pulling fs layer [2023-10-11T20:13:26.205Z] 96526aa774ef: Verifying Checksum [2023-10-11T20:13:26.205Z] 96526aa774ef: Download complete [2023-10-11T20:13:26.465Z] 96526aa774ef: Pull complete [2023-10-11T20:13:26.465Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-11T20:13:26.465Z] Status: Downloaded newer image for alpine:3.18 [2023-10-11T20:13:26.465Z] ---> 8ca4688f4f35 [2023-10-11T20:13:26.465Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-11T20:13:26.465Z] ---> Running in d58eb122feb3 [2023-10-11T20:13:26.465Z] Removing intermediate container d58eb122feb3 [2023-10-11T20:13:26.465Z] ---> eeb3477215cf [2023-10-11T20:13:26.465Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-11T20:13:26.465Z] ---> Running in ed039c0e25ba [2023-10-11T20:13:26.724Z] Removing intermediate container ed039c0e25ba [2023-10-11T20:13:26.724Z] ---> 64969837a813 [2023-10-11T20:13:26.724Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-11T20:13:26.724Z] ---> Running in aca268fbbbb7 [2023-10-11T20:13:26.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-11T20:13:26.983Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-11T20:13:27.242Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-11T20:13:27.242Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T20:13:27.242Z] OK: 7 MiB in 16 packages [2023-10-11T20:13:27.502Z] Removing intermediate container aca268fbbbb7 [2023-10-11T20:13:27.502Z] ---> 24a6528a777b [2023-10-11T20:13:27.502Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-11T20:13:28.069Z] ---> a5a57c300801 [2023-10-11T20:13:28.069Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-11T20:13:28.327Z] ---> f3ac24991de6 [2023-10-11T20:13:28.328Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-11T20:13:28.328Z] ---> 49d2b3f6539c [2023-10-11T20:13:28.328Z] Step 20/25 : EXPOSE 59986 [2023-10-11T20:13:28.328Z] ---> Running in 1a047ec134c1 [2023-10-11T20:13:28.328Z] Removing intermediate container 1a047ec134c1 [2023-10-11T20:13:28.328Z] ---> 3fb5d0afc0ef [2023-10-11T20:13:28.328Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-11T20:13:28.328Z] ---> Running in c5ef9b9340d1 [2023-10-11T20:13:28.586Z] Removing intermediate container c5ef9b9340d1 [2023-10-11T20:13:28.586Z] ---> c9a216160254 [2023-10-11T20:13:28.586Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-11T20:13:28.586Z] ---> Running in dbcdb7524349 [2023-10-11T20:13:28.586Z] Removing intermediate container dbcdb7524349 [2023-10-11T20:13:28.586Z] ---> 0047bdc3f4d4 [2023-10-11T20:13:28.586Z] Step 23/25 : LABEL arch=amd64 [2023-10-11T20:13:28.586Z] ---> Running in 5720d543d528 [2023-10-11T20:13:28.586Z] Removing intermediate container 5720d543d528 [2023-10-11T20:13:28.586Z] ---> edab79579dbc [2023-10-11T20:13:28.586Z] Step 24/25 : LABEL git_sha=30e900135b4fda310d3da32f43ad86fb4c0924c0 [2023-10-11T20:13:28.586Z] ---> Running in 045fc7284169 [2023-10-11T20:13:28.845Z] Removing intermediate container 045fc7284169 [2023-10-11T20:13:28.845Z] ---> ffafcafb4942 [2023-10-11T20:13:28.845Z] Step 25/25 : LABEL version=0.0.0 [2023-10-11T20:13:28.845Z] ---> Running in d10055d00f00 [2023-10-11T20:13:28.845Z] Removing intermediate container d10055d00f00 [2023-10-11T20:13:28.845Z] ---> bede9bfe3953 [2023-10-11T20:13:28.845Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-11T20:13:28.845Z] Successfully built bede9bfe3953 [2023-10-11T20:13:28.845Z] 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-10-11T20:13:29.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T20:13:29.726Z] [2023-10-11T20:13:29.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:13:30.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T20:13:30.105Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-11T20:13:30.105Z] 5eb5b503b376: Pulling fs layer [2023-10-11T20:13:30.105Z] 5c69ac0246d0: Pulling fs layer [2023-10-11T20:13:30.105Z] ec43610c2a17: Pulling fs layer [2023-10-11T20:13:30.105Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-11T20:13:30.105Z] 33b1e0a273af: Pulling fs layer [2023-10-11T20:13:30.105Z] 5d3b04190fa2: Pulling fs layer [2023-10-11T20:13:30.105Z] 2f39f015ded8: Pulling fs layer [2023-10-11T20:13:30.105Z] 33b1e0a273af: Waiting [2023-10-11T20:13:30.105Z] 5d3b04190fa2: Waiting [2023-10-11T20:13:30.105Z] 3a2ae6a8a46f: Waiting [2023-10-11T20:13:30.105Z] 5c69ac0246d0: Download complete [2023-10-11T20:13:30.105Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-11T20:13:30.105Z] 3a2ae6a8a46f: Download complete [2023-10-11T20:13:30.105Z] 33b1e0a273af: Verifying Checksum [2023-10-11T20:13:30.105Z] 33b1e0a273af: Download complete [2023-10-11T20:13:30.105Z] 5d3b04190fa2: Verifying Checksum [2023-10-11T20:13:30.105Z] 5d3b04190fa2: Download complete [2023-10-11T20:13:30.105Z] ec43610c2a17: Verifying Checksum [2023-10-11T20:13:30.105Z] ec43610c2a17: Download complete [2023-10-11T20:13:30.364Z] 5eb5b503b376: Verifying Checksum [2023-10-11T20:13:30.364Z] 5eb5b503b376: Download complete [2023-10-11T20:13:30.929Z] 2f39f015ded8: Download complete [2023-10-11T20:13:31.362Z] using credential edgex-jenkins-ssh [2023-10-11T20:13:31.379Z] Cloning the remote Git repository [2023-10-11T20:13:31.496Z] 5eb5b503b376: Pull complete [2023-10-11T20:13:31.756Z] 5c69ac0246d0: Pull complete [2023-10-11T20:13:31.419Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-11T20:13:31.529Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-10-11T20:13:31.691Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-11T20:13:31.692Z] > git --version # timeout=10 [2023-10-11T20:13:31.713Z] > git --version # 'git version 2.25.1' [2023-10-11T20:13:31.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T20:13:31.893Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-11T20:13:32.321Z] ec43610c2a17: Pull complete [2023-10-11T20:13:32.321Z] 3a2ae6a8a46f: Pull complete [2023-10-11T20:13:32.580Z] 33b1e0a273af: Pull complete [2023-10-11T20:13:32.580Z] 5d3b04190fa2: Pull complete [2023-10-11T20:13:33.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-11T20:13:34.032Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-11T20:13:34.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-11T20:13:35.056Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-11T20:13:35.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T20:13:35.080Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/349/head:refs/remotes/origin/PR-349 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-11T20:13:35.636Z] Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit 30e900135b4fda310d3da32f43ad86fb4c0924c0 [2023-10-11T20:13:35.974Z] Merge succeeded, producing 30e900135b4fda310d3da32f43ad86fb4c0924c0 [2023-10-11T20:13:35.975Z] Checking out Revision 30e900135b4fda310d3da32f43ad86fb4c0924c0 (PR-349) [2023-10-11T20:13:36.588Z] Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.1 to 4.11.2" [2023-10-11T20:13:36.676Z] > git --version # timeout=10 [2023-10-11T20:13:36.706Z] > git --version # 'git version 2.25.1' [2023-10-11T20:13:36.744Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-11T20:13:35.659Z] > git config core.sparsecheckout # timeout=10 [2023-10-11T20:13:35.746Z] > git checkout -f 30e900135b4fda310d3da32f43ad86fb4c0924c0 # timeout=10 [2023-10-11T20:13:35.825Z] > git remote # timeout=10 [2023-10-11T20:13:35.851Z] > git config --get remote.origin.url # timeout=10 [2023-10-11T20:13:35.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-11T20:13:35.912Z] > git merge 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 [2023-10-11T20:13:35.949Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-11T20:13:35.978Z] > git config core.sparsecheckout # timeout=10 [2023-10-11T20:13:36.002Z] > git checkout -f 30e900135b4fda310d3da32f43ad86fb4c0924c0 # timeout=10 [2023-10-11T20:13:37.314Z] [2023-10-11T20:13:37.314Z] GitHub has been notified of this commit’s build result [2023-10-11T20:13:37.314Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T20:13:37.843Z] 2f39f015ded8: Pull complete [2023-10-11T20:13:37.844Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-11T20:13:37.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T20:13:37.844Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T20:13:38.069Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-10-11T20:13:38.083Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-11T20:13:38.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-11T20:13:38.083Z] Dload Upload Total Spent Left Speed [2023-10-11T20:13:38.083Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [2023-10-11T20:13:38.096Z] $ 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-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@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-10-11T20:13:40.406Z] $ docker top 257ac2d42553410ca604cb4bbe52f198049bc44e51da74fd323ce2245c99f4a0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:13:40.874Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-11T20:13:40.967Z] ---> job-cost.sh [2023-10-11T20:13:40.967Z] lf-activate-venv: SKIPPING [2023-10-11T20:13:40.967Z] INFO: No Stack... [2023-10-11T20:13:41.215Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-11T20:13:41.215Z] + sudo tee /etc/docker/daemon.new [2023-10-11T20:13:41.215Z] { [2023-10-11T20:13:41.215Z] "registry-mirrors": [ [2023-10-11T20:13:41.215Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-11T20:13:41.215Z] ], [2023-10-11T20:13:41.215Z] "bip": "10.250.0.254/24", [2023-10-11T20:13:41.215Z] "hosts": [ [2023-10-11T20:13:41.215Z] "tcp://0.0.0.0:5555", [2023-10-11T20:13:41.215Z] "unix:///var/run/docker.sock" [2023-10-11T20:13:41.215Z] ], [2023-10-11T20:13:41.215Z] "mtu": 1458, [2023-10-11T20:13:41.215Z] "selinux-enabled": true, [2023-10-11T20:13:41.215Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-11T20:13:41.215Z] } [2023-10-11T20:13:41.225Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-10-11T20:13:41.576Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-11T20:13:41.916Z] + sudo service docker restart [2023-10-11T20:13:43.765Z] INFO: Archiving Costs [Pipeline] sh [2023-10-11T20:13:44.078Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-349/archives/cost.csv [2023-10-11T20:13:44.078Z] + cut -d, -f6 [Pipeline] lock [2023-10-11T20:13:44.120Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [2023-10-11T20:13:44.125Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] did not exist. Created. [2023-10-11T20:13:44.125Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-11T20:13:44.523Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-11T20:13:44.578Z] Stashed 1 file(s) [Pipeline] } [2023-10-11T20:13:44.619Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-11T20:13:44.703Z] $ docker stop --time=1 257ac2d42553410ca604cb4bbe52f198049bc44e51da74fd323ce2245c99f4a0 [2023-10-11T20:13:45.864Z] $ docker rm -f --volumes 257ac2d42553410ca604cb4bbe52f198049bc44e51da74fd323ce2245c99f4a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T20:14:00.203Z] provisioning config files... [2023-10-11T20:14:00.235Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10550083894164467042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:14:00.619Z] ---> docker-login.sh [2023-10-11T20:14:00.620Z] nexus3.edgexfoundry.org:10001 [2023-10-11T20:14:00.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:14:01.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:14:01.160Z] Configure a credential helper to remove this warning. See [2023-10-11T20:14:01.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:14:01.160Z] [2023-10-11T20:14:01.160Z] Login Succeeded [2023-10-11T20:14:01.160Z] nexus3.edgexfoundry.org:10002 [2023-10-11T20:14:01.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:14:01.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:14:01.429Z] Configure a credential helper to remove this warning. See [2023-10-11T20:14:01.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:14:01.429Z] [2023-10-11T20:14:01.429Z] Login Succeeded [2023-10-11T20:14:01.429Z] nexus3.edgexfoundry.org:10003 [2023-10-11T20:14:01.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:14:01.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:14:01.970Z] Configure a credential helper to remove this warning. See [2023-10-11T20:14:01.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:14:01.970Z] [2023-10-11T20:14:01.970Z] Login Succeeded [2023-10-11T20:14:01.970Z] nexus3.edgexfoundry.org:10004 [2023-10-11T20:14:02.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:14:02.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:14:02.241Z] Configure a credential helper to remove this warning. See [2023-10-11T20:14:02.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:14:02.241Z] [2023-10-11T20:14:02.241Z] Login Succeeded [2023-10-11T20:14:02.241Z] docker.io [2023-10-11T20:14:02.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-11T20:14:02.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-11T20:14:02.777Z] Configure a credential helper to remove this warning. See [2023-10-11T20:14:02.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-11T20:14:02.777Z] [2023-10-11T20:14:02.777Z] Login Succeeded [2023-10-11T20:14:02.777Z] ---> docker-login.sh ends [Pipeline] } [2023-10-11T20:14:02.806Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-11T20:14:03.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T20:14:03.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-11T20:14:03.278Z] ========================================================= [2023-10-11T20:14:03.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-11T20:14:03.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:14:03.794Z] + 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-10-11T20:14:03.794Z] Sending build context to Docker daemon 144.4kB [2023-10-11T20:14:04.065Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T20:14:04.065Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-11T20:14:04.065Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-11T20:14:04.065Z] 9fda8d8052c6: Pulling fs layer [2023-10-11T20:14:04.065Z] 5d54e960e981: Pulling fs layer [2023-10-11T20:14:04.065Z] c4a7e357bf2a: Pulling fs layer [2023-10-11T20:14:04.065Z] f0e02332f6b5: Pulling fs layer [2023-10-11T20:14:04.065Z] cefa15bbcfad: Pulling fs layer [2023-10-11T20:14:04.065Z] 17808c966233: Pulling fs layer [2023-10-11T20:14:04.065Z] f4c1fc716caa: Pulling fs layer [2023-10-11T20:14:04.065Z] f4c1fc716caa: Waiting [2023-10-11T20:14:04.065Z] f0e02332f6b5: Waiting [2023-10-11T20:14:04.065Z] cefa15bbcfad: Waiting [2023-10-11T20:14:04.065Z] 17808c966233: Waiting [2023-10-11T20:14:04.336Z] 5d54e960e981: Verifying Checksum [2023-10-11T20:14:04.336Z] 5d54e960e981: Download complete [2023-10-11T20:14:04.336Z] f0e02332f6b5: Download complete [2023-10-11T20:14:04.336Z] cefa15bbcfad: Verifying Checksum [2023-10-11T20:14:04.336Z] cefa15bbcfad: Download complete [2023-10-11T20:14:04.336Z] 9fda8d8052c6: Verifying Checksum [2023-10-11T20:14:04.336Z] 9fda8d8052c6: Download complete [2023-10-11T20:14:04.605Z] f4c1fc716caa: Download complete [2023-10-11T20:14:05.197Z] 9fda8d8052c6: Pull complete [2023-10-11T20:14:05.783Z] 5d54e960e981: Pull complete [2023-10-11T20:14:06.051Z] c4a7e357bf2a: Verifying Checksum [2023-10-11T20:14:06.051Z] c4a7e357bf2a: Download complete [2023-10-11T20:14:07.017Z] 17808c966233: Verifying Checksum [2023-10-11T20:14:07.017Z] 17808c966233: Download complete [2023-10-11T20:14:19.474Z] c4a7e357bf2a: Pull complete [2023-10-11T20:14:19.474Z] f0e02332f6b5: Pull complete [2023-10-11T20:14:19.474Z] cefa15bbcfad: Pull complete [2023-10-11T20:14:27.685Z] 17808c966233: Pull complete [2023-10-11T20:14:29.631Z] f4c1fc716caa: Pull complete [2023-10-11T20:14:29.631Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-11T20:14:29.631Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-11T20:14:29.631Z] ---> ea914061e18c [2023-10-11T20:14:29.631Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-11T20:14:31.044Z] ---> Running in 5ab81a5fbf9f [2023-10-11T20:14:31.311Z] Removing intermediate container 5ab81a5fbf9f [2023-10-11T20:14:31.312Z] ---> 33119e0242fd [2023-10-11T20:14:31.312Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T20:14:31.581Z] ---> Running in 41a7fbefdcd1 [2023-10-11T20:14:31.848Z] Removing intermediate container 41a7fbefdcd1 [2023-10-11T20:14:31.848Z] ---> 0c7692b30986 [2023-10-11T20:14:31.848Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T20:14:31.848Z] ---> Running in 8ab1dfa8e882 [2023-10-11T20:14:32.116Z] Removing intermediate container 8ab1dfa8e882 [2023-10-11T20:14:32.116Z] ---> daa1a2fab711 [2023-10-11T20:14:32.116Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T20:14:32.116Z] ---> Running in 7b86325854fd [2023-10-11T20:14:32.383Z] Removing intermediate container 7b86325854fd [2023-10-11T20:14:32.383Z] ---> 5944306fd0a8 [2023-10-11T20:14:32.383Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T20:14:32.650Z] ---> Running in 0fe237f666a3 [2023-10-11T20:14:33.619Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T20:14:33.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T20:14:35.304Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-11T20:14:35.304Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-11T20:14:35.304Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-11T20:14:35.304Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-11T20:14:35.304Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T20:14:35.304Z] OK: 270 MiB in 56 packages [2023-10-11T20:14:37.272Z] Removing intermediate container 0fe237f666a3 [2023-10-11T20:14:37.272Z] ---> b8170a1ca596 [2023-10-11T20:14:37.272Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-11T20:14:37.272Z] ---> Running in fcc823370da0 [2023-10-11T20:14:37.272Z] Removing intermediate container fcc823370da0 [2023-10-11T20:14:37.272Z] ---> f3c4c3e92c8a [2023-10-11T20:14:37.272Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-11T20:14:37.856Z] ---> 35360bb9a1c6 [2023-10-11T20:14:37.856Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T20:14:37.856Z] ---> Running in a627c26e52bb [2023-10-11T20:16:14.517Z] Removing intermediate container a627c26e52bb [2023-10-11T20:16:14.517Z] ---> f9e9c29a5795 [2023-10-11T20:16:14.517Z] Step 11/12 : COPY . . [2023-10-11T20:16:14.517Z] ---> 9ac4960ddf9a [2023-10-11T20:16:14.517Z] Step 12/12 : RUN $MAKE [2023-10-11T20:16:14.517Z] ---> Running in a499a1353ae9 [2023-10-11T20:16:14.517Z] noop [2023-10-11T20:16:14.517Z] Removing intermediate container a499a1353ae9 [2023-10-11T20:16:14.517Z] ---> b86d34c6801f [2023-10-11T20:16:14.517Z] Successfully built b86d34c6801f [2023-10-11T20:16:14.517Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:16:14.995Z] + docker inspect -f . ci-base-image-arm64 [2023-10-11T20:16:14.995Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T20:16:15.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container [2023-10-11T20:16:15.339Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-10-11T20:16:16.559Z] $ docker top 6517e44b5dd9a7bd18ed2e3fe7393419514e1b63338b5e387ca965f3d25f33b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T20:16:17.427Z] + go version [2023-10-11T20:16:17.427Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-11T20:16:17.456Z] $ docker stop --time=1 6517e44b5dd9a7bd18ed2e3fe7393419514e1b63338b5e387ca965f3d25f33b5 [2023-10-11T20:16:19.070Z] $ docker rm -f --volumes 6517e44b5dd9a7bd18ed2e3fe7393419514e1b63338b5e387ca965f3d25f33b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:16:19.912Z] + docker inspect -f . ci-base-image-arm64 [2023-10-11T20:16:19.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T20:16:20.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container [2023-10-11T20:16:20.223Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-10-11T20:16:23.546Z] $ docker top 09455c04c5f98ea9566750529a8c3d61b460f4d167d492741d90366aa7a60e52 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T20:16:24.515Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-11T20:16:25.216Z] + make test [2023-10-11T20:16:25.216Z] go test ./... -coverprofile=coverage.out ./... [2023-10-11T20:16:29.473Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-11T20:18:06.763Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-11T20:18:06.763Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements [2023-10-11T20:18:06.763Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-11T20:18:06.763Z] go vet ./... [2023-10-11T20:18:14.959Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-11T20:18:14.960Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-11T20:18:15.226Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-11T20:18:15.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-11T20:18:15.549Z] $ docker stop --time=1 09455c04c5f98ea9566750529a8c3d61b460f4d167d492741d90366aa7a60e52 [2023-10-11T20:18:17.393Z] $ docker rm -f --volumes 09455c04c5f98ea9566750529a8c3d61b460f4d167d492741d90366aa7a60e52 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-11T20:18:18.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-11T20:18:18.624Z] Warning: overwriting stash ‘coverage-report’ [2023-10-11T20:18:19.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-11T20:18:19.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-11T20:18:19.925Z] + ls -al . [2023-10-11T20:18:19.925Z] total 184 [2023-10-11T20:18:19.925Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 20:16 . [2023-10-11T20:18:19.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 20:13 .. [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 11 20:13 .dockerignore [2023-10-11T20:18:19.925Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 20:13 .git [2023-10-11T20:18:19.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 20:13 .github [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 11 20:13 .gitignore [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 11 20:13 .golangci.yml [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 11 20:13 Attribution.txt [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 11 20:13 CHANGELOG.md [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 11 20:13 Dockerfile [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 20:13 GOVERNANCE.md [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 11 20:13 Jenkinsfile [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 11 20:13 LICENSE [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 11 20:13 Makefile [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 11 20:13 OWNERS.md [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 11 20:13 README.md [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 11 20:11 VERSION [2023-10-11T20:18:19.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 20:13 bin [2023-10-11T20:18:19.925Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 20:13 cmd [2023-10-11T20:18:19.925Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 11 20:17 coverage.out [2023-10-11T20:18:19.925Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 20:13 driver [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 3890 Oct 11 20:13 go.mod [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 35623 Oct 11 20:13 go.sum [2023-10-11T20:18:19.925Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 20:13 snap [2023-10-11T20:18:19.925Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 11 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:18:20.335Z] + 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=30e900135b4fda310d3da32f43ad86fb4c0924c0 --label arch=arm64 --label version=0.0.0 . [2023-10-11T20:18:20.335Z] Sending build context to Docker daemon 159.7kB [2023-10-11T20:18:20.601Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-11T20:18:20.601Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-11T20:18:20.601Z] ---> b86d34c6801f [2023-10-11T20:18:20.601Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-11T20:18:20.601Z] ---> Running in 8505fc0a1f16 [2023-10-11T20:18:20.867Z] Removing intermediate container 8505fc0a1f16 [2023-10-11T20:18:20.867Z] ---> dcf13ffe48e6 [2023-10-11T20:18:20.867Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-11T20:18:21.134Z] ---> Running in 9d803f193b16 [2023-10-11T20:18:21.399Z] Removing intermediate container 9d803f193b16 [2023-10-11T20:18:21.399Z] ---> e0ced93f737d [2023-10-11T20:18:21.399Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-11T20:18:21.399Z] ---> Running in 0b0c3b7c1dca [2023-10-11T20:18:21.665Z] Removing intermediate container 0b0c3b7c1dca [2023-10-11T20:18:21.665Z] ---> b7341a7875b2 [2023-10-11T20:18:21.665Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-11T20:18:21.665Z] ---> Running in b1a75fd1a0c7 [2023-10-11T20:18:21.930Z] Removing intermediate container b1a75fd1a0c7 [2023-10-11T20:18:21.930Z] ---> d1977cef5f9a [2023-10-11T20:18:21.930Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-11T20:18:22.200Z] ---> Running in 33215a60f373 [2023-10-11T20:18:23.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T20:18:23.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T20:18:24.383Z] OK: 270 MiB in 56 packages [2023-10-11T20:18:27.716Z] Removing intermediate container 33215a60f373 [2023-10-11T20:18:27.716Z] ---> f5dfcda13201 [2023-10-11T20:18:27.716Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-11T20:18:27.716Z] ---> Running in e4bc29bbdd5b [2023-10-11T20:18:27.716Z] Removing intermediate container e4bc29bbdd5b [2023-10-11T20:18:27.716Z] ---> 296decfb6af2 [2023-10-11T20:18:27.716Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-11T20:18:28.298Z] ---> fda732d51fb2 [2023-10-11T20:18:28.298Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-11T20:18:28.298Z] ---> Running in cc172d11cce8 [2023-10-11T20:18:30.234Z] Removing intermediate container cc172d11cce8 [2023-10-11T20:18:30.234Z] ---> b64bdd562a42 [2023-10-11T20:18:30.234Z] Step 11/25 : COPY . . [2023-10-11T20:18:30.815Z] ---> ed8ee1bd1cb5 [2023-10-11T20:18:30.815Z] Step 12/25 : RUN $MAKE [2023-10-11T20:18:31.086Z] ---> Running in 98d3491ab527 [2023-10-11T20:18:32.046Z] 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.33" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-11T20:20:23.843Z] Removing intermediate container 98d3491ab527 [2023-10-11T20:20:23.843Z] ---> ffda25e7b0ed [2023-10-11T20:20:23.843Z] Step 13/25 : FROM alpine:3.18 [2023-10-11T20:20:23.843Z] 3.18: Pulling from library/alpine [2023-10-11T20:20:23.843Z] 579b34f0a95b: Pulling fs layer [2023-10-11T20:20:23.843Z] 579b34f0a95b: Download complete [2023-10-11T20:20:23.843Z] 579b34f0a95b: Pull complete [2023-10-11T20:20:23.843Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-11T20:20:23.843Z] Status: Downloaded newer image for alpine:3.18 [2023-10-11T20:20:23.843Z] ---> 3cc203321400 [2023-10-11T20:20:23.843Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-11T20:20:23.843Z] ---> Running in 824d6f8db74c [2023-10-11T20:20:23.843Z] Removing intermediate container 824d6f8db74c [2023-10-11T20:20:23.843Z] ---> ab1fced22827 [2023-10-11T20:20:23.843Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-11T20:20:23.843Z] ---> Running in bf2bd7a8a02b [2023-10-11T20:20:23.843Z] Removing intermediate container bf2bd7a8a02b [2023-10-11T20:20:23.843Z] ---> fbf42eb656b6 [2023-10-11T20:20:23.843Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-11T20:20:23.843Z] ---> Running in fb0c891946c0 [2023-10-11T20:20:23.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-11T20:20:23.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-11T20:20:23.843Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-11T20:20:23.843Z] Executing busybox-1.36.1-r2.trigger [2023-10-11T20:20:23.843Z] OK: 8 MiB in 16 packages [2023-10-11T20:20:23.843Z] Removing intermediate container fb0c891946c0 [2023-10-11T20:20:23.843Z] ---> b8176c474bfb [2023-10-11T20:20:23.843Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-11T20:20:23.843Z] ---> 1726da6b062a [2023-10-11T20:20:23.843Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-11T20:20:23.843Z] ---> 5ef1ff851234 [2023-10-11T20:20:23.843Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-11T20:20:23.843Z] ---> 1bbce717f14a [2023-10-11T20:20:23.843Z] Step 20/25 : EXPOSE 59986 [2023-10-11T20:20:23.843Z] ---> Running in 19a13859e84a [2023-10-11T20:20:23.843Z] Removing intermediate container 19a13859e84a [2023-10-11T20:20:23.843Z] ---> 518dbbed24db [2023-10-11T20:20:23.843Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-11T20:20:23.843Z] ---> Running in fe55e88ea719 [2023-10-11T20:20:23.843Z] Removing intermediate container fe55e88ea719 [2023-10-11T20:20:23.843Z] ---> 54d20dd4d90c [2023-10-11T20:20:23.843Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-11T20:20:23.843Z] ---> Running in 2575e919d7d8 [2023-10-11T20:20:23.843Z] Removing intermediate container 2575e919d7d8 [2023-10-11T20:20:23.843Z] ---> bb18e6829301 [2023-10-11T20:20:23.843Z] Step 23/25 : LABEL arch=arm64 [2023-10-11T20:20:23.843Z] ---> Running in 45ff3ca9585b [2023-10-11T20:20:24.111Z] Removing intermediate container 45ff3ca9585b [2023-10-11T20:20:24.111Z] ---> f20ddb9b01aa [2023-10-11T20:20:24.111Z] Step 24/25 : LABEL git_sha=30e900135b4fda310d3da32f43ad86fb4c0924c0 [2023-10-11T20:20:24.390Z] ---> Running in 418e347bb70b [2023-10-11T20:20:24.655Z] Removing intermediate container 418e347bb70b [2023-10-11T20:20:24.655Z] ---> ca820699ef59 [2023-10-11T20:20:24.655Z] Step 25/25 : LABEL version=0.0.0 [2023-10-11T20:20:24.655Z] ---> Running in 888d971bfd7d [2023-10-11T20:20:24.919Z] Removing intermediate container 888d971bfd7d [2023-10-11T20:20:24.919Z] ---> ff15eb64959f [2023-10-11T20:20:24.919Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-11T20:20:24.919Z] Successfully built ff15eb64959f [2023-10-11T20:20:24.919Z] 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-10-11T20:20:25.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T20:20:25.727Z] [2023-10-11T20:20:25.727Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:20:26.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T20:20:26.120Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-11T20:20:26.120Z] 8998bd30e6a1: Pulling fs layer [2023-10-11T20:20:26.120Z] 04944245beec: Pulling fs layer [2023-10-11T20:20:26.120Z] 699f458cf7ca: Pulling fs layer [2023-10-11T20:20:26.120Z] 765212b225bb: Pulling fs layer [2023-10-11T20:20:26.120Z] f23df028b6ca: Pulling fs layer [2023-10-11T20:20:26.120Z] d65c8cfc05b1: Pulling fs layer [2023-10-11T20:20:26.120Z] 2437ff75d9bd: Pulling fs layer [2023-10-11T20:20:26.120Z] 765212b225bb: Waiting [2023-10-11T20:20:26.120Z] f23df028b6ca: Waiting [2023-10-11T20:20:26.120Z] d65c8cfc05b1: Waiting [2023-10-11T20:20:26.120Z] 2437ff75d9bd: Waiting [2023-10-11T20:20:26.391Z] 04944245beec: Verifying Checksum [2023-10-11T20:20:26.391Z] 04944245beec: Download complete [2023-10-11T20:20:26.391Z] 765212b225bb: Verifying Checksum [2023-10-11T20:20:26.391Z] 765212b225bb: Download complete [2023-10-11T20:20:26.391Z] f23df028b6ca: Download complete [2023-10-11T20:20:26.391Z] d65c8cfc05b1: Verifying Checksum [2023-10-11T20:20:26.391Z] d65c8cfc05b1: Download complete [2023-10-11T20:20:26.391Z] 699f458cf7ca: Verifying Checksum [2023-10-11T20:20:26.391Z] 699f458cf7ca: Download complete [2023-10-11T20:20:26.974Z] 8998bd30e6a1: Verifying Checksum [2023-10-11T20:20:26.974Z] 8998bd30e6a1: Download complete [2023-10-11T20:20:29.546Z] 2437ff75d9bd: Verifying Checksum [2023-10-11T20:20:29.546Z] 2437ff75d9bd: Download complete [2023-10-11T20:20:31.488Z] 8998bd30e6a1: Pull complete [2023-10-11T20:20:31.753Z] 04944245beec: Pull complete [2023-10-11T20:20:33.702Z] 699f458cf7ca: Pull complete [2023-10-11T20:20:33.702Z] 765212b225bb: Pull complete [2023-10-11T20:20:34.283Z] f23df028b6ca: Pull complete [2023-10-11T20:20:34.548Z] d65c8cfc05b1: Pull complete [2023-10-11T20:20:52.742Z] 2437ff75d9bd: Pull complete [2023-10-11T20:20:52.742Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-11T20:20:52.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-11T20:20:52.742Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T20:20:53.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-8872 does not seem to be running inside a container [2023-10-11T20:20:53.129Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-11T20:20:55.761Z] $ docker top cae9b9b4414332777374e07f14d0992263dd50eaa8edba5b47d961ad5ae2a78e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:20:56.634Z] ---> job-cost.sh [2023-10-11T20:20:56.634Z] lf-activate-venv: SKIPPING [2023-10-11T20:20:56.634Z] INFO: No Stack... [2023-10-11T20:20:56.898Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-11T20:21:01.139Z] INFO: Archiving Costs [Pipeline] sh [2023-10-11T20:21:01.795Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-10-11T20:21:01.795Z] + cut -d, -f6 [Pipeline] lock [2023-10-11T20:21:01.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [2023-10-11T20:21:01.851Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] did not exist. Created. [2023-10-11T20:21:01.851Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-11T20:21:02.265Z] /w/workspace/device-rest-go/1@tmp/durable-e137b52d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-11T20:21:02.929Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-11T20:21:02.966Z] Warning: overwriting stash ‘stack-cost’ [2023-10-11T20:21:03.011Z] Stashed 1 file(s) [Pipeline] } [2023-10-11T20:21:03.026Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-349-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-11T20:21:03.101Z] $ docker stop --time=1 cae9b9b4414332777374e07f14d0992263dd50eaa8edba5b47d961ad5ae2a78e [2023-10-11T20:21:04.564Z] $ docker rm -f --volumes cae9b9b4414332777374e07f14d0992263dd50eaa8edba5b47d961ad5ae2a78e [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-10-11T20:21:05.578Z] provisioning config files... [2023-10-11T20:21:05.586Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/config18270280842937328296tmp [Pipeline] { [Pipeline] sh [2023-10-11T20:21:05.925Z] + set +x [2023-10-11T20:21:05.925Z] + bash -s -- [2023-10-11T20:21:05.925Z] + curl -s https://codecov.io/bash [2023-10-11T20:21:05.925Z] [2023-10-11T20:21:05.925Z] _____ _ [2023-10-11T20:21:05.925Z] / ____| | | [2023-10-11T20:21:05.925Z] | | ___ __| | ___ ___ _____ __ [2023-10-11T20:21:05.925Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-11T20:21:05.925Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-11T20:21:05.925Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-11T20:21:05.925Z] Bash-1.0.6 [2023-10-11T20:21:05.925Z] [2023-10-11T20:21:05.925Z] [2023-10-11T20:21:05.925Z] ==> git version 2.25.1 found [2023-10-11T20:21:05.925Z] ==> 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-10-11T20:21:05.925Z] Release-Date: 2020-01-08 [2023-10-11T20:21:05.925Z] 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-10-11T20:21:05.925Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-11T20:21:05.925Z] ==> Jenkins CI detected. [2023-10-11T20:21:05.925Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-349 [2023-10-11T20:21:05.925Z] project root: . [2023-10-11T20:21:05.925Z] --> token set from env [2023-10-11T20:21:05.925Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-11T20:21:05.925Z] ==> Running gcov in . (disable via -X gcov) [2023-10-11T20:21:05.925Z] ==> Python coveragepy not found [2023-10-11T20:21:05.925Z] ==> Searching for coverage reports in: [2023-10-11T20:21:05.925Z] + . [2023-10-11T20:21:05.925Z] -> Found 1 reports [2023-10-11T20:21:05.925Z] ==> Detecting git/mercurial file structure [2023-10-11T20:21:06.185Z] ==> Reading reports [2023-10-11T20:21:06.185Z] + ./coverage.out bytes=14499 [2023-10-11T20:21:06.185Z] ==> Appending adjustments [2023-10-11T20:21:06.185Z] https://docs.codecov.io/docs/fixing-reports [2023-10-11T20:21:06.185Z] + Found adjustments [2023-10-11T20:21:06.185Z] ==> Gzipping contents [2023-10-11T20:21:06.185Z] 4.0K /tmp/codecov.ugQjwo.gz [2023-10-11T20:21:06.185Z] ==> Uploading reports [2023-10-11T20:21:06.185Z] url: https://codecov.io [2023-10-11T20:21:06.185Z] query: branch=PR-349&commit=30e900135b4fda310d3da32f43ad86fb4c0924c0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-349%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=349&job=&cmd_args= [2023-10-11T20:21:06.185Z] -> Pinging Codecov [2023-10-11T20:21:06.185Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-349&commit=30e900135b4fda310d3da32f43ad86fb4c0924c0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-349%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=349&job=&cmd_args= [2023-10-11T20:21:06.444Z] -> Uploading to [2023-10-11T20:21:06.444Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-11/4E5D53B4F1F92C436F7061BF334D961C/30e900135b4fda310d3da32f43ad86fb4c0924c0/303367f0-e3f9-4439-b03e-7653c4cfb0b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231011T202106Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4406c1b4ae450e1ab917854884789f99ddb48b7c84460d56f8065b75d4b7a4b0 [2023-10-11T20:21:06.444Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-11T20:21:06.444Z] Dload Upload Total Spent Left Speed [2023-10-11T20:21:06.702Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8903 --:--:-- --:--:-- --:--:-- 8903 [2023-10-11T20:21:06.702Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/30e900135b4fda310d3da32f43ad86fb4c0924c0 [Pipeline] } [2023-10-11T20:21:06.729Z] 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-10-11T20:21:08.671Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-349/archives ] [2023-10-11T20:21:08.671Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-349/archives [2023-10-11T20:21:08.671Z] total 16 [2023-10-11T20:21:08.671Z] drwxr-xr-x 3 root root 4096 Oct 11 20:13 . [2023-10-11T20:21:08.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 20:13 .. [2023-10-11T20:21:08.671Z] drwxr-xr-x 2 root root 4096 Oct 11 20:13 cost [2023-10-11T20:21:08.671Z] -rw-r--r-- 1 root root 86 Oct 11 20:13 cost.csv [2023-10-11T20:21:08.671Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-349/archives [2023-10-11T20:21:08.671Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-349/archives [2023-10-11T20:21:08.671Z] total 16 [2023-10-11T20:21:08.671Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 20:13 . [2023-10-11T20:21:08.671Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 20:13 .. [2023-10-11T20:21:08.671Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 20:13 cost [2023-10-11T20:21:08.671Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 11 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:21:09.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:21:09.885Z] ---> package-listing.sh [2023-10-11T20:21:09.885Z] ++ facter osfamily [2023-10-11T20:21:09.885Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-11T20:21:10.145Z] + OS_FAMILY=debian [2023-10-11T20:21:10.145Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-349 [2023-10-11T20:21:10.145Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-11T20:21:10.145Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-11T20:21:10.145Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-11T20:21:10.145Z] + PACKAGES=/tmp/packages_start.txt [2023-10-11T20:21:10.145Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-349 ']' [2023-10-11T20:21:10.145Z] + PACKAGES=/tmp/packages_end.txt [2023-10-11T20:21:10.145Z] + case "${OS_FAMILY}" in [2023-10-11T20:21:10.145Z] + dpkg -l [2023-10-11T20:21:10.145Z] + grep '^ii' [2023-10-11T20:21:10.145Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-11T20:21:10.145Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-11T20:21:10.145Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-11T20:21:10.145Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-349 ']' [2023-10-11T20:21:10.145Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-349/archives/ [2023-10-11T20:21:10.145Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-349/archives/ [Pipeline] echo [2023-10-11T20:21:10.178Z] 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-349/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-11T20:21:10.468Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-11T20:21:11.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-11T20:21:11.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-11T20:21:11.247Z] prd-ubuntu20.04-docker-8c-8g-8871 does not seem to be running inside a container [2023-10-11T20:21:11.273Z] $ 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-349/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-349 -v /w/workspace/gexfoundry_device-rest-go_PR-349:/w/workspace/gexfoundry_device-rest-go_PR-349:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-349@tmp:/w/workspace/gexfoundry_device-rest-go_PR-349@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-11T20:21:11.475Z] $ docker top 5fbc9fefe6eb857765a377fffaa453cd24bbbff662676d88763b8fdeb0ff30ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-11T20:21:11.862Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-11T20:21:12.172Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-11T20:21:12.482Z] + ls /var/log/sa-host [2023-10-11T20:21:12.482Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-11T20:21:12.621Z] provisioning config files... [2023-10-11T20:21:12.629Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-349@tmp/config14781471099702841135tmp [Pipeline] { [Pipeline] echo [2023-10-11T20:21:12.676Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:21:12.987Z] ---> create-netrc.sh [Pipeline] } [2023-10-11T20:21:13.019Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:21:13.415Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-11T20:21:13.456Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:21:13.762Z] ---> sudo-logs.sh [2023-10-11T20:21:13.762Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-11T20:21:13.853Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:21:14.172Z] ---> job-cost.sh [2023-10-11T20:21:14.172Z] lf-activate-venv: SKIPPING [2023-10-11T20:21:14.172Z] DEBUG: total: 0.2199999988079071 [2023-10-11T20:21:14.172Z] INFO: Retrieving Stack Cost... [2023-10-11T20:21:14.431Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-11T20:21:22.552Z] INFO: Archiving Costs [Pipeline] echo [2023-10-11T20:21:22.582Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-11T20:21:22.894Z] ---> logs-deploy.sh [2023-10-11T20:21:22.894Z] lf-activate-venv: SKIPPING [2023-10-11T20:21:22.894Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-349/1 [2023-10-11T20:21:22.894Z] INFO: archiving workspace using pattern(s): [2023-10-11T20:21:23.831Z] Archives upload complete. [2023-10-11T20:21:23.831Z] INFO: archiving logs to Nexus