Pull request #346 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a+d6f941c2af2fad29136a7acf5385bb2680494e78 (899495452a99cfa0659990806ea49b2bd1d3ec12) 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-ssh18263667905089458924.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12235659457123716998.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-346/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-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4575567154944914265.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-346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9539919824594191818.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13906972360094980667.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-346/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-346/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7717023724515593808.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7878 in /w/workspace/gexfoundry_device-rest-go_PR-346 [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-346 # 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/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d6f941c2af2fad29136a7acf5385bb2680494e78 into PR head commit a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a Merge succeeded, producing a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a Checking out Revision a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a (PR-346) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-25T20:49:54.306Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a # 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 d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-25T20:49:54.483Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-25T20:49:54.593Z] ========================================================= [2023-09-25T20:49:54.593Z] EdgeX Global Pipelines Version Info [2023-09-25T20:49:54.593Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:49:55.328Z] ------------------- [2023-09-25T20:49:55.329Z] stable info: [2023-09-25T20:49:55.329Z] ------------------- [2023-09-25T20:49:55.329Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-25T20:49:55.329Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T20:49:55.329Z] Message: update stable to v1.0.254 [2023-09-25T20:49:55.897Z] ------------------- [2023-09-25T20:49:55.897Z] experimental info: [2023-09-25T20:49:55.897Z] ------------------- [2023-09-25T20:49:55.897Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-25T20:49:55.897Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T20:49:55.897Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-25T20:49:56.189Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-25T20:49:56.229Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-25T20:49:56.274Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-25T20:49:56.318Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-25T20:49:56.356Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-25T20:49:56.402Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-25T20:49:56.447Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-25T20:49:56.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-25T20:49:56.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-25T20:49:56.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-25T20:49:56.608Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-25T20:49:56.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-25T20:49:56.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-25T20:49:56.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-25T20:49:56.784Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T20:49:56.823Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T20:49:56.863Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T20:49:56.910Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T20:49:56.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-25T20:49:56.991Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-25T20:49:57.033Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-25T20:49:57.076Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-25T20:49:57.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-25T20:49:57.161Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-25T20:49:57.206Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-25T20:49:57.250Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-25T20:49:57.291Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-25T20:49:57.335Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-346 [Pipeline] echo [2023-09-25T20:49:57.379Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-346 [Pipeline] echo [2023-09-25T20:49:57.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-346 [Pipeline] echo [2023-09-25T20:49:57.466Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] echo [2023-09-25T20:49:57.502Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a8fb40e [Pipeline] echo [2023-09-25T20:49:57.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T20:49:57.664Z] provisioning config files... [2023-09-25T20:49:57.678Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/config13737480921231536591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:49:58.020Z] ---> docker-login.sh [2023-09-25T20:49:58.020Z] nexus3.edgexfoundry.org:10001 [2023-09-25T20:49:58.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:49:58.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:49:58.539Z] Configure a credential helper to remove this warning. See [2023-09-25T20:49:58.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:49:58.539Z] [2023-09-25T20:49:58.539Z] Login Succeeded [2023-09-25T20:49:58.539Z] nexus3.edgexfoundry.org:10002 [2023-09-25T20:49:58.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:49:58.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:49:58.539Z] Configure a credential helper to remove this warning. See [2023-09-25T20:49:58.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:49:58.539Z] [2023-09-25T20:49:58.539Z] Login Succeeded [2023-09-25T20:49:58.539Z] nexus3.edgexfoundry.org:10003 [2023-09-25T20:49:58.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:49:58.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:49:58.539Z] Configure a credential helper to remove this warning. See [2023-09-25T20:49:58.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:49:58.539Z] [2023-09-25T20:49:58.539Z] Login Succeeded [2023-09-25T20:49:58.539Z] nexus3.edgexfoundry.org:10004 [2023-09-25T20:49:58.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:49:58.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:49:58.799Z] Configure a credential helper to remove this warning. See [2023-09-25T20:49:58.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:49:58.799Z] [2023-09-25T20:49:58.799Z] Login Succeeded [2023-09-25T20:49:58.799Z] docker.io [2023-09-25T20:49:58.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:49:59.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:49:59.372Z] Configure a credential helper to remove this warning. See [2023-09-25T20:49:59.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:49:59.372Z] [2023-09-25T20:49:59.372Z] Login Succeeded [2023-09-25T20:49:59.372Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T20:49:59.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-25T20:50:00.015Z] + git rev-list -1 --merges a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a~1..a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] echo [2023-09-25T20:50:00.070Z] -----------> git rev-list -1 --merges a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a~1..a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [false] [Pipeline] sh [2023-09-25T20:50:00.379Z] + git log --format=format:%s -1 a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] echo [2023-09-25T20:50:00.417Z] ========================================================= [2023-09-25T20:50:00.417Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-25T20:50:00.417Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T20:50:00.840Z] + git log --format=format:%s -1 a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] echo [2023-09-25T20:50:00.872Z] [semverPrep] GIT_COMMIT: a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-25T20:50:00.903Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-25T20:50:01.295Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T20:50:01.295Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-25T20:50:01.295Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-25T20:50:01.295Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-25T20:50:01.295Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-25T20:50:01.295Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-25T20:50:01.295Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:50:01.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T20:50:01.803Z] [2023-09-25T20:50:01.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:50:02.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T20:50:02.172Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-25T20:50:02.172Z] b85a868b505f: Pulling fs layer [2023-09-25T20:50:02.172Z] e2be974225ed: Pulling fs layer [2023-09-25T20:50:02.172Z] 339a4e72a1f5: Pulling fs layer [2023-09-25T20:50:02.172Z] 988bab9f4d93: Pulling fs layer [2023-09-25T20:50:02.172Z] 1469e6f7b9e6: Pulling fs layer [2023-09-25T20:50:02.172Z] eaf3925da568: Pulling fs layer [2023-09-25T20:50:02.172Z] bab4dde63d76: Pulling fs layer [2023-09-25T20:50:02.172Z] bde34c3a00c8: Pulling fs layer [2023-09-25T20:50:02.172Z] b352a97aabf1: Pulling fs layer [2023-09-25T20:50:02.172Z] 4872d77fe225: Pulling fs layer [2023-09-25T20:50:02.172Z] 5851b861e8e6: Pulling fs layer [2023-09-25T20:50:02.172Z] bab4dde63d76: Waiting [2023-09-25T20:50:02.172Z] 988bab9f4d93: Waiting [2023-09-25T20:50:02.172Z] 1469e6f7b9e6: Waiting [2023-09-25T20:50:02.172Z] eaf3925da568: Waiting [2023-09-25T20:50:02.172Z] b352a97aabf1: Waiting [2023-09-25T20:50:02.172Z] 4872d77fe225: Waiting [2023-09-25T20:50:02.172Z] 5851b861e8e6: Waiting [2023-09-25T20:50:02.172Z] bde34c3a00c8: Waiting [2023-09-25T20:50:02.172Z] e2be974225ed: Verifying Checksum [2023-09-25T20:50:02.172Z] e2be974225ed: Download complete [2023-09-25T20:50:02.172Z] 988bab9f4d93: Verifying Checksum [2023-09-25T20:50:02.172Z] 988bab9f4d93: Download complete [2023-09-25T20:50:02.432Z] 1469e6f7b9e6: Verifying Checksum [2023-09-25T20:50:02.432Z] 1469e6f7b9e6: Download complete [2023-09-25T20:50:02.432Z] 339a4e72a1f5: Verifying Checksum [2023-09-25T20:50:02.432Z] 339a4e72a1f5: Download complete [2023-09-25T20:50:02.432Z] eaf3925da568: Download complete [2023-09-25T20:50:02.432Z] bde34c3a00c8: Download complete [2023-09-25T20:50:02.432Z] b352a97aabf1: Download complete [2023-09-25T20:50:02.432Z] 4872d77fe225: Download complete [2023-09-25T20:50:02.432Z] 5851b861e8e6: Verifying Checksum [2023-09-25T20:50:02.432Z] 5851b861e8e6: Download complete [2023-09-25T20:50:02.432Z] b85a868b505f: Verifying Checksum [2023-09-25T20:50:02.432Z] b85a868b505f: Download complete [2023-09-25T20:50:02.693Z] bab4dde63d76: Verifying Checksum [2023-09-25T20:50:02.693Z] bab4dde63d76: Download complete [2023-09-25T20:50:03.630Z] b85a868b505f: Pull complete [2023-09-25T20:50:03.891Z] e2be974225ed: Pull complete [2023-09-25T20:50:04.463Z] 339a4e72a1f5: Pull complete [2023-09-25T20:50:04.463Z] 988bab9f4d93: Pull complete [2023-09-25T20:50:04.722Z] 1469e6f7b9e6: Pull complete [2023-09-25T20:50:04.722Z] eaf3925da568: Pull complete [2023-09-25T20:50:06.624Z] bab4dde63d76: Pull complete [2023-09-25T20:50:06.624Z] bde34c3a00c8: Pull complete [2023-09-25T20:50:06.624Z] b352a97aabf1: Pull complete [2023-09-25T20:50:06.884Z] 4872d77fe225: Pull complete [2023-09-25T20:50:06.884Z] 5851b861e8e6: Pull complete [2023-09-25T20:50:06.884Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-25T20:50:06.884Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T20:50:06.884Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T20:50:07.132Z] prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container [2023-09-25T20:50:07.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T20:50:10.462Z] $ docker top 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 -eo pid,comm [2023-09-25T20:50:10.529Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T20:50:10.529Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T20:50:10.658Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T20:50:10.658Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T20:50:10.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T20:50:10.798Z] $ docker exec 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 ssh-agent [2023-09-25T20:50:10.912Z] SSH_AUTH_SOCK=/tmp/ssh-oOCv0khTnTeX/agent.31 [2023-09-25T20:50:10.912Z] SSH_AGENT_PID=37 [2023-09-25T20:50:10.924Z] Running ssh-add (command line suppressed) [2023-09-25T20:50:11.042Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-346@tmp/private_key_16960133465405212591.key (/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/private_key_16960133465405212591.key) [2023-09-25T20:50:11.056Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T20:50:11.384Z] + git tag --points-at HEAD [Pipeline] } [2023-09-25T20:50:11.419Z] $ docker exec --env ******** --env ******** 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 ssh-agent -k [2023-09-25T20:50:11.522Z] unset SSH_AUTH_SOCK; [2023-09-25T20:50:11.522Z] unset SSH_AGENT_PID; [2023-09-25T20:50:11.522Z] echo Agent pid 37 killed; [2023-09-25T20:50:11.532Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-25T20:50:11.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T20:50:11.612Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T20:50:11.727Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T20:50:11.733Z] $ docker exec 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 ssh-agent [2023-09-25T20:50:11.847Z] SSH_AUTH_SOCK=/tmp/ssh-pE07NKe2Yi92/agent.69 [2023-09-25T20:50:11.847Z] SSH_AGENT_PID=75 [2023-09-25T20:50:11.852Z] Running ssh-add (command line suppressed) [2023-09-25T20:50:11.956Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-346@tmp/private_key_10171302460446667578.key (/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/private_key_10171302460446667578.key) [2023-09-25T20:50:11.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T20:50:12.292Z] + git semver init [2023-09-25T20:50:12.551Z] 2023-09-25 20:50:12,480 [run_init] DEBUG init version:0.0.0 force:False [2023-09-25T20:50:12.551Z] 2023-09-25 20:50:12,480 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-346/.semver [2023-09-25T20:50:12.551Z] 2023-09-25 20:50:12,481 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-346/.semver [2023-09-25T20:50:12.551Z] 2023-09-25 20:50:12,481 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-346/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-346, universal_newlines=False, shell=None, istream=None) [2023-09-25T20:50:13.930Z] 2023-09-25 20:50:13,543 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-346/.git/info/exclude [2023-09-25T20:50:13.930Z] 2023-09-25 20:50:13,544 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-346/.semver/PR-346 with force:False [2023-09-25T20:50:13.930Z] 2023-09-25 20:50:13,544 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-346/.semver/PR-346 [2023-09-25T20:50:13.930Z] 2023-09-25 20:50:13,548 [execute] INFO git cat-file --batch-check [2023-09-25T20:50:13.930Z] 2023-09-25 20:50:13,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T20:50:13.930Z] 2023-09-25 20:50:13,556 [execute] INFO git cat-file --batch [2023-09-25T20:50:13.930Z] 2023-09-25 20:50:13,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-346/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T20:50:13.930Z] 2023-09-25 20:50:13,562 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-346/.semver/PR-346 [2023-09-25T20:50:13.930Z] 0.0.0 [Pipeline] } [2023-09-25T20:50:13.958Z] $ docker exec --env ******** --env ******** 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 ssh-agent -k [2023-09-25T20:50:14.059Z] unset SSH_AUTH_SOCK; [2023-09-25T20:50:14.060Z] unset SSH_AGENT_PID; [2023-09-25T20:50:14.060Z] echo Agent pid 75 killed; [2023-09-25T20:50:14.066Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T20:50:14.487Z] + git semver [Pipeline] } [2023-09-25T20:50:14.772Z] $ docker stop --time=1 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 [2023-09-25T20:50:16.078Z] $ docker rm -f --volumes 6ff2c7bdb7f7e9d997f0b00f973b9068565fce26cea2d6f80fd391b6bd088ba8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T20:50:16.485Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-25T20:50:16.767Z] Stashed 1 file(s) [Pipeline] echo [2023-09-25T20:50:16.783Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T20:50:17.367Z] provisioning config files... [2023-09-25T20:50:17.377Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/config92229989593744536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:50:17.780Z] ---> docker-login.sh [2023-09-25T20:50:17.780Z] nexus3.edgexfoundry.org:10001 [2023-09-25T20:50:17.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:50:17.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:50:17.780Z] Configure a credential helper to remove this warning. See [2023-09-25T20:50:17.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:50:17.780Z] [2023-09-25T20:50:17.780Z] Login Succeeded [2023-09-25T20:50:17.780Z] nexus3.edgexfoundry.org:10002 [2023-09-25T20:50:17.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:50:17.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:50:17.780Z] Configure a credential helper to remove this warning. See [2023-09-25T20:50:17.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:50:17.780Z] [2023-09-25T20:50:17.780Z] Login Succeeded [2023-09-25T20:50:17.780Z] nexus3.edgexfoundry.org:10003 [2023-09-25T20:50:18.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:50:18.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:50:18.040Z] Configure a credential helper to remove this warning. See [2023-09-25T20:50:18.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:50:18.040Z] [2023-09-25T20:50:18.040Z] Login Succeeded [2023-09-25T20:50:18.040Z] nexus3.edgexfoundry.org:10004 [2023-09-25T20:50:18.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:50:18.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:50:18.040Z] Configure a credential helper to remove this warning. See [2023-09-25T20:50:18.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:50:18.040Z] [2023-09-25T20:50:18.040Z] Login Succeeded [2023-09-25T20:50:18.040Z] docker.io [2023-09-25T20:50:18.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:50:18.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:50:18.560Z] Configure a credential helper to remove this warning. See [2023-09-25T20:50:18.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:50:18.560Z] [2023-09-25T20:50:18.560Z] Login Succeeded [2023-09-25T20:50:18.560Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T20:50:18.591Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T20:50:18.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T20:50:18.832Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T20:50:18.866Z] ========================================================= [2023-09-25T20:50:18.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-25T20:50:18.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:50:19.361Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-25T20:50:19.361Z] Sending build context to Docker daemon 10.92MB [2023-09-25T20:50:19.361Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T20:50:19.361Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-25T20:50:19.361Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-25T20:50:19.361Z] 7264a8db6415: Pulling fs layer [2023-09-25T20:50:19.361Z] c4d48a809fc2: Pulling fs layer [2023-09-25T20:50:19.361Z] 4f1c88b9dad5: Pulling fs layer [2023-09-25T20:50:19.361Z] ad3a456e5733: Pulling fs layer [2023-09-25T20:50:19.361Z] 33e27b845d1e: Pulling fs layer [2023-09-25T20:50:19.361Z] c68163c4e522: Pulling fs layer [2023-09-25T20:50:19.361Z] 50da416c3ac9: Pulling fs layer [2023-09-25T20:50:19.361Z] 23d2d4c4bb30: Pulling fs layer [2023-09-25T20:50:19.361Z] ad3a456e5733: Waiting [2023-09-25T20:50:19.361Z] 33e27b845d1e: Waiting [2023-09-25T20:50:19.361Z] c68163c4e522: Waiting [2023-09-25T20:50:19.361Z] 50da416c3ac9: Waiting [2023-09-25T20:50:19.361Z] 23d2d4c4bb30: Waiting [2023-09-25T20:50:19.361Z] c4d48a809fc2: Download complete [2023-09-25T20:50:19.361Z] ad3a456e5733: Verifying Checksum [2023-09-25T20:50:19.361Z] ad3a456e5733: Download complete [2023-09-25T20:50:19.621Z] 33e27b845d1e: Verifying Checksum [2023-09-25T20:50:19.621Z] 33e27b845d1e: Download complete [2023-09-25T20:50:19.621Z] 7264a8db6415: Verifying Checksum [2023-09-25T20:50:19.621Z] 7264a8db6415: Download complete [2023-09-25T20:50:19.621Z] c68163c4e522: Verifying Checksum [2023-09-25T20:50:19.621Z] c68163c4e522: Download complete [2023-09-25T20:50:19.621Z] 7264a8db6415: Pull complete [2023-09-25T20:50:19.621Z] 23d2d4c4bb30: Verifying Checksum [2023-09-25T20:50:19.621Z] 23d2d4c4bb30: Download complete [2023-09-25T20:50:19.880Z] c4d48a809fc2: Pull complete [2023-09-25T20:50:19.880Z] 4f1c88b9dad5: Verifying Checksum [2023-09-25T20:50:19.881Z] 4f1c88b9dad5: Download complete [2023-09-25T20:50:20.446Z] 50da416c3ac9: Verifying Checksum [2023-09-25T20:50:20.446Z] 50da416c3ac9: Download complete [2023-09-25T20:50:23.740Z] 4f1c88b9dad5: Pull complete [2023-09-25T20:50:23.740Z] ad3a456e5733: Pull complete [2023-09-25T20:50:23.740Z] 33e27b845d1e: Pull complete [2023-09-25T20:50:23.740Z] c68163c4e522: Pull complete [2023-09-25T20:50:26.268Z] 50da416c3ac9: Pull complete [2023-09-25T20:50:26.527Z] 23d2d4c4bb30: Pull complete [2023-09-25T20:50:26.787Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-25T20:50:26.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-25T20:50:26.787Z] ---> 0786185ac409 [2023-09-25T20:50:26.787Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-25T20:50:32.066Z] ---> Running in dc46f0691c35 [2023-09-25T20:50:32.066Z] Removing intermediate container dc46f0691c35 [2023-09-25T20:50:32.066Z] ---> 39a832143e43 [2023-09-25T20:50:32.066Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T20:50:32.066Z] ---> Running in 632c7ca3aa64 [2023-09-25T20:50:32.066Z] Removing intermediate container 632c7ca3aa64 [2023-09-25T20:50:32.066Z] ---> c1fb1b670a34 [2023-09-25T20:50:32.066Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T20:50:32.066Z] ---> Running in dd9df32ebd29 [2023-09-25T20:50:32.066Z] Removing intermediate container dd9df32ebd29 [2023-09-25T20:50:32.066Z] ---> 630ba8a38035 [2023-09-25T20:50:32.066Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T20:50:32.066Z] ---> Running in 979d69736a32 [2023-09-25T20:50:32.066Z] Removing intermediate container 979d69736a32 [2023-09-25T20:50:32.066Z] ---> 5b58f5ee043c [2023-09-25T20:50:32.066Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T20:50:32.066Z] ---> Running in 1f3f3d796935 [2023-09-25T20:50:32.176Z] Still waiting to schedule task [2023-09-25T20:50:32.177Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-25T20:50:32.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T20:50:32.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T20:50:32.894Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T20:50:32.894Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-25T20:50:32.894Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T20:50:32.894Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T20:50:32.894Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T20:50:32.894Z] OK: 268 MiB in 56 packages [2023-09-25T20:50:33.463Z] Removing intermediate container 1f3f3d796935 [2023-09-25T20:50:33.463Z] ---> 889f2b360d02 [2023-09-25T20:50:33.463Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-25T20:50:33.463Z] ---> Running in 3b01beae0401 [2023-09-25T20:50:33.463Z] Removing intermediate container 3b01beae0401 [2023-09-25T20:50:33.463Z] ---> 05ad700bc25b [2023-09-25T20:50:33.463Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-25T20:50:33.463Z] ---> 020c830bb564 [2023-09-25T20:50:33.463Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T20:50:33.463Z] ---> Running in 7e13b9a9096f [2023-09-25T20:51:20.163Z] Removing intermediate container 7e13b9a9096f [2023-09-25T20:51:20.163Z] ---> 3699f35abf31 [2023-09-25T20:51:20.163Z] Step 11/12 : COPY . . [2023-09-25T20:51:20.163Z] ---> 24b15078c036 [2023-09-25T20:51:20.163Z] Step 12/12 : RUN $MAKE [2023-09-25T20:51:20.163Z] ---> Running in 4d431a2d559a [2023-09-25T20:51:20.163Z] noop [2023-09-25T20:51:20.163Z] Removing intermediate container 4d431a2d559a [2023-09-25T20:51:20.163Z] ---> 5b49dc2d24b7 [2023-09-25T20:51:20.163Z] Successfully built 5b49dc2d24b7 [2023-09-25T20:51:20.163Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:51:20.627Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T20:51:20.627Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T20:51:20.779Z] prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container [2023-09-25T20:51:20.808Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T20:51:21.158Z] $ docker top a9eca76665ede372406a05b987c9dbba51283b18c8f7edadc84884f3b81b01d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T20:51:21.547Z] + go version [2023-09-25T20:51:21.547Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-25T20:51:21.582Z] $ docker stop --time=1 a9eca76665ede372406a05b987c9dbba51283b18c8f7edadc84884f3b81b01d9 [2023-09-25T20:51:22.831Z] $ docker rm -f --volumes a9eca76665ede372406a05b987c9dbba51283b18c8f7edadc84884f3b81b01d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:51:23.555Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T20:51:23.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T20:51:23.708Z] prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container [2023-09-25T20:51:23.738Z] $ 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-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T20:51:24.044Z] $ docker top 0c64342947db1782b9542a56421609c5662e124cf4e54591cd8caf9fba1e34d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T20:51:24.425Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-346 [Pipeline] fileExists [Pipeline] sh [2023-09-25T20:51:24.781Z] + make test [2023-09-25T20:51:24.782Z] go test ./... -coverprofile=coverage.out ./... [2023-09-25T20:51:26.158Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-25T20:51:36.128Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-25T20:51:36.128Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-09-25T20:51:42.722Z] go vet ./... [2023-09-25T20:51:47.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T20:51:47.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T20:51:47.010Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T20:51:47.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T20:51:47.085Z] $ docker stop --time=1 0c64342947db1782b9542a56421609c5662e124cf4e54591cd8caf9fba1e34d6 [2023-09-25T20:51:50.628Z] $ docker rm -f --volumes 0c64342947db1782b9542a56421609c5662e124cf4e54591cd8caf9fba1e34d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T20:51:51.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T20:51:51.241Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-25T20:51:51.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T20:51:52.258Z] + ls -al . [2023-09-25T20:51:52.258Z] total 188 [2023-09-25T20:51:52.259Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 20:51 . [2023-09-25T20:51:52.259Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 20:49 .. [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 25 20:49 .dockerignore [2023-09-25T20:51:52.259Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 20:51 .git [2023-09-25T20:51:52.259Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 20:49 .github [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 25 20:49 .gitignore [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 20:49 .golangci.yml [2023-09-25T20:51:52.259Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 20:50 .semver [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 25 20:49 Attribution.txt [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 25 20:49 CHANGELOG.md [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 25 20:49 Dockerfile [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 20:49 GOVERNANCE.md [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 20:49 Jenkinsfile [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 20:49 LICENSE [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 25 20:49 Makefile [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 25 20:49 OWNERS.md [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 25 20:49 README.md [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 20:50 VERSION [2023-09-25T20:51:52.259Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 20:49 bin [2023-09-25T20:51:52.259Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 20:49 cmd [2023-09-25T20:51:52.259Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 25 20:51 coverage.out [2023-09-25T20:51:52.259Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 20:49 driver [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 25 20:49 go.mod [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 25 20:49 go.sum [2023-09-25T20:51:52.259Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 20:49 snap [2023-09-25T20:51:52.259Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 25 20:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:51:52.768Z] + 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=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a --label arch=amd64 --label version=0.0.0 . [2023-09-25T20:51:52.768Z] Sending build context to Docker daemon 10.93MB [2023-09-25T20:51:52.768Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T20:51:52.768Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-25T20:51:52.768Z] ---> 5b49dc2d24b7 [2023-09-25T20:51:52.768Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-25T20:51:53.336Z] ---> Running in aa4f896ef525 [2023-09-25T20:51:53.336Z] Removing intermediate container aa4f896ef525 [2023-09-25T20:51:53.336Z] ---> a4b9759602d1 [2023-09-25T20:51:53.336Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T20:51:53.336Z] ---> Running in 2b40bc308a55 [2023-09-25T20:51:53.336Z] Removing intermediate container 2b40bc308a55 [2023-09-25T20:51:53.336Z] ---> 49865bb64fca [2023-09-25T20:51:53.336Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T20:51:53.336Z] ---> Running in e515ac9ff426 [2023-09-25T20:51:53.336Z] Removing intermediate container e515ac9ff426 [2023-09-25T20:51:53.336Z] ---> 23a7f665c0d2 [2023-09-25T20:51:53.336Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T20:51:53.336Z] ---> Running in c43c82a9bf27 [2023-09-25T20:51:53.595Z] Removing intermediate container c43c82a9bf27 [2023-09-25T20:51:53.595Z] ---> ea237ce0deb5 [2023-09-25T20:51:53.595Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T20:51:53.595Z] ---> Running in 7a8e28b54b40 [2023-09-25T20:51:53.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T20:51:53.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T20:51:54.113Z] OK: 268 MiB in 56 packages [2023-09-25T20:51:54.371Z] Removing intermediate container 7a8e28b54b40 [2023-09-25T20:51:54.371Z] ---> 6d772db616df [2023-09-25T20:51:54.371Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-25T20:51:54.371Z] ---> Running in 04cc661ed02d [2023-09-25T20:51:54.371Z] Removing intermediate container 04cc661ed02d [2023-09-25T20:51:54.371Z] ---> 8c44a5e39214 [2023-09-25T20:51:54.371Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-25T20:51:54.629Z] ---> 6444169dad61 [2023-09-25T20:51:54.629Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T20:51:54.629Z] ---> Running in 8d2f8c5e4762 [2023-09-25T20:51:55.195Z] Removing intermediate container 8d2f8c5e4762 [2023-09-25T20:51:55.195Z] ---> 0b5402637fac [2023-09-25T20:51:55.195Z] Step 11/25 : COPY . . [2023-09-25T20:51:55.761Z] ---> 1102fd8a7bb0 [2023-09-25T20:51:55.761Z] Step 12/25 : RUN $MAKE [2023-09-25T20:51:55.761Z] ---> Running in d16dedc07043 [2023-09-25T20:51:56.020Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-25T20:52:01.486Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7880 in /w/workspace/gexfoundry_device-rest-go_PR-346 [Pipeline] { [Pipeline] ws [2023-09-25T20:52:01.544Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-25T20:52:01.632Z] The recommended git tool is: git [2023-09-25T20:52:06.715Z] using credential edgex-jenkins-ssh [2023-09-25T20:52:06.732Z] Cloning the remote Git repository [2023-09-25T20:52:06.775Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-25T20:52:06.862Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-25T20:52:06.996Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-25T20:52:06.997Z] > git --version # timeout=10 [2023-09-25T20:52:07.030Z] > git --version # 'git version 2.25.1' [2023-09-25T20:52:07.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T20:52:07.180Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T20:52:09.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-25T20:52:09.968Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T20:52:11.315Z] Merging remotes/origin/main commit d6f941c2af2fad29136a7acf5385bb2680494e78 into PR head commit a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [2023-09-25T20:52:11.574Z] Merge succeeded, producing a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [2023-09-25T20:52:11.574Z] Checking out Revision a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a (PR-346) [2023-09-25T20:52:10.797Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-25T20:52:10.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-25T20:52:10.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T20:52:10.857Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/346/head:refs/remotes/origin/PR-346 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-25T20:52:11.333Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T20:52:11.404Z] > git checkout -f a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a # timeout=10 [2023-09-25T20:52:11.483Z] > git remote # timeout=10 [2023-09-25T20:52:11.501Z] > git config --get remote.origin.url # timeout=10 [2023-09-25T20:52:11.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T20:52:11.534Z] > git merge d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 [2023-09-25T20:52:11.558Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-25T20:52:11.581Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T20:52:11.601Z] > git checkout -f a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a # timeout=10 [2023-09-25T20:52:12.043Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-25T20:52:12.096Z] > git --version # timeout=10 [2023-09-25T20:52:12.107Z] > git --version # 'git version 2.25.1' [2023-09-25T20:52:12.125Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T20:52:13.238Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-25T20:52:13.238Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T20:52:13.238Z] Dload Upload Total Spent Left Speed [2023-09-25T20:52:13.238Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh [2023-09-25T20:52:13.857Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-25T20:52:14.201Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-25T20:52:14.201Z] + sudo tee /etc/docker/daemon.new [2023-09-25T20:52:14.201Z] { [2023-09-25T20:52:14.201Z] "registry-mirrors": [ [2023-09-25T20:52:14.201Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-25T20:52:14.201Z] ], [2023-09-25T20:52:14.201Z] "bip": "10.250.0.254/24", [2023-09-25T20:52:14.201Z] "hosts": [ [2023-09-25T20:52:14.201Z] "tcp://0.0.0.0:5555", [2023-09-25T20:52:14.201Z] "unix:///var/run/docker.sock" [2023-09-25T20:52:14.201Z] ], [2023-09-25T20:52:14.201Z] "mtu": 1458, [2023-09-25T20:52:14.201Z] "selinux-enabled": true, [2023-09-25T20:52:14.201Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-25T20:52:14.201Z] } [Pipeline] sh [2023-09-25T20:52:14.544Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-25T20:52:14.901Z] + sudo service docker restart [2023-09-25T20:52:18.036Z] Removing intermediate container d16dedc07043 [2023-09-25T20:52:18.036Z] ---> f2ee13315661 [2023-09-25T20:52:18.036Z] Step 13/25 : FROM alpine:3.18 [2023-09-25T20:52:18.036Z] 3.18: Pulling from library/alpine [2023-09-25T20:52:18.036Z] 7264a8db6415: Already exists [2023-09-25T20:52:18.036Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T20:52:18.036Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T20:52:18.036Z] ---> 7e01a0d0a1dc [2023-09-25T20:52:18.036Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-25T20:52:18.036Z] ---> Running in 56737aee36c5 [2023-09-25T20:52:18.036Z] Removing intermediate container 56737aee36c5 [2023-09-25T20:52:18.036Z] ---> 309bfa7bcb67 [2023-09-25T20:52:18.036Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-25T20:52:18.036Z] ---> Running in e0b11c4e23d2 [2023-09-25T20:52:18.036Z] Removing intermediate container e0b11c4e23d2 [2023-09-25T20:52:18.036Z] ---> 96c5a7667239 [2023-09-25T20:52:18.036Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-25T20:52:18.036Z] ---> Running in 520fe22aaac2 [2023-09-25T20:52:18.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T20:52:18.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T20:52:18.036Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T20:52:18.036Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T20:52:18.036Z] OK: 7 MiB in 16 packages [2023-09-25T20:52:18.036Z] Removing intermediate container 520fe22aaac2 [2023-09-25T20:52:18.036Z] ---> c752d08efa5c [2023-09-25T20:52:18.036Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-25T20:52:18.974Z] ---> c138282e6e16 [2023-09-25T20:52:18.974Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-25T20:52:18.974Z] ---> 875244073f61 [2023-09-25T20:52:18.974Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-25T20:52:19.233Z] ---> 9c03b65f06bb [2023-09-25T20:52:19.233Z] Step 20/25 : EXPOSE 59986 [2023-09-25T20:52:19.233Z] ---> Running in 46e52482994a [2023-09-25T20:52:19.233Z] Removing intermediate container 46e52482994a [2023-09-25T20:52:19.233Z] ---> 79da19349d8a [2023-09-25T20:52:19.233Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-25T20:52:19.233Z] ---> Running in 4aad5d43c7f0 [2023-09-25T20:52:19.233Z] Removing intermediate container 4aad5d43c7f0 [2023-09-25T20:52:19.233Z] ---> 98d81b36b514 [2023-09-25T20:52:19.233Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-25T20:52:19.233Z] ---> Running in 7d7cd9f5929b [2023-09-25T20:52:19.494Z] Removing intermediate container 7d7cd9f5929b [2023-09-25T20:52:19.494Z] ---> 2087cc9dc818 [2023-09-25T20:52:19.494Z] Step 23/25 : LABEL arch=amd64 [2023-09-25T20:52:19.494Z] ---> Running in b9387000fab4 [2023-09-25T20:52:19.494Z] Removing intermediate container b9387000fab4 [2023-09-25T20:52:19.494Z] ---> 3410a214b5cb [2023-09-25T20:52:19.494Z] Step 24/25 : LABEL git_sha=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [2023-09-25T20:52:19.754Z] ---> Running in dc9f033e461a [2023-09-25T20:52:20.013Z] Removing intermediate container dc9f033e461a [2023-09-25T20:52:20.013Z] ---> 420f3379f65f [2023-09-25T20:52:20.013Z] Step 25/25 : LABEL version=0.0.0 [2023-09-25T20:52:20.013Z] ---> Running in 06286b047f19 [2023-09-25T20:52:20.013Z] Removing intermediate container 06286b047f19 [2023-09-25T20:52:20.013Z] ---> d3ea973a5101 [2023-09-25T20:52:20.013Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T20:52:20.013Z] Successfully built d3ea973a5101 [2023-09-25T20:52:20.013Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:52:20.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T20:52:20.903Z] [2023-09-25T20:52:20.903Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:52:21.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T20:52:21.283Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-25T20:52:21.283Z] 5eb5b503b376: Pulling fs layer [2023-09-25T20:52:21.283Z] 5c69ac0246d0: Pulling fs layer [2023-09-25T20:52:21.283Z] ec43610c2a17: Pulling fs layer [2023-09-25T20:52:21.283Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-25T20:52:21.283Z] 33b1e0a273af: Pulling fs layer [2023-09-25T20:52:21.283Z] 5d3b04190fa2: Pulling fs layer [2023-09-25T20:52:21.283Z] 2f39f015ded8: Pulling fs layer [2023-09-25T20:52:21.283Z] 3a2ae6a8a46f: Waiting [2023-09-25T20:52:21.283Z] 5d3b04190fa2: Waiting [2023-09-25T20:52:21.283Z] 33b1e0a273af: Waiting [2023-09-25T20:52:21.283Z] 2f39f015ded8: Waiting [2023-09-25T20:52:21.283Z] 5c69ac0246d0: Verifying Checksum [2023-09-25T20:52:21.283Z] 5c69ac0246d0: Download complete [2023-09-25T20:52:21.283Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-25T20:52:21.283Z] 3a2ae6a8a46f: Download complete [2023-09-25T20:52:21.283Z] 33b1e0a273af: Verifying Checksum [2023-09-25T20:52:21.283Z] 33b1e0a273af: Download complete [2023-09-25T20:52:21.283Z] ec43610c2a17: Verifying Checksum [2023-09-25T20:52:21.283Z] ec43610c2a17: Download complete [2023-09-25T20:52:21.283Z] 5d3b04190fa2: Verifying Checksum [2023-09-25T20:52:21.283Z] 5d3b04190fa2: Download complete [2023-09-25T20:52:21.540Z] 5eb5b503b376: Verifying Checksum [2023-09-25T20:52:21.540Z] 5eb5b503b376: Download complete [2023-09-25T20:52:22.104Z] 2f39f015ded8: Download complete [2023-09-25T20:52:22.670Z] 5eb5b503b376: Pull complete [2023-09-25T20:52:22.670Z] 5c69ac0246d0: Pull complete [2023-09-25T20:52:23.237Z] ec43610c2a17: Pull complete [2023-09-25T20:52:23.237Z] 3a2ae6a8a46f: Pull complete [2023-09-25T20:52:23.496Z] 33b1e0a273af: Pull complete [2023-09-25T20:52:23.496Z] 5d3b04190fa2: Pull complete [2023-09-25T20:52:27.683Z] 2f39f015ded8: Pull complete [2023-09-25T20:52:27.683Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-25T20:52:27.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T20:52:27.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T20:52:27.915Z] prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container [2023-09-25T20:52:27.943Z] $ 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-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T20:52:32.356Z] $ docker top 2f3e6ddb449b47644b994a12b607501f69534f8d449ffe3a8311cbbb7e726013 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:52:32.833Z] ---> job-cost.sh [2023-09-25T20:52:32.833Z] lf-activate-venv: SKIPPING [2023-09-25T20:52:32.833Z] INFO: No Stack... [2023-09-25T20:52:33.092Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T20:52:33.220Z] provisioning config files... [2023-09-25T20:52:33.253Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5182096804358558587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:52:33.351Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T20:52:33.649Z] ---> docker-login.sh [2023-09-25T20:52:33.649Z] nexus3.edgexfoundry.org:10001 [2023-09-25T20:52:33.735Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-346/archives/cost.csv [2023-09-25T20:52:33.735Z] + cut -d, -f6 [Pipeline] lock [2023-09-25T20:52:33.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [2023-09-25T20:52:33.780Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] did not exist. Created. [2023-09-25T20:52:33.781Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T20:52:33.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:52:34.170Z] + echo total: 0.2199999988079071 [2023-09-25T20:52:34.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:52:34.192Z] Configure a credential helper to remove this warning. See [2023-09-25T20:52:34.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:52:34.192Z] [2023-09-25T20:52:34.192Z] Login Succeeded [2023-09-25T20:52:34.192Z] nexus3.edgexfoundry.org:10002 [Pipeline] stash [2023-09-25T20:52:34.219Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T20:52:34.266Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T20:52:34.351Z] $ docker stop --time=1 2f3e6ddb449b47644b994a12b607501f69534f8d449ffe3a8311cbbb7e726013 [2023-09-25T20:52:34.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:52:34.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:52:34.733Z] Configure a credential helper to remove this warning. See [2023-09-25T20:52:34.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:52:34.733Z] [2023-09-25T20:52:34.733Z] Login Succeeded [2023-09-25T20:52:34.733Z] nexus3.edgexfoundry.org:10003 [2023-09-25T20:52:34.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:52:35.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:52:35.003Z] Configure a credential helper to remove this warning. See [2023-09-25T20:52:35.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:52:35.003Z] [2023-09-25T20:52:35.003Z] Login Succeeded [2023-09-25T20:52:35.003Z] nexus3.edgexfoundry.org:10004 [2023-09-25T20:52:35.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T20:52:35.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:52:35.275Z] Configure a credential helper to remove this warning. See [2023-09-25T20:52:35.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:52:35.275Z] [2023-09-25T20:52:35.275Z] Login Succeeded [2023-09-25T20:52:35.275Z] docker.io [2023-09-25T20:52:35.497Z] $ docker rm -f --volumes 2f3e6ddb449b47644b994a12b607501f69534f8d449ffe3a8311cbbb7e726013 [2023-09-25T20:52:35.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2023-09-25T20:52:35.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T20:52:35.811Z] Configure a credential helper to remove this warning. See [2023-09-25T20:52:35.811Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T20:52:35.811Z] [2023-09-25T20:52:35.811Z] Login Succeeded [2023-09-25T20:52:35.811Z] ---> docker-login.sh ends [Pipeline] // withEnv [Pipeline] } [Pipeline] } [2023-09-25T20:52:35.884Z] Deleting 1 temporary files [Pipeline] // stage [Pipeline] // configFileProvider [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T20:52:36.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T20:52:36.366Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T20:52:36.400Z] ========================================================= [2023-09-25T20:52:36.400Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-25T20:52:36.400Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:52:36.918Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-25T20:52:36.918Z] Sending build context to Docker daemon 144.4kB [2023-09-25T20:52:37.188Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T20:52:37.188Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-25T20:52:37.188Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-25T20:52:37.188Z] 9fda8d8052c6: Pulling fs layer [2023-09-25T20:52:37.188Z] 5d54e960e981: Pulling fs layer [2023-09-25T20:52:37.188Z] c4a7e357bf2a: Pulling fs layer [2023-09-25T20:52:37.188Z] f0e02332f6b5: Pulling fs layer [2023-09-25T20:52:37.188Z] cefa15bbcfad: Pulling fs layer [2023-09-25T20:52:37.188Z] f0e02332f6b5: Waiting [2023-09-25T20:52:37.188Z] 17808c966233: Pulling fs layer [2023-09-25T20:52:37.188Z] f4c1fc716caa: Pulling fs layer [2023-09-25T20:52:37.188Z] cefa15bbcfad: Waiting [2023-09-25T20:52:37.188Z] 17808c966233: Waiting [2023-09-25T20:52:37.188Z] f4c1fc716caa: Waiting [2023-09-25T20:52:37.466Z] 5d54e960e981: Verifying Checksum [2023-09-25T20:52:37.466Z] 5d54e960e981: Download complete [2023-09-25T20:52:37.466Z] f0e02332f6b5: Verifying Checksum [2023-09-25T20:52:37.466Z] f0e02332f6b5: Download complete [2023-09-25T20:52:37.466Z] cefa15bbcfad: Verifying Checksum [2023-09-25T20:52:37.466Z] cefa15bbcfad: Download complete [2023-09-25T20:52:37.466Z] 9fda8d8052c6: Download complete [2023-09-25T20:52:38.074Z] f4c1fc716caa: Verifying Checksum [2023-09-25T20:52:38.074Z] f4c1fc716caa: Download complete [2023-09-25T20:52:38.360Z] 9fda8d8052c6: Pull complete [2023-09-25T20:52:38.954Z] 5d54e960e981: Pull complete [2023-09-25T20:52:39.224Z] c4a7e357bf2a: Download complete [2023-09-25T20:52:40.199Z] 17808c966233: Verifying Checksum [2023-09-25T20:52:40.199Z] 17808c966233: Download complete [2023-09-25T20:52:52.547Z] c4a7e357bf2a: Pull complete [2023-09-25T20:52:52.548Z] f0e02332f6b5: Pull complete [2023-09-25T20:52:52.548Z] cefa15bbcfad: Pull complete [2023-09-25T20:52:58.016Z] 17808c966233: Pull complete [2023-09-25T20:52:58.995Z] f4c1fc716caa: Pull complete [2023-09-25T20:52:58.995Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-25T20:52:58.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-25T20:52:58.995Z] ---> ea914061e18c [2023-09-25T20:52:58.995Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-25T20:53:00.960Z] ---> Running in 7e3b9a916c39 [2023-09-25T20:53:01.233Z] Removing intermediate container 7e3b9a916c39 [2023-09-25T20:53:01.233Z] ---> 5082a32b1abd [2023-09-25T20:53:01.233Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T20:53:01.233Z] ---> Running in 83f9c8bb343a [2023-09-25T20:53:01.823Z] Removing intermediate container 83f9c8bb343a [2023-09-25T20:53:01.823Z] ---> fe9df75e543c [2023-09-25T20:53:01.823Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T20:53:01.823Z] ---> Running in 3f2d167e50e8 [2023-09-25T20:53:02.095Z] Removing intermediate container 3f2d167e50e8 [2023-09-25T20:53:02.095Z] ---> 3464b65f6b88 [2023-09-25T20:53:02.095Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T20:53:02.363Z] ---> Running in 82dbdce0d662 [2023-09-25T20:53:02.632Z] Removing intermediate container 82dbdce0d662 [2023-09-25T20:53:02.632Z] ---> 1bc6ff04a19f [2023-09-25T20:53:02.632Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T20:53:02.632Z] ---> Running in 871e856d48d3 [2023-09-25T20:53:04.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T20:53:04.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T20:53:05.290Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T20:53:05.290Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-25T20:53:05.290Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T20:53:05.561Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T20:53:05.561Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T20:53:05.561Z] OK: 270 MiB in 56 packages [2023-09-25T20:53:06.527Z] Removing intermediate container 871e856d48d3 [2023-09-25T20:53:06.527Z] ---> a763b8f1d1c5 [2023-09-25T20:53:06.527Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-25T20:53:06.527Z] ---> Running in 80dc2b7307c8 [2023-09-25T20:53:06.799Z] Removing intermediate container 80dc2b7307c8 [2023-09-25T20:53:06.799Z] ---> 9086b0e5611c [2023-09-25T20:53:06.799Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-25T20:53:07.390Z] ---> da3c9ae6b309 [2023-09-25T20:53:07.390Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T20:53:07.390Z] ---> Running in 1b2a05e1e5a8 [2023-09-25T20:54:29.047Z] Removing intermediate container 1b2a05e1e5a8 [2023-09-25T20:54:29.047Z] ---> 1a8e494ea7b2 [2023-09-25T20:54:29.047Z] Step 11/12 : COPY . . [2023-09-25T20:54:29.047Z] ---> 6d3b6bf1b204 [2023-09-25T20:54:29.047Z] Step 12/12 : RUN $MAKE [2023-09-25T20:54:29.047Z] ---> Running in 656d6d737aee [2023-09-25T20:54:29.047Z] noop [2023-09-25T20:54:29.047Z] Removing intermediate container 656d6d737aee [2023-09-25T20:54:29.047Z] ---> 1fb2cb803c0c [2023-09-25T20:54:29.047Z] Successfully built 1fb2cb803c0c [2023-09-25T20:54:29.047Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:54:29.532Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T20:54:29.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T20:54:29.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-7880 does not seem to be running inside a container [2023-09-25T20:54:29.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-25T20:54:31.088Z] $ docker top a09ca190b891d79c3a744276d2dee8867c1e5091a292f3d37bf131f32a0c216f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T20:54:31.966Z] + go version [2023-09-25T20:54:31.966Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-25T20:54:32.003Z] $ docker stop --time=1 a09ca190b891d79c3a744276d2dee8867c1e5091a292f3d37bf131f32a0c216f [2023-09-25T20:54:33.584Z] $ docker rm -f --volumes a09ca190b891d79c3a744276d2dee8867c1e5091a292f3d37bf131f32a0c216f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:54:34.428Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T20:54:34.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T20:54:34.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-7880 does not seem to be running inside a container [2023-09-25T20:54:34.745Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-25T20:54:35.848Z] $ docker top e8c0de584e5105e91e7ce31a7c54ff703641e8b08f481d31b63108d5f4eb77d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T20:54:36.410Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-25T20:54:36.803Z] + make test [2023-09-25T20:54:37.075Z] go test ./... -coverprofile=coverage.out ./... [2023-09-25T20:54:42.404Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-25T20:56:19.056Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-25T20:56:19.056Z] ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements [2023-09-25T20:56:19.056Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-25T20:56:19.056Z] go vet ./... [2023-09-25T20:56:45.765Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T20:56:45.765Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T20:56:45.765Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T20:56:45.801Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T20:56:45.837Z] $ docker stop --time=1 e8c0de584e5105e91e7ce31a7c54ff703641e8b08f481d31b63108d5f4eb77d1 [2023-09-25T20:56:47.872Z] $ docker rm -f --volumes e8c0de584e5105e91e7ce31a7c54ff703641e8b08f481d31b63108d5f4eb77d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T20:56:49.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T20:56:49.317Z] Warning: overwriting stash ‘coverage-report’ [2023-09-25T20:56:50.026Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T20:56:50.640Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T20:56:50.985Z] + ls -al . [2023-09-25T20:56:50.985Z] total 184 [2023-09-25T20:56:50.985Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 20:54 . [2023-09-25T20:56:50.985Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 20:52 .. [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 25 20:52 .dockerignore [2023-09-25T20:56:50.985Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 20:52 .git [2023-09-25T20:56:50.985Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 20:52 .github [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 25 20:52 .gitignore [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 20:52 .golangci.yml [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 25 20:52 Attribution.txt [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 25 20:52 CHANGELOG.md [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 25 20:52 Dockerfile [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 20:52 GOVERNANCE.md [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 20:52 Jenkinsfile [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 20:52 LICENSE [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 25 20:52 Makefile [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 25 20:52 OWNERS.md [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 25 20:52 README.md [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 20:50 VERSION [2023-09-25T20:56:50.985Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 20:52 bin [2023-09-25T20:56:50.985Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 20:52 cmd [2023-09-25T20:56:50.985Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 25 20:56 coverage.out [2023-09-25T20:56:50.985Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 20:52 driver [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 25 20:52 go.mod [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 25 20:52 go.sum [2023-09-25T20:56:50.985Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 20:52 snap [2023-09-25T20:56:50.985Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 25 20:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:56:51.408Z] + 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=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a --label arch=arm64 --label version=0.0.0 . [2023-09-25T20:56:51.409Z] Sending build context to Docker daemon 159.7kB [2023-09-25T20:56:51.688Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T20:56:51.688Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-25T20:56:51.688Z] ---> 1fb2cb803c0c [2023-09-25T20:56:51.688Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-25T20:56:51.688Z] ---> Running in 39e6c92382fd [2023-09-25T20:56:52.290Z] Removing intermediate container 39e6c92382fd [2023-09-25T20:56:52.290Z] ---> 28fa393c0aab [2023-09-25T20:56:52.290Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T20:56:52.290Z] ---> Running in bab13f6dad01 [2023-09-25T20:56:52.568Z] Removing intermediate container bab13f6dad01 [2023-09-25T20:56:52.568Z] ---> fa30a8fe269c [2023-09-25T20:56:52.568Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T20:56:52.568Z] ---> Running in 6db4ab24315d [2023-09-25T20:56:53.163Z] Removing intermediate container 6db4ab24315d [2023-09-25T20:56:53.163Z] ---> afe3c0088ebe [2023-09-25T20:56:53.163Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T20:56:53.163Z] ---> Running in 2354e27cfa61 [2023-09-25T20:56:53.435Z] Removing intermediate container 2354e27cfa61 [2023-09-25T20:56:53.435Z] ---> f4559a6c3582 [2023-09-25T20:56:53.435Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T20:56:53.435Z] ---> Running in fa61dd7f0f5e [2023-09-25T20:56:54.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T20:56:55.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T20:56:56.086Z] OK: 270 MiB in 56 packages [2023-09-25T20:56:57.498Z] Removing intermediate container fa61dd7f0f5e [2023-09-25T20:56:57.498Z] ---> e9c4aac468b9 [2023-09-25T20:56:57.498Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-25T20:56:57.498Z] ---> Running in 2d32b6c7ef08 [2023-09-25T20:56:57.498Z] Removing intermediate container 2d32b6c7ef08 [2023-09-25T20:56:57.498Z] ---> 57f65c001c01 [2023-09-25T20:56:57.498Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-25T20:56:58.083Z] ---> a28ef6ed840c [2023-09-25T20:56:58.083Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T20:56:58.083Z] ---> Running in fc7655974ea6 [2023-09-25T20:57:00.680Z] Removing intermediate container fc7655974ea6 [2023-09-25T20:57:00.680Z] ---> 08dc20a89b53 [2023-09-25T20:57:00.680Z] Step 11/25 : COPY . . [2023-09-25T20:57:00.950Z] ---> 6d3264ea2336 [2023-09-25T20:57:00.950Z] Step 12/25 : RUN $MAKE [2023-09-25T20:57:01.216Z] ---> Running in 86eccc6e7c95 [2023-09-25T20:57:02.186Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-25T20:59:08.894Z] Removing intermediate container 86eccc6e7c95 [2023-09-25T20:59:08.894Z] ---> f62f6b49b8d7 [2023-09-25T20:59:08.894Z] Step 13/25 : FROM alpine:3.18 [2023-09-25T20:59:08.894Z] 3.18: Pulling from library/alpine [2023-09-25T20:59:08.894Z] 9fda8d8052c6: Already exists [2023-09-25T20:59:08.894Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T20:59:08.894Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T20:59:08.894Z] ---> f6648c04cd6c [2023-09-25T20:59:08.894Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-25T20:59:08.894Z] ---> Running in 3150d701faeb [2023-09-25T20:59:08.894Z] Removing intermediate container 3150d701faeb [2023-09-25T20:59:08.894Z] ---> 913aef3c063b [2023-09-25T20:59:08.894Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-25T20:59:08.894Z] ---> Running in 2739cece40a4 [2023-09-25T20:59:08.894Z] Removing intermediate container 2739cece40a4 [2023-09-25T20:59:08.894Z] ---> c35ddf481527 [2023-09-25T20:59:08.894Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-25T20:59:08.894Z] ---> Running in ee4c95158c0d [2023-09-25T20:59:09.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T20:59:09.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T20:59:10.398Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T20:59:10.398Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T20:59:10.398Z] OK: 8 MiB in 16 packages [2023-09-25T20:59:11.362Z] Removing intermediate container ee4c95158c0d [2023-09-25T20:59:11.362Z] ---> aebc1f9bbb45 [2023-09-25T20:59:11.362Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-25T20:59:12.767Z] ---> 5cf661921450 [2023-09-25T20:59:12.767Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-25T20:59:13.349Z] ---> 50d56d000a92 [2023-09-25T20:59:13.349Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-25T20:59:13.939Z] ---> 5a075df5ada9 [2023-09-25T20:59:13.939Z] Step 20/25 : EXPOSE 59986 [2023-09-25T20:59:13.939Z] ---> Running in f35f73c661fd [2023-09-25T20:59:14.205Z] Removing intermediate container f35f73c661fd [2023-09-25T20:59:14.205Z] ---> 234b09c31e10 [2023-09-25T20:59:14.205Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-25T20:59:14.205Z] ---> Running in c8be53b6fe86 [2023-09-25T20:59:14.472Z] Removing intermediate container c8be53b6fe86 [2023-09-25T20:59:14.472Z] ---> 2920b3b09a11 [2023-09-25T20:59:14.472Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-25T20:59:14.472Z] ---> Running in cd39ce390e5a [2023-09-25T20:59:14.742Z] Removing intermediate container cd39ce390e5a [2023-09-25T20:59:14.742Z] ---> 53dc09236076 [2023-09-25T20:59:14.742Z] Step 23/25 : LABEL arch=arm64 [2023-09-25T20:59:15.008Z] ---> Running in a8db4ab399a4 [2023-09-25T20:59:15.008Z] Removing intermediate container a8db4ab399a4 [2023-09-25T20:59:15.008Z] ---> b03273b49b8e [2023-09-25T20:59:15.008Z] Step 24/25 : LABEL git_sha=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [2023-09-25T20:59:15.273Z] ---> Running in 17f46d7b5acc [2023-09-25T20:59:15.539Z] Removing intermediate container 17f46d7b5acc [2023-09-25T20:59:15.539Z] ---> 1af8f32e4b4f [2023-09-25T20:59:15.539Z] Step 25/25 : LABEL version=0.0.0 [2023-09-25T20:59:15.539Z] ---> Running in 6cd0a123c4b4 [2023-09-25T20:59:15.804Z] Removing intermediate container 6cd0a123c4b4 [2023-09-25T20:59:15.804Z] ---> 20ac5be01453 [2023-09-25T20:59:15.804Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T20:59:15.804Z] Successfully built 20ac5be01453 [2023-09-25T20:59:15.804Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:59:16.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T20:59:16.637Z] [2023-09-25T20:59:16.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:59:17.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T20:59:17.033Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-25T20:59:17.033Z] 8998bd30e6a1: Pulling fs layer [2023-09-25T20:59:17.033Z] 04944245beec: Pulling fs layer [2023-09-25T20:59:17.033Z] 699f458cf7ca: Pulling fs layer [2023-09-25T20:59:17.033Z] 765212b225bb: Pulling fs layer [2023-09-25T20:59:17.033Z] f23df028b6ca: Pulling fs layer [2023-09-25T20:59:17.033Z] d65c8cfc05b1: Pulling fs layer [2023-09-25T20:59:17.033Z] 2437ff75d9bd: Pulling fs layer [2023-09-25T20:59:17.033Z] f23df028b6ca: Waiting [2023-09-25T20:59:17.033Z] d65c8cfc05b1: Waiting [2023-09-25T20:59:17.033Z] 2437ff75d9bd: Waiting [2023-09-25T20:59:17.033Z] 765212b225bb: Waiting [2023-09-25T20:59:17.299Z] 04944245beec: Verifying Checksum [2023-09-25T20:59:17.299Z] 04944245beec: Download complete [2023-09-25T20:59:17.299Z] 765212b225bb: Download complete [2023-09-25T20:59:17.299Z] f23df028b6ca: Verifying Checksum [2023-09-25T20:59:17.299Z] f23df028b6ca: Download complete [2023-09-25T20:59:17.299Z] d65c8cfc05b1: Verifying Checksum [2023-09-25T20:59:17.299Z] d65c8cfc05b1: Download complete [2023-09-25T20:59:17.299Z] 699f458cf7ca: Verifying Checksum [2023-09-25T20:59:17.299Z] 699f458cf7ca: Download complete [2023-09-25T20:59:17.884Z] 8998bd30e6a1: Verifying Checksum [2023-09-25T20:59:17.884Z] 8998bd30e6a1: Download complete [2023-09-25T20:59:19.840Z] 2437ff75d9bd: Verifying Checksum [2023-09-25T20:59:19.841Z] 2437ff75d9bd: Download complete [2023-09-25T20:59:21.786Z] 8998bd30e6a1: Pull complete [2023-09-25T20:59:23.194Z] 04944245beec: Pull complete [2023-09-25T20:59:24.601Z] 699f458cf7ca: Pull complete [2023-09-25T20:59:24.601Z] 765212b225bb: Pull complete [2023-09-25T20:59:25.184Z] f23df028b6ca: Pull complete [2023-09-25T20:59:25.452Z] d65c8cfc05b1: Pull complete [2023-09-25T20:59:40.443Z] 2437ff75d9bd: Pull complete [2023-09-25T20:59:40.443Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-25T20:59:40.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T20:59:40.443Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T20:59:40.769Z] prd-ubuntu20.04-docker-arm64-4c-16g-7880 does not seem to be running inside a container [2023-09-25T20:59:40.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-25T20:59:43.251Z] $ docker top 6a496b8da66d3a7db06f22cf885a63c642c188b37d07a601fe4f60c0355fd48c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:59:43.817Z] ---> job-cost.sh [2023-09-25T20:59:44.084Z] lf-activate-venv: SKIPPING [2023-09-25T20:59:44.084Z] INFO: No Stack... [2023-09-25T20:59:44.352Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-25T20:59:45.308Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T20:59:45.647Z] + cut -d, -f6 [2023-09-25T20:59:45.647Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-09-25T20:59:45.998Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [2023-09-25T20:59:46.004Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] did not exist. Created. [2023-09-25T20:59:46.004Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T20:59:46.407Z] /w/workspace/device-rest-go/1@tmp/durable-7905e9bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-25T20:59:47.082Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-25T20:59:47.117Z] Warning: overwriting stash ‘stack-cost’ [2023-09-25T20:59:47.236Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T20:59:47.251Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-346-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T20:59:47.335Z] $ docker stop --time=1 6a496b8da66d3a7db06f22cf885a63c642c188b37d07a601fe4f60c0355fd48c [2023-09-25T20:59:51.796Z] $ docker rm -f --volumes 6a496b8da66d3a7db06f22cf885a63c642c188b37d07a601fe4f60c0355fd48c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-25T20:59:52.800Z] provisioning config files... [2023-09-25T20:59:52.807Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/config9757005415981007983tmp [Pipeline] { [Pipeline] sh [2023-09-25T20:59:53.141Z] + set +x [2023-09-25T20:59:53.141Z] + curl -s https://codecov.io/bash [2023-09-25T20:59:53.141Z] + bash -s -- [2023-09-25T20:59:53.141Z] [2023-09-25T20:59:53.141Z] _____ _ [2023-09-25T20:59:53.141Z] / ____| | | [2023-09-25T20:59:53.141Z] | | ___ __| | ___ ___ _____ __ [2023-09-25T20:59:53.141Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-25T20:59:53.141Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-25T20:59:53.141Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-25T20:59:53.141Z] Bash-1.0.6 [2023-09-25T20:59:53.141Z] [2023-09-25T20:59:53.141Z] [2023-09-25T20:59:53.141Z] ==> git version 2.25.1 found [2023-09-25T20:59:53.141Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-25T20:59:53.141Z] Release-Date: 2020-01-08 [2023-09-25T20:59:53.141Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-25T20:59:53.141Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-25T20:59:53.141Z] ==> Jenkins CI detected. [2023-09-25T20:59:53.141Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-346 [2023-09-25T20:59:53.141Z] project root: . [2023-09-25T20:59:53.141Z] --> token set from env [2023-09-25T20:59:53.141Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-25T20:59:53.141Z] ==> Running gcov in . (disable via -X gcov) [2023-09-25T20:59:53.141Z] ==> Python coveragepy not found [2023-09-25T20:59:53.141Z] ==> Searching for coverage reports in: [2023-09-25T20:59:53.141Z] + . [2023-09-25T20:59:53.141Z] -> Found 1 reports [2023-09-25T20:59:53.141Z] ==> Detecting git/mercurial file structure [2023-09-25T20:59:53.402Z] ==> Reading reports [2023-09-25T20:59:53.402Z] + ./coverage.out bytes=14499 [2023-09-25T20:59:53.402Z] ==> Appending adjustments [2023-09-25T20:59:53.402Z] https://docs.codecov.io/docs/fixing-reports [2023-09-25T20:59:53.402Z] + Found adjustments [2023-09-25T20:59:53.402Z] ==> Gzipping contents [2023-09-25T20:59:53.402Z] 4.0K /tmp/codecov.pAPQcL.gz [2023-09-25T20:59:53.402Z] ==> Uploading reports [2023-09-25T20:59:53.402Z] url: https://codecov.io [2023-09-25T20:59:53.402Z] query: branch=PR-346&commit=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=346&job=&cmd_args= [2023-09-25T20:59:53.402Z] -> Pinging Codecov [2023-09-25T20:59:53.402Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-346&commit=a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=346&job=&cmd_args= [2023-09-25T20:59:53.402Z] -> Uploading to [2023-09-25T20:59:53.402Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-25/4E5D53B4F1F92C436F7061BF334D961C/a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a/ae9ea638-c165-4b05-82aa-6782cdd887a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T205953Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f31e3dc597449a7571534758fbee7ed4f2248165e905015b419f76de84a0317 [2023-09-25T20:59:53.402Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T20:59:53.402Z] Dload Upload Total Spent Left Speed [2023-09-25T20:59:53.660Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 9814 --:--:-- --:--:-- --:--:-- 9814 [2023-09-25T20:59:53.660Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a8fb40ea6a4bf3bf52ac20a8f668f4657e76658a [Pipeline] } [2023-09-25T20:59:53.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-25T20:59:55.428Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-346/archives ] [2023-09-25T20:59:55.428Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-346/archives [2023-09-25T20:59:55.428Z] total 16 [2023-09-25T20:59:55.428Z] drwxr-xr-x 3 root root 4096 Sep 25 20:52 . [2023-09-25T20:59:55.428Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 20:52 .. [2023-09-25T20:59:55.428Z] drwxr-xr-x 2 root root 4096 Sep 25 20:52 cost [2023-09-25T20:59:55.428Z] -rw-r--r-- 1 root root 86 Sep 25 20:52 cost.csv [2023-09-25T20:59:55.428Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-346/archives [2023-09-25T20:59:55.428Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-346/archives [2023-09-25T20:59:55.428Z] total 16 [2023-09-25T20:59:55.428Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 20:52 . [2023-09-25T20:59:55.428Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 20:52 .. [2023-09-25T20:59:55.428Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 20:52 cost [2023-09-25T20:59:55.428Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 25 20:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:59:55.754Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:59:56.639Z] ---> package-listing.sh [2023-09-25T20:59:56.639Z] ++ facter osfamily [2023-09-25T20:59:56.639Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-25T20:59:56.898Z] + OS_FAMILY=debian [2023-09-25T20:59:56.898Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-346 [2023-09-25T20:59:56.898Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-25T20:59:56.898Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-25T20:59:56.898Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-25T20:59:56.898Z] + PACKAGES=/tmp/packages_start.txt [2023-09-25T20:59:56.898Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-346 ']' [2023-09-25T20:59:56.898Z] + PACKAGES=/tmp/packages_end.txt [2023-09-25T20:59:56.898Z] + case "${OS_FAMILY}" in [2023-09-25T20:59:56.898Z] + dpkg -l [2023-09-25T20:59:56.898Z] + grep '^ii' [2023-09-25T20:59:56.898Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-25T20:59:56.898Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-25T20:59:56.898Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-25T20:59:56.898Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-346 ']' [2023-09-25T20:59:56.898Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-346/archives/ [2023-09-25T20:59:56.898Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-346/archives/ [Pipeline] echo [2023-09-25T20:59:56.933Z] 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-346/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-25T20:59:57.227Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T20:59:57.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T20:59:57.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T20:59:57.996Z] prd-ubuntu20.04-docker-8c-8g-7878 does not seem to be running inside a container [2023-09-25T20:59:58.029Z] $ 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-346/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-346 -v /w/workspace/gexfoundry_device-rest-go_PR-346:/w/workspace/gexfoundry_device-rest-go_PR-346:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-346@tmp:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T20:59:58.239Z] $ docker top 6ee05e20b891c2b7b9b4fe11a7a1b19e7dc3e82c3a821aae173216bb58639bf3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T20:59:58.624Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-25T20:59:58.935Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-25T20:59:59.244Z] + ls /var/log/sa-host [2023-09-25T20:59:59.244Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T20:59:59.465Z] provisioning config files... [2023-09-25T20:59:59.473Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-346@tmp/config2178361059854576777tmp [Pipeline] { [Pipeline] echo [2023-09-25T20:59:59.521Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T20:59:59.835Z] ---> create-netrc.sh [Pipeline] } [2023-09-25T20:59:59.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:00:00.263Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-25T21:00:00.296Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:00:00.602Z] ---> sudo-logs.sh [2023-09-25T21:00:00.602Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-25T21:00:00.689Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:00:01.100Z] ---> job-cost.sh [2023-09-25T21:00:01.100Z] lf-activate-venv: SKIPPING [2023-09-25T21:00:01.100Z] DEBUG: total: 0.2199999988079071 [2023-09-25T21:00:01.100Z] INFO: Retrieving Stack Cost... [2023-09-25T21:00:01.369Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T21:00:01.628Z] INFO: Archiving Costs [Pipeline] echo [2023-09-25T21:00:01.660Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:00:01.974Z] ---> logs-deploy.sh [2023-09-25T21:00:01.974Z] lf-activate-venv: SKIPPING [2023-09-25T21:00:01.974Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-346/1 [2023-09-25T21:00:01.974Z] INFO: archiving workspace using pattern(s): [2023-09-25T21:00:02.913Z] Archives upload complete. [2023-09-25T21:00:02.913Z] INFO: archiving logs to Nexus