Pull request #336 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8cb9289096ce8f96c23e85355267a56dccdb17db+f43bb6568d459ea684ddacde33420076da59f652 (97bdcc4f03c46558ec40f9342b73d0ece2044310) 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-ssh12610372865988113686.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh8389103907691828048.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-336/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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5970616103518585843.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-336/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17792270400611718662.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh17640934053870201837.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-336/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-336/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4123090203971668787.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5370 in /w/workspace/gexfoundry_device-rest-go_PR-336 [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-336 # 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/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f43bb6568d459ea684ddacde33420076da59f652 into PR head commit 8cb9289096ce8f96c23e85355267a56dccdb17db Merge succeeded, producing 8cb9289096ce8f96c23e85355267a56dccdb17db Checking out Revision 8cb9289096ce8f96c23e85355267a56dccdb17db (PR-336) 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8cb9289096ce8f96c23e85355267a56dccdb17db # 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 f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cb9289096ce8f96c23e85355267a56dccdb17db # timeout=10 [Pipeline] timeout [2023-09-05T20:32:20.492Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-05T20:32:20.677Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-05T20:32:20.773Z] ========================================================= [2023-09-05T20:32:20.773Z] EdgeX Global Pipelines Version Info [2023-09-05T20:32:20.773Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:32:21.505Z] ------------------- [2023-09-05T20:32:21.505Z] stable info: [2023-09-05T20:32:21.505Z] ------------------- [2023-09-05T20:32:21.505Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-05T20:32:21.505Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T20:32:21.505Z] Message: update stable to v1.0.253 [2023-09-05T20:32:22.083Z] ------------------- [2023-09-05T20:32:22.083Z] experimental info: [2023-09-05T20:32:22.083Z] ------------------- [2023-09-05T20:32:22.083Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-05T20:32:22.083Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-05T20:32:22.083Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-05T20:32:22.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-05T20:32:22.438Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-05T20:32:22.476Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-05T20:32:22.521Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-05T20:32:22.564Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-05T20:32:22.604Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-05T20:32:22.645Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-05T20:32:22.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-05T20:32:22.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-05T20:32:22.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-05T20:32:22.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-05T20:32:22.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-05T20:32:22.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-05T20:32:22.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-05T20:32:22.965Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-05T20:32:23.004Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-05T20:32:23.043Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T20:32:23.084Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-05T20:32:23.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-05T20:32:23.166Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-05T20:32:23.205Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-05T20:32:23.242Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-05T20:32:23.279Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-05T20:32:23.317Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-05T20:32:23.361Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-05T20:32:23.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-05T20:32:23.435Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-05T20:32:23.473Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-336 [Pipeline] echo [2023-09-05T20:32:23.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-336 [Pipeline] echo [2023-09-05T20:32:23.557Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-336 [Pipeline] echo [2023-09-05T20:32:23.611Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] echo [2023-09-05T20:32:23.651Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cb9289 [Pipeline] echo [2023-09-05T20:32:23.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T20:32:23.812Z] provisioning config files... [2023-09-05T20:32:23.827Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/config10575924584110285909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:32:24.182Z] ---> docker-login.sh [2023-09-05T20:32:24.182Z] nexus3.edgexfoundry.org:10001 [2023-09-05T20:32:24.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:24.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:24.443Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:24.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:24.443Z] [2023-09-05T20:32:24.443Z] Login Succeeded [2023-09-05T20:32:24.443Z] nexus3.edgexfoundry.org:10002 [2023-09-05T20:32:24.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:24.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:24.704Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:24.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:24.704Z] [2023-09-05T20:32:24.704Z] Login Succeeded [2023-09-05T20:32:24.704Z] nexus3.edgexfoundry.org:10003 [2023-09-05T20:32:24.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:24.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:24.704Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:24.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:24.704Z] [2023-09-05T20:32:24.704Z] Login Succeeded [2023-09-05T20:32:24.704Z] nexus3.edgexfoundry.org:10004 [2023-09-05T20:32:24.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:24.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:24.967Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:24.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:24.967Z] [2023-09-05T20:32:24.967Z] Login Succeeded [2023-09-05T20:32:24.967Z] docker.io [2023-09-05T20:32:24.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:25.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:25.232Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:25.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:25.232Z] [2023-09-05T20:32:25.232Z] Login Succeeded [2023-09-05T20:32:25.232Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T20:32:25.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-05T20:32:25.908Z] + git rev-list -1 --merges 8cb9289096ce8f96c23e85355267a56dccdb17db~1..8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] echo [2023-09-05T20:32:25.969Z] -----------> git rev-list -1 --merges 8cb9289096ce8f96c23e85355267a56dccdb17db~1..8cb9289096ce8f96c23e85355267a56dccdb17db 8cb9289096ce8f96c23e85355267a56dccdb17db [false] [Pipeline] sh [2023-09-05T20:32:26.273Z] + git log --format=format:%s -1 8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] echo [2023-09-05T20:32:26.307Z] ========================================================= [2023-09-05T20:32:26.307Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-05T20:32:26.307Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T20:32:26.749Z] + git log --format=format:%s -1 8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] echo [2023-09-05T20:32:26.780Z] [semverPrep] GIT_COMMIT: 8cb9289096ce8f96c23e85355267a56dccdb17db, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-05T20:32:26.808Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-05T20:32:27.217Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-05T20:32:27.217Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-05T20:32:27.217Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-05T20:32:27.217Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-05T20:32:27.217Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-05T20:32:27.217Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-05T20:32:27.217Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:32:27.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T20:32:27.699Z] [2023-09-05T20:32:27.699Z] 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-05T20:32:28.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T20:32:28.086Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-05T20:32:28.086Z] b85a868b505f: Pulling fs layer [2023-09-05T20:32:28.086Z] e2be974225ed: Pulling fs layer [2023-09-05T20:32:28.086Z] 339a4e72a1f5: Pulling fs layer [2023-09-05T20:32:28.086Z] 988bab9f4d93: Pulling fs layer [2023-09-05T20:32:28.086Z] 1469e6f7b9e6: Pulling fs layer [2023-09-05T20:32:28.086Z] eaf3925da568: Pulling fs layer [2023-09-05T20:32:28.086Z] bab4dde63d76: Pulling fs layer [2023-09-05T20:32:28.086Z] bde34c3a00c8: Pulling fs layer [2023-09-05T20:32:28.086Z] b352a97aabf1: Pulling fs layer [2023-09-05T20:32:28.086Z] 4872d77fe225: Pulling fs layer [2023-09-05T20:32:28.086Z] 5851b861e8e6: Pulling fs layer [2023-09-05T20:32:28.086Z] bab4dde63d76: Waiting [2023-09-05T20:32:28.086Z] 1469e6f7b9e6: Waiting [2023-09-05T20:32:28.086Z] bde34c3a00c8: Waiting [2023-09-05T20:32:28.086Z] eaf3925da568: Waiting [2023-09-05T20:32:28.086Z] b352a97aabf1: Waiting [2023-09-05T20:32:28.086Z] 4872d77fe225: Waiting [2023-09-05T20:32:28.086Z] 988bab9f4d93: Waiting [2023-09-05T20:32:28.086Z] e2be974225ed: Verifying Checksum [2023-09-05T20:32:28.086Z] e2be974225ed: Download complete [2023-09-05T20:32:28.086Z] 988bab9f4d93: Verifying Checksum [2023-09-05T20:32:28.087Z] 988bab9f4d93: Download complete [2023-09-05T20:32:28.087Z] 1469e6f7b9e6: Verifying Checksum [2023-09-05T20:32:28.087Z] 1469e6f7b9e6: Download complete [2023-09-05T20:32:28.348Z] 339a4e72a1f5: Verifying Checksum [2023-09-05T20:32:28.348Z] 339a4e72a1f5: Download complete [2023-09-05T20:32:28.348Z] eaf3925da568: Verifying Checksum [2023-09-05T20:32:28.348Z] eaf3925da568: Download complete [2023-09-05T20:32:28.348Z] bde34c3a00c8: Verifying Checksum [2023-09-05T20:32:28.348Z] bde34c3a00c8: Download complete [2023-09-05T20:32:28.348Z] b352a97aabf1: Verifying Checksum [2023-09-05T20:32:28.348Z] b352a97aabf1: Download complete [2023-09-05T20:32:28.348Z] 4872d77fe225: Download complete [2023-09-05T20:32:28.348Z] 5851b861e8e6: Verifying Checksum [2023-09-05T20:32:28.348Z] 5851b861e8e6: Download complete [2023-09-05T20:32:28.348Z] b85a868b505f: Verifying Checksum [2023-09-05T20:32:28.348Z] b85a868b505f: Download complete [2023-09-05T20:32:28.605Z] bab4dde63d76: Verifying Checksum [2023-09-05T20:32:28.605Z] bab4dde63d76: Download complete [2023-09-05T20:32:29.980Z] b85a868b505f: Pull complete [2023-09-05T20:32:29.980Z] e2be974225ed: Pull complete [2023-09-05T20:32:30.239Z] 339a4e72a1f5: Pull complete [2023-09-05T20:32:30.497Z] 988bab9f4d93: Pull complete [2023-09-05T20:32:30.757Z] 1469e6f7b9e6: Pull complete [2023-09-05T20:32:30.757Z] eaf3925da568: Pull complete [2023-09-05T20:32:33.292Z] bab4dde63d76: Pull complete [2023-09-05T20:32:33.292Z] bde34c3a00c8: Pull complete [2023-09-05T20:32:33.292Z] b352a97aabf1: Pull complete [2023-09-05T20:32:33.292Z] 4872d77fe225: Pull complete [2023-09-05T20:32:33.292Z] 5851b861e8e6: Pull complete [2023-09-05T20:32:33.292Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-05T20:32:33.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-05T20:32:33.292Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:32:33.518Z] prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container [2023-09-05T20:32:33.546Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-05T20:32:37.544Z] $ docker top 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 -eo pid,comm [2023-09-05T20:32:37.600Z] 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-05T20:32:37.600Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-05T20:32:37.717Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T20:32:37.717Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T20:32:37.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T20:32:37.842Z] $ docker exec 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 ssh-agent [2023-09-05T20:32:37.940Z] SSH_AUTH_SOCK=/tmp/ssh-NcaohXJNu4WI/agent.33 [2023-09-05T20:32:37.940Z] SSH_AGENT_PID=39 [2023-09-05T20:32:37.946Z] Running ssh-add (command line suppressed) [2023-09-05T20:32:38.055Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-336@tmp/private_key_13563611798509966078.key (/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/private_key_13563611798509966078.key) [2023-09-05T20:32:38.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T20:32:38.405Z] + git tag --points-at HEAD [Pipeline] } [2023-09-05T20:32:38.434Z] $ docker exec --env ******** --env ******** 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 ssh-agent -k [2023-09-05T20:32:38.535Z] unset SSH_AUTH_SOCK; [2023-09-05T20:32:38.535Z] unset SSH_AGENT_PID; [2023-09-05T20:32:38.535Z] echo Agent pid 39 killed; [2023-09-05T20:32:38.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-05T20:32:38.629Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-05T20:32:38.629Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-05T20:32:38.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-05T20:32:38.750Z] $ docker exec 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 ssh-agent [2023-09-05T20:32:38.862Z] SSH_AUTH_SOCK=/tmp/ssh-YCI8WYzX2myW/agent.71 [2023-09-05T20:32:38.862Z] SSH_AGENT_PID=78 [2023-09-05T20:32:38.867Z] Running ssh-add (command line suppressed) [2023-09-05T20:32:38.984Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-336@tmp/private_key_12548544337275621161.key (/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/private_key_12548544337275621161.key) [2023-09-05T20:32:38.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-05T20:32:39.325Z] + git semver init [2023-09-05T20:32:39.589Z] 2023-09-05 20:32:39,536 [run_init] DEBUG init version:0.0.0 force:False [2023-09-05T20:32:39.589Z] 2023-09-05 20:32:39,537 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-336/.semver [2023-09-05T20:32:39.590Z] 2023-09-05 20:32:39,538 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-336/.semver [2023-09-05T20:32:39.590Z] 2023-09-05 20:32:39,539 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-336/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-336, universal_newlines=False, shell=None, istream=None) [2023-09-05T20:32:40.527Z] 2023-09-05 20:32:40,524 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-336/.git/info/exclude [2023-09-05T20:32:40.527Z] 2023-09-05 20:32:40,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-336/.semver/PR-336 with force:False [2023-09-05T20:32:40.527Z] 2023-09-05 20:32:40,525 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-336/.semver/PR-336 [2023-09-05T20:32:40.527Z] 2023-09-05 20:32:40,529 [execute] INFO git cat-file --batch-check [2023-09-05T20:32:40.789Z] 2023-09-05 20:32:40,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-336/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T20:32:40.789Z] 2023-09-05 20:32:40,536 [execute] INFO git cat-file --batch [2023-09-05T20:32:40.789Z] 2023-09-05 20:32:40,536 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-336/.semver, universal_newlines=False, shell=None, istream=) [2023-09-05T20:32:40.789Z] 2023-09-05 20:32:40,542 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-336/.semver/PR-336 [2023-09-05T20:32:40.789Z] 0.0.0 [Pipeline] } [2023-09-05T20:32:40.817Z] $ docker exec --env ******** --env ******** 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 ssh-agent -k [2023-09-05T20:32:40.912Z] unset SSH_AUTH_SOCK; [2023-09-05T20:32:40.913Z] unset SSH_AGENT_PID; [2023-09-05T20:32:40.913Z] echo Agent pid 78 killed; [2023-09-05T20:32:40.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-05T20:32:41.353Z] + git semver [Pipeline] } [2023-09-05T20:32:41.636Z] $ docker stop --time=1 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 [2023-09-05T20:32:42.917Z] $ docker rm -f --volumes 70732acbc7e8a0e094f1e7e43dca11abd20845b744641a191942437843bd5522 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T20:32:43.326Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-05T20:32:43.616Z] Stashed 1 file(s) [Pipeline] echo [2023-09-05T20:32:43.633Z] [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-05T20:32:44.225Z] provisioning config files... [2023-09-05T20:32:44.237Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/config3026922533574387413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:32:44.578Z] ---> docker-login.sh [2023-09-05T20:32:44.578Z] nexus3.edgexfoundry.org:10001 [2023-09-05T20:32:44.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:44.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:44.578Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:44.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:44.578Z] [2023-09-05T20:32:44.578Z] Login Succeeded [2023-09-05T20:32:44.578Z] nexus3.edgexfoundry.org:10002 [2023-09-05T20:32:44.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:44.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:44.578Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:44.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:44.578Z] [2023-09-05T20:32:44.578Z] Login Succeeded [2023-09-05T20:32:44.578Z] nexus3.edgexfoundry.org:10003 [2023-09-05T20:32:44.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:44.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:44.839Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:44.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:44.839Z] [2023-09-05T20:32:44.839Z] Login Succeeded [2023-09-05T20:32:44.839Z] nexus3.edgexfoundry.org:10004 [2023-09-05T20:32:44.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:44.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:44.839Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:44.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:44.839Z] [2023-09-05T20:32:44.839Z] Login Succeeded [2023-09-05T20:32:44.839Z] docker.io [2023-09-05T20:32:45.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:32:45.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:32:45.360Z] Configure a credential helper to remove this warning. See [2023-09-05T20:32:45.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:32:45.360Z] [2023-09-05T20:32:45.360Z] Login Succeeded [2023-09-05T20:32:45.360Z] ---> docker-login.sh ends [Pipeline] } [2023-09-05T20:32:45.391Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-05T20:32:45.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:32:45.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:32:45.653Z] ========================================================= [2023-09-05T20:32:45.653Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-05T20:32:45.653Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:32:46.120Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-05T20:32:46.120Z] Sending build context to Docker daemon 10.93MB [2023-09-05T20:32:46.120Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T20:32:46.120Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-05T20:32:46.120Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-05T20:32:46.120Z] 4db1b89c0bd1: Pulling fs layer [2023-09-05T20:32:46.120Z] 6911f1a30b25: Pulling fs layer [2023-09-05T20:32:46.120Z] e194b8c5c2a9: Pulling fs layer [2023-09-05T20:32:46.120Z] 6863d3e3a2b1: Pulling fs layer [2023-09-05T20:32:46.120Z] ec0bb842ea78: Pulling fs layer [2023-09-05T20:32:46.120Z] 40a00589a448: Pulling fs layer [2023-09-05T20:32:46.120Z] 6c08303d61cc: Pulling fs layer [2023-09-05T20:32:46.120Z] 798269fcf238: Pulling fs layer [2023-09-05T20:32:46.120Z] 40a00589a448: Waiting [2023-09-05T20:32:46.120Z] 6c08303d61cc: Waiting [2023-09-05T20:32:46.120Z] 798269fcf238: Waiting [2023-09-05T20:32:46.120Z] 6863d3e3a2b1: Waiting [2023-09-05T20:32:46.120Z] ec0bb842ea78: Waiting [2023-09-05T20:32:46.120Z] 6911f1a30b25: Download complete [2023-09-05T20:32:46.380Z] 6863d3e3a2b1: Verifying Checksum [2023-09-05T20:32:46.380Z] 6863d3e3a2b1: Download complete [2023-09-05T20:32:46.380Z] ec0bb842ea78: Verifying Checksum [2023-09-05T20:32:46.380Z] ec0bb842ea78: Download complete [2023-09-05T20:32:46.380Z] 4db1b89c0bd1: Verifying Checksum [2023-09-05T20:32:46.380Z] 4db1b89c0bd1: Download complete [2023-09-05T20:32:46.380Z] 40a00589a448: Verifying Checksum [2023-09-05T20:32:46.380Z] 40a00589a448: Download complete [2023-09-05T20:32:46.380Z] 4db1b89c0bd1: Pull complete [2023-09-05T20:32:46.642Z] 6911f1a30b25: Pull complete [2023-09-05T20:32:46.900Z] 798269fcf238: Verifying Checksum [2023-09-05T20:32:46.900Z] 798269fcf238: Download complete [2023-09-05T20:32:46.900Z] e194b8c5c2a9: Verifying Checksum [2023-09-05T20:32:46.900Z] e194b8c5c2a9: Download complete [2023-09-05T20:32:47.158Z] 6c08303d61cc: Verifying Checksum [2023-09-05T20:32:47.158Z] 6c08303d61cc: Download complete [2023-09-05T20:32:50.437Z] e194b8c5c2a9: Pull complete [2023-09-05T20:32:50.437Z] 6863d3e3a2b1: Pull complete [2023-09-05T20:32:50.437Z] ec0bb842ea78: Pull complete [2023-09-05T20:32:50.695Z] 40a00589a448: Pull complete [2023-09-05T20:32:53.227Z] 6c08303d61cc: Pull complete [2023-09-05T20:32:53.797Z] 798269fcf238: Pull complete [2023-09-05T20:32:53.797Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-05T20:32:54.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-05T20:32:54.055Z] ---> ec979cd7f677 [2023-09-05T20:32:54.055Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-05T20:32:59.054Z] Still waiting to schedule task [2023-09-05T20:32:59.054Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-05T20:33:00.638Z] ---> Running in fc45232603f6 [2023-09-05T20:33:00.638Z] Removing intermediate container fc45232603f6 [2023-09-05T20:33:00.638Z] ---> 6fbb79c1f1fb [2023-09-05T20:33:00.638Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T20:33:00.638Z] ---> Running in 2f9295f9ab49 [2023-09-05T20:33:00.638Z] Removing intermediate container 2f9295f9ab49 [2023-09-05T20:33:00.638Z] ---> 8eb1770c2965 [2023-09-05T20:33:00.638Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-05T20:33:00.638Z] ---> Running in 3bdccc0cd01b [2023-09-05T20:33:00.638Z] Removing intermediate container 3bdccc0cd01b [2023-09-05T20:33:00.638Z] ---> d896626450a9 [2023-09-05T20:33:00.638Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-05T20:33:00.638Z] ---> Running in 277d63a80d01 [2023-09-05T20:33:00.638Z] Removing intermediate container 277d63a80d01 [2023-09-05T20:33:00.638Z] ---> bd6a297dec86 [2023-09-05T20:33:00.638Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-05T20:33:00.638Z] ---> Running in 4f45eccbfdff [2023-09-05T20:33:00.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T20:33:01.170Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T20:33:01.431Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-05T20:33:01.431Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-05T20:33:01.431Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-05T20:33:01.431Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-05T20:33:01.431Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T20:33:01.431Z] OK: 269 MiB in 57 packages [2023-09-05T20:33:02.001Z] Removing intermediate container 4f45eccbfdff [2023-09-05T20:33:02.001Z] ---> 0777986398c2 [2023-09-05T20:33:02.001Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-05T20:33:02.001Z] ---> Running in 10ac74bcc8ac [2023-09-05T20:33:02.001Z] Removing intermediate container 10ac74bcc8ac [2023-09-05T20:33:02.001Z] ---> defd9fac7571 [2023-09-05T20:33:02.001Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-05T20:33:02.260Z] ---> 3d8172ec8b14 [2023-09-05T20:33:02.260Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T20:33:02.260Z] ---> Running in ad6864700b40 [2023-09-05T20:33:40.998Z] Removing intermediate container ad6864700b40 [2023-09-05T20:33:40.998Z] ---> 0db388a5c98f [2023-09-05T20:33:40.998Z] Step 11/12 : COPY . . [2023-09-05T20:33:40.998Z] ---> 64fd3123f413 [2023-09-05T20:33:40.998Z] Step 12/12 : RUN $MAKE [2023-09-05T20:33:40.998Z] ---> Running in d3234761c4ec [2023-09-05T20:33:40.998Z] noop [2023-09-05T20:33:40.998Z] Removing intermediate container d3234761c4ec [2023-09-05T20:33:40.998Z] ---> c175c4753a7c [2023-09-05T20:33:40.998Z] Successfully built c175c4753a7c [2023-09-05T20:33:40.998Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:33:41.429Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-05T20:33:41.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:33:41.574Z] prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container [2023-09-05T20:33:41.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-05T20:33:41.978Z] $ docker top 70594d2dab19a3132b8afe8b7dd37fc6b2c11132d1e39820388eced97e9c0b23 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:33:42.374Z] + go version [2023-09-05T20:33:42.375Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-05T20:33:42.405Z] $ docker stop --time=1 70594d2dab19a3132b8afe8b7dd37fc6b2c11132d1e39820388eced97e9c0b23 [2023-09-05T20:33:43.708Z] $ docker rm -f --volumes 70594d2dab19a3132b8afe8b7dd37fc6b2c11132d1e39820388eced97e9c0b23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:33:44.417Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-05T20:33:44.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:33:44.580Z] prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container [2023-09-05T20:33:44.613Z] $ 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-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-05T20:33:44.945Z] $ docker top 29c4e9215dec56cf3d3c105fe43abefaf6e34d7f63cbdd86dcd203ccdfe9c15c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:33:45.335Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-336 [Pipeline] fileExists [Pipeline] sh [2023-09-05T20:33:45.707Z] + make test [2023-09-05T20:33:45.707Z] go test ./... -coverprofile=coverage.out ./... [2023-09-05T20:33:50.987Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-05T20:34:03.176Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-05T20:34:03.176Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2023-09-05T20:34:09.728Z] go vet ./... [2023-09-05T20:34:13.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-05T20:34:13.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-05T20:34:13.010Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-05T20:34:13.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-05T20:34:13.089Z] $ docker stop --time=1 29c4e9215dec56cf3d3c105fe43abefaf6e34d7f63cbdd86dcd203ccdfe9c15c [2023-09-05T20:34:17.018Z] $ docker rm -f --volumes 29c4e9215dec56cf3d3c105fe43abefaf6e34d7f63cbdd86dcd203ccdfe9c15c [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T20:34:17.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-05T20:34:17.639Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-05T20:34:18.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-05T20:34:18.629Z] + ls -al . [2023-09-05T20:34:18.629Z] total 188 [2023-09-05T20:34:18.629Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 20:33 . [2023-09-05T20:34:18.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:32 .. [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:32 .dockerignore [2023-09-05T20:34:18.629Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:32 .git [2023-09-05T20:34:18.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:32 .github [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:32 .gitignore [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:32 .golangci.yml [2023-09-05T20:34:18.629Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:32 .semver [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 5 20:32 Attribution.txt [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 5 20:32 CHANGELOG.md [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 5 20:32 Dockerfile [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:32 GOVERNANCE.md [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:32 Jenkinsfile [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:32 LICENSE [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 5 20:32 Makefile [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:32 OWNERS.md [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 5 20:32 README.md [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 20:32 VERSION [2023-09-05T20:34:18.629Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:32 bin [2023-09-05T20:34:18.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:32 cmd [2023-09-05T20:34:18.629Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 5 20:34 coverage.out [2023-09-05T20:34:18.629Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:32 driver [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 5 20:32 go.mod [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 5 20:32 go.sum [2023-09-05T20:34:18.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:32 snap [2023-09-05T20:34:18.629Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:34:19.054Z] + 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=8cb9289096ce8f96c23e85355267a56dccdb17db --label arch=amd64 --label version=0.0.0 . [2023-09-05T20:34:19.054Z] Sending build context to Docker daemon 10.94MB [2023-09-05T20:34:19.054Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T20:34:19.054Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-05T20:34:19.054Z] ---> c175c4753a7c [2023-09-05T20:34:19.054Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-05T20:34:19.314Z] ---> Running in 5602b5b11071 [2023-09-05T20:34:19.314Z] Removing intermediate container 5602b5b11071 [2023-09-05T20:34:19.314Z] ---> 60ef973e9c21 [2023-09-05T20:34:19.314Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T20:34:19.314Z] ---> Running in fc6c1b748791 [2023-09-05T20:34:19.314Z] Removing intermediate container fc6c1b748791 [2023-09-05T20:34:19.314Z] ---> bc3c252429d0 [2023-09-05T20:34:19.314Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-05T20:34:19.314Z] ---> Running in 984afccf5e24 [2023-09-05T20:34:19.573Z] Removing intermediate container 984afccf5e24 [2023-09-05T20:34:19.573Z] ---> 913ce17df513 [2023-09-05T20:34:19.573Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-05T20:34:19.573Z] ---> Running in 5b36cf42a52e [2023-09-05T20:34:19.573Z] Removing intermediate container 5b36cf42a52e [2023-09-05T20:34:19.573Z] ---> aea1580c38af [2023-09-05T20:34:19.573Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-05T20:34:19.573Z] ---> Running in fd209baced05 [2023-09-05T20:34:19.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T20:34:20.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T20:34:20.352Z] OK: 269 MiB in 57 packages [2023-09-05T20:34:20.611Z] Removing intermediate container fd209baced05 [2023-09-05T20:34:20.611Z] ---> 8ce2b9af3ab3 [2023-09-05T20:34:20.611Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-05T20:34:20.611Z] ---> Running in b228a0f40d96 [2023-09-05T20:34:20.870Z] Removing intermediate container b228a0f40d96 [2023-09-05T20:34:20.870Z] ---> d4f2cfca176d [2023-09-05T20:34:20.870Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-05T20:34:20.870Z] ---> 727ede57fa71 [2023-09-05T20:34:20.870Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T20:34:20.870Z] ---> Running in 64b4c598fd16 [2023-09-05T20:34:21.434Z] Removing intermediate container 64b4c598fd16 [2023-09-05T20:34:21.434Z] ---> 939ed15bc94b [2023-09-05T20:34:21.434Z] Step 11/25 : COPY . . [2023-09-05T20:34:22.232Z] ---> e9fd61eb966a [2023-09-05T20:34:22.232Z] Step 12/25 : RUN $MAKE [2023-09-05T20:34:22.232Z] ---> Running in 9304883e2b2e [2023-09-05T20:34:22.232Z] 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.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-05T20:34:28.359Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5372 in /w/workspace/gexfoundry_device-rest-go_PR-336 [Pipeline] { [Pipeline] ws [2023-09-05T20:34:28.415Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-05T20:34:28.497Z] The recommended git tool is: git [2023-09-05T20:34:33.556Z] using credential edgex-jenkins-ssh [2023-09-05T20:34:33.571Z] Cloning the remote Git repository [2023-09-05T20:34:33.612Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-05T20:34:33.706Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-05T20:34:33.838Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-05T20:34:33.838Z] > git --version # timeout=10 [2023-09-05T20:34:33.861Z] > git --version # 'git version 2.25.1' [2023-09-05T20:34:33.863Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T20:34:34.000Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-05T20:34:35.748Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-05T20:34:35.772Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-05T20:34:37.010Z] Merging remotes/origin/main commit f43bb6568d459ea684ddacde33420076da59f652 into PR head commit 8cb9289096ce8f96c23e85355267a56dccdb17db [2023-09-05T20:34:37.259Z] Merge succeeded, producing 8cb9289096ce8f96c23e85355267a56dccdb17db [2023-09-05T20:34:37.260Z] Checking out Revision 8cb9289096ce8f96c23e85355267a56dccdb17db (PR-336) [2023-09-05T20:34:36.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-05T20:34:36.554Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-05T20:34:36.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T20:34:36.574Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/336/head:refs/remotes/origin/PR-336 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-05T20:34:37.026Z] > git config core.sparsecheckout # timeout=10 [2023-09-05T20:34:37.089Z] > git checkout -f 8cb9289096ce8f96c23e85355267a56dccdb17db # timeout=10 [2023-09-05T20:34:37.170Z] > git remote # timeout=10 [2023-09-05T20:34:37.189Z] > git config --get remote.origin.url # timeout=10 [2023-09-05T20:34:37.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-05T20:34:37.219Z] > git merge f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 [2023-09-05T20:34:37.245Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-05T20:34:37.266Z] > git config core.sparsecheckout # timeout=10 [2023-09-05T20:34:37.278Z] > git checkout -f 8cb9289096ce8f96c23e85355267a56dccdb17db # timeout=10 [2023-09-05T20:34:37.704Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-05T20:34:37.748Z] > git --version # timeout=10 [2023-09-05T20:34:37.759Z] > git --version # 'git version 2.25.1' [2023-09-05T20:34:37.778Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T20:34:38.891Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-05T20:34:38.891Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-05T20:34:38.891Z] Dload Upload Total Spent Left Speed [2023-09-05T20:34:38.891Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-09-05T20:34:39.491Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-05T20:34:39.829Z] + sudo tee /etc/docker/daemon.new [2023-09-05T20:34:39.829Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-05T20:34:39.829Z] { [2023-09-05T20:34:39.829Z] "registry-mirrors": [ [2023-09-05T20:34:39.829Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-05T20:34:39.829Z] ], [2023-09-05T20:34:39.829Z] "bip": "10.250.0.254/24", [2023-09-05T20:34:39.829Z] "hosts": [ [2023-09-05T20:34:39.829Z] "tcp://0.0.0.0:5555", [2023-09-05T20:34:39.829Z] "unix:///var/run/docker.sock" [2023-09-05T20:34:39.829Z] ], [2023-09-05T20:34:39.829Z] "mtu": 1458, [2023-09-05T20:34:39.829Z] "selinux-enabled": true, [2023-09-05T20:34:39.829Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-05T20:34:39.829Z] } [Pipeline] sh [2023-09-05T20:34:40.170Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-05T20:34:40.515Z] + sudo service docker restart [2023-09-05T20:34:44.153Z] Removing intermediate container 9304883e2b2e [2023-09-05T20:34:44.153Z] ---> 9b0629f49315 [2023-09-05T20:34:44.153Z] Step 13/25 : FROM alpine:3.17 [2023-09-05T20:34:44.153Z] 3.17: Pulling from library/alpine [2023-09-05T20:34:44.153Z] 9398808236ff: Pulling fs layer [2023-09-05T20:34:44.415Z] 9398808236ff: Download complete [2023-09-05T20:34:44.675Z] 9398808236ff: Pull complete [2023-09-05T20:34:44.675Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-05T20:34:44.675Z] Status: Downloaded newer image for alpine:3.17 [2023-09-05T20:34:44.675Z] ---> 1e0b8b5322fc [2023-09-05T20:34:44.675Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-05T20:34:44.675Z] ---> Running in e6862356bdda [2023-09-05T20:34:44.936Z] Removing intermediate container e6862356bdda [2023-09-05T20:34:44.936Z] ---> b48b4760066d [2023-09-05T20:34:44.936Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-05T20:34:44.936Z] ---> Running in 32e1992191a9 [2023-09-05T20:34:44.936Z] Removing intermediate container 32e1992191a9 [2023-09-05T20:34:44.936Z] ---> 378f19e78fe1 [2023-09-05T20:34:44.936Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-05T20:34:44.936Z] ---> Running in 83692794fdb4 [2023-09-05T20:34:45.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-05T20:34:45.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-05T20:34:45.481Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-05T20:34:45.481Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T20:34:45.481Z] OK: 7 MiB in 16 packages [2023-09-05T20:34:45.743Z] Removing intermediate container 83692794fdb4 [2023-09-05T20:34:45.743Z] ---> 90bf3af83369 [2023-09-05T20:34:45.743Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-05T20:34:46.679Z] ---> 6cc3ad6b8827 [2023-09-05T20:34:46.679Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-05T20:34:46.679Z] ---> 0509ccf06be6 [2023-09-05T20:34:46.679Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-05T20:34:46.936Z] ---> ea533694ac4e [2023-09-05T20:34:46.936Z] Step 20/25 : EXPOSE 59986 [2023-09-05T20:34:46.936Z] ---> Running in 8acde2f98abf [2023-09-05T20:34:46.936Z] Removing intermediate container 8acde2f98abf [2023-09-05T20:34:46.936Z] ---> 34069f5c6fde [2023-09-05T20:34:46.936Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-05T20:34:46.936Z] ---> Running in af9ad6d0c6cc [2023-09-05T20:34:46.936Z] Removing intermediate container af9ad6d0c6cc [2023-09-05T20:34:46.936Z] ---> ca5ca846b60a [2023-09-05T20:34:46.936Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-05T20:34:46.936Z] ---> Running in 357fc27425cc [2023-09-05T20:34:47.193Z] Removing intermediate container 357fc27425cc [2023-09-05T20:34:47.193Z] ---> 9da678a8c489 [2023-09-05T20:34:47.193Z] Step 23/25 : LABEL arch=amd64 [2023-09-05T20:34:47.193Z] ---> Running in 5a36ecac67d1 [2023-09-05T20:34:47.193Z] Removing intermediate container 5a36ecac67d1 [2023-09-05T20:34:47.193Z] ---> 325cfcdffbef [2023-09-05T20:34:47.193Z] Step 24/25 : LABEL git_sha=8cb9289096ce8f96c23e85355267a56dccdb17db [2023-09-05T20:34:47.193Z] ---> Running in 75e02df7bf3f [2023-09-05T20:34:47.193Z] Removing intermediate container 75e02df7bf3f [2023-09-05T20:34:47.193Z] ---> dbbdcccd8e75 [2023-09-05T20:34:47.193Z] Step 25/25 : LABEL version=0.0.0 [2023-09-05T20:34:47.193Z] ---> Running in b2d7fcae5061 [2023-09-05T20:34:47.453Z] Removing intermediate container b2d7fcae5061 [2023-09-05T20:34:47.453Z] ---> d365532b694a [2023-09-05T20:34:47.453Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-05T20:34:47.453Z] Successfully built d365532b694a [2023-09-05T20:34:47.453Z] 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-05T20:34:48.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T20:34:48.311Z] [2023-09-05T20:34:48.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:34:48.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T20:34:48.675Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-05T20:34:48.675Z] 5eb5b503b376: Pulling fs layer [2023-09-05T20:34:48.675Z] 5c69ac0246d0: Pulling fs layer [2023-09-05T20:34:48.675Z] ec43610c2a17: Pulling fs layer [2023-09-05T20:34:48.675Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-05T20:34:48.675Z] 33b1e0a273af: Pulling fs layer [2023-09-05T20:34:48.675Z] 5d3b04190fa2: Pulling fs layer [2023-09-05T20:34:48.675Z] 2f39f015ded8: Pulling fs layer [2023-09-05T20:34:48.675Z] 33b1e0a273af: Waiting [2023-09-05T20:34:48.675Z] 5d3b04190fa2: Waiting [2023-09-05T20:34:48.675Z] 5c69ac0246d0: Verifying Checksum [2023-09-05T20:34:48.675Z] 5c69ac0246d0: Download complete [2023-09-05T20:34:48.675Z] 3a2ae6a8a46f: Download complete [2023-09-05T20:34:48.675Z] 33b1e0a273af: Verifying Checksum [2023-09-05T20:34:48.675Z] 33b1e0a273af: Download complete [2023-09-05T20:34:48.675Z] 5d3b04190fa2: Verifying Checksum [2023-09-05T20:34:48.675Z] 5d3b04190fa2: Download complete [2023-09-05T20:34:48.675Z] ec43610c2a17: Verifying Checksum [2023-09-05T20:34:48.675Z] ec43610c2a17: Download complete [2023-09-05T20:34:48.939Z] 5eb5b503b376: Verifying Checksum [2023-09-05T20:34:48.939Z] 5eb5b503b376: Download complete [2023-09-05T20:34:49.507Z] 2f39f015ded8: Verifying Checksum [2023-09-05T20:34:49.507Z] 2f39f015ded8: Download complete [2023-09-05T20:34:50.072Z] 5eb5b503b376: Pull complete [2023-09-05T20:34:50.072Z] 5c69ac0246d0: Pull complete [2023-09-05T20:34:50.639Z] ec43610c2a17: Pull complete [2023-09-05T20:34:50.639Z] 3a2ae6a8a46f: Pull complete [2023-09-05T20:34:50.901Z] 33b1e0a273af: Pull complete [2023-09-05T20:34:50.901Z] 5d3b04190fa2: Pull complete [2023-09-05T20:34:55.091Z] 2f39f015ded8: Pull complete [2023-09-05T20:34:55.091Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-05T20:34:55.091Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T20:34:55.091Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:34:55.302Z] prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container [2023-09-05T20:34:55.327Z] $ 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-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-05T20:34:59.936Z] $ docker top f94788c12bd78174ef2fa6afbacf0ca811bb1138ea1feafeb335db0ab9e8ea5d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-09-05T20:35:00.161Z] provisioning config files... [2023-09-05T20:35:00.188Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6287764747431349803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:35:00.392Z] ---> job-cost.sh [2023-09-05T20:35:00.392Z] lf-activate-venv: SKIPPING [2023-09-05T20:35:00.392Z] INFO: No Stack... [2023-09-05T20:35:00.572Z] ---> docker-login.sh [2023-09-05T20:35:00.572Z] nexus3.edgexfoundry.org:10001 [2023-09-05T20:35:00.652Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-05T20:35:00.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:35:00.913Z] INFO: Archiving Costs [Pipeline] sh [2023-09-05T20:35:01.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:35:01.110Z] Configure a credential helper to remove this warning. See [2023-09-05T20:35:01.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:35:01.110Z] [2023-09-05T20:35:01.110Z] Login Succeeded [2023-09-05T20:35:01.110Z] nexus3.edgexfoundry.org:10002 [2023-09-05T20:35:01.231Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-336/archives/cost.csv [2023-09-05T20:35:01.231Z] + cut -d, -f6 [Pipeline] lock [2023-09-05T20:35:01.272Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [2023-09-05T20:35:01.276Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] did not exist. Created. [2023-09-05T20:35:01.276Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-05T20:35:01.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:35:01.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:35:01.384Z] Configure a credential helper to remove this warning. See [2023-09-05T20:35:01.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:35:01.384Z] [2023-09-05T20:35:01.384Z] Login Succeeded [2023-09-05T20:35:01.384Z] nexus3.edgexfoundry.org:10003 [2023-09-05T20:35:01.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:35:01.687Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-05T20:35:01.760Z] Stashed 1 file(s) [Pipeline] } [2023-09-05T20:35:01.785Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-05T20:35:01.866Z] $ docker stop --time=1 f94788c12bd78174ef2fa6afbacf0ca811bb1138ea1feafeb335db0ab9e8ea5d [2023-09-05T20:35:01.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:35:01.938Z] Configure a credential helper to remove this warning. See [2023-09-05T20:35:01.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:35:01.938Z] [2023-09-05T20:35:01.938Z] Login Succeeded [2023-09-05T20:35:01.938Z] nexus3.edgexfoundry.org:10004 [2023-09-05T20:35:02.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:35:02.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:35:02.219Z] Configure a credential helper to remove this warning. See [2023-09-05T20:35:02.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:35:02.219Z] [2023-09-05T20:35:02.219Z] Login Succeeded [2023-09-05T20:35:02.219Z] docker.io [2023-09-05T20:35:02.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-05T20:35:02.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-05T20:35:02.759Z] Configure a credential helper to remove this warning. See [2023-09-05T20:35:02.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-05T20:35:02.759Z] [2023-09-05T20:35:02.759Z] Login Succeeded [2023-09-05T20:35:02.759Z] ---> docker-login.sh ends [2023-09-05T20:35:03.017Z] $ docker rm -f --volumes f94788c12bd78174ef2fa6afbacf0ca811bb1138ea1feafeb335db0ab9e8ea5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-09-05T20:35:03.178Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-09-05T20:35:03.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:35:03.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-05T20:35:03.614Z] ========================================================= [2023-09-05T20:35:03.614Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-05T20:35:03.614Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:35:04.108Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-05T20:35:04.108Z] Sending build context to Docker daemon 143.4kB [2023-09-05T20:35:04.377Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T20:35:04.377Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-05T20:35:04.377Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-05T20:35:04.377Z] edb6bdbacee9: Pulling fs layer [2023-09-05T20:35:04.377Z] 5f9638ab2659: Pulling fs layer [2023-09-05T20:35:04.377Z] 8d51d6327a98: Pulling fs layer [2023-09-05T20:35:04.377Z] 8b374f2dd631: Pulling fs layer [2023-09-05T20:35:04.377Z] ec14aa9079de: Pulling fs layer [2023-09-05T20:35:04.377Z] 2f466654f4bb: Pulling fs layer [2023-09-05T20:35:04.377Z] 554e91adad29: Pulling fs layer [2023-09-05T20:35:04.377Z] 8b374f2dd631: Waiting [2023-09-05T20:35:04.377Z] ec14aa9079de: Waiting [2023-09-05T20:35:04.377Z] 2f466654f4bb: Waiting [2023-09-05T20:35:04.377Z] 554e91adad29: Waiting [2023-09-05T20:35:04.377Z] 5f9638ab2659: Verifying Checksum [2023-09-05T20:35:04.377Z] 5f9638ab2659: Download complete [2023-09-05T20:35:04.377Z] 8b374f2dd631: Verifying Checksum [2023-09-05T20:35:04.377Z] 8b374f2dd631: Download complete [2023-09-05T20:35:04.655Z] ec14aa9079de: Verifying Checksum [2023-09-05T20:35:04.655Z] ec14aa9079de: Download complete [2023-09-05T20:35:04.655Z] edb6bdbacee9: Verifying Checksum [2023-09-05T20:35:05.628Z] edb6bdbacee9: Pull complete [2023-09-05T20:35:05.904Z] 554e91adad29: Verifying Checksum [2023-09-05T20:35:05.904Z] 554e91adad29: Download complete [2023-09-05T20:35:06.174Z] 5f9638ab2659: Pull complete [2023-09-05T20:35:07.143Z] 8d51d6327a98: Download complete [2023-09-05T20:35:07.143Z] 2f466654f4bb: Verifying Checksum [2023-09-05T20:35:07.143Z] 2f466654f4bb: Download complete [2023-09-05T20:35:17.220Z] 8d51d6327a98: Pull complete [2023-09-05T20:35:17.490Z] 8b374f2dd631: Pull complete [2023-09-05T20:35:17.760Z] ec14aa9079de: Pull complete [2023-09-05T20:35:24.564Z] 2f466654f4bb: Pull complete [2023-09-05T20:35:27.151Z] 554e91adad29: Pull complete [2023-09-05T20:35:27.151Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-05T20:35:27.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-05T20:35:27.151Z] ---> 1e15ea492957 [2023-09-05T20:35:27.151Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-05T20:35:29.097Z] ---> Running in 1cf9ccc1b611 [2023-09-05T20:35:29.097Z] Removing intermediate container 1cf9ccc1b611 [2023-09-05T20:35:29.097Z] ---> 3c6017043bb1 [2023-09-05T20:35:29.097Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T20:35:29.097Z] ---> Running in f2ea8d1c1bc6 [2023-09-05T20:35:29.365Z] Removing intermediate container f2ea8d1c1bc6 [2023-09-05T20:35:29.365Z] ---> 0ab7a56bd32c [2023-09-05T20:35:29.365Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-05T20:35:29.631Z] ---> Running in b53d6d3ffb7b [2023-09-05T20:35:29.900Z] Removing intermediate container b53d6d3ffb7b [2023-09-05T20:35:29.900Z] ---> 8418fc12aaec [2023-09-05T20:35:29.900Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-05T20:35:29.900Z] ---> Running in 315218d4aa4e [2023-09-05T20:35:30.178Z] Removing intermediate container 315218d4aa4e [2023-09-05T20:35:30.178Z] ---> 022111e27e11 [2023-09-05T20:35:30.178Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-05T20:35:30.178Z] ---> Running in 5b782936bd6f [2023-09-05T20:35:31.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T20:35:31.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T20:35:32.818Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-09-05T20:35:32.818Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-09-05T20:35:32.818Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-09-05T20:35:32.818Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-09-05T20:35:33.084Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T20:35:33.084Z] OK: 268 MiB in 57 packages [2023-09-05T20:35:34.048Z] Removing intermediate container 5b782936bd6f [2023-09-05T20:35:34.048Z] ---> 8c1d24f0fcb7 [2023-09-05T20:35:34.048Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-05T20:35:34.048Z] ---> Running in a2e24008c23d [2023-09-05T20:35:34.318Z] Removing intermediate container a2e24008c23d [2023-09-05T20:35:34.318Z] ---> eb0a977f126f [2023-09-05T20:35:34.318Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-05T20:35:36.890Z] ---> e1bf7c98f814 [2023-09-05T20:35:36.890Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T20:35:37.156Z] ---> Running in e3ba050dfe3a [2023-09-05T20:36:45.037Z] Removing intermediate container e3ba050dfe3a [2023-09-05T20:36:45.037Z] ---> e892f2c1f84d [2023-09-05T20:36:45.037Z] Step 11/12 : COPY . . [2023-09-05T20:36:45.037Z] ---> 711803a84277 [2023-09-05T20:36:45.037Z] Step 12/12 : RUN $MAKE [2023-09-05T20:36:45.037Z] ---> Running in 5c0f17522447 [2023-09-05T20:36:45.037Z] noop [2023-09-05T20:36:45.037Z] Removing intermediate container 5c0f17522447 [2023-09-05T20:36:45.037Z] ---> 074eefe5d195 [2023-09-05T20:36:45.037Z] Successfully built 074eefe5d195 [2023-09-05T20:36:45.037Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:36:45.518Z] + docker inspect -f . ci-base-image-arm64 [2023-09-05T20:36:45.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:36:45.792Z] prd-ubuntu20.04-docker-arm64-4c-16g-5372 does not seem to be running inside a container [2023-09-05T20:36:45.846Z] $ 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-05T20:36:46.940Z] $ docker top be0ca2760b5e8ca7913e298b3f0537a5bfadedc97d86ca7e4a3455e59745ae9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:36:47.800Z] + go version [2023-09-05T20:36:47.800Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-05T20:36:47.834Z] $ docker stop --time=1 be0ca2760b5e8ca7913e298b3f0537a5bfadedc97d86ca7e4a3455e59745ae9f [2023-09-05T20:36:49.421Z] $ docker rm -f --volumes be0ca2760b5e8ca7913e298b3f0537a5bfadedc97d86ca7e4a3455e59745ae9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:36:50.270Z] + docker inspect -f . ci-base-image-arm64 [2023-09-05T20:36:50.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:36:50.525Z] prd-ubuntu20.04-docker-arm64-4c-16g-5372 does not seem to be running inside a container [2023-09-05T20:36:50.586Z] $ 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-05T20:36:51.669Z] $ docker top 96cf7328f24a716b344e0d2aeef01a2e955d64f436a6474460bd74cde516b0e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:36:52.530Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-05T20:36:52.915Z] + make test [2023-09-05T20:36:52.915Z] go test ./... -coverprofile=coverage.out ./... [2023-09-05T20:37:25.346Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-05T20:39:32.019Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-05T20:39:32.019Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.2% of statements [2023-09-05T20:39:32.019Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-05T20:39:32.019Z] go vet ./... [2023-09-05T20:39:50.221Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-05T20:39:50.221Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-05T20:39:50.221Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-05T20:39:50.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-05T20:39:50.287Z] $ docker stop --time=1 96cf7328f24a716b344e0d2aeef01a2e955d64f436a6474460bd74cde516b0e4 [2023-09-05T20:39:53.083Z] $ docker rm -f --volumes 96cf7328f24a716b344e0d2aeef01a2e955d64f436a6474460bd74cde516b0e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-05T20:39:54.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-05T20:39:54.325Z] Warning: overwriting stash ‘coverage-report’ [2023-09-05T20:39:54.709Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-05T20:39:55.281Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-05T20:39:55.615Z] + ls -al . [2023-09-05T20:39:55.615Z] total 184 [2023-09-05T20:39:55.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:36 . [2023-09-05T20:39:55.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:34 .. [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 5 20:34 .dockerignore [2023-09-05T20:39:55.615Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 20:34 .git [2023-09-05T20:39:55.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:34 .github [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 20:34 .gitignore [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 20:34 .golangci.yml [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 5 20:34 Attribution.txt [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 5 20:34 CHANGELOG.md [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 5 20:34 Dockerfile [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 20:34 GOVERNANCE.md [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 5 20:34 Jenkinsfile [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 20:34 LICENSE [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 5 20:34 Makefile [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 20:34 OWNERS.md [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 5 20:34 README.md [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 20:32 VERSION [2023-09-05T20:39:55.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:34 bin [2023-09-05T20:39:55.615Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 20:34 cmd [2023-09-05T20:39:55.615Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 5 20:39 coverage.out [2023-09-05T20:39:55.615Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 20:34 driver [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 3889 Sep 5 20:34 go.mod [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 5 20:34 go.sum [2023-09-05T20:39:55.615Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 20:34 snap [2023-09-05T20:39:55.615Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 5 20:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:39:56.027Z] + 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=8cb9289096ce8f96c23e85355267a56dccdb17db --label arch=arm64 --label version=0.0.0 . [2023-09-05T20:39:56.028Z] Sending build context to Docker daemon 158.7kB [2023-09-05T20:39:56.295Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-09-05T20:39:56.295Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-05T20:39:56.295Z] ---> 074eefe5d195 [2023-09-05T20:39:56.295Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-05T20:39:56.295Z] ---> Running in 23cd3c8560ec [2023-09-05T20:39:56.564Z] Removing intermediate container 23cd3c8560ec [2023-09-05T20:39:56.564Z] ---> 2379fd7fc9ad [2023-09-05T20:39:56.564Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-05T20:39:56.564Z] ---> Running in 02f0c8b1ca74 [2023-09-05T20:39:56.832Z] Removing intermediate container 02f0c8b1ca74 [2023-09-05T20:39:56.832Z] ---> fceb86a5cc9d [2023-09-05T20:39:56.832Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-05T20:39:57.098Z] ---> Running in bd0ac3673cb1 [2023-09-05T20:39:57.365Z] Removing intermediate container bd0ac3673cb1 [2023-09-05T20:39:57.365Z] ---> 786e6ccc8fb3 [2023-09-05T20:39:57.365Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-05T20:39:57.365Z] ---> Running in b5a04d367a74 [2023-09-05T20:39:57.631Z] Removing intermediate container b5a04d367a74 [2023-09-05T20:39:57.631Z] ---> b76cbc67385c [2023-09-05T20:39:57.631Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-05T20:39:57.631Z] ---> Running in e5abf072106e [2023-09-05T20:39:58.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T20:39:59.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T20:40:00.135Z] OK: 268 MiB in 57 packages [2023-09-05T20:40:01.095Z] Removing intermediate container e5abf072106e [2023-09-05T20:40:01.095Z] ---> aef3b0c305d7 [2023-09-05T20:40:01.095Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-05T20:40:01.095Z] ---> Running in c8054ee7b0c7 [2023-09-05T20:40:01.095Z] Removing intermediate container c8054ee7b0c7 [2023-09-05T20:40:01.095Z] ---> be29a5e7012a [2023-09-05T20:40:01.095Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-05T20:40:01.689Z] ---> 5e3728c2e4a6 [2023-09-05T20:40:01.689Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-05T20:40:01.689Z] ---> Running in c4ba124cdce2 [2023-09-05T20:40:03.636Z] Removing intermediate container c4ba124cdce2 [2023-09-05T20:40:03.636Z] ---> b52a22d58899 [2023-09-05T20:40:03.636Z] Step 11/25 : COPY . . [2023-09-05T20:40:06.973Z] ---> 6a1514a0fb43 [2023-09-05T20:40:06.973Z] Step 12/25 : RUN $MAKE [2023-09-05T20:40:06.973Z] ---> Running in 3296db04289d [2023-09-05T20:40:07.241Z] 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.18" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-05T20:42:28.916Z] Removing intermediate container 3296db04289d [2023-09-05T20:42:28.916Z] ---> f36558fe75df [2023-09-05T20:42:28.916Z] Step 13/25 : FROM alpine:3.17 [2023-09-05T20:42:28.916Z] 3.17: Pulling from library/alpine [2023-09-05T20:42:28.916Z] 4060ece20d7a: Pulling fs layer [2023-09-05T20:42:28.916Z] 4060ece20d7a: Download complete [2023-09-05T20:42:28.916Z] 4060ece20d7a: Pull complete [2023-09-05T20:42:28.916Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-05T20:42:28.916Z] Status: Downloaded newer image for alpine:3.17 [2023-09-05T20:42:28.916Z] ---> 8650cd65339b [2023-09-05T20:42:28.916Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-05T20:42:28.916Z] ---> Running in 3625c0805487 [2023-09-05T20:42:28.916Z] Removing intermediate container 3625c0805487 [2023-09-05T20:42:28.916Z] ---> c807bc64b87e [2023-09-05T20:42:28.916Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-05T20:42:28.916Z] ---> Running in 5633fe2fb56d [2023-09-05T20:42:28.916Z] Removing intermediate container 5633fe2fb56d [2023-09-05T20:42:28.916Z] ---> dabe60a9c4da [2023-09-05T20:42:28.916Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-05T20:42:28.916Z] ---> Running in ddf19128fd52 [2023-09-05T20:42:28.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-05T20:42:28.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-05T20:42:28.916Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-05T20:42:28.916Z] Executing busybox-1.35.0-r29.trigger [2023-09-05T20:42:28.916Z] OK: 8 MiB in 16 packages [2023-09-05T20:42:28.916Z] Removing intermediate container ddf19128fd52 [2023-09-05T20:42:28.916Z] ---> 3113f59dfb71 [2023-09-05T20:42:28.916Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-05T20:42:28.916Z] ---> be5076bfe73c [2023-09-05T20:42:28.916Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-05T20:42:28.916Z] ---> d8186e1ec612 [2023-09-05T20:42:28.916Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-05T20:42:28.916Z] ---> 2cc2eed83a07 [2023-09-05T20:42:28.916Z] Step 20/25 : EXPOSE 59986 [2023-09-05T20:42:28.916Z] ---> Running in 5a47311a5894 [2023-09-05T20:42:28.916Z] Removing intermediate container 5a47311a5894 [2023-09-05T20:42:28.916Z] ---> f9bc3f3e9f0a [2023-09-05T20:42:28.916Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-05T20:42:28.916Z] ---> Running in 0866af536b5d [2023-09-05T20:42:28.916Z] Removing intermediate container 0866af536b5d [2023-09-05T20:42:28.916Z] ---> af1c90317b8c [2023-09-05T20:42:28.916Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-05T20:42:28.916Z] ---> Running in e6d81535aad2 [2023-09-05T20:42:28.916Z] Removing intermediate container e6d81535aad2 [2023-09-05T20:42:28.916Z] ---> 1e624d6aad3d [2023-09-05T20:42:28.916Z] Step 23/25 : LABEL arch=arm64 [2023-09-05T20:42:28.916Z] ---> Running in c2280068a080 [2023-09-05T20:42:28.917Z] Removing intermediate container c2280068a080 [2023-09-05T20:42:28.917Z] ---> e7135d644c20 [2023-09-05T20:42:28.917Z] Step 24/25 : LABEL git_sha=8cb9289096ce8f96c23e85355267a56dccdb17db [2023-09-05T20:42:28.917Z] ---> Running in 639d8637458b [2023-09-05T20:42:28.917Z] Removing intermediate container 639d8637458b [2023-09-05T20:42:28.917Z] ---> e81c6cfd539d [2023-09-05T20:42:28.917Z] Step 25/25 : LABEL version=0.0.0 [2023-09-05T20:42:28.917Z] ---> Running in 3eb3ce692d2c [2023-09-05T20:42:28.917Z] Removing intermediate container 3eb3ce692d2c [2023-09-05T20:42:28.917Z] ---> aaae2619b6d0 [2023-09-05T20:42:28.917Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-05T20:42:28.917Z] Successfully built aaae2619b6d0 [2023-09-05T20:42:28.917Z] 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-05T20:42:29.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T20:42:29.718Z] [2023-09-05T20:42:29.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:42:30.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T20:42:30.120Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-05T20:42:30.120Z] 8998bd30e6a1: Pulling fs layer [2023-09-05T20:42:30.120Z] 04944245beec: Pulling fs layer [2023-09-05T20:42:30.120Z] 699f458cf7ca: Pulling fs layer [2023-09-05T20:42:30.120Z] 765212b225bb: Pulling fs layer [2023-09-05T20:42:30.120Z] f23df028b6ca: Pulling fs layer [2023-09-05T20:42:30.120Z] d65c8cfc05b1: Pulling fs layer [2023-09-05T20:42:30.120Z] 2437ff75d9bd: Pulling fs layer [2023-09-05T20:42:30.120Z] f23df028b6ca: Waiting [2023-09-05T20:42:30.120Z] d65c8cfc05b1: Waiting [2023-09-05T20:42:30.120Z] 2437ff75d9bd: Waiting [2023-09-05T20:42:30.120Z] 765212b225bb: Waiting [2023-09-05T20:42:30.388Z] 04944245beec: Verifying Checksum [2023-09-05T20:42:30.388Z] 04944245beec: Download complete [2023-09-05T20:42:30.388Z] 765212b225bb: Download complete [2023-09-05T20:42:30.388Z] f23df028b6ca: Verifying Checksum [2023-09-05T20:42:30.388Z] f23df028b6ca: Download complete [2023-09-05T20:42:30.388Z] d65c8cfc05b1: Verifying Checksum [2023-09-05T20:42:30.388Z] d65c8cfc05b1: Download complete [2023-09-05T20:42:30.388Z] 699f458cf7ca: Verifying Checksum [2023-09-05T20:42:30.388Z] 699f458cf7ca: Download complete [2023-09-05T20:42:30.974Z] 8998bd30e6a1: Verifying Checksum [2023-09-05T20:42:30.974Z] 8998bd30e6a1: Download complete [2023-09-05T20:42:32.918Z] 2437ff75d9bd: Verifying Checksum [2023-09-05T20:42:32.918Z] 2437ff75d9bd: Download complete [2023-09-05T20:42:34.857Z] 8998bd30e6a1: Pull complete [2023-09-05T20:42:35.439Z] 04944245beec: Pull complete [2023-09-05T20:42:36.399Z] 699f458cf7ca: Pull complete [2023-09-05T20:42:36.666Z] 765212b225bb: Pull complete [2023-09-05T20:42:37.622Z] f23df028b6ca: Pull complete [2023-09-05T20:42:37.622Z] d65c8cfc05b1: Pull complete [2023-09-05T20:42:52.807Z] 2437ff75d9bd: Pull complete [2023-09-05T20:42:52.807Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-05T20:42:52.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-05T20:42:52.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:42:53.156Z] prd-ubuntu20.04-docker-arm64-4c-16g-5372 does not seem to be running inside a container [2023-09-05T20:42:53.241Z] $ 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-05T20:42:55.734Z] $ docker top 31f5006a22cd9affac6fcc2ad93bd9852324f72a20d6858b430e150cca0f6468 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:42:56.299Z] ---> job-cost.sh [2023-09-05T20:42:56.567Z] lf-activate-venv: SKIPPING [2023-09-05T20:42:56.567Z] INFO: No Stack... [2023-09-05T20:42:56.835Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-05T20:42:57.796Z] INFO: Archiving Costs [Pipeline] sh [2023-09-05T20:42:58.141Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-09-05T20:42:58.141Z] + cut -d, -f6 [Pipeline] lock [2023-09-05T20:42:58.487Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [2023-09-05T20:42:58.492Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] did not exist. Created. [2023-09-05T20:42:58.492Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-05T20:42:58.906Z] /w/workspace/device-rest-go/1@tmp/durable-25371ad9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-05T20:42:59.578Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-05T20:42:59.611Z] Warning: overwriting stash ‘stack-cost’ [2023-09-05T20:42:59.659Z] Stashed 1 file(s) [Pipeline] } [2023-09-05T20:42:59.681Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-336-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-05T20:42:59.761Z] $ docker stop --time=1 31f5006a22cd9affac6fcc2ad93bd9852324f72a20d6858b430e150cca0f6468 [2023-09-05T20:43:02.828Z] $ docker rm -f --volumes 31f5006a22cd9affac6fcc2ad93bd9852324f72a20d6858b430e150cca0f6468 [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-05T20:43:03.810Z] provisioning config files... [2023-09-05T20:43:03.815Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/config519253320396845158tmp [Pipeline] { [Pipeline] sh [2023-09-05T20:43:04.165Z] + set +x [2023-09-05T20:43:04.166Z] + curl -s https://codecov.io/bash [2023-09-05T20:43:04.166Z] + bash -s -- [2023-09-05T20:43:04.166Z] [2023-09-05T20:43:04.166Z] _____ _ [2023-09-05T20:43:04.166Z] / ____| | | [2023-09-05T20:43:04.166Z] | | ___ __| | ___ ___ _____ __ [2023-09-05T20:43:04.166Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-05T20:43:04.166Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-05T20:43:04.166Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-05T20:43:04.166Z] Bash-1.0.6 [2023-09-05T20:43:04.166Z] [2023-09-05T20:43:04.166Z] [2023-09-05T20:43:04.166Z] ==> git version 2.25.1 found [2023-09-05T20:43:04.166Z] ==> 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-05T20:43:04.166Z] Release-Date: 2020-01-08 [2023-09-05T20:43:04.166Z] 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-05T20:43:04.166Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-05T20:43:04.166Z] ==> Jenkins CI detected. [2023-09-05T20:43:04.166Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-336 [2023-09-05T20:43:04.166Z] project root: . [2023-09-05T20:43:04.166Z] --> token set from env [2023-09-05T20:43:04.166Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-05T20:43:04.166Z] ==> Running gcov in . (disable via -X gcov) [2023-09-05T20:43:04.166Z] ==> Python coveragepy not found [2023-09-05T20:43:04.166Z] ==> Searching for coverage reports in: [2023-09-05T20:43:04.166Z] + . [2023-09-05T20:43:04.166Z] -> Found 1 reports [2023-09-05T20:43:04.166Z] ==> Detecting git/mercurial file structure [2023-09-05T20:43:04.166Z] ==> Reading reports [2023-09-05T20:43:04.166Z] + ./coverage.out bytes=14499 [2023-09-05T20:43:04.166Z] ==> Appending adjustments [2023-09-05T20:43:04.166Z] https://docs.codecov.io/docs/fixing-reports [2023-09-05T20:43:04.448Z] + Found adjustments [2023-09-05T20:43:04.448Z] ==> Gzipping contents [2023-09-05T20:43:04.448Z] 4.0K /tmp/codecov.b3sSIc.gz [2023-09-05T20:43:04.448Z] ==> Uploading reports [2023-09-05T20:43:04.448Z] url: https://codecov.io [2023-09-05T20:43:04.448Z] query: branch=PR-336&commit=8cb9289096ce8f96c23e85355267a56dccdb17db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=336&job=&cmd_args= [2023-09-05T20:43:04.448Z] -> Pinging Codecov [2023-09-05T20:43:04.448Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-336&commit=8cb9289096ce8f96c23e85355267a56dccdb17db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-336%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=336&job=&cmd_args= [2023-09-05T20:43:04.708Z] -> Uploading to [2023-09-05T20:43:04.708Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-05/4E5D53B4F1F92C436F7061BF334D961C/8cb9289096ce8f96c23e85355267a56dccdb17db/76d7f686-aabf-4b2c-bab9-9d768aec0164.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T204304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5fc7a3a4f9316bc12835c806a202016919ea74606a2a2f2aaa02b0f229e86171 [2023-09-05T20:43:04.708Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-05T20:43:04.708Z] Dload Upload Total Spent Left Speed [2023-09-05T20:43:04.708Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12719 --:--:-- --:--:-- --:--:-- 12719 [2023-09-05T20:43:04.708Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8cb9289096ce8f96c23e85355267a56dccdb17db [Pipeline] } [2023-09-05T20:43:04.755Z] 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-05T20:43:07.804Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-336/archives ] [2023-09-05T20:43:07.804Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-336/archives [2023-09-05T20:43:07.804Z] total 16 [2023-09-05T20:43:07.804Z] drwxr-xr-x 3 root root 4096 Sep 5 20:35 . [2023-09-05T20:43:07.804Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 20:35 .. [2023-09-05T20:43:07.804Z] drwxr-xr-x 2 root root 4096 Sep 5 20:35 cost [2023-09-05T20:43:07.804Z] -rw-r--r-- 1 root root 86 Sep 5 20:35 cost.csv [2023-09-05T20:43:07.804Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-336/archives [2023-09-05T20:43:07.804Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-336/archives [2023-09-05T20:43:07.804Z] total 16 [2023-09-05T20:43:07.804Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 20:35 . [2023-09-05T20:43:07.804Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 20:35 .. [2023-09-05T20:43:07.804Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 20:35 cost [2023-09-05T20:43:07.804Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 5 20:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:43:08.126Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:43:09.035Z] ---> package-listing.sh [2023-09-05T20:43:09.035Z] ++ facter osfamily [2023-09-05T20:43:09.035Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-05T20:43:09.293Z] + OS_FAMILY=debian [2023-09-05T20:43:09.293Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-336 [2023-09-05T20:43:09.293Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-05T20:43:09.293Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-05T20:43:09.293Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-05T20:43:09.293Z] + PACKAGES=/tmp/packages_start.txt [2023-09-05T20:43:09.293Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-336 ']' [2023-09-05T20:43:09.293Z] + PACKAGES=/tmp/packages_end.txt [2023-09-05T20:43:09.293Z] + case "${OS_FAMILY}" in [2023-09-05T20:43:09.293Z] + dpkg -l [2023-09-05T20:43:09.293Z] + grep '^ii' [2023-09-05T20:43:09.293Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-05T20:43:09.293Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-05T20:43:09.293Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-05T20:43:09.293Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-336 ']' [2023-09-05T20:43:09.293Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-336/archives/ [2023-09-05T20:43:09.294Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-336/archives/ [Pipeline] echo [2023-09-05T20:43:09.329Z] 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-336/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-05T20:43:09.621Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-05T20:43:10.245Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-05T20:43:10.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-05T20:43:10.405Z] prd-ubuntu20.04-docker-8c-8g-5370 does not seem to be running inside a container [2023-09-05T20:43:10.436Z] $ 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-336/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-336 -v /w/workspace/gexfoundry_device-rest-go_PR-336:/w/workspace/gexfoundry_device-rest-go_PR-336:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-336@tmp:/w/workspace/gexfoundry_device-rest-go_PR-336@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-05T20:43:10.630Z] $ docker top c66adee013d71d8fd1cafe2c917b1670530c4238b546e44fe07142227b462096 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-05T20:43:11.010Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-05T20:43:11.320Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-05T20:43:11.638Z] + ls /var/log/sa-host [2023-09-05T20:43:11.638Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-05T20:43:11.768Z] provisioning config files... [2023-09-05T20:43:11.776Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-336@tmp/config16526645779350247833tmp [Pipeline] { [Pipeline] echo [2023-09-05T20:43:11.818Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:43:12.128Z] ---> create-netrc.sh [Pipeline] } [2023-09-05T20:43:12.156Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:43:12.544Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-05T20:43:12.576Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:43:12.888Z] ---> sudo-logs.sh [2023-09-05T20:43:12.888Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-05T20:43:12.972Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:43:13.280Z] ---> job-cost.sh [2023-09-05T20:43:13.280Z] lf-activate-venv: SKIPPING [2023-09-05T20:43:13.280Z] DEBUG: total: 0.2199999988079071 [2023-09-05T20:43:13.280Z] INFO: Retrieving Stack Cost... [2023-09-05T20:43:13.538Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-05T20:43:14.108Z] INFO: Archiving Costs [Pipeline] echo [2023-09-05T20:43:14.142Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-05T20:43:14.461Z] ---> logs-deploy.sh [2023-09-05T20:43:14.461Z] lf-activate-venv: SKIPPING [2023-09-05T20:43:14.461Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-336/1 [2023-09-05T20:43:14.461Z] INFO: archiving workspace using pattern(s): [2023-09-05T20:43:15.399Z] Archives upload complete. [2023-09-05T20:43:15.658Z] INFO: archiving logs to Nexus