Pull request #308 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-rest-go Loading trusted files from base branch main at 30cba82ac8543dee28be9b53c2ba4ad5f05591fa rather than 1a07bbade9a466f3792e258aa9e84cc16a414ca2 Obtained Jenkinsfile from 30cba82ac8543dee28be9b53c2ba4ad5f05591fa 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-ssh13094901362580517498.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-ssh4155711364383513690.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-308/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-308/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3252083298976952641.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-308/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7810458788459956964.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6106031659374348118.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-308/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-308/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7231595037421273278.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-13817’ Running on prd-ubuntu20.04-docker-8c-8g-13820 in /w/workspace/gexfoundry_device-rest-go_PR-308 [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-308 # 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/308/head:refs/remotes/origin/PR-308 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 30cba82ac8543dee28be9b53c2ba4ad5f05591fa into PR head commit 1a07bbade9a466f3792e258aa9e84cc16a414ca2 Merge succeeded, producing 264b061c12f3f208b1af053f2e55e8abd0ccefd0 Checking out Revision 264b061c12f3f208b1af053f2e55e8abd0ccefd0 (PR-308) > git config core.sparsecheckout # timeout=10 > git checkout -f 1a07bbade9a466f3792e258aa9e84cc16a414ca2 # 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 30cba82ac8543dee28be9b53c2ba4ad5f05591fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 264b061c12f3f208b1af053f2e55e8abd0ccefd0 # timeout=10 Commit message: "Merge commit '30cba82ac8543dee28be9b53c2ba4ad5f05591fa' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T05:30:32.693Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T05:30:32.855Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T05:30:32.944Z] ========================================================= [2023-05-05T05:30:32.944Z] EdgeX Global Pipelines Version Info [2023-05-05T05:30:32.944Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:30:33.668Z] ------------------- [2023-05-05T05:30:33.668Z] stable info: [2023-05-05T05:30:33.668Z] ------------------- [2023-05-05T05:30:33.668Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T05:30:33.668Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T05:30:33.668Z] Message: update stable to v1.0.249 [2023-05-05T05:30:34.238Z] ------------------- [2023-05-05T05:30:34.238Z] experimental info: [2023-05-05T05:30:34.238Z] ------------------- [2023-05-05T05:30:34.238Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T05:30:34.238Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T05:30:34.238Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T05:30:34.536Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-05T05:30:34.580Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-05T05:30:34.621Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T05:30:34.659Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T05:30:34.701Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T05:30:34.739Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T05:30:34.777Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T05:30:34.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T05:30:34.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T05:30:34.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T05:30:34.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T05:30:34.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-05T05:30:35.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T05:30:35.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T05:30:35.109Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T05:30:35.147Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T05:30:35.184Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T05:30:35.220Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T05:30:35.266Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T05:30:35.309Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T05:30:35.357Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-05T05:30:35.398Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-05T05:30:35.437Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T05:30:35.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T05:30:35.516Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T05:30:35.563Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T05:30:35.606Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T05:30:35.650Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-308 [Pipeline] echo [2023-05-05T05:30:35.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-308 [Pipeline] echo [2023-05-05T05:30:35.732Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-308 [Pipeline] echo [2023-05-05T05:30:35.773Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 264b061c12f3f208b1af053f2e55e8abd0ccefd0 [Pipeline] echo [2023-05-05T05:30:35.817Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 264b061 [Pipeline] echo [2023-05-05T05:30:35.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T05:30:35.979Z] provisioning config files... [2023-05-05T05:30:35.992Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-308@tmp/config12939966744068565417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:30:36.346Z] ---> docker-login.sh [2023-05-05T05:30:36.346Z] nexus3.edgexfoundry.org:10001 [2023-05-05T05:30:36.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:36.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:36.605Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:36.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:36.605Z] [2023-05-05T05:30:36.605Z] Login Succeeded [2023-05-05T05:30:36.605Z] nexus3.edgexfoundry.org:10002 [2023-05-05T05:30:36.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:36.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:36.868Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:36.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:36.868Z] [2023-05-05T05:30:36.868Z] Login Succeeded [2023-05-05T05:30:36.868Z] nexus3.edgexfoundry.org:10003 [2023-05-05T05:30:36.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:36.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:36.868Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:36.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:36.868Z] [2023-05-05T05:30:36.868Z] Login Succeeded [2023-05-05T05:30:36.868Z] nexus3.edgexfoundry.org:10004 [2023-05-05T05:30:36.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:37.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:37.128Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:37.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:37.128Z] [2023-05-05T05:30:37.128Z] Login Succeeded [2023-05-05T05:30:37.128Z] docker.io [2023-05-05T05:30:37.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:37.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:37.128Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:37.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:37.128Z] [2023-05-05T05:30:37.128Z] Login Succeeded [2023-05-05T05:30:37.128Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T05:30:37.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T05:30:37.810Z] + git rev-list -1 --merges 264b061c12f3f208b1af053f2e55e8abd0ccefd0~1..264b061c12f3f208b1af053f2e55e8abd0ccefd0 [Pipeline] echo [2023-05-05T05:30:37.871Z] -----------> git rev-list -1 --merges 264b061c12f3f208b1af053f2e55e8abd0ccefd0~1..264b061c12f3f208b1af053f2e55e8abd0ccefd0 264b061c12f3f208b1af053f2e55e8abd0ccefd0 [2023-05-05T05:30:37.871Z] 264b061c12f3f208b1af053f2e55e8abd0ccefd0 [false] [Pipeline] sh [2023-05-05T05:30:38.191Z] + git log --format=format:%s -1 264b061c12f3f208b1af053f2e55e8abd0ccefd0 [Pipeline] echo [2023-05-05T05:30:38.234Z] ========================================================= [2023-05-05T05:30:38.234Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T05:30:38.234Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T05:30:38.672Z] + git log --format=format:%s -1 264b061c12f3f208b1af053f2e55e8abd0ccefd0 [Pipeline] echo [2023-05-05T05:30:38.703Z] [semverPrep] GIT_COMMIT: 264b061c12f3f208b1af053f2e55e8abd0ccefd0, Commit Message: Merge commit '30cba82ac8543dee28be9b53c2ba4ad5f05591fa' into HEAD [Pipeline] echo [2023-05-05T05:30:38.733Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T05:30:39.104Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T05:30:39.104Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T05:30:39.104Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T05:30:39.104Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T05:30:39.104Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T05:30:39.104Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T05:30:39.104Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:30:39.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T05:30:39.530Z] [2023-05-05T05:30:39.530Z] 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-05T05:30:39.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T05:30:39.910Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T05:30:39.910Z] b85a868b505f: Pulling fs layer [2023-05-05T05:30:39.910Z] e2be974225ed: Pulling fs layer [2023-05-05T05:30:39.910Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T05:30:39.910Z] 988bab9f4d93: Pulling fs layer [2023-05-05T05:30:39.910Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T05:30:39.910Z] eaf3925da568: Pulling fs layer [2023-05-05T05:30:39.910Z] bab4dde63d76: Pulling fs layer [2023-05-05T05:30:39.910Z] bde34c3a00c8: Pulling fs layer [2023-05-05T05:30:39.910Z] b352a97aabf1: Pulling fs layer [2023-05-05T05:30:39.910Z] 4872d77fe225: Pulling fs layer [2023-05-05T05:30:39.910Z] 5851b861e8e6: Pulling fs layer [2023-05-05T05:30:39.910Z] 988bab9f4d93: Waiting [2023-05-05T05:30:39.910Z] bde34c3a00c8: Waiting [2023-05-05T05:30:39.910Z] b352a97aabf1: Waiting [2023-05-05T05:30:39.910Z] bab4dde63d76: Waiting [2023-05-05T05:30:39.910Z] 5851b861e8e6: Waiting [2023-05-05T05:30:39.910Z] 4872d77fe225: Waiting [2023-05-05T05:30:39.910Z] eaf3925da568: Waiting [2023-05-05T05:30:39.910Z] 1469e6f7b9e6: Waiting [2023-05-05T05:30:39.910Z] e2be974225ed: Verifying Checksum [2023-05-05T05:30:39.910Z] e2be974225ed: Download complete [2023-05-05T05:30:39.910Z] 988bab9f4d93: Verifying Checksum [2023-05-05T05:30:39.910Z] 988bab9f4d93: Download complete [2023-05-05T05:30:39.910Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T05:30:39.910Z] 1469e6f7b9e6: Download complete [2023-05-05T05:30:39.910Z] eaf3925da568: Download complete [2023-05-05T05:30:39.910Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T05:30:39.910Z] 339a4e72a1f5: Download complete [2023-05-05T05:30:40.169Z] bde34c3a00c8: Download complete [2023-05-05T05:30:40.169Z] b352a97aabf1: Verifying Checksum [2023-05-05T05:30:40.169Z] b352a97aabf1: Download complete [2023-05-05T05:30:40.169Z] 4872d77fe225: Verifying Checksum [2023-05-05T05:30:40.169Z] 4872d77fe225: Download complete [2023-05-05T05:30:40.169Z] 5851b861e8e6: Verifying Checksum [2023-05-05T05:30:40.169Z] 5851b861e8e6: Download complete [2023-05-05T05:30:40.169Z] b85a868b505f: Verifying Checksum [2023-05-05T05:30:40.169Z] b85a868b505f: Download complete [2023-05-05T05:30:40.429Z] bab4dde63d76: Verifying Checksum [2023-05-05T05:30:40.429Z] bab4dde63d76: Download complete [2023-05-05T05:30:41.364Z] b85a868b505f: Pull complete [2023-05-05T05:30:41.364Z] e2be974225ed: Pull complete [2023-05-05T05:30:41.932Z] 339a4e72a1f5: Pull complete [2023-05-05T05:30:41.932Z] 988bab9f4d93: Pull complete [2023-05-05T05:30:42.212Z] 1469e6f7b9e6: Pull complete [2023-05-05T05:30:42.212Z] eaf3925da568: Pull complete [2023-05-05T05:30:44.117Z] bab4dde63d76: Pull complete [2023-05-05T05:30:44.117Z] bde34c3a00c8: Pull complete [2023-05-05T05:30:44.117Z] b352a97aabf1: Pull complete [2023-05-05T05:30:44.117Z] 4872d77fe225: Pull complete [2023-05-05T05:30:44.378Z] 5851b861e8e6: Pull complete [2023-05-05T05:30:44.378Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T05:30:44.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T05:30:44.378Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:30:44.612Z] prd-ubuntu20.04-docker-8c-8g-13820 does not seem to be running inside a container [2023-05-05T05:30:44.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-308 -v /w/workspace/gexfoundry_device-rest-go_PR-308:/w/workspace/gexfoundry_device-rest-go_PR-308:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-308@tmp:/w/workspace/gexfoundry_device-rest-go_PR-308@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-05T05:30:46.477Z] $ docker top 27726402a977a9e25b743c9f679fcdd9562ad21743034b6c9b22282e868c8fff -eo pid,comm [2023-05-05T05:30:46.533Z] 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-05T05:30:46.533Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T05:30:46.668Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T05:30:46.668Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T05:30:46.776Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T05:30:46.782Z] $ docker exec 27726402a977a9e25b743c9f679fcdd9562ad21743034b6c9b22282e868c8fff ssh-agent [2023-05-05T05:30:46.889Z] SSH_AUTH_SOCK=/tmp/ssh-WA9WSmfLFF39/agent.33 [2023-05-05T05:30:46.889Z] SSH_AGENT_PID=39 [2023-05-05T05:30:46.895Z] Running ssh-add (command line suppressed) [2023-05-05T05:30:47.002Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-308@tmp/private_key_15332787077250328185.key (/w/workspace/gexfoundry_device-rest-go_PR-308@tmp/private_key_15332787077250328185.key) [2023-05-05T05:30:47.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T05:30:47.347Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T05:30:47.378Z] $ docker exec --env ******** --env ******** 27726402a977a9e25b743c9f679fcdd9562ad21743034b6c9b22282e868c8fff ssh-agent -k [2023-05-05T05:30:47.464Z] unset SSH_AUTH_SOCK; [2023-05-05T05:30:47.464Z] unset SSH_AGENT_PID; [2023-05-05T05:30:47.464Z] echo Agent pid 39 killed; [2023-05-05T05:30:47.471Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T05:30:47.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T05:30:47.632Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T05:30:47.743Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T05:30:47.748Z] $ docker exec 27726402a977a9e25b743c9f679fcdd9562ad21743034b6c9b22282e868c8fff ssh-agent [2023-05-05T05:30:47.840Z] SSH_AUTH_SOCK=/tmp/ssh-Kq1azqMc99kC/agent.71 [2023-05-05T05:30:47.840Z] SSH_AGENT_PID=77 [2023-05-05T05:30:47.844Z] Running ssh-add (command line suppressed) [2023-05-05T05:30:47.936Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-308@tmp/private_key_3420492181972762518.key (/w/workspace/gexfoundry_device-rest-go_PR-308@tmp/private_key_3420492181972762518.key) [2023-05-05T05:30:47.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T05:30:48.275Z] + git semver init [2023-05-05T05:30:48.537Z] 2023-05-05 05:30:48,439 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T05:30:48.537Z] 2023-05-05 05:30:48,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-308/.semver [2023-05-05T05:30:48.537Z] 2023-05-05 05:30:48,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-308/.semver [2023-05-05T05:30:48.537Z] 2023-05-05 05:30:48,440 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-308/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-308, universal_newlines=False, shell=None, istream=None) [2023-05-05T05:30:49.477Z] 2023-05-05 05:30:49,389 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-308/.git/info/exclude [2023-05-05T05:30:49.477Z] 2023-05-05 05:30:49,390 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-308/.semver/PR-308 with force:False [2023-05-05T05:30:49.477Z] 2023-05-05 05:30:49,390 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-308/.semver/PR-308 [2023-05-05T05:30:49.477Z] 2023-05-05 05:30:49,394 [execute] INFO git cat-file --batch-check [2023-05-05T05:30:49.477Z] 2023-05-05 05:30:49,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-308/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T05:30:49.477Z] 2023-05-05 05:30:49,400 [execute] INFO git cat-file --batch [2023-05-05T05:30:49.477Z] 2023-05-05 05:30:49,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-308/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T05:30:49.477Z] 2023-05-05 05:30:49,405 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-308/.semver/PR-308 [2023-05-05T05:30:49.477Z] 0.0.0 [Pipeline] } [2023-05-05T05:30:49.510Z] $ docker exec --env ******** --env ******** 27726402a977a9e25b743c9f679fcdd9562ad21743034b6c9b22282e868c8fff ssh-agent -k [2023-05-05T05:30:49.609Z] unset SSH_AUTH_SOCK; [2023-05-05T05:30:49.609Z] unset SSH_AGENT_PID; [2023-05-05T05:30:49.609Z] echo Agent pid 77 killed; [2023-05-05T05:30:49.615Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T05:30:50.043Z] + git semver [Pipeline] } [2023-05-05T05:30:50.329Z] $ docker stop --time=1 27726402a977a9e25b743c9f679fcdd9562ad21743034b6c9b22282e868c8fff [2023-05-05T05:30:51.666Z] $ docker rm -f --volumes 27726402a977a9e25b743c9f679fcdd9562ad21743034b6c9b22282e868c8fff [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T05:30:52.053Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T05:30:52.291Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T05:30:52.307Z] [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-05T05:30:52.892Z] provisioning config files... [2023-05-05T05:30:52.902Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-308@tmp/config1694579647304264775tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:30:53.248Z] ---> docker-login.sh [2023-05-05T05:30:53.248Z] nexus3.edgexfoundry.org:10001 [2023-05-05T05:30:53.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:53.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:53.248Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:53.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:53.248Z] [2023-05-05T05:30:53.248Z] Login Succeeded [2023-05-05T05:30:53.248Z] nexus3.edgexfoundry.org:10002 [2023-05-05T05:30:53.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:53.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:53.248Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:53.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:53.248Z] [2023-05-05T05:30:53.248Z] Login Succeeded [2023-05-05T05:30:53.248Z] nexus3.edgexfoundry.org:10003 [2023-05-05T05:30:53.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:53.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:53.509Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:53.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:53.509Z] [2023-05-05T05:30:53.509Z] Login Succeeded [2023-05-05T05:30:53.509Z] nexus3.edgexfoundry.org:10004 [2023-05-05T05:30:53.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:53.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:53.509Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:53.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:53.509Z] [2023-05-05T05:30:53.509Z] Login Succeeded [2023-05-05T05:30:53.509Z] docker.io [2023-05-05T05:30:53.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:30:53.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:30:53.767Z] Configure a credential helper to remove this warning. See [2023-05-05T05:30:53.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:30:53.767Z] [2023-05-05T05:30:53.767Z] Login Succeeded [2023-05-05T05:30:53.767Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T05:30:53.821Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T05:30:54.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T05:30:54.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T05:30:54.096Z] ========================================================= [2023-05-05T05:30:54.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T05:30:54.096Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:30:54.572Z] + 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-05T05:30:54.572Z] Sending build context to Docker daemon 10.91MB [2023-05-05T05:30:54.572Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T05:30:54.572Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T05:30:54.572Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T05:30:54.572Z] f56be85fc22e: Pulling fs layer [2023-05-05T05:30:54.572Z] 85791d961cd3: Pulling fs layer [2023-05-05T05:30:54.572Z] d694b5ae8c79: Pulling fs layer [2023-05-05T05:30:54.572Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T05:30:54.572Z] 4d19c01a9841: Pulling fs layer [2023-05-05T05:30:54.572Z] 9325e15d5711: Pulling fs layer [2023-05-05T05:30:54.572Z] 556b6ee489ea: Pulling fs layer [2023-05-05T05:30:54.572Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T05:30:54.572Z] 4d19c01a9841: Waiting [2023-05-05T05:30:54.572Z] 9325e15d5711: Waiting [2023-05-05T05:30:54.572Z] 556b6ee489ea: Waiting [2023-05-05T05:30:54.572Z] c5a4b2cf53e6: Waiting [2023-05-05T05:30:54.572Z] 9f32a84ed3da: Waiting [2023-05-05T05:30:54.572Z] 85791d961cd3: Download complete [2023-05-05T05:30:54.572Z] 9f32a84ed3da: Verifying Checksum [2023-05-05T05:30:54.572Z] 9f32a84ed3da: Download complete [2023-05-05T05:30:54.572Z] 4d19c01a9841: Download complete [2023-05-05T05:30:54.572Z] f56be85fc22e: Verifying Checksum [2023-05-05T05:30:54.572Z] f56be85fc22e: Download complete [2023-05-05T05:30:54.832Z] 9325e15d5711: Verifying Checksum [2023-05-05T05:30:54.832Z] 9325e15d5711: Download complete [2023-05-05T05:30:54.833Z] f56be85fc22e: Pull complete [2023-05-05T05:30:55.094Z] 85791d961cd3: Pull complete [2023-05-05T05:30:55.094Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T05:30:55.094Z] c5a4b2cf53e6: Download complete [2023-05-05T05:30:55.352Z] d694b5ae8c79: Verifying Checksum [2023-05-05T05:30:55.352Z] d694b5ae8c79: Download complete [2023-05-05T05:30:55.610Z] 556b6ee489ea: Verifying Checksum [2023-05-05T05:30:55.610Z] 556b6ee489ea: Download complete [2023-05-05T05:30:58.891Z] d694b5ae8c79: Pull complete [2023-05-05T05:30:58.891Z] 9f32a84ed3da: Pull complete [2023-05-05T05:30:58.891Z] 4d19c01a9841: Pull complete [2023-05-05T05:30:58.891Z] 9325e15d5711: Pull complete [2023-05-05T05:31:01.418Z] 556b6ee489ea: Pull complete [2023-05-05T05:31:01.986Z] c5a4b2cf53e6: Pull complete [2023-05-05T05:31:01.986Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T05:31:01.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T05:31:01.986Z] ---> c4be618373d6 [2023-05-05T05:31:01.986Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T05:31:07.263Z] ---> Running in 0cb62640dc4b [2023-05-05T05:31:07.263Z] Removing intermediate container 0cb62640dc4b [2023-05-05T05:31:07.263Z] ---> 56db02dacb25 [2023-05-05T05:31:07.263Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T05:31:07.263Z] ---> Running in bc24ed1de1e4 [2023-05-05T05:31:07.263Z] Removing intermediate container bc24ed1de1e4 [2023-05-05T05:31:07.263Z] ---> bf2cdee4ee04 [2023-05-05T05:31:07.264Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T05:31:07.264Z] ---> Running in 3ca629a0f78c [2023-05-05T05:31:07.264Z] Removing intermediate container 3ca629a0f78c [2023-05-05T05:31:07.264Z] ---> 88eae6f0fa6e [2023-05-05T05:31:07.264Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T05:31:07.264Z] ---> Running in f4af402991f1 [2023-05-05T05:31:07.264Z] Removing intermediate container f4af402991f1 [2023-05-05T05:31:07.264Z] ---> 1415722b211a [2023-05-05T05:31:07.264Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T05:31:07.264Z] ---> Running in ddb6557bbeb5 [2023-05-05T05:31:07.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T05:31:07.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T05:31:07.522Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T05:31:07.522Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T05:31:07.522Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T05:31:07.522Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T05:31:07.522Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T05:31:07.522Z] OK: 269 MiB in 57 packages [2023-05-05T05:31:07.714Z] Still waiting to schedule task [2023-05-05T05:31:07.714Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-13818’ [2023-05-05T05:31:07.783Z] Removing intermediate container ddb6557bbeb5 [2023-05-05T05:31:07.783Z] ---> e5b63e0e1cfe [2023-05-05T05:31:07.783Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-05T05:31:08.044Z] ---> Running in a027e3c282c9 [2023-05-05T05:31:08.044Z] Removing intermediate container a027e3c282c9 [2023-05-05T05:31:08.044Z] ---> 5a87c18f9411 [2023-05-05T05:31:08.044Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T05:31:08.044Z] ---> 9d05970368df [2023-05-05T05:31:08.044Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T05:31:08.044Z] ---> Running in 786c03ccc683 [2023-05-05T05:31:30.058Z] Removing intermediate container 786c03ccc683 [2023-05-05T05:31:30.058Z] ---> 7860c9fde7c9 [2023-05-05T05:31:30.058Z] Step 11/12 : COPY . . [2023-05-05T05:31:30.317Z] ---> 666a3d9ed46f [2023-05-05T05:31:30.317Z] Step 12/12 : RUN $MAKE [2023-05-05T05:31:30.317Z] ---> Running in feb3c19357de [2023-05-05T05:31:30.575Z] noop [2023-05-05T05:31:30.833Z] Removing intermediate container feb3c19357de [2023-05-05T05:31:30.833Z] ---> 1ac6e4080bea [2023-05-05T05:31:30.833Z] Successfully built 1ac6e4080bea [2023-05-05T05:31:30.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:31:31.255Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T05:31:31.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:31:31.392Z] prd-ubuntu20.04-docker-8c-8g-13820 does not seem to be running inside a container [2023-05-05T05:31:31.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-308 -v /w/workspace/gexfoundry_device-rest-go_PR-308:/w/workspace/gexfoundry_device-rest-go_PR-308:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-308@tmp:/w/workspace/gexfoundry_device-rest-go_PR-308@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-05T05:31:31.751Z] $ docker top 5a4410b37e52dbbe04275c3669cddb21683fe763db50c2ff9249bbd42ef9ad41 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T05:31:32.136Z] + go version [2023-05-05T05:31:32.136Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T05:31:32.171Z] $ docker stop --time=1 5a4410b37e52dbbe04275c3669cddb21683fe763db50c2ff9249bbd42ef9ad41 [2023-05-05T05:31:33.425Z] $ docker rm -f --volumes 5a4410b37e52dbbe04275c3669cddb21683fe763db50c2ff9249bbd42ef9ad41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:31:34.135Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T05:31:34.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:31:34.277Z] prd-ubuntu20.04-docker-8c-8g-13820 does not seem to be running inside a container [2023-05-05T05:31:34.304Z] $ 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-308 -v /w/workspace/gexfoundry_device-rest-go_PR-308:/w/workspace/gexfoundry_device-rest-go_PR-308:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-308@tmp:/w/workspace/gexfoundry_device-rest-go_PR-308@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-05T05:31:34.645Z] $ docker top e524ed395747c48f851b97c9492e2b152add6237b253dfeea259c75e8089a2c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T05:31:35.024Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-308 [Pipeline] fileExists [Pipeline] sh [2023-05-05T05:31:35.391Z] + make test [2023-05-05T05:31:35.392Z] go test ./... -coverprofile=coverage.out ./... [2023-05-05T05:31:39.583Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-05T05:31:49.546Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-05T05:31:49.546Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements [2023-05-05T05:31:56.098Z] go vet ./... [2023-05-05T05:31:58.624Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T05:31:58.624Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T05:31:58.624Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T05:31:58.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T05:31:58.691Z] $ docker stop --time=1 e524ed395747c48f851b97c9492e2b152add6237b253dfeea259c75e8089a2c1 [2023-05-05T05:32:01.158Z] $ docker rm -f --volumes e524ed395747c48f851b97c9492e2b152add6237b253dfeea259c75e8089a2c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T05:32:01.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T05:32:01.796Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T05:32:02.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T05:32:02.674Z] + ls -al . [2023-05-05T05:32:02.674Z] total 184 [2023-05-05T05:32:02.674Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 05:31 . [2023-05-05T05:32:02.675Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:30 .. [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 151 May 5 05:30 .dockerignore [2023-05-05T05:32:02.675Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:30 .git [2023-05-05T05:32:02.675Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:30 .github [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 329 May 5 05:30 .gitignore [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 05:30 .golangci.yml [2023-05-05T05:32:02.675Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 05:30 .semver [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 5 05:30 Attribution.txt [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 5 05:30 CHANGELOG.md [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 5 05:30 Dockerfile [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 05:30 GOVERNANCE.md [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 05:30 Jenkinsfile [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 05:30 LICENSE [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 5 05:30 Makefile [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 05:30 OWNERS.md [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 5 05:30 README.md [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:30 VERSION [2023-05-05T05:32:02.675Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:30 bin [2023-05-05T05:32:02.675Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:30 cmd [2023-05-05T05:32:02.675Z] -rw-r--r-- 1 jenkins jenkins 14663 May 5 05:31 coverage.out [2023-05-05T05:32:02.675Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:30 driver [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 5 05:30 go.mod [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 5 05:30 go.sum [2023-05-05T05:32:02.675Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:30 snap [2023-05-05T05:32:02.675Z] -rw-rw-r-- 1 jenkins jenkins 713 May 5 05:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:32:03.062Z] + 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=264b061c12f3f208b1af053f2e55e8abd0ccefd0 --label arch=amd64 --label version=0.0.0 . [2023-05-05T05:32:03.062Z] Sending build context to Docker daemon 10.93MB [2023-05-05T05:32:03.062Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T05:32:03.062Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-05T05:32:03.062Z] ---> 1ac6e4080bea [2023-05-05T05:32:03.062Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-05T05:32:03.062Z] ---> Running in 9ccdc43f6bfc [2023-05-05T05:32:03.321Z] Removing intermediate container 9ccdc43f6bfc [2023-05-05T05:32:03.321Z] ---> 5ddaef94337f [2023-05-05T05:32:03.321Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T05:32:03.321Z] ---> Running in 9e43d03d5620 [2023-05-05T05:32:03.321Z] Removing intermediate container 9e43d03d5620 [2023-05-05T05:32:03.321Z] ---> a9780690d371 [2023-05-05T05:32:03.321Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T05:32:03.321Z] ---> Running in 219cec24f9ef [2023-05-05T05:32:03.321Z] Removing intermediate container 219cec24f9ef [2023-05-05T05:32:03.321Z] ---> 05b819df789b [2023-05-05T05:32:03.321Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T05:32:03.321Z] ---> Running in 759bc7959066 [2023-05-05T05:32:03.581Z] Removing intermediate container 759bc7959066 [2023-05-05T05:32:03.581Z] ---> a122bb5b27b8 [2023-05-05T05:32:03.581Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T05:32:03.581Z] ---> Running in 22ca4140538e [2023-05-05T05:32:03.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T05:32:03.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T05:32:04.098Z] OK: 269 MiB in 57 packages [2023-05-05T05:32:04.357Z] Removing intermediate container 22ca4140538e [2023-05-05T05:32:04.357Z] ---> 69bda7f47618 [2023-05-05T05:32:04.357Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-05T05:32:04.357Z] ---> Running in 620706f52742 [2023-05-05T05:32:04.621Z] Removing intermediate container 620706f52742 [2023-05-05T05:32:04.621Z] ---> 8b2a7ccb46bb [2023-05-05T05:32:04.621Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-05T05:32:04.621Z] ---> 86fe6d2bd645 [2023-05-05T05:32:04.621Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T05:32:04.621Z] ---> Running in 9ebbb69216a7 [2023-05-05T05:32:05.593Z] Removing intermediate container 9ebbb69216a7 [2023-05-05T05:32:05.593Z] ---> bfb4246fadad [2023-05-05T05:32:05.593Z] Step 11/25 : COPY . . [2023-05-05T05:32:05.857Z] ---> 10c6dc0dcaeb [2023-05-05T05:32:05.857Z] Step 12/25 : RUN $MAKE [2023-05-05T05:32:05.857Z] ---> Running in 3c45e567b3b5 [2023-05-05T05:32:06.116Z] 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-05T05:32:24.191Z] Removing intermediate container 3c45e567b3b5 [2023-05-05T05:32:24.191Z] ---> de5fa05524d2 [2023-05-05T05:32:24.191Z] Step 13/25 : FROM alpine:3.17 [2023-05-05T05:32:24.191Z] 3.17: Pulling from library/alpine [2023-05-05T05:32:24.191Z] f56be85fc22e: Already exists [2023-05-05T05:32:24.191Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T05:32:24.191Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T05:32:24.191Z] ---> 9ed4aefc74f6 [2023-05-05T05:32:24.191Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-05T05:32:24.191Z] ---> Running in 72bfac861779 [2023-05-05T05:32:24.191Z] Removing intermediate container 72bfac861779 [2023-05-05T05:32:24.191Z] ---> f1466419d7fe [2023-05-05T05:32:24.191Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-05T05:32:24.191Z] ---> Running in cbd98d4a13ab [2023-05-05T05:32:24.191Z] Removing intermediate container cbd98d4a13ab [2023-05-05T05:32:24.191Z] ---> 438238034225 [2023-05-05T05:32:24.191Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-05T05:32:24.449Z] ---> Running in 6cce6cc470a0 [2023-05-05T05:32:24.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T05:32:24.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T05:32:24.966Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T05:32:24.966Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T05:32:24.966Z] OK: 7 MiB in 16 packages [2023-05-05T05:32:25.533Z] Removing intermediate container 6cce6cc470a0 [2023-05-05T05:32:25.533Z] ---> 0416a99e7620 [2023-05-05T05:32:25.533Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-05T05:32:26.108Z] ---> ee4dd6932805 [2023-05-05T05:32:26.108Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-05T05:32:26.108Z] ---> aeccd50c3896 [2023-05-05T05:32:26.108Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-05T05:32:26.366Z] ---> b6e0ac6fcd0e [2023-05-05T05:32:26.366Z] Step 20/25 : EXPOSE 59986 [2023-05-05T05:32:26.367Z] ---> Running in 9b4c24f50402 [2023-05-05T05:32:26.367Z] Removing intermediate container 9b4c24f50402 [2023-05-05T05:32:26.367Z] ---> edf214e33d86 [2023-05-05T05:32:26.367Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-05T05:32:26.367Z] ---> Running in ff38254af87f [2023-05-05T05:32:26.367Z] Removing intermediate container ff38254af87f [2023-05-05T05:32:26.367Z] ---> cad23b545d49 [2023-05-05T05:32:26.367Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-05T05:32:26.627Z] ---> Running in 7c8d5f67b1f2 [2023-05-05T05:32:26.627Z] Removing intermediate container 7c8d5f67b1f2 [2023-05-05T05:32:26.627Z] ---> 9cdedb1091b6 [2023-05-05T05:32:26.627Z] Step 23/25 : LABEL arch=amd64 [2023-05-05T05:32:26.627Z] ---> Running in c6457ec3d453 [2023-05-05T05:32:26.627Z] Removing intermediate container c6457ec3d453 [2023-05-05T05:32:26.627Z] ---> 485d70a0f512 [2023-05-05T05:32:26.627Z] Step 24/25 : LABEL git_sha=264b061c12f3f208b1af053f2e55e8abd0ccefd0 [2023-05-05T05:32:26.627Z] ---> Running in 890541d5a99e [2023-05-05T05:32:26.888Z] Removing intermediate container 890541d5a99e [2023-05-05T05:32:26.888Z] ---> d653b876fcc1 [2023-05-05T05:32:26.888Z] Step 25/25 : LABEL version=0.0.0 [2023-05-05T05:32:26.888Z] ---> Running in 5937416014da [2023-05-05T05:32:26.888Z] Removing intermediate container 5937416014da [2023-05-05T05:32:26.888Z] ---> 075d369637a2 [2023-05-05T05:32:26.888Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T05:32:26.888Z] Successfully built 075d369637a2 [2023-05-05T05:32:26.888Z] 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-05T05:32:27.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T05:32:27.699Z] [2023-05-05T05:32:27.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:32:28.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T05:32:28.081Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T05:32:28.081Z] 5eb5b503b376: Pulling fs layer [2023-05-05T05:32:28.081Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T05:32:28.081Z] ec43610c2a17: Pulling fs layer [2023-05-05T05:32:28.081Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T05:32:28.081Z] 33b1e0a273af: Pulling fs layer [2023-05-05T05:32:28.081Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T05:32:28.081Z] 2f39f015ded8: Pulling fs layer [2023-05-05T05:32:28.081Z] 3a2ae6a8a46f: Waiting [2023-05-05T05:32:28.081Z] 33b1e0a273af: Waiting [2023-05-05T05:32:28.081Z] 5d3b04190fa2: Waiting [2023-05-05T05:32:28.081Z] 2f39f015ded8: Waiting [2023-05-05T05:32:28.081Z] 5c69ac0246d0: Verifying Checksum [2023-05-05T05:32:28.081Z] 5c69ac0246d0: Download complete [2023-05-05T05:32:28.081Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-05T05:32:28.081Z] 3a2ae6a8a46f: Download complete [2023-05-05T05:32:28.081Z] 33b1e0a273af: Verifying Checksum [2023-05-05T05:32:28.081Z] 33b1e0a273af: Download complete [2023-05-05T05:32:28.081Z] 5d3b04190fa2: Verifying Checksum [2023-05-05T05:32:28.081Z] 5d3b04190fa2: Download complete [2023-05-05T05:32:28.081Z] ec43610c2a17: Verifying Checksum [2023-05-05T05:32:28.081Z] ec43610c2a17: Download complete [2023-05-05T05:32:28.340Z] 5eb5b503b376: Verifying Checksum [2023-05-05T05:32:28.340Z] 5eb5b503b376: Download complete [2023-05-05T05:32:28.908Z] 2f39f015ded8: Download complete [2023-05-05T05:32:29.475Z] 5eb5b503b376: Pull complete [2023-05-05T05:32:29.735Z] 5c69ac0246d0: Pull complete [2023-05-05T05:32:30.305Z] ec43610c2a17: Pull complete [2023-05-05T05:32:30.305Z] 3a2ae6a8a46f: Pull complete [2023-05-05T05:32:30.563Z] 33b1e0a273af: Pull complete [2023-05-05T05:32:30.563Z] 5d3b04190fa2: Pull complete [2023-05-05T05:32:34.763Z] 2f39f015ded8: Pull complete [2023-05-05T05:32:34.763Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T05:32:34.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T05:32:34.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:32:34.971Z] prd-ubuntu20.04-docker-8c-8g-13820 does not seem to be running inside a container [2023-05-05T05:32:35.005Z] $ 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-308 -v /w/workspace/gexfoundry_device-rest-go_PR-308:/w/workspace/gexfoundry_device-rest-go_PR-308:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-308@tmp:/w/workspace/gexfoundry_device-rest-go_PR-308@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-05T05:32:38.124Z] $ docker top 96e7f7e7361bcd0c2c08f57d71a7ca8348bb71a1a3ba604ae5e015e680e097da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:32:38.545Z] ---> job-cost.sh [2023-05-05T05:32:38.546Z] lf-activate-venv: SKIPPING [2023-05-05T05:32:38.546Z] INFO: No Stack... [2023-05-05T05:32:38.805Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T05:32:39.063Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T05:32:39.373Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-308/archives/cost.csv [2023-05-05T05:32:39.373Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T05:32:39.411Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-308-1-stack-cost] [2023-05-05T05:32:39.416Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-308-1-stack-cost] did not exist. Created. [2023-05-05T05:32:39.416Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-308-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T05:32:39.808Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T05:32:39.863Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T05:32:39.887Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-308-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T05:32:39.966Z] $ docker stop --time=1 96e7f7e7361bcd0c2c08f57d71a7ca8348bb71a1a3ba604ae5e015e680e097da [2023-05-05T05:32:41.127Z] $ docker rm -f --volumes 96e7f7e7361bcd0c2c08f57d71a7ca8348bb71a1a3ba604ae5e015e680e097da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T05:34:20.333Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13822 in /w/workspace/gexfoundry_device-rest-go_PR-308 [Pipeline] { [Pipeline] ws [2023-05-05T05:34:20.386Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-05T05:34:20.468Z] The recommended git tool is: git [2023-05-05T05:34:26.604Z] using credential edgex-jenkins-ssh [2023-05-05T05:34:26.621Z] Cloning the remote Git repository [2023-05-05T05:34:26.672Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-05T05:34:26.793Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-05T05:34:26.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-05T05:34:26.968Z] > git --version # timeout=10 [2023-05-05T05:34:26.990Z] > git --version # 'git version 2.25.1' [2023-05-05T05:34:26.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T05:34:27.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T05:34:29.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-05T05:34:29.146Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T05:34:30.196Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-05T05:34:30.245Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-05T05:34:30.246Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T05:34:30.265Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/308/head:refs/remotes/origin/PR-308 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-05T05:34:30.853Z] Merging remotes/origin/main commit 30cba82ac8543dee28be9b53c2ba4ad5f05591fa into PR head commit 1a07bbade9a466f3792e258aa9e84cc16a414ca2 [2023-05-05T05:34:31.196Z] Merge succeeded, producing 415bc2a654f74eada889bd205929c827d67286e9 [2023-05-05T05:34:31.197Z] Checking out Revision 415bc2a654f74eada889bd205929c827d67286e9 (PR-308) [2023-05-05T05:34:30.874Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T05:34:30.974Z] > git checkout -f 1a07bbade9a466f3792e258aa9e84cc16a414ca2 # timeout=10 [2023-05-05T05:34:31.064Z] > git remote # timeout=10 [2023-05-05T05:34:31.085Z] > git config --get remote.origin.url # timeout=10 [2023-05-05T05:34:31.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T05:34:31.120Z] > git merge 30cba82ac8543dee28be9b53c2ba4ad5f05591fa # timeout=10 [2023-05-05T05:34:31.178Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-05T05:34:31.203Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T05:34:31.219Z] > git checkout -f 415bc2a654f74eada889bd205929c827d67286e9 # timeout=10 [2023-05-05T05:34:34.768Z] Commit message: "Merge commit '30cba82ac8543dee28be9b53c2ba4ad5f05591fa' into HEAD" [2023-05-05T05:34:34.768Z] First time build. Skipping changelog. [2023-05-05T05:34:34.830Z] > git --version # timeout=10 [2023-05-05T05:34:34.843Z] > git --version # 'git version 2.25.1' [2023-05-05T05:34:34.861Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T05:34:36.044Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T05:34:36.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T05:34:36.044Z] Dload Upload Total Spent Left Speed [2023-05-05T05:34:36.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-05-05T05:34:36.988Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T05:34:37.360Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-05-05T05:34:37.360Z] [2023-05-05T05:34:37.360Z] { [2023-05-05T05:34:37.360Z] "registry-mirrors": [ [2023-05-05T05:34:37.360Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T05:34:37.360Z] ], [2023-05-05T05:34:37.360Z] "bip": "10.250.0.254/24", [2023-05-05T05:34:37.360Z] "hosts": [ [2023-05-05T05:34:37.360Z] "tcp://0.0.0.0:5555", [2023-05-05T05:34:37.360Z] "unix:///var/run/docker.sock" [2023-05-05T05:34:37.360Z] ], [2023-05-05T05:34:37.360Z] "mtu": 1458, [2023-05-05T05:34:37.360Z] "selinux-enabled": true, [2023-05-05T05:34:37.360Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T05:34:37.360Z] } [Pipeline] sh [2023-05-05T05:34:37.711Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T05:34:38.067Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T05:34:56.436Z] provisioning config files... [2023-05-05T05:34:56.474Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config15450106556822820615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:34:56.891Z] ---> docker-login.sh [2023-05-05T05:34:56.891Z] nexus3.edgexfoundry.org:10001 [2023-05-05T05:34:57.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:34:57.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:34:57.487Z] Configure a credential helper to remove this warning. See [2023-05-05T05:34:57.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:34:57.487Z] [2023-05-05T05:34:57.487Z] Login Succeeded [2023-05-05T05:34:57.487Z] nexus3.edgexfoundry.org:10002 [2023-05-05T05:34:57.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:34:58.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:34:58.029Z] Configure a credential helper to remove this warning. See [2023-05-05T05:34:58.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:34:58.029Z] [2023-05-05T05:34:58.029Z] Login Succeeded [2023-05-05T05:34:58.029Z] nexus3.edgexfoundry.org:10003 [2023-05-05T05:34:58.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:34:58.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:34:58.300Z] Configure a credential helper to remove this warning. See [2023-05-05T05:34:58.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:34:58.300Z] [2023-05-05T05:34:58.300Z] Login Succeeded [2023-05-05T05:34:58.300Z] nexus3.edgexfoundry.org:10004 [2023-05-05T05:34:58.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:34:58.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:34:58.849Z] Configure a credential helper to remove this warning. See [2023-05-05T05:34:58.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:34:58.849Z] [2023-05-05T05:34:58.849Z] Login Succeeded [2023-05-05T05:34:58.849Z] docker.io [2023-05-05T05:34:59.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T05:34:59.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T05:34:59.391Z] Configure a credential helper to remove this warning. See [2023-05-05T05:34:59.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T05:34:59.391Z] [2023-05-05T05:34:59.391Z] Login Succeeded [2023-05-05T05:34:59.391Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T05:34:59.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T05:34:59.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T05:34:59.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T05:34:59.905Z] ========================================================= [2023-05-05T05:34:59.905Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-05T05:34:59.905Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:35:00.401Z] + 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-05T05:35:00.401Z] Sending build context to Docker daemon 139.3kB [2023-05-05T05:35:00.670Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T05:35:00.670Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T05:35:00.950Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-05T05:35:00.950Z] c41833b44d91: Pulling fs layer [2023-05-05T05:35:00.950Z] ed15518f5707: Pulling fs layer [2023-05-05T05:35:00.950Z] feae8fd75edb: Pulling fs layer [2023-05-05T05:35:00.950Z] 242c74f7c9fa: Pulling fs layer [2023-05-05T05:35:00.950Z] 3cdef696dda3: Pulling fs layer [2023-05-05T05:35:00.950Z] 2ced38df9373: Pulling fs layer [2023-05-05T05:35:00.950Z] 58f1dce35555: Pulling fs layer [2023-05-05T05:35:00.950Z] 242c74f7c9fa: Waiting [2023-05-05T05:35:00.950Z] 3cdef696dda3: Waiting [2023-05-05T05:35:00.950Z] 2ced38df9373: Waiting [2023-05-05T05:35:00.950Z] 58f1dce35555: Waiting [2023-05-05T05:35:00.950Z] ed15518f5707: Verifying Checksum [2023-05-05T05:35:00.950Z] ed15518f5707: Download complete [2023-05-05T05:35:00.950Z] 242c74f7c9fa: Verifying Checksum [2023-05-05T05:35:00.950Z] 242c74f7c9fa: Download complete [2023-05-05T05:35:00.950Z] 3cdef696dda3: Verifying Checksum [2023-05-05T05:35:00.950Z] 3cdef696dda3: Download complete [2023-05-05T05:35:00.950Z] c41833b44d91: Verifying Checksum [2023-05-05T05:35:00.950Z] c41833b44d91: Download complete [2023-05-05T05:35:02.385Z] 58f1dce35555: Verifying Checksum [2023-05-05T05:35:02.385Z] 58f1dce35555: Download complete [2023-05-05T05:35:02.991Z] c41833b44d91: Pull complete [2023-05-05T05:35:03.587Z] feae8fd75edb: Verifying Checksum [2023-05-05T05:35:03.587Z] feae8fd75edb: Download complete [2023-05-05T05:35:03.587Z] 2ced38df9373: Verifying Checksum [2023-05-05T05:35:03.587Z] 2ced38df9373: Download complete [2023-05-05T05:35:03.587Z] ed15518f5707: Pull complete [2023-05-05T05:35:15.961Z] feae8fd75edb: Pull complete [2023-05-05T05:35:15.961Z] 242c74f7c9fa: Pull complete [2023-05-05T05:35:16.233Z] 3cdef696dda3: Pull complete [2023-05-05T05:35:22.901Z] 2ced38df9373: Pull complete [2023-05-05T05:35:25.497Z] 58f1dce35555: Pull complete [2023-05-05T05:35:25.765Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-05T05:35:25.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-05T05:35:25.765Z] ---> fadd8f120f05 [2023-05-05T05:35:25.765Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T05:35:27.709Z] ---> Running in 2f131293a9ce [2023-05-05T05:35:27.709Z] Removing intermediate container 2f131293a9ce [2023-05-05T05:35:27.709Z] ---> 212fb85cf300 [2023-05-05T05:35:27.709Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T05:35:27.709Z] ---> Running in 566b39c20ff2 [2023-05-05T05:35:27.979Z] Removing intermediate container 566b39c20ff2 [2023-05-05T05:35:27.979Z] ---> 8dac88ce59cf [2023-05-05T05:35:27.979Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T05:35:28.250Z] ---> Running in 07d617a5c14f [2023-05-05T05:35:28.520Z] Removing intermediate container 07d617a5c14f [2023-05-05T05:35:28.520Z] ---> a00c38c5926a [2023-05-05T05:35:28.520Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T05:35:28.520Z] ---> Running in 32dc0e82fe87 [2023-05-05T05:35:28.789Z] Removing intermediate container 32dc0e82fe87 [2023-05-05T05:35:28.789Z] ---> 7280835913c7 [2023-05-05T05:35:28.789Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T05:35:29.060Z] ---> Running in 8f817cbd1f21 [2023-05-05T05:35:30.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T05:35:30.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T05:35:31.596Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T05:35:31.596Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T05:35:31.596Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T05:35:31.596Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T05:35:31.596Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T05:35:31.870Z] OK: 268 MiB in 57 packages [2023-05-05T05:35:32.839Z] Removing intermediate container 8f817cbd1f21 [2023-05-05T05:35:32.839Z] ---> d935252be1d6 [2023-05-05T05:35:32.839Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-05T05:35:32.839Z] ---> Running in 425d7c7bcae1 [2023-05-05T05:35:33.109Z] Removing intermediate container 425d7c7bcae1 [2023-05-05T05:35:33.109Z] ---> b5a42071c5ed [2023-05-05T05:35:33.109Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T05:35:33.695Z] ---> 996d40ea62d4 [2023-05-05T05:35:33.695Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T05:35:33.695Z] ---> Running in a8e00358c84e [2023-05-05T05:36:41.609Z] Removing intermediate container a8e00358c84e [2023-05-05T05:36:41.609Z] ---> fe5a82007cf0 [2023-05-05T05:36:41.609Z] Step 11/12 : COPY . . [2023-05-05T05:36:41.609Z] ---> fb6ce3bc9b2b [2023-05-05T05:36:41.609Z] Step 12/12 : RUN $MAKE [2023-05-05T05:36:41.609Z] ---> Running in 2b582968b32a [2023-05-05T05:36:41.609Z] noop [2023-05-05T05:36:41.609Z] Removing intermediate container 2b582968b32a [2023-05-05T05:36:41.609Z] ---> de86feac8ea7 [2023-05-05T05:36:41.609Z] Successfully built de86feac8ea7 [2023-05-05T05:36:41.609Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:36:42.079Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T05:36:42.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:36:42.365Z] prd-ubuntu20.04-docker-arm64-4c-16g-13822 does not seem to be running inside a container [2023-05-05T05:36:42.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-05T05:36:43.749Z] $ docker top 74e461dc335528289c210ce215a667d3469e1ad24d7211bf434af6405a9bddc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T05:36:44.652Z] + go version [2023-05-05T05:36:44.652Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-05T05:36:44.689Z] $ docker stop --time=1 74e461dc335528289c210ce215a667d3469e1ad24d7211bf434af6405a9bddc8 [2023-05-05T05:36:48.021Z] $ docker rm -f --volumes 74e461dc335528289c210ce215a667d3469e1ad24d7211bf434af6405a9bddc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:36:48.938Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T05:36:48.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:36:49.188Z] prd-ubuntu20.04-docker-arm64-4c-16g-13822 does not seem to be running inside a container [2023-05-05T05:36:49.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-05T05:36:50.538Z] $ docker top 3ae237a7fe70c422fef62f4ab450a453da695c9269aa41c79127bc1dbb553b28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T05:36:51.426Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-05T05:36:52.140Z] + make test [2023-05-05T05:36:52.140Z] go test ./... -coverprofile=coverage.out ./... [2023-05-05T05:37:31.040Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-05T05:39:37.779Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-05T05:39:39.197Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 32.2% of statements [2023-05-05T05:39:39.782Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-05T05:39:39.782Z] go vet ./... [2023-05-05T05:40:06.471Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T05:40:06.472Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T05:40:06.472Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T05:40:06.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T05:40:06.569Z] $ docker stop --time=1 3ae237a7fe70c422fef62f4ab450a453da695c9269aa41c79127bc1dbb553b28 [2023-05-05T05:40:08.520Z] $ docker rm -f --volumes 3ae237a7fe70c422fef62f4ab450a453da695c9269aa41c79127bc1dbb553b28 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T05:40:09.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T05:40:09.805Z] Warning: overwriting stash ‘coverage-report’ [2023-05-05T05:40:10.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T05:40:10.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T05:40:11.278Z] + ls -al . [2023-05-05T05:40:11.278Z] total 180 [2023-05-05T05:40:11.278Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:36 . [2023-05-05T05:40:11.278Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:34 .. [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 151 May 5 05:34 .dockerignore [2023-05-05T05:40:11.278Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 05:34 .git [2023-05-05T05:40:11.278Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:34 .github [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 329 May 5 05:34 .gitignore [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 05:34 .golangci.yml [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 5 05:34 Attribution.txt [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 5 05:34 CHANGELOG.md [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 5 05:34 Dockerfile [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 05:34 GOVERNANCE.md [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 05:34 Jenkinsfile [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 05:34 LICENSE [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 5 05:34 Makefile [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 05:34 OWNERS.md [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 5 05:34 README.md [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 5 May 5 05:30 VERSION [2023-05-05T05:40:11.278Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:34 bin [2023-05-05T05:40:11.278Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 05:34 cmd [2023-05-05T05:40:11.278Z] -rw-r--r-- 1 jenkins jenkins 14663 May 5 05:39 coverage.out [2023-05-05T05:40:11.278Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 05:34 driver [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 5 05:34 go.mod [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 5 05:34 go.sum [2023-05-05T05:40:11.278Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 05:34 snap [2023-05-05T05:40:11.278Z] -rw-rw-r-- 1 jenkins jenkins 713 May 5 05:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:40:11.703Z] + 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=415bc2a654f74eada889bd205929c827d67286e9 --label arch=arm64 --label version=0.0.0 . [2023-05-05T05:40:11.703Z] Sending build context to Docker daemon 154.6kB [2023-05-05T05:40:11.971Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T05:40:11.971Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-05T05:40:11.971Z] ---> de86feac8ea7 [2023-05-05T05:40:11.971Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-05T05:40:11.971Z] ---> Running in 2c68948dff31 [2023-05-05T05:40:12.239Z] Removing intermediate container 2c68948dff31 [2023-05-05T05:40:12.239Z] ---> 8c6d49a7c680 [2023-05-05T05:40:12.239Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T05:40:12.517Z] ---> Running in 8241038462ad [2023-05-05T05:40:12.785Z] Removing intermediate container 8241038462ad [2023-05-05T05:40:12.785Z] ---> 2c779cab323d [2023-05-05T05:40:12.785Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T05:40:12.785Z] ---> Running in b392ca4b855a [2023-05-05T05:40:13.368Z] Removing intermediate container b392ca4b855a [2023-05-05T05:40:13.369Z] ---> 6671d138cd90 [2023-05-05T05:40:13.369Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T05:40:13.369Z] ---> Running in c6eb04f20ee7 [2023-05-05T05:40:13.636Z] Removing intermediate container c6eb04f20ee7 [2023-05-05T05:40:13.636Z] ---> 827fe97a01bc [2023-05-05T05:40:13.636Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T05:40:13.636Z] ---> Running in de73ab31be32 [2023-05-05T05:40:14.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T05:40:15.184Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T05:40:16.609Z] OK: 268 MiB in 57 packages [2023-05-05T05:40:17.197Z] Removing intermediate container de73ab31be32 [2023-05-05T05:40:17.197Z] ---> 2272fbdb9e2c [2023-05-05T05:40:17.197Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-05T05:40:17.197Z] ---> Running in 186e82f316c9 [2023-05-05T05:40:17.467Z] Removing intermediate container 186e82f316c9 [2023-05-05T05:40:17.467Z] ---> 92c2c24f9ebe [2023-05-05T05:40:17.467Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-05T05:40:18.923Z] ---> 73c25683e395 [2023-05-05T05:40:18.923Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T05:40:19.189Z] ---> Running in 30a88cd0522c [2023-05-05T05:40:21.772Z] Removing intermediate container 30a88cd0522c [2023-05-05T05:40:21.772Z] ---> 8d31b39a4f77 [2023-05-05T05:40:21.772Z] Step 11/25 : COPY . . [2023-05-05T05:40:22.042Z] ---> 81ff9b2b7a7f [2023-05-05T05:40:22.042Z] Step 12/25 : RUN $MAKE [2023-05-05T05:40:22.310Z] ---> Running in 481d81e2eb3b [2023-05-05T05:40:23.286Z] 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-05T05:42:44.998Z] Removing intermediate container 481d81e2eb3b [2023-05-05T05:42:44.998Z] ---> c62a8c21f556 [2023-05-05T05:42:44.998Z] Step 13/25 : FROM alpine:3.17 [2023-05-05T05:42:44.998Z] 3.17: Pulling from library/alpine [2023-05-05T05:42:44.998Z] c41833b44d91: Already exists [2023-05-05T05:42:44.998Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T05:42:44.998Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T05:42:44.998Z] ---> 51e60588ff2c [2023-05-05T05:42:44.998Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-05T05:42:44.998Z] ---> Running in f50746b0361b [2023-05-05T05:42:44.998Z] Removing intermediate container f50746b0361b [2023-05-05T05:42:44.998Z] ---> c090535648b0 [2023-05-05T05:42:44.998Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-05T05:42:44.998Z] ---> Running in f4232360b14d [2023-05-05T05:42:44.998Z] Removing intermediate container f4232360b14d [2023-05-05T05:42:44.998Z] ---> f523d5d2312a [2023-05-05T05:42:44.998Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-05T05:42:44.998Z] ---> Running in e98841b020e4 [2023-05-05T05:42:44.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T05:42:44.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T05:42:44.998Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T05:42:44.998Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T05:42:44.998Z] OK: 8 MiB in 16 packages [2023-05-05T05:42:44.998Z] Removing intermediate container e98841b020e4 [2023-05-05T05:42:44.998Z] ---> c07f356f159d [2023-05-05T05:42:44.998Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-05T05:42:45.648Z] ---> 61bd353494fe [2023-05-05T05:42:45.648Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-05T05:42:46.262Z] ---> 8a3de5d710e1 [2023-05-05T05:42:46.262Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-05T05:42:46.872Z] ---> a3e7312c4b87 [2023-05-05T05:42:46.872Z] Step 20/25 : EXPOSE 59986 [2023-05-05T05:42:46.872Z] ---> Running in 9e45822422bb [2023-05-05T05:42:47.146Z] Removing intermediate container 9e45822422bb [2023-05-05T05:42:47.146Z] ---> 970b0ee4c794 [2023-05-05T05:42:47.146Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-05T05:42:47.146Z] ---> Running in e0eeb52263f9 [2023-05-05T05:42:47.419Z] Removing intermediate container e0eeb52263f9 [2023-05-05T05:42:47.419Z] ---> d27acfbe689b [2023-05-05T05:42:47.419Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-05T05:42:47.692Z] ---> Running in ab3bed15f2ab [2023-05-05T05:42:47.975Z] Removing intermediate container ab3bed15f2ab [2023-05-05T05:42:47.975Z] ---> 7b61932386fb [2023-05-05T05:42:47.975Z] Step 23/25 : LABEL arch=arm64 [2023-05-05T05:42:47.975Z] ---> Running in bc551e8e4bb8 [2023-05-05T05:42:48.250Z] Removing intermediate container bc551e8e4bb8 [2023-05-05T05:42:48.250Z] ---> e9915d13fb1b [2023-05-05T05:42:48.250Z] Step 24/25 : LABEL git_sha=415bc2a654f74eada889bd205929c827d67286e9 [2023-05-05T05:42:48.550Z] ---> Running in c6927530c561 [2023-05-05T05:42:48.838Z] Removing intermediate container c6927530c561 [2023-05-05T05:42:48.838Z] ---> b7fb20fdaba5 [2023-05-05T05:42:48.838Z] Step 25/25 : LABEL version=0.0.0 [2023-05-05T05:42:48.838Z] ---> Running in f39f774fee2e [2023-05-05T05:42:49.111Z] Removing intermediate container f39f774fee2e [2023-05-05T05:42:49.111Z] ---> 377b06943659 [2023-05-05T05:42:49.111Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T05:42:49.111Z] Successfully built 377b06943659 [2023-05-05T05:42:49.111Z] 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-05T05:42:49.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T05:42:49.939Z] [2023-05-05T05:42:49.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:42:50.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T05:42:50.672Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T05:42:50.672Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T05:42:50.672Z] 04944245beec: Pulling fs layer [2023-05-05T05:42:50.672Z] 699f458cf7ca: Pulling fs layer [2023-05-05T05:42:50.672Z] 765212b225bb: Pulling fs layer [2023-05-05T05:42:50.672Z] f23df028b6ca: Pulling fs layer [2023-05-05T05:42:50.672Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T05:42:50.672Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T05:42:50.672Z] 765212b225bb: Waiting [2023-05-05T05:42:50.672Z] f23df028b6ca: Waiting [2023-05-05T05:42:50.672Z] d65c8cfc05b1: Waiting [2023-05-05T05:42:50.672Z] 2437ff75d9bd: Waiting [2023-05-05T05:42:50.672Z] 04944245beec: Verifying Checksum [2023-05-05T05:42:50.672Z] 04944245beec: Download complete [2023-05-05T05:42:50.672Z] 765212b225bb: Verifying Checksum [2023-05-05T05:42:50.672Z] 765212b225bb: Download complete [2023-05-05T05:42:50.672Z] f23df028b6ca: Verifying Checksum [2023-05-05T05:42:50.672Z] f23df028b6ca: Download complete [2023-05-05T05:42:50.942Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T05:42:50.942Z] d65c8cfc05b1: Download complete [2023-05-05T05:42:50.942Z] 699f458cf7ca: Verifying Checksum [2023-05-05T05:42:50.942Z] 699f458cf7ca: Download complete [2023-05-05T05:42:51.533Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T05:42:51.533Z] 8998bd30e6a1: Download complete [2023-05-05T05:42:54.143Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T05:42:54.143Z] 2437ff75d9bd: Download complete [2023-05-05T05:42:56.088Z] 8998bd30e6a1: Pull complete [2023-05-05T05:42:56.673Z] 04944245beec: Pull complete [2023-05-05T05:42:58.089Z] 699f458cf7ca: Pull complete [2023-05-05T05:42:58.089Z] 765212b225bb: Pull complete [2023-05-05T05:42:59.058Z] f23df028b6ca: Pull complete [2023-05-05T05:42:59.330Z] d65c8cfc05b1: Pull complete [2023-05-05T05:43:14.353Z] 2437ff75d9bd: Pull complete [2023-05-05T05:43:14.353Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T05:43:14.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T05:43:14.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:43:14.683Z] prd-ubuntu20.04-docker-arm64-4c-16g-13822 does not seem to be running inside a container [2023-05-05T05:43:14.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-05T05:43:17.664Z] $ docker top d219cca1c1b58d19c2cd3c84422507cc4cf1c06313fcd83a5ff6a018acbf7d8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:43:18.582Z] ---> job-cost.sh [2023-05-05T05:43:18.582Z] lf-activate-venv: SKIPPING [2023-05-05T05:43:18.582Z] INFO: No Stack... [2023-05-05T05:43:18.848Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T05:43:19.805Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T05:43:20.459Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-05-05T05:43:20.459Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T05:43:20.548Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-308-1-stack-cost] [2023-05-05T05:43:20.554Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-308-1-stack-cost] did not exist. Created. [2023-05-05T05:43:20.554Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-308-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T05:43:21.274Z] /w/workspace/device-rest-go/1@tmp/durable-679f07cd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T05:43:21.949Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T05:43:21.981Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T05:43:22.028Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T05:43:22.043Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-308-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T05:43:22.123Z] $ docker stop --time=1 d219cca1c1b58d19c2cd3c84422507cc4cf1c06313fcd83a5ff6a018acbf7d8f [2023-05-05T05:43:23.566Z] $ docker rm -f --volumes d219cca1c1b58d19c2cd3c84422507cc4cf1c06313fcd83a5ff6a018acbf7d8f [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-05T05:43:24.489Z] provisioning config files... [2023-05-05T05:43:24.499Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-308@tmp/config11600069199614321572tmp [Pipeline] { [Pipeline] sh [2023-05-05T05:43:24.828Z] + set +x [2023-05-05T05:43:24.828Z] + curl -s https://codecov.io/bash [2023-05-05T05:43:24.828Z] + bash -s -- [2023-05-05T05:43:24.828Z] [2023-05-05T05:43:24.828Z] _____ _ [2023-05-05T05:43:24.828Z] / ____| | | [2023-05-05T05:43:24.828Z] | | ___ __| | ___ ___ _____ __ [2023-05-05T05:43:24.828Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-05T05:43:24.828Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-05T05:43:24.828Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-05T05:43:24.828Z] Bash-1.0.6 [2023-05-05T05:43:24.828Z] [2023-05-05T05:43:24.828Z] [2023-05-05T05:43:24.828Z] ==> git version 2.25.1 found [2023-05-05T05:43:24.828Z] ==> 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-05T05:43:24.828Z] Release-Date: 2020-01-08 [2023-05-05T05:43:24.828Z] 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-05T05:43:24.828Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-05T05:43:24.828Z] ==> Jenkins CI detected. [2023-05-05T05:43:24.828Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-308 [2023-05-05T05:43:24.828Z] project root: . [2023-05-05T05:43:24.828Z] --> token set from env [2023-05-05T05:43:24.828Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-05T05:43:24.828Z] ==> Running gcov in . (disable via -X gcov) [2023-05-05T05:43:24.828Z] ==> Python coveragepy not found [2023-05-05T05:43:24.828Z] ==> Searching for coverage reports in: [2023-05-05T05:43:24.828Z] + . [2023-05-05T05:43:24.828Z] -> Found 1 reports [2023-05-05T05:43:24.828Z] ==> Detecting git/mercurial file structure [2023-05-05T05:43:24.828Z] ==> Reading reports [2023-05-05T05:43:24.828Z] + ./coverage.out bytes=14663 [2023-05-05T05:43:24.828Z] ==> Appending adjustments [2023-05-05T05:43:24.828Z] https://docs.codecov.io/docs/fixing-reports [2023-05-05T05:43:25.087Z] + Found adjustments [2023-05-05T05:43:25.087Z] ==> Gzipping contents [2023-05-05T05:43:25.087Z] 4.0K /tmp/codecov.ZIpNkq.gz [2023-05-05T05:43:25.087Z] ==> Uploading reports [2023-05-05T05:43:25.087Z] url: https://codecov.io [2023-05-05T05:43:25.087Z] query: branch=PR-308&commit=264b061c12f3f208b1af053f2e55e8abd0ccefd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-308%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=308&job=&cmd_args= [2023-05-05T05:43:25.087Z] -> Pinging Codecov [2023-05-05T05:43:25.087Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-308&commit=264b061c12f3f208b1af053f2e55e8abd0ccefd0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-308%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=308&job=&cmd_args= [2023-05-05T05:43:25.087Z] -> Uploading to [2023-05-05T05:43:25.087Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-05/4E5D53B4F1F92C436F7061BF334D961C/264b061c12f3f208b1af053f2e55e8abd0ccefd0/83fa93de-1a43-48ba-8ff0-398241ae2bf1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T054325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=021efce51e4b53f4637849e0fbd321f8dea7d768d3ce6dba17870d7aa134801a [2023-05-05T05:43:25.087Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T05:43:25.087Z] Dload Upload Total Spent Left Speed [2023-05-05T05:43:25.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12364 --:--:-- --:--:-- --:--:-- 12303 100 2510 0 0 100 2510 0 11839 --:--:-- --:--:-- --:--:-- 11784 [2023-05-05T05:43:25.346Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/264b061c12f3f208b1af053f2e55e8abd0ccefd0 [Pipeline] } [2023-05-05T05:43:25.372Z] 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-05T05:43:26.968Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-308/archives ] [2023-05-05T05:43:26.968Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-308/archives [2023-05-05T05:43:26.968Z] total 16 [2023-05-05T05:43:26.968Z] drwxr-xr-x 3 root root 4096 May 5 05:32 . [2023-05-05T05:43:26.968Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:32 .. [2023-05-05T05:43:26.968Z] drwxr-xr-x 2 root root 4096 May 5 05:32 cost [2023-05-05T05:43:26.968Z] -rw-r--r-- 1 root root 86 May 5 05:32 cost.csv [2023-05-05T05:43:26.968Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-308/archives [2023-05-05T05:43:26.968Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-308/archives [2023-05-05T05:43:26.968Z] total 16 [2023-05-05T05:43:26.968Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 05:32 . [2023-05-05T05:43:26.968Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 05:32 .. [2023-05-05T05:43:26.968Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 05:32 cost [2023-05-05T05:43:26.968Z] -rw-r--r-- 1 jenkins jenkins 86 May 5 05:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:43:27.298Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:43:28.196Z] ---> package-listing.sh [2023-05-05T05:43:28.197Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T05:43:28.197Z] ++ facter osfamily [2023-05-05T05:43:28.457Z] + OS_FAMILY=debian [2023-05-05T05:43:28.457Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-308 [2023-05-05T05:43:28.457Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T05:43:28.457Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T05:43:28.457Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T05:43:28.457Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T05:43:28.457Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-308 ']' [2023-05-05T05:43:28.457Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T05:43:28.457Z] + case "${OS_FAMILY}" in [2023-05-05T05:43:28.457Z] + dpkg -l [2023-05-05T05:43:28.457Z] + grep '^ii' [2023-05-05T05:43:28.457Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T05:43:28.457Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T05:43:28.457Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T05:43:28.457Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-308 ']' [2023-05-05T05:43:28.457Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-308/archives/ [2023-05-05T05:43:28.457Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-308/archives/ [Pipeline] echo [2023-05-05T05:43:28.492Z] 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-308/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-05T05:43:28.780Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T05:43:29.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T05:43:29.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T05:43:29.538Z] prd-ubuntu20.04-docker-8c-8g-13820 does not seem to be running inside a container [2023-05-05T05:43:29.567Z] $ 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-308/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-308 -v /w/workspace/gexfoundry_device-rest-go_PR-308:/w/workspace/gexfoundry_device-rest-go_PR-308:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-308@tmp:/w/workspace/gexfoundry_device-rest-go_PR-308@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-05T05:43:29.787Z] $ docker top 19aa663f383dcee521570e87cd6eeb20757be45257308c3c8f04f4033df3c3dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T05:43:30.172Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T05:43:30.480Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T05:43:30.786Z] + ls /var/log/sa-host [2023-05-05T05:43:30.786Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T05:43:30.922Z] provisioning config files... [2023-05-05T05:43:30.930Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-308@tmp/config148352353772475216tmp [Pipeline] { [Pipeline] echo [2023-05-05T05:43:30.986Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:43:31.292Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T05:43:31.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:43:31.709Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T05:43:31.742Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:43:32.052Z] ---> sudo-logs.sh [2023-05-05T05:43:32.052Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T05:43:32.136Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:43:32.446Z] ---> job-cost.sh [2023-05-05T05:43:32.446Z] lf-activate-venv: SKIPPING [2023-05-05T05:43:32.446Z] DEBUG: total: 0.2199999988079071 [2023-05-05T05:43:32.446Z] INFO: Retrieving Stack Cost... [2023-05-05T05:43:33.014Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T05:43:33.274Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T05:43:33.310Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T05:43:33.622Z] ---> logs-deploy.sh [2023-05-05T05:43:33.622Z] lf-activate-venv: SKIPPING [2023-05-05T05:43:33.622Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-308/1 [2023-05-05T05:43:33.622Z] INFO: archiving workspace using pattern(s): [2023-05-05T05:43:34.561Z] Archives upload complete. [2023-05-05T05:43:34.561Z] INFO: archiving logs to Nexus