Pull request #261 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05+dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f (6fa34498bf642b5c544e778247660ac0115bc5b2) 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-ssh1094820057150998275.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13661203550314310189.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-261/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-261/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7128040203551531455.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-261/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2764329570224065530.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3129616671639912869.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-261/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-261/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12689364224270947368.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8400 in /w/workspace/gexfoundry_device-rest-go_PR-261 [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-261 # 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/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f into PR head commit c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 Merge succeeded, producing c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 Checking out Revision c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 (PR-261) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-06T20:13:10.351Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 # 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 dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-06T20:13:10.530Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-06T20:13:10.629Z] ========================================================= [2023-03-06T20:13:10.629Z] EdgeX Global Pipelines Version Info [2023-03-06T20:13:10.629Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:13:11.731Z] ------------------- [2023-03-06T20:13:11.731Z] stable info: [2023-03-06T20:13:11.731Z] ------------------- [2023-03-06T20:13:11.731Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-06T20:13:11.731Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T20:13:11.731Z] Message: update stable to v1.0.244 [2023-03-06T20:13:11.992Z] ------------------- [2023-03-06T20:13:11.992Z] experimental info: [2023-03-06T20:13:11.992Z] ------------------- [2023-03-06T20:13:11.992Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-06T20:13:11.992Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T20:13:11.992Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-06T20:13:12.332Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-06T20:13:12.375Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-06T20:13:12.419Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-06T20:13:12.462Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-06T20:13:12.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-06T20:13:12.545Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-06T20:13:12.585Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-06T20:13:12.626Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-06T20:13:12.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-06T20:13:12.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-06T20:13:12.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-06T20:13:12.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-06T20:13:12.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-06T20:13:12.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-06T20:13:12.896Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-06T20:13:12.944Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-06T20:13:12.985Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T20:13:13.026Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-06T20:13:13.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-06T20:13:13.103Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-06T20:13:13.139Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-06T20:13:13.181Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-06T20:13:13.223Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-06T20:13:13.261Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-06T20:13:13.302Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-06T20:13:13.341Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-06T20:13:13.382Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-06T20:13:13.423Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-261 [Pipeline] echo [2023-03-06T20:13:13.467Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-261 [Pipeline] echo [2023-03-06T20:13:13.510Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-261 [Pipeline] echo [2023-03-06T20:13:13.549Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [Pipeline] echo [2023-03-06T20:13:13.591Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c92c243 [Pipeline] echo [2023-03-06T20:13:13.629Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T20:13:13.740Z] provisioning config files... [2023-03-06T20:13:13.756Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp/config4774595339939130057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:13:14.099Z] ---> docker-login.sh [2023-03-06T20:13:14.099Z] nexus3.edgexfoundry.org:10001 [2023-03-06T20:13:14.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:14.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:14.364Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:14.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:14.364Z] [2023-03-06T20:13:14.364Z] Login Succeeded [2023-03-06T20:13:14.364Z] nexus3.edgexfoundry.org:10002 [2023-03-06T20:13:14.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:14.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:14.364Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:14.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:14.364Z] [2023-03-06T20:13:14.364Z] Login Succeeded [2023-03-06T20:13:14.364Z] nexus3.edgexfoundry.org:10003 [2023-03-06T20:13:14.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:14.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:14.623Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:14.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:14.623Z] [2023-03-06T20:13:14.623Z] Login Succeeded [2023-03-06T20:13:14.623Z] nexus3.edgexfoundry.org:10004 [2023-03-06T20:13:14.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:14.623Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:14.623Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:14.623Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:14.623Z] [2023-03-06T20:13:14.623Z] Login Succeeded [2023-03-06T20:13:14.623Z] docker.io [2023-03-06T20:13:14.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:15.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:15.143Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:15.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:15.143Z] [2023-03-06T20:13:15.143Z] Login Succeeded [2023-03-06T20:13:15.143Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T20:13:15.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-06T20:13:15.805Z] + git rev-list -1 --merges c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05~1..c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [Pipeline] echo [2023-03-06T20:13:15.874Z] -----------> git rev-list -1 --merges c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05~1..c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [false] [Pipeline] sh [2023-03-06T20:13:16.191Z] + git log --format=format:%s -1 c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [Pipeline] echo [2023-03-06T20:13:16.229Z] ========================================================= [2023-03-06T20:13:16.229Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-06T20:13:16.229Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T20:13:16.677Z] + git log --format=format:%s -1 c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [Pipeline] echo [2023-03-06T20:13:16.708Z] [semverPrep] GIT_COMMIT: c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-06T20:13:16.738Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-06T20:13:17.148Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-06T20:13:17.148Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-06T20:13:17.148Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-06T20:13:17.148Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-06T20:13:17.148Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-06T20:13:17.148Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-06T20:13:17.148Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:13:17.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T20:13:17.568Z] [2023-03-06T20:13:17.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:13:17.944Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T20:13:17.944Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-06T20:13:17.944Z] b85a868b505f: Pulling fs layer [2023-03-06T20:13:17.944Z] e2be974225ed: Pulling fs layer [2023-03-06T20:13:17.944Z] 339a4e72a1f5: Pulling fs layer [2023-03-06T20:13:17.944Z] 988bab9f4d93: Pulling fs layer [2023-03-06T20:13:17.944Z] 1469e6f7b9e6: Pulling fs layer [2023-03-06T20:13:17.944Z] eaf3925da568: Pulling fs layer [2023-03-06T20:13:17.944Z] bab4dde63d76: Pulling fs layer [2023-03-06T20:13:17.944Z] bde34c3a00c8: Pulling fs layer [2023-03-06T20:13:17.944Z] b352a97aabf1: Pulling fs layer [2023-03-06T20:13:17.944Z] 4872d77fe225: Pulling fs layer [2023-03-06T20:13:17.944Z] 5851b861e8e6: Pulling fs layer [2023-03-06T20:13:17.944Z] 988bab9f4d93: Waiting [2023-03-06T20:13:17.944Z] 1469e6f7b9e6: Waiting [2023-03-06T20:13:17.944Z] eaf3925da568: Waiting [2023-03-06T20:13:17.944Z] b352a97aabf1: Waiting [2023-03-06T20:13:17.944Z] 4872d77fe225: Waiting [2023-03-06T20:13:17.944Z] 5851b861e8e6: Waiting [2023-03-06T20:13:17.944Z] bab4dde63d76: Waiting [2023-03-06T20:13:17.944Z] e2be974225ed: Verifying Checksum [2023-03-06T20:13:17.944Z] e2be974225ed: Download complete [2023-03-06T20:13:17.944Z] 988bab9f4d93: Verifying Checksum [2023-03-06T20:13:17.944Z] 988bab9f4d93: Download complete [2023-03-06T20:13:18.205Z] 339a4e72a1f5: Verifying Checksum [2023-03-06T20:13:18.205Z] 339a4e72a1f5: Download complete [2023-03-06T20:13:18.205Z] 1469e6f7b9e6: Verifying Checksum [2023-03-06T20:13:18.205Z] 1469e6f7b9e6: Download complete [2023-03-06T20:13:18.205Z] eaf3925da568: Download complete [2023-03-06T20:13:18.205Z] bde34c3a00c8: Verifying Checksum [2023-03-06T20:13:18.205Z] bde34c3a00c8: Download complete [2023-03-06T20:13:18.205Z] b352a97aabf1: Verifying Checksum [2023-03-06T20:13:18.205Z] b352a97aabf1: Download complete [2023-03-06T20:13:18.205Z] 4872d77fe225: Verifying Checksum [2023-03-06T20:13:18.205Z] 4872d77fe225: Download complete [2023-03-06T20:13:18.205Z] 5851b861e8e6: Download complete [2023-03-06T20:13:18.205Z] b85a868b505f: Verifying Checksum [2023-03-06T20:13:18.205Z] b85a868b505f: Download complete [2023-03-06T20:13:18.463Z] bab4dde63d76: Download complete [2023-03-06T20:13:19.840Z] b85a868b505f: Pull complete [2023-03-06T20:13:19.840Z] e2be974225ed: Pull complete [2023-03-06T20:13:20.098Z] 339a4e72a1f5: Pull complete [2023-03-06T20:13:20.357Z] 988bab9f4d93: Pull complete [2023-03-06T20:13:20.615Z] 1469e6f7b9e6: Pull complete [2023-03-06T20:13:20.615Z] eaf3925da568: Pull complete [2023-03-06T20:13:22.537Z] bab4dde63d76: Pull complete [2023-03-06T20:13:22.537Z] bde34c3a00c8: Pull complete [2023-03-06T20:13:22.796Z] b352a97aabf1: Pull complete [2023-03-06T20:13:22.796Z] 4872d77fe225: Pull complete [2023-03-06T20:13:22.796Z] 5851b861e8e6: Pull complete [2023-03-06T20:13:22.796Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-06T20:13:22.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-06T20:13:22.796Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T20:13:23.015Z] prd-ubuntu20.04-docker-8c-8g-8400 does not seem to be running inside a container [2023-03-06T20:13:23.052Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-261 -v /w/workspace/gexfoundry_device-rest-go_PR-261:/w/workspace/gexfoundry_device-rest-go_PR-261:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-261@tmp:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-06T20:13:25.467Z] $ docker top f45ffbb05e8f70ce68869dd479ad1052ba32b1ce0a128fd9a8ddcf73079264df -eo pid,comm [2023-03-06T20:13:25.519Z] 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-03-06T20:13:25.519Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-06T20:13:25.661Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T20:13:25.661Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T20:13:25.771Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T20:13:25.776Z] $ docker exec f45ffbb05e8f70ce68869dd479ad1052ba32b1ce0a128fd9a8ddcf73079264df ssh-agent [2023-03-06T20:13:25.879Z] SSH_AUTH_SOCK=/tmp/ssh-BbUhXKCN9mW2/agent.33 [2023-03-06T20:13:25.879Z] SSH_AGENT_PID=39 [2023-03-06T20:13:25.886Z] Running ssh-add (command line suppressed) [2023-03-06T20:13:26.003Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-261@tmp/private_key_4893854218762732343.key (/w/workspace/gexfoundry_device-rest-go_PR-261@tmp/private_key_4893854218762732343.key) [2023-03-06T20:13:26.015Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T20:13:26.347Z] + git tag --points-at HEAD [Pipeline] } [2023-03-06T20:13:26.375Z] $ docker exec --env ******** --env ******** f45ffbb05e8f70ce68869dd479ad1052ba32b1ce0a128fd9a8ddcf73079264df ssh-agent -k [2023-03-06T20:13:26.471Z] unset SSH_AUTH_SOCK; [2023-03-06T20:13:26.471Z] unset SSH_AGENT_PID; [2023-03-06T20:13:26.471Z] echo Agent pid 39 killed; [2023-03-06T20:13:26.479Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-06T20:13:26.573Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-06T20:13:26.573Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-06T20:13:26.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-06T20:13:26.702Z] $ docker exec f45ffbb05e8f70ce68869dd479ad1052ba32b1ce0a128fd9a8ddcf73079264df ssh-agent [2023-03-06T20:13:26.810Z] SSH_AUTH_SOCK=/tmp/ssh-3302D9jTdthS/agent.71 [2023-03-06T20:13:26.810Z] SSH_AGENT_PID=77 [2023-03-06T20:13:26.815Z] Running ssh-add (command line suppressed) [2023-03-06T20:13:26.919Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-261@tmp/private_key_10048883500081620498.key (/w/workspace/gexfoundry_device-rest-go_PR-261@tmp/private_key_10048883500081620498.key) [2023-03-06T20:13:26.931Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-06T20:13:27.255Z] + git semver init [2023-03-06T20:13:27.517Z] 2023-03-06 20:13:27,440 [run_init] DEBUG init version:0.0.0 force:False [2023-03-06T20:13:27.517Z] 2023-03-06 20:13:27,441 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-261/.semver [2023-03-06T20:13:27.517Z] 2023-03-06 20:13:27,441 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-261/.semver [2023-03-06T20:13:27.517Z] 2023-03-06 20:13:27,442 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-261/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-261, universal_newlines=False, shell=None, istream=None) [2023-03-06T20:13:28.899Z] 2023-03-06 20:13:28,550 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-261/.git/info/exclude [2023-03-06T20:13:28.899Z] 2023-03-06 20:13:28,550 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-261/.semver/PR-261 with force:False [2023-03-06T20:13:28.899Z] 2023-03-06 20:13:28,550 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-261/.semver/PR-261 [2023-03-06T20:13:28.899Z] 2023-03-06 20:13:28,554 [execute] INFO git cat-file --batch-check [2023-03-06T20:13:28.899Z] 2023-03-06 20:13:28,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-261/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T20:13:28.899Z] 2023-03-06 20:13:28,561 [execute] INFO git cat-file --batch [2023-03-06T20:13:28.899Z] 2023-03-06 20:13:28,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-261/.semver, universal_newlines=False, shell=None, istream=) [2023-03-06T20:13:28.899Z] 2023-03-06 20:13:28,566 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-261/.semver/PR-261 [2023-03-06T20:13:28.899Z] 0.0.0 [Pipeline] } [2023-03-06T20:13:28.927Z] $ docker exec --env ******** --env ******** f45ffbb05e8f70ce68869dd479ad1052ba32b1ce0a128fd9a8ddcf73079264df ssh-agent -k [2023-03-06T20:13:29.019Z] unset SSH_AUTH_SOCK; [2023-03-06T20:13:29.020Z] unset SSH_AGENT_PID; [2023-03-06T20:13:29.020Z] echo Agent pid 77 killed; [2023-03-06T20:13:29.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-06T20:13:29.439Z] + git semver [Pipeline] } [2023-03-06T20:13:30.035Z] $ docker stop --time=1 f45ffbb05e8f70ce68869dd479ad1052ba32b1ce0a128fd9a8ddcf73079264df [2023-03-06T20:13:31.359Z] $ docker rm -f --volumes f45ffbb05e8f70ce68869dd479ad1052ba32b1ce0a128fd9a8ddcf73079264df [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T20:13:31.747Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-06T20:13:32.007Z] Stashed 1 file(s) [Pipeline] echo [2023-03-06T20:13:32.023Z] [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-03-06T20:13:32.616Z] provisioning config files... [2023-03-06T20:13:32.628Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp/config6624281782450377911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:13:32.972Z] ---> docker-login.sh [2023-03-06T20:13:32.972Z] nexus3.edgexfoundry.org:10001 [2023-03-06T20:13:32.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:32.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:32.972Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:32.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:32.972Z] [2023-03-06T20:13:32.972Z] Login Succeeded [2023-03-06T20:13:32.972Z] nexus3.edgexfoundry.org:10002 [2023-03-06T20:13:32.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:32.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:32.972Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:32.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:32.972Z] [2023-03-06T20:13:32.972Z] Login Succeeded [2023-03-06T20:13:32.972Z] nexus3.edgexfoundry.org:10003 [2023-03-06T20:13:33.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:33.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:33.238Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:33.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:33.238Z] [2023-03-06T20:13:33.238Z] Login Succeeded [2023-03-06T20:13:33.238Z] nexus3.edgexfoundry.org:10004 [2023-03-06T20:13:33.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:33.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:33.238Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:33.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:33.238Z] [2023-03-06T20:13:33.238Z] Login Succeeded [2023-03-06T20:13:33.238Z] docker.io [2023-03-06T20:13:33.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:13:33.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:13:33.497Z] Configure a credential helper to remove this warning. See [2023-03-06T20:13:33.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:13:33.497Z] [2023-03-06T20:13:33.497Z] Login Succeeded [2023-03-06T20:13:33.497Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T20:13:33.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-06T20:13:33.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T20:13:33.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T20:13:33.787Z] ========================================================= [2023-03-06T20:13:33.787Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-06T20:13:33.787Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:13:34.250Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-06T20:13:34.250Z] Sending build context to Docker daemon 10.83MB [2023-03-06T20:13:34.250Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T20:13:34.250Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-06T20:13:34.250Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-06T20:13:34.250Z] 213ec9aee27d: Pulling fs layer [2023-03-06T20:13:34.250Z] 4583459ba037: Pulling fs layer [2023-03-06T20:13:34.250Z] 93c1e223e6f2: Pulling fs layer [2023-03-06T20:13:34.250Z] 53926ce57604: Pulling fs layer [2023-03-06T20:13:34.250Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-06T20:13:34.250Z] 22ff95d597cd: Pulling fs layer [2023-03-06T20:13:34.250Z] 12d6caf4c0d1: Pulling fs layer [2023-03-06T20:13:34.250Z] 96b7cbca73a9: Pulling fs layer [2023-03-06T20:13:34.250Z] a7acece74701: Pulling fs layer [2023-03-06T20:13:34.250Z] 22ff95d597cd: Waiting [2023-03-06T20:13:34.250Z] 12d6caf4c0d1: Waiting [2023-03-06T20:13:34.250Z] 96b7cbca73a9: Waiting [2023-03-06T20:13:34.250Z] a7acece74701: Waiting [2023-03-06T20:13:34.250Z] 21b2b0c7a3f4: Waiting [2023-03-06T20:13:34.250Z] 93c1e223e6f2: Verifying Checksum [2023-03-06T20:13:34.250Z] 93c1e223e6f2: Download complete [2023-03-06T20:13:34.250Z] 4583459ba037: Verifying Checksum [2023-03-06T20:13:34.250Z] 4583459ba037: Download complete [2023-03-06T20:13:34.250Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-06T20:13:34.250Z] 21b2b0c7a3f4: Download complete [2023-03-06T20:13:34.511Z] 22ff95d597cd: Download complete [2023-03-06T20:13:34.511Z] 213ec9aee27d: Verifying Checksum [2023-03-06T20:13:34.511Z] 213ec9aee27d: Download complete [2023-03-06T20:13:34.511Z] 12d6caf4c0d1: Download complete [2023-03-06T20:13:34.511Z] 213ec9aee27d: Pull complete [2023-03-06T20:13:34.794Z] 4583459ba037: Pull complete [2023-03-06T20:13:34.794Z] 93c1e223e6f2: Pull complete [2023-03-06T20:13:35.077Z] a7acece74701: Verifying Checksum [2023-03-06T20:13:35.077Z] a7acece74701: Download complete [2023-03-06T20:13:35.341Z] 96b7cbca73a9: Verifying Checksum [2023-03-06T20:13:35.341Z] 96b7cbca73a9: Download complete [2023-03-06T20:13:35.341Z] 53926ce57604: Download complete [2023-03-06T20:13:39.545Z] 53926ce57604: Pull complete [2023-03-06T20:13:39.545Z] 21b2b0c7a3f4: Pull complete [2023-03-06T20:13:39.545Z] 22ff95d597cd: Pull complete [2023-03-06T20:13:39.545Z] 12d6caf4c0d1: Pull complete [2023-03-06T20:13:42.072Z] 96b7cbca73a9: Pull complete [2023-03-06T20:13:42.340Z] a7acece74701: Pull complete [2023-03-06T20:13:42.340Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-06T20:13:42.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-06T20:13:42.340Z] ---> db6d94c90886 [2023-03-06T20:13:42.340Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-06T20:13:46.531Z] ---> Running in ee9813dbf9cf [2023-03-06T20:13:46.531Z] Removing intermediate container ee9813dbf9cf [2023-03-06T20:13:46.531Z] ---> a3387b933451 [2023-03-06T20:13:46.531Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-06T20:13:46.531Z] ---> Running in 5ba03cdefe7c [2023-03-06T20:13:46.791Z] Removing intermediate container 5ba03cdefe7c [2023-03-06T20:13:46.791Z] ---> 0293475e2b9c [2023-03-06T20:13:46.791Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-06T20:13:46.791Z] ---> Running in c24ab94b75cd [2023-03-06T20:13:46.791Z] Removing intermediate container c24ab94b75cd [2023-03-06T20:13:46.791Z] ---> 2ba24f056f1e [2023-03-06T20:13:46.791Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-06T20:13:46.791Z] ---> Running in 0adcac55dcf4 [2023-03-06T20:13:47.049Z] Removing intermediate container 0adcac55dcf4 [2023-03-06T20:13:47.049Z] ---> d870b80d74dd [2023-03-06T20:13:47.049Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-06T20:13:47.049Z] ---> Running in e19bf66aaf2e [2023-03-06T20:13:47.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T20:13:47.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T20:13:47.441Z] Still waiting to schedule task [2023-03-06T20:13:47.442Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-06T20:13:47.569Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-06T20:13:47.827Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-06T20:13:47.827Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-06T20:13:47.827Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-06T20:13:47.827Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T20:13:47.827Z] OK: 216 MiB in 55 packages [2023-03-06T20:13:48.085Z] Removing intermediate container e19bf66aaf2e [2023-03-06T20:13:48.085Z] ---> 3dbde8cb66c9 [2023-03-06T20:13:48.085Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-06T20:13:48.343Z] ---> Running in 85caf8294b77 [2023-03-06T20:13:48.343Z] Removing intermediate container 85caf8294b77 [2023-03-06T20:13:48.343Z] ---> 1b990b901a4b [2023-03-06T20:13:48.343Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-06T20:13:48.343Z] ---> d1d0191c6805 [2023-03-06T20:13:48.343Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T20:13:48.343Z] ---> Running in b13bf70255d1 [2023-03-06T20:14:35.017Z] Removing intermediate container b13bf70255d1 [2023-03-06T20:14:35.017Z] ---> b33bd379f2ac [2023-03-06T20:14:35.017Z] Step 11/12 : COPY . . [2023-03-06T20:14:35.017Z] ---> e30b704789ed [2023-03-06T20:14:35.017Z] Step 12/12 : RUN $MAKE [2023-03-06T20:14:35.017Z] ---> Running in 16413ef30fb4 [2023-03-06T20:14:35.017Z] noop [2023-03-06T20:14:35.017Z] Removing intermediate container 16413ef30fb4 [2023-03-06T20:14:35.017Z] ---> 6c1148101420 [2023-03-06T20:14:35.017Z] Successfully built 6c1148101420 [2023-03-06T20:14:35.017Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:14:35.436Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T20:14:35.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T20:14:35.575Z] prd-ubuntu20.04-docker-8c-8g-8400 does not seem to be running inside a container [2023-03-06T20:14:35.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-261 -v /w/workspace/gexfoundry_device-rest-go_PR-261:/w/workspace/gexfoundry_device-rest-go_PR-261:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-261@tmp:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-06T20:14:35.951Z] $ docker top b9cc7d1c944c165f8c19a1ded6aac6650cd4cbcb78569bb1b078b6696b17e834 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T20:14:36.339Z] + go version [2023-03-06T20:14:36.339Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-06T20:14:36.370Z] $ docker stop --time=1 b9cc7d1c944c165f8c19a1ded6aac6650cd4cbcb78569bb1b078b6696b17e834 [2023-03-06T20:14:37.652Z] $ docker rm -f --volumes b9cc7d1c944c165f8c19a1ded6aac6650cd4cbcb78569bb1b078b6696b17e834 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:14:38.347Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-06T20:14:38.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T20:14:38.502Z] prd-ubuntu20.04-docker-8c-8g-8400 does not seem to be running inside a container [2023-03-06T20:14:38.532Z] $ 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-261 -v /w/workspace/gexfoundry_device-rest-go_PR-261:/w/workspace/gexfoundry_device-rest-go_PR-261:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-261@tmp:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-06T20:14:38.857Z] $ docker top 1cf9201d556e35fe404ba1469b6b116facaab975542f052d1dd5987d8ddd9e9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T20:14:39.256Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-261 [Pipeline] fileExists [Pipeline] sh [2023-03-06T20:14:39.615Z] + make test [2023-03-06T20:14:39.615Z] go test ./... -coverprofile=coverage.out ./... [2023-03-06T20:14:40.183Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-06T20:14:50.144Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-06T20:14:50.144Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.9% of statements [2023-03-06T20:14:58.253Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-06T20:14:58.253Z] go vet ./... [2023-03-06T20:15:00.784Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-06T20:15:00.784Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-06T20:15:00.784Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-06T20:15:00.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-06T20:15:00.865Z] $ docker stop --time=1 1cf9201d556e35fe404ba1469b6b116facaab975542f052d1dd5987d8ddd9e9c [2023-03-06T20:15:02.905Z] $ docker rm -f --volumes 1cf9201d556e35fe404ba1469b6b116facaab975542f052d1dd5987d8ddd9e9c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T20:15:03.518Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-06T20:15:03.618Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-06T20:15:04.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-06T20:15:04.653Z] + ls -al . [2023-03-06T20:15:04.653Z] total 184 [2023-03-06T20:15:04.653Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 6 20:14 . [2023-03-06T20:15:04.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 20:13 .. [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 6 20:13 .dockerignore [2023-03-06T20:15:04.653Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 20:14 .git [2023-03-06T20:15:04.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 20:13 .github [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 6 20:13 .gitignore [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 6 20:13 .golangci.yml [2023-03-06T20:15:04.653Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 20:13 .semver [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 9213 Mar 6 20:13 Attribution.txt [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 6 20:13 CHANGELOG.md [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 6 20:13 Dockerfile [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 20:13 GOVERNANCE.md [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 6 20:13 Jenkinsfile [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 6 20:13 LICENSE [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 1744 Mar 6 20:13 Makefile [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 6 20:13 OWNERS.md [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 6 20:13 README.md [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 20:13 VERSION [2023-03-06T20:15:04.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 20:13 bin [2023-03-06T20:15:04.653Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 20:13 cmd [2023-03-06T20:15:04.653Z] -rw-r--r-- 1 jenkins jenkins 13744 Mar 6 20:14 coverage.out [2023-03-06T20:15:04.653Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 20:13 driver [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 3401 Mar 6 20:13 go.mod [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 31300 Mar 6 20:13 go.sum [2023-03-06T20:15:04.653Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 20:13 snap [2023-03-06T20:15:04.653Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 6 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:15:05.037Z] + 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=c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 --label arch=amd64 --label version=0.0.0 . [2023-03-06T20:15:05.037Z] Sending build context to Docker daemon 10.85MB [2023-03-06T20:15:05.037Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T20:15:05.037Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-06T20:15:05.037Z] ---> 6c1148101420 [2023-03-06T20:15:05.037Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-06T20:15:05.296Z] ---> Running in 8a30fffa6912 [2023-03-06T20:15:05.296Z] Removing intermediate container 8a30fffa6912 [2023-03-06T20:15:05.296Z] ---> b4ecd713cd4b [2023-03-06T20:15:05.296Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-06T20:15:05.296Z] ---> Running in 4b1e37f957ac [2023-03-06T20:15:05.296Z] Removing intermediate container 4b1e37f957ac [2023-03-06T20:15:05.296Z] ---> d0370819b0b1 [2023-03-06T20:15:05.296Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-06T20:15:05.296Z] ---> Running in f0ad2fda6509 [2023-03-06T20:15:05.556Z] Removing intermediate container f0ad2fda6509 [2023-03-06T20:15:05.556Z] ---> c31de6572acf [2023-03-06T20:15:05.556Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-06T20:15:05.556Z] ---> Running in 42289387c3bb [2023-03-06T20:15:05.556Z] Removing intermediate container 42289387c3bb [2023-03-06T20:15:05.556Z] ---> e7fbeabecf9f [2023-03-06T20:15:05.556Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-06T20:15:05.556Z] ---> Running in 2ac353d2fa6a [2023-03-06T20:15:05.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T20:15:06.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T20:15:06.338Z] OK: 216 MiB in 55 packages [2023-03-06T20:15:06.597Z] Removing intermediate container 2ac353d2fa6a [2023-03-06T20:15:06.597Z] ---> 33de06c3a543 [2023-03-06T20:15:06.597Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-06T20:15:06.597Z] ---> Running in e13b85bb1b41 [2023-03-06T20:15:06.597Z] Removing intermediate container e13b85bb1b41 [2023-03-06T20:15:06.597Z] ---> c0adcf800d45 [2023-03-06T20:15:06.597Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-06T20:15:06.855Z] ---> 07048b87ba0f [2023-03-06T20:15:06.855Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T20:15:06.855Z] ---> Running in 750f731702bb [2023-03-06T20:15:07.848Z] Removing intermediate container 750f731702bb [2023-03-06T20:15:07.848Z] ---> b09fbccaff65 [2023-03-06T20:15:07.848Z] Step 11/25 : COPY . . [2023-03-06T20:15:08.108Z] ---> 89f62080c336 [2023-03-06T20:15:08.108Z] Step 12/25 : RUN $MAKE [2023-03-06T20:15:08.108Z] ---> Running in 3279a228031a [2023-03-06T20:15:08.368Z] 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-03-06T20:15:30.291Z] Removing intermediate container 3279a228031a [2023-03-06T20:15:30.291Z] ---> 0fc634d409e9 [2023-03-06T20:15:30.291Z] Step 13/25 : FROM alpine:3.16 [2023-03-06T20:15:30.291Z] 3.16: Pulling from library/alpine [2023-03-06T20:15:30.291Z] ef5531b6e74e: Pulling fs layer [2023-03-06T20:15:30.291Z] ef5531b6e74e: Verifying Checksum [2023-03-06T20:15:30.291Z] ef5531b6e74e: Download complete [2023-03-06T20:15:30.291Z] ef5531b6e74e: Pull complete [2023-03-06T20:15:30.291Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-06T20:15:30.291Z] Status: Downloaded newer image for alpine:3.16 [2023-03-06T20:15:30.291Z] ---> dfd21b5a31f5 [2023-03-06T20:15:30.291Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-06T20:15:30.291Z] ---> Running in f8edd49cf331 [2023-03-06T20:15:30.291Z] Removing intermediate container f8edd49cf331 [2023-03-06T20:15:30.291Z] ---> 26f05d386a3b [2023-03-06T20:15:30.291Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-06T20:15:30.291Z] ---> Running in 1f1932367b85 [2023-03-06T20:15:30.291Z] Removing intermediate container 1f1932367b85 [2023-03-06T20:15:30.291Z] ---> f65759732e69 [2023-03-06T20:15:30.291Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-06T20:15:30.291Z] ---> Running in c966ce29e1c6 [2023-03-06T20:15:30.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-06T20:15:30.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-06T20:15:30.291Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-06T20:15:30.291Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T20:15:30.291Z] OK: 6 MiB in 15 packages [2023-03-06T20:15:30.291Z] Removing intermediate container c966ce29e1c6 [2023-03-06T20:15:30.291Z] ---> b631820ab762 [2023-03-06T20:15:30.291Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-06T20:15:30.860Z] ---> 9a3c13a5f0e0 [2023-03-06T20:15:30.860Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-06T20:15:31.118Z] ---> cd932035fd18 [2023-03-06T20:15:31.118Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-06T20:15:31.118Z] ---> af6b78fe1658 [2023-03-06T20:15:31.118Z] Step 20/25 : EXPOSE 59986 [2023-03-06T20:15:31.118Z] ---> Running in a3a75216302e [2023-03-06T20:15:31.377Z] Removing intermediate container a3a75216302e [2023-03-06T20:15:31.377Z] ---> 8b7e557ffeca [2023-03-06T20:15:31.377Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-06T20:15:31.377Z] ---> Running in 0b36cd6f155f [2023-03-06T20:15:31.377Z] Removing intermediate container 0b36cd6f155f [2023-03-06T20:15:31.377Z] ---> 997ab4378b94 [2023-03-06T20:15:31.377Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-06T20:15:31.377Z] ---> Running in 336b227b251e [2023-03-06T20:15:31.641Z] Removing intermediate container 336b227b251e [2023-03-06T20:15:31.641Z] ---> c59afbe02335 [2023-03-06T20:15:31.641Z] Step 23/25 : LABEL arch=amd64 [2023-03-06T20:15:31.641Z] ---> Running in 1f9eda3eb450 [2023-03-06T20:15:31.641Z] Removing intermediate container 1f9eda3eb450 [2023-03-06T20:15:31.641Z] ---> 3edcda5142bf [2023-03-06T20:15:31.641Z] Step 24/25 : LABEL git_sha=c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [2023-03-06T20:15:31.641Z] ---> Running in 50576b894272 [2023-03-06T20:15:31.901Z] Removing intermediate container 50576b894272 [2023-03-06T20:15:31.901Z] ---> 27578a82c66c [2023-03-06T20:15:31.901Z] Step 25/25 : LABEL version=0.0.0 [2023-03-06T20:15:31.901Z] ---> Running in 1c37c9091359 [2023-03-06T20:15:31.901Z] Removing intermediate container 1c37c9091359 [2023-03-06T20:15:31.901Z] ---> 17301f41dd6c [2023-03-06T20:15:31.901Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-06T20:15:31.901Z] Successfully built 17301f41dd6c [2023-03-06T20:15:31.901Z] 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-03-06T20:15:32.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T20:15:32.756Z] [2023-03-06T20:15:32.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:15:33.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T20:15:33.136Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-06T20:15:33.136Z] 5eb5b503b376: Pulling fs layer [2023-03-06T20:15:33.136Z] 5c69ac0246d0: Pulling fs layer [2023-03-06T20:15:33.136Z] ec43610c2a17: Pulling fs layer [2023-03-06T20:15:33.136Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-06T20:15:33.136Z] 33b1e0a273af: Pulling fs layer [2023-03-06T20:15:33.136Z] 5d3b04190fa2: Pulling fs layer [2023-03-06T20:15:33.136Z] 2f39f015ded8: Pulling fs layer [2023-03-06T20:15:33.136Z] 33b1e0a273af: Waiting [2023-03-06T20:15:33.136Z] 2f39f015ded8: Waiting [2023-03-06T20:15:33.136Z] 5d3b04190fa2: Waiting [2023-03-06T20:15:33.136Z] 5c69ac0246d0: Verifying Checksum [2023-03-06T20:15:33.136Z] 5c69ac0246d0: Download complete [2023-03-06T20:15:33.136Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-06T20:15:33.136Z] 3a2ae6a8a46f: Download complete [2023-03-06T20:15:33.397Z] 33b1e0a273af: Verifying Checksum [2023-03-06T20:15:33.397Z] 33b1e0a273af: Download complete [2023-03-06T20:15:33.397Z] 5d3b04190fa2: Download complete [2023-03-06T20:15:33.397Z] ec43610c2a17: Verifying Checksum [2023-03-06T20:15:33.397Z] ec43610c2a17: Download complete [2023-03-06T20:15:33.397Z] 5eb5b503b376: Verifying Checksum [2023-03-06T20:15:33.397Z] 5eb5b503b376: Download complete [2023-03-06T20:15:34.332Z] 2f39f015ded8: Verifying Checksum [2023-03-06T20:15:34.332Z] 2f39f015ded8: Download complete [2023-03-06T20:15:34.592Z] 5eb5b503b376: Pull complete [2023-03-06T20:15:34.851Z] 5c69ac0246d0: Pull complete [2023-03-06T20:15:35.419Z] ec43610c2a17: Pull complete [2023-03-06T20:15:35.419Z] 3a2ae6a8a46f: Pull complete [2023-03-06T20:15:35.987Z] 33b1e0a273af: Pull complete [2023-03-06T20:15:35.987Z] 5d3b04190fa2: Pull complete [2023-03-06T20:15:41.252Z] 2f39f015ded8: Pull complete [2023-03-06T20:15:41.252Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-06T20:15:41.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T20:15:41.252Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T20:15:41.469Z] prd-ubuntu20.04-docker-8c-8g-8400 does not seem to be running inside a container [2023-03-06T20:15:41.500Z] $ 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-261 -v /w/workspace/gexfoundry_device-rest-go_PR-261:/w/workspace/gexfoundry_device-rest-go_PR-261:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-261@tmp:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-06T20:15:44.181Z] $ docker top b173cb476cbfdf9326a186cbbef28c70bffd20ca77c9275485de1425a356f1e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:15:44.627Z] ---> job-cost.sh [2023-03-06T20:15:44.628Z] lf-activate-venv: SKIPPING [2023-03-06T20:15:44.628Z] INFO: No Stack... [2023-03-06T20:15:44.887Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T20:15:45.146Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T20:15:45.537Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-261/archives/cost.csv [2023-03-06T20:15:45.538Z] + cut -d, -f6 [Pipeline] lock [2023-03-06T20:15:45.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-261-1-stack-cost] [2023-03-06T20:15:45.582Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-261-1-stack-cost] did not exist. Created. [2023-03-06T20:15:45.583Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-261-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T20:15:45.967Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-06T20:15:46.020Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T20:15:46.047Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-261-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T20:15:46.121Z] $ docker stop --time=1 b173cb476cbfdf9326a186cbbef28c70bffd20ca77c9275485de1425a356f1e3 [2023-03-06T20:15:47.279Z] $ docker rm -f --volumes b173cb476cbfdf9326a186cbbef28c70bffd20ca77c9275485de1425a356f1e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-06T20:16:27.006Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8402 in /w/workspace/gexfoundry_device-rest-go_PR-261 [Pipeline] { [Pipeline] ws [2023-03-06T20:16:27.065Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-03-06T20:16:27.153Z] The recommended git tool is: git [2023-03-06T20:16:33.700Z] using credential edgex-jenkins-ssh [2023-03-06T20:16:33.736Z] Cloning the remote Git repository [2023-03-06T20:16:33.795Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-06T20:16:33.889Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-03-06T20:16:34.068Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-06T20:16:34.069Z] > git --version # timeout=10 [2023-03-06T20:16:34.094Z] > git --version # 'git version 2.25.1' [2023-03-06T20:16:34.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T20:16:34.176Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T20:16:36.217Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-06T20:16:36.243Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-06T20:16:37.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-06T20:16:37.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-06T20:16:37.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T20:16:37.290Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/261/head:refs/remotes/origin/PR-261 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-06T20:16:37.868Z] Merging remotes/origin/main commit dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f into PR head commit c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [2023-03-06T20:16:38.157Z] Merge succeeded, producing c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [2023-03-06T20:16:38.157Z] Checking out Revision c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 (PR-261) [2023-03-06T20:16:38.698Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-06T20:16:38.754Z] > git --version # timeout=10 [2023-03-06T20:16:38.767Z] > git --version # 'git version 2.25.1' [2023-03-06T20:16:38.791Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-06T20:16:37.894Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T20:16:37.919Z] > git checkout -f c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 # timeout=10 [2023-03-06T20:16:38.016Z] > git remote # timeout=10 [2023-03-06T20:16:38.041Z] > git config --get remote.origin.url # timeout=10 [2023-03-06T20:16:38.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-06T20:16:38.089Z] > git merge dbeda5755fdc8ca63a40d62c0e74fa2a67a2237f # timeout=10 [2023-03-06T20:16:38.125Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-06T20:16:38.166Z] > git config core.sparsecheckout # timeout=10 [2023-03-06T20:16:38.192Z] > git checkout -f c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T20:16:40.023Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-06T20:16:40.023Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-06T20:16:40.023Z] Dload Upload Total Spent Left Speed [2023-03-06T20:16:40.023Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 80194 [Pipeline] sh [2023-03-06T20:16:40.669Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-06T20:16:41.027Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-06T20:16:41.027Z] + sudo tee /etc/docker/daemon.new [2023-03-06T20:16:41.027Z] { [2023-03-06T20:16:41.027Z] "registry-mirrors": [ [2023-03-06T20:16:41.028Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-06T20:16:41.028Z] ], [2023-03-06T20:16:41.028Z] "bip": "10.250.0.254/24", [2023-03-06T20:16:41.028Z] "hosts": [ [2023-03-06T20:16:41.028Z] "tcp://0.0.0.0:5555", [2023-03-06T20:16:41.028Z] "unix:///var/run/docker.sock" [2023-03-06T20:16:41.028Z] ], [2023-03-06T20:16:41.028Z] "mtu": 1458, [2023-03-06T20:16:41.028Z] "selinux-enabled": true, [2023-03-06T20:16:41.028Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-06T20:16:41.028Z] } [Pipeline] sh [2023-03-06T20:16:41.384Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-06T20:16:41.745Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T20:17:00.117Z] provisioning config files... [2023-03-06T20:17:00.151Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config12068211456477660445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:17:00.550Z] ---> docker-login.sh [2023-03-06T20:17:00.550Z] nexus3.edgexfoundry.org:10001 [2023-03-06T20:17:01.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:17:01.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:17:01.144Z] Configure a credential helper to remove this warning. See [2023-03-06T20:17:01.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:17:01.144Z] [2023-03-06T20:17:01.144Z] Login Succeeded [2023-03-06T20:17:01.144Z] nexus3.edgexfoundry.org:10002 [2023-03-06T20:17:01.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:17:01.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:17:01.701Z] Configure a credential helper to remove this warning. See [2023-03-06T20:17:01.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:17:01.701Z] [2023-03-06T20:17:01.701Z] Login Succeeded [2023-03-06T20:17:01.701Z] nexus3.edgexfoundry.org:10003 [2023-03-06T20:17:01.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:17:01.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:17:01.973Z] Configure a credential helper to remove this warning. See [2023-03-06T20:17:01.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:17:01.973Z] [2023-03-06T20:17:01.973Z] Login Succeeded [2023-03-06T20:17:01.973Z] nexus3.edgexfoundry.org:10004 [2023-03-06T20:17:02.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:17:02.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:17:02.518Z] Configure a credential helper to remove this warning. See [2023-03-06T20:17:02.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:17:02.518Z] [2023-03-06T20:17:02.518Z] Login Succeeded [2023-03-06T20:17:02.518Z] docker.io [2023-03-06T20:17:02.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-06T20:17:03.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-06T20:17:03.058Z] Configure a credential helper to remove this warning. See [2023-03-06T20:17:03.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-06T20:17:03.058Z] [2023-03-06T20:17:03.058Z] Login Succeeded [2023-03-06T20:17:03.058Z] ---> docker-login.sh ends [Pipeline] } [2023-03-06T20:17:03.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-06T20:17:03.508Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T20:17:03.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-06T20:17:03.584Z] ========================================================= [2023-03-06T20:17:03.584Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-06T20:17:03.584Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:17:04.098Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-06T20:17:06.712Z] Sending build context to Docker daemon 138.8kB [2023-03-06T20:17:06.712Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T20:17:06.712Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-06T20:17:06.712Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-06T20:17:06.712Z] 9b18e9b68314: Pulling fs layer [2023-03-06T20:17:06.712Z] 35d82f9e3411: Pulling fs layer [2023-03-06T20:17:06.712Z] e16973657156: Pulling fs layer [2023-03-06T20:17:06.712Z] fc693d55d65f: Pulling fs layer [2023-03-06T20:17:06.712Z] 7e9fc2657dce: Pulling fs layer [2023-03-06T20:17:06.712Z] dda99020689f: Pulling fs layer [2023-03-06T20:17:06.712Z] db1c61fa0a46: Pulling fs layer [2023-03-06T20:17:06.712Z] 891c053d2c06: Pulling fs layer [2023-03-06T20:17:06.712Z] fc693d55d65f: Waiting [2023-03-06T20:17:06.712Z] 7e9fc2657dce: Waiting [2023-03-06T20:17:06.712Z] dda99020689f: Waiting [2023-03-06T20:17:06.712Z] db1c61fa0a46: Waiting [2023-03-06T20:17:06.712Z] 891c053d2c06: Waiting [2023-03-06T20:17:06.712Z] e16973657156: Verifying Checksum [2023-03-06T20:17:06.712Z] e16973657156: Download complete [2023-03-06T20:17:06.712Z] 35d82f9e3411: Download complete [2023-03-06T20:17:06.712Z] 7e9fc2657dce: Verifying Checksum [2023-03-06T20:17:06.712Z] 7e9fc2657dce: Download complete [2023-03-06T20:17:06.712Z] dda99020689f: Verifying Checksum [2023-03-06T20:17:06.712Z] dda99020689f: Download complete [2023-03-06T20:17:06.712Z] 9b18e9b68314: Verifying Checksum [2023-03-06T20:17:06.712Z] 9b18e9b68314: Download complete [2023-03-06T20:17:07.692Z] 9b18e9b68314: Pull complete [2023-03-06T20:17:07.964Z] 891c053d2c06: Verifying Checksum [2023-03-06T20:17:07.964Z] 891c053d2c06: Download complete [2023-03-06T20:17:08.244Z] 35d82f9e3411: Pull complete [2023-03-06T20:17:08.515Z] e16973657156: Pull complete [2023-03-06T20:17:09.512Z] db1c61fa0a46: Verifying Checksum [2023-03-06T20:17:09.513Z] db1c61fa0a46: Download complete [2023-03-06T20:17:09.783Z] fc693d55d65f: Download complete [2023-03-06T20:17:22.131Z] fc693d55d65f: Pull complete [2023-03-06T20:17:22.131Z] 7e9fc2657dce: Pull complete [2023-03-06T20:17:22.131Z] dda99020689f: Pull complete [2023-03-06T20:17:27.622Z] db1c61fa0a46: Pull complete [2023-03-06T20:17:29.569Z] 891c053d2c06: Pull complete [2023-03-06T20:17:29.569Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-06T20:17:29.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-06T20:17:29.569Z] ---> f96f9c87975a [2023-03-06T20:17:29.569Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-06T20:17:30.534Z] ---> Running in b5a9af6c3a24 [2023-03-06T20:17:30.534Z] Removing intermediate container b5a9af6c3a24 [2023-03-06T20:17:30.534Z] ---> 84f52346d26e [2023-03-06T20:17:30.534Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-06T20:17:30.802Z] ---> Running in 4c01d0132cf7 [2023-03-06T20:17:31.087Z] Removing intermediate container 4c01d0132cf7 [2023-03-06T20:17:31.087Z] ---> cf22e0212c89 [2023-03-06T20:17:31.087Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-06T20:17:31.087Z] ---> Running in 4526100fe6ca [2023-03-06T20:17:31.674Z] Removing intermediate container 4526100fe6ca [2023-03-06T20:17:31.674Z] ---> f09d78801fe1 [2023-03-06T20:17:31.674Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-06T20:17:31.674Z] ---> Running in 4e58950f1f14 [2023-03-06T20:17:31.955Z] Removing intermediate container 4e58950f1f14 [2023-03-06T20:17:31.955Z] ---> 9849a183ac91 [2023-03-06T20:17:31.956Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-06T20:17:31.956Z] ---> Running in 24f8114f4cbc [2023-03-06T20:17:33.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T20:17:33.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T20:17:35.074Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-03-06T20:17:35.074Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-03-06T20:17:35.074Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-03-06T20:17:35.074Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-03-06T20:17:35.074Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T20:17:35.074Z] OK: 226 MiB in 55 packages [2023-03-06T20:17:36.041Z] Removing intermediate container 24f8114f4cbc [2023-03-06T20:17:36.041Z] ---> 5dd456f40b18 [2023-03-06T20:17:36.041Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-06T20:17:36.041Z] ---> Running in 336f4e726a4b [2023-03-06T20:17:36.629Z] Removing intermediate container 336f4e726a4b [2023-03-06T20:17:36.629Z] ---> aa862b02c437 [2023-03-06T20:17:36.629Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-06T20:17:36.898Z] ---> 24a8dae4e038 [2023-03-06T20:17:36.898Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T20:17:37.180Z] ---> Running in f62276c7cb4c [2023-03-06T20:18:45.109Z] Removing intermediate container f62276c7cb4c [2023-03-06T20:18:45.109Z] ---> 4465e16ad7c8 [2023-03-06T20:18:45.109Z] Step 11/12 : COPY . . [2023-03-06T20:18:45.109Z] ---> 923e645fd953 [2023-03-06T20:18:45.109Z] Step 12/12 : RUN $MAKE [2023-03-06T20:18:45.109Z] ---> Running in 9821ba4e8580 [2023-03-06T20:18:45.109Z] noop [2023-03-06T20:18:45.109Z] Removing intermediate container 9821ba4e8580 [2023-03-06T20:18:45.109Z] ---> d43863ceb1c2 [2023-03-06T20:18:45.109Z] Successfully built d43863ceb1c2 [2023-03-06T20:18:45.109Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:18:45.591Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T20:18:45.591Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T20:18:45.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-8402 does not seem to be running inside a container [2023-03-06T20:18:45.953Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-06T20:18:47.296Z] $ docker top c9d2a4ce6e5f5473d30a783fa8782674e99dc7011dd545306acfd1a2bfe0231d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T20:18:48.217Z] + go version [2023-03-06T20:18:48.217Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-06T20:18:48.248Z] $ docker stop --time=1 c9d2a4ce6e5f5473d30a783fa8782674e99dc7011dd545306acfd1a2bfe0231d [2023-03-06T20:18:49.937Z] $ docker rm -f --volumes c9d2a4ce6e5f5473d30a783fa8782674e99dc7011dd545306acfd1a2bfe0231d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:18:50.781Z] + docker inspect -f . ci-base-image-arm64 [2023-03-06T20:18:50.781Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T20:18:51.060Z] prd-ubuntu20.04-docker-arm64-4c-16g-8402 does not seem to be running inside a container [2023-03-06T20:18:51.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-06T20:18:52.421Z] $ docker top c742dac33d7e327e4cb5ec80246f71480e732201aa75a1359a7bc4c437f322c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T20:18:53.336Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-06T20:18:54.050Z] + make test [2023-03-06T20:18:54.050Z] go test ./... -coverprofile=coverage.out ./... [2023-03-06T20:18:55.468Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-06T20:20:32.231Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-06T20:20:32.231Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.9% of statements [2023-03-06T20:20:32.231Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-06T20:20:32.231Z] go vet ./... [2023-03-06T20:20:54.320Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-06T20:20:54.320Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-06T20:20:54.320Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-06T20:20:54.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-06T20:20:54.389Z] $ docker stop --time=1 c742dac33d7e327e4cb5ec80246f71480e732201aa75a1359a7bc4c437f322c8 [2023-03-06T20:20:56.286Z] $ docker rm -f --volumes c742dac33d7e327e4cb5ec80246f71480e732201aa75a1359a7bc4c437f322c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-06T20:20:57.446Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-06T20:20:57.481Z] Warning: overwriting stash ‘coverage-report’ [2023-03-06T20:20:58.098Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-06T20:20:58.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-06T20:20:59.071Z] + ls -al . [2023-03-06T20:20:59.071Z] total 180 [2023-03-06T20:20:59.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 20:18 . [2023-03-06T20:20:59.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 20:16 .. [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 6 20:16 .dockerignore [2023-03-06T20:20:59.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 6 20:16 .git [2023-03-06T20:20:59.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 20:16 .github [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 6 20:16 .gitignore [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 6 20:16 .golangci.yml [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 9213 Mar 6 20:16 Attribution.txt [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 6 20:16 CHANGELOG.md [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 6 20:16 Dockerfile [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 6 20:16 GOVERNANCE.md [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 6 20:16 Jenkinsfile [2023-03-06T20:20:59.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 6 20:16 LICENSE [2023-03-06T20:20:59.072Z] -rw-rw-r-- 1 jenkins jenkins 1744 Mar 6 20:16 Makefile [2023-03-06T20:20:59.072Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 6 20:16 OWNERS.md [2023-03-06T20:20:59.072Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 6 20:16 README.md [2023-03-06T20:20:59.072Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 6 20:13 VERSION [2023-03-06T20:20:59.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 20:16 bin [2023-03-06T20:20:59.072Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 6 20:16 cmd [2023-03-06T20:20:59.072Z] -rw-r--r-- 1 jenkins jenkins 13744 Mar 6 20:20 coverage.out [2023-03-06T20:20:59.072Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 6 20:16 driver [2023-03-06T20:20:59.072Z] -rw-rw-r-- 1 jenkins jenkins 3401 Mar 6 20:16 go.mod [2023-03-06T20:20:59.072Z] -rw-rw-r-- 1 jenkins jenkins 31300 Mar 6 20:16 go.sum [2023-03-06T20:20:59.072Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 6 20:16 snap [2023-03-06T20:20:59.072Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 6 20:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:20:59.516Z] + 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=c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 --label arch=arm64 --label version=0.0.0 . [2023-03-06T20:20:59.789Z] Sending build context to Docker daemon 153.1kB [2023-03-06T20:21:00.061Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-03-06T20:21:00.061Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-06T20:21:00.061Z] ---> d43863ceb1c2 [2023-03-06T20:21:00.061Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-06T20:21:00.332Z] ---> Running in c0ac7ca42d4c [2023-03-06T20:21:02.283Z] Removing intermediate container c0ac7ca42d4c [2023-03-06T20:21:02.283Z] ---> dfed554f0384 [2023-03-06T20:21:02.283Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-06T20:21:02.283Z] ---> Running in db63943c123c [2023-03-06T20:21:02.553Z] Removing intermediate container db63943c123c [2023-03-06T20:21:02.553Z] ---> 3d686dadb6a2 [2023-03-06T20:21:02.553Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-06T20:21:02.822Z] ---> Running in 08c5417fcb93 [2023-03-06T20:21:03.091Z] Removing intermediate container 08c5417fcb93 [2023-03-06T20:21:03.091Z] ---> 8c1b1b87e1cc [2023-03-06T20:21:03.091Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-06T20:21:03.091Z] ---> Running in ff9bc971d504 [2023-03-06T20:21:03.361Z] Removing intermediate container ff9bc971d504 [2023-03-06T20:21:03.361Z] ---> ddd61ee583f5 [2023-03-06T20:21:03.361Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-06T20:21:03.632Z] ---> Running in fceaf0d5e956 [2023-03-06T20:21:04.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T20:21:04.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T20:21:06.286Z] OK: 226 MiB in 55 packages [2023-03-06T20:21:07.263Z] Removing intermediate container fceaf0d5e956 [2023-03-06T20:21:07.263Z] ---> 536a8fe089b9 [2023-03-06T20:21:07.263Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-06T20:21:07.263Z] ---> Running in ba48696b37a6 [2023-03-06T20:21:07.856Z] Removing intermediate container ba48696b37a6 [2023-03-06T20:21:07.856Z] ---> f3e2f903d71c [2023-03-06T20:21:07.856Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-06T20:21:08.449Z] ---> 903eedb54d93 [2023-03-06T20:21:08.449Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-06T20:21:08.449Z] ---> Running in 8d00ddd4be0c [2023-03-06T20:21:11.802Z] Removing intermediate container 8d00ddd4be0c [2023-03-06T20:21:11.802Z] ---> f2e68bc9e52b [2023-03-06T20:21:11.802Z] Step 11/25 : COPY . . [2023-03-06T20:21:12.391Z] ---> 8689647ff965 [2023-03-06T20:21:12.391Z] Step 12/25 : RUN $MAKE [2023-03-06T20:21:12.391Z] ---> Running in 22e88d15103d [2023-03-06T20:21:13.354Z] 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-03-06T20:23:50.130Z] Removing intermediate container 22e88d15103d [2023-03-06T20:23:50.130Z] ---> d6e0c98d8333 [2023-03-06T20:23:50.130Z] Step 13/25 : FROM alpine:3.16 [2023-03-06T20:23:50.130Z] 3.16: Pulling from library/alpine [2023-03-06T20:23:50.130Z] 3760b48202b3: Pulling fs layer [2023-03-06T20:23:50.130Z] 3760b48202b3: Verifying Checksum [2023-03-06T20:23:50.130Z] 3760b48202b3: Download complete [2023-03-06T20:23:50.130Z] 3760b48202b3: Pull complete [2023-03-06T20:23:50.130Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-06T20:23:50.130Z] Status: Downloaded newer image for alpine:3.16 [2023-03-06T20:23:50.130Z] ---> 4c81e5bf8899 [2023-03-06T20:23:50.130Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-06T20:23:50.130Z] ---> Running in 67d84f53493e [2023-03-06T20:23:50.130Z] Removing intermediate container 67d84f53493e [2023-03-06T20:23:50.130Z] ---> ee1e50aeaaa6 [2023-03-06T20:23:50.130Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-06T20:23:50.130Z] ---> Running in 33882a499185 [2023-03-06T20:23:50.130Z] Removing intermediate container 33882a499185 [2023-03-06T20:23:50.130Z] ---> 46f82f12199e [2023-03-06T20:23:50.130Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-06T20:23:50.130Z] ---> Running in b2e808072994 [2023-03-06T20:23:50.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-06T20:23:50.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-06T20:23:50.130Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-06T20:23:50.130Z] Executing busybox-1.35.0-r17.trigger [2023-03-06T20:23:50.130Z] OK: 5 MiB in 15 packages [2023-03-06T20:23:50.130Z] Removing intermediate container b2e808072994 [2023-03-06T20:23:50.130Z] ---> 7007cce76ac2 [2023-03-06T20:23:50.130Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-06T20:23:50.130Z] ---> ba69a9185b32 [2023-03-06T20:23:50.130Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-06T20:23:50.130Z] ---> 8c08931ecc0d [2023-03-06T20:23:50.130Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-06T20:23:50.130Z] ---> 220e0820b721 [2023-03-06T20:23:50.130Z] Step 20/25 : EXPOSE 59986 [2023-03-06T20:23:50.130Z] ---> Running in fe4c1aa454b6 [2023-03-06T20:23:50.130Z] Removing intermediate container fe4c1aa454b6 [2023-03-06T20:23:50.130Z] ---> fab9c1aae667 [2023-03-06T20:23:50.130Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-06T20:23:50.130Z] ---> Running in f7f584aff8b6 [2023-03-06T20:23:50.130Z] Removing intermediate container f7f584aff8b6 [2023-03-06T20:23:50.130Z] ---> cab96d543856 [2023-03-06T20:23:50.130Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-06T20:23:50.130Z] ---> Running in de75a24e0d72 [2023-03-06T20:23:50.130Z] Removing intermediate container de75a24e0d72 [2023-03-06T20:23:50.130Z] ---> ca58d938e834 [2023-03-06T20:23:50.130Z] Step 23/25 : LABEL arch=arm64 [2023-03-06T20:23:50.130Z] ---> Running in f93f9108ee23 [2023-03-06T20:23:50.130Z] Removing intermediate container f93f9108ee23 [2023-03-06T20:23:50.130Z] ---> 2ca7b2d28301 [2023-03-06T20:23:50.130Z] Step 24/25 : LABEL git_sha=c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [2023-03-06T20:23:50.130Z] ---> Running in c2947a9af173 [2023-03-06T20:23:50.130Z] Removing intermediate container c2947a9af173 [2023-03-06T20:23:50.130Z] ---> 215227794c2d [2023-03-06T20:23:50.130Z] Step 25/25 : LABEL version=0.0.0 [2023-03-06T20:23:50.130Z] ---> Running in a992b20a49af [2023-03-06T20:23:50.130Z] Removing intermediate container a992b20a49af [2023-03-06T20:23:50.130Z] ---> 6f635b6d7802 [2023-03-06T20:23:50.130Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-06T20:23:50.130Z] Successfully built 6f635b6d7802 [2023-03-06T20:23:50.130Z] 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-03-06T20:23:50.962Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T20:23:50.962Z] [2023-03-06T20:23:50.962Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:23:51.374Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T20:23:51.647Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-06T20:23:51.647Z] 8998bd30e6a1: Pulling fs layer [2023-03-06T20:23:51.647Z] 04944245beec: Pulling fs layer [2023-03-06T20:23:51.647Z] 699f458cf7ca: Pulling fs layer [2023-03-06T20:23:51.647Z] 765212b225bb: Pulling fs layer [2023-03-06T20:23:51.647Z] f23df028b6ca: Pulling fs layer [2023-03-06T20:23:51.647Z] d65c8cfc05b1: Pulling fs layer [2023-03-06T20:23:51.647Z] 2437ff75d9bd: Pulling fs layer [2023-03-06T20:23:51.647Z] 765212b225bb: Waiting [2023-03-06T20:23:51.647Z] f23df028b6ca: Waiting [2023-03-06T20:23:51.647Z] d65c8cfc05b1: Waiting [2023-03-06T20:23:51.647Z] 2437ff75d9bd: Waiting [2023-03-06T20:23:51.647Z] 04944245beec: Verifying Checksum [2023-03-06T20:23:51.647Z] 04944245beec: Download complete [2023-03-06T20:23:51.647Z] 765212b225bb: Verifying Checksum [2023-03-06T20:23:51.647Z] 765212b225bb: Download complete [2023-03-06T20:23:51.647Z] f23df028b6ca: Verifying Checksum [2023-03-06T20:23:51.647Z] f23df028b6ca: Download complete [2023-03-06T20:23:51.647Z] d65c8cfc05b1: Verifying Checksum [2023-03-06T20:23:51.647Z] d65c8cfc05b1: Download complete [2023-03-06T20:23:51.919Z] 699f458cf7ca: Verifying Checksum [2023-03-06T20:23:51.919Z] 699f458cf7ca: Download complete [2023-03-06T20:23:52.191Z] 8998bd30e6a1: Verifying Checksum [2023-03-06T20:23:52.191Z] 8998bd30e6a1: Download complete [2023-03-06T20:23:54.783Z] 2437ff75d9bd: Verifying Checksum [2023-03-06T20:23:56.733Z] 8998bd30e6a1: Pull complete [2023-03-06T20:23:57.003Z] 04944245beec: Pull complete [2023-03-06T20:23:58.416Z] 699f458cf7ca: Pull complete [2023-03-06T20:23:58.687Z] 765212b225bb: Pull complete [2023-03-06T20:23:59.655Z] f23df028b6ca: Pull complete [2023-03-06T20:23:59.655Z] d65c8cfc05b1: Pull complete [2023-03-06T20:24:17.880Z] 2437ff75d9bd: Pull complete [2023-03-06T20:24:17.880Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-06T20:24:17.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-06T20:24:17.880Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T20:24:18.216Z] prd-ubuntu20.04-docker-arm64-4c-16g-8402 does not seem to be running inside a container [2023-03-06T20:24:18.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-06T20:24:21.013Z] $ docker top 42c255b14ae151241a362b6ed38e82ba73a8d551c0fec6cd98e4ed6b9f4022ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:24:21.983Z] ---> job-cost.sh [2023-03-06T20:24:21.983Z] lf-activate-venv: SKIPPING [2023-03-06T20:24:21.983Z] INFO: No Stack... [2023-03-06T20:24:22.265Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-06T20:24:23.248Z] INFO: Archiving Costs [Pipeline] sh [2023-03-06T20:24:23.914Z] + + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-03-06T20:24:23.914Z] cut -d, -f6 [Pipeline] lock [2023-03-06T20:24:24.008Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-261-1-stack-cost] [2023-03-06T20:24:24.013Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-261-1-stack-cost] did not exist. Created. [2023-03-06T20:24:24.013Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-261-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-06T20:24:24.746Z] /w/workspace/device-rest-go/1@tmp/durable-4c0845a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-06T20:24:25.428Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-06T20:24:25.463Z] Warning: overwriting stash ‘stack-cost’ [2023-03-06T20:24:25.516Z] Stashed 1 file(s) [Pipeline] } [2023-03-06T20:24:25.530Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-261-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-06T20:24:25.603Z] $ docker stop --time=1 42c255b14ae151241a362b6ed38e82ba73a8d551c0fec6cd98e4ed6b9f4022ba [2023-03-06T20:24:27.160Z] $ docker rm -f --volumes 42c255b14ae151241a362b6ed38e82ba73a8d551c0fec6cd98e4ed6b9f4022ba [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-03-06T20:24:28.084Z] provisioning config files... [2023-03-06T20:24:28.092Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp/config1646581916747364558tmp [Pipeline] { [Pipeline] sh [2023-03-06T20:24:28.427Z] + set +x [2023-03-06T20:24:28.427Z] + bash -s -- [2023-03-06T20:24:28.427Z] + curl -s https://codecov.io/bash [2023-03-06T20:24:28.427Z] [2023-03-06T20:24:28.427Z] _____ _ [2023-03-06T20:24:28.427Z] / ____| | | [2023-03-06T20:24:28.428Z] | | ___ __| | ___ ___ _____ __ [2023-03-06T20:24:28.428Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-06T20:24:28.428Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-06T20:24:28.428Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-06T20:24:28.428Z] Bash-1.0.6 [2023-03-06T20:24:28.428Z] [2023-03-06T20:24:28.428Z] [2023-03-06T20:24:28.428Z] ==> git version 2.25.1 found [2023-03-06T20:24:28.428Z] ==> 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-03-06T20:24:28.428Z] Release-Date: 2020-01-08 [2023-03-06T20:24:28.428Z] 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-03-06T20:24:28.428Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-06T20:24:28.428Z] ==> Jenkins CI detected. [2023-03-06T20:24:28.428Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-261 [2023-03-06T20:24:28.428Z] project root: . [2023-03-06T20:24:28.428Z] --> token set from env [2023-03-06T20:24:28.428Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-06T20:24:28.428Z] ==> Running gcov in . (disable via -X gcov) [2023-03-06T20:24:28.428Z] ==> Python coveragepy not found [2023-03-06T20:24:28.428Z] ==> Searching for coverage reports in: [2023-03-06T20:24:28.428Z] + . [2023-03-06T20:24:28.428Z] -> Found 1 reports [2023-03-06T20:24:28.428Z] ==> Detecting git/mercurial file structure [2023-03-06T20:24:28.428Z] ==> Reading reports [2023-03-06T20:24:28.428Z] + ./coverage.out bytes=13744 [2023-03-06T20:24:28.428Z] ==> Appending adjustments [2023-03-06T20:24:28.428Z] https://docs.codecov.io/docs/fixing-reports [2023-03-06T20:24:28.687Z] + Found adjustments [2023-03-06T20:24:28.687Z] ==> Gzipping contents [2023-03-06T20:24:28.687Z] 4.0K /tmp/codecov.V03NXk.gz [2023-03-06T20:24:28.687Z] ==> Uploading reports [2023-03-06T20:24:28.687Z] url: https://codecov.io [2023-03-06T20:24:28.687Z] query: branch=PR-261&commit=c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-261%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=261&job=&cmd_args= [2023-03-06T20:24:28.687Z] -> Pinging Codecov [2023-03-06T20:24:28.687Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-261&commit=c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-261%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=261&job=&cmd_args= [2023-03-06T20:24:28.687Z] -> Uploading to [2023-03-06T20:24:28.687Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-06/4E5D53B4F1F92C436F7061BF334D961C/c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05/c0cbe353-f457-4726-ba48-e78d38aff1cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230306%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230306T202428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1058d07a5e06fb8038d76c15325e1600fb581824989359f34a463ca550ef098 [2023-03-06T20:24:28.687Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-06T20:24:28.687Z] Dload Upload Total Spent Left Speed [2023-03-06T20:24:28.948Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8819 --:--:-- --:--:-- --:--:-- 8819 [2023-03-06T20:24:29.207Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c92c243d042d5aa7c3ee23c9e4c3bbcd32894e05 [Pipeline] } [2023-03-06T20:24:29.234Z] 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-03-06T20:24:30.869Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-261/archives ] [2023-03-06T20:24:30.869Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-261/archives [2023-03-06T20:24:30.869Z] total 16 [2023-03-06T20:24:30.869Z] drwxr-xr-x 3 root root 4096 Mar 6 20:15 . [2023-03-06T20:24:30.869Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 20:15 .. [2023-03-06T20:24:30.869Z] drwxr-xr-x 2 root root 4096 Mar 6 20:15 cost [2023-03-06T20:24:30.869Z] -rw-r--r-- 1 root root 86 Mar 6 20:15 cost.csv [2023-03-06T20:24:30.869Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-261/archives [2023-03-06T20:24:30.869Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-261/archives [2023-03-06T20:24:30.869Z] total 16 [2023-03-06T20:24:30.869Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 6 20:15 . [2023-03-06T20:24:30.869Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 6 20:15 .. [2023-03-06T20:24:30.869Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 6 20:15 cost [2023-03-06T20:24:30.869Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 6 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:24:31.194Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:24:32.080Z] ---> package-listing.sh [2023-03-06T20:24:32.080Z] ++ facter osfamily [2023-03-06T20:24:32.080Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-06T20:24:32.341Z] + OS_FAMILY=debian [2023-03-06T20:24:32.341Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-261 [2023-03-06T20:24:32.341Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-06T20:24:32.341Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-06T20:24:32.341Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-06T20:24:32.341Z] + PACKAGES=/tmp/packages_start.txt [2023-03-06T20:24:32.341Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-261 ']' [2023-03-06T20:24:32.341Z] + PACKAGES=/tmp/packages_end.txt [2023-03-06T20:24:32.341Z] + case "${OS_FAMILY}" in [2023-03-06T20:24:32.341Z] + dpkg -l [2023-03-06T20:24:32.341Z] + grep '^ii' [2023-03-06T20:24:32.341Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-06T20:24:32.341Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-06T20:24:32.341Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-06T20:24:32.341Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-261 ']' [2023-03-06T20:24:32.341Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-261/archives/ [2023-03-06T20:24:32.341Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-261/archives/ [Pipeline] echo [2023-03-06T20:24:32.376Z] 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-261/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-06T20:24:32.678Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-06T20:24:33.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-06T20:24:33.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-06T20:24:33.441Z] prd-ubuntu20.04-docker-8c-8g-8400 does not seem to be running inside a container [2023-03-06T20:24:33.473Z] $ 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-261/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-261 -v /w/workspace/gexfoundry_device-rest-go_PR-261:/w/workspace/gexfoundry_device-rest-go_PR-261:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-261@tmp:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-06T20:24:33.668Z] $ docker top 7f41fc53df79e865e385483da4548df29968f82c943a700998e84d93e7523bd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-06T20:24:34.057Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-06T20:24:34.370Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-06T20:24:34.673Z] + ls /var/log/sa-host [2023-03-06T20:24:34.673Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-06T20:24:34.802Z] provisioning config files... [2023-03-06T20:24:34.809Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-261@tmp/config1653169750607639233tmp [Pipeline] { [Pipeline] echo [2023-03-06T20:24:34.853Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:24:35.164Z] ---> create-netrc.sh [Pipeline] } [2023-03-06T20:24:35.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:24:35.580Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-06T20:24:35.611Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:24:35.923Z] ---> sudo-logs.sh [2023-03-06T20:24:35.923Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-06T20:24:36.005Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:24:36.319Z] ---> job-cost.sh [2023-03-06T20:24:36.319Z] lf-activate-venv: SKIPPING [2023-03-06T20:24:36.319Z] DEBUG: total: 0.2199999988079071 [2023-03-06T20:24:36.319Z] INFO: Retrieving Stack Cost... [2023-03-06T20:24:36.577Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-06T20:24:37.149Z] INFO: Archiving Costs [Pipeline] echo [2023-03-06T20:24:37.184Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-06T20:24:37.500Z] ---> logs-deploy.sh [2023-03-06T20:24:37.501Z] lf-activate-venv: SKIPPING [2023-03-06T20:24:37.501Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-261/1 [2023-03-06T20:24:37.501Z] INFO: archiving workspace using pattern(s): [2023-03-06T20:24:38.435Z] Archives upload complete. [2023-03-06T20:24:38.435Z] INFO: archiving logs to Nexus