Pull request #324 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f234df3dbf1425c65cf8e8e65e0448f29381b915+55c123e92a81b52ef904480be8a3eb69bc416b29 (ef29ad5cb2dda5455533ac273fcd33df2e0cdba1) 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-ssh15877118976535342593.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10716706508371837799.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-324/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-324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6258732165795449406.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-324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5971994711111389246.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6389301314579433102.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-324/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-324/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4452384687215232596.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16781’ Running on prd-ubuntu20.04-docker-8c-8g-16783 in /w/workspace/gexfoundry_device-rest-go_PR-324 [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-324 # 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/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit f234df3dbf1425c65cf8e8e65e0448f29381b915 Merge succeeded, producing f234df3dbf1425c65cf8e8e65e0448f29381b915 Checking out Revision f234df3dbf1425c65cf8e8e65e0448f29381b915 (PR-324) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f f234df3dbf1425c65cf8e8e65e0448f29381b915 # 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 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f234df3dbf1425c65cf8e8e65e0448f29381b915 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-24T20:59:26.137Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-24T20:59:26.327Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T20:59:26.432Z] ========================================================= [2023-05-24T20:59:26.432Z] EdgeX Global Pipelines Version Info [2023-05-24T20:59:26.432Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-24T20:59:27.176Z] ------------------- [2023-05-24T20:59:27.176Z] stable info: [2023-05-24T20:59:27.176Z] ------------------- [2023-05-24T20:59:27.176Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-24T20:59:27.176Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T20:59:27.176Z] Message: update stable to v1.0.249 [2023-05-24T20:59:27.750Z] ------------------- [2023-05-24T20:59:27.750Z] experimental info: [2023-05-24T20:59:27.750Z] ------------------- [2023-05-24T20:59:27.750Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-24T20:59:27.750Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T20:59:27.750Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-24T20:59:28.160Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-24T20:59:28.203Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-24T20:59:28.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-24T20:59:28.281Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-24T20:59:28.320Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-24T20:59:28.355Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-24T20:59:28.397Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-24T20:59:28.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-24T20:59:28.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-24T20:59:28.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-24T20:59:28.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-24T20:59:28.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-24T20:59:28.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-24T20:59:28.670Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-24T20:59:28.710Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T20:59:28.849Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T20:59:28.887Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T20:59:28.929Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T20:59:28.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-24T20:59:29.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-24T20:59:29.165Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-24T20:59:29.503Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-24T20:59:29.545Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-24T20:59:29.587Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-24T20:59:29.677Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-24T20:59:29.795Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-24T20:59:29.843Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-24T20:59:29.891Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-324 [Pipeline] echo [2023-05-24T20:59:29.938Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-324 [Pipeline] echo [2023-05-24T20:59:30.132Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-324 [Pipeline] echo [2023-05-24T20:59:30.268Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f234df3dbf1425c65cf8e8e65e0448f29381b915 [Pipeline] echo [2023-05-24T20:59:30.434Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f234df3 [Pipeline] echo [2023-05-24T20:59:30.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T20:59:30.668Z] provisioning config files... [2023-05-24T20:59:30.681Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-324@tmp/config3776625235621609430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T20:59:31.029Z] ---> docker-login.sh [2023-05-24T20:59:31.029Z] nexus3.edgexfoundry.org:10001 [2023-05-24T20:59:31.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:31.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:31.289Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:31.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:31.289Z] [2023-05-24T20:59:31.289Z] Login Succeeded [2023-05-24T20:59:31.289Z] nexus3.edgexfoundry.org:10002 [2023-05-24T20:59:31.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:31.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:31.561Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:31.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:31.561Z] [2023-05-24T20:59:31.561Z] Login Succeeded [2023-05-24T20:59:31.561Z] nexus3.edgexfoundry.org:10003 [2023-05-24T20:59:31.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:31.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:31.561Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:31.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:31.561Z] [2023-05-24T20:59:31.561Z] Login Succeeded [2023-05-24T20:59:31.561Z] nexus3.edgexfoundry.org:10004 [2023-05-24T20:59:31.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:31.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:31.830Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:31.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:31.830Z] [2023-05-24T20:59:31.830Z] Login Succeeded [2023-05-24T20:59:31.830Z] docker.io [2023-05-24T20:59:31.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:32.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:32.094Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:32.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:32.094Z] [2023-05-24T20:59:32.094Z] Login Succeeded [2023-05-24T20:59:32.094Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T20:59:32.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-24T20:59:32.862Z] + git rev-list -1 --merges f234df3dbf1425c65cf8e8e65e0448f29381b915~1..f234df3dbf1425c65cf8e8e65e0448f29381b915 [Pipeline] echo [2023-05-24T20:59:32.924Z] -----------> git rev-list -1 --merges f234df3dbf1425c65cf8e8e65e0448f29381b915~1..f234df3dbf1425c65cf8e8e65e0448f29381b915 f234df3dbf1425c65cf8e8e65e0448f29381b915 [false] [Pipeline] sh [2023-05-24T20:59:33.236Z] + git log --format=format:%s -1 f234df3dbf1425c65cf8e8e65e0448f29381b915 [Pipeline] echo [2023-05-24T20:59:33.270Z] ========================================================= [2023-05-24T20:59:33.270Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T20:59:33.270Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T20:59:33.709Z] + git log --format=format:%s -1 f234df3dbf1425c65cf8e8e65e0448f29381b915 [Pipeline] echo [2023-05-24T20:59:33.744Z] [semverPrep] GIT_COMMIT: f234df3dbf1425c65cf8e8e65e0448f29381b915, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-24T20:59:33.775Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-24T20:59:34.178Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T20:59:34.178Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-24T20:59:34.178Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-24T20:59:34.178Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-24T20:59:34.178Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-24T20:59:34.178Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-24T20:59:34.178Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T20:59:34.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T20:59:34.622Z] [2023-05-24T20:59:34.622Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T20:59:34.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T20:59:34.998Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-24T20:59:34.998Z] b85a868b505f: Pulling fs layer [2023-05-24T20:59:34.998Z] e2be974225ed: Pulling fs layer [2023-05-24T20:59:34.998Z] 339a4e72a1f5: Pulling fs layer [2023-05-24T20:59:34.998Z] 988bab9f4d93: Pulling fs layer [2023-05-24T20:59:34.998Z] 1469e6f7b9e6: Pulling fs layer [2023-05-24T20:59:34.998Z] eaf3925da568: Pulling fs layer [2023-05-24T20:59:34.998Z] bab4dde63d76: Pulling fs layer [2023-05-24T20:59:34.998Z] bde34c3a00c8: Pulling fs layer [2023-05-24T20:59:34.998Z] b352a97aabf1: Pulling fs layer [2023-05-24T20:59:34.998Z] 4872d77fe225: Pulling fs layer [2023-05-24T20:59:34.998Z] 5851b861e8e6: Pulling fs layer [2023-05-24T20:59:34.998Z] bab4dde63d76: Waiting [2023-05-24T20:59:34.998Z] bde34c3a00c8: Waiting [2023-05-24T20:59:34.998Z] b352a97aabf1: Waiting [2023-05-24T20:59:34.998Z] 4872d77fe225: Waiting [2023-05-24T20:59:34.998Z] 5851b861e8e6: Waiting [2023-05-24T20:59:34.998Z] 988bab9f4d93: Waiting [2023-05-24T20:59:34.998Z] 1469e6f7b9e6: Waiting [2023-05-24T20:59:34.998Z] eaf3925da568: Waiting [2023-05-24T20:59:34.998Z] e2be974225ed: Verifying Checksum [2023-05-24T20:59:34.998Z] e2be974225ed: Download complete [2023-05-24T20:59:34.998Z] 988bab9f4d93: Verifying Checksum [2023-05-24T20:59:34.998Z] 988bab9f4d93: Download complete [2023-05-24T20:59:34.998Z] 1469e6f7b9e6: Verifying Checksum [2023-05-24T20:59:34.998Z] 1469e6f7b9e6: Download complete [2023-05-24T20:59:34.998Z] eaf3925da568: Verifying Checksum [2023-05-24T20:59:34.998Z] eaf3925da568: Download complete [2023-05-24T20:59:34.998Z] 339a4e72a1f5: Verifying Checksum [2023-05-24T20:59:34.998Z] 339a4e72a1f5: Download complete [2023-05-24T20:59:35.259Z] bde34c3a00c8: Verifying Checksum [2023-05-24T20:59:35.259Z] bde34c3a00c8: Download complete [2023-05-24T20:59:35.259Z] b352a97aabf1: Verifying Checksum [2023-05-24T20:59:35.259Z] b352a97aabf1: Download complete [2023-05-24T20:59:35.259Z] 4872d77fe225: Verifying Checksum [2023-05-24T20:59:35.259Z] 4872d77fe225: Download complete [2023-05-24T20:59:35.259Z] 5851b861e8e6: Verifying Checksum [2023-05-24T20:59:35.259Z] 5851b861e8e6: Download complete [2023-05-24T20:59:35.259Z] b85a868b505f: Verifying Checksum [2023-05-24T20:59:35.259Z] b85a868b505f: Download complete [2023-05-24T20:59:36.653Z] b85a868b505f: Pull complete [2023-05-24T20:59:36.653Z] bab4dde63d76: Verifying Checksum [2023-05-24T20:59:36.653Z] bab4dde63d76: Download complete [2023-05-24T20:59:36.914Z] e2be974225ed: Pull complete [2023-05-24T20:59:37.490Z] 339a4e72a1f5: Pull complete [2023-05-24T20:59:37.490Z] 988bab9f4d93: Pull complete [2023-05-24T20:59:37.750Z] 1469e6f7b9e6: Pull complete [2023-05-24T20:59:37.750Z] eaf3925da568: Pull complete [2023-05-24T20:59:39.673Z] bab4dde63d76: Pull complete [2023-05-24T20:59:39.673Z] bde34c3a00c8: Pull complete [2023-05-24T20:59:39.674Z] b352a97aabf1: Pull complete [2023-05-24T20:59:39.935Z] 4872d77fe225: Pull complete [2023-05-24T20:59:39.935Z] 5851b861e8e6: Pull complete [2023-05-24T20:59:39.935Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-24T20:59:39.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T20:59:39.935Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T20:59:40.181Z] prd-ubuntu20.04-docker-8c-8g-16783 does not seem to be running inside a container [2023-05-24T20:59:40.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-324 -v /w/workspace/gexfoundry_device-rest-go_PR-324:/w/workspace/gexfoundry_device-rest-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-324@tmp:/w/workspace/gexfoundry_device-rest-go_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-24T20:59:43.914Z] $ docker top 835c65c17d3925610780eeda9202ee56dd80c0df621307080a969e2b0a634e42 -eo pid,comm [2023-05-24T20:59:43.971Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-24T20:59:43.971Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T20:59:44.107Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T20:59:44.108Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T20:59:44.227Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T20:59:44.233Z] $ docker exec 835c65c17d3925610780eeda9202ee56dd80c0df621307080a969e2b0a634e42 ssh-agent [2023-05-24T20:59:44.347Z] SSH_AUTH_SOCK=/tmp/ssh-9eLYuReabNHO/agent.33 [2023-05-24T20:59:44.347Z] SSH_AGENT_PID=39 [2023-05-24T20:59:44.354Z] Running ssh-add (command line suppressed) [2023-05-24T20:59:44.465Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-324@tmp/private_key_3016738909233630264.key (/w/workspace/gexfoundry_device-rest-go_PR-324@tmp/private_key_3016738909233630264.key) [2023-05-24T20:59:44.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T20:59:44.903Z] + git tag --points-at HEAD [Pipeline] } [2023-05-24T20:59:44.933Z] $ docker exec --env ******** --env ******** 835c65c17d3925610780eeda9202ee56dd80c0df621307080a969e2b0a634e42 ssh-agent -k [2023-05-24T20:59:45.031Z] unset SSH_AUTH_SOCK; [2023-05-24T20:59:45.031Z] unset SSH_AGENT_PID; [2023-05-24T20:59:45.032Z] echo Agent pid 39 killed; [2023-05-24T20:59:45.043Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-24T20:59:45.129Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T20:59:45.129Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T20:59:45.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T20:59:45.271Z] $ docker exec 835c65c17d3925610780eeda9202ee56dd80c0df621307080a969e2b0a634e42 ssh-agent [2023-05-24T20:59:45.379Z] SSH_AUTH_SOCK=/tmp/ssh-4J34IdaKeIjz/agent.71 [2023-05-24T20:59:45.379Z] SSH_AGENT_PID=77 [2023-05-24T20:59:45.384Z] Running ssh-add (command line suppressed) [2023-05-24T20:59:45.482Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-324@tmp/private_key_15461556392607300461.key (/w/workspace/gexfoundry_device-rest-go_PR-324@tmp/private_key_15461556392607300461.key) [2023-05-24T20:59:45.498Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T20:59:45.830Z] + git semver init [2023-05-24T20:59:46.091Z] 2023-05-24 20:59:46,023 [run_init] DEBUG init version:0.0.0 force:False [2023-05-24T20:59:46.091Z] 2023-05-24 20:59:46,024 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-324/.semver [2023-05-24T20:59:46.091Z] 2023-05-24 20:59:46,025 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-324/.semver [2023-05-24T20:59:46.091Z] 2023-05-24 20:59:46,025 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-324/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-324, universal_newlines=False, shell=None, istream=None) [2023-05-24T20:59:47.473Z] 2023-05-24 20:59:47,069 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-324/.git/info/exclude [2023-05-24T20:59:47.473Z] 2023-05-24 20:59:47,069 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-324/.semver/PR-324 with force:False [2023-05-24T20:59:47.473Z] 2023-05-24 20:59:47,069 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-324/.semver/PR-324 [2023-05-24T20:59:47.473Z] 2023-05-24 20:59:47,073 [execute] INFO git cat-file --batch-check [2023-05-24T20:59:47.473Z] 2023-05-24 20:59:47,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-324/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T20:59:47.473Z] 2023-05-24 20:59:47,079 [execute] INFO git cat-file --batch [2023-05-24T20:59:47.473Z] 2023-05-24 20:59:47,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-324/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T20:59:47.473Z] 2023-05-24 20:59:47,083 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-324/.semver/PR-324 [2023-05-24T20:59:47.473Z] 0.0.0 [Pipeline] } [2023-05-24T20:59:47.504Z] $ docker exec --env ******** --env ******** 835c65c17d3925610780eeda9202ee56dd80c0df621307080a969e2b0a634e42 ssh-agent -k [2023-05-24T20:59:47.601Z] unset SSH_AUTH_SOCK; [2023-05-24T20:59:47.602Z] unset SSH_AGENT_PID; [2023-05-24T20:59:47.602Z] echo Agent pid 77 killed; [2023-05-24T20:59:47.609Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T20:59:48.040Z] + git semver [Pipeline] } [2023-05-24T20:59:48.325Z] $ docker stop --time=1 835c65c17d3925610780eeda9202ee56dd80c0df621307080a969e2b0a634e42 [2023-05-24T20:59:49.663Z] $ docker rm -f --volumes 835c65c17d3925610780eeda9202ee56dd80c0df621307080a969e2b0a634e42 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T20:59:50.062Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-24T20:59:50.338Z] Stashed 1 file(s) [Pipeline] echo [2023-05-24T20:59:50.357Z] [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-05-24T20:59:51.044Z] provisioning config files... [2023-05-24T20:59:51.057Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-324@tmp/config4123180087334928360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T20:59:51.400Z] ---> docker-login.sh [2023-05-24T20:59:51.400Z] nexus3.edgexfoundry.org:10001 [2023-05-24T20:59:51.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:51.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:51.400Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:51.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:51.400Z] [2023-05-24T20:59:51.400Z] Login Succeeded [2023-05-24T20:59:51.400Z] nexus3.edgexfoundry.org:10002 [2023-05-24T20:59:51.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:51.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:51.400Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:51.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:51.400Z] [2023-05-24T20:59:51.400Z] Login Succeeded [2023-05-24T20:59:51.400Z] nexus3.edgexfoundry.org:10003 [2023-05-24T20:59:51.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:51.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:51.660Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:51.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:51.660Z] [2023-05-24T20:59:51.660Z] Login Succeeded [2023-05-24T20:59:51.660Z] nexus3.edgexfoundry.org:10004 [2023-05-24T20:59:51.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:51.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:51.660Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:51.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:51.660Z] [2023-05-24T20:59:51.660Z] Login Succeeded [2023-05-24T20:59:51.660Z] docker.io [2023-05-24T20:59:51.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T20:59:51.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T20:59:51.919Z] Configure a credential helper to remove this warning. See [2023-05-24T20:59:51.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T20:59:51.919Z] [2023-05-24T20:59:51.919Z] Login Succeeded [2023-05-24T20:59:51.919Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T20:59:51.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T20:59:52.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T20:59:52.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T20:59:52.218Z] ========================================================= [2023-05-24T20:59:52.218Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-24T20:59:52.218Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T20:59:52.688Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-24T20:59:52.688Z] Sending build context to Docker daemon 10.94MB [2023-05-24T20:59:52.688Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T20:59:52.688Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-24T20:59:52.688Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-24T20:59:52.688Z] f56be85fc22e: Pulling fs layer [2023-05-24T20:59:52.688Z] 85791d961cd3: Pulling fs layer [2023-05-24T20:59:52.688Z] d694b5ae8c79: Pulling fs layer [2023-05-24T20:59:52.688Z] 9f32a84ed3da: Pulling fs layer [2023-05-24T20:59:52.688Z] 4d19c01a9841: Pulling fs layer [2023-05-24T20:59:52.688Z] 9325e15d5711: Pulling fs layer [2023-05-24T20:59:52.688Z] 556b6ee489ea: Pulling fs layer [2023-05-24T20:59:52.688Z] c5a4b2cf53e6: Pulling fs layer [2023-05-24T20:59:52.688Z] 9f32a84ed3da: Waiting [2023-05-24T20:59:52.688Z] 4d19c01a9841: Waiting [2023-05-24T20:59:52.688Z] 9325e15d5711: Waiting [2023-05-24T20:59:52.688Z] 556b6ee489ea: Waiting [2023-05-24T20:59:52.688Z] c5a4b2cf53e6: Waiting [2023-05-24T20:59:52.950Z] 85791d961cd3: Verifying Checksum [2023-05-24T20:59:52.950Z] 85791d961cd3: Download complete [2023-05-24T20:59:52.950Z] 9f32a84ed3da: Download complete [2023-05-24T20:59:52.950Z] 4d19c01a9841: Verifying Checksum [2023-05-24T20:59:52.950Z] f56be85fc22e: Verifying Checksum [2023-05-24T20:59:52.950Z] f56be85fc22e: Download complete [2023-05-24T20:59:52.950Z] 9325e15d5711: Verifying Checksum [2023-05-24T20:59:52.950Z] 9325e15d5711: Download complete [2023-05-24T20:59:52.950Z] f56be85fc22e: Pull complete [2023-05-24T20:59:53.209Z] 85791d961cd3: Pull complete [2023-05-24T20:59:53.469Z] c5a4b2cf53e6: Verifying Checksum [2023-05-24T20:59:53.469Z] c5a4b2cf53e6: Download complete [2023-05-24T20:59:53.469Z] d694b5ae8c79: Verifying Checksum [2023-05-24T20:59:53.469Z] d694b5ae8c79: Download complete [2023-05-24T20:59:53.729Z] 556b6ee489ea: Verifying Checksum [2023-05-24T20:59:53.729Z] 556b6ee489ea: Download complete [2023-05-24T20:59:57.013Z] d694b5ae8c79: Pull complete [2023-05-24T20:59:57.013Z] 9f32a84ed3da: Pull complete [2023-05-24T20:59:57.013Z] 4d19c01a9841: Pull complete [2023-05-24T20:59:57.272Z] 9325e15d5711: Pull complete [2023-05-24T20:59:59.820Z] 556b6ee489ea: Pull complete [2023-05-24T21:00:00.800Z] c5a4b2cf53e6: Pull complete [2023-05-24T21:00:00.800Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-24T21:00:00.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-24T21:00:00.800Z] ---> c4be618373d6 [2023-05-24T21:00:00.800Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-24T21:00:05.806Z] Still waiting to schedule task [2023-05-24T21:00:05.806Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16782’ is offline [2023-05-24T21:00:10.908Z] ---> Running in c9e47f3ce030 [2023-05-24T21:00:10.908Z] Removing intermediate container c9e47f3ce030 [2023-05-24T21:00:10.908Z] ---> 2e69547752e3 [2023-05-24T21:00:10.908Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-24T21:00:10.908Z] ---> Running in 5fc08f9e684d [2023-05-24T21:00:10.908Z] Removing intermediate container 5fc08f9e684d [2023-05-24T21:00:10.908Z] ---> 572914303a79 [2023-05-24T21:00:10.908Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-24T21:00:10.908Z] ---> Running in 772f577a4f99 [2023-05-24T21:00:10.908Z] Removing intermediate container 772f577a4f99 [2023-05-24T21:00:10.908Z] ---> 91e456c14bfb [2023-05-24T21:00:10.908Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-24T21:00:10.908Z] ---> Running in 8ebff7dabe11 [2023-05-24T21:00:10.909Z] Removing intermediate container 8ebff7dabe11 [2023-05-24T21:00:10.909Z] ---> 1852cea51a2c [2023-05-24T21:00:10.909Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-24T21:00:10.909Z] ---> Running in 152be9fab8bb [2023-05-24T21:00:10.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:00:10.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T21:00:10.909Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-24T21:00:10.909Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-24T21:00:10.909Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-24T21:00:10.909Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-24T21:00:10.909Z] Executing busybox-1.35.0-r29.trigger [2023-05-24T21:00:10.909Z] OK: 269 MiB in 57 packages [2023-05-24T21:00:11.170Z] Removing intermediate container 152be9fab8bb [2023-05-24T21:00:11.170Z] ---> ff5fbc921ec2 [2023-05-24T21:00:11.170Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-24T21:00:11.430Z] ---> Running in 66505520fe12 [2023-05-24T21:00:11.430Z] Removing intermediate container 66505520fe12 [2023-05-24T21:00:11.430Z] ---> c87909182c21 [2023-05-24T21:00:11.430Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-24T21:00:11.430Z] ---> 4544e7e632c6 [2023-05-24T21:00:11.430Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T21:00:11.691Z] ---> Running in 7dccb300c5a4 [2023-05-24T21:00:58.404Z] Removing intermediate container 7dccb300c5a4 [2023-05-24T21:00:58.404Z] ---> ef399c657650 [2023-05-24T21:00:58.404Z] Step 11/12 : COPY . . [2023-05-24T21:00:58.404Z] ---> eb71f2be490a [2023-05-24T21:00:58.404Z] Step 12/12 : RUN $MAKE [2023-05-24T21:00:58.404Z] ---> Running in 4d02f75072b9 [2023-05-24T21:00:58.404Z] noop [2023-05-24T21:00:58.404Z] Removing intermediate container 4d02f75072b9 [2023-05-24T21:00:58.404Z] ---> ad3bead7b404 [2023-05-24T21:00:58.404Z] Successfully built ad3bead7b404 [2023-05-24T21:00:58.404Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:00:58.867Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T21:00:58.867Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:00:59.019Z] prd-ubuntu20.04-docker-8c-8g-16783 does not seem to be running inside a container [2023-05-24T21:00:59.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-324 -v /w/workspace/gexfoundry_device-rest-go_PR-324:/w/workspace/gexfoundry_device-rest-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-324@tmp:/w/workspace/gexfoundry_device-rest-go_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T21:00:59.399Z] $ docker top e55a39329d3b9563f8257da271433ad283691e57654bef4db2154308ad5ab682 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T21:00:59.791Z] + go version [2023-05-24T21:00:59.791Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-24T21:00:59.825Z] $ docker stop --time=1 e55a39329d3b9563f8257da271433ad283691e57654bef4db2154308ad5ab682 [2023-05-24T21:01:01.079Z] $ docker rm -f --volumes e55a39329d3b9563f8257da271433ad283691e57654bef4db2154308ad5ab682 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:01:01.849Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T21:01:01.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:01:01.990Z] prd-ubuntu20.04-docker-8c-8g-16783 does not seem to be running inside a container [2023-05-24T21:01:02.024Z] $ 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-324 -v /w/workspace/gexfoundry_device-rest-go_PR-324:/w/workspace/gexfoundry_device-rest-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-324@tmp:/w/workspace/gexfoundry_device-rest-go_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-24T21:01:02.362Z] $ docker top 25a0b3a8191ed958ff35bf733df5e50a298fc7e0ed798d7bc89eec3f88f2de19 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T21:01:02.752Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-324 [Pipeline] fileExists [Pipeline] sh [2023-05-24T21:01:03.112Z] + make test [2023-05-24T21:01:03.112Z] go test ./... -coverprofile=coverage.out ./... [2023-05-24T21:01:08.384Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-24T21:01:18.347Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-24T21:01:18.347Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-05-24T21:01:23.614Z] go vet ./... [2023-05-24T21:01:26.240Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T21:01:26.240Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T21:01:26.240Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T21:01:26.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T21:01:26.310Z] $ docker stop --time=1 25a0b3a8191ed958ff35bf733df5e50a298fc7e0ed798d7bc89eec3f88f2de19 [2023-05-24T21:01:31.384Z] $ docker rm -f --volumes 25a0b3a8191ed958ff35bf733df5e50a298fc7e0ed798d7bc89eec3f88f2de19 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T21:01:32.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T21:01:32.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-24T21:01:32.819Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T21:01:33.136Z] + ls -al . [2023-05-24T21:01:33.136Z] total 184 [2023-05-24T21:01:33.136Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 21:01 . [2023-05-24T21:01:33.136Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 20:59 .. [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 20:59 .dockerignore [2023-05-24T21:01:33.136Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 20:59 .git [2023-05-24T21:01:33.136Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 20:59 .github [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 329 May 24 20:59 .gitignore [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 20:59 .golangci.yml [2023-05-24T21:01:33.136Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 20:59 .semver [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 24 20:59 Attribution.txt [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 24 20:59 CHANGELOG.md [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 24 20:59 Dockerfile [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 20:59 GOVERNANCE.md [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 20:59 Jenkinsfile [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 20:59 LICENSE [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 24 20:59 Makefile [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 20:59 OWNERS.md [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 24 20:59 README.md [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 20:59 VERSION [2023-05-24T21:01:33.136Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 20:59 bin [2023-05-24T21:01:33.136Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 20:59 cmd [2023-05-24T21:01:33.136Z] -rw-r--r-- 1 jenkins jenkins 14663 May 24 21:01 coverage.out [2023-05-24T21:01:33.136Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 20:59 driver [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 3361 May 24 20:59 go.mod [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 31246 May 24 20:59 go.sum [2023-05-24T21:01:33.136Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 20:59 snap [2023-05-24T21:01:33.136Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:01:33.580Z] + 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=f234df3dbf1425c65cf8e8e65e0448f29381b915 --label arch=amd64 --label version=0.0.0 . [2023-05-24T21:01:33.580Z] Sending build context to Docker daemon 10.95MB [2023-05-24T21:01:33.580Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T21:01:33.580Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-24T21:01:33.580Z] ---> ad3bead7b404 [2023-05-24T21:01:33.580Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-24T21:01:33.844Z] ---> Running in 039437c7e84c [2023-05-24T21:01:33.844Z] Removing intermediate container 039437c7e84c [2023-05-24T21:01:33.844Z] ---> 45bc63e78742 [2023-05-24T21:01:33.844Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-24T21:01:33.844Z] ---> Running in a48cde46ccbe [2023-05-24T21:01:34.103Z] Removing intermediate container a48cde46ccbe [2023-05-24T21:01:34.103Z] ---> 73235f7e4600 [2023-05-24T21:01:34.103Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-24T21:01:34.103Z] ---> Running in 1f2ea548bd80 [2023-05-24T21:01:34.103Z] Removing intermediate container 1f2ea548bd80 [2023-05-24T21:01:34.103Z] ---> b1ef94399b96 [2023-05-24T21:01:34.103Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-24T21:01:34.103Z] ---> Running in 3107382daddf [2023-05-24T21:01:34.362Z] Removing intermediate container 3107382daddf [2023-05-24T21:01:34.362Z] ---> 2bf8582c241b [2023-05-24T21:01:34.362Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-24T21:01:34.362Z] ---> Running in 1f44e2b9b021 [2023-05-24T21:01:34.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:01:34.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T21:01:34.880Z] OK: 269 MiB in 57 packages [2023-05-24T21:01:35.139Z] Removing intermediate container 1f44e2b9b021 [2023-05-24T21:01:35.139Z] ---> 0d1486da645e [2023-05-24T21:01:35.139Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-24T21:01:35.139Z] ---> Running in b3e5cbfba8f5 [2023-05-24T21:01:35.139Z] Removing intermediate container b3e5cbfba8f5 [2023-05-24T21:01:35.139Z] ---> 44a4aaabc413 [2023-05-24T21:01:35.139Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-24T21:01:35.398Z] ---> ae9e5f257cc4 [2023-05-24T21:01:35.398Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T21:01:35.398Z] ---> Running in ddf603a60d6f [2023-05-24T21:01:35.966Z] Removing intermediate container ddf603a60d6f [2023-05-24T21:01:35.966Z] ---> 8d3f321e70b4 [2023-05-24T21:01:35.966Z] Step 11/25 : COPY . . [2023-05-24T21:01:36.535Z] ---> 510eb47b66bf [2023-05-24T21:01:36.535Z] Step 12/25 : RUN $MAKE [2023-05-24T21:01:36.535Z] ---> Running in 555be7506357 [2023-05-24T21:01:36.794Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-24T21:01:55.433Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16784 in /w/workspace/gexfoundry_device-rest-go_PR-324 [Pipeline] { [Pipeline] ws [2023-05-24T21:01:55.490Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-24T21:01:55.578Z] The recommended git tool is: git [2023-05-24T21:01:58.735Z] Removing intermediate container 555be7506357 [2023-05-24T21:01:58.735Z] ---> 5597e769780f [2023-05-24T21:01:58.735Z] Step 13/25 : FROM alpine:3.17 [2023-05-24T21:01:58.735Z] 3.17: Pulling from library/alpine [2023-05-24T21:01:58.735Z] f56be85fc22e: Already exists [2023-05-24T21:01:58.735Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T21:01:58.735Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T21:01:58.735Z] ---> 9ed4aefc74f6 [2023-05-24T21:01:58.735Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T21:01:58.735Z] ---> Running in 04ca03918509 [2023-05-24T21:01:58.735Z] Removing intermediate container 04ca03918509 [2023-05-24T21:01:58.735Z] ---> 8df094f94b81 [2023-05-24T21:01:58.735Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-24T21:01:58.735Z] ---> Running in 92b75b8e980b [2023-05-24T21:01:58.735Z] Removing intermediate container 92b75b8e980b [2023-05-24T21:01:58.735Z] ---> d949a6eb3cf5 [2023-05-24T21:01:58.735Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-24T21:01:58.735Z] ---> Running in 4d1d3bb0df39 [2023-05-24T21:01:58.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T21:01:58.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T21:01:58.735Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-24T21:01:58.735Z] Executing busybox-1.35.0-r29.trigger [2023-05-24T21:01:58.735Z] OK: 7 MiB in 16 packages [2023-05-24T21:01:58.735Z] Removing intermediate container 4d1d3bb0df39 [2023-05-24T21:01:58.735Z] ---> b80df6c88450 [2023-05-24T21:01:58.735Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-24T21:01:58.735Z] ---> 9e12b2ede2f5 [2023-05-24T21:01:58.735Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-24T21:01:58.735Z] ---> e515eeaaba09 [2023-05-24T21:01:58.735Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-24T21:01:58.735Z] ---> 96c51dd7463f [2023-05-24T21:01:58.735Z] Step 20/25 : EXPOSE 59986 [2023-05-24T21:01:58.735Z] ---> Running in 9dd3475a5bff [2023-05-24T21:01:58.735Z] Removing intermediate container 9dd3475a5bff [2023-05-24T21:01:58.735Z] ---> 81171623d936 [2023-05-24T21:01:58.735Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-24T21:01:58.735Z] ---> Running in 361b4f5d8274 [2023-05-24T21:01:58.735Z] Removing intermediate container 361b4f5d8274 [2023-05-24T21:01:58.735Z] ---> 74eb0bb827db [2023-05-24T21:01:58.735Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-24T21:01:58.735Z] ---> Running in a0ab2424552a [2023-05-24T21:01:58.735Z] Removing intermediate container a0ab2424552a [2023-05-24T21:01:58.735Z] ---> 73829af9dad0 [2023-05-24T21:01:58.735Z] Step 23/25 : LABEL arch=amd64 [2023-05-24T21:01:58.735Z] ---> Running in 69b6129ace79 [2023-05-24T21:01:58.735Z] Removing intermediate container 69b6129ace79 [2023-05-24T21:01:58.735Z] ---> aebebd830c72 [2023-05-24T21:01:58.735Z] Step 24/25 : LABEL git_sha=f234df3dbf1425c65cf8e8e65e0448f29381b915 [2023-05-24T21:01:58.735Z] ---> Running in b65d61a95bde [2023-05-24T21:01:58.735Z] Removing intermediate container b65d61a95bde [2023-05-24T21:01:58.735Z] ---> 44cb374cc372 [2023-05-24T21:01:58.735Z] Step 25/25 : LABEL version=0.0.0 [2023-05-24T21:01:58.735Z] ---> Running in ad6f526d773a [2023-05-24T21:01:58.735Z] Removing intermediate container ad6f526d773a [2023-05-24T21:01:58.735Z] ---> 4c5b8d89b295 [2023-05-24T21:01:58.735Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T21:01:58.735Z] Successfully built 4c5b8d89b295 [2023-05-24T21:01:58.735Z] 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-05-24T21:01:59.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T21:01:59.592Z] [2023-05-24T21:01:59.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:01:59.966Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T21:01:59.966Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-24T21:01:59.966Z] 5eb5b503b376: Pulling fs layer [2023-05-24T21:01:59.966Z] 5c69ac0246d0: Pulling fs layer [2023-05-24T21:01:59.966Z] ec43610c2a17: Pulling fs layer [2023-05-24T21:01:59.966Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-24T21:01:59.966Z] 33b1e0a273af: Pulling fs layer [2023-05-24T21:01:59.966Z] 5d3b04190fa2: Pulling fs layer [2023-05-24T21:01:59.966Z] 2f39f015ded8: Pulling fs layer [2023-05-24T21:01:59.966Z] 33b1e0a273af: Waiting [2023-05-24T21:01:59.966Z] 5d3b04190fa2: Waiting [2023-05-24T21:01:59.966Z] 3a2ae6a8a46f: Waiting [2023-05-24T21:01:59.966Z] 2f39f015ded8: Waiting [2023-05-24T21:01:59.966Z] 5c69ac0246d0: Verifying Checksum [2023-05-24T21:01:59.966Z] 5c69ac0246d0: Download complete [2023-05-24T21:01:59.966Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-24T21:01:59.966Z] 3a2ae6a8a46f: Download complete [2023-05-24T21:01:59.966Z] 33b1e0a273af: Verifying Checksum [2023-05-24T21:01:59.966Z] 33b1e0a273af: Download complete [2023-05-24T21:01:59.966Z] 5d3b04190fa2: Verifying Checksum [2023-05-24T21:01:59.966Z] 5d3b04190fa2: Download complete [2023-05-24T21:01:59.966Z] ec43610c2a17: Verifying Checksum [2023-05-24T21:01:59.966Z] ec43610c2a17: Download complete [2023-05-24T21:02:00.228Z] 5eb5b503b376: Verifying Checksum [2023-05-24T21:02:00.228Z] 5eb5b503b376: Download complete [2023-05-24T21:02:00.794Z] 2f39f015ded8: Download complete [2023-05-24T21:02:01.359Z] 5eb5b503b376: Pull complete [2023-05-24T21:02:01.359Z] 5c69ac0246d0: Pull complete [2023-05-24T21:02:01.925Z] ec43610c2a17: Pull complete [2023-05-24T21:02:01.925Z] 3a2ae6a8a46f: Pull complete [2023-05-24T21:02:02.183Z] 33b1e0a273af: Pull complete [2023-05-24T21:02:02.183Z] 5d3b04190fa2: Pull complete [2023-05-24T21:02:04.268Z] using credential edgex-jenkins-ssh [2023-05-24T21:02:04.294Z] Cloning the remote Git repository [2023-05-24T21:02:04.379Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-24T21:02:04.617Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-24T21:02:04.977Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-24T21:02:04.979Z] > git --version # timeout=10 [2023-05-24T21:02:05.054Z] > git --version # 'git version 2.25.1' [2023-05-24T21:02:05.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T21:02:05.490Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T21:02:06.369Z] 2f39f015ded8: Pull complete [2023-05-24T21:02:06.369Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-24T21:02:06.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T21:02:06.369Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:02:06.608Z] prd-ubuntu20.04-docker-8c-8g-16783 does not seem to be running inside a container [2023-05-24T21:02:06.637Z] $ 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-324 -v /w/workspace/gexfoundry_device-rest-go_PR-324:/w/workspace/gexfoundry_device-rest-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-324@tmp:/w/workspace/gexfoundry_device-rest-go_PR-324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-24T21:02:07.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-24T21:02:07.701Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T21:02:09.714Z] Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit f234df3dbf1425c65cf8e8e65e0448f29381b915 [2023-05-24T21:02:09.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-24T21:02:09.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-24T21:02:09.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T21:02:09.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/324/head:refs/remotes/origin/PR-324 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-24T21:02:09.745Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T21:02:09.910Z] > git checkout -f f234df3dbf1425c65cf8e8e65e0448f29381b915 # timeout=10 [2023-05-24T21:02:10.064Z] > git remote # timeout=10 [2023-05-24T21:02:11.962Z] Merge succeeded, producing f234df3dbf1425c65cf8e8e65e0448f29381b915 [2023-05-24T21:02:11.963Z] Checking out Revision f234df3dbf1425c65cf8e8e65e0448f29381b915 (PR-324) [2023-05-24T21:02:11.842Z] > git config --get remote.origin.url # timeout=10 [2023-05-24T21:02:11.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T21:02:11.885Z] > git merge 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 [2023-05-24T21:02:11.925Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-24T21:02:11.969Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T21:02:12.000Z] > git checkout -f f234df3dbf1425c65cf8e8e65e0448f29381b915 # timeout=10 [2023-05-24T21:02:12.516Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-24T21:02:12.572Z] $ docker top f4d9def1992919ed98c1c2a77e39aaf1307549041ce3786cb4424d10fe7ba6d5 -eo pid,comm [2023-05-24T21:02:12.571Z] > git --version # timeout=10 [2023-05-24T21:02:12.600Z] > git --version # 'git version 2.25.1' [2023-05-24T21:02:12.614Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:02:13.013Z] ---> job-cost.sh [2023-05-24T21:02:13.013Z] lf-activate-venv: SKIPPING [2023-05-24T21:02:13.013Z] INFO: No Stack... [2023-05-24T21:02:13.097Z] [2023-05-24T21:02:13.097Z] GitHub has been notified of this commit’s build result [2023-05-24T21:02:13.097Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-05-24T21:02:13.277Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T21:02:13.534Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T21:02:13.880Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-24T21:02:13.881Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T21:02:13.881Z] Dload Upload Total Spent Left Speed [2023-05-24T21:02:13.881Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [2023-05-24T21:02:13.895Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-324/archives/cost.csv [2023-05-24T21:02:13.895Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T21:02:13.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-324-1-stack-cost] [2023-05-24T21:02:13.948Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-324-1-stack-cost] did not exist. Created. [2023-05-24T21:02:13.948Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2023-05-24T21:02:14.346Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-24T21:02:14.522Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T21:02:14.591Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-324-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T21:02:14.677Z] $ docker stop --time=1 f4d9def1992919ed98c1c2a77e39aaf1307549041ce3786cb4424d10fe7ba6d5 [2023-05-24T21:02:14.705Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-05-24T21:02:15.829Z] $ docker rm -f --volumes f4d9def1992919ed98c1c2a77e39aaf1307549041ce3786cb4424d10fe7ba6d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-24T21:02:16.282Z] + sudo tee /etc/docker/daemon.new [2023-05-24T21:02:16.282Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-24T21:02:16.282Z] { [2023-05-24T21:02:16.282Z] "registry-mirrors": [ [2023-05-24T21:02:16.282Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-24T21:02:16.282Z] ], [2023-05-24T21:02:16.282Z] "bip": "10.250.0.254/24", [2023-05-24T21:02:16.282Z] "hosts": [ [2023-05-24T21:02:16.282Z] "tcp://0.0.0.0:5555", [2023-05-24T21:02:16.282Z] "unix:///var/run/docker.sock" [2023-05-24T21:02:16.282Z] ], [2023-05-24T21:02:16.282Z] "mtu": 1458, [2023-05-24T21:02:16.282Z] "selinux-enabled": true, [2023-05-24T21:02:16.282Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-24T21:02:16.282Z] } [Pipeline] sh [2023-05-24T21:02:16.636Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-24T21:02:16.984Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T21:02:35.326Z] provisioning config files... [2023-05-24T21:02:35.358Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config12347970333388346108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:02:35.756Z] ---> docker-login.sh [2023-05-24T21:02:35.756Z] nexus3.edgexfoundry.org:10001 [2023-05-24T21:02:36.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:02:36.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:02:36.622Z] Configure a credential helper to remove this warning. See [2023-05-24T21:02:36.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:02:36.622Z] [2023-05-24T21:02:36.622Z] Login Succeeded [2023-05-24T21:02:36.622Z] nexus3.edgexfoundry.org:10002 [2023-05-24T21:02:36.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:02:36.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:02:36.893Z] Configure a credential helper to remove this warning. See [2023-05-24T21:02:36.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:02:36.893Z] [2023-05-24T21:02:36.893Z] Login Succeeded [2023-05-24T21:02:36.893Z] nexus3.edgexfoundry.org:10003 [2023-05-24T21:02:37.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:02:37.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:02:37.165Z] Configure a credential helper to remove this warning. See [2023-05-24T21:02:37.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:02:37.165Z] [2023-05-24T21:02:37.165Z] Login Succeeded [2023-05-24T21:02:37.165Z] nexus3.edgexfoundry.org:10004 [2023-05-24T21:02:37.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:02:37.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:02:37.714Z] Configure a credential helper to remove this warning. See [2023-05-24T21:02:37.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:02:37.714Z] [2023-05-24T21:02:37.714Z] Login Succeeded [2023-05-24T21:02:37.714Z] docker.io [2023-05-24T21:02:37.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T21:02:37.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T21:02:37.987Z] Configure a credential helper to remove this warning. See [2023-05-24T21:02:37.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T21:02:37.987Z] [2023-05-24T21:02:37.987Z] Login Succeeded [2023-05-24T21:02:37.987Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T21:02:38.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T21:02:38.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T21:02:38.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T21:02:38.483Z] ========================================================= [2023-05-24T21:02:38.483Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-24T21:02:38.483Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:02:38.993Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-24T21:02:38.993Z] Sending build context to Docker daemon 139.3kB [2023-05-24T21:02:39.262Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T21:02:39.262Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-24T21:02:39.262Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-24T21:02:39.262Z] c41833b44d91: Pulling fs layer [2023-05-24T21:02:39.262Z] ed15518f5707: Pulling fs layer [2023-05-24T21:02:39.262Z] feae8fd75edb: Pulling fs layer [2023-05-24T21:02:39.262Z] 242c74f7c9fa: Pulling fs layer [2023-05-24T21:02:39.262Z] 3cdef696dda3: Pulling fs layer [2023-05-24T21:02:39.262Z] 2ced38df9373: Pulling fs layer [2023-05-24T21:02:39.262Z] 58f1dce35555: Pulling fs layer [2023-05-24T21:02:39.262Z] 242c74f7c9fa: Waiting [2023-05-24T21:02:39.262Z] 3cdef696dda3: Waiting [2023-05-24T21:02:39.262Z] 2ced38df9373: Waiting [2023-05-24T21:02:39.262Z] 58f1dce35555: Waiting [2023-05-24T21:02:39.531Z] ed15518f5707: Verifying Checksum [2023-05-24T21:02:39.531Z] ed15518f5707: Download complete [2023-05-24T21:02:39.531Z] 242c74f7c9fa: Download complete [2023-05-24T21:02:39.531Z] 3cdef696dda3: Verifying Checksum [2023-05-24T21:02:39.531Z] 3cdef696dda3: Download complete [2023-05-24T21:02:39.531Z] c41833b44d91: Verifying Checksum [2023-05-24T21:02:39.531Z] c41833b44d91: Download complete [2023-05-24T21:02:40.502Z] c41833b44d91: Pull complete [2023-05-24T21:02:41.096Z] 58f1dce35555: Verifying Checksum [2023-05-24T21:02:41.096Z] 58f1dce35555: Download complete [2023-05-24T21:02:41.096Z] ed15518f5707: Pull complete [2023-05-24T21:02:42.066Z] feae8fd75edb: Verifying Checksum [2023-05-24T21:02:42.066Z] feae8fd75edb: Download complete [2023-05-24T21:02:42.336Z] 2ced38df9373: Verifying Checksum [2023-05-24T21:02:42.336Z] 2ced38df9373: Download complete [2023-05-24T21:02:54.759Z] feae8fd75edb: Pull complete [2023-05-24T21:02:54.759Z] 242c74f7c9fa: Pull complete [2023-05-24T21:02:54.759Z] 3cdef696dda3: Pull complete [2023-05-24T21:03:01.456Z] 2ced38df9373: Pull complete [2023-05-24T21:03:04.808Z] 58f1dce35555: Pull complete [2023-05-24T21:03:04.808Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-24T21:03:04.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-24T21:03:04.808Z] ---> fadd8f120f05 [2023-05-24T21:03:04.808Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-24T21:03:06.224Z] ---> Running in 4356461df263 [2023-05-24T21:03:06.492Z] Removing intermediate container 4356461df263 [2023-05-24T21:03:06.493Z] ---> 9463ff0ce026 [2023-05-24T21:03:06.493Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-24T21:03:06.493Z] ---> Running in 05a47869762a [2023-05-24T21:03:06.759Z] Removing intermediate container 05a47869762a [2023-05-24T21:03:06.759Z] ---> 7eb4d4b8079d [2023-05-24T21:03:06.759Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-24T21:03:06.759Z] ---> Running in 1b1f210dd3d9 [2023-05-24T21:03:07.027Z] Removing intermediate container 1b1f210dd3d9 [2023-05-24T21:03:07.027Z] ---> 68a7c6135d48 [2023-05-24T21:03:07.027Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-24T21:03:07.027Z] ---> Running in e2f820d79096 [2023-05-24T21:03:07.301Z] Removing intermediate container e2f820d79096 [2023-05-24T21:03:07.301Z] ---> 0e9ed46625d2 [2023-05-24T21:03:07.301Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-24T21:03:07.569Z] ---> Running in 7ab3201b8d81 [2023-05-24T21:03:08.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:03:09.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T21:03:10.088Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-24T21:03:10.088Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-24T21:03:10.088Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-24T21:03:10.088Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-24T21:03:10.356Z] Executing busybox-1.35.0-r29.trigger [2023-05-24T21:03:10.356Z] OK: 268 MiB in 57 packages [2023-05-24T21:03:11.347Z] Removing intermediate container 7ab3201b8d81 [2023-05-24T21:03:11.347Z] ---> b1abb63b8787 [2023-05-24T21:03:11.347Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-24T21:03:11.347Z] ---> Running in 087bfb11601d [2023-05-24T21:03:11.617Z] Removing intermediate container 087bfb11601d [2023-05-24T21:03:11.617Z] ---> 313088c009e2 [2023-05-24T21:03:11.617Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-24T21:03:12.211Z] ---> 9a530cf40457 [2023-05-24T21:03:12.211Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T21:03:12.211Z] ---> Running in 6c66629a48bd [2023-05-24T21:04:33.864Z] Removing intermediate container 6c66629a48bd [2023-05-24T21:04:33.864Z] ---> 00051d71b913 [2023-05-24T21:04:33.864Z] Step 11/12 : COPY . . [2023-05-24T21:04:33.864Z] ---> f675e5b4ee30 [2023-05-24T21:04:33.864Z] Step 12/12 : RUN $MAKE [2023-05-24T21:04:33.864Z] ---> Running in c79dfa0cfcf6 [2023-05-24T21:04:33.864Z] noop [2023-05-24T21:04:33.864Z] Removing intermediate container c79dfa0cfcf6 [2023-05-24T21:04:33.864Z] ---> 6a94e2c88402 [2023-05-24T21:04:33.864Z] Successfully built 6a94e2c88402 [2023-05-24T21:04:33.864Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:04:34.343Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T21:04:34.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:04:34.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-16784 does not seem to be running inside a container [2023-05-24T21:04:34.695Z] $ 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-05-24T21:04:35.896Z] $ docker top caaa37c3c06938f56d7a6c8e57e6fdfe9d78d0ef551e1e2791e5c1203557da99 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T21:04:36.788Z] + go version [2023-05-24T21:04:36.788Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-24T21:04:36.827Z] $ docker stop --time=1 caaa37c3c06938f56d7a6c8e57e6fdfe9d78d0ef551e1e2791e5c1203557da99 [2023-05-24T21:04:38.446Z] $ docker rm -f --volumes caaa37c3c06938f56d7a6c8e57e6fdfe9d78d0ef551e1e2791e5c1203557da99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:04:39.295Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T21:04:39.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:04:39.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-16784 does not seem to be running inside a container [2023-05-24T21:04:39.626Z] $ 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-05-24T21:04:41.630Z] $ docker top c51d519a9d8bd256d703f2cce37e640b0756644fc1e5a6022e016952a0bb1452 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T21:04:42.287Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-24T21:04:43.258Z] + make test [2023-05-24T21:04:43.258Z] go test ./... -coverprofile=coverage.out ./... [2023-05-24T21:05:15.508Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-24T21:07:07.175Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-24T21:07:07.175Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements [2023-05-24T21:07:07.175Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-24T21:07:07.175Z] go vet ./... [2023-05-24T21:07:29.273Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T21:07:29.273Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T21:07:29.273Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T21:07:29.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T21:07:29.345Z] $ docker stop --time=1 c51d519a9d8bd256d703f2cce37e640b0756644fc1e5a6022e016952a0bb1452 [2023-05-24T21:07:31.086Z] $ docker rm -f --volumes c51d519a9d8bd256d703f2cce37e640b0756644fc1e5a6022e016952a0bb1452 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T21:07:32.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T21:07:32.305Z] Warning: overwriting stash ‘coverage-report’ [2023-05-24T21:07:32.770Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T21:07:33.343Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T21:07:33.684Z] + ls -al . [2023-05-24T21:07:33.684Z] total 180 [2023-05-24T21:07:33.684Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:04 . [2023-05-24T21:07:33.684Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:02 .. [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 21:02 .dockerignore [2023-05-24T21:07:33.684Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 21:02 .git [2023-05-24T21:07:33.684Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 21:02 .github [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 329 May 24 21:02 .gitignore [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 21:02 .golangci.yml [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 24 21:02 Attribution.txt [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 24 21:02 CHANGELOG.md [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 24 21:02 Dockerfile [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 21:02 GOVERNANCE.md [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 21:02 Jenkinsfile [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 21:02 LICENSE [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 24 21:02 Makefile [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 21:02 OWNERS.md [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 24 21:02 README.md [2023-05-24T21:07:33.684Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 20:59 VERSION [2023-05-24T21:07:33.684Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:02 bin [2023-05-24T21:07:33.684Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 21:02 cmd [2023-05-24T21:07:33.685Z] -rw-r--r-- 1 jenkins jenkins 14663 May 24 21:07 coverage.out [2023-05-24T21:07:33.685Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 21:02 driver [2023-05-24T21:07:33.685Z] -rw-rw-r-- 1 jenkins jenkins 3361 May 24 21:02 go.mod [2023-05-24T21:07:33.685Z] -rw-rw-r-- 1 jenkins jenkins 31246 May 24 21:02 go.sum [2023-05-24T21:07:33.685Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 21:02 snap [2023-05-24T21:07:33.685Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:07:34.100Z] + 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=f234df3dbf1425c65cf8e8e65e0448f29381b915 --label arch=arm64 --label version=0.0.0 . [2023-05-24T21:07:34.100Z] Sending build context to Docker daemon 154.6kB [2023-05-24T21:07:34.366Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T21:07:34.366Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-24T21:07:34.366Z] ---> 6a94e2c88402 [2023-05-24T21:07:34.366Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-24T21:07:34.366Z] ---> Running in a12678450c71 [2023-05-24T21:07:34.633Z] Removing intermediate container a12678450c71 [2023-05-24T21:07:34.633Z] ---> 074dacc41134 [2023-05-24T21:07:34.633Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-24T21:07:34.904Z] ---> Running in a092a43433f5 [2023-05-24T21:07:35.171Z] Removing intermediate container a092a43433f5 [2023-05-24T21:07:35.171Z] ---> ab741363f934 [2023-05-24T21:07:35.171Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-24T21:07:35.171Z] ---> Running in 03d518a1e9ef [2023-05-24T21:07:35.440Z] Removing intermediate container 03d518a1e9ef [2023-05-24T21:07:35.440Z] ---> 8000ebec73ed [2023-05-24T21:07:35.440Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-24T21:07:35.440Z] ---> Running in a064c86d377f [2023-05-24T21:07:35.708Z] Removing intermediate container a064c86d377f [2023-05-24T21:07:35.709Z] ---> 67ed890b895b [2023-05-24T21:07:35.709Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-24T21:07:35.982Z] ---> Running in 5304fb7bb968 [2023-05-24T21:07:36.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:07:37.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T21:07:38.498Z] OK: 268 MiB in 57 packages [2023-05-24T21:07:39.466Z] Removing intermediate container 5304fb7bb968 [2023-05-24T21:07:39.466Z] ---> 436598683705 [2023-05-24T21:07:39.466Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-24T21:07:39.466Z] ---> Running in 89cfc0bbf5f6 [2023-05-24T21:07:39.735Z] Removing intermediate container 89cfc0bbf5f6 [2023-05-24T21:07:39.735Z] ---> 54b1325da2ae [2023-05-24T21:07:39.735Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-24T21:07:40.326Z] ---> 5c92e128b7bb [2023-05-24T21:07:40.326Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T21:07:40.326Z] ---> Running in 12b6ef5f8108 [2023-05-24T21:07:42.912Z] Removing intermediate container 12b6ef5f8108 [2023-05-24T21:07:42.912Z] ---> 2b37a4ef4bbe [2023-05-24T21:07:42.912Z] Step 11/25 : COPY . . [2023-05-24T21:07:43.178Z] ---> ba8f7053f332 [2023-05-24T21:07:43.178Z] Step 12/25 : RUN $MAKE [2023-05-24T21:07:43.447Z] ---> Running in 092954a70d03 [2023-05-24T21:07:44.407Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-24T21:09:51.075Z] Removing intermediate container 092954a70d03 [2023-05-24T21:09:51.075Z] ---> e317d40c16ef [2023-05-24T21:09:51.075Z] Step 13/25 : FROM alpine:3.17 [2023-05-24T21:09:51.075Z] 3.17: Pulling from library/alpine [2023-05-24T21:09:51.075Z] c41833b44d91: Already exists [2023-05-24T21:09:51.075Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T21:09:51.075Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T21:09:51.075Z] ---> 51e60588ff2c [2023-05-24T21:09:51.075Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T21:09:51.075Z] ---> Running in a44349372f84 [2023-05-24T21:09:51.075Z] Removing intermediate container a44349372f84 [2023-05-24T21:09:51.075Z] ---> e5518aee1396 [2023-05-24T21:09:51.075Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-24T21:09:51.075Z] ---> Running in 30b0e35dd189 [2023-05-24T21:09:51.075Z] Removing intermediate container 30b0e35dd189 [2023-05-24T21:09:51.075Z] ---> cd63c5e47d4d [2023-05-24T21:09:51.075Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-24T21:09:51.076Z] ---> Running in bc6e08c9b479 [2023-05-24T21:09:51.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T21:09:51.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T21:09:51.659Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-24T21:09:51.927Z] Executing busybox-1.35.0-r29.trigger [2023-05-24T21:09:51.927Z] OK: 8 MiB in 16 packages [2023-05-24T21:09:52.888Z] Removing intermediate container bc6e08c9b479 [2023-05-24T21:09:52.888Z] ---> 801599e87b9f [2023-05-24T21:09:52.888Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-24T21:09:54.858Z] ---> c3a3252b6684 [2023-05-24T21:09:54.858Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-24T21:09:55.127Z] ---> f07d28dec15b [2023-05-24T21:09:55.127Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-24T21:09:57.718Z] ---> 0d741383ff90 [2023-05-24T21:09:57.718Z] Step 20/25 : EXPOSE 59986 [2023-05-24T21:09:57.718Z] ---> Running in 90df8151ef65 [2023-05-24T21:09:57.985Z] Removing intermediate container 90df8151ef65 [2023-05-24T21:09:57.985Z] ---> f50721a9ff31 [2023-05-24T21:09:57.985Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-24T21:09:58.253Z] ---> Running in b48d0785ac72 [2023-05-24T21:09:58.522Z] Removing intermediate container b48d0785ac72 [2023-05-24T21:09:58.522Z] ---> 3db70344c86a [2023-05-24T21:09:58.522Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-24T21:09:58.522Z] ---> Running in a1dc11671b1b [2023-05-24T21:09:58.789Z] Removing intermediate container a1dc11671b1b [2023-05-24T21:09:58.789Z] ---> 74a0329db83f [2023-05-24T21:09:58.789Z] Step 23/25 : LABEL arch=arm64 [2023-05-24T21:09:58.789Z] ---> Running in e3ed4dac78b3 [2023-05-24T21:09:59.056Z] Removing intermediate container e3ed4dac78b3 [2023-05-24T21:09:59.056Z] ---> 6444fbee2520 [2023-05-24T21:09:59.056Z] Step 24/25 : LABEL git_sha=f234df3dbf1425c65cf8e8e65e0448f29381b915 [2023-05-24T21:09:59.339Z] ---> Running in f508698a09f4 [2023-05-24T21:09:59.607Z] Removing intermediate container f508698a09f4 [2023-05-24T21:09:59.607Z] ---> f23a6f1ebf99 [2023-05-24T21:09:59.607Z] Step 25/25 : LABEL version=0.0.0 [2023-05-24T21:09:59.607Z] ---> Running in 3df30e60be87 [2023-05-24T21:09:59.875Z] Removing intermediate container 3df30e60be87 [2023-05-24T21:09:59.875Z] ---> d82dd1c7966a [2023-05-24T21:09:59.875Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T21:09:59.875Z] Successfully built d82dd1c7966a [2023-05-24T21:09:59.875Z] 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-05-24T21:10:00.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T21:10:00.754Z] [2023-05-24T21:10:00.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:10:01.196Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T21:10:01.501Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-24T21:10:01.501Z] 8998bd30e6a1: Pulling fs layer [2023-05-24T21:10:01.501Z] 04944245beec: Pulling fs layer [2023-05-24T21:10:01.501Z] 699f458cf7ca: Pulling fs layer [2023-05-24T21:10:01.501Z] 765212b225bb: Pulling fs layer [2023-05-24T21:10:01.501Z] f23df028b6ca: Pulling fs layer [2023-05-24T21:10:01.501Z] d65c8cfc05b1: Pulling fs layer [2023-05-24T21:10:01.501Z] 2437ff75d9bd: Pulling fs layer [2023-05-24T21:10:01.501Z] 765212b225bb: Waiting [2023-05-24T21:10:01.501Z] f23df028b6ca: Waiting [2023-05-24T21:10:01.501Z] d65c8cfc05b1: Waiting [2023-05-24T21:10:01.501Z] 2437ff75d9bd: Waiting [2023-05-24T21:10:01.501Z] 04944245beec: Verifying Checksum [2023-05-24T21:10:01.501Z] 04944245beec: Download complete [2023-05-24T21:10:01.501Z] 765212b225bb: Verifying Checksum [2023-05-24T21:10:01.501Z] 765212b225bb: Download complete [2023-05-24T21:10:01.501Z] f23df028b6ca: Verifying Checksum [2023-05-24T21:10:01.501Z] f23df028b6ca: Download complete [2023-05-24T21:10:01.501Z] d65c8cfc05b1: Verifying Checksum [2023-05-24T21:10:01.501Z] d65c8cfc05b1: Download complete [2023-05-24T21:10:01.791Z] 699f458cf7ca: Verifying Checksum [2023-05-24T21:10:01.791Z] 699f458cf7ca: Download complete [2023-05-24T21:10:02.091Z] 8998bd30e6a1: Verifying Checksum [2023-05-24T21:10:02.091Z] 8998bd30e6a1: Download complete [2023-05-24T21:10:04.750Z] 2437ff75d9bd: Verifying Checksum [2023-05-24T21:10:04.750Z] 2437ff75d9bd: Download complete [2023-05-24T21:10:06.698Z] 8998bd30e6a1: Pull complete [2023-05-24T21:10:06.966Z] 04944245beec: Pull complete [2023-05-24T21:10:08.378Z] 699f458cf7ca: Pull complete [2023-05-24T21:10:08.648Z] 765212b225bb: Pull complete [2023-05-24T21:10:11.998Z] f23df028b6ca: Pull complete [2023-05-24T21:10:11.998Z] d65c8cfc05b1: Pull complete [2023-05-24T21:10:27.006Z] 2437ff75d9bd: Pull complete [2023-05-24T21:10:27.006Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-24T21:10:27.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-24T21:10:27.006Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:10:27.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-16784 does not seem to be running inside a container [2023-05-24T21:10:27.399Z] $ 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-05-24T21:10:30.063Z] $ docker top 3e8698536bbf93ce72cf0c6bd9782a6ab509899e02bbd9f6a6862136077dc452 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:10:30.986Z] ---> job-cost.sh [2023-05-24T21:10:30.986Z] lf-activate-venv: SKIPPING [2023-05-24T21:10:30.986Z] INFO: No Stack... [2023-05-24T21:10:31.252Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-24T21:10:32.215Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T21:10:32.883Z] + + cut -d, -f6cat [2023-05-24T21:10:32.883Z] /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-05-24T21:10:32.973Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-324-1-stack-cost] [2023-05-24T21:10:32.979Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-324-1-stack-cost] did not exist. Created. [2023-05-24T21:10:32.979Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T21:10:33.716Z] /w/workspace/device-rest-go/1@tmp/durable-9dd95383/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-24T21:10:34.385Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-24T21:10:34.421Z] Warning: overwriting stash ‘stack-cost’ [2023-05-24T21:10:34.467Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T21:10:34.480Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-324-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T21:10:34.561Z] $ docker stop --time=1 3e8698536bbf93ce72cf0c6bd9782a6ab509899e02bbd9f6a6862136077dc452 [2023-05-24T21:10:36.070Z] $ docker rm -f --volumes 3e8698536bbf93ce72cf0c6bd9782a6ab509899e02bbd9f6a6862136077dc452 [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-05-24T21:10:37.101Z] provisioning config files... [2023-05-24T21:10:37.111Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-324@tmp/config18173783197597472106tmp [Pipeline] { [Pipeline] sh [2023-05-24T21:10:37.445Z] + set +x [2023-05-24T21:10:37.445Z] + curl -s https://codecov.io/bash [2023-05-24T21:10:37.445Z] + bash -s -- [2023-05-24T21:10:37.445Z] [2023-05-24T21:10:37.445Z] _____ _ [2023-05-24T21:10:37.445Z] / ____| | | [2023-05-24T21:10:37.445Z] | | ___ __| | ___ ___ _____ __ [2023-05-24T21:10:37.445Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-24T21:10:37.445Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-24T21:10:37.445Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-24T21:10:37.445Z] Bash-1.0.6 [2023-05-24T21:10:37.445Z] [2023-05-24T21:10:37.445Z] [2023-05-24T21:10:37.445Z] ==> git version 2.25.1 found [2023-05-24T21:10:37.445Z] ==> 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-05-24T21:10:37.445Z] Release-Date: 2020-01-08 [2023-05-24T21:10:37.445Z] 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-05-24T21:10:37.445Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-24T21:10:37.445Z] ==> Jenkins CI detected. [2023-05-24T21:10:37.445Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-324 [2023-05-24T21:10:37.445Z] project root: . [2023-05-24T21:10:37.445Z] --> token set from env [2023-05-24T21:10:37.445Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-24T21:10:37.445Z] ==> Running gcov in . (disable via -X gcov) [2023-05-24T21:10:37.445Z] ==> Python coveragepy not found [2023-05-24T21:10:37.445Z] ==> Searching for coverage reports in: [2023-05-24T21:10:37.445Z] + . [2023-05-24T21:10:37.445Z] -> Found 1 reports [2023-05-24T21:10:37.445Z] ==> Detecting git/mercurial file structure [2023-05-24T21:10:37.445Z] ==> Reading reports [2023-05-24T21:10:37.704Z] + ./coverage.out bytes=14663 [2023-05-24T21:10:37.704Z] ==> Appending adjustments [2023-05-24T21:10:37.704Z] https://docs.codecov.io/docs/fixing-reports [2023-05-24T21:10:37.704Z] + Found adjustments [2023-05-24T21:10:37.704Z] ==> Gzipping contents [2023-05-24T21:10:37.704Z] 4.0K /tmp/codecov.DtS4LA.gz [2023-05-24T21:10:37.704Z] ==> Uploading reports [2023-05-24T21:10:37.704Z] url: https://codecov.io [2023-05-24T21:10:37.704Z] query: branch=PR-324&commit=f234df3dbf1425c65cf8e8e65e0448f29381b915&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-324%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=324&job=&cmd_args= [2023-05-24T21:10:37.704Z] -> Pinging Codecov [2023-05-24T21:10:37.704Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-324&commit=f234df3dbf1425c65cf8e8e65e0448f29381b915&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-324%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=324&job=&cmd_args= [2023-05-24T21:10:37.967Z] -> Uploading to [2023-05-24T21:10:37.967Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-24/4E5D53B4F1F92C436F7061BF334D961C/f234df3dbf1425c65cf8e8e65e0448f29381b915/8aa3c6a0-76ea-418c-95ec-289406105ab3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T211037Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1adab805592b85f87c2455fb164d47a8bae3eb119a1d99869340512e0930ddb8 [2023-05-24T21:10:37.967Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T21:10:37.967Z] Dload Upload Total Spent Left Speed [2023-05-24T21:10:37.967Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11839 --:--:-- --:--:-- --:--:-- 11839 [2023-05-24T21:10:38.227Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f234df3dbf1425c65cf8e8e65e0448f29381b915 [Pipeline] } [2023-05-24T21:10:38.252Z] 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-05-24T21:10:40.041Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-324/archives ] [2023-05-24T21:10:40.042Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-324/archives [2023-05-24T21:10:40.042Z] total 16 [2023-05-24T21:10:40.042Z] drwxr-xr-x 3 root root 4096 May 24 21:02 . [2023-05-24T21:10:40.042Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 21:02 .. [2023-05-24T21:10:40.042Z] drwxr-xr-x 2 root root 4096 May 24 21:02 cost [2023-05-24T21:10:40.042Z] -rw-r--r-- 1 root root 86 May 24 21:02 cost.csv [2023-05-24T21:10:40.042Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-324/archives [2023-05-24T21:10:40.042Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-324/archives [2023-05-24T21:10:40.042Z] total 16 [2023-05-24T21:10:40.042Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 21:02 . [2023-05-24T21:10:40.042Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 21:02 .. [2023-05-24T21:10:40.042Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 21:02 cost [2023-05-24T21:10:40.042Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 21:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:10:40.379Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:10:41.267Z] ---> package-listing.sh [2023-05-24T21:10:41.267Z] ++ facter osfamily [2023-05-24T21:10:41.267Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-24T21:10:41.267Z] + OS_FAMILY=debian [2023-05-24T21:10:41.267Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-324 [2023-05-24T21:10:41.267Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-24T21:10:41.267Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-24T21:10:41.267Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-24T21:10:41.267Z] + PACKAGES=/tmp/packages_start.txt [2023-05-24T21:10:41.267Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-324 ']' [2023-05-24T21:10:41.267Z] + PACKAGES=/tmp/packages_end.txt [2023-05-24T21:10:41.267Z] + case "${OS_FAMILY}" in [2023-05-24T21:10:41.267Z] + dpkg -l [2023-05-24T21:10:41.267Z] + grep '^ii' [2023-05-24T21:10:41.526Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-24T21:10:41.526Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-24T21:10:41.526Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-24T21:10:41.526Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-324 ']' [2023-05-24T21:10:41.526Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-324/archives/ [2023-05-24T21:10:41.526Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-324/archives/ [Pipeline] echo [2023-05-24T21:10:41.560Z] 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-324/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-24T21:10:41.858Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T21:10:42.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T21:10:42.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T21:10:42.633Z] prd-ubuntu20.04-docker-8c-8g-16783 does not seem to be running inside a container [2023-05-24T21:10:42.663Z] $ 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-324/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-324 -v /w/workspace/gexfoundry_device-rest-go_PR-324:/w/workspace/gexfoundry_device-rest-go_PR-324:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-324@tmp:/w/workspace/gexfoundry_device-rest-go_PR-324@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-05-24T21:10:42.905Z] $ docker top dd2578d05baba1b2388c4e6f868a4430f8cf2a16aa90d1ec944220bb63533ad7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T21:10:43.294Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-24T21:10:43.603Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-24T21:10:43.919Z] + ls /var/log/sa-host [2023-05-24T21:10:43.920Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T21:10:44.131Z] provisioning config files... [2023-05-24T21:10:44.141Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-324@tmp/config12722664572147239353tmp [Pipeline] { [Pipeline] echo [2023-05-24T21:10:44.188Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:10:44.503Z] ---> create-netrc.sh [Pipeline] } [2023-05-24T21:10:44.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:10:44.925Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-24T21:10:44.964Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:10:45.273Z] ---> sudo-logs.sh [2023-05-24T21:10:45.273Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-24T21:10:45.368Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:10:45.678Z] ---> job-cost.sh [2023-05-24T21:10:45.678Z] lf-activate-venv: SKIPPING [2023-05-24T21:10:45.678Z] DEBUG: total: 0.2199999988079071 [2023-05-24T21:10:45.678Z] INFO: Retrieving Stack Cost... [2023-05-24T21:10:46.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T21:10:46.516Z] INFO: Archiving Costs [Pipeline] echo [2023-05-24T21:10:46.554Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-24T21:10:46.867Z] ---> logs-deploy.sh [2023-05-24T21:10:46.868Z] lf-activate-venv: SKIPPING [2023-05-24T21:10:46.868Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-324/1 [2023-05-24T21:10:46.868Z] INFO: archiving workspace using pattern(s): [2023-05-24T21:10:47.807Z] Archives upload complete. [2023-05-24T21:10:47.807Z] INFO: archiving logs to Nexus