Pull request #347 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b6f2afc8615472008126876bd7a4b2d206b00462+73bea07d0c9b5090e1f6a3014a45db50fae0ec58 (3e2e66d46d60de857f9d00bdd283f790082dc994) 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-ssh17823180938479514905.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-ssh6241897094853902732.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-347/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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2104348994283420153.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-347/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8491421968641175268.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-ssh16006117361189360138.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-347/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-347/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2873119055885284203.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-8068 in /w/workspace/gexfoundry_device-rest-go_PR-347 [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-347 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 into PR head commit b6f2afc8615472008126876bd7a4b2d206b00462 Merge succeeded, producing b6f2afc8615472008126876bd7a4b2d206b00462 Checking out Revision b6f2afc8615472008126876bd7a4b2d206b00462 (PR-347) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } > 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/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6f2afc8615472008126876bd7a4b2d206b00462 # 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 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6f2afc8615472008126876bd7a4b2d206b00462 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-27T20:43:17.032Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-27T20:43:17.227Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-27T20:43:17.323Z] ========================================================= [2023-09-27T20:43:17.323Z] EdgeX Global Pipelines Version Info [2023-09-27T20:43:17.323Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:43:18.053Z] ------------------- [2023-09-27T20:43:18.053Z] stable info: [2023-09-27T20:43:18.053Z] ------------------- [2023-09-27T20:43:18.053Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-27T20:43:18.053Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T20:43:18.053Z] Message: update stable to v1.0.254 [2023-09-27T20:43:18.622Z] ------------------- [2023-09-27T20:43:18.622Z] experimental info: [2023-09-27T20:43:18.622Z] ------------------- [2023-09-27T20:43:18.622Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-27T20:43:18.622Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T20:43:18.622Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-27T20:43:18.916Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-27T20:43:18.964Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-27T20:43:19.011Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-27T20:43:19.052Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-27T20:43:19.096Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-27T20:43:19.141Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-27T20:43:19.180Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-27T20:43:19.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-27T20:43:19.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-27T20:43:19.317Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-27T20:43:19.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-27T20:43:19.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-27T20:43:19.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-27T20:43:19.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-27T20:43:19.531Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T20:43:19.582Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T20:43:19.628Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T20:43:19.672Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T20:43:19.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-27T20:43:19.759Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-27T20:43:19.806Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-27T20:43:19.861Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-27T20:43:19.906Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-27T20:43:19.951Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-27T20:43:19.997Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-27T20:43:20.042Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-27T20:43:20.089Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-27T20:43:20.137Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-347 [Pipeline] echo [2023-09-27T20:43:20.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-347 [Pipeline] echo [2023-09-27T20:43:20.232Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-347 [Pipeline] echo [2023-09-27T20:43:20.279Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6f2afc8615472008126876bd7a4b2d206b00462 [Pipeline] echo [2023-09-27T20:43:20.324Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6f2afc [Pipeline] echo [2023-09-27T20:43:20.372Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T20:43:20.488Z] provisioning config files... [2023-09-27T20:43:20.503Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-347@tmp/config4271290390963703409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:43:20.844Z] ---> docker-login.sh [2023-09-27T20:43:20.845Z] nexus3.edgexfoundry.org:10001 [2023-09-27T20:43:21.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:21.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:21.105Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:21.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:21.105Z] [2023-09-27T20:43:21.105Z] Login Succeeded [2023-09-27T20:43:21.105Z] nexus3.edgexfoundry.org:10002 [2023-09-27T20:43:21.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:21.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:21.367Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:21.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:21.367Z] [2023-09-27T20:43:21.367Z] Login Succeeded [2023-09-27T20:43:21.367Z] nexus3.edgexfoundry.org:10003 [2023-09-27T20:43:21.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:21.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:21.628Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:21.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:21.628Z] [2023-09-27T20:43:21.628Z] Login Succeeded [2023-09-27T20:43:21.628Z] nexus3.edgexfoundry.org:10004 [2023-09-27T20:43:21.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:21.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:21.628Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:21.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:21.628Z] [2023-09-27T20:43:21.628Z] Login Succeeded [2023-09-27T20:43:21.628Z] docker.io [2023-09-27T20:43:21.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:21.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:21.888Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:21.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:21.888Z] [2023-09-27T20:43:21.888Z] Login Succeeded [2023-09-27T20:43:21.888Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T20:43:21.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-27T20:43:22.555Z] + git rev-list -1 --merges b6f2afc8615472008126876bd7a4b2d206b00462~1..b6f2afc8615472008126876bd7a4b2d206b00462 [Pipeline] echo [2023-09-27T20:43:22.618Z] -----------> git rev-list -1 --merges b6f2afc8615472008126876bd7a4b2d206b00462~1..b6f2afc8615472008126876bd7a4b2d206b00462 b6f2afc8615472008126876bd7a4b2d206b00462 [false] [Pipeline] sh [2023-09-27T20:43:22.927Z] + git log --format=format:%s -1 b6f2afc8615472008126876bd7a4b2d206b00462 [Pipeline] echo [2023-09-27T20:43:22.962Z] ========================================================= [2023-09-27T20:43:22.962Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T20:43:22.962Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T20:43:23.390Z] + git log --format=format:%s -1 b6f2afc8615472008126876bd7a4b2d206b00462 [Pipeline] echo [2023-09-27T20:43:23.421Z] [semverPrep] GIT_COMMIT: b6f2afc8615472008126876bd7a4b2d206b00462, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-27T20:43:23.448Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-27T20:43:23.839Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T20:43:23.839Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-27T20:43:23.839Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-27T20:43:23.839Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-27T20:43:23.839Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-27T20:43:23.839Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-27T20:43:23.839Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:43:24.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T20:43:24.321Z] [2023-09-27T20:43:24.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:43:24.693Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T20:43:24.693Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-27T20:43:24.693Z] b85a868b505f: Pulling fs layer [2023-09-27T20:43:24.693Z] e2be974225ed: Pulling fs layer [2023-09-27T20:43:24.693Z] 339a4e72a1f5: Pulling fs layer [2023-09-27T20:43:24.693Z] 988bab9f4d93: Pulling fs layer [2023-09-27T20:43:24.693Z] 1469e6f7b9e6: Pulling fs layer [2023-09-27T20:43:24.693Z] 988bab9f4d93: Waiting [2023-09-27T20:43:24.693Z] eaf3925da568: Pulling fs layer [2023-09-27T20:43:24.693Z] bab4dde63d76: Pulling fs layer [2023-09-27T20:43:24.693Z] eaf3925da568: Waiting [2023-09-27T20:43:24.693Z] bab4dde63d76: Waiting [2023-09-27T20:43:24.693Z] bde34c3a00c8: Pulling fs layer [2023-09-27T20:43:24.693Z] b352a97aabf1: Pulling fs layer [2023-09-27T20:43:24.693Z] 1469e6f7b9e6: Waiting [2023-09-27T20:43:24.693Z] bde34c3a00c8: Waiting [2023-09-27T20:43:24.693Z] b352a97aabf1: Waiting [2023-09-27T20:43:24.693Z] 4872d77fe225: Pulling fs layer [2023-09-27T20:43:24.693Z] 5851b861e8e6: Pulling fs layer [2023-09-27T20:43:24.693Z] 4872d77fe225: Waiting [2023-09-27T20:43:24.693Z] 5851b861e8e6: Waiting [2023-09-27T20:43:24.693Z] e2be974225ed: Verifying Checksum [2023-09-27T20:43:24.693Z] e2be974225ed: Download complete [2023-09-27T20:43:24.953Z] 1469e6f7b9e6: Verifying Checksum [2023-09-27T20:43:24.953Z] 1469e6f7b9e6: Download complete [2023-09-27T20:43:24.953Z] eaf3925da568: Download complete [2023-09-27T20:43:24.953Z] 339a4e72a1f5: Verifying Checksum [2023-09-27T20:43:24.953Z] 339a4e72a1f5: Download complete [2023-09-27T20:43:24.953Z] bde34c3a00c8: Download complete [2023-09-27T20:43:24.953Z] b352a97aabf1: Verifying Checksum [2023-09-27T20:43:24.953Z] b352a97aabf1: Download complete [2023-09-27T20:43:24.953Z] 4872d77fe225: Download complete [2023-09-27T20:43:24.953Z] 5851b861e8e6: Download complete [2023-09-27T20:43:24.953Z] b85a868b505f: Verifying Checksum [2023-09-27T20:43:24.953Z] b85a868b505f: Download complete [2023-09-27T20:43:25.212Z] bab4dde63d76: Verifying Checksum [2023-09-27T20:43:25.212Z] bab4dde63d76: Download complete [2023-09-27T20:43:26.596Z] b85a868b505f: Pull complete [2023-09-27T20:43:26.596Z] e2be974225ed: Pull complete [2023-09-27T20:43:27.171Z] 339a4e72a1f5: Pull complete [2023-09-27T20:43:27.171Z] 988bab9f4d93: Pull complete [2023-09-27T20:43:27.430Z] 1469e6f7b9e6: Pull complete [2023-09-27T20:43:27.430Z] eaf3925da568: Pull complete [2023-09-27T20:43:29.331Z] bab4dde63d76: Pull complete [2023-09-27T20:43:29.592Z] bde34c3a00c8: Pull complete [2023-09-27T20:43:29.592Z] b352a97aabf1: Pull complete [2023-09-27T20:43:29.592Z] 4872d77fe225: Pull complete [2023-09-27T20:43:29.852Z] 5851b861e8e6: Pull complete [2023-09-27T20:43:29.852Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-27T20:43:29.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T20:43:29.852Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T20:43:30.082Z] prd-ubuntu20.04-docker-8c-8g-8068 does not seem to be running inside a container [2023-09-27T20:43:30.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-347 -v /w/workspace/gexfoundry_device-rest-go_PR-347:/w/workspace/gexfoundry_device-rest-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-347@tmp:/w/workspace/gexfoundry_device-rest-go_PR-347@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-09-27T20:43:33.593Z] $ docker top bd40a03d8528fa4a515d7b16024ab83fa158987160cebc659d77de94f49dcc0e -eo pid,comm [2023-09-27T20:43:33.649Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-27T20:43:33.649Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T20:43:33.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T20:43:33.790Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T20:43:33.904Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T20:43:33.909Z] $ docker exec bd40a03d8528fa4a515d7b16024ab83fa158987160cebc659d77de94f49dcc0e ssh-agent [2023-09-27T20:43:34.021Z] SSH_AUTH_SOCK=/tmp/ssh-1yy0RIZi6Vh0/agent.33 [2023-09-27T20:43:34.021Z] SSH_AGENT_PID=39 [2023-09-27T20:43:34.029Z] Running ssh-add (command line suppressed) [2023-09-27T20:43:34.129Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-347@tmp/private_key_14017030250098812615.key (/w/workspace/gexfoundry_device-rest-go_PR-347@tmp/private_key_14017030250098812615.key) [2023-09-27T20:43:34.141Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T20:43:34.475Z] + git tag --points-at HEAD [Pipeline] } [2023-09-27T20:43:34.505Z] $ docker exec --env ******** --env ******** bd40a03d8528fa4a515d7b16024ab83fa158987160cebc659d77de94f49dcc0e ssh-agent -k [2023-09-27T20:43:34.609Z] unset SSH_AUTH_SOCK; [2023-09-27T20:43:34.610Z] unset SSH_AGENT_PID; [2023-09-27T20:43:34.610Z] echo Agent pid 39 killed; [2023-09-27T20:43:34.618Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-27T20:43:34.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T20:43:34.705Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T20:43:34.818Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T20:43:34.824Z] $ docker exec bd40a03d8528fa4a515d7b16024ab83fa158987160cebc659d77de94f49dcc0e ssh-agent [2023-09-27T20:43:34.936Z] SSH_AUTH_SOCK=/tmp/ssh-gSpyKptjKdnX/agent.71 [2023-09-27T20:43:34.936Z] SSH_AGENT_PID=76 [2023-09-27T20:43:34.941Z] Running ssh-add (command line suppressed) [2023-09-27T20:43:35.047Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-347@tmp/private_key_1825780865124611347.key (/w/workspace/gexfoundry_device-rest-go_PR-347@tmp/private_key_1825780865124611347.key) [2023-09-27T20:43:35.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T20:43:35.387Z] + git semver init [2023-09-27T20:43:35.646Z] 2023-09-27 20:43:35,577 [run_init] DEBUG init version:0.0.0 force:False [2023-09-27T20:43:35.646Z] 2023-09-27 20:43:35,578 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-347/.semver [2023-09-27T20:43:35.646Z] 2023-09-27 20:43:35,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-347/.semver [2023-09-27T20:43:35.646Z] 2023-09-27 20:43:35,578 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-347/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-347, universal_newlines=False, shell=None, istream=None) [2023-09-27T20:43:37.023Z] 2023-09-27 20:43:36,802 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-347/.git/info/exclude [2023-09-27T20:43:37.023Z] 2023-09-27 20:43:36,803 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-347/.semver/PR-347 with force:False [2023-09-27T20:43:37.023Z] 2023-09-27 20:43:36,803 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-347/.semver/PR-347 [2023-09-27T20:43:37.023Z] 2023-09-27 20:43:36,807 [execute] INFO git cat-file --batch-check [2023-09-27T20:43:37.023Z] 2023-09-27 20:43:36,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-347/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T20:43:37.023Z] 2023-09-27 20:43:36,813 [execute] INFO git cat-file --batch [2023-09-27T20:43:37.023Z] 2023-09-27 20:43:36,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-347/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T20:43:37.023Z] 2023-09-27 20:43:36,819 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-347/.semver/PR-347 [2023-09-27T20:43:37.023Z] 0.0.0 [Pipeline] } [2023-09-27T20:43:37.052Z] $ docker exec --env ******** --env ******** bd40a03d8528fa4a515d7b16024ab83fa158987160cebc659d77de94f49dcc0e ssh-agent -k [2023-09-27T20:43:37.151Z] unset SSH_AUTH_SOCK; [2023-09-27T20:43:37.151Z] unset SSH_AGENT_PID; [2023-09-27T20:43:37.151Z] echo Agent pid 76 killed; [2023-09-27T20:43:37.157Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T20:43:37.598Z] + git semver [Pipeline] } [2023-09-27T20:43:37.889Z] $ docker stop --time=1 bd40a03d8528fa4a515d7b16024ab83fa158987160cebc659d77de94f49dcc0e [2023-09-27T20:43:39.209Z] $ docker rm -f --volumes bd40a03d8528fa4a515d7b16024ab83fa158987160cebc659d77de94f49dcc0e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T20:43:39.598Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-27T20:43:39.861Z] Stashed 1 file(s) [Pipeline] echo [2023-09-27T20:43:39.879Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T20:43:40.485Z] provisioning config files... [2023-09-27T20:43:40.492Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-347@tmp/config15185755328350781658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:43:40.841Z] ---> docker-login.sh [2023-09-27T20:43:40.841Z] nexus3.edgexfoundry.org:10001 [2023-09-27T20:43:40.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:40.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:40.841Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:40.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:40.841Z] [2023-09-27T20:43:40.841Z] Login Succeeded [2023-09-27T20:43:40.841Z] nexus3.edgexfoundry.org:10002 [2023-09-27T20:43:40.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:40.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:40.841Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:40.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:40.841Z] [2023-09-27T20:43:40.841Z] Login Succeeded [2023-09-27T20:43:40.841Z] nexus3.edgexfoundry.org:10003 [2023-09-27T20:43:41.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:41.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:41.101Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:41.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:41.101Z] [2023-09-27T20:43:41.101Z] Login Succeeded [2023-09-27T20:43:41.101Z] nexus3.edgexfoundry.org:10004 [2023-09-27T20:43:41.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:41.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:41.101Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:41.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:41.101Z] [2023-09-27T20:43:41.101Z] Login Succeeded [2023-09-27T20:43:41.101Z] docker.io [2023-09-27T20:43:41.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:43:41.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:43:41.360Z] Configure a credential helper to remove this warning. See [2023-09-27T20:43:41.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:43:41.360Z] [2023-09-27T20:43:41.360Z] Login Succeeded [2023-09-27T20:43:41.360Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T20:43:41.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T20:43:41.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T20:43:41.622Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T20:43:41.662Z] ========================================================= [2023-09-27T20:43:41.662Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-27T20:43:41.662Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:43:42.143Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-27T20:43:42.143Z] Sending build context to Docker daemon 10.92MB [2023-09-27T20:43:42.143Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T20:43:42.143Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-27T20:43:42.143Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-27T20:43:42.143Z] 7264a8db6415: Pulling fs layer [2023-09-27T20:43:42.143Z] c4d48a809fc2: Pulling fs layer [2023-09-27T20:43:42.143Z] 4f1c88b9dad5: Pulling fs layer [2023-09-27T20:43:42.143Z] ad3a456e5733: Pulling fs layer [2023-09-27T20:43:42.143Z] 33e27b845d1e: Pulling fs layer [2023-09-27T20:43:42.143Z] c68163c4e522: Pulling fs layer [2023-09-27T20:43:42.143Z] 50da416c3ac9: Pulling fs layer [2023-09-27T20:43:42.143Z] 23d2d4c4bb30: Pulling fs layer [2023-09-27T20:43:42.143Z] c68163c4e522: Waiting [2023-09-27T20:43:42.143Z] 33e27b845d1e: Waiting [2023-09-27T20:43:42.143Z] ad3a456e5733: Waiting [2023-09-27T20:43:42.143Z] 23d2d4c4bb30: Waiting [2023-09-27T20:43:42.143Z] 50da416c3ac9: Waiting [2023-09-27T20:43:42.143Z] c4d48a809fc2: Download complete [2023-09-27T20:43:42.423Z] ad3a456e5733: Verifying Checksum [2023-09-27T20:43:42.423Z] ad3a456e5733: Download complete [2023-09-27T20:43:42.423Z] 33e27b845d1e: Verifying Checksum [2023-09-27T20:43:42.423Z] 33e27b845d1e: Download complete [2023-09-27T20:43:42.423Z] 7264a8db6415: Verifying Checksum [2023-09-27T20:43:42.423Z] 7264a8db6415: Download complete [2023-09-27T20:43:42.423Z] c68163c4e522: Verifying Checksum [2023-09-27T20:43:42.423Z] c68163c4e522: Download complete [2023-09-27T20:43:42.423Z] 7264a8db6415: Pull complete [2023-09-27T20:43:42.684Z] c4d48a809fc2: Pull complete [2023-09-27T20:43:42.684Z] 23d2d4c4bb30: Verifying Checksum [2023-09-27T20:43:42.684Z] 23d2d4c4bb30: Download complete [2023-09-27T20:43:42.942Z] 4f1c88b9dad5: Verifying Checksum [2023-09-27T20:43:42.942Z] 4f1c88b9dad5: Download complete [2023-09-27T20:43:43.209Z] 50da416c3ac9: Verifying Checksum [2023-09-27T20:43:43.209Z] 50da416c3ac9: Download complete [2023-09-27T20:43:46.496Z] 4f1c88b9dad5: Pull complete [2023-09-27T20:43:46.496Z] ad3a456e5733: Pull complete [2023-09-27T20:43:46.496Z] 33e27b845d1e: Pull complete [2023-09-27T20:43:46.496Z] c68163c4e522: Pull complete [2023-09-27T20:43:49.026Z] 50da416c3ac9: Pull complete [2023-09-27T20:43:49.026Z] 23d2d4c4bb30: Pull complete [2023-09-27T20:43:49.026Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-27T20:43:49.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-27T20:43:49.026Z] ---> 0786185ac409 [2023-09-27T20:43:49.026Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-27T20:43:54.304Z] ---> Running in 3136062f1a1a [2023-09-27T20:43:54.304Z] Removing intermediate container 3136062f1a1a [2023-09-27T20:43:54.304Z] ---> a452c55ee9e8 [2023-09-27T20:43:54.304Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T20:43:54.304Z] ---> Running in 1c670078c21e [2023-09-27T20:43:54.304Z] Removing intermediate container 1c670078c21e [2023-09-27T20:43:54.304Z] ---> b1e5ba754556 [2023-09-27T20:43:54.304Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T20:43:54.304Z] ---> Running in 284abad71e95 [2023-09-27T20:43:54.304Z] Removing intermediate container 284abad71e95 [2023-09-27T20:43:54.304Z] ---> cd7e78a98501 [2023-09-27T20:43:54.304Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T20:43:54.304Z] ---> Running in 8f0855aea5fe [2023-09-27T20:43:54.304Z] Removing intermediate container 8f0855aea5fe [2023-09-27T20:43:54.304Z] ---> ae0cf582c713 [2023-09-27T20:43:54.304Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T20:43:54.304Z] ---> Running in 17302be1d5cb [2023-09-27T20:43:54.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T20:43:54.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T20:43:54.823Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-27T20:43:54.823Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-27T20:43:54.824Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-27T20:43:54.824Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-27T20:43:54.824Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T20:43:54.824Z] OK: 268 MiB in 56 packages [2023-09-27T20:43:55.313Z] Still waiting to schedule task [2023-09-27T20:43:55.313Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-27T20:43:55.394Z] Removing intermediate container 17302be1d5cb [2023-09-27T20:43:55.394Z] ---> 7dc8bfb34c77 [2023-09-27T20:43:55.394Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-27T20:43:55.394Z] ---> Running in bed143870b31 [2023-09-27T20:43:55.394Z] Removing intermediate container bed143870b31 [2023-09-27T20:43:55.394Z] ---> 015f06a2b7a5 [2023-09-27T20:43:55.394Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-27T20:43:55.654Z] ---> 9751aa8745d6 [2023-09-27T20:43:55.654Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T20:43:55.654Z] ---> Running in 76880b7a40f0 [2023-09-27T20:44:42.352Z] Removing intermediate container 76880b7a40f0 [2023-09-27T20:44:42.352Z] ---> d9e51e224e99 [2023-09-27T20:44:42.352Z] Step 11/12 : COPY . . [2023-09-27T20:44:42.352Z] ---> a07f7f9bdb36 [2023-09-27T20:44:42.352Z] Step 12/12 : RUN $MAKE [2023-09-27T20:44:42.352Z] ---> Running in b5fb1e2ff298 [2023-09-27T20:44:42.352Z] noop [2023-09-27T20:44:42.352Z] Removing intermediate container b5fb1e2ff298 [2023-09-27T20:44:42.352Z] ---> 13303899fb6f [2023-09-27T20:44:42.352Z] Successfully built 13303899fb6f [2023-09-27T20:44:42.352Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:44:42.814Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T20:44:42.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T20:44:42.968Z] prd-ubuntu20.04-docker-8c-8g-8068 does not seem to be running inside a container [2023-09-27T20:44:43.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-347 -v /w/workspace/gexfoundry_device-rest-go_PR-347:/w/workspace/gexfoundry_device-rest-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-347@tmp:/w/workspace/gexfoundry_device-rest-go_PR-347@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-09-27T20:44:43.333Z] $ docker top 9cab9a953e3eb272eaa2f2c8579d4a856b26f115eda120863d20cbfff9c18b8c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T20:44:43.716Z] + go version [2023-09-27T20:44:43.716Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-27T20:44:43.756Z] $ docker stop --time=1 9cab9a953e3eb272eaa2f2c8579d4a856b26f115eda120863d20cbfff9c18b8c [2023-09-27T20:44:45.019Z] $ docker rm -f --volumes 9cab9a953e3eb272eaa2f2c8579d4a856b26f115eda120863d20cbfff9c18b8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:44:45.754Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T20:44:45.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T20:44:45.909Z] prd-ubuntu20.04-docker-8c-8g-8068 does not seem to be running inside a container [2023-09-27T20:44:45.946Z] $ 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-347 -v /w/workspace/gexfoundry_device-rest-go_PR-347:/w/workspace/gexfoundry_device-rest-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-347@tmp:/w/workspace/gexfoundry_device-rest-go_PR-347@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-09-27T20:44:46.259Z] $ docker top 5161be986b93ebf64331c5220d0c12411ea67099736e2ca204f583d5181410d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T20:44:46.637Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-347 [Pipeline] fileExists [Pipeline] sh [2023-09-27T20:44:46.999Z] + make test [2023-09-27T20:44:46.999Z] go test ./... -coverprofile=coverage.out ./... [2023-09-27T20:44:48.375Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-27T20:44:58.339Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-27T20:44:58.339Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2023-09-27T20:45:04.896Z] go vet ./... [2023-09-27T20:45:09.080Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T20:45:09.080Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T20:45:09.080Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T20:45:09.126Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T20:45:09.163Z] $ docker stop --time=1 5161be986b93ebf64331c5220d0c12411ea67099736e2ca204f583d5181410d7 [2023-09-27T20:45:11.958Z] $ docker rm -f --volumes 5161be986b93ebf64331c5220d0c12411ea67099736e2ca204f583d5181410d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T20:45:12.488Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T20:45:12.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-27T20:45:13.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T20:45:13.707Z] + ls -al . [2023-09-27T20:45:13.707Z] total 188 [2023-09-27T20:45:13.707Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 20:44 . [2023-09-27T20:45:13.707Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:43 .. [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 20:43 .dockerignore [2023-09-27T20:45:13.707Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:44 .git [2023-09-27T20:45:13.707Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:43 .github [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 20:43 .gitignore [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:43 .golangci.yml [2023-09-27T20:45:13.707Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:43 .semver [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 27 20:43 Attribution.txt [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 27 20:43 CHANGELOG.md [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 27 20:43 Dockerfile [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:43 GOVERNANCE.md [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 20:43 Jenkinsfile [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:43 LICENSE [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 27 20:43 Makefile [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 20:43 OWNERS.md [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 27 20:43 README.md [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:43 VERSION [2023-09-27T20:45:13.707Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:43 bin [2023-09-27T20:45:13.707Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:43 cmd [2023-09-27T20:45:13.707Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 27 20:44 coverage.out [2023-09-27T20:45:13.707Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:43 driver [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 27 20:43 go.mod [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 27 20:43 go.sum [2023-09-27T20:45:13.707Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:43 snap [2023-09-27T20:45:13.707Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 20:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:45:14.107Z] + 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=b6f2afc8615472008126876bd7a4b2d206b00462 --label arch=amd64 --label version=0.0.0 . [2023-09-27T20:45:14.107Z] Sending build context to Docker daemon 10.94MB [2023-09-27T20:45:14.107Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T20:45:14.107Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-27T20:45:14.107Z] ---> 13303899fb6f [2023-09-27T20:45:14.107Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-27T20:45:14.367Z] ---> Running in ae0aa03085e2 [2023-09-27T20:45:14.367Z] Removing intermediate container ae0aa03085e2 [2023-09-27T20:45:14.367Z] ---> b4321b1935d7 [2023-09-27T20:45:14.367Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T20:45:14.367Z] ---> Running in 85abc9cb7c1f [2023-09-27T20:45:14.367Z] Removing intermediate container 85abc9cb7c1f [2023-09-27T20:45:14.367Z] ---> e0575c25f7cc [2023-09-27T20:45:14.367Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T20:45:14.367Z] ---> Running in bac34ca31393 [2023-09-27T20:45:14.625Z] Removing intermediate container bac34ca31393 [2023-09-27T20:45:14.625Z] ---> 01089b6beb38 [2023-09-27T20:45:14.625Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T20:45:14.625Z] ---> Running in 4e4c28ea3f3e [2023-09-27T20:45:14.625Z] Removing intermediate container 4e4c28ea3f3e [2023-09-27T20:45:14.625Z] ---> 50cf42904a64 [2023-09-27T20:45:14.625Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T20:45:14.625Z] ---> Running in db6c436d5198 [2023-09-27T20:45:14.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T20:45:15.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T20:45:15.144Z] OK: 268 MiB in 56 packages [2023-09-27T20:45:15.714Z] Removing intermediate container db6c436d5198 [2023-09-27T20:45:15.714Z] ---> b642e3950710 [2023-09-27T20:45:15.714Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-27T20:45:15.714Z] ---> Running in d9ef452ff1bb [2023-09-27T20:45:15.714Z] Removing intermediate container d9ef452ff1bb [2023-09-27T20:45:15.714Z] ---> 9a095eee8232 [2023-09-27T20:45:15.714Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-27T20:45:15.714Z] ---> 143540899965 [2023-09-27T20:45:15.714Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T20:45:16.290Z] ---> Running in 7c49d1ae18b9 [2023-09-27T20:45:16.856Z] Removing intermediate container 7c49d1ae18b9 [2023-09-27T20:45:16.856Z] ---> 5b2a22eb0df3 [2023-09-27T20:45:16.856Z] Step 11/25 : COPY . . [2023-09-27T20:45:17.423Z] ---> 763c6d3c1875 [2023-09-27T20:45:17.423Z] Step 12/25 : RUN $MAKE [2023-09-27T20:45:17.423Z] ---> Running in 2c53c7275666 [2023-09-27T20:45:17.423Z] 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.32" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-27T20:45:28.950Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8069 in /w/workspace/gexfoundry_device-rest-go_PR-347 [Pipeline] { [Pipeline] ws [2023-09-27T20:45:29.005Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-27T20:45:29.081Z] The recommended git tool is: git [2023-09-27T20:45:34.400Z] using credential edgex-jenkins-ssh [2023-09-27T20:45:34.414Z] Cloning the remote Git repository [2023-09-27T20:45:34.456Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-27T20:45:34.546Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-27T20:45:34.706Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-27T20:45:34.707Z] > git --version # timeout=10 [2023-09-27T20:45:34.727Z] > git --version # 'git version 2.25.1' [2023-09-27T20:45:34.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T20:45:34.864Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T20:45:36.758Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-27T20:45:36.780Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T20:45:37.603Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-27T20:45:37.644Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-27T20:45:37.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T20:45:37.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/347/head:refs/remotes/origin/PR-347 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-27T20:45:38.186Z] Merging remotes/origin/main commit 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 into PR head commit b6f2afc8615472008126876bd7a4b2d206b00462 [2023-09-27T20:45:38.458Z] Merge succeeded, producing b6f2afc8615472008126876bd7a4b2d206b00462 [2023-09-27T20:45:38.458Z] Checking out Revision b6f2afc8615472008126876bd7a4b2d206b00462 (PR-347) [2023-09-27T20:45:38.925Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-27T20:45:38.970Z] > git --version # timeout=10 [2023-09-27T20:45:38.982Z] > git --version # 'git version 2.25.1' [2023-09-27T20:45:38.997Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T20:45:38.202Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T20:45:38.265Z] > git checkout -f b6f2afc8615472008126876bd7a4b2d206b00462 # timeout=10 [2023-09-27T20:45:38.349Z] > git remote # timeout=10 [2023-09-27T20:45:38.368Z] > git config --get remote.origin.url # timeout=10 [2023-09-27T20:45:38.399Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T20:45:38.411Z] > git merge 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 # timeout=10 [2023-09-27T20:45:38.436Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-27T20:45:38.465Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T20:45:38.481Z] > git checkout -f b6f2afc8615472008126876bd7a4b2d206b00462 # timeout=10 [2023-09-27T20:45:39.355Z] Removing intermediate container 2c53c7275666 [2023-09-27T20:45:39.355Z] ---> 65ba7348eb86 [2023-09-27T20:45:39.355Z] Step 13/25 : FROM alpine:3.18 [2023-09-27T20:45:39.355Z] 3.18: Pulling from library/alpine [2023-09-27T20:45:39.355Z] 7264a8db6415: Already exists [2023-09-27T20:45:39.355Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T20:45:39.355Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T20:45:39.355Z] ---> 7e01a0d0a1dc [2023-09-27T20:45:39.355Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T20:45:39.355Z] ---> Running in 2411cd019811 [2023-09-27T20:45:39.355Z] Removing intermediate container 2411cd019811 [2023-09-27T20:45:39.355Z] ---> 05f108c2700c [2023-09-27T20:45:39.355Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-27T20:45:39.355Z] ---> Running in e91ab9b9fa3b [2023-09-27T20:45:39.355Z] Removing intermediate container e91ab9b9fa3b [2023-09-27T20:45:39.355Z] ---> d5ee0cdb151e [2023-09-27T20:45:39.355Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-27T20:45:39.355Z] ---> Running in fea515d46808 [2023-09-27T20:45:39.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T20:45:39.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T20:45:39.355Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-27T20:45:39.355Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T20:45:39.355Z] OK: 7 MiB in 16 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T20:45:39.923Z] Removing intermediate container fea515d46808 [2023-09-27T20:45:39.923Z] ---> 0b714892e6d8 [2023-09-27T20:45:39.923Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-27T20:45:40.161Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-27T20:45:40.161Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T20:45:40.161Z] Dload Upload Total Spent Left Speed [2023-09-27T20:45:40.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh [2023-09-27T20:45:40.825Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-09-27T20:45:40.863Z] ---> 031f5d67d4c8 [2023-09-27T20:45:40.863Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-27T20:45:40.863Z] ---> 8758cc772438 [2023-09-27T20:45:40.863Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-27T20:45:40.863Z] ---> eaa4b01a8faa [2023-09-27T20:45:40.863Z] Step 20/25 : EXPOSE 59986 [2023-09-27T20:45:40.863Z] ---> Running in 3943b767d4fe [Pipeline] sh [2023-09-27T20:45:41.122Z] Removing intermediate container 3943b767d4fe [2023-09-27T20:45:41.122Z] ---> 52e77b46bc5b [2023-09-27T20:45:41.122Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-27T20:45:41.122Z] ---> Running in bd31e19db240 [2023-09-27T20:45:41.178Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-27T20:45:41.178Z] + sudo tee /etc/docker/daemon.new [2023-09-27T20:45:41.178Z] { [2023-09-27T20:45:41.178Z] "registry-mirrors": [ [2023-09-27T20:45:41.178Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-27T20:45:41.178Z] ], [2023-09-27T20:45:41.178Z] "bip": "10.250.0.254/24", [2023-09-27T20:45:41.178Z] "hosts": [ [2023-09-27T20:45:41.178Z] "tcp://0.0.0.0:5555", [2023-09-27T20:45:41.178Z] "unix:///var/run/docker.sock" [2023-09-27T20:45:41.178Z] ], [2023-09-27T20:45:41.178Z] "mtu": 1458, [2023-09-27T20:45:41.178Z] "selinux-enabled": true, [2023-09-27T20:45:41.178Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-27T20:45:41.178Z] } [Pipeline] sh [2023-09-27T20:45:41.381Z] Removing intermediate container bd31e19db240 [2023-09-27T20:45:41.381Z] ---> 4266dd1b1a45 [2023-09-27T20:45:41.381Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-27T20:45:41.381Z] ---> Running in a0f9c9970b89 [2023-09-27T20:45:41.381Z] Removing intermediate container a0f9c9970b89 [2023-09-27T20:45:41.381Z] ---> 6c7b42652a0b [2023-09-27T20:45:41.381Z] Step 23/25 : LABEL arch=amd64 [2023-09-27T20:45:41.527Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-27T20:45:41.641Z] ---> Running in 869b3a75988c [2023-09-27T20:45:41.878Z] + sudo service docker restart [2023-09-27T20:45:41.899Z] Removing intermediate container 869b3a75988c [2023-09-27T20:45:41.899Z] ---> 4fbfa2dfc5d5 [2023-09-27T20:45:41.899Z] Step 24/25 : LABEL git_sha=b6f2afc8615472008126876bd7a4b2d206b00462 [2023-09-27T20:45:42.159Z] ---> Running in 36c911137abc [2023-09-27T20:45:42.418Z] Removing intermediate container 36c911137abc [2023-09-27T20:45:42.418Z] ---> d1b401571fee [2023-09-27T20:45:42.418Z] Step 25/25 : LABEL version=0.0.0 [2023-09-27T20:45:42.418Z] ---> Running in ed69f72e5dd3 [2023-09-27T20:45:42.418Z] Removing intermediate container ed69f72e5dd3 [2023-09-27T20:45:42.418Z] ---> 13ab96995359 [2023-09-27T20:45:42.418Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T20:45:42.418Z] Successfully built 13ab96995359 [2023-09-27T20:45:42.418Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:45:43.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T20:45:43.341Z] [2023-09-27T20:45:43.341Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:45:43.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T20:45:43.732Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-27T20:45:43.732Z] 5eb5b503b376: Pulling fs layer [2023-09-27T20:45:43.732Z] 5c69ac0246d0: Pulling fs layer [2023-09-27T20:45:43.732Z] ec43610c2a17: Pulling fs layer [2023-09-27T20:45:43.732Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-27T20:45:43.732Z] 33b1e0a273af: Pulling fs layer [2023-09-27T20:45:43.732Z] 5d3b04190fa2: Pulling fs layer [2023-09-27T20:45:43.732Z] 2f39f015ded8: Pulling fs layer [2023-09-27T20:45:43.732Z] 33b1e0a273af: Waiting [2023-09-27T20:45:43.732Z] 5d3b04190fa2: Waiting [2023-09-27T20:45:43.732Z] 2f39f015ded8: Waiting [2023-09-27T20:45:43.732Z] 3a2ae6a8a46f: Waiting [2023-09-27T20:45:43.732Z] 5c69ac0246d0: Verifying Checksum [2023-09-27T20:45:43.732Z] 5c69ac0246d0: Download complete [2023-09-27T20:45:43.732Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-27T20:45:43.732Z] 3a2ae6a8a46f: Download complete [2023-09-27T20:45:43.732Z] 33b1e0a273af: Verifying Checksum [2023-09-27T20:45:43.732Z] 33b1e0a273af: Download complete [2023-09-27T20:45:43.732Z] 5d3b04190fa2: Verifying Checksum [2023-09-27T20:45:43.732Z] 5d3b04190fa2: Download complete [2023-09-27T20:45:43.732Z] ec43610c2a17: Verifying Checksum [2023-09-27T20:45:43.732Z] ec43610c2a17: Download complete [2023-09-27T20:45:43.990Z] 5eb5b503b376: Verifying Checksum [2023-09-27T20:45:43.990Z] 5eb5b503b376: Download complete [2023-09-27T20:45:44.557Z] 2f39f015ded8: Download complete [2023-09-27T20:45:45.124Z] 5eb5b503b376: Pull complete [2023-09-27T20:45:45.383Z] 5c69ac0246d0: Pull complete [2023-09-27T20:45:45.642Z] ec43610c2a17: Pull complete [2023-09-27T20:45:45.902Z] 3a2ae6a8a46f: Pull complete [2023-09-27T20:45:45.902Z] 33b1e0a273af: Pull complete [2023-09-27T20:45:46.160Z] 5d3b04190fa2: Pull complete [2023-09-27T20:45:50.349Z] 2f39f015ded8: Pull complete [2023-09-27T20:45:50.349Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-27T20:45:50.349Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T20:45:50.349Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T20:45:50.571Z] prd-ubuntu20.04-docker-8c-8g-8068 does not seem to be running inside a container [2023-09-27T20:45:50.604Z] $ 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-347 -v /w/workspace/gexfoundry_device-rest-go_PR-347:/w/workspace/gexfoundry_device-rest-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-347@tmp:/w/workspace/gexfoundry_device-rest-go_PR-347@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T20:45:58.626Z] $ docker top bceda9a15ef9d4d105cab85ab27559eea1ac976dc91e93a2ef077437f02c63c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:45:59.089Z] ---> job-cost.sh [2023-09-27T20:45:59.089Z] lf-activate-venv: SKIPPING [2023-09-27T20:45:59.089Z] INFO: No Stack... [2023-09-27T20:45:59.349Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T20:45:59.609Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T20:45:59.926Z] + + cut -d, -f6 [2023-09-27T20:45:59.926Z] cat /w/workspace/gexfoundry_device-rest-go_PR-347/archives/cost.csv [Pipeline] lock [2023-09-27T20:45:59.972Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-347-1-stack-cost] [2023-09-27T20:45:59.977Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-347-1-stack-cost] did not exist. Created. [2023-09-27T20:45:59.977Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-347-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T20:46:00.229Z] provisioning config files... [2023-09-27T20:46:00.254Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13864973680010203857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:46:00.384Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-27T20:46:00.451Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T20:46:00.471Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-347-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T20:46:00.558Z] $ docker stop --time=1 bceda9a15ef9d4d105cab85ab27559eea1ac976dc91e93a2ef077437f02c63c9 [2023-09-27T20:46:00.634Z] ---> docker-login.sh [2023-09-27T20:46:00.634Z] nexus3.edgexfoundry.org:10001 [2023-09-27T20:46:00.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:46:01.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:46:01.181Z] Configure a credential helper to remove this warning. See [2023-09-27T20:46:01.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:46:01.181Z] [2023-09-27T20:46:01.181Z] Login Succeeded [2023-09-27T20:46:01.181Z] nexus3.edgexfoundry.org:10002 [2023-09-27T20:46:01.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:46:01.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:46:01.720Z] Configure a credential helper to remove this warning. See [2023-09-27T20:46:01.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:46:01.720Z] [2023-09-27T20:46:01.720Z] Login Succeeded [2023-09-27T20:46:01.720Z] nexus3.edgexfoundry.org:10003 [2023-09-27T20:46:01.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:46:01.787Z] $ docker rm -f --volumes bceda9a15ef9d4d105cab85ab27559eea1ac976dc91e93a2ef077437f02c63c9 [Pipeline] // withDockerContainer [Pipeline] } [2023-09-27T20:46:01.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:46:01.990Z] Configure a credential helper to remove this warning. See [2023-09-27T20:46:01.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:46:01.990Z] [2023-09-27T20:46:01.990Z] Login Succeeded [2023-09-27T20:46:01.990Z] nexus3.edgexfoundry.org:10004 [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-27T20:46:02.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:46:02.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:46:02.260Z] Configure a credential helper to remove this warning. See [2023-09-27T20:46:02.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:46:02.260Z] [2023-09-27T20:46:02.260Z] Login Succeeded [2023-09-27T20:46:02.260Z] docker.io [2023-09-27T20:46:02.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T20:46:02.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T20:46:02.796Z] Configure a credential helper to remove this warning. See [2023-09-27T20:46:02.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T20:46:02.796Z] [2023-09-27T20:46:02.796Z] Login Succeeded [2023-09-27T20:46:02.796Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T20:46:02.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T20:46:03.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T20:46:03.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T20:46:03.267Z] ========================================================= [2023-09-27T20:46:03.268Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-27T20:46:03.268Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:46:03.769Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-27T20:46:03.769Z] Sending build context to Docker daemon 144.4kB [2023-09-27T20:46:04.041Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T20:46:04.041Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-27T20:46:04.041Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-27T20:46:04.041Z] 9fda8d8052c6: Pulling fs layer [2023-09-27T20:46:04.041Z] 5d54e960e981: Pulling fs layer [2023-09-27T20:46:04.041Z] c4a7e357bf2a: Pulling fs layer [2023-09-27T20:46:04.041Z] f0e02332f6b5: Pulling fs layer [2023-09-27T20:46:04.041Z] cefa15bbcfad: Pulling fs layer [2023-09-27T20:46:04.041Z] 17808c966233: Pulling fs layer [2023-09-27T20:46:04.041Z] f4c1fc716caa: Pulling fs layer [2023-09-27T20:46:04.041Z] cefa15bbcfad: Waiting [2023-09-27T20:46:04.041Z] 17808c966233: Waiting [2023-09-27T20:46:04.041Z] f0e02332f6b5: Waiting [2023-09-27T20:46:04.041Z] f4c1fc716caa: Waiting [2023-09-27T20:46:04.041Z] 5d54e960e981: Verifying Checksum [2023-09-27T20:46:04.041Z] 5d54e960e981: Download complete [2023-09-27T20:46:04.041Z] f0e02332f6b5: Verifying Checksum [2023-09-27T20:46:04.041Z] f0e02332f6b5: Download complete [2023-09-27T20:46:04.578Z] cefa15bbcfad: Verifying Checksum [2023-09-27T20:46:04.578Z] cefa15bbcfad: Download complete [2023-09-27T20:46:04.578Z] 9fda8d8052c6: Verifying Checksum [2023-09-27T20:46:04.578Z] 9fda8d8052c6: Download complete [2023-09-27T20:46:04.847Z] f4c1fc716caa: Download complete [2023-09-27T20:46:04.847Z] 9fda8d8052c6: Pull complete [2023-09-27T20:46:06.820Z] 17808c966233: Verifying Checksum [2023-09-27T20:46:06.820Z] 17808c966233: Download complete [2023-09-27T20:46:07.782Z] 5d54e960e981: Pull complete [2023-09-27T20:46:08.369Z] c4a7e357bf2a: Verifying Checksum [2023-09-27T20:46:08.369Z] c4a7e357bf2a: Download complete [2023-09-27T20:46:20.704Z] c4a7e357bf2a: Pull complete [2023-09-27T20:46:20.971Z] f0e02332f6b5: Pull complete [2023-09-27T20:46:21.237Z] cefa15bbcfad: Pull complete [2023-09-27T20:46:28.079Z] 17808c966233: Pull complete [2023-09-27T20:46:29.504Z] f4c1fc716caa: Pull complete [2023-09-27T20:46:29.504Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-27T20:46:29.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-27T20:46:29.504Z] ---> ea914061e18c [2023-09-27T20:46:29.504Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-27T20:46:31.467Z] ---> Running in 6e2b47cfcbf9 [2023-09-27T20:46:31.467Z] Removing intermediate container 6e2b47cfcbf9 [2023-09-27T20:46:31.467Z] ---> 6a64cf599587 [2023-09-27T20:46:31.467Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T20:46:31.467Z] ---> Running in 580b615a5d4c [2023-09-27T20:46:31.735Z] Removing intermediate container 580b615a5d4c [2023-09-27T20:46:31.735Z] ---> e5f38fac29ef [2023-09-27T20:46:31.735Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T20:46:32.005Z] ---> Running in 02f40384de5d [2023-09-27T20:46:32.273Z] Removing intermediate container 02f40384de5d [2023-09-27T20:46:32.273Z] ---> 043f83309e0d [2023-09-27T20:46:32.273Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T20:46:32.273Z] ---> Running in 8a2f118f866f [2023-09-27T20:46:32.542Z] Removing intermediate container 8a2f118f866f [2023-09-27T20:46:32.542Z] ---> 1a84a4a11d0d [2023-09-27T20:46:32.542Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T20:46:32.542Z] ---> Running in 97ebf1776904 [2023-09-27T20:46:33.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T20:46:34.223Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T20:46:35.190Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-27T20:46:35.190Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-27T20:46:35.190Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-27T20:46:35.190Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-27T20:46:35.190Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T20:46:35.458Z] OK: 270 MiB in 56 packages [2023-09-27T20:46:36.432Z] Removing intermediate container 97ebf1776904 [2023-09-27T20:46:36.432Z] ---> b88f0e661e45 [2023-09-27T20:46:36.432Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-27T20:46:36.432Z] ---> Running in 98c3f3e84eac [2023-09-27T20:46:36.705Z] Removing intermediate container 98c3f3e84eac [2023-09-27T20:46:36.705Z] ---> d86d8887e74d [2023-09-27T20:46:36.705Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-27T20:46:37.292Z] ---> 15b60d33fc2d [2023-09-27T20:46:37.292Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T20:46:37.292Z] ---> Running in 7a864ed621ce [2023-09-27T20:47:45.223Z] Removing intermediate container 7a864ed621ce [2023-09-27T20:47:45.223Z] ---> aca44466c693 [2023-09-27T20:47:45.223Z] Step 11/12 : COPY . . [2023-09-27T20:47:45.223Z] ---> 8468c6525f36 [2023-09-27T20:47:45.223Z] Step 12/12 : RUN $MAKE [2023-09-27T20:47:45.223Z] ---> Running in 78a619e340d3 [2023-09-27T20:47:45.223Z] noop [2023-09-27T20:47:45.491Z] Removing intermediate container 78a619e340d3 [2023-09-27T20:47:45.491Z] ---> 53fa28d85eca [2023-09-27T20:47:45.491Z] Successfully built 53fa28d85eca [2023-09-27T20:47:45.491Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:47:45.980Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T20:47:45.980Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T20:47:46.267Z] prd-ubuntu20.04-docker-arm64-4c-16g-8069 does not seem to be running inside a container [2023-09-27T20:47:46.348Z] $ 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-09-27T20:47:47.463Z] $ docker top a7bb44d8c8a6b0ba7882e036258490332f147e3b9a2897a38a6a4058d1b7e70b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T20:47:48.339Z] + go version [2023-09-27T20:47:48.339Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-27T20:47:48.372Z] $ docker stop --time=1 a7bb44d8c8a6b0ba7882e036258490332f147e3b9a2897a38a6a4058d1b7e70b [2023-09-27T20:47:49.971Z] $ docker rm -f --volumes a7bb44d8c8a6b0ba7882e036258490332f147e3b9a2897a38a6a4058d1b7e70b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:47:50.811Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T20:47:50.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T20:47:51.062Z] prd-ubuntu20.04-docker-arm64-4c-16g-8069 does not seem to be running inside a container [2023-09-27T20:47:51.124Z] $ 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-09-27T20:47:52.229Z] $ docker top 019ff10af5c3c3a2d5b5d7602ba8b1b5d85d7743dd42eeba5b513a68d0151e5f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T20:47:52.789Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-27T20:47:53.438Z] + make test [2023-09-27T20:47:53.438Z] go test ./... -coverprofile=coverage.out ./... [2023-09-27T20:47:58.783Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-27T20:49:35.467Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-27T20:49:35.467Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements [2023-09-27T20:49:35.467Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-27T20:49:35.467Z] go vet ./... [2023-09-27T20:49:43.662Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T20:49:43.662Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T20:49:43.662Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T20:49:43.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T20:49:43.991Z] $ docker stop --time=1 019ff10af5c3c3a2d5b5d7602ba8b1b5d85d7743dd42eeba5b513a68d0151e5f [2023-09-27T20:49:45.859Z] $ docker rm -f --volumes 019ff10af5c3c3a2d5b5d7602ba8b1b5d85d7743dd42eeba5b513a68d0151e5f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T20:49:47.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T20:49:47.086Z] Warning: overwriting stash ‘coverage-report’ [2023-09-27T20:49:47.497Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T20:49:48.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T20:49:48.404Z] + ls -al . [2023-09-27T20:49:48.404Z] total 184 [2023-09-27T20:49:48.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:47 . [2023-09-27T20:49:48.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:45 .. [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 20:45 .dockerignore [2023-09-27T20:49:48.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:45 .git [2023-09-27T20:49:48.404Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:45 .github [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 20:45 .gitignore [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:45 .golangci.yml [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 27 20:45 Attribution.txt [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 27 20:45 CHANGELOG.md [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 27 20:45 Dockerfile [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:45 GOVERNANCE.md [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 20:45 Jenkinsfile [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:45 LICENSE [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 27 20:45 Makefile [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 20:45 OWNERS.md [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 27 20:45 README.md [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:43 VERSION [2023-09-27T20:49:48.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:45 bin [2023-09-27T20:49:48.404Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:45 cmd [2023-09-27T20:49:48.404Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 27 20:49 coverage.out [2023-09-27T20:49:48.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:45 driver [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 27 20:45 go.mod [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 27 20:45 go.sum [2023-09-27T20:49:48.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:45 snap [2023-09-27T20:49:48.404Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:49:48.817Z] + 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=b6f2afc8615472008126876bd7a4b2d206b00462 --label arch=arm64 --label version=0.0.0 . [2023-09-27T20:49:48.817Z] Sending build context to Docker daemon 159.7kB [2023-09-27T20:49:49.089Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T20:49:49.089Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-27T20:49:49.089Z] ---> 53fa28d85eca [2023-09-27T20:49:49.089Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-27T20:49:49.089Z] ---> Running in 8bc818e89e46 [2023-09-27T20:49:50.499Z] Removing intermediate container 8bc818e89e46 [2023-09-27T20:49:50.499Z] ---> 875e3aee62d3 [2023-09-27T20:49:50.499Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-27T20:49:50.768Z] ---> Running in 3d629758fe49 [2023-09-27T20:49:51.035Z] Removing intermediate container 3d629758fe49 [2023-09-27T20:49:51.035Z] ---> 22db3762e7fa [2023-09-27T20:49:51.035Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-27T20:49:51.035Z] ---> Running in 4d6158fcffa5 [2023-09-27T20:49:51.302Z] Removing intermediate container 4d6158fcffa5 [2023-09-27T20:49:51.302Z] ---> 93bc9924fa81 [2023-09-27T20:49:51.302Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-27T20:49:51.302Z] ---> Running in 9d14b3f1d867 [2023-09-27T20:49:51.579Z] Removing intermediate container 9d14b3f1d867 [2023-09-27T20:49:51.579Z] ---> d625bf866322 [2023-09-27T20:49:51.579Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-27T20:49:51.853Z] ---> Running in d78ff9734905 [2023-09-27T20:49:52.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T20:49:53.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T20:49:54.491Z] OK: 270 MiB in 56 packages [2023-09-27T20:49:55.454Z] Removing intermediate container d78ff9734905 [2023-09-27T20:49:55.454Z] ---> b9c69b357ba8 [2023-09-27T20:49:55.454Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-27T20:49:55.454Z] ---> Running in 75fb074304ca [2023-09-27T20:49:55.722Z] Removing intermediate container 75fb074304ca [2023-09-27T20:49:55.722Z] ---> fb368a3fd452 [2023-09-27T20:49:55.722Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-27T20:49:56.305Z] ---> f7aa32fed46c [2023-09-27T20:49:56.305Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T20:49:56.305Z] ---> Running in ed0dc557cf9a [2023-09-27T20:49:58.887Z] Removing intermediate container ed0dc557cf9a [2023-09-27T20:49:58.887Z] ---> ce63756ef2b6 [2023-09-27T20:49:58.887Z] Step 11/25 : COPY . . [2023-09-27T20:49:59.154Z] ---> d9932ca0338f [2023-09-27T20:49:59.154Z] Step 12/25 : RUN $MAKE [2023-09-27T20:49:59.154Z] ---> Running in afd9c336b0d9 [2023-09-27T20:50:00.581Z] 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.32" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-27T20:52:07.290Z] Removing intermediate container afd9c336b0d9 [2023-09-27T20:52:07.290Z] ---> a81ab90f05c3 [2023-09-27T20:52:07.290Z] Step 13/25 : FROM alpine:3.18 [2023-09-27T20:52:07.290Z] 3.18: Pulling from library/alpine [2023-09-27T20:52:07.290Z] 9fda8d8052c6: Already exists [2023-09-27T20:52:07.290Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T20:52:07.290Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T20:52:07.290Z] ---> f6648c04cd6c [2023-09-27T20:52:07.290Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T20:52:07.290Z] ---> Running in ef424d265fe8 [2023-09-27T20:52:07.290Z] Removing intermediate container ef424d265fe8 [2023-09-27T20:52:07.290Z] ---> a5aaa7640a30 [2023-09-27T20:52:07.290Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-27T20:52:07.290Z] ---> Running in 42a95402b4db [2023-09-27T20:52:07.290Z] Removing intermediate container 42a95402b4db [2023-09-27T20:52:07.291Z] ---> 9a0188c7c077 [2023-09-27T20:52:07.291Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-27T20:52:07.291Z] ---> Running in 20fe15cc461e [2023-09-27T20:52:07.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T20:52:07.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T20:52:07.291Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-27T20:52:07.291Z] Executing busybox-1.36.1-r2.trigger [2023-09-27T20:52:07.291Z] OK: 8 MiB in 16 packages [2023-09-27T20:52:07.291Z] Removing intermediate container 20fe15cc461e [2023-09-27T20:52:07.291Z] ---> e9c7e241f63f [2023-09-27T20:52:07.291Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-27T20:52:07.291Z] ---> 05a5fb20f97d [2023-09-27T20:52:07.291Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-27T20:52:07.291Z] ---> 5d5fbbf3ba06 [2023-09-27T20:52:07.291Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-27T20:52:07.291Z] ---> bd7918246a5c [2023-09-27T20:52:07.291Z] Step 20/25 : EXPOSE 59986 [2023-09-27T20:52:07.291Z] ---> Running in 39713dfe487c [2023-09-27T20:52:07.291Z] Removing intermediate container 39713dfe487c [2023-09-27T20:52:07.291Z] ---> d41e241874a5 [2023-09-27T20:52:07.291Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-27T20:52:07.291Z] ---> Running in d516ac10e26b [2023-09-27T20:52:07.291Z] Removing intermediate container d516ac10e26b [2023-09-27T20:52:07.291Z] ---> ebd398fe7726 [2023-09-27T20:52:07.291Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-27T20:52:07.291Z] ---> Running in fb083cc69776 [2023-09-27T20:52:07.291Z] Removing intermediate container fb083cc69776 [2023-09-27T20:52:07.291Z] ---> b6c74e024327 [2023-09-27T20:52:07.291Z] Step 23/25 : LABEL arch=arm64 [2023-09-27T20:52:07.291Z] ---> Running in cde23ed9472f [2023-09-27T20:52:07.291Z] Removing intermediate container cde23ed9472f [2023-09-27T20:52:07.291Z] ---> b662f0f6651c [2023-09-27T20:52:07.291Z] Step 24/25 : LABEL git_sha=b6f2afc8615472008126876bd7a4b2d206b00462 [2023-09-27T20:52:07.291Z] ---> Running in 8ae4adf4fbf1 [2023-09-27T20:52:07.291Z] Removing intermediate container 8ae4adf4fbf1 [2023-09-27T20:52:07.291Z] ---> 5a4cb3430af5 [2023-09-27T20:52:07.291Z] Step 25/25 : LABEL version=0.0.0 [2023-09-27T20:52:07.291Z] ---> Running in eb9b2f759706 [2023-09-27T20:52:07.291Z] Removing intermediate container eb9b2f759706 [2023-09-27T20:52:07.291Z] ---> 0ed8124b98a8 [2023-09-27T20:52:07.291Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T20:52:07.291Z] Successfully built 0ed8124b98a8 [2023-09-27T20:52:07.291Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:52:08.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T20:52:08.149Z] [2023-09-27T20:52:08.149Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:52:08.577Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T20:52:08.577Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-27T20:52:08.577Z] 8998bd30e6a1: Pulling fs layer [2023-09-27T20:52:08.577Z] 04944245beec: Pulling fs layer [2023-09-27T20:52:08.577Z] 699f458cf7ca: Pulling fs layer [2023-09-27T20:52:08.577Z] 765212b225bb: Pulling fs layer [2023-09-27T20:52:08.577Z] f23df028b6ca: Pulling fs layer [2023-09-27T20:52:08.577Z] d65c8cfc05b1: Pulling fs layer [2023-09-27T20:52:08.577Z] 2437ff75d9bd: Pulling fs layer [2023-09-27T20:52:08.577Z] f23df028b6ca: Waiting [2023-09-27T20:52:08.577Z] d65c8cfc05b1: Waiting [2023-09-27T20:52:08.577Z] 2437ff75d9bd: Waiting [2023-09-27T20:52:08.577Z] 765212b225bb: Waiting [2023-09-27T20:52:08.849Z] 04944245beec: Verifying Checksum [2023-09-27T20:52:08.849Z] 04944245beec: Download complete [2023-09-27T20:52:08.849Z] 765212b225bb: Verifying Checksum [2023-09-27T20:52:08.849Z] 765212b225bb: Download complete [2023-09-27T20:52:08.849Z] f23df028b6ca: Verifying Checksum [2023-09-27T20:52:08.849Z] f23df028b6ca: Download complete [2023-09-27T20:52:08.849Z] d65c8cfc05b1: Verifying Checksum [2023-09-27T20:52:08.849Z] d65c8cfc05b1: Download complete [2023-09-27T20:52:08.849Z] 699f458cf7ca: Verifying Checksum [2023-09-27T20:52:08.849Z] 699f458cf7ca: Download complete [2023-09-27T20:52:09.437Z] 8998bd30e6a1: Verifying Checksum [2023-09-27T20:52:09.437Z] 8998bd30e6a1: Download complete [2023-09-27T20:52:11.378Z] 2437ff75d9bd: Verifying Checksum [2023-09-27T20:52:11.378Z] 2437ff75d9bd: Download complete [2023-09-27T20:52:13.332Z] 8998bd30e6a1: Pull complete [2023-09-27T20:52:13.598Z] 04944245beec: Pull complete [2023-09-27T20:52:15.005Z] 699f458cf7ca: Pull complete [2023-09-27T20:52:15.005Z] 765212b225bb: Pull complete [2023-09-27T20:52:15.965Z] f23df028b6ca: Pull complete [2023-09-27T20:52:15.965Z] d65c8cfc05b1: Pull complete [2023-09-27T20:52:30.967Z] 2437ff75d9bd: Pull complete [2023-09-27T20:52:30.967Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-27T20:52:30.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T20:52:30.967Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T20:52:31.286Z] prd-ubuntu20.04-docker-arm64-4c-16g-8069 does not seem to be running inside a container [2023-09-27T20:52:31.345Z] $ 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-09-27T20:52:33.811Z] $ docker top 4a57e0a08f201cf22316cb2da5cc696873cdd4879ccb9ec964bab5ec5ec8da07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:52:34.693Z] ---> job-cost.sh [2023-09-27T20:52:34.693Z] lf-activate-venv: SKIPPING [2023-09-27T20:52:34.693Z] INFO: No Stack... [2023-09-27T20:52:34.959Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-27T20:52:35.908Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T20:52:36.249Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-09-27T20:52:36.249Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T20:52:36.334Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-347-1-stack-cost] [2023-09-27T20:52:36.339Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-347-1-stack-cost] did not exist. Created. [2023-09-27T20:52:36.339Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-347-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T20:52:36.741Z] /w/workspace/device-rest-go/1@tmp/durable-c6ef29ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-27T20:52:37.091Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-27T20:52:37.126Z] Warning: overwriting stash ‘stack-cost’ [2023-09-27T20:52:37.174Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T20:52:37.190Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-347-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T20:52:37.281Z] $ docker stop --time=1 4a57e0a08f201cf22316cb2da5cc696873cdd4879ccb9ec964bab5ec5ec8da07 [2023-09-27T20:52:38.768Z] $ docker rm -f --volumes 4a57e0a08f201cf22316cb2da5cc696873cdd4879ccb9ec964bab5ec5ec8da07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-27T20:52:39.800Z] provisioning config files... [2023-09-27T20:52:39.808Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-347@tmp/config12789066287779055239tmp [Pipeline] { [Pipeline] sh [2023-09-27T20:52:40.149Z] + set +x [2023-09-27T20:52:40.149Z] + bash -s -- [2023-09-27T20:52:40.149Z] + curl -s https://codecov.io/bash [2023-09-27T20:52:40.408Z] [2023-09-27T20:52:40.408Z] _____ _ [2023-09-27T20:52:40.408Z] / ____| | | [2023-09-27T20:52:40.408Z] | | ___ __| | ___ ___ _____ __ [2023-09-27T20:52:40.408Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-27T20:52:40.408Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-27T20:52:40.408Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-27T20:52:40.408Z] Bash-1.0.6 [2023-09-27T20:52:40.408Z] [2023-09-27T20:52:40.408Z] [2023-09-27T20:52:40.408Z] ==> git version 2.25.1 found [2023-09-27T20:52:40.408Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-27T20:52:40.408Z] Release-Date: 2020-01-08 [2023-09-27T20:52:40.408Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-27T20:52:40.408Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-27T20:52:40.408Z] ==> Jenkins CI detected. [2023-09-27T20:52:40.408Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-347 [2023-09-27T20:52:40.408Z] project root: . [2023-09-27T20:52:40.408Z] --> token set from env [2023-09-27T20:52:40.408Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-27T20:52:40.408Z] ==> Running gcov in . (disable via -X gcov) [2023-09-27T20:52:40.408Z] ==> Python coveragepy not found [2023-09-27T20:52:40.408Z] ==> Searching for coverage reports in: [2023-09-27T20:52:40.408Z] + . [2023-09-27T20:52:40.408Z] -> Found 1 reports [2023-09-27T20:52:40.408Z] ==> Detecting git/mercurial file structure [2023-09-27T20:52:40.408Z] ==> Reading reports [2023-09-27T20:52:40.408Z] + ./coverage.out bytes=14499 [2023-09-27T20:52:40.408Z] ==> Appending adjustments [2023-09-27T20:52:40.408Z] https://docs.codecov.io/docs/fixing-reports [2023-09-27T20:52:40.667Z] + Found adjustments [2023-09-27T20:52:40.667Z] ==> Gzipping contents [2023-09-27T20:52:40.667Z] 4.0K /tmp/codecov.tIJ523.gz [2023-09-27T20:52:40.667Z] ==> Uploading reports [2023-09-27T20:52:40.667Z] url: https://codecov.io [2023-09-27T20:52:40.667Z] query: branch=PR-347&commit=b6f2afc8615472008126876bd7a4b2d206b00462&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-347%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=347&job=&cmd_args= [2023-09-27T20:52:40.667Z] -> Pinging Codecov [2023-09-27T20:52:40.667Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-347&commit=b6f2afc8615472008126876bd7a4b2d206b00462&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-347%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=347&job=&cmd_args= [2023-09-27T20:52:40.667Z] -> Uploading to [2023-09-27T20:52:40.667Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-27/4E5D53B4F1F92C436F7061BF334D961C/b6f2afc8615472008126876bd7a4b2d206b00462/7a0e8b6b-2348-4a12-a90a-ab981de799b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T205240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63955e53d55373ca3315b2e5a89622ab5d36e8f1915d14c2ce8408e0dcd573ae [2023-09-27T20:52:40.667Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T20:52:40.667Z] Dload Upload Total Spent Left Speed [2023-09-27T20:52:40.927Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 9233 --:--:-- --:--:-- --:--:-- 9233 [2023-09-27T20:52:40.927Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b6f2afc8615472008126876bd7a4b2d206b00462 [Pipeline] } [2023-09-27T20:52:40.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-27T20:52:42.710Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-347/archives ] [2023-09-27T20:52:42.710Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-347/archives [2023-09-27T20:52:42.710Z] total 16 [2023-09-27T20:52:42.710Z] drwxr-xr-x 3 root root 4096 Sep 27 20:45 . [2023-09-27T20:52:42.710Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 20:46 .. [2023-09-27T20:52:42.710Z] drwxr-xr-x 2 root root 4096 Sep 27 20:45 cost [2023-09-27T20:52:42.710Z] -rw-r--r-- 1 root root 86 Sep 27 20:45 cost.csv [2023-09-27T20:52:42.710Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-347/archives [2023-09-27T20:52:42.710Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-347/archives [2023-09-27T20:52:42.710Z] total 16 [2023-09-27T20:52:42.710Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:45 . [2023-09-27T20:52:42.710Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 20:46 .. [2023-09-27T20:52:42.710Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 20:45 cost [2023-09-27T20:52:42.710Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:52:43.036Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:52:43.937Z] ---> package-listing.sh [2023-09-27T20:52:43.937Z] ++ facter osfamily [2023-09-27T20:52:43.937Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-27T20:52:44.197Z] + OS_FAMILY=debian [2023-09-27T20:52:44.197Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-347 [2023-09-27T20:52:44.197Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-27T20:52:44.197Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-27T20:52:44.197Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-27T20:52:44.197Z] + PACKAGES=/tmp/packages_start.txt [2023-09-27T20:52:44.197Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-347 ']' [2023-09-27T20:52:44.197Z] + PACKAGES=/tmp/packages_end.txt [2023-09-27T20:52:44.197Z] + case "${OS_FAMILY}" in [2023-09-27T20:52:44.197Z] + dpkg -l [2023-09-27T20:52:44.197Z] + grep '^ii' [2023-09-27T20:52:44.197Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-27T20:52:44.197Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-27T20:52:44.197Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-27T20:52:44.197Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-347 ']' [2023-09-27T20:52:44.197Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-347/archives/ [2023-09-27T20:52:44.197Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-347/archives/ [Pipeline] echo [2023-09-27T20:52:44.224Z] 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-347/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-27T20:52:44.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T20:52:45.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T20:52:45.142Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T20:52:45.283Z] prd-ubuntu20.04-docker-8c-8g-8068 does not seem to be running inside a container [2023-09-27T20:52:45.312Z] $ 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-347/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-347 -v /w/workspace/gexfoundry_device-rest-go_PR-347:/w/workspace/gexfoundry_device-rest-go_PR-347:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-347@tmp:/w/workspace/gexfoundry_device-rest-go_PR-347@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-09-27T20:52:46.261Z] $ docker top 1efe65be5715e8df2b7b5b162d71dc4f6717f57b5b9a04718470f1c0bad82056 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T20:52:46.656Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-27T20:52:46.965Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-27T20:52:47.275Z] + ls /var/log/sa-host [2023-09-27T20:52:47.275Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T20:52:47.493Z] provisioning config files... [2023-09-27T20:52:47.501Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-347@tmp/config9180754001527596994tmp [Pipeline] { [Pipeline] echo [2023-09-27T20:52:47.551Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:52:47.864Z] ---> create-netrc.sh [Pipeline] } [2023-09-27T20:52:47.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:52:48.284Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-27T20:52:48.316Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:52:48.626Z] ---> sudo-logs.sh [2023-09-27T20:52:48.626Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-27T20:52:48.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:52:49.026Z] ---> job-cost.sh [2023-09-27T20:52:49.026Z] lf-activate-venv: SKIPPING [2023-09-27T20:52:49.026Z] DEBUG: total: 0.2199999988079071 [2023-09-27T20:52:49.026Z] INFO: Retrieving Stack Cost... [2023-09-27T20:52:49.284Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T20:52:49.852Z] INFO: Archiving Costs [Pipeline] echo [2023-09-27T20:52:49.884Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T20:52:50.215Z] ---> logs-deploy.sh [2023-09-27T20:52:50.215Z] lf-activate-venv: SKIPPING [2023-09-27T20:52:50.215Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-347/1 [2023-09-27T20:52:50.215Z] INFO: archiving workspace using pattern(s): [2023-09-27T20:52:51.152Z] Archives upload complete. [2023-09-27T20:52:51.152Z] INFO: archiving logs to Nexus