Pull request #365 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b53cb1300769efc798f0f93f917b7b69793e0c1f+549007a9ae6a647223285151eabca3507ba312e0 (aa62ee50b86b1d9092f983fd3e4d23a660f65c83) 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-ssh6801623100330342046.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14428539797169743774.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-365/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-365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18159973014510746260.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-365/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6694724342202434862.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh13125874241099156454.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-365/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-365/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4865814406920695001.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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 Running on prd-ubuntu20.04-docker-8c-8g-17086 in /w/workspace/gexfoundry_device-rest-go_PR-365 [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-365 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit b53cb1300769efc798f0f93f917b7b69793e0c1f Merge succeeded, producing b53cb1300769efc798f0f93f917b7b69793e0c1f Checking out Revision b53cb1300769efc798f0f93f917b7b69793e0c1f (PR-365) 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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T20:33:13.861Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T20:33:14.059Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b53cb1300769efc798f0f93f917b7b69793e0c1f # 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 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b53cb1300769efc798f0f93f917b7b69793e0c1f # timeout=10 [Pipeline] echo [2023-11-08T20:33:14.170Z] ========================================================= [2023-11-08T20:33:14.170Z] EdgeX Global Pipelines Version Info [2023-11-08T20:33:14.170Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:33:14.902Z] ------------------- [2023-11-08T20:33:14.902Z] stable info: [2023-11-08T20:33:14.902Z] ------------------- [2023-11-08T20:33:14.902Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T20:33:14.902Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T20:33:14.902Z] Message: update stable to v1.0.257 [2023-11-08T20:33:15.474Z] ------------------- [2023-11-08T20:33:15.474Z] experimental info: [2023-11-08T20:33:15.474Z] ------------------- [2023-11-08T20:33:15.474Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T20:33:15.475Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T20:33:15.475Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T20:33:15.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-08T20:33:15.808Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-08T20:33:15.847Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T20:33:15.895Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T20:33:15.940Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T20:33:15.983Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T20:33:16.022Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T20:33:16.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-08T20:33:16.104Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T20:33:16.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T20:33:16.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T20:33:16.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-08T20:33:16.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T20:33:16.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T20:33:16.375Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T20:33:16.417Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T20:33:16.470Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T20:33:16.512Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T20:33:16.557Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T20:33:16.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T20:33:16.646Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-08T20:33:16.694Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-08T20:33:16.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T20:33:16.787Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T20:33:16.833Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T20:33:16.874Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T20:33:16.916Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T20:33:16.957Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo [2023-11-08T20:33:17.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo [2023-11-08T20:33:17.045Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo [2023-11-08T20:33:17.084Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] echo [2023-11-08T20:33:17.123Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b53cb13 [Pipeline] echo [2023-11-08T20:33:17.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T20:33:17.274Z] provisioning config files... [2023-11-08T20:33:17.292Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/config642656190089961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:33:17.636Z] ---> docker-login.sh [2023-11-08T20:33:17.636Z] nexus3.edgexfoundry.org:10001 [2023-11-08T20:33:17.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:17.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:17.896Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:17.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:17.896Z] [2023-11-08T20:33:17.896Z] Login Succeeded [2023-11-08T20:33:17.896Z] nexus3.edgexfoundry.org:10002 [2023-11-08T20:33:18.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:18.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:18.157Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:18.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:18.157Z] [2023-11-08T20:33:18.157Z] Login Succeeded [2023-11-08T20:33:18.157Z] nexus3.edgexfoundry.org:10003 [2023-11-08T20:33:18.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:18.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:18.157Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:18.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:18.157Z] [2023-11-08T20:33:18.157Z] Login Succeeded [2023-11-08T20:33:18.157Z] nexus3.edgexfoundry.org:10004 [2023-11-08T20:33:18.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:18.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:18.419Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:18.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:18.419Z] [2023-11-08T20:33:18.419Z] Login Succeeded [2023-11-08T20:33:18.419Z] docker.io [2023-11-08T20:33:18.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:18.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:18.679Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:18.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:18.679Z] [2023-11-08T20:33:18.679Z] Login Succeeded [2023-11-08T20:33:18.679Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T20:33:18.707Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T20:33:19.309Z] + git rev-list -1 --merges b53cb1300769efc798f0f93f917b7b69793e0c1f~1..b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] echo [2023-11-08T20:33:19.341Z] -----------> git rev-list -1 --merges b53cb1300769efc798f0f93f917b7b69793e0c1f~1..b53cb1300769efc798f0f93f917b7b69793e0c1f b53cb1300769efc798f0f93f917b7b69793e0c1f [false] [Pipeline] sh [2023-11-08T20:33:19.643Z] + git log --format=format:%s -1 b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] echo [2023-11-08T20:33:19.674Z] ========================================================= [2023-11-08T20:33:19.674Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T20:33:19.674Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T20:33:20.084Z] + git log --format=format:%s -1 b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] echo [2023-11-08T20:33:20.116Z] [semverPrep] GIT_COMMIT: b53cb1300769efc798f0f93f917b7b69793e0c1f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-11-08T20:33:20.144Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T20:33:20.531Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T20:33:20.531Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T20:33:20.531Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T20:33:20.531Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T20:33:20.531Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T20:33:20.531Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T20:33:20.531Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:33:21.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T20:33:21.079Z] [2023-11-08T20:33:21.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:33:21.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T20:33:21.455Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T20:33:21.455Z] b85a868b505f: Pulling fs layer [2023-11-08T20:33:21.455Z] e2be974225ed: Pulling fs layer [2023-11-08T20:33:21.455Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T20:33:21.455Z] 988bab9f4d93: Pulling fs layer [2023-11-08T20:33:21.455Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T20:33:21.455Z] eaf3925da568: Pulling fs layer [2023-11-08T20:33:21.455Z] bab4dde63d76: Pulling fs layer [2023-11-08T20:33:21.455Z] bde34c3a00c8: Pulling fs layer [2023-11-08T20:33:21.455Z] b352a97aabf1: Pulling fs layer [2023-11-08T20:33:21.455Z] 4872d77fe225: Pulling fs layer [2023-11-08T20:33:21.455Z] 5851b861e8e6: Pulling fs layer [2023-11-08T20:33:21.455Z] bde34c3a00c8: Waiting [2023-11-08T20:33:21.455Z] b352a97aabf1: Waiting [2023-11-08T20:33:21.455Z] 988bab9f4d93: Waiting [2023-11-08T20:33:21.455Z] 1469e6f7b9e6: Waiting [2023-11-08T20:33:21.455Z] eaf3925da568: Waiting [2023-11-08T20:33:21.455Z] 5851b861e8e6: Waiting [2023-11-08T20:33:21.455Z] e2be974225ed: Download complete [2023-11-08T20:33:21.455Z] 988bab9f4d93: Verifying Checksum [2023-11-08T20:33:21.455Z] 988bab9f4d93: Download complete [2023-11-08T20:33:21.715Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T20:33:21.715Z] 1469e6f7b9e6: Download complete [2023-11-08T20:33:21.715Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T20:33:21.715Z] 339a4e72a1f5: Download complete [2023-11-08T20:33:21.715Z] eaf3925da568: Download complete [2023-11-08T20:33:21.715Z] bde34c3a00c8: Download complete [2023-11-08T20:33:21.715Z] b352a97aabf1: Verifying Checksum [2023-11-08T20:33:21.715Z] b352a97aabf1: Download complete [2023-11-08T20:33:21.715Z] 4872d77fe225: Verifying Checksum [2023-11-08T20:33:21.715Z] 4872d77fe225: Download complete [2023-11-08T20:33:21.715Z] 5851b861e8e6: Verifying Checksum [2023-11-08T20:33:21.715Z] 5851b861e8e6: Download complete [2023-11-08T20:33:21.715Z] b85a868b505f: Download complete [2023-11-08T20:33:21.973Z] bab4dde63d76: Verifying Checksum [2023-11-08T20:33:21.973Z] bab4dde63d76: Download complete [2023-11-08T20:33:22.908Z] b85a868b505f: Pull complete [2023-11-08T20:33:23.167Z] e2be974225ed: Pull complete [2023-11-08T20:33:23.428Z] 339a4e72a1f5: Pull complete [2023-11-08T20:33:23.686Z] 988bab9f4d93: Pull complete [2023-11-08T20:33:23.946Z] 1469e6f7b9e6: Pull complete [2023-11-08T20:33:23.946Z] eaf3925da568: Pull complete [2023-11-08T20:33:25.851Z] bab4dde63d76: Pull complete [2023-11-08T20:33:25.851Z] bde34c3a00c8: Pull complete [2023-11-08T20:33:25.851Z] b352a97aabf1: Pull complete [2023-11-08T20:33:25.851Z] 4872d77fe225: Pull complete [2023-11-08T20:33:25.851Z] 5851b861e8e6: Pull complete [2023-11-08T20:33:25.851Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T20:33:25.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T20:33:25.851Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T20:33:26.075Z] prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container [2023-11-08T20:33:26.092Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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-11-08T20:33:28.271Z] $ docker top 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T20:33:28.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T20:33:28.489Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T20:33:28.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T20:33:28.588Z] $ docker exec 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae ssh-agent [2023-11-08T20:33:28.713Z] SSH_AUTH_SOCK=/tmp/ssh-Uge72eQGz9E6/agent.32 [2023-11-08T20:33:28.713Z] SSH_AGENT_PID=38 [2023-11-08T20:33:28.721Z] Running ssh-add (command line suppressed) [2023-11-08T20:33:28.808Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-365@tmp/private_key_6699977834983727215.key (/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/private_key_6699977834983727215.key) [2023-11-08T20:33:28.839Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T20:33:29.177Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T20:33:29.188Z] $ docker exec --env ******** --env ******** 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae ssh-agent -k [2023-11-08T20:33:29.278Z] unset SSH_AUTH_SOCK; [2023-11-08T20:33:29.279Z] unset SSH_AGENT_PID; [2023-11-08T20:33:29.279Z] echo Agent pid 38 killed; [2023-11-08T20:33:29.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T20:33:29.402Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T20:33:29.402Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T20:33:29.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T20:33:29.494Z] $ docker exec 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae ssh-agent [2023-11-08T20:33:29.612Z] SSH_AUTH_SOCK=/tmp/ssh-NK6R1lQpYLF9/agent.70 [2023-11-08T20:33:29.613Z] SSH_AGENT_PID=76 [2023-11-08T20:33:29.617Z] Running ssh-add (command line suppressed) [2023-11-08T20:33:29.696Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-365@tmp/private_key_16015992333195511983.key (/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/private_key_16015992333195511983.key) [2023-11-08T20:33:29.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T20:33:30.058Z] + git semver init [2023-11-08T20:33:30.318Z] 2023-11-08 20:33:30,203 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T20:33:30.318Z] 2023-11-08 20:33:30,205 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-365/.semver [2023-11-08T20:33:30.318Z] 2023-11-08 20:33:30,205 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-365/.semver [2023-11-08T20:33:30.318Z] 2023-11-08 20:33:30,205 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-365/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-365, universal_newlines=False, shell=None, istream=None) [2023-11-08T20:33:31.697Z] 2023-11-08 20:33:31,369 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-365/.git/info/exclude [2023-11-08T20:33:31.697Z] 2023-11-08 20:33:31,370 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-365/.semver/PR-365 with force:False [2023-11-08T20:33:31.697Z] 2023-11-08 20:33:31,370 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-365/.semver/PR-365 [2023-11-08T20:33:31.697Z] 2023-11-08 20:33:31,372 [execute] INFO git cat-file --batch-check [2023-11-08T20:33:31.697Z] 2023-11-08 20:33:31,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-365/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T20:33:31.697Z] 2023-11-08 20:33:31,378 [execute] INFO git cat-file --batch [2023-11-08T20:33:31.697Z] 2023-11-08 20:33:31,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-365/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T20:33:31.697Z] 2023-11-08 20:33:31,383 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-365/.semver/PR-365 [2023-11-08T20:33:31.697Z] 0.0.0 [Pipeline] } [2023-11-08T20:33:31.709Z] $ docker exec --env ******** --env ******** 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae ssh-agent -k [2023-11-08T20:33:31.811Z] unset SSH_AUTH_SOCK; [2023-11-08T20:33:31.811Z] unset SSH_AGENT_PID; [2023-11-08T20:33:31.812Z] echo Agent pid 76 killed; [2023-11-08T20:33:31.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T20:33:32.271Z] + git semver [Pipeline] } [2023-11-08T20:33:32.541Z] $ docker stop --time=1 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae [2023-11-08T20:33:33.864Z] $ docker rm -f --volumes 20ad81cc61b61c014e12cb5a6521276f7537f90e29d57d7f36bac64c8c21cdae [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T20:33:34.283Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T20:33:34.595Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T20:33:34.613Z] [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-11-08T20:33:35.180Z] provisioning config files... [2023-11-08T20:33:35.189Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/config17149757680440375907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:33:35.537Z] ---> docker-login.sh [2023-11-08T20:33:35.537Z] nexus3.edgexfoundry.org:10001 [2023-11-08T20:33:35.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:35.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:35.537Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:35.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:35.537Z] [2023-11-08T20:33:35.537Z] Login Succeeded [2023-11-08T20:33:35.537Z] nexus3.edgexfoundry.org:10002 [2023-11-08T20:33:35.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:35.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:35.537Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:35.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:35.537Z] [2023-11-08T20:33:35.537Z] Login Succeeded [2023-11-08T20:33:35.537Z] nexus3.edgexfoundry.org:10003 [2023-11-08T20:33:35.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:35.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:35.796Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:35.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:35.796Z] [2023-11-08T20:33:35.796Z] Login Succeeded [2023-11-08T20:33:35.796Z] nexus3.edgexfoundry.org:10004 [2023-11-08T20:33:35.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:35.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:35.796Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:35.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:35.796Z] [2023-11-08T20:33:35.796Z] Login Succeeded [2023-11-08T20:33:35.796Z] docker.io [2023-11-08T20:33:35.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:33:36.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:33:36.056Z] Configure a credential helper to remove this warning. See [2023-11-08T20:33:36.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:33:36.056Z] [2023-11-08T20:33:36.056Z] Login Succeeded [2023-11-08T20:33:36.056Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T20:33:36.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T20:33:36.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T20:33:36.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T20:33:36.354Z] ========================================================= [2023-11-08T20:33:36.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T20:33:36.354Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:33:36.819Z] + 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-11-08T20:33:36.819Z] Sending build context to Docker daemon 10.95MB [2023-11-08T20:33:36.819Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T20:33:36.819Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T20:33:36.819Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T20:33:36.819Z] 7264a8db6415: Pulling fs layer [2023-11-08T20:33:36.819Z] c4d48a809fc2: Pulling fs layer [2023-11-08T20:33:36.819Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T20:33:36.819Z] ad3a456e5733: Pulling fs layer [2023-11-08T20:33:36.819Z] 33e27b845d1e: Pulling fs layer [2023-11-08T20:33:36.819Z] c68163c4e522: Pulling fs layer [2023-11-08T20:33:36.819Z] 50da416c3ac9: Pulling fs layer [2023-11-08T20:33:36.819Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T20:33:36.819Z] ad3a456e5733: Waiting [2023-11-08T20:33:36.819Z] 33e27b845d1e: Waiting [2023-11-08T20:33:36.819Z] c68163c4e522: Waiting [2023-11-08T20:33:36.819Z] 50da416c3ac9: Waiting [2023-11-08T20:33:36.819Z] 23d2d4c4bb30: Waiting [2023-11-08T20:33:36.819Z] c4d48a809fc2: Download complete [2023-11-08T20:33:36.819Z] ad3a456e5733: Verifying Checksum [2023-11-08T20:33:36.819Z] ad3a456e5733: Download complete [2023-11-08T20:33:37.081Z] 33e27b845d1e: Verifying Checksum [2023-11-08T20:33:37.081Z] 33e27b845d1e: Download complete [2023-11-08T20:33:37.081Z] 7264a8db6415: Verifying Checksum [2023-11-08T20:33:37.081Z] 7264a8db6415: Download complete [2023-11-08T20:33:37.081Z] c68163c4e522: Verifying Checksum [2023-11-08T20:33:37.081Z] c68163c4e522: Download complete [2023-11-08T20:33:37.081Z] 7264a8db6415: Pull complete [2023-11-08T20:33:37.081Z] 23d2d4c4bb30: Download complete [2023-11-08T20:33:37.348Z] c4d48a809fc2: Pull complete [2023-11-08T20:33:37.348Z] 4f1c88b9dad5: Verifying Checksum [2023-11-08T20:33:37.348Z] 4f1c88b9dad5: Download complete [2023-11-08T20:33:37.915Z] 50da416c3ac9: Verifying Checksum [2023-11-08T20:33:37.915Z] 50da416c3ac9: Download complete [2023-11-08T20:33:40.450Z] 4f1c88b9dad5: Pull complete [2023-11-08T20:33:40.709Z] ad3a456e5733: Pull complete [2023-11-08T20:33:40.709Z] 33e27b845d1e: Pull complete [2023-11-08T20:33:40.709Z] c68163c4e522: Pull complete [2023-11-08T20:33:43.246Z] 50da416c3ac9: Pull complete [2023-11-08T20:33:43.817Z] 23d2d4c4bb30: Pull complete [2023-11-08T20:33:43.817Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T20:33:43.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T20:33:43.817Z] ---> 0786185ac409 [2023-11-08T20:33:43.817Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T20:33:47.126Z] ---> Running in 808d63609773 [2023-11-08T20:33:47.126Z] Removing intermediate container 808d63609773 [2023-11-08T20:33:47.126Z] ---> 66fe390d190a [2023-11-08T20:33:47.126Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T20:33:47.126Z] ---> Running in d1887242cdfb [2023-11-08T20:33:47.126Z] Removing intermediate container d1887242cdfb [2023-11-08T20:33:47.126Z] ---> d917c147a16d [2023-11-08T20:33:47.126Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T20:33:47.126Z] ---> Running in b83b495f8750 [2023-11-08T20:33:47.126Z] Removing intermediate container b83b495f8750 [2023-11-08T20:33:47.126Z] ---> 6b39a603ac68 [2023-11-08T20:33:47.126Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T20:33:47.126Z] ---> Running in 4569f1ae3b56 [2023-11-08T20:33:47.126Z] Removing intermediate container 4569f1ae3b56 [2023-11-08T20:33:47.126Z] ---> a94a899844b7 [2023-11-08T20:33:47.126Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T20:33:47.126Z] ---> Running in 35b4bebd9644 [2023-11-08T20:33:47.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T20:33:47.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T20:33:47.650Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T20:33:47.650Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T20:33:47.650Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T20:33:47.910Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T20:33:47.910Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T20:33:47.910Z] OK: 268 MiB in 56 packages [2023-11-08T20:33:48.481Z] Removing intermediate container 35b4bebd9644 [2023-11-08T20:33:48.481Z] ---> 8cd4734d536e [2023-11-08T20:33:48.481Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-08T20:33:48.481Z] ---> Running in 617b6ed57e0f [2023-11-08T20:33:48.481Z] Removing intermediate container 617b6ed57e0f [2023-11-08T20:33:48.481Z] ---> 7d44671c7fbf [2023-11-08T20:33:48.481Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-08T20:33:48.481Z] ---> 47968b3d35b2 [2023-11-08T20:33:48.481Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T20:33:48.481Z] ---> Running in b98e524de86f [2023-11-08T20:33:49.991Z] Still waiting to schedule task [2023-11-08T20:33:49.993Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-08T20:34:27.244Z] Removing intermediate container b98e524de86f [2023-11-08T20:34:27.244Z] ---> 62595bd0d929 [2023-11-08T20:34:27.244Z] Step 11/12 : COPY . . [2023-11-08T20:34:27.244Z] ---> 9dadd00a77d5 [2023-11-08T20:34:27.244Z] Step 12/12 : RUN $MAKE [2023-11-08T20:34:27.244Z] ---> Running in e04325f2f748 [2023-11-08T20:34:27.244Z] noop [2023-11-08T20:34:27.244Z] Removing intermediate container e04325f2f748 [2023-11-08T20:34:27.244Z] ---> 8e663125b42f [2023-11-08T20:34:27.244Z] Successfully built 8e663125b42f [2023-11-08T20:34:27.244Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:34:27.695Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T20:34:27.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T20:34:27.851Z] prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container [2023-11-08T20:34:27.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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-11-08T20:34:28.201Z] $ docker top a089a7c9d467c658044544317a86a49ffc16a3857eff8c07770fad9eb4dbf4ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T20:34:28.615Z] + go version [2023-11-08T20:34:28.615Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T20:34:28.634Z] $ docker stop --time=1 a089a7c9d467c658044544317a86a49ffc16a3857eff8c07770fad9eb4dbf4ae [2023-11-08T20:34:29.888Z] $ docker rm -f --volumes a089a7c9d467c658044544317a86a49ffc16a3857eff8c07770fad9eb4dbf4ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:34:30.639Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T20:34:30.640Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T20:34:30.812Z] prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container [2023-11-08T20:34:30.830Z] $ 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-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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-11-08T20:34:31.186Z] $ docker top 72066a449bb15366d6ba52382217b1d1954a8642254ca0453261be688f94cb3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T20:34:31.603Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-365 [Pipeline] fileExists [Pipeline] sh [2023-11-08T20:34:31.958Z] + make test [2023-11-08T20:34:31.958Z] go test ./... -coverprofile=coverage.out ./... [2023-11-08T20:34:33.336Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-08T20:34:45.547Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-08T20:34:45.547Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-11-08T20:34:50.809Z] go vet ./... [2023-11-08T20:34:54.998Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T20:34:54.998Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T20:34:54.998Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T20:34:55.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T20:34:55.060Z] $ docker stop --time=1 72066a449bb15366d6ba52382217b1d1954a8642254ca0453261be688f94cb3d [2023-11-08T20:34:57.766Z] $ docker rm -f --volumes 72066a449bb15366d6ba52382217b1d1954a8642254ca0453261be688f94cb3d [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T20:34:58.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T20:34:58.406Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T20:34:59.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T20:34:59.421Z] + ls -al . [2023-11-08T20:34:59.421Z] total 176 [2023-11-08T20:34:59.421Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 20:34 . [2023-11-08T20:34:59.421Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:33 .. [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 20:33 .dockerignore [2023-11-08T20:34:59.421Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:34 .git [2023-11-08T20:34:59.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:33 .github [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 20:33 .gitignore [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:33 .golangci.yml [2023-11-08T20:34:59.421Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:33 .semver [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 8 20:33 Attribution.txt [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 8 20:33 CHANGELOG.md [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 8 20:33 Dockerfile [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:33 GOVERNANCE.md [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:33 Jenkinsfile [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:33 LICENSE [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 8 20:33 Makefile [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 20:33 OWNERS.md [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 20:33 README.md [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:33 VERSION [2023-11-08T20:34:59.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:33 bin [2023-11-08T20:34:59.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:33 cmd [2023-11-08T20:34:59.421Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 8 20:34 coverage.out [2023-11-08T20:34:59.421Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:33 driver [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 8 20:33 go.mod [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 20:33 go.sum [2023-11-08T20:34:59.421Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:33 openapi [2023-11-08T20:34:59.421Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 20:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:34:59.811Z] + 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=b53cb1300769efc798f0f93f917b7b69793e0c1f --label arch=amd64 --label version=0.0.0 . [2023-11-08T20:34:59.811Z] Sending build context to Docker daemon 10.97MB [2023-11-08T20:34:59.811Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T20:34:59.811Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T20:34:59.811Z] ---> 8e663125b42f [2023-11-08T20:34:59.811Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T20:35:00.073Z] ---> Running in 3584755d97d1 [2023-11-08T20:35:00.073Z] Removing intermediate container 3584755d97d1 [2023-11-08T20:35:00.073Z] ---> 4d6ee4405082 [2023-11-08T20:35:00.073Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T20:35:00.073Z] ---> Running in 6f8c0367ef72 [2023-11-08T20:35:00.073Z] Removing intermediate container 6f8c0367ef72 [2023-11-08T20:35:00.073Z] ---> ad406707812c [2023-11-08T20:35:00.073Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T20:35:00.073Z] ---> Running in 7810da57e170 [2023-11-08T20:35:00.332Z] Removing intermediate container 7810da57e170 [2023-11-08T20:35:00.332Z] ---> 47147e9b711a [2023-11-08T20:35:00.332Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T20:35:00.332Z] ---> Running in 47f4985154e2 [2023-11-08T20:35:00.332Z] Removing intermediate container 47f4985154e2 [2023-11-08T20:35:00.332Z] ---> 54d30ff3255a [2023-11-08T20:35:00.332Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T20:35:00.332Z] ---> Running in d3386f4672f5 [2023-11-08T20:35:00.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T20:35:00.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T20:35:01.110Z] OK: 268 MiB in 56 packages [2023-11-08T20:35:01.367Z] Removing intermediate container d3386f4672f5 [2023-11-08T20:35:01.367Z] ---> 8f17daa90a24 [2023-11-08T20:35:01.367Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-08T20:35:01.367Z] ---> Running in 7c7d489d03dc [2023-11-08T20:35:01.367Z] Removing intermediate container 7c7d489d03dc [2023-11-08T20:35:01.367Z] ---> ef83a61f4e97 [2023-11-08T20:35:01.367Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-08T20:35:01.629Z] ---> aeb1d0f257fc [2023-11-08T20:35:01.629Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T20:35:01.629Z] ---> Running in 94244230804c [2023-11-08T20:35:02.204Z] Removing intermediate container 94244230804c [2023-11-08T20:35:02.204Z] ---> 5b01cd9c56ae [2023-11-08T20:35:02.204Z] Step 11/25 : COPY . . [2023-11-08T20:35:02.893Z] ---> 640e2972f3f1 [2023-11-08T20:35:02.893Z] Step 12/25 : RUN $MAKE [2023-11-08T20:35:02.893Z] ---> Running in 7c7548a1c353 [2023-11-08T20:35:03.151Z] 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" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-08T20:35:21.243Z] Removing intermediate container 7c7548a1c353 [2023-11-08T20:35:21.243Z] ---> 42cadd96c468 [2023-11-08T20:35:21.243Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T20:35:21.243Z] 3.18: Pulling from library/alpine [2023-11-08T20:35:21.243Z] 96526aa774ef: Pulling fs layer [2023-11-08T20:35:21.243Z] 96526aa774ef: Verifying Checksum [2023-11-08T20:35:21.243Z] 96526aa774ef: Download complete [2023-11-08T20:35:21.243Z] 96526aa774ef: Pull complete [2023-11-08T20:35:21.243Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T20:35:21.243Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T20:35:21.243Z] ---> 8ca4688f4f35 [2023-11-08T20:35:21.243Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-08T20:35:21.243Z] ---> Running in c1e683cede37 [2023-11-08T20:35:21.504Z] Removing intermediate container c1e683cede37 [2023-11-08T20:35:21.504Z] ---> 2fb4fbea905f [2023-11-08T20:35:21.504Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-08T20:35:21.504Z] ---> Running in 6fe5fb128af2 [2023-11-08T20:35:21.504Z] Removing intermediate container 6fe5fb128af2 [2023-11-08T20:35:21.504Z] ---> c3f0f92dad06 [2023-11-08T20:35:21.504Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T20:35:21.504Z] ---> Running in d2803932ecfd [2023-11-08T20:35:21.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T20:35:21.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T20:35:22.021Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T20:35:22.021Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T20:35:22.021Z] OK: 7 MiB in 16 packages [2023-11-08T20:35:22.280Z] Removing intermediate container d2803932ecfd [2023-11-08T20:35:22.280Z] ---> 7495b20ed9b4 [2023-11-08T20:35:22.280Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-08T20:35:23.316Z] ---> 07ae015dc645 [2023-11-08T20:35:23.317Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-08T20:35:23.317Z] ---> b5328f72f6bf [2023-11-08T20:35:23.317Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-08T20:35:23.317Z] ---> 2537b69c0431 [2023-11-08T20:35:23.317Z] Step 20/25 : EXPOSE 59986 [2023-11-08T20:35:23.317Z] ---> Running in d7886b411ce9 [2023-11-08T20:35:23.575Z] Removing intermediate container d7886b411ce9 [2023-11-08T20:35:23.575Z] ---> ac6062b147b4 [2023-11-08T20:35:23.575Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-08T20:35:23.575Z] ---> Running in 75b2b2250f4d [2023-11-08T20:35:23.575Z] Removing intermediate container 75b2b2250f4d [2023-11-08T20:35:23.575Z] ---> fa4e2153a5f4 [2023-11-08T20:35:23.575Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-08T20:35:23.575Z] ---> Running in 54d3cc134e07 [2023-11-08T20:35:23.575Z] Removing intermediate container 54d3cc134e07 [2023-11-08T20:35:23.575Z] ---> c95f373fbc72 [2023-11-08T20:35:23.575Z] Step 23/25 : LABEL arch=amd64 [2023-11-08T20:35:23.575Z] ---> Running in a502ce4e25ec [2023-11-08T20:35:23.835Z] Removing intermediate container a502ce4e25ec [2023-11-08T20:35:23.835Z] ---> a6850394009a [2023-11-08T20:35:23.835Z] Step 24/25 : LABEL git_sha=b53cb1300769efc798f0f93f917b7b69793e0c1f [2023-11-08T20:35:23.835Z] ---> Running in d1e6d8fcb9c9 [2023-11-08T20:35:23.835Z] Removing intermediate container d1e6d8fcb9c9 [2023-11-08T20:35:23.835Z] ---> d4c728f75ee2 [2023-11-08T20:35:23.835Z] Step 25/25 : LABEL version=0.0.0 [2023-11-08T20:35:23.835Z] ---> Running in add4e6238545 [2023-11-08T20:35:23.835Z] Removing intermediate container add4e6238545 [2023-11-08T20:35:23.835Z] ---> ba61f33342ac [2023-11-08T20:35:23.835Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T20:35:23.835Z] Successfully built ba61f33342ac [2023-11-08T20:35:23.835Z] 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-11-08T20:35:24.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T20:35:24.670Z] [2023-11-08T20:35:24.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:35:25.149Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T20:35:25.150Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T20:35:25.150Z] 5eb5b503b376: Pulling fs layer [2023-11-08T20:35:25.150Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T20:35:25.150Z] ec43610c2a17: Pulling fs layer [2023-11-08T20:35:25.150Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T20:35:25.150Z] 33b1e0a273af: Pulling fs layer [2023-11-08T20:35:25.150Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T20:35:25.150Z] 2f39f015ded8: Pulling fs layer [2023-11-08T20:35:25.150Z] 5d3b04190fa2: Waiting [2023-11-08T20:35:25.150Z] 33b1e0a273af: Waiting [2023-11-08T20:35:25.150Z] 2f39f015ded8: Waiting [2023-11-08T20:35:25.150Z] 3a2ae6a8a46f: Waiting [2023-11-08T20:35:25.150Z] 3a2ae6a8a46f: Download complete [2023-11-08T20:35:25.408Z] ec43610c2a17: Verifying Checksum [2023-11-08T20:35:25.408Z] ec43610c2a17: Download complete [2023-11-08T20:35:25.408Z] 33b1e0a273af: Verifying Checksum [2023-11-08T20:35:25.408Z] 33b1e0a273af: Download complete [2023-11-08T20:35:25.408Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T20:35:25.408Z] 5d3b04190fa2: Download complete [2023-11-08T20:35:25.408Z] 5eb5b503b376: Verifying Checksum [2023-11-08T20:35:25.408Z] 5eb5b503b376: Download complete [2023-11-08T20:35:25.976Z] 2f39f015ded8: Download complete [2023-11-08T20:35:26.540Z] 5eb5b503b376: Pull complete [2023-11-08T20:35:26.797Z] 5c69ac0246d0: Pull complete [2023-11-08T20:35:27.054Z] ec43610c2a17: Pull complete [2023-11-08T20:35:27.312Z] 3a2ae6a8a46f: Pull complete [2023-11-08T20:35:27.312Z] 33b1e0a273af: Pull complete [2023-11-08T20:35:27.570Z] 5d3b04190fa2: Pull complete [2023-11-08T20:35:31.752Z] 2f39f015ded8: Pull complete [2023-11-08T20:35:31.752Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T20:35:31.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T20:35:31.752Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T20:35:31.990Z] prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container [2023-11-08T20:35:32.008Z] $ 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-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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-11-08T20:35:35.684Z] $ docker top 5e9f8ba3c9f46b7ad9da7105a361be0d9e98e33fa5baf47e63045800f9b61358 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:35:36.173Z] ---> job-cost.sh [2023-11-08T20:35:36.173Z] lf-activate-venv: SKIPPING [2023-11-08T20:35:36.173Z] INFO: No Stack... [2023-11-08T20:35:36.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T20:35:37.001Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T20:35:37.311Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-365/archives/cost.csv [2023-11-08T20:35:37.312Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T20:35:37.352Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [2023-11-08T20:35:37.357Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] did not exist. Created. [2023-11-08T20:35:37.357Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T20:35:37.745Z] + echo total: 0.4399999976158142 [Pipeline] stash [2023-11-08T20:35:37.793Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T20:35:37.823Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T20:35:37.879Z] $ docker stop --time=1 5e9f8ba3c9f46b7ad9da7105a361be0d9e98e33fa5baf47e63045800f9b61358 [2023-11-08T20:35:39.029Z] $ docker rm -f --volumes 5e9f8ba3c9f46b7ad9da7105a361be0d9e98e33fa5baf47e63045800f9b61358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T20:35:50.724Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17090 in /w/workspace/gexfoundry_device-rest-go_PR-365 [Pipeline] { [Pipeline] ws [2023-11-08T20:35:50.788Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-11-08T20:35:50.865Z] The recommended git tool is: git [2023-11-08T20:36:02.001Z] using credential edgex-jenkins-ssh [2023-11-08T20:36:02.017Z] Cloning the remote Git repository [2023-11-08T20:36:02.088Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-08T20:36:02.194Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-11-08T20:36:02.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-08T20:36:02.532Z] > git --version # timeout=10 [2023-11-08T20:36:02.627Z] > git --version # 'git version 2.25.1' [2023-11-08T20:36:02.630Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T20:36:02.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T20:36:04.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-08T20:36:04.936Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T20:36:06.613Z] Merging remotes/origin/main commit 549007a9ae6a647223285151eabca3507ba312e0 into PR head commit b53cb1300769efc798f0f93f917b7b69793e0c1f [2023-11-08T20:36:06.875Z] Merge succeeded, producing b53cb1300769efc798f0f93f917b7b69793e0c1f [2023-11-08T20:36:06.875Z] Checking out Revision b53cb1300769efc798f0f93f917b7b69793e0c1f (PR-365) [2023-11-08T20:36:07.346Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-11-08T20:36:07.395Z] > git --version # timeout=10 [2023-11-08T20:36:07.405Z] > git --version # 'git version 2.25.1' [2023-11-08T20:36:07.420Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T20:36:05.968Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-08T20:36:06.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-08T20:36:06.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T20:36:06.055Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-08T20:36:06.633Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T20:36:06.704Z] > git checkout -f b53cb1300769efc798f0f93f917b7b69793e0c1f # timeout=10 [2023-11-08T20:36:06.779Z] > git remote # timeout=10 [2023-11-08T20:36:06.797Z] > git config --get remote.origin.url # timeout=10 [2023-11-08T20:36:06.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T20:36:06.830Z] > git merge 549007a9ae6a647223285151eabca3507ba312e0 # timeout=10 [2023-11-08T20:36:06.855Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-08T20:36:06.881Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T20:36:06.895Z] > git checkout -f b53cb1300769efc798f0f93f917b7b69793e0c1f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T20:36:08.555Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T20:36:08.555Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T20:36:08.555Z] Dload Upload Total Spent Left Speed [2023-11-08T20:36:08.555Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2023-11-08T20:36:09.156Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T20:36:09.519Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T20:36:09.519Z] + sudo tee /etc/docker/daemon.new [2023-11-08T20:36:09.519Z] { [2023-11-08T20:36:09.519Z] "registry-mirrors": [ [2023-11-08T20:36:09.519Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T20:36:09.519Z] ], [2023-11-08T20:36:09.519Z] "bip": "10.250.0.254/24", [2023-11-08T20:36:09.519Z] "hosts": [ [2023-11-08T20:36:09.519Z] "tcp://0.0.0.0:5555", [2023-11-08T20:36:09.519Z] "unix:///var/run/docker.sock" [2023-11-08T20:36:09.519Z] ], [2023-11-08T20:36:09.519Z] "mtu": 1458, [2023-11-08T20:36:09.519Z] "selinux-enabled": true, [2023-11-08T20:36:09.519Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T20:36:09.519Z] } [Pipeline] sh [2023-11-08T20:36:09.861Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T20:36:10.256Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T20:36:28.586Z] provisioning config files... [2023-11-08T20:36:28.611Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config18000635812374568577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:36:28.997Z] ---> docker-login.sh [2023-11-08T20:36:28.997Z] nexus3.edgexfoundry.org:10001 [2023-11-08T20:36:29.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:36:29.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:36:29.536Z] Configure a credential helper to remove this warning. See [2023-11-08T20:36:29.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:36:29.536Z] [2023-11-08T20:36:29.536Z] Login Succeeded [2023-11-08T20:36:29.536Z] nexus3.edgexfoundry.org:10002 [2023-11-08T20:36:30.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:36:30.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:36:30.314Z] Configure a credential helper to remove this warning. See [2023-11-08T20:36:30.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:36:30.314Z] [2023-11-08T20:36:30.314Z] Login Succeeded [2023-11-08T20:36:30.314Z] nexus3.edgexfoundry.org:10003 [2023-11-08T20:36:30.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:36:30.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:36:30.586Z] Configure a credential helper to remove this warning. See [2023-11-08T20:36:30.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:36:30.586Z] [2023-11-08T20:36:30.586Z] Login Succeeded [2023-11-08T20:36:30.586Z] nexus3.edgexfoundry.org:10004 [2023-11-08T20:36:30.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:36:30.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:36:30.855Z] Configure a credential helper to remove this warning. See [2023-11-08T20:36:30.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:36:30.855Z] [2023-11-08T20:36:30.855Z] Login Succeeded [2023-11-08T20:36:30.855Z] docker.io [2023-11-08T20:36:31.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T20:36:31.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T20:36:31.392Z] Configure a credential helper to remove this warning. See [2023-11-08T20:36:31.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T20:36:31.392Z] [2023-11-08T20:36:31.392Z] Login Succeeded [2023-11-08T20:36:31.392Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T20:36:31.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T20:36:31.780Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T20:36:31.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T20:36:31.864Z] ========================================================= [2023-11-08T20:36:31.864Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T20:36:31.864Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:36:32.370Z] + 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-11-08T20:36:32.370Z] Sending build context to Docker daemon 125.4kB [2023-11-08T20:36:32.639Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T20:36:32.639Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-08T20:36:32.639Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T20:36:32.639Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T20:36:32.639Z] 5d54e960e981: Pulling fs layer [2023-11-08T20:36:32.639Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T20:36:32.639Z] f0e02332f6b5: Pulling fs layer [2023-11-08T20:36:32.639Z] cefa15bbcfad: Pulling fs layer [2023-11-08T20:36:32.639Z] 17808c966233: Pulling fs layer [2023-11-08T20:36:32.639Z] f4c1fc716caa: Pulling fs layer [2023-11-08T20:36:32.639Z] f0e02332f6b5: Waiting [2023-11-08T20:36:32.639Z] cefa15bbcfad: Waiting [2023-11-08T20:36:32.639Z] 17808c966233: Waiting [2023-11-08T20:36:32.639Z] f4c1fc716caa: Waiting [2023-11-08T20:36:32.639Z] 5d54e960e981: Verifying Checksum [2023-11-08T20:36:32.918Z] f0e02332f6b5: Verifying Checksum [2023-11-08T20:36:32.918Z] f0e02332f6b5: Download complete [2023-11-08T20:36:32.918Z] cefa15bbcfad: Download complete [2023-11-08T20:36:33.191Z] f4c1fc716caa: Verifying Checksum [2023-11-08T20:36:33.191Z] f4c1fc716caa: Download complete [2023-11-08T20:36:33.784Z] 9fda8d8052c6: Pull complete [2023-11-08T20:36:34.370Z] 5d54e960e981: Pull complete [2023-11-08T20:36:34.639Z] c4a7e357bf2a: Verifying Checksum [2023-11-08T20:36:34.639Z] c4a7e357bf2a: Download complete [2023-11-08T20:36:35.605Z] 17808c966233: Verifying Checksum [2023-11-08T20:36:35.605Z] 17808c966233: Download complete [2023-11-08T20:36:48.057Z] c4a7e357bf2a: Pull complete [2023-11-08T20:36:48.057Z] f0e02332f6b5: Pull complete [2023-11-08T20:36:48.324Z] cefa15bbcfad: Pull complete [2023-11-08T20:36:56.518Z] 17808c966233: Pull complete [2023-11-08T20:36:57.928Z] f4c1fc716caa: Pull complete [2023-11-08T20:36:57.929Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T20:36:57.929Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T20:36:57.929Z] ---> ea914061e18c [2023-11-08T20:36:57.929Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-08T20:36:58.893Z] ---> Running in 94e60048c9c8 [2023-11-08T20:36:59.158Z] Removing intermediate container 94e60048c9c8 [2023-11-08T20:36:59.158Z] ---> bbdc260ca581 [2023-11-08T20:36:59.158Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T20:36:59.158Z] ---> Running in 03d66dc5082e [2023-11-08T20:36:59.424Z] Removing intermediate container 03d66dc5082e [2023-11-08T20:36:59.424Z] ---> 02c9035f9aa2 [2023-11-08T20:36:59.424Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T20:36:59.691Z] ---> Running in 710dc0739975 [2023-11-08T20:36:59.691Z] Removing intermediate container 710dc0739975 [2023-11-08T20:36:59.691Z] ---> aa103167a1dd [2023-11-08T20:36:59.691Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T20:36:59.959Z] ---> Running in c40dbadc5184 [2023-11-08T20:37:00.226Z] Removing intermediate container c40dbadc5184 [2023-11-08T20:37:00.226Z] ---> becfe7ee3737 [2023-11-08T20:37:00.226Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T20:37:00.226Z] ---> Running in 3217e2eb4896 [2023-11-08T20:37:01.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T20:37:01.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T20:37:02.608Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-08T20:37:02.876Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-08T20:37:02.876Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-08T20:37:02.876Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-08T20:37:02.876Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T20:37:02.876Z] OK: 270 MiB in 56 packages [2023-11-08T20:37:03.832Z] Removing intermediate container 3217e2eb4896 [2023-11-08T20:37:03.832Z] ---> a3f240260704 [2023-11-08T20:37:03.832Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-08T20:37:03.833Z] ---> Running in 0206a5b6fd81 [2023-11-08T20:37:04.102Z] Removing intermediate container 0206a5b6fd81 [2023-11-08T20:37:04.102Z] ---> 145209ce6327 [2023-11-08T20:37:04.102Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-08T20:37:04.686Z] ---> ebb65e592f7b [2023-11-08T20:37:04.686Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T20:37:04.686Z] ---> Running in 065503373c48 [2023-11-08T20:38:26.295Z] Removing intermediate container 065503373c48 [2023-11-08T20:38:26.295Z] ---> e0d4ba06a828 [2023-11-08T20:38:26.295Z] Step 11/12 : COPY . . [2023-11-08T20:38:26.295Z] ---> 08b1aa98865b [2023-11-08T20:38:26.295Z] Step 12/12 : RUN $MAKE [2023-11-08T20:38:26.295Z] ---> Running in 9b5a34d1365a [2023-11-08T20:38:26.295Z] noop [2023-11-08T20:38:26.295Z] Removing intermediate container 9b5a34d1365a [2023-11-08T20:38:26.295Z] ---> e47ce2fe6258 [2023-11-08T20:38:26.295Z] Successfully built e47ce2fe6258 [2023-11-08T20:38:26.295Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:38:26.789Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T20:38:26.790Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T20:38:27.073Z] prd-ubuntu20.04-docker-arm64-4c-16g-17090 does not seem to be running inside a container [2023-11-08T20:38:27.129Z] $ 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-11-08T20:38:28.373Z] $ docker top 5d2808bacc864b795846d075c99800891db8a150178928193fcf3e5aa66ac8b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T20:38:29.259Z] + go version [2023-11-08T20:38:29.259Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T20:38:29.291Z] $ docker stop --time=1 5d2808bacc864b795846d075c99800891db8a150178928193fcf3e5aa66ac8b3 [2023-11-08T20:38:30.912Z] $ docker rm -f --volumes 5d2808bacc864b795846d075c99800891db8a150178928193fcf3e5aa66ac8b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:38:31.769Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T20:38:31.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T20:38:32.021Z] prd-ubuntu20.04-docker-arm64-4c-16g-17090 does not seem to be running inside a container [2023-11-08T20:38:32.084Z] $ 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-11-08T20:38:35.703Z] $ docker top 26ea6d7339a4aedca7386cac949257c7830006f07023e540906935a9703276cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T20:38:36.594Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-08T20:38:36.999Z] + make test [2023-11-08T20:38:37.267Z] go test ./... -coverprofile=coverage.out ./... [2023-11-08T20:38:41.527Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-08T20:40:18.159Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-08T20:40:18.159Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2023-11-08T20:40:18.159Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T20:40:18.159Z] go vet ./... [2023-11-08T20:40:28.229Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T20:40:28.229Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T20:40:28.229Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T20:40:28.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T20:40:28.560Z] $ docker stop --time=1 26ea6d7339a4aedca7386cac949257c7830006f07023e540906935a9703276cb [2023-11-08T20:40:30.397Z] $ docker rm -f --volumes 26ea6d7339a4aedca7386cac949257c7830006f07023e540906935a9703276cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T20:40:31.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T20:40:31.609Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T20:40:32.031Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T20:40:32.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T20:40:32.966Z] + ls -al . [2023-11-08T20:40:32.966Z] total 172 [2023-11-08T20:40:32.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:38 . [2023-11-08T20:40:32.966Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 20:36 .. [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 20:36 .dockerignore [2023-11-08T20:40:32.966Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 20:36 .git [2023-11-08T20:40:32.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:36 .github [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 20:36 .gitignore [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 20:36 .golangci.yml [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 8 20:36 Attribution.txt [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 8 20:36 CHANGELOG.md [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 8 20:36 Dockerfile [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 20:36 GOVERNANCE.md [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 20:36 Jenkinsfile [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 20:36 LICENSE [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 8 20:36 Makefile [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 20:36 OWNERS.md [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 20:36 README.md [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 20:33 VERSION [2023-11-08T20:40:32.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:36 bin [2023-11-08T20:40:32.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:36 cmd [2023-11-08T20:40:32.966Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 8 20:40 coverage.out [2023-11-08T20:40:32.966Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 20:36 driver [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 8 20:36 go.mod [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 20:36 go.sum [2023-11-08T20:40:32.966Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 20:36 openapi [2023-11-08T20:40:32.966Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:40:33.401Z] + 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=b53cb1300769efc798f0f93f917b7b69793e0c1f --label arch=arm64 --label version=0.0.0 . [2023-11-08T20:40:33.401Z] Sending build context to Docker daemon 140.8kB [2023-11-08T20:40:33.669Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T20:40:33.669Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-08T20:40:33.669Z] ---> e47ce2fe6258 [2023-11-08T20:40:33.669Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-08T20:40:33.669Z] ---> Running in d234944ceb98 [2023-11-08T20:40:33.938Z] Removing intermediate container d234944ceb98 [2023-11-08T20:40:33.938Z] ---> 9c92e4434b7d [2023-11-08T20:40:33.938Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-08T20:40:34.205Z] ---> Running in ca02c93d2753 [2023-11-08T20:40:34.671Z] Removing intermediate container ca02c93d2753 [2023-11-08T20:40:34.672Z] ---> bf002b735140 [2023-11-08T20:40:34.672Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-08T20:40:34.672Z] ---> Running in c451d1940dca [2023-11-08T20:40:34.672Z] Removing intermediate container c451d1940dca [2023-11-08T20:40:34.672Z] ---> ef473b1cc60b [2023-11-08T20:40:34.672Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-08T20:40:34.948Z] ---> Running in d57d3a540416 [2023-11-08T20:40:35.216Z] Removing intermediate container d57d3a540416 [2023-11-08T20:40:35.216Z] ---> 847e1c40a3de [2023-11-08T20:40:35.216Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-08T20:40:35.216Z] ---> Running in aa486466d5cc [2023-11-08T20:40:36.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T20:40:36.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T20:40:37.854Z] OK: 270 MiB in 56 packages [2023-11-08T20:40:38.443Z] Removing intermediate container aa486466d5cc [2023-11-08T20:40:38.443Z] ---> 9579288ed5ab [2023-11-08T20:40:38.443Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-08T20:40:38.443Z] ---> Running in 4f7c5ed4cd90 [2023-11-08T20:40:38.710Z] Removing intermediate container 4f7c5ed4cd90 [2023-11-08T20:40:38.710Z] ---> 4442f7d8de3a [2023-11-08T20:40:38.710Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-08T20:40:42.962Z] ---> 195ad0268d4c [2023-11-08T20:40:42.962Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T20:40:42.962Z] ---> Running in 03eee6b40b36 [2023-11-08T20:40:44.373Z] Removing intermediate container 03eee6b40b36 [2023-11-08T20:40:44.373Z] ---> 5092cd4f03e3 [2023-11-08T20:40:44.373Z] Step 11/25 : COPY . . [2023-11-08T20:40:44.986Z] ---> a166696f7aed [2023-11-08T20:40:44.986Z] Step 12/25 : RUN $MAKE [2023-11-08T20:40:44.986Z] ---> Running in c8d7cb72e6e2 [2023-11-08T20:40:45.945Z] 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" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-08T20:42:37.630Z] Removing intermediate container c8d7cb72e6e2 [2023-11-08T20:42:37.630Z] ---> 1cecc750e897 [2023-11-08T20:42:37.630Z] Step 13/25 : FROM alpine:3.18 [2023-11-08T20:42:37.630Z] 3.18: Pulling from library/alpine [2023-11-08T20:42:37.630Z] 579b34f0a95b: Pulling fs layer [2023-11-08T20:42:37.630Z] 579b34f0a95b: Verifying Checksum [2023-11-08T20:42:37.630Z] 579b34f0a95b: Download complete [2023-11-08T20:42:37.630Z] 579b34f0a95b: Pull complete [2023-11-08T20:42:37.630Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T20:42:37.630Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T20:42:37.630Z] ---> 3cc203321400 [2023-11-08T20:42:37.630Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-08T20:42:37.630Z] ---> Running in 4363e0f9876a [2023-11-08T20:42:37.630Z] Removing intermediate container 4363e0f9876a [2023-11-08T20:42:37.630Z] ---> 6881063b8abb [2023-11-08T20:42:37.630Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-08T20:42:37.630Z] ---> Running in 5b29110fe753 [2023-11-08T20:42:37.630Z] Removing intermediate container 5b29110fe753 [2023-11-08T20:42:37.630Z] ---> d92693afccce [2023-11-08T20:42:37.630Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-08T20:42:37.630Z] ---> Running in afd9f4c7b74c [2023-11-08T20:42:37.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T20:42:37.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T20:42:37.630Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-08T20:42:37.630Z] Executing busybox-1.36.1-r2.trigger [2023-11-08T20:42:37.630Z] OK: 8 MiB in 16 packages [2023-11-08T20:42:37.630Z] Removing intermediate container afd9f4c7b74c [2023-11-08T20:42:37.630Z] ---> b14f13999cdc [2023-11-08T20:42:37.630Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-08T20:42:37.630Z] ---> 549a23df577e [2023-11-08T20:42:37.630Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-08T20:42:37.630Z] ---> 9b0ebd54f30a [2023-11-08T20:42:37.630Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-08T20:42:37.630Z] ---> 5e670ddcd736 [2023-11-08T20:42:37.630Z] Step 20/25 : EXPOSE 59986 [2023-11-08T20:42:37.630Z] ---> Running in 25e8041ebfeb [2023-11-08T20:42:37.630Z] Removing intermediate container 25e8041ebfeb [2023-11-08T20:42:37.630Z] ---> 8fbe777f23c5 [2023-11-08T20:42:37.630Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-08T20:42:37.630Z] ---> Running in e5015f7862e1 [2023-11-08T20:42:37.630Z] Removing intermediate container e5015f7862e1 [2023-11-08T20:42:37.630Z] ---> 6caee452c968 [2023-11-08T20:42:37.630Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-08T20:42:37.630Z] ---> Running in ad4ff34c24a2 [2023-11-08T20:42:37.630Z] Removing intermediate container ad4ff34c24a2 [2023-11-08T20:42:37.630Z] ---> 282c62447120 [2023-11-08T20:42:37.630Z] Step 23/25 : LABEL arch=arm64 [2023-11-08T20:42:37.630Z] ---> Running in 3050e90272a8 [2023-11-08T20:42:37.630Z] Removing intermediate container 3050e90272a8 [2023-11-08T20:42:37.630Z] ---> 5bf2e276b87a [2023-11-08T20:42:37.630Z] Step 24/25 : LABEL git_sha=b53cb1300769efc798f0f93f917b7b69793e0c1f [2023-11-08T20:42:37.630Z] ---> Running in 74e60a3b99fb [2023-11-08T20:42:37.630Z] Removing intermediate container 74e60a3b99fb [2023-11-08T20:42:37.630Z] ---> 0c290dc15269 [2023-11-08T20:42:37.630Z] Step 25/25 : LABEL version=0.0.0 [2023-11-08T20:42:37.630Z] ---> Running in db3b1a40ef8c [2023-11-08T20:42:37.630Z] Removing intermediate container db3b1a40ef8c [2023-11-08T20:42:37.630Z] ---> b1a38197c818 [2023-11-08T20:42:37.630Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T20:42:37.630Z] Successfully built b1a38197c818 [2023-11-08T20:42:37.630Z] 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-11-08T20:42:38.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T20:42:38.455Z] [2023-11-08T20:42:38.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:42:38.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T20:42:38.863Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T20:42:38.863Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T20:42:38.863Z] 04944245beec: Pulling fs layer [2023-11-08T20:42:38.863Z] 699f458cf7ca: Pulling fs layer [2023-11-08T20:42:38.863Z] 765212b225bb: Pulling fs layer [2023-11-08T20:42:38.863Z] f23df028b6ca: Pulling fs layer [2023-11-08T20:42:38.863Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T20:42:38.863Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T20:42:38.863Z] 765212b225bb: Waiting [2023-11-08T20:42:38.863Z] f23df028b6ca: Waiting [2023-11-08T20:42:38.863Z] d65c8cfc05b1: Waiting [2023-11-08T20:42:39.132Z] 04944245beec: Verifying Checksum [2023-11-08T20:42:39.132Z] 04944245beec: Download complete [2023-11-08T20:42:39.132Z] 765212b225bb: Verifying Checksum [2023-11-08T20:42:39.132Z] 765212b225bb: Download complete [2023-11-08T20:42:39.132Z] f23df028b6ca: Verifying Checksum [2023-11-08T20:42:39.132Z] f23df028b6ca: Download complete [2023-11-08T20:42:39.132Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T20:42:39.132Z] d65c8cfc05b1: Download complete [2023-11-08T20:42:39.400Z] 699f458cf7ca: Verifying Checksum [2023-11-08T20:42:39.400Z] 699f458cf7ca: Download complete [2023-11-08T20:42:39.666Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T20:42:39.666Z] 8998bd30e6a1: Download complete [2023-11-08T20:42:42.247Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T20:42:42.247Z] 2437ff75d9bd: Download complete [2023-11-08T20:42:44.188Z] 8998bd30e6a1: Pull complete [2023-11-08T20:42:44.770Z] 04944245beec: Pull complete [2023-11-08T20:42:48.104Z] 699f458cf7ca: Pull complete [2023-11-08T20:42:48.104Z] 765212b225bb: Pull complete [2023-11-08T20:42:48.684Z] f23df028b6ca: Pull complete [2023-11-08T20:42:48.684Z] d65c8cfc05b1: Pull complete [2023-11-08T20:43:06.888Z] 2437ff75d9bd: Pull complete [2023-11-08T20:43:06.888Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T20:43:06.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T20:43:06.888Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T20:43:07.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-17090 does not seem to be running inside a container [2023-11-08T20:43:07.290Z] $ 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-11-08T20:43:09.786Z] $ docker top 3ae515919229a6d583ae082abbb0d80b3995847368518cd655bcdc362d22d09d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:43:10.811Z] ---> job-cost.sh [2023-11-08T20:43:10.811Z] lf-activate-venv: SKIPPING [2023-11-08T20:43:10.811Z] INFO: No Stack... [2023-11-08T20:43:11.403Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T20:43:12.391Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T20:43:13.091Z] + cut -d, -f6 [2023-11-08T20:43:13.091Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-11-08T20:43:13.174Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [2023-11-08T20:43:13.178Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] did not exist. Created. [2023-11-08T20:43:13.178Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T20:43:13.605Z] /w/workspace/device-rest-go/1@tmp/durable-8f788be0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T20:43:14.270Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T20:43:14.304Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T20:43:14.348Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T20:43:14.363Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T20:43:14.427Z] $ docker stop --time=1 3ae515919229a6d583ae082abbb0d80b3995847368518cd655bcdc362d22d09d [2023-11-08T20:43:15.889Z] $ docker rm -f --volumes 3ae515919229a6d583ae082abbb0d80b3995847368518cd655bcdc362d22d09d [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-11-08T20:43:16.851Z] provisioning config files... [2023-11-08T20:43:16.859Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/config4961015083373802305tmp [Pipeline] { [Pipeline] sh [2023-11-08T20:43:17.198Z] + set +x [2023-11-08T20:43:17.198Z] + bash -s -- [2023-11-08T20:43:17.198Z] + curl -s https://codecov.io/bash [2023-11-08T20:43:17.198Z] [2023-11-08T20:43:17.198Z] _____ _ [2023-11-08T20:43:17.198Z] / ____| | | [2023-11-08T20:43:17.198Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T20:43:17.198Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T20:43:17.198Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T20:43:17.198Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T20:43:17.198Z] Bash-1.0.6 [2023-11-08T20:43:17.198Z] [2023-11-08T20:43:17.198Z] [2023-11-08T20:43:17.198Z] ==> git version 2.25.1 found [2023-11-08T20:43:17.198Z] ==> 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-11-08T20:43:17.198Z] Release-Date: 2020-01-08 [2023-11-08T20:43:17.198Z] 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-11-08T20:43:17.198Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T20:43:17.198Z] ==> Jenkins CI detected. [2023-11-08T20:43:17.198Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-365 [2023-11-08T20:43:17.198Z] project root: . [2023-11-08T20:43:17.198Z] --> token set from env [2023-11-08T20:43:17.198Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T20:43:17.198Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T20:43:17.198Z] ==> Python coveragepy not found [2023-11-08T20:43:17.198Z] ==> Searching for coverage reports in: [2023-11-08T20:43:17.198Z] + . [2023-11-08T20:43:17.198Z] -> Found 1 reports [2023-11-08T20:43:17.459Z] ==> Detecting git/mercurial file structure [2023-11-08T20:43:17.459Z] ==> Reading reports [2023-11-08T20:43:17.459Z] + ./coverage.out bytes=14499 [2023-11-08T20:43:17.459Z] ==> Appending adjustments [2023-11-08T20:43:17.459Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T20:43:17.459Z] + Found adjustments [2023-11-08T20:43:17.459Z] ==> Gzipping contents [2023-11-08T20:43:17.459Z] 4.0K /tmp/codecov.ZARVlf.gz [2023-11-08T20:43:17.459Z] ==> Uploading reports [2023-11-08T20:43:17.459Z] url: https://codecov.io [2023-11-08T20:43:17.459Z] query: branch=PR-365&commit=b53cb1300769efc798f0f93f917b7b69793e0c1f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=365&job=&cmd_args= [2023-11-08T20:43:17.459Z] -> Pinging Codecov [2023-11-08T20:43:17.459Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-365&commit=b53cb1300769efc798f0f93f917b7b69793e0c1f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=365&job=&cmd_args= [2023-11-08T20:43:17.459Z] -> Uploading to [2023-11-08T20:43:17.459Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/4E5D53B4F1F92C436F7061BF334D961C/b53cb1300769efc798f0f93f917b7b69793e0c1f/37084410-e96e-4fc5-943b-e92d3c7b7e3b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T204317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=320df6f0d18d9a86449218443747b932e70ae9da38d2cdd3559354eb11639730 [2023-11-08T20:43:17.459Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T20:43:17.459Z] Dload Upload Total Spent Left Speed [2023-11-08T20:43:17.719Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 10179 --:--:-- --:--:-- --:--:-- 10179 [2023-11-08T20:43:17.719Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b53cb1300769efc798f0f93f917b7b69793e0c1f [Pipeline] } [2023-11-08T20:43:17.751Z] 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-11-08T20:43:19.496Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-365/archives ] [2023-11-08T20:43:19.496Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-365/archives [2023-11-08T20:43:19.496Z] total 16 [2023-11-08T20:43:19.496Z] drwxr-xr-x 3 root root 4096 Nov 8 20:35 . [2023-11-08T20:43:19.496Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 20:35 .. [2023-11-08T20:43:19.496Z] drwxr-xr-x 2 root root 4096 Nov 8 20:35 cost [2023-11-08T20:43:19.496Z] -rw-r--r-- 1 root root 87 Nov 8 20:35 cost.csv [2023-11-08T20:43:19.496Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-365/archives [2023-11-08T20:43:19.496Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-365/archives [2023-11-08T20:43:19.496Z] total 16 [2023-11-08T20:43:19.496Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 20:35 . [2023-11-08T20:43:19.496Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 20:35 .. [2023-11-08T20:43:19.496Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 20:35 cost [2023-11-08T20:43:19.496Z] -rw-r--r-- 1 jenkins jenkins 87 Nov 8 20:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:43:19.824Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:43:20.708Z] ---> package-listing.sh [2023-11-08T20:43:20.709Z] ++ facter osfamily [2023-11-08T20:43:20.709Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T20:43:20.968Z] + OS_FAMILY=debian [2023-11-08T20:43:20.968Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-365 [2023-11-08T20:43:20.968Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T20:43:20.968Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T20:43:20.968Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T20:43:20.968Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T20:43:20.969Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-365 ']' [2023-11-08T20:43:20.969Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T20:43:20.969Z] + case "${OS_FAMILY}" in [2023-11-08T20:43:20.969Z] + dpkg -l [2023-11-08T20:43:20.969Z] + grep '^ii' [2023-11-08T20:43:20.969Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T20:43:20.969Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T20:43:20.969Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T20:43:20.969Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-365 ']' [2023-11-08T20:43:20.969Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-365/archives/ [2023-11-08T20:43:20.969Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-365/archives/ [Pipeline] echo [2023-11-08T20:43:21.006Z] 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-08T20:43:21.305Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T20:43:21.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T20:43:21.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T20:43:22.091Z] prd-ubuntu20.04-docker-8c-8g-17086 does not seem to be running inside a container [2023-11-08T20:43:22.114Z] $ 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-365/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-365 -v /w/workspace/gexfoundry_device-rest-go_PR-365:/w/workspace/gexfoundry_device-rest-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-365@tmp:/w/workspace/gexfoundry_device-rest-go_PR-365@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-11-08T20:43:22.337Z] $ docker top dc5fd4c5fd142c0b7499bbf4f05506a0c8f36cdb17a648b235d2863ec75c6d2b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T20:43:22.735Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T20:43:23.044Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T20:43:23.361Z] + ls /var/log/sa-host [2023-11-08T20:43:23.361Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T20:43:23.610Z] provisioning config files... [2023-11-08T20:43:23.618Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-365@tmp/config1861783943758306522tmp [Pipeline] { [Pipeline] echo [2023-11-08T20:43:23.671Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:43:23.984Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T20:43:24.012Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:43:24.414Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T20:43:24.445Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:43:24.762Z] ---> sudo-logs.sh [2023-11-08T20:43:24.762Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T20:43:24.844Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:43:25.157Z] ---> job-cost.sh [2023-11-08T20:43:25.157Z] lf-activate-venv: SKIPPING [2023-11-08T20:43:25.157Z] DEBUG: total: 0.4399999976158142 [2023-11-08T20:43:25.157Z] INFO: Retrieving Stack Cost... [2023-11-08T20:43:25.418Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T20:43:25.990Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T20:43:26.030Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T20:43:26.336Z] ---> logs-deploy.sh [2023-11-08T20:43:26.336Z] lf-activate-venv: SKIPPING [2023-11-08T20:43:26.336Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-365/1 [2023-11-08T20:43:26.336Z] INFO: archiving workspace using pattern(s): [2023-11-08T20:43:27.274Z] Archives upload complete. [2023-11-08T20:43:27.274Z] INFO: archiving logs to Nexus