Pull request #318 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d206607035c991f05c0cecfdd4d402add0655ed3+38c1608d3c74a3eb2d9b4ab71433628bddf7df5d (2e25b545791174973d4443b87542a1ecf2fe29ef) 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-ssh2458971057542825190.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18345442247643044736.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12536800410628361493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13311850411335480077.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6014745653251341002.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-centos7-builder-2c-1g-16844’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-docker-4c-2g-16845’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-16840’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16824’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16827’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16828’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16829’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16830’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16837’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16838’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16848’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16850’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16851’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16852’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16855’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-16826’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16831’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16832’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16833’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16835’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16836’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16842’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16856 in /w/workspace/gexfoundry_device-rest-go_PR-318 [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-318 # 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/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit d206607035c991f05c0cecfdd4d402add0655ed3 Merge succeeded, producing d206607035c991f05c0cecfdd4d402add0655ed3 Checking out Revision d206607035c991f05c0cecfdd4d402add0655ed3 (PR-318) Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-25T00:15:14.476Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-25T00:15:14.542Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-25T00:15:14.559Z] ========================================================= [2023-05-25T00:15:14.559Z] EdgeX Global Pipelines Version Info [2023-05-25T00:15:14.559Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d206607035c991f05c0cecfdd4d402add0655ed3 # 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 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d206607035c991f05c0cecfdd4d402add0655ed3 # timeout=10 > git rev-list --no-walk b9c48caf18051205e53a4f46e0f602ec610cbd73 # timeout=10 [2023-05-25T00:15:15.553Z] ------------------- [2023-05-25T00:15:15.553Z] stable info: [2023-05-25T00:15:15.553Z] ------------------- [2023-05-25T00:15:15.553Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-25T00:15:15.553Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-25T00:15:15.553Z] Message: update stable to v1.0.249 [2023-05-25T00:15:16.126Z] ------------------- [2023-05-25T00:15:16.126Z] experimental info: [2023-05-25T00:15:16.126Z] ------------------- [2023-05-25T00:15:16.126Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-25T00:15:16.126Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-25T00:15:16.126Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-25T00:15:16.373Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-25T00:15:16.391Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-25T00:15:16.407Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-25T00:15:16.422Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-25T00:15:16.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-25T00:15:16.447Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-25T00:15:16.464Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-25T00:15:16.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-25T00:15:16.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-25T00:15:16.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-25T00:15:16.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-25T00:15:16.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-25T00:15:16.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-25T00:15:16.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-25T00:15:16.578Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-25T00:15:16.594Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-25T00:15:16.611Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-25T00:15:16.625Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-25T00:15:16.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-25T00:15:16.664Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-25T00:15:16.677Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-25T00:15:16.690Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-25T00:15:16.699Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-25T00:15:16.709Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-25T00:15:16.719Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-25T00:15:16.730Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-25T00:15:16.740Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-25T00:15:16.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-318 [Pipeline] echo [2023-05-25T00:15:16.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-318 [Pipeline] echo [2023-05-25T00:15:16.772Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-318 [Pipeline] echo [2023-05-25T00:15:16.783Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] echo [2023-05-25T00:15:16.794Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d206607 [Pipeline] echo [2023-05-25T00:15:16.804Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-25T00:15:16.846Z] provisioning config files... [2023-05-25T00:15:16.859Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config16714702845628779603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:15:17.955Z] ---> docker-login.sh [2023-05-25T00:15:17.955Z] nexus3.edgexfoundry.org:10001 [2023-05-25T00:15:18.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:18.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:18.584Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:18.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:18.584Z] [2023-05-25T00:15:18.584Z] Login Succeeded [2023-05-25T00:15:18.584Z] nexus3.edgexfoundry.org:10002 [2023-05-25T00:15:18.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:18.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:18.584Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:18.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:18.584Z] [2023-05-25T00:15:18.584Z] Login Succeeded [2023-05-25T00:15:18.584Z] nexus3.edgexfoundry.org:10003 [2023-05-25T00:15:18.584Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:18.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:18.847Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:18.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:18.847Z] [2023-05-25T00:15:18.847Z] Login Succeeded [2023-05-25T00:15:18.847Z] nexus3.edgexfoundry.org:10004 [2023-05-25T00:15:18.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:18.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:18.847Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:18.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:18.847Z] [2023-05-25T00:15:18.847Z] Login Succeeded [2023-05-25T00:15:18.847Z] docker.io [2023-05-25T00:15:19.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:19.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:19.116Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:19.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:19.116Z] [2023-05-25T00:15:19.116Z] Login Succeeded [2023-05-25T00:15:19.116Z] ---> docker-login.sh ends [Pipeline] } [2023-05-25T00:15:19.136Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-25T00:15:19.534Z] + git rev-list -1 --merges d206607035c991f05c0cecfdd4d402add0655ed3~1..d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] echo [2023-05-25T00:15:19.601Z] -----------> git rev-list -1 --merges d206607035c991f05c0cecfdd4d402add0655ed3~1..d206607035c991f05c0cecfdd4d402add0655ed3 d206607035c991f05c0cecfdd4d402add0655ed3 [false] [Pipeline] sh [2023-05-25T00:15:19.922Z] + git log --format=format:%s -1 d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] echo [2023-05-25T00:15:19.941Z] ========================================================= [2023-05-25T00:15:19.941Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-25T00:15:19.941Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-25T00:15:20.304Z] + git log --format=format:%s -1 d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] echo [2023-05-25T00:15:20.321Z] [semverPrep] GIT_COMMIT: d206607035c991f05c0cecfdd4d402add0655ed3, Commit Message: build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo [2023-05-25T00:15:20.334Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-25T00:15:21.663Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-25T00:15:21.663Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-25T00:15:21.663Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-25T00:15:21.663Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-25T00:15:21.663Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-25T00:15:21.663Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-25T00:15:21.663Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:15:22.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-25T00:15:22.090Z] [2023-05-25T00:15:22.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:15:22.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-25T00:15:22.444Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-25T00:15:22.444Z] b85a868b505f: Pulling fs layer [2023-05-25T00:15:22.444Z] e2be974225ed: Pulling fs layer [2023-05-25T00:15:22.444Z] 339a4e72a1f5: Pulling fs layer [2023-05-25T00:15:22.444Z] 988bab9f4d93: Pulling fs layer [2023-05-25T00:15:22.444Z] 1469e6f7b9e6: Pulling fs layer [2023-05-25T00:15:22.444Z] eaf3925da568: Pulling fs layer [2023-05-25T00:15:22.444Z] bab4dde63d76: Pulling fs layer [2023-05-25T00:15:22.444Z] bde34c3a00c8: Pulling fs layer [2023-05-25T00:15:22.444Z] b352a97aabf1: Pulling fs layer [2023-05-25T00:15:22.444Z] 4872d77fe225: Pulling fs layer [2023-05-25T00:15:22.444Z] 5851b861e8e6: Pulling fs layer [2023-05-25T00:15:22.444Z] eaf3925da568: Waiting [2023-05-25T00:15:22.444Z] bde34c3a00c8: Waiting [2023-05-25T00:15:22.444Z] 988bab9f4d93: Waiting [2023-05-25T00:15:22.444Z] bab4dde63d76: Waiting [2023-05-25T00:15:22.444Z] 4872d77fe225: Waiting [2023-05-25T00:15:22.444Z] 5851b861e8e6: Waiting [2023-05-25T00:15:22.444Z] b352a97aabf1: Waiting [2023-05-25T00:15:22.444Z] 1469e6f7b9e6: Waiting [2023-05-25T00:15:22.444Z] e2be974225ed: Download complete [2023-05-25T00:15:22.444Z] 988bab9f4d93: Download complete [2023-05-25T00:15:22.713Z] 1469e6f7b9e6: Verifying Checksum [2023-05-25T00:15:22.713Z] 1469e6f7b9e6: Download complete [2023-05-25T00:15:22.713Z] 339a4e72a1f5: Verifying Checksum [2023-05-25T00:15:22.713Z] 339a4e72a1f5: Download complete [2023-05-25T00:15:22.713Z] eaf3925da568: Verifying Checksum [2023-05-25T00:15:22.713Z] eaf3925da568: Download complete [2023-05-25T00:15:22.713Z] bde34c3a00c8: Verifying Checksum [2023-05-25T00:15:22.713Z] bde34c3a00c8: Download complete [2023-05-25T00:15:22.981Z] b352a97aabf1: Verifying Checksum [2023-05-25T00:15:22.981Z] b352a97aabf1: Download complete [2023-05-25T00:15:22.981Z] 4872d77fe225: Download complete [2023-05-25T00:15:22.981Z] 5851b861e8e6: Verifying Checksum [2023-05-25T00:15:23.258Z] b85a868b505f: Verifying Checksum [2023-05-25T00:15:23.258Z] b85a868b505f: Download complete [2023-05-25T00:15:23.868Z] bab4dde63d76: Verifying Checksum [2023-05-25T00:15:23.868Z] bab4dde63d76: Download complete [2023-05-25T00:15:25.128Z] b85a868b505f: Pull complete [2023-05-25T00:15:25.128Z] e2be974225ed: Pull complete [2023-05-25T00:15:25.709Z] 339a4e72a1f5: Pull complete [2023-05-25T00:15:25.709Z] 988bab9f4d93: Pull complete [2023-05-25T00:15:26.045Z] 1469e6f7b9e6: Pull complete [2023-05-25T00:15:26.045Z] eaf3925da568: Pull complete [2023-05-25T00:15:36.931Z] bab4dde63d76: Pull complete [2023-05-25T00:15:36.931Z] bde34c3a00c8: Pull complete [2023-05-25T00:15:36.931Z] b352a97aabf1: Pull complete [2023-05-25T00:15:36.931Z] 4872d77fe225: Pull complete [2023-05-25T00:15:36.931Z] 5851b861e8e6: Pull complete [2023-05-25T00:15:36.931Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-25T00:15:36.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-25T00:15:36.931Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:15:37.078Z] prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container [2023-05-25T00:15:37.162Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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-devops/py-git-semver:0.1.4 cat [2023-05-25T00:15:41.776Z] $ docker top 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a -eo pid,comm [2023-05-25T00:15:41.832Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-05-25T00:15:41.832Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-25T00:15:41.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-25T00:15:41.865Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-25T00:15:41.993Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-25T00:15:41.999Z] $ docker exec 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a ssh-agent [2023-05-25T00:15:42.124Z] SSH_AUTH_SOCK=/tmp/ssh-njAjvwF866c2/agent.33 [2023-05-25T00:15:42.124Z] SSH_AGENT_PID=39 [2023-05-25T00:15:42.140Z] Running ssh-add (command line suppressed) [2023-05-25T00:15:42.255Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_15853269304969550779.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_15853269304969550779.key) [2023-05-25T00:15:42.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-25T00:15:42.578Z] + git tag --points-at HEAD [Pipeline] } [2023-05-25T00:15:42.596Z] $ docker exec --env ******** --env ******** 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a ssh-agent -k [2023-05-25T00:15:42.687Z] unset SSH_AUTH_SOCK; [2023-05-25T00:15:42.688Z] unset SSH_AGENT_PID; [2023-05-25T00:15:42.688Z] echo Agent pid 39 killed; [2023-05-25T00:15:42.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-25T00:15:42.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-25T00:15:42.731Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-25T00:15:42.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-25T00:15:42.874Z] $ docker exec 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a ssh-agent [2023-05-25T00:15:42.999Z] SSH_AUTH_SOCK=/tmp/ssh-MW3uL1LwFH3f/agent.71 [2023-05-25T00:15:42.999Z] SSH_AGENT_PID=77 [2023-05-25T00:15:43.007Z] Running ssh-add (command line suppressed) [2023-05-25T00:15:43.126Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_5894412623779742890.key (/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/private_key_5894412623779742890.key) [2023-05-25T00:15:43.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-25T00:15:43.447Z] + git semver init [2023-05-25T00:15:43.713Z] 2023-05-25 00:15:43,673 [run_init] DEBUG init version:0.0.0 force:False [2023-05-25T00:15:43.713Z] 2023-05-25 00:15:43,674 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-05-25T00:15:43.714Z] 2023-05-25 00:15:43,674 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-318/.semver [2023-05-25T00:15:43.714Z] 2023-05-25 00:15:43,674 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-318/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318, universal_newlines=False, shell=None, istream=None) [2023-05-25T00:15:45.131Z] 2023-05-25 00:15:44,733 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.git/info/exclude [2023-05-25T00:15:45.131Z] 2023-05-25 00:15:44,733 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 with force:False [2023-05-25T00:15:45.131Z] 2023-05-25 00:15:44,733 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-05-25T00:15:45.131Z] 2023-05-25 00:15:44,738 [execute] INFO git cat-file --batch-check [2023-05-25T00:15:45.131Z] 2023-05-25 00:15:44,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-05-25T00:15:45.131Z] 2023-05-25 00:15:44,744 [execute] INFO git cat-file --batch [2023-05-25T00:15:45.131Z] 2023-05-25 00:15:44,744 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-318/.semver, universal_newlines=False, shell=None, istream=) [2023-05-25T00:15:45.131Z] 2023-05-25 00:15:44,749 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-318/.semver/PR-318 [2023-05-25T00:15:45.131Z] 0.0.0 [Pipeline] } [2023-05-25T00:15:45.149Z] $ docker exec --env ******** --env ******** 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a ssh-agent -k [2023-05-25T00:15:45.246Z] unset SSH_AUTH_SOCK; [2023-05-25T00:15:45.247Z] unset SSH_AGENT_PID; [2023-05-25T00:15:45.247Z] echo Agent pid 77 killed; [2023-05-25T00:15:45.258Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-25T00:15:45.587Z] + git semver [Pipeline] } [2023-05-25T00:15:45.887Z] $ docker stop --time=1 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a [2023-05-25T00:15:47.188Z] $ docker rm -f --volumes 980f55fc82e0b205737eda785e0a892604359b91cfb361a7440114dc1e094c6a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-25T00:15:47.559Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-25T00:15:47.874Z] Stashed 1 file(s) [Pipeline] echo [2023-05-25T00:15:47.877Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-25T00:15:47.993Z] provisioning config files... [2023-05-25T00:15:48.003Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config2371789494747909934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:15:48.335Z] ---> docker-login.sh [2023-05-25T00:15:48.335Z] nexus3.edgexfoundry.org:10001 [2023-05-25T00:15:48.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:48.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:48.335Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:48.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:48.335Z] [2023-05-25T00:15:48.335Z] Login Succeeded [2023-05-25T00:15:48.335Z] nexus3.edgexfoundry.org:10002 [2023-05-25T00:15:48.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:48.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:48.602Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:48.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:48.602Z] [2023-05-25T00:15:48.602Z] Login Succeeded [2023-05-25T00:15:48.602Z] nexus3.edgexfoundry.org:10003 [2023-05-25T00:15:48.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:48.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:48.602Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:48.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:48.602Z] [2023-05-25T00:15:48.602Z] Login Succeeded [2023-05-25T00:15:48.602Z] nexus3.edgexfoundry.org:10004 [2023-05-25T00:15:48.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:49.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:49.633Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:49.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:49.633Z] [2023-05-25T00:15:49.633Z] Login Succeeded [2023-05-25T00:15:49.633Z] docker.io [2023-05-25T00:15:49.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:15:50.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:15:50.168Z] Configure a credential helper to remove this warning. See [2023-05-25T00:15:50.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:15:50.168Z] [2023-05-25T00:15:50.168Z] Login Succeeded [2023-05-25T00:15:50.168Z] ---> docker-login.sh ends [Pipeline] } [2023-05-25T00:15:50.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-25T00:15:50.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-25T00:15:50.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-25T00:15:50.277Z] ========================================================= [2023-05-25T00:15:50.277Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-25T00:15:50.277Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:15:50.629Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-25T00:15:50.629Z] Sending build context to Docker daemon 10.93MB [2023-05-25T00:15:50.629Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:15:50.629Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-25T00:15:50.629Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-25T00:15:50.629Z] f56be85fc22e: Pulling fs layer [2023-05-25T00:15:50.629Z] 85791d961cd3: Pulling fs layer [2023-05-25T00:15:50.629Z] d694b5ae8c79: Pulling fs layer [2023-05-25T00:15:50.629Z] 9f32a84ed3da: Pulling fs layer [2023-05-25T00:15:50.629Z] 4d19c01a9841: Pulling fs layer [2023-05-25T00:15:50.629Z] 9325e15d5711: Pulling fs layer [2023-05-25T00:15:50.629Z] 556b6ee489ea: Pulling fs layer [2023-05-25T00:15:50.629Z] c5a4b2cf53e6: Pulling fs layer [2023-05-25T00:15:50.629Z] 9f32a84ed3da: Waiting [2023-05-25T00:15:50.629Z] 4d19c01a9841: Waiting [2023-05-25T00:15:50.629Z] 9325e15d5711: Waiting [2023-05-25T00:15:50.629Z] 556b6ee489ea: Waiting [2023-05-25T00:15:50.629Z] c5a4b2cf53e6: Waiting [2023-05-25T00:15:50.899Z] 85791d961cd3: Download complete [2023-05-25T00:15:50.899Z] 9f32a84ed3da: Verifying Checksum [2023-05-25T00:15:50.899Z] 9f32a84ed3da: Download complete [2023-05-25T00:15:50.899Z] 4d19c01a9841: Verifying Checksum [2023-05-25T00:15:50.899Z] 4d19c01a9841: Download complete [2023-05-25T00:15:50.899Z] f56be85fc22e: Verifying Checksum [2023-05-25T00:15:50.899Z] f56be85fc22e: Download complete [2023-05-25T00:15:51.173Z] 9325e15d5711: Verifying Checksum [2023-05-25T00:15:51.173Z] 9325e15d5711: Download complete [2023-05-25T00:15:51.173Z] f56be85fc22e: Pull complete [2023-05-25T00:15:51.173Z] 85791d961cd3: Pull complete [2023-05-25T00:15:52.158Z] c5a4b2cf53e6: Verifying Checksum [2023-05-25T00:15:52.158Z] c5a4b2cf53e6: Download complete [2023-05-25T00:15:53.138Z] d694b5ae8c79: Download complete [2023-05-25T00:15:53.138Z] 556b6ee489ea: Verifying Checksum [2023-05-25T00:15:53.138Z] 556b6ee489ea: Download complete [2023-05-25T00:15:56.478Z] d694b5ae8c79: Pull complete [2023-05-25T00:15:56.478Z] 9f32a84ed3da: Pull complete [2023-05-25T00:15:56.478Z] 4d19c01a9841: Pull complete [2023-05-25T00:15:56.478Z] 9325e15d5711: Pull complete [2023-05-25T00:15:59.058Z] 556b6ee489ea: Pull complete [2023-05-25T00:15:59.645Z] c5a4b2cf53e6: Pull complete [2023-05-25T00:15:59.911Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-25T00:15:59.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-25T00:15:59.911Z] ---> c4be618373d6 [2023-05-25T00:15:59.911Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:16:02.958Z] Still waiting to schedule task [2023-05-25T00:16:02.958Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-25T00:16:08.116Z] ---> Running in 8558d52d371b [2023-05-25T00:16:08.116Z] Removing intermediate container 8558d52d371b [2023-05-25T00:16:08.116Z] ---> 6a5fbfe68e74 [2023-05-25T00:16:08.116Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:16:08.116Z] ---> Running in 16c464a58593 [2023-05-25T00:16:08.116Z] Removing intermediate container 16c464a58593 [2023-05-25T00:16:08.116Z] ---> 66548d85d698 [2023-05-25T00:16:08.116Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:16:08.116Z] ---> Running in c14ef78e265b [2023-05-25T00:16:08.116Z] Removing intermediate container c14ef78e265b [2023-05-25T00:16:08.116Z] ---> fa4be4166a8b [2023-05-25T00:16:08.116Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:16:08.116Z] ---> Running in c0654110c3c5 [2023-05-25T00:16:08.116Z] Removing intermediate container c0654110c3c5 [2023-05-25T00:16:08.116Z] ---> 27ba450fb941 [2023-05-25T00:16:08.116Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:16:08.116Z] ---> Running in a91fc4d73f90 [2023-05-25T00:16:08.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-25T00:16:08.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-25T00:16:08.380Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-25T00:16:08.380Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-25T00:16:08.380Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-25T00:16:08.380Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-25T00:16:08.380Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:16:08.380Z] OK: 269 MiB in 57 packages [2023-05-25T00:16:08.967Z] Removing intermediate container a91fc4d73f90 [2023-05-25T00:16:08.967Z] ---> f856f3c5c63b [2023-05-25T00:16:08.967Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-25T00:16:08.967Z] ---> Running in 0ece3f8e881d [2023-05-25T00:16:08.967Z] Removing intermediate container 0ece3f8e881d [2023-05-25T00:16:08.967Z] ---> e936cd2df7a5 [2023-05-25T00:16:08.967Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-25T00:16:08.967Z] ---> 2920d9711847 [2023-05-25T00:16:08.967Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:16:08.967Z] ---> Running in e25c8d115600 [2023-05-25T00:16:48.478Z] Removing intermediate container e25c8d115600 [2023-05-25T00:16:48.478Z] ---> fd8f36763962 [2023-05-25T00:16:48.478Z] Step 11/12 : COPY . . [2023-05-25T00:16:48.478Z] ---> 7346c04b478d [2023-05-25T00:16:48.478Z] Step 12/12 : RUN $MAKE [2023-05-25T00:16:48.478Z] ---> Running in 709b46343f61 [2023-05-25T00:16:48.478Z] noop [2023-05-25T00:16:48.742Z] Removing intermediate container 709b46343f61 [2023-05-25T00:16:48.742Z] ---> 38b64280e9d5 [2023-05-25T00:16:48.742Z] Successfully built 38b64280e9d5 [2023-05-25T00:16:48.742Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:16:49.065Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-25T00:16:49.065Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:16:49.149Z] prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container [2023-05-25T00:16:49.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-25T00:16:49.555Z] $ docker top b5b00ea4d6c63d7d303dc372d31a78644a0d8374e4a405c69e19b92e0a374cd0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:16:49.902Z] + go version [2023-05-25T00:16:49.902Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-25T00:16:49.919Z] $ docker stop --time=1 b5b00ea4d6c63d7d303dc372d31a78644a0d8374e4a405c69e19b92e0a374cd0 [2023-05-25T00:16:51.211Z] $ docker rm -f --volumes b5b00ea4d6c63d7d303dc372d31a78644a0d8374e4a405c69e19b92e0a374cd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:16:51.624Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-25T00:16:51.624Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:16:51.727Z] prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container [2023-05-25T00:16:51.767Z] $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-25T00:16:52.120Z] $ docker top 427dba85f83c6ef8f80ffe4927eb2cb1e88fb11982b36aaa3410cfabc3aa89dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:16:52.494Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] fileExists [Pipeline] sh [2023-05-25T00:16:52.850Z] + make test [2023-05-25T00:16:52.850Z] go test ./... -coverprofile=coverage.out ./... [2023-05-25T00:16:58.119Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-25T00:17:08.085Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-25T00:17:08.085Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements [2023-05-25T00:17:12.456Z] go vet ./... [2023-05-25T00:17:15.773Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-25T00:17:15.773Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-25T00:17:15.773Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-25T00:17:15.784Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-25T00:17:15.804Z] $ docker stop --time=1 427dba85f83c6ef8f80ffe4927eb2cb1e88fb11982b36aaa3410cfabc3aa89dc [2023-05-25T00:17:21.047Z] $ docker rm -f --volumes 427dba85f83c6ef8f80ffe4927eb2cb1e88fb11982b36aaa3410cfabc3aa89dc [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-25T00:17:21.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-25T00:17:21.569Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-25T00:17:22.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-25T00:17:22.293Z] + ls -al . [2023-05-25T00:17:22.293Z] total 184 [2023-05-25T00:17:22.293Z] drwxrwxr-x 9 jenkins jenkins 4096 May 25 00:16 . [2023-05-25T00:17:22.293Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:15 .. [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 151 May 25 00:15 .dockerignore [2023-05-25T00:17:22.293Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:15 .git [2023-05-25T00:17:22.293Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:15 .github [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 329 May 25 00:15 .gitignore [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:15 .golangci.yml [2023-05-25T00:17:22.293Z] drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:15 .semver [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 25 00:15 Attribution.txt [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 25 00:15 CHANGELOG.md [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 25 00:15 Dockerfile [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:15 GOVERNANCE.md [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:15 Jenkinsfile [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:15 LICENSE [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 25 00:15 Makefile [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:15 OWNERS.md [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 25 00:15 README.md [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:15 VERSION [2023-05-25T00:17:22.293Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:15 bin [2023-05-25T00:17:22.293Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:15 cmd [2023-05-25T00:17:22.293Z] -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:17 coverage.out [2023-05-25T00:17:22.293Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:15 driver [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 3354 May 25 00:15 go.mod [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 31232 May 25 00:15 go.sum [2023-05-25T00:17:22.293Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:15 snap [2023-05-25T00:17:22.293Z] -rw-rw-r-- 1 jenkins jenkins 713 May 25 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:17:22.633Z] + 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=d206607035c991f05c0cecfdd4d402add0655ed3 --label arch=amd64 --label version=0.0.0 . [2023-05-25T00:17:22.633Z] Sending build context to Docker daemon 10.95MB [2023-05-25T00:17:22.633Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:17:22.633Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-25T00:17:22.633Z] ---> 38b64280e9d5 [2023-05-25T00:17:22.633Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:17:22.892Z] ---> Running in 0df21a86ad66 [2023-05-25T00:17:22.892Z] Removing intermediate container 0df21a86ad66 [2023-05-25T00:17:22.892Z] ---> 9acf14d61fa6 [2023-05-25T00:17:22.892Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:17:22.892Z] ---> Running in 40046ba25b5e [2023-05-25T00:17:23.151Z] Removing intermediate container 40046ba25b5e [2023-05-25T00:17:23.151Z] ---> 9a1a8cffd571 [2023-05-25T00:17:23.151Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:17:23.151Z] ---> Running in e2483d8eea88 [2023-05-25T00:17:23.151Z] Removing intermediate container e2483d8eea88 [2023-05-25T00:17:23.151Z] ---> a5ace2bfca6a [2023-05-25T00:17:23.151Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:17:23.151Z] ---> Running in c96bcd00a3d0 [2023-05-25T00:17:23.151Z] Removing intermediate container c96bcd00a3d0 [2023-05-25T00:17:23.151Z] ---> 8f50973766af [2023-05-25T00:17:23.151Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:17:23.151Z] ---> Running in 9e56ab557203 [2023-05-25T00:17:23.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-25T00:17:23.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-25T00:17:23.979Z] OK: 269 MiB in 57 packages [2023-05-25T00:17:24.238Z] Removing intermediate container 9e56ab557203 [2023-05-25T00:17:24.238Z] ---> 674cb1e896b6 [2023-05-25T00:17:24.238Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-25T00:17:24.238Z] ---> Running in 4a592f7b8fe1 [2023-05-25T00:17:24.238Z] Removing intermediate container 4a592f7b8fe1 [2023-05-25T00:17:24.238Z] ---> ebc48978af33 [2023-05-25T00:17:24.238Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-25T00:17:24.498Z] ---> 0438aca1e96c [2023-05-25T00:17:24.498Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:17:24.498Z] ---> Running in fc121ed2946b [2023-05-25T00:17:25.065Z] Removing intermediate container fc121ed2946b [2023-05-25T00:17:25.065Z] ---> 789bd13e52c9 [2023-05-25T00:17:25.065Z] Step 11/25 : COPY . . [2023-05-25T00:17:26.003Z] ---> ad13997cc136 [2023-05-25T00:17:26.003Z] Step 12/25 : RUN $MAKE [2023-05-25T00:17:26.003Z] ---> Running in 06d9a7e61675 [2023-05-25T00:17:26.003Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-25T00:17:48.210Z] Removing intermediate container 06d9a7e61675 [2023-05-25T00:17:48.210Z] ---> 437e5746151d [2023-05-25T00:17:48.210Z] Step 13/25 : FROM alpine:3.17 [2023-05-25T00:17:48.210Z] 3.17: Pulling from library/alpine [2023-05-25T00:17:48.210Z] f56be85fc22e: Already exists [2023-05-25T00:17:48.210Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-25T00:17:48.210Z] Status: Downloaded newer image for alpine:3.17 [2023-05-25T00:17:48.210Z] ---> 9ed4aefc74f6 [2023-05-25T00:17:48.210Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-25T00:17:48.210Z] ---> Running in f5c264b6dc3e [2023-05-25T00:17:48.210Z] Removing intermediate container f5c264b6dc3e [2023-05-25T00:17:48.210Z] ---> 8f44388e6c17 [2023-05-25T00:17:48.210Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-25T00:17:48.210Z] ---> Running in 0f1acf042ce5 [2023-05-25T00:17:48.210Z] Removing intermediate container 0f1acf042ce5 [2023-05-25T00:17:48.210Z] ---> 4ca7acbd7658 [2023-05-25T00:17:48.210Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-25T00:17:48.210Z] ---> Running in 4b48decd81f5 [2023-05-25T00:17:48.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-25T00:17:48.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-25T00:17:48.210Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-25T00:17:48.210Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:17:48.210Z] OK: 7 MiB in 16 packages [2023-05-25T00:17:48.210Z] Removing intermediate container 4b48decd81f5 [2023-05-25T00:17:48.210Z] ---> f26c9d0e9af6 [2023-05-25T00:17:48.210Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-25T00:17:49.150Z] ---> 87d5aa510807 [2023-05-25T00:17:49.150Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-25T00:17:49.150Z] ---> f354c1736bb1 [2023-05-25T00:17:49.150Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-25T00:17:49.150Z] ---> 4cd648c47e1b [2023-05-25T00:17:49.150Z] Step 20/25 : EXPOSE 59986 [2023-05-25T00:17:49.150Z] ---> Running in 9563cc073808 [2023-05-25T00:17:49.409Z] Removing intermediate container 9563cc073808 [2023-05-25T00:17:49.409Z] ---> cbd7141ed0ff [2023-05-25T00:17:49.409Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-25T00:17:49.409Z] ---> Running in 7e19096b7d29 [2023-05-25T00:17:49.409Z] Removing intermediate container 7e19096b7d29 [2023-05-25T00:17:49.409Z] ---> 6111e471ac82 [2023-05-25T00:17:49.409Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-25T00:17:49.409Z] ---> Running in c00191815711 [2023-05-25T00:17:49.409Z] Removing intermediate container c00191815711 [2023-05-25T00:17:49.409Z] ---> 5fb1dda4aac3 [2023-05-25T00:17:49.409Z] Step 23/25 : LABEL arch=amd64 [2023-05-25T00:17:49.409Z] ---> Running in a40267afa485 [2023-05-25T00:17:49.667Z] Removing intermediate container a40267afa485 [2023-05-25T00:17:49.667Z] ---> 3dd6d51aba11 [2023-05-25T00:17:49.667Z] Step 24/25 : LABEL git_sha=d206607035c991f05c0cecfdd4d402add0655ed3 [2023-05-25T00:17:49.667Z] ---> Running in 75cc8f034d63 [2023-05-25T00:17:49.667Z] Removing intermediate container 75cc8f034d63 [2023-05-25T00:17:49.667Z] ---> ccff58ba80f1 [2023-05-25T00:17:49.667Z] Step 25/25 : LABEL version=0.0.0 [2023-05-25T00:17:49.667Z] ---> Running in fe7a0f4a59a1 [2023-05-25T00:17:49.667Z] Removing intermediate container fe7a0f4a59a1 [2023-05-25T00:17:49.667Z] ---> 3aba0e383675 [2023-05-25T00:17:49.667Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-25T00:17:49.667Z] Successfully built 3aba0e383675 [2023-05-25T00:17:49.667Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:17:50.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:17:50.098Z] [2023-05-25T00:17:50.098Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:17:50.401Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:17:50.401Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-25T00:17:50.401Z] 5eb5b503b376: Pulling fs layer [2023-05-25T00:17:50.401Z] 5c69ac0246d0: Pulling fs layer [2023-05-25T00:17:50.401Z] ec43610c2a17: Pulling fs layer [2023-05-25T00:17:50.401Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-25T00:17:50.401Z] 33b1e0a273af: Pulling fs layer [2023-05-25T00:17:50.401Z] 5d3b04190fa2: Pulling fs layer [2023-05-25T00:17:50.401Z] 2f39f015ded8: Pulling fs layer [2023-05-25T00:17:50.401Z] 3a2ae6a8a46f: Waiting [2023-05-25T00:17:50.401Z] 33b1e0a273af: Waiting [2023-05-25T00:17:50.401Z] 5d3b04190fa2: Waiting [2023-05-25T00:17:50.401Z] 2f39f015ded8: Waiting [2023-05-25T00:17:50.401Z] 5c69ac0246d0: Download complete [2023-05-25T00:17:50.401Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-25T00:17:50.401Z] 3a2ae6a8a46f: Download complete [2023-05-25T00:17:50.401Z] 33b1e0a273af: Verifying Checksum [2023-05-25T00:17:50.401Z] 33b1e0a273af: Download complete [2023-05-25T00:17:50.401Z] 5d3b04190fa2: Download complete [2023-05-25T00:17:50.401Z] ec43610c2a17: Verifying Checksum [2023-05-25T00:17:50.401Z] ec43610c2a17: Download complete [2023-05-25T00:17:50.659Z] 5eb5b503b376: Verifying Checksum [2023-05-25T00:17:50.659Z] 5eb5b503b376: Download complete [2023-05-25T00:17:51.225Z] 2f39f015ded8: Verifying Checksum [2023-05-25T00:17:51.225Z] 2f39f015ded8: Download complete [2023-05-25T00:17:51.795Z] 5eb5b503b376: Pull complete [2023-05-25T00:17:51.795Z] 5c69ac0246d0: Pull complete [2023-05-25T00:17:52.360Z] ec43610c2a17: Pull complete [2023-05-25T00:17:52.360Z] 3a2ae6a8a46f: Pull complete [2023-05-25T00:17:52.617Z] 33b1e0a273af: Pull complete [2023-05-25T00:17:52.617Z] 5d3b04190fa2: Pull complete [2023-05-25T00:17:56.800Z] 2f39f015ded8: Pull complete [2023-05-25T00:17:56.800Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-25T00:17:56.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:17:56.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:17:56.891Z] prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container [2023-05-25T00:17:56.940Z] $ 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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-25T00:18:06.746Z] $ docker top 884e4f20a5abe0d43939b0a4590834b38f1a905d4680031fb141c6732c215f50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:18:07.129Z] ---> job-cost.sh [2023-05-25T00:18:07.130Z] lf-activate-venv: SKIPPING [2023-05-25T00:18:07.130Z] INFO: No Stack... [2023-05-25T00:18:07.389Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-25T00:18:07.649Z] INFO: Archiving Costs [Pipeline] sh [2023-05-25T00:18:07.943Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-318/archives/cost.csv [2023-05-25T00:18:07.943Z] + cut -d, -f6 [Pipeline] lock [2023-05-25T00:18:07.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [2023-05-25T00:18:07.963Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] did not exist. Created. [2023-05-25T00:18:07.963Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-25T00:18:08.261Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-25T00:18:08.292Z] Stashed 1 file(s) [Pipeline] } [2023-05-25T00:18:08.299Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-25T00:18:08.324Z] $ docker stop --time=1 884e4f20a5abe0d43939b0a4590834b38f1a905d4680031fb141c6732c215f50 [2023-05-25T00:18:09.509Z] $ docker rm -f --volumes 884e4f20a5abe0d43939b0a4590834b38f1a905d4680031fb141c6732c215f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-25T00:19:02.745Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16878 in /w/workspace/gexfoundry_device-rest-go_PR-318 [Pipeline] { [Pipeline] ws [2023-05-25T00:19:02.754Z] Running in /w/workspace/device-rest-go/10 [Pipeline] { [Pipeline] checkout [2023-05-25T00:19:02.790Z] The recommended git tool is: git [2023-05-25T00:19:10.301Z] using credential edgex-jenkins-ssh [2023-05-25T00:19:10.322Z] Cloning the remote Git repository [2023-05-25T00:19:10.391Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-25T00:19:10.522Z] > git init /w/workspace/device-rest-go/10 # timeout=10 [2023-05-25T00:19:10.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-25T00:19:10.718Z] > git --version # timeout=10 [2023-05-25T00:19:10.747Z] > git --version # 'git version 2.25.1' [2023-05-25T00:19:10.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-25T00:19:11.176Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-25T00:19:13.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-25T00:19:13.806Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-25T00:19:15.091Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-25T00:19:15.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-25T00:19:15.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-25T00:19:15.170Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/318/head:refs/remotes/origin/PR-318 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-25T00:19:17.136Z] Merging remotes/origin/main commit 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d into PR head commit d206607035c991f05c0cecfdd4d402add0655ed3 [2023-05-25T00:19:17.530Z] Merge succeeded, producing d206607035c991f05c0cecfdd4d402add0655ed3 [2023-05-25T00:19:17.531Z] Checking out Revision d206607035c991f05c0cecfdd4d402add0655ed3 (PR-318) [2023-05-25T00:19:17.163Z] > git config core.sparsecheckout # timeout=10 [2023-05-25T00:19:17.262Z] > git checkout -f d206607035c991f05c0cecfdd4d402add0655ed3 # timeout=10 [2023-05-25T00:19:17.398Z] > git remote # timeout=10 [2023-05-25T00:19:17.424Z] > git config --get remote.origin.url # timeout=10 [2023-05-25T00:19:17.456Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-25T00:19:17.475Z] > git merge 38c1608d3c74a3eb2d9b4ab71433628bddf7df5d # timeout=10 [2023-05-25T00:19:17.511Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-25T00:19:17.542Z] > git config core.sparsecheckout # timeout=10 [2023-05-25T00:19:17.565Z] > git checkout -f d206607035c991f05c0cecfdd4d402add0655ed3 # timeout=10 [2023-05-25T00:19:18.328Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-25T00:19:19.276Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-25T00:19:19.276Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-25T00:19:19.276Z] Dload Upload Total Spent Left Speed [2023-05-25T00:19:19.276Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-05-25T00:19:20.156Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-25T00:19:20.525Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-25T00:19:20.525Z] + sudo tee /etc/docker/daemon.new [2023-05-25T00:19:20.525Z] { [2023-05-25T00:19:20.525Z] "registry-mirrors": [ [2023-05-25T00:19:20.525Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-25T00:19:20.525Z] ], [2023-05-25T00:19:20.525Z] "bip": "10.250.0.254/24", [2023-05-25T00:19:20.525Z] "hosts": [ [2023-05-25T00:19:20.525Z] "tcp://0.0.0.0:5555", [2023-05-25T00:19:20.525Z] "unix:///var/run/docker.sock" [2023-05-25T00:19:20.525Z] ], [2023-05-25T00:19:20.525Z] "mtu": 1458, [2023-05-25T00:19:20.525Z] "selinux-enabled": true, [2023-05-25T00:19:20.525Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-25T00:19:20.525Z] } [Pipeline] sh [2023-05-25T00:19:20.886Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-25T00:19:21.242Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-25T00:19:39.631Z] provisioning config files... [2023-05-25T00:19:39.669Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/10@tmp/config18398065496899010365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:19:40.057Z] ---> docker-login.sh [2023-05-25T00:19:40.057Z] nexus3.edgexfoundry.org:10001 [2023-05-25T00:19:40.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:19:40.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:19:40.698Z] Configure a credential helper to remove this warning. See [2023-05-25T00:19:40.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:19:40.698Z] [2023-05-25T00:19:40.698Z] Login Succeeded [2023-05-25T00:19:40.698Z] nexus3.edgexfoundry.org:10002 [2023-05-25T00:19:40.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:19:41.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:19:41.253Z] Configure a credential helper to remove this warning. See [2023-05-25T00:19:41.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:19:41.253Z] [2023-05-25T00:19:41.253Z] Login Succeeded [2023-05-25T00:19:41.253Z] nexus3.edgexfoundry.org:10003 [2023-05-25T00:19:41.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:19:41.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:19:41.803Z] Configure a credential helper to remove this warning. See [2023-05-25T00:19:41.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:19:41.803Z] [2023-05-25T00:19:41.803Z] Login Succeeded [2023-05-25T00:19:41.803Z] nexus3.edgexfoundry.org:10004 [2023-05-25T00:19:42.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:19:42.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:19:42.082Z] Configure a credential helper to remove this warning. See [2023-05-25T00:19:42.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:19:42.082Z] [2023-05-25T00:19:42.082Z] Login Succeeded [2023-05-25T00:19:42.082Z] docker.io [2023-05-25T00:19:42.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-25T00:19:42.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-25T00:19:42.641Z] Configure a credential helper to remove this warning. See [2023-05-25T00:19:42.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-25T00:19:42.641Z] [2023-05-25T00:19:42.641Z] Login Succeeded [2023-05-25T00:19:42.641Z] ---> docker-login.sh ends [Pipeline] } [2023-05-25T00:19:42.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-25T00:19:43.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-25T00:19:43.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-25T00:19:43.106Z] ========================================================= [2023-05-25T00:19:43.106Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-25T00:19:43.106Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:19:43.485Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-25T00:19:43.485Z] Sending build context to Docker daemon 139.3kB [2023-05-25T00:19:43.773Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:19:43.773Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-25T00:19:44.052Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-25T00:19:44.052Z] c41833b44d91: Pulling fs layer [2023-05-25T00:19:44.052Z] ed15518f5707: Pulling fs layer [2023-05-25T00:19:44.052Z] feae8fd75edb: Pulling fs layer [2023-05-25T00:19:44.052Z] 242c74f7c9fa: Pulling fs layer [2023-05-25T00:19:44.052Z] 3cdef696dda3: Pulling fs layer [2023-05-25T00:19:44.052Z] 2ced38df9373: Pulling fs layer [2023-05-25T00:19:44.052Z] 58f1dce35555: Pulling fs layer [2023-05-25T00:19:44.052Z] 3cdef696dda3: Waiting [2023-05-25T00:19:44.052Z] 2ced38df9373: Waiting [2023-05-25T00:19:44.052Z] 242c74f7c9fa: Waiting [2023-05-25T00:19:44.052Z] 58f1dce35555: Waiting [2023-05-25T00:19:44.052Z] ed15518f5707: Verifying Checksum [2023-05-25T00:19:44.052Z] ed15518f5707: Download complete [2023-05-25T00:19:44.052Z] 242c74f7c9fa: Verifying Checksum [2023-05-25T00:19:44.052Z] 242c74f7c9fa: Download complete [2023-05-25T00:19:44.052Z] 3cdef696dda3: Verifying Checksum [2023-05-25T00:19:44.052Z] 3cdef696dda3: Download complete [2023-05-25T00:19:44.052Z] c41833b44d91: Verifying Checksum [2023-05-25T00:19:44.052Z] c41833b44d91: Download complete [2023-05-25T00:19:45.523Z] c41833b44d91: Pull complete [2023-05-25T00:19:45.801Z] 58f1dce35555: Verifying Checksum [2023-05-25T00:19:45.801Z] 58f1dce35555: Download complete [2023-05-25T00:19:46.084Z] ed15518f5707: Pull complete [2023-05-25T00:19:46.895Z] feae8fd75edb: Verifying Checksum [2023-05-25T00:19:46.895Z] feae8fd75edb: Download complete [2023-05-25T00:19:47.168Z] 2ced38df9373: Verifying Checksum [2023-05-25T00:19:47.168Z] 2ced38df9373: Download complete [2023-05-25T00:19:59.596Z] feae8fd75edb: Pull complete [2023-05-25T00:19:59.596Z] 242c74f7c9fa: Pull complete [2023-05-25T00:19:59.871Z] 3cdef696dda3: Pull complete [2023-05-25T00:20:08.243Z] 2ced38df9373: Pull complete [2023-05-25T00:20:10.251Z] 58f1dce35555: Pull complete [2023-05-25T00:20:10.251Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-25T00:20:10.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-25T00:20:10.251Z] ---> fadd8f120f05 [2023-05-25T00:20:10.251Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:20:11.693Z] ---> Running in 7bd7e6de3819 [2023-05-25T00:20:11.693Z] Removing intermediate container 7bd7e6de3819 [2023-05-25T00:20:11.693Z] ---> 1b4c3afbf19e [2023-05-25T00:20:11.693Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:20:11.693Z] ---> Running in 7c37f4ba6ca1 [2023-05-25T00:20:12.292Z] Removing intermediate container 7c37f4ba6ca1 [2023-05-25T00:20:12.292Z] ---> b8e7e8a62ace [2023-05-25T00:20:12.292Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:20:12.292Z] ---> Running in f5173c67c9f6 [2023-05-25T00:20:12.889Z] Removing intermediate container f5173c67c9f6 [2023-05-25T00:20:12.889Z] ---> 3731b8de33a0 [2023-05-25T00:20:12.889Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:20:12.889Z] ---> Running in a5760e24acb8 [2023-05-25T00:20:13.163Z] Removing intermediate container a5760e24acb8 [2023-05-25T00:20:13.163Z] ---> d229b22976f9 [2023-05-25T00:20:13.163Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:20:13.436Z] ---> Running in 18ff638aac91 [2023-05-25T00:20:14.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-25T00:20:15.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-25T00:20:16.899Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-25T00:20:16.899Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-25T00:20:16.899Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-25T00:20:16.899Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-25T00:20:16.899Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:20:16.899Z] OK: 268 MiB in 57 packages [2023-05-25T00:20:18.342Z] Removing intermediate container 18ff638aac91 [2023-05-25T00:20:18.342Z] ---> 3a23fce060fb [2023-05-25T00:20:18.342Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-25T00:20:18.342Z] ---> Running in eb64b00c6ef1 [2023-05-25T00:20:18.615Z] Removing intermediate container eb64b00c6ef1 [2023-05-25T00:20:18.615Z] ---> a58e23416eb4 [2023-05-25T00:20:18.615Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-25T00:20:19.209Z] ---> 16f26f30bc93 [2023-05-25T00:20:19.209Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:20:19.209Z] ---> Running in 0253ea67bb7b [2023-05-25T00:21:41.044Z] Removing intermediate container 0253ea67bb7b [2023-05-25T00:21:41.044Z] ---> ba75446dfba6 [2023-05-25T00:21:41.044Z] Step 11/12 : COPY . . [2023-05-25T00:21:41.044Z] ---> a4ce11babbef [2023-05-25T00:21:41.044Z] Step 12/12 : RUN $MAKE [2023-05-25T00:21:41.044Z] ---> Running in 1a13774ad980 [2023-05-25T00:21:41.044Z] noop [2023-05-25T00:21:41.044Z] Removing intermediate container 1a13774ad980 [2023-05-25T00:21:41.044Z] ---> 344696e6deb8 [2023-05-25T00:21:41.044Z] Successfully built 344696e6deb8 [2023-05-25T00:21:41.044Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:21:41.423Z] + docker inspect -f . ci-base-image-arm64 [2023-05-25T00:21:41.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:21:41.681Z] prd-ubuntu20.04-docker-arm64-4c-16g-16878 does not seem to be running inside a container [2023-05-25T00:21:41.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-25T00:21:43.244Z] $ docker top 2ad3adf8a3af6a4920d2c146fc91187603f71affe094bf89389b6e0efa9eb55b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:21:44.128Z] + go version [2023-05-25T00:21:44.128Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-25T00:21:44.161Z] $ docker stop --time=1 2ad3adf8a3af6a4920d2c146fc91187603f71affe094bf89389b6e0efa9eb55b [2023-05-25T00:21:45.923Z] $ docker rm -f --volumes 2ad3adf8a3af6a4920d2c146fc91187603f71affe094bf89389b6e0efa9eb55b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:21:46.510Z] + docker inspect -f . ci-base-image-arm64 [2023-05-25T00:21:46.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:21:46.738Z] prd-ubuntu20.04-docker-arm64-4c-16g-16878 does not seem to be running inside a container [2023-05-25T00:21:46.843Z] $ 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/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-25T00:21:49.481Z] $ docker top 361b6c6e9ed839fc6d8347415207d70f2c37bee6c56457c21908c381b0aa658f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:21:50.364Z] + git config --global --add safe.directory /w/workspace/device-rest-go/10 [Pipeline] fileExists [Pipeline] sh [2023-05-25T00:21:51.046Z] + make test [2023-05-25T00:21:51.046Z] go test ./... -coverprofile=coverage.out ./... [2023-05-25T00:22:38.008Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-25T00:25:29.986Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-25T00:25:29.986Z] ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 32.2% of statements [2023-05-25T00:25:29.986Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-25T00:25:29.986Z] go vet ./... [2023-05-25T00:25:56.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-25T00:25:57.014Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-25T00:25:57.014Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-25T00:25:57.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-25T00:25:57.339Z] $ docker stop --time=1 361b6c6e9ed839fc6d8347415207d70f2c37bee6c56457c21908c381b0aa658f [2023-05-25T00:25:59.359Z] $ docker rm -f --volumes 361b6c6e9ed839fc6d8347415207d70f2c37bee6c56457c21908c381b0aa658f [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-25T00:26:00.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-25T00:26:00.686Z] Warning: overwriting stash ‘coverage-report’ [2023-05-25T00:26:01.314Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-25T00:26:01.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-25T00:26:02.064Z] + ls -al . [2023-05-25T00:26:02.064Z] total 180 [2023-05-25T00:26:02.064Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:21 . [2023-05-25T00:26:02.064Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:19 .. [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 151 May 25 00:19 .dockerignore [2023-05-25T00:26:02.064Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 00:19 .git [2023-05-25T00:26:02.064Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:19 .github [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 329 May 25 00:19 .gitignore [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 41 May 25 00:19 .golangci.yml [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 25 00:19 Attribution.txt [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 25 00:19 CHANGELOG.md [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 25 00:19 Dockerfile [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 677 May 25 00:19 GOVERNANCE.md [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 680 May 25 00:19 Jenkinsfile [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 00:19 LICENSE [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 25 00:19 Makefile [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 620 May 25 00:19 OWNERS.md [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 25 00:19 README.md [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 00:15 VERSION [2023-05-25T00:26:02.064Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:19 bin [2023-05-25T00:26:02.064Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 00:19 cmd [2023-05-25T00:26:02.064Z] -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:25 coverage.out [2023-05-25T00:26:02.064Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 00:19 driver [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 3354 May 25 00:19 go.mod [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 31232 May 25 00:19 go.sum [2023-05-25T00:26:02.064Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 00:19 snap [2023-05-25T00:26:02.064Z] -rw-rw-r-- 1 jenkins jenkins 713 May 25 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:26:02.420Z] + 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=d206607035c991f05c0cecfdd4d402add0655ed3 --label arch=arm64 --label version=0.0.0 . [2023-05-25T00:26:02.420Z] Sending build context to Docker daemon 154.6kB [2023-05-25T00:26:02.694Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:26:02.694Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-25T00:26:02.694Z] ---> 344696e6deb8 [2023-05-25T00:26:02.694Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:26:02.971Z] ---> Running in ada1694b7649 [2023-05-25T00:26:03.242Z] Removing intermediate container ada1694b7649 [2023-05-25T00:26:03.242Z] ---> ebe5a1680fa7 [2023-05-25T00:26:03.242Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:26:03.242Z] ---> Running in 8ccd754fec45 [2023-05-25T00:26:03.838Z] Removing intermediate container 8ccd754fec45 [2023-05-25T00:26:03.838Z] ---> ed8aaabc4d4e [2023-05-25T00:26:03.838Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:26:03.838Z] ---> Running in 4d056f10b880 [2023-05-25T00:26:04.109Z] Removing intermediate container 4d056f10b880 [2023-05-25T00:26:04.109Z] ---> 46c1b3d0e818 [2023-05-25T00:26:04.109Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:26:04.109Z] ---> Running in 619c58f5279f [2023-05-25T00:26:04.702Z] Removing intermediate container 619c58f5279f [2023-05-25T00:26:04.702Z] ---> 6b30ed21f9b9 [2023-05-25T00:26:04.702Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:26:04.702Z] ---> Running in 15d1904f9f5e [2023-05-25T00:26:05.771Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-25T00:26:06.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-25T00:26:08.177Z] OK: 268 MiB in 57 packages [2023-05-25T00:26:09.156Z] Removing intermediate container 15d1904f9f5e [2023-05-25T00:26:09.156Z] ---> 32417f139f3c [2023-05-25T00:26:09.156Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-25T00:26:09.156Z] ---> Running in 31e4f14dd4dd [2023-05-25T00:26:09.427Z] Removing intermediate container 31e4f14dd4dd [2023-05-25T00:26:09.427Z] ---> 624af3dca62d [2023-05-25T00:26:09.427Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-25T00:26:10.025Z] ---> b4a4dbf4b14c [2023-05-25T00:26:10.025Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:26:10.025Z] ---> Running in 5ecee51036ae [2023-05-25T00:26:13.408Z] Removing intermediate container 5ecee51036ae [2023-05-25T00:26:13.408Z] ---> 3676240b6ddc [2023-05-25T00:26:13.408Z] Step 11/25 : COPY . . [2023-05-25T00:26:13.408Z] ---> 5f7a94e8c561 [2023-05-25T00:26:13.408Z] Step 12/25 : RUN $MAKE [2023-05-25T00:26:13.684Z] ---> Running in 2c2eb5909460 [2023-05-25T00:26:14.653Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-25T00:28:51.499Z] Removing intermediate container 2c2eb5909460 [2023-05-25T00:28:51.499Z] ---> a0073ff0ba62 [2023-05-25T00:28:51.499Z] Step 13/25 : FROM alpine:3.17 [2023-05-25T00:28:51.499Z] 3.17: Pulling from library/alpine [2023-05-25T00:28:51.499Z] c41833b44d91: Already exists [2023-05-25T00:28:51.499Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-25T00:28:51.499Z] Status: Downloaded newer image for alpine:3.17 [2023-05-25T00:28:51.499Z] ---> 51e60588ff2c [2023-05-25T00:28:51.499Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-25T00:28:51.499Z] ---> Running in 1000e6fad11a [2023-05-25T00:28:51.499Z] Removing intermediate container 1000e6fad11a [2023-05-25T00:28:51.499Z] ---> c9174c31ad3a [2023-05-25T00:28:51.499Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-25T00:28:51.499Z] ---> Running in cee8d9ca8c95 [2023-05-25T00:28:51.499Z] Removing intermediate container cee8d9ca8c95 [2023-05-25T00:28:51.499Z] ---> 2fdfbac119d3 [2023-05-25T00:28:51.499Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-25T00:28:51.499Z] ---> Running in f0e2e1b304bd [2023-05-25T00:28:51.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-25T00:28:51.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-25T00:28:52.084Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-25T00:28:52.084Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:28:52.084Z] OK: 8 MiB in 16 packages [2023-05-25T00:28:53.515Z] Removing intermediate container f0e2e1b304bd [2023-05-25T00:28:53.515Z] ---> c0ad99d67a5b [2023-05-25T00:28:53.515Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-25T00:28:54.934Z] ---> aa90f6430928 [2023-05-25T00:28:54.934Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-25T00:28:55.201Z] ---> 4dbe4b01425d [2023-05-25T00:28:55.201Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-25T00:28:55.787Z] ---> 815ed2a6b84e [2023-05-25T00:28:55.787Z] Step 20/25 : EXPOSE 59986 [2023-05-25T00:28:55.787Z] ---> Running in a617375392c0 [2023-05-25T00:28:56.054Z] Removing intermediate container a617375392c0 [2023-05-25T00:28:56.054Z] ---> 5858dae92d4b [2023-05-25T00:28:56.054Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-25T00:28:56.054Z] ---> Running in f5b7e0ddbb76 [2023-05-25T00:28:56.320Z] Removing intermediate container f5b7e0ddbb76 [2023-05-25T00:28:56.320Z] ---> 8d187f66f40a [2023-05-25T00:28:56.320Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-25T00:28:56.320Z] ---> Running in faca1c3b9aee [2023-05-25T00:28:56.590Z] Removing intermediate container faca1c3b9aee [2023-05-25T00:28:56.590Z] ---> eb92811a1079 [2023-05-25T00:28:56.590Z] Step 23/25 : LABEL arch=arm64 [2023-05-25T00:28:56.861Z] ---> Running in d27fdbd102b8 [2023-05-25T00:28:57.127Z] Removing intermediate container d27fdbd102b8 [2023-05-25T00:28:57.127Z] ---> 49b7ae8805f7 [2023-05-25T00:28:57.127Z] Step 24/25 : LABEL git_sha=d206607035c991f05c0cecfdd4d402add0655ed3 [2023-05-25T00:28:57.127Z] ---> Running in 866826e6fb3c [2023-05-25T00:28:57.396Z] Removing intermediate container 866826e6fb3c [2023-05-25T00:28:57.396Z] ---> 998898b72115 [2023-05-25T00:28:57.396Z] Step 25/25 : LABEL version=0.0.0 [2023-05-25T00:28:57.396Z] ---> Running in d02c8aa802e8 [2023-05-25T00:28:57.663Z] Removing intermediate container d02c8aa802e8 [2023-05-25T00:28:57.663Z] ---> ad88f61e0b0b [2023-05-25T00:28:57.663Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-25T00:28:57.929Z] Successfully built ad88f61e0b0b [2023-05-25T00:28:57.929Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:28:58.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:28:58.363Z] [2023-05-25T00:28:58.363Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:28:58.696Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:28:58.696Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-25T00:28:58.696Z] 8998bd30e6a1: Pulling fs layer [2023-05-25T00:28:58.696Z] 04944245beec: Pulling fs layer [2023-05-25T00:28:58.696Z] 699f458cf7ca: Pulling fs layer [2023-05-25T00:28:58.696Z] 765212b225bb: Pulling fs layer [2023-05-25T00:28:58.696Z] f23df028b6ca: Pulling fs layer [2023-05-25T00:28:58.696Z] d65c8cfc05b1: Pulling fs layer [2023-05-25T00:28:58.696Z] 2437ff75d9bd: Pulling fs layer [2023-05-25T00:28:58.696Z] 765212b225bb: Waiting [2023-05-25T00:28:58.696Z] f23df028b6ca: Waiting [2023-05-25T00:28:58.696Z] d65c8cfc05b1: Waiting [2023-05-25T00:28:58.965Z] 04944245beec: Verifying Checksum [2023-05-25T00:28:58.965Z] 04944245beec: Download complete [2023-05-25T00:28:58.965Z] 765212b225bb: Verifying Checksum [2023-05-25T00:28:58.965Z] 765212b225bb: Download complete [2023-05-25T00:28:58.965Z] f23df028b6ca: Download complete [2023-05-25T00:28:58.965Z] d65c8cfc05b1: Verifying Checksum [2023-05-25T00:28:58.965Z] d65c8cfc05b1: Download complete [2023-05-25T00:28:58.965Z] 699f458cf7ca: Verifying Checksum [2023-05-25T00:28:58.965Z] 699f458cf7ca: Download complete [2023-05-25T00:28:59.547Z] 8998bd30e6a1: Verifying Checksum [2023-05-25T00:28:59.547Z] 8998bd30e6a1: Download complete [2023-05-25T00:29:01.490Z] 2437ff75d9bd: Verifying Checksum [2023-05-25T00:29:01.490Z] 2437ff75d9bd: Download complete [2023-05-25T00:29:03.440Z] 8998bd30e6a1: Pull complete [2023-05-25T00:29:07.694Z] 04944245beec: Pull complete [2023-05-25T00:29:08.276Z] 699f458cf7ca: Pull complete [2023-05-25T00:29:08.545Z] 765212b225bb: Pull complete [2023-05-25T00:29:09.503Z] f23df028b6ca: Pull complete [2023-05-25T00:29:09.504Z] d65c8cfc05b1: Pull complete [2023-05-25T00:29:24.971Z] 2437ff75d9bd: Pull complete [2023-05-25T00:29:24.971Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-25T00:29:24.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:29:24.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:29:25.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-16878 does not seem to be running inside a container [2023-05-25T00:29:25.242Z] $ 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/10 -v /w/workspace/device-rest-go/10:/w/workspace/device-rest-go/10:rw,z -v /w/workspace/device-rest-go/10@tmp:/w/workspace/device-rest-go/10@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-25T00:29:27.809Z] $ docker top 5dd2965398d05287b66d397ad93af4745b4d04fbf01eef474c7e3065142793a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:29:28.646Z] ---> job-cost.sh [2023-05-25T00:29:28.646Z] lf-activate-venv: SKIPPING [2023-05-25T00:29:28.646Z] INFO: No Stack... [2023-05-25T00:29:29.229Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-25T00:29:29.814Z] INFO: Archiving Costs [Pipeline] sh [2023-05-25T00:29:30.405Z] + cat /w/workspace/device-rest-go/10/archives/cost.csv [2023-05-25T00:29:30.405Z] + cut -d, -f6 [Pipeline] lock [2023-05-25T00:29:30.743Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [2023-05-25T00:29:30.748Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] did not exist. Created. [2023-05-25T00:29:30.749Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-25T00:29:31.474Z] /w/workspace/device-rest-go/10@tmp/durable-440abbc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-25T00:29:31.877Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-25T00:29:31.880Z] Warning: overwriting stash ‘stack-cost’ [2023-05-25T00:29:31.949Z] Stashed 1 file(s) [Pipeline] } [2023-05-25T00:29:31.956Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-318-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-25T00:29:31.987Z] $ docker stop --time=1 5dd2965398d05287b66d397ad93af4745b4d04fbf01eef474c7e3065142793a2 [2023-05-25T00:29:33.499Z] $ docker rm -f --volumes 5dd2965398d05287b66d397ad93af4745b4d04fbf01eef474c7e3065142793a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-25T00:29:33.836Z] provisioning config files... [2023-05-25T00:29:33.842Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config11440666139259924340tmp [Pipeline] { [Pipeline] sh [2023-05-25T00:29:34.132Z] + set +x [2023-05-25T00:29:34.133Z] + curl -s https://codecov.io/bash [2023-05-25T00:29:34.133Z] + bash -s -- [2023-05-25T00:29:34.133Z] [2023-05-25T00:29:34.133Z] _____ _ [2023-05-25T00:29:34.133Z] / ____| | | [2023-05-25T00:29:34.133Z] | | ___ __| | ___ ___ _____ __ [2023-05-25T00:29:34.133Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-25T00:29:34.133Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-25T00:29:34.133Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-25T00:29:34.133Z] Bash-1.0.6 [2023-05-25T00:29:34.133Z] [2023-05-25T00:29:34.133Z] [2023-05-25T00:29:34.133Z] ==> git version 2.25.1 found [2023-05-25T00:29:34.133Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-25T00:29:34.133Z] Release-Date: 2020-01-08 [2023-05-25T00:29:34.133Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-25T00:29:34.133Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-25T00:29:34.133Z] ==> Jenkins CI detected. [2023-05-25T00:29:34.133Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-25T00:29:34.133Z] project root: . [2023-05-25T00:29:34.133Z] --> token set from env [2023-05-25T00:29:34.133Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-25T00:29:34.133Z] ==> Running gcov in . (disable via -X gcov) [2023-05-25T00:29:34.133Z] ==> Python coveragepy not found [2023-05-25T00:29:34.133Z] ==> Searching for coverage reports in: [2023-05-25T00:29:34.133Z] + . [2023-05-25T00:29:34.133Z] -> Found 1 reports [2023-05-25T00:29:34.133Z] ==> Detecting git/mercurial file structure [2023-05-25T00:29:34.133Z] ==> Reading reports [2023-05-25T00:29:34.133Z] + ./coverage.out bytes=14663 [2023-05-25T00:29:34.133Z] ==> Appending adjustments [2023-05-25T00:29:34.133Z] https://docs.codecov.io/docs/fixing-reports [2023-05-25T00:29:34.393Z] + Found adjustments [2023-05-25T00:29:34.393Z] ==> Gzipping contents [2023-05-25T00:29:34.393Z] 4.0K /tmp/codecov.mXjxKs.gz [2023-05-25T00:29:34.393Z] ==> Uploading reports [2023-05-25T00:29:34.393Z] url: https://codecov.io [2023-05-25T00:29:34.393Z] query: branch=PR-318&commit=d206607035c991f05c0cecfdd4d402add0655ed3&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-05-25T00:29:34.393Z] -> Pinging Codecov [2023-05-25T00:29:34.393Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-318&commit=d206607035c991f05c0cecfdd4d402add0655ed3&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-318%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=318&job=&cmd_args= [2023-05-25T00:29:34.652Z] -> Uploading to [2023-05-25T00:29:34.652Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-25/4E5D53B4F1F92C436F7061BF334D961C/d206607035c991f05c0cecfdd4d402add0655ed3/5e01fa3d-e157-4780-9323-3f94675419e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T002934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5be097816a6fdd6bfbe4c97cddf386de389c7fed7feeb68fc9b9908658073f27 [2023-05-25T00:29:34.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-25T00:29:34.652Z] Dload Upload Total Spent Left Speed [2023-05-25T00:29:34.652Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11895 --:--:-- --:--:-- --:--:-- 11839 100 2510 0 0 100 2510 0 11895 --:--:-- --:--:-- --:--:-- 11839 [2023-05-25T00:29:34.652Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d206607035c991f05c0cecfdd4d402add0655ed3 [Pipeline] } [2023-05-25T00:29:34.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-05-25T00:29:35.325Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-318/archives ] [2023-05-25T00:29:35.325Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-25T00:29:35.325Z] total 16 [2023-05-25T00:29:35.325Z] drwxr-xr-x 3 root root 4096 May 25 00:18 . [2023-05-25T00:29:35.325Z] drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:18 .. [2023-05-25T00:29:35.325Z] drwxr-xr-x 2 root root 4096 May 25 00:18 cost [2023-05-25T00:29:35.325Z] -rw-r--r-- 1 root root 87 May 25 00:18 cost.csv [2023-05-25T00:29:35.325Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-25T00:29:35.325Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-318/archives [2023-05-25T00:29:35.325Z] total 16 [2023-05-25T00:29:35.325Z] drwxr-xr-x 3 jenkins jenkins 4096 May 25 00:18 . [2023-05-25T00:29:35.325Z] drwxrwxr-x 10 jenkins jenkins 4096 May 25 00:18 .. [2023-05-25T00:29:35.325Z] drwxr-xr-x 2 jenkins jenkins 4096 May 25 00:18 cost [2023-05-25T00:29:35.325Z] -rw-r--r-- 1 jenkins jenkins 87 May 25 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:29:35.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:29:36.478Z] ---> package-listing.sh [2023-05-25T00:29:36.478Z] ++ facter osfamily [2023-05-25T00:29:36.478Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-25T00:29:36.737Z] + OS_FAMILY=debian [2023-05-25T00:29:36.737Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-318 [2023-05-25T00:29:36.737Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-25T00:29:36.737Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-25T00:29:36.737Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-25T00:29:36.737Z] + PACKAGES=/tmp/packages_start.txt [2023-05-25T00:29:36.737Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-05-25T00:29:36.737Z] + PACKAGES=/tmp/packages_end.txt [2023-05-25T00:29:36.737Z] + case "${OS_FAMILY}" in [2023-05-25T00:29:36.737Z] + dpkg -l [2023-05-25T00:29:36.737Z] + grep '^ii' [2023-05-25T00:29:36.737Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-25T00:29:36.737Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-25T00:29:36.737Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-25T00:29:36.737Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-318 ']' [2023-05-25T00:29:36.737Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [2023-05-25T00:29:36.737Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-318/archives/ [Pipeline] echo [2023-05-25T00:29:36.748Z] 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-318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-25T00:29:37.028Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:29:37.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:29:37.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:29:37.680Z] prd-ubuntu20.04-docker-8c-8g-16856 does not seem to be running inside a container [2023-05-25T00:29:37.730Z] $ 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-318/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-318 -v /w/workspace/gexfoundry_device-rest-go_PR-318:/w/workspace/gexfoundry_device-rest-go_PR-318:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-318@tmp:/w/workspace/gexfoundry_device-rest-go_PR-318@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-25T00:29:37.931Z] $ docker top d039e530bd22cf7d4129f9b0e13acc26fa8fc51ca7c4d66dbb860d7ee09bd2b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:29:38.262Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-25T00:29:38.549Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-25T00:29:38.834Z] + ls /var/log/sa-host [2023-05-25T00:29:38.835Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-25T00:29:38.899Z] provisioning config files... [2023-05-25T00:29:38.906Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-318@tmp/config16360270886277199397tmp [Pipeline] { [Pipeline] echo [2023-05-25T00:29:38.921Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:29:39.203Z] ---> create-netrc.sh [Pipeline] } [2023-05-25T00:29:39.210Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:29:39.537Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-25T00:29:39.545Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:29:39.831Z] ---> sudo-logs.sh [2023-05-25T00:29:39.831Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-25T00:29:39.865Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:29:40.151Z] ---> job-cost.sh [2023-05-25T00:29:40.151Z] lf-activate-venv: SKIPPING [2023-05-25T00:29:40.151Z] DEBUG: total: 0.2199999988079071 [2023-05-25T00:29:40.151Z] INFO: Retrieving Stack Cost... [2023-05-25T00:29:40.410Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-25T00:29:40.979Z] INFO: Archiving Costs [Pipeline] echo [2023-05-25T00:29:40.989Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:29:41.269Z] ---> logs-deploy.sh [2023-05-25T00:29:41.269Z] lf-activate-venv: SKIPPING [2023-05-25T00:29:41.269Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-318/10 [2023-05-25T00:29:41.269Z] INFO: archiving workspace using pattern(s): [2023-05-25T00:29:42.204Z] Archives upload complete. [2023-05-25T00:29:42.204Z] INFO: archiving logs to Nexus