Pull request #233 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-rest-go Obtained Jenkinsfile from ae6d3e36a4ecc23782ace36827d70caa945237b3+6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (3b16e1f32f51bd4a9922eb7ee92333946f832ca8) 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-ssh6904144511223160764.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-ssh5422870177690177017.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-233/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-233/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5474347876337790684.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-233/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1378496057217432320.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-ssh12343623169372990245.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-233/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-233/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16140853666651033856.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1120 in /w/workspace/gexfoundry_device-rest-go_PR-233 [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-233 # 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/233/head:refs/remotes/origin/PR-233 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit ae6d3e36a4ecc23782ace36827d70caa945237b3 Merge succeeded, producing ae6d3e36a4ecc23782ace36827d70caa945237b3 Checking out Revision ae6d3e36a4ecc23782ace36827d70caa945237b3 (PR-233) > git config core.sparsecheckout # timeout=10 > git checkout -f ae6d3e36a4ecc23782ace36827d70caa945237b3 # 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 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae6d3e36a4ecc23782ace36827d70caa945237b3 # timeout=10 Commit message: "build(deps): Bump edgex-snap-hooks/v2 to v2.5.0" 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-01-04T18:56:18.601Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-04T18:56:18.776Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-04T18:56:18.870Z] ========================================================= [2023-01-04T18:56:18.870Z] EdgeX Global Pipelines Version Info [2023-01-04T18:56:18.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-04T18:56:19.613Z] ------------------- [2023-01-04T18:56:19.613Z] stable info: [2023-01-04T18:56:19.613Z] ------------------- [2023-01-04T18:56:19.613Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-04T18:56:19.613Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T18:56:19.613Z] Message: update stable to v1.0.244 [2023-01-04T18:56:20.184Z] ------------------- [2023-01-04T18:56:20.184Z] experimental info: [2023-01-04T18:56:20.184Z] ------------------- [2023-01-04T18:56:20.184Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-04T18:56:20.184Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T18:56:20.184Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-04T18:56:20.470Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-04T18:56:20.520Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-04T18:56:20.564Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-04T18:56:20.608Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-04T18:56:20.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-04T18:56:20.685Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-04T18:56:20.723Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-04T18:56:20.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-04T18:56:20.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-04T18:56:20.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-04T18:56:20.889Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-04T18:56:20.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-04T18:56:20.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-04T18:56:21.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-04T18:56:21.050Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T18:56:21.096Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T18:56:21.133Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T18:56:21.176Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T18:56:21.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-04T18:56:21.262Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-04T18:56:21.304Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-04T18:56:21.347Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-04T18:56:21.393Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-04T18:56:21.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-04T18:56:21.484Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-04T18:56:21.531Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-04T18:56:21.573Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-04T18:56:21.614Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-233 [Pipeline] echo [2023-01-04T18:56:21.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-233 [Pipeline] echo [2023-01-04T18:56:21.693Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-233 [Pipeline] echo [2023-01-04T18:56:21.731Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] echo [2023-01-04T18:56:21.772Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae6d3e3 [Pipeline] echo [2023-01-04T18:56:21.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T18:56:21.931Z] provisioning config files... [2023-01-04T18:56:21.944Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/config8909753235795617190tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T18:56:22.292Z] ---> docker-login.sh [2023-01-04T18:56:22.293Z] nexus3.edgexfoundry.org:10001 [2023-01-04T18:56:22.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:22.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:22.553Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:22.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:22.553Z] [2023-01-04T18:56:22.553Z] Login Succeeded [2023-01-04T18:56:22.553Z] nexus3.edgexfoundry.org:10002 [2023-01-04T18:56:22.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:22.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:22.813Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:22.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:22.813Z] [2023-01-04T18:56:22.813Z] Login Succeeded [2023-01-04T18:56:22.813Z] nexus3.edgexfoundry.org:10003 [2023-01-04T18:56:22.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:22.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:22.813Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:22.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:22.813Z] [2023-01-04T18:56:22.813Z] Login Succeeded [2023-01-04T18:56:22.813Z] nexus3.edgexfoundry.org:10004 [2023-01-04T18:56:23.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:23.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:23.074Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:23.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:23.074Z] [2023-01-04T18:56:23.074Z] Login Succeeded [2023-01-04T18:56:23.074Z] docker.io [2023-01-04T18:56:23.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:23.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:23.334Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:23.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:23.334Z] [2023-01-04T18:56:23.334Z] Login Succeeded [2023-01-04T18:56:23.334Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T18:56:23.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-04T18:56:24.010Z] + git rev-list -1 --merges ae6d3e36a4ecc23782ace36827d70caa945237b3~1..ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] echo [2023-01-04T18:56:24.069Z] -----------> git rev-list -1 --merges ae6d3e36a4ecc23782ace36827d70caa945237b3~1..ae6d3e36a4ecc23782ace36827d70caa945237b3 ae6d3e36a4ecc23782ace36827d70caa945237b3 [false] [Pipeline] sh [2023-01-04T18:56:24.376Z] + git log --format=format:%s -1 ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] echo [2023-01-04T18:56:24.412Z] ========================================================= [2023-01-04T18:56:24.412Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-04T18:56:24.412Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T18:56:24.849Z] + git log --format=format:%s -1 ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] echo [2023-01-04T18:56:24.881Z] [semverPrep] GIT_COMMIT: ae6d3e36a4ecc23782ace36827d70caa945237b3, Commit Message: build(deps): Bump edgex-snap-hooks/v2 to v2.5.0 [Pipeline] echo [2023-01-04T18:56:24.910Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-04T18:56:25.315Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-04T18:56:25.315Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-04T18:56:25.315Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-04T18:56:25.315Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-04T18:56:25.315Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-04T18:56:25.315Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-04T18:56:25.316Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T18:56:25.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T18:56:25.802Z] [2023-01-04T18:56:25.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T18:56:26.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T18:56:26.178Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-04T18:56:26.178Z] b85a868b505f: Pulling fs layer [2023-01-04T18:56:26.178Z] e2be974225ed: Pulling fs layer [2023-01-04T18:56:26.178Z] 339a4e72a1f5: Pulling fs layer [2023-01-04T18:56:26.178Z] 988bab9f4d93: Pulling fs layer [2023-01-04T18:56:26.178Z] 1469e6f7b9e6: Pulling fs layer [2023-01-04T18:56:26.178Z] 988bab9f4d93: Waiting [2023-01-04T18:56:26.178Z] eaf3925da568: Pulling fs layer [2023-01-04T18:56:26.178Z] bab4dde63d76: Pulling fs layer [2023-01-04T18:56:26.178Z] 1469e6f7b9e6: Waiting [2023-01-04T18:56:26.178Z] eaf3925da568: Waiting [2023-01-04T18:56:26.178Z] bde34c3a00c8: Pulling fs layer [2023-01-04T18:56:26.178Z] b352a97aabf1: Pulling fs layer [2023-01-04T18:56:26.178Z] 4872d77fe225: Pulling fs layer [2023-01-04T18:56:26.178Z] 5851b861e8e6: Pulling fs layer [2023-01-04T18:56:26.178Z] bde34c3a00c8: Waiting [2023-01-04T18:56:26.178Z] 4872d77fe225: Waiting [2023-01-04T18:56:26.178Z] b352a97aabf1: Waiting [2023-01-04T18:56:26.178Z] e2be974225ed: Download complete [2023-01-04T18:56:26.178Z] 988bab9f4d93: Verifying Checksum [2023-01-04T18:56:26.178Z] 988bab9f4d93: Download complete [2023-01-04T18:56:26.440Z] 1469e6f7b9e6: Verifying Checksum [2023-01-04T18:56:26.440Z] 1469e6f7b9e6: Download complete [2023-01-04T18:56:26.440Z] eaf3925da568: Verifying Checksum [2023-01-04T18:56:26.440Z] eaf3925da568: Download complete [2023-01-04T18:56:26.440Z] 339a4e72a1f5: Verifying Checksum [2023-01-04T18:56:26.440Z] 339a4e72a1f5: Download complete [2023-01-04T18:56:26.440Z] bde34c3a00c8: Verifying Checksum [2023-01-04T18:56:26.440Z] bde34c3a00c8: Download complete [2023-01-04T18:56:26.440Z] b352a97aabf1: Verifying Checksum [2023-01-04T18:56:26.440Z] b352a97aabf1: Download complete [2023-01-04T18:56:26.440Z] 4872d77fe225: Verifying Checksum [2023-01-04T18:56:26.440Z] 4872d77fe225: Download complete [2023-01-04T18:56:26.440Z] 5851b861e8e6: Verifying Checksum [2023-01-04T18:56:26.440Z] 5851b861e8e6: Download complete [2023-01-04T18:56:26.440Z] b85a868b505f: Verifying Checksum [2023-01-04T18:56:26.440Z] b85a868b505f: Download complete [2023-01-04T18:56:26.698Z] bab4dde63d76: Verifying Checksum [2023-01-04T18:56:26.698Z] bab4dde63d76: Download complete [2023-01-04T18:56:27.633Z] b85a868b505f: Pull complete [2023-01-04T18:56:27.633Z] e2be974225ed: Pull complete [2023-01-04T18:56:28.199Z] 339a4e72a1f5: Pull complete [2023-01-04T18:56:28.199Z] 988bab9f4d93: Pull complete [2023-01-04T18:56:28.462Z] 1469e6f7b9e6: Pull complete [2023-01-04T18:56:28.724Z] eaf3925da568: Pull complete [2023-01-04T18:56:30.634Z] bab4dde63d76: Pull complete [2023-01-04T18:56:30.634Z] bde34c3a00c8: Pull complete [2023-01-04T18:56:30.634Z] b352a97aabf1: Pull complete [2023-01-04T18:56:30.634Z] 4872d77fe225: Pull complete [2023-01-04T18:56:30.893Z] 5851b861e8e6: Pull complete [2023-01-04T18:56:30.894Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-04T18:56:30.894Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T18:56:30.894Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T18:56:31.120Z] prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container [2023-01-04T18:56:31.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-04T18:56:32.566Z] $ docker top e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 -eo pid,comm [2023-01-04T18:56:32.629Z] 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-01-04T18:56:32.629Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-04T18:56:32.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T18:56:32.750Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T18:56:32.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T18:56:32.864Z] $ docker exec e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 ssh-agent [2023-01-04T18:56:32.976Z] SSH_AUTH_SOCK=/tmp/ssh-7l8ZZwsBBC7L/agent.32 [2023-01-04T18:56:32.976Z] SSH_AGENT_PID=38 [2023-01-04T18:56:32.986Z] Running ssh-add (command line suppressed) [2023-01-04T18:56:33.087Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-233@tmp/private_key_17937936456874724637.key (/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/private_key_17937936456874724637.key) [2023-01-04T18:56:33.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T18:56:33.433Z] + git tag --points-at HEAD [Pipeline] } [2023-01-04T18:56:33.451Z] $ docker exec --env ******** --env ******** e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 ssh-agent -k [2023-01-04T18:56:33.578Z] unset SSH_AUTH_SOCK; [2023-01-04T18:56:33.579Z] unset SSH_AGENT_PID; [2023-01-04T18:56:33.579Z] echo Agent pid 38 killed; [2023-01-04T18:56:33.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-04T18:56:33.675Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T18:56:33.675Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T18:56:33.806Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T18:56:33.802Z] $ docker exec e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 ssh-agent [2023-01-04T18:56:33.925Z] SSH_AUTH_SOCK=/tmp/ssh-AQGx65DUCWiE/agent.70 [2023-01-04T18:56:33.925Z] SSH_AGENT_PID=76 [2023-01-04T18:56:33.931Z] Running ssh-add (command line suppressed) [2023-01-04T18:56:34.031Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-233@tmp/private_key_18353931253282004174.key (/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/private_key_18353931253282004174.key) [2023-01-04T18:56:34.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T18:56:34.377Z] + git semver init [2023-01-04T18:56:34.637Z] 2023-01-04 18:56:34,564 [run_init] DEBUG init version:0.0.0 force:False [2023-01-04T18:56:34.637Z] 2023-01-04 18:56:34,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-233/.semver [2023-01-04T18:56:34.637Z] 2023-01-04 18:56:34,565 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-233/.semver [2023-01-04T18:56:34.637Z] 2023-01-04 18:56:34,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-233/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-233, universal_newlines=False, shell=None, istream=None) [2023-01-04T18:56:35.575Z] 2023-01-04 18:56:35,557 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-233/.git/info/exclude [2023-01-04T18:56:35.575Z] 2023-01-04 18:56:35,557 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-233/.semver/PR-233 with force:False [2023-01-04T18:56:35.575Z] 2023-01-04 18:56:35,558 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-233/.semver/PR-233 [2023-01-04T18:56:35.576Z] 2023-01-04 18:56:35,563 [execute] INFO git cat-file --batch-check [2023-01-04T18:56:35.576Z] 2023-01-04 18:56:35,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-233/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T18:56:35.834Z] 2023-01-04 18:56:35,572 [execute] INFO git cat-file --batch [2023-01-04T18:56:35.834Z] 2023-01-04 18:56:35,572 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-233/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T18:56:35.834Z] 2023-01-04 18:56:35,578 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-233/.semver/PR-233 [2023-01-04T18:56:35.835Z] 0.0.0 [Pipeline] } [2023-01-04T18:56:35.851Z] $ docker exec --env ******** --env ******** e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 ssh-agent -k [2023-01-04T18:56:35.951Z] unset SSH_AUTH_SOCK; [2023-01-04T18:56:35.951Z] unset SSH_AGENT_PID; [2023-01-04T18:56:35.952Z] echo Agent pid 76 killed; [2023-01-04T18:56:35.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-04T18:56:36.393Z] + git semver [Pipeline] } [2023-01-04T18:56:36.674Z] $ docker stop --time=1 e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 [2023-01-04T18:56:38.041Z] $ docker rm -f --volumes e18dbd510f860d500fc05455ec9515ebaa5d0f7c3156e5c7386a865e9831c065 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T18:56:38.434Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-04T18:56:38.718Z] Stashed 1 file(s) [Pipeline] echo [2023-01-04T18:56:38.738Z] [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-01-04T18:56:39.281Z] provisioning config files... [2023-01-04T18:56:39.291Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/config3571958960978000728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T18:56:39.632Z] ---> docker-login.sh [2023-01-04T18:56:39.632Z] nexus3.edgexfoundry.org:10001 [2023-01-04T18:56:39.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:39.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:39.632Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:39.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:39.632Z] [2023-01-04T18:56:39.632Z] Login Succeeded [2023-01-04T18:56:39.632Z] nexus3.edgexfoundry.org:10002 [2023-01-04T18:56:39.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:39.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:39.632Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:39.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:39.632Z] [2023-01-04T18:56:39.632Z] Login Succeeded [2023-01-04T18:56:39.632Z] nexus3.edgexfoundry.org:10003 [2023-01-04T18:56:39.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:39.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:39.892Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:39.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:39.892Z] [2023-01-04T18:56:39.892Z] Login Succeeded [2023-01-04T18:56:39.892Z] nexus3.edgexfoundry.org:10004 [2023-01-04T18:56:39.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:39.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:39.892Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:39.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:39.892Z] [2023-01-04T18:56:39.892Z] Login Succeeded [2023-01-04T18:56:39.892Z] docker.io [2023-01-04T18:56:40.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:56:40.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:56:40.151Z] Configure a credential helper to remove this warning. See [2023-01-04T18:56:40.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:56:40.151Z] [2023-01-04T18:56:40.151Z] Login Succeeded [2023-01-04T18:56:40.151Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T18:56:40.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T18:56:40.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T18:56:40.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T18:56:40.435Z] ========================================================= [2023-01-04T18:56:40.435Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-04T18:56:40.435Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T18:56:40.896Z] + 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-01-04T18:56:40.896Z] Sending build context to Docker daemon 10.79MB [2023-01-04T18:56:40.896Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T18:56:40.896Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T18:56:40.896Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-04T18:56:40.896Z] 213ec9aee27d: Pulling fs layer [2023-01-04T18:56:40.896Z] 4583459ba037: Pulling fs layer [2023-01-04T18:56:40.896Z] 93c1e223e6f2: Pulling fs layer [2023-01-04T18:56:40.896Z] 53926ce57604: Pulling fs layer [2023-01-04T18:56:40.896Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-04T18:56:40.896Z] 22ff95d597cd: Pulling fs layer [2023-01-04T18:56:40.896Z] 12d6caf4c0d1: Pulling fs layer [2023-01-04T18:56:40.896Z] 96b7cbca73a9: Pulling fs layer [2023-01-04T18:56:40.896Z] a7acece74701: Pulling fs layer [2023-01-04T18:56:40.896Z] 53926ce57604: Waiting [2023-01-04T18:56:40.896Z] 21b2b0c7a3f4: Waiting [2023-01-04T18:56:40.896Z] 22ff95d597cd: Waiting [2023-01-04T18:56:40.896Z] 12d6caf4c0d1: Waiting [2023-01-04T18:56:40.896Z] 96b7cbca73a9: Waiting [2023-01-04T18:56:40.896Z] a7acece74701: Waiting [2023-01-04T18:56:40.896Z] 93c1e223e6f2: Download complete [2023-01-04T18:56:40.896Z] 4583459ba037: Verifying Checksum [2023-01-04T18:56:40.896Z] 4583459ba037: Download complete [2023-01-04T18:56:41.154Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-04T18:56:41.154Z] 21b2b0c7a3f4: Download complete [2023-01-04T18:56:41.154Z] 22ff95d597cd: Verifying Checksum [2023-01-04T18:56:41.154Z] 22ff95d597cd: Download complete [2023-01-04T18:56:41.154Z] 213ec9aee27d: Verifying Checksum [2023-01-04T18:56:41.154Z] 213ec9aee27d: Download complete [2023-01-04T18:56:41.154Z] 12d6caf4c0d1: Verifying Checksum [2023-01-04T18:56:41.154Z] 12d6caf4c0d1: Download complete [2023-01-04T18:56:41.154Z] 213ec9aee27d: Pull complete [2023-01-04T18:56:41.414Z] 4583459ba037: Pull complete [2023-01-04T18:56:41.414Z] 93c1e223e6f2: Pull complete [2023-01-04T18:56:41.672Z] a7acece74701: Verifying Checksum [2023-01-04T18:56:41.672Z] a7acece74701: Download complete [2023-01-04T18:56:42.239Z] 53926ce57604: Verifying Checksum [2023-01-04T18:56:42.239Z] 53926ce57604: Download complete [2023-01-04T18:56:42.239Z] 96b7cbca73a9: Verifying Checksum [2023-01-04T18:56:42.239Z] 96b7cbca73a9: Download complete [2023-01-04T18:56:46.420Z] 53926ce57604: Pull complete [2023-01-04T18:56:46.420Z] 21b2b0c7a3f4: Pull complete [2023-01-04T18:56:46.420Z] 22ff95d597cd: Pull complete [2023-01-04T18:56:46.420Z] 12d6caf4c0d1: Pull complete [2023-01-04T18:56:48.321Z] 96b7cbca73a9: Pull complete [2023-01-04T18:56:48.889Z] a7acece74701: Pull complete [2023-01-04T18:56:48.889Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-04T18:56:48.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-04T18:56:48.889Z] ---> db6d94c90886 [2023-01-04T18:56:48.889Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T18:56:50.805Z] ---> Running in 5fd17ea50a06 [2023-01-04T18:56:50.805Z] Removing intermediate container 5fd17ea50a06 [2023-01-04T18:56:50.805Z] ---> 74437fe2aa43 [2023-01-04T18:56:50.805Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T18:56:50.805Z] ---> Running in 6214a0a2514b [2023-01-04T18:56:51.064Z] Removing intermediate container 6214a0a2514b [2023-01-04T18:56:51.064Z] ---> 8ff4e842028f [2023-01-04T18:56:51.064Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T18:56:51.064Z] ---> Running in 1d4730e2df2f [2023-01-04T18:56:51.064Z] Removing intermediate container 1d4730e2df2f [2023-01-04T18:56:51.064Z] ---> 37cf02d6454f [2023-01-04T18:56:51.064Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T18:56:51.324Z] ---> Running in 7eaae42e7c27 [2023-01-04T18:56:51.324Z] Removing intermediate container 7eaae42e7c27 [2023-01-04T18:56:51.324Z] ---> c6e817237c8b [2023-01-04T18:56:51.324Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T18:56:51.324Z] ---> Running in 9f15ed269f8c [2023-01-04T18:56:51.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T18:56:51.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T18:56:52.104Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T18:56:52.104Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T18:56:52.104Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T18:56:52.104Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T18:56:52.104Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T18:56:52.104Z] OK: 216 MiB in 55 packages [2023-01-04T18:56:52.673Z] Removing intermediate container 9f15ed269f8c [2023-01-04T18:56:52.673Z] ---> 76b488f377de [2023-01-04T18:56:52.673Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-04T18:56:52.673Z] ---> Running in 8d2c0e88823d [2023-01-04T18:56:52.673Z] Removing intermediate container 8d2c0e88823d [2023-01-04T18:56:52.673Z] ---> ab8a64d54aaa [2023-01-04T18:56:52.673Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T18:56:52.932Z] ---> 5337aee95b64 [2023-01-04T18:56:52.932Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T18:56:52.932Z] ---> Running in f1410fa7a59d [2023-01-04T18:56:54.108Z] Still waiting to schedule task [2023-01-04T18:56:54.109Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-04T18:57:14.877Z] Removing intermediate container f1410fa7a59d [2023-01-04T18:57:14.877Z] ---> 1e53c2ffa217 [2023-01-04T18:57:14.877Z] Step 11/12 : COPY . . [2023-01-04T18:57:14.877Z] ---> 30fccfe7cf0e [2023-01-04T18:57:14.877Z] Step 12/12 : RUN $MAKE [2023-01-04T18:57:14.877Z] ---> Running in e12ce8d566e4 [2023-01-04T18:57:14.877Z] noop [2023-01-04T18:57:14.877Z] Removing intermediate container e12ce8d566e4 [2023-01-04T18:57:14.877Z] ---> bba730031753 [2023-01-04T18:57:14.877Z] Successfully built bba730031753 [2023-01-04T18:57:14.877Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T18:57:15.318Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T18:57:15.318Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T18:57:15.477Z] prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container [2023-01-04T18:57:15.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T18:57:15.870Z] $ docker top 63c435a18fcfd6b374c06c491232bf044fa67144c076b6af2a251b7a445a206b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T18:57:16.264Z] + go version [2023-01-04T18:57:16.264Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-04T18:57:16.297Z] $ docker stop --time=1 63c435a18fcfd6b374c06c491232bf044fa67144c076b6af2a251b7a445a206b [2023-01-04T18:57:17.585Z] $ docker rm -f --volumes 63c435a18fcfd6b374c06c491232bf044fa67144c076b6af2a251b7a445a206b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T18:57:18.318Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T18:57:18.318Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T18:57:18.473Z] prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container [2023-01-04T18:57:18.503Z] $ 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-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T18:57:18.878Z] $ docker top ed4831a93affb6e3dca85458f2e8b695aa23b07c0bf67375f45b5d16232446b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T18:57:19.273Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-233 [Pipeline] fileExists [Pipeline] sh [2023-01-04T18:57:19.635Z] + make test [2023-01-04T18:57:19.636Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T18:57:19.896Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-04T18:57:29.876Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-04T18:57:29.876Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements [2023-01-04T18:57:36.438Z] 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-01-04T18:57:36.438Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T18:57:38.967Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T18:57:38.967Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T18:57:38.967Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T18:57:39.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T18:57:39.032Z] $ docker stop --time=1 ed4831a93affb6e3dca85458f2e8b695aa23b07c0bf67375f45b5d16232446b1 [2023-01-04T18:57:40.780Z] $ docker rm -f --volumes ed4831a93affb6e3dca85458f2e8b695aa23b07c0bf67375f45b5d16232446b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T18:57:41.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T18:57:41.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-04T18:57:41.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T18:57:42.303Z] + ls -al . [2023-01-04T18:57:42.303Z] total 188 [2023-01-04T18:57:42.303Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 18:57 . [2023-01-04T18:57:42.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:56 .. [2023-01-04T18:57:42.303Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 18:56 .dockerignore [2023-01-04T18:57:42.303Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 18:57 .git [2023-01-04T18:57:42.303Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 18:56 .github [2023-01-04T18:57:42.303Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 18:56 .gitignore [2023-01-04T18:57:42.303Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 18:56 .golangci.yml [2023-01-04T18:57:42.303Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 18:56 .semver [2023-01-04T18:57:42.303Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 4 18:56 Attribution.txt [2023-01-04T18:57:42.303Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 4 18:56 CHANGELOG.md [2023-01-04T18:57:42.303Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 4 18:56 Dockerfile [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 18:56 GOVERNANCE.md [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 18:56 Jenkinsfile [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 18:56 LICENSE [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 4 18:56 Makefile [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 18:56 OWNERS.md [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 4 18:56 README.md [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 18:56 VERSION [2023-01-04T18:57:42.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:56 bin [2023-01-04T18:57:42.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 18:56 cmd [2023-01-04T18:57:42.304Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 4 18:57 coverage.out [2023-01-04T18:57:42.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:56 driver [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 4 18:56 go.mod [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 18:56 go.sum [2023-01-04T18:57:42.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:56 snap [2023-01-04T18:57:42.304Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 18:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T18:57:42.691Z] + 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=ae6d3e36a4ecc23782ace36827d70caa945237b3 --label arch=amd64 --label version=0.0.0 . [2023-01-04T18:57:42.692Z] Sending build context to Docker daemon 10.8MB [2023-01-04T18:57:42.692Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T18:57:42.692Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-04T18:57:42.692Z] ---> bba730031753 [2023-01-04T18:57:42.692Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-04T18:57:42.692Z] ---> Running in e2866be93926 [2023-01-04T18:57:42.951Z] Removing intermediate container e2866be93926 [2023-01-04T18:57:42.951Z] ---> 3245869a1092 [2023-01-04T18:57:42.951Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T18:57:42.951Z] ---> Running in 4ee1a7e3efd3 [2023-01-04T18:57:42.951Z] Removing intermediate container 4ee1a7e3efd3 [2023-01-04T18:57:42.951Z] ---> 0ea079f2d96b [2023-01-04T18:57:42.951Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T18:57:42.951Z] ---> Running in 75e4eaa17d1c [2023-01-04T18:57:43.211Z] Removing intermediate container 75e4eaa17d1c [2023-01-04T18:57:43.211Z] ---> 0212fbade2ef [2023-01-04T18:57:43.211Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T18:57:43.211Z] ---> Running in 4fe3ebebcbb0 [2023-01-04T18:57:43.211Z] Removing intermediate container 4fe3ebebcbb0 [2023-01-04T18:57:43.211Z] ---> 58476703d3bf [2023-01-04T18:57:43.211Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T18:57:43.211Z] ---> Running in 440b583470de [2023-01-04T18:57:43.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T18:57:43.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T18:57:43.989Z] OK: 216 MiB in 55 packages [2023-01-04T18:57:44.251Z] Removing intermediate container 440b583470de [2023-01-04T18:57:44.251Z] ---> 39d51ba9f293 [2023-01-04T18:57:44.251Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-04T18:57:44.511Z] ---> Running in 059d71b8ee7d [2023-01-04T18:57:44.511Z] Removing intermediate container 059d71b8ee7d [2023-01-04T18:57:44.511Z] ---> 5cb6ed32da34 [2023-01-04T18:57:44.511Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-04T18:57:44.771Z] ---> bd47984efb3c [2023-01-04T18:57:44.771Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T18:57:44.771Z] ---> Running in 7b7646ec9d39 [2023-01-04T18:57:45.340Z] Removing intermediate container 7b7646ec9d39 [2023-01-04T18:57:45.340Z] ---> 527ee1792428 [2023-01-04T18:57:45.340Z] Step 11/25 : COPY . . [2023-01-04T18:57:45.601Z] ---> 6dd9dde6f459 [2023-01-04T18:57:45.601Z] Step 12/25 : RUN $MAKE [2023-01-04T18:57:45.601Z] ---> Running in 9b40e40f4982 [2023-01-04T18:57:45.860Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2023-01-04T18:58:03.942Z] Removing intermediate container 9b40e40f4982 [2023-01-04T18:58:03.942Z] ---> e69ed18ba878 [2023-01-04T18:58:03.942Z] Step 13/25 : FROM alpine:3.16 [2023-01-04T18:58:04.200Z] 3.16: Pulling from library/alpine [2023-01-04T18:58:04.462Z] ca7dd9ec2225: Pulling fs layer [2023-01-04T18:58:04.720Z] ca7dd9ec2225: Download complete [2023-01-04T18:58:04.978Z] ca7dd9ec2225: Pull complete [2023-01-04T18:58:04.978Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T18:58:04.978Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T18:58:04.978Z] ---> bfe296a52501 [2023-01-04T18:58:04.978Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-04T18:58:04.978Z] ---> Running in 94981a656c1d [2023-01-04T18:58:05.237Z] Removing intermediate container 94981a656c1d [2023-01-04T18:58:05.237Z] ---> 2b88edb42f14 [2023-01-04T18:58:05.237Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-04T18:58:05.237Z] ---> Running in 4466914c65f8 [2023-01-04T18:58:05.237Z] Removing intermediate container 4466914c65f8 [2023-01-04T18:58:05.237Z] ---> 4aabe8f1c4f6 [2023-01-04T18:58:05.237Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T18:58:05.237Z] ---> Running in 50df22032ec6 [2023-01-04T18:58:05.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T18:58:05.757Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T18:58:06.018Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T18:58:06.018Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T18:58:06.018Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T18:58:06.018Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T18:58:06.018Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T18:58:06.018Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T18:58:06.018Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T18:58:06.018Z] OK: 8 MiB in 20 packages [2023-01-04T18:58:06.585Z] Removing intermediate container 50df22032ec6 [2023-01-04T18:58:06.585Z] ---> 700115857585 [2023-01-04T18:58:06.585Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-04T18:58:07.153Z] ---> 966e634c9693 [2023-01-04T18:58:07.153Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-04T18:58:07.153Z] ---> a75fce8e8912 [2023-01-04T18:58:07.153Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-04T18:58:07.414Z] ---> 2ab9f38b6526 [2023-01-04T18:58:07.414Z] Step 20/25 : EXPOSE 59986 [2023-01-04T18:58:07.414Z] ---> Running in 228e7f36dbba [2023-01-04T18:58:07.414Z] Removing intermediate container 228e7f36dbba [2023-01-04T18:58:07.414Z] ---> bbddb47b0cd3 [2023-01-04T18:58:07.414Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-04T18:58:07.414Z] ---> Running in 133c1d4ea363 [2023-01-04T18:58:07.675Z] Removing intermediate container 133c1d4ea363 [2023-01-04T18:58:07.675Z] ---> 3d43783fc618 [2023-01-04T18:58:07.675Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T18:58:07.675Z] ---> Running in 37ae08567577 [2023-01-04T18:58:07.675Z] Removing intermediate container 37ae08567577 [2023-01-04T18:58:07.675Z] ---> 387c20ad2f3d [2023-01-04T18:58:07.675Z] Step 23/25 : LABEL arch=amd64 [2023-01-04T18:58:07.675Z] ---> Running in e8ef1d2e47b5 [2023-01-04T18:58:07.935Z] Removing intermediate container e8ef1d2e47b5 [2023-01-04T18:58:07.935Z] ---> 53e928af5a53 [2023-01-04T18:58:07.935Z] Step 24/25 : LABEL git_sha=ae6d3e36a4ecc23782ace36827d70caa945237b3 [2023-01-04T18:58:07.935Z] ---> Running in ffff562ed4a6 [2023-01-04T18:58:07.935Z] Removing intermediate container ffff562ed4a6 [2023-01-04T18:58:07.935Z] ---> 3b8efba432ea [2023-01-04T18:58:07.935Z] Step 25/25 : LABEL version=0.0.0 [2023-01-04T18:58:07.935Z] ---> Running in 8b8d3714eec4 [2023-01-04T18:58:07.935Z] Removing intermediate container 8b8d3714eec4 [2023-01-04T18:58:07.935Z] ---> 9d84f539d9ae [2023-01-04T18:58:07.935Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T18:58:07.935Z] Successfully built 9d84f539d9ae [2023-01-04T18:58:07.935Z] 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-01-04T18:58:08.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T18:58:08.739Z] [2023-01-04T18:58:08.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T18:58:09.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T18:58:09.109Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-04T18:58:09.109Z] 5eb5b503b376: Pulling fs layer [2023-01-04T18:58:09.109Z] 5c69ac0246d0: Pulling fs layer [2023-01-04T18:58:09.109Z] ec43610c2a17: Pulling fs layer [2023-01-04T18:58:09.109Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-04T18:58:09.109Z] 33b1e0a273af: Pulling fs layer [2023-01-04T18:58:09.109Z] 5d3b04190fa2: Pulling fs layer [2023-01-04T18:58:09.109Z] 2f39f015ded8: Pulling fs layer [2023-01-04T18:58:09.109Z] 3a2ae6a8a46f: Waiting [2023-01-04T18:58:09.109Z] 33b1e0a273af: Waiting [2023-01-04T18:58:09.109Z] 5d3b04190fa2: Waiting [2023-01-04T18:58:09.109Z] 2f39f015ded8: Waiting [2023-01-04T18:58:09.109Z] 5c69ac0246d0: Download complete [2023-01-04T18:58:09.109Z] 3a2ae6a8a46f: Download complete [2023-01-04T18:58:09.109Z] 33b1e0a273af: Verifying Checksum [2023-01-04T18:58:09.109Z] 33b1e0a273af: Download complete [2023-01-04T18:58:09.109Z] 5d3b04190fa2: Download complete [2023-01-04T18:58:09.370Z] ec43610c2a17: Verifying Checksum [2023-01-04T18:58:09.370Z] ec43610c2a17: Download complete [2023-01-04T18:58:09.370Z] 5eb5b503b376: Verifying Checksum [2023-01-04T18:58:09.370Z] 5eb5b503b376: Download complete [2023-01-04T18:58:09.949Z] 2f39f015ded8: Download complete [2023-01-04T18:58:10.513Z] 5eb5b503b376: Pull complete [2023-01-04T18:58:10.513Z] 5c69ac0246d0: Pull complete [2023-01-04T18:58:10.772Z] ec43610c2a17: Pull complete [2023-01-04T18:58:11.029Z] 3a2ae6a8a46f: Pull complete [2023-01-04T18:58:11.287Z] 33b1e0a273af: Pull complete [2023-01-04T18:58:11.287Z] 5d3b04190fa2: Pull complete [2023-01-04T18:58:15.472Z] 2f39f015ded8: Pull complete [2023-01-04T18:58:15.472Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-04T18:58:15.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T18:58:15.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T18:58:15.681Z] prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container [2023-01-04T18:58:15.711Z] $ 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-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T18:58:17.310Z] $ docker top e7cb1114f718d78c4bf00e9cdcd48e394d6043f64765b827df4be790112dd914 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T18:58:17.768Z] ---> job-cost.sh [2023-01-04T18:58:17.768Z] lf-activate-venv: SKIPPING [2023-01-04T18:58:17.768Z] INFO: No Stack... [2023-01-04T18:58:18.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T18:58:18.594Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T18:58:18.907Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-233/archives/cost.csv [2023-01-04T18:58:18.907Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T18:58:18.948Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [2023-01-04T18:58:18.954Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] did not exist. Created. [2023-01-04T18:58:18.954Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T18:58:19.331Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-04T18:58:19.380Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T18:58:19.409Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T18:58:19.482Z] $ docker stop --time=1 e7cb1114f718d78c4bf00e9cdcd48e394d6043f64765b827df4be790112dd914 [2023-01-04T18:58:20.656Z] $ docker rm -f --volumes e7cb1114f718d78c4bf00e9cdcd48e394d6043f64765b827df4be790112dd914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-04T18:58:21.325Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1121 in /w/workspace/gexfoundry_device-rest-go_PR-233 [Pipeline] { [Pipeline] ws [2023-01-04T18:58:21.386Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-04T18:58:21.464Z] The recommended git tool is: git [2023-01-04T18:58:26.528Z] using credential edgex-jenkins-ssh [2023-01-04T18:58:26.545Z] Cloning the remote Git repository [2023-01-04T18:58:26.591Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-04T18:58:26.669Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-04T18:58:26.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-04T18:58:26.819Z] > git --version # timeout=10 [2023-01-04T18:58:26.844Z] > git --version # 'git version 2.25.1' [2023-01-04T18:58:26.846Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T18:58:26.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T18:58:28.642Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-04T18:58:28.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T18:58:30.034Z] Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit ae6d3e36a4ecc23782ace36827d70caa945237b3 [2023-01-04T18:58:30.256Z] Merge succeeded, producing ae6d3e36a4ecc23782ace36827d70caa945237b3 [2023-01-04T18:58:30.257Z] Checking out Revision ae6d3e36a4ecc23782ace36827d70caa945237b3 (PR-233) [2023-01-04T18:58:29.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-04T18:58:29.442Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-04T18:58:29.443Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T18:58:29.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/233/head:refs/remotes/origin/PR-233 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-04T18:58:30.053Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T18:58:30.075Z] > git checkout -f ae6d3e36a4ecc23782ace36827d70caa945237b3 # timeout=10 [2023-01-04T18:58:30.154Z] > git remote # timeout=10 [2023-01-04T18:58:30.172Z] > git config --get remote.origin.url # timeout=10 [2023-01-04T18:58:30.196Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T18:58:30.215Z] > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 [2023-01-04T18:58:30.240Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-04T18:58:30.262Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T18:58:30.274Z] > git checkout -f ae6d3e36a4ecc23782ace36827d70caa945237b3 # timeout=10 [2023-01-04T18:58:33.741Z] Commit message: "build(deps): Bump edgex-snap-hooks/v2 to v2.5.0" [2023-01-04T18:58:33.792Z] > git --version # timeout=10 [2023-01-04T18:58:33.805Z] > git --version # 'git version 2.25.1' [2023-01-04T18:58:33.823Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T18:58:34.916Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-04T18:58:34.916Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T18:58:34.916Z] Dload Upload Total Spent Left Speed [2023-01-04T18:58:34.916Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh [2023-01-04T18:58:35.632Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-04T18:58:35.978Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-04T18:58:35.978Z] + sudo tee /etc/docker/daemon.new [2023-01-04T18:58:35.978Z] { [2023-01-04T18:58:35.978Z] "registry-mirrors": [ [2023-01-04T18:58:35.978Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-04T18:58:35.978Z] ], [2023-01-04T18:58:35.978Z] "bip": "10.250.0.254/24", [2023-01-04T18:58:35.978Z] "hosts": [ [2023-01-04T18:58:35.978Z] "tcp://0.0.0.0:5555", [2023-01-04T18:58:35.978Z] "unix:///var/run/docker.sock" [2023-01-04T18:58:35.978Z] ], [2023-01-04T18:58:35.978Z] "mtu": 1458, [2023-01-04T18:58:35.978Z] "selinux-enabled": true, [2023-01-04T18:58:35.978Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-04T18:58:35.978Z] } [Pipeline] sh [2023-01-04T18:58:36.320Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-04T18:58:36.665Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T18:58:55.009Z] provisioning config files... [2023-01-04T18:58:55.034Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10670557455699788769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T18:58:55.419Z] ---> docker-login.sh [2023-01-04T18:58:55.419Z] nexus3.edgexfoundry.org:10001 [2023-01-04T18:58:55.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:58:55.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:58:55.959Z] Configure a credential helper to remove this warning. See [2023-01-04T18:58:55.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:58:55.959Z] [2023-01-04T18:58:55.959Z] Login Succeeded [2023-01-04T18:58:55.959Z] nexus3.edgexfoundry.org:10002 [2023-01-04T18:58:56.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:58:56.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:58:56.498Z] Configure a credential helper to remove this warning. See [2023-01-04T18:58:56.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:58:56.498Z] [2023-01-04T18:58:56.498Z] Login Succeeded [2023-01-04T18:58:56.498Z] nexus3.edgexfoundry.org:10003 [2023-01-04T18:58:56.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:58:56.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:58:56.768Z] Configure a credential helper to remove this warning. See [2023-01-04T18:58:56.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:58:56.768Z] [2023-01-04T18:58:56.768Z] Login Succeeded [2023-01-04T18:58:56.768Z] nexus3.edgexfoundry.org:10004 [2023-01-04T18:58:57.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:58:57.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:58:57.041Z] Configure a credential helper to remove this warning. See [2023-01-04T18:58:57.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:58:57.041Z] [2023-01-04T18:58:57.041Z] Login Succeeded [2023-01-04T18:58:57.041Z] docker.io [2023-01-04T18:58:57.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T18:58:57.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T18:58:57.580Z] Configure a credential helper to remove this warning. See [2023-01-04T18:58:57.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T18:58:57.580Z] [2023-01-04T18:58:57.580Z] Login Succeeded [2023-01-04T18:58:57.580Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T18:58:57.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T18:58:57.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T18:58:58.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T18:58:58.056Z] ========================================================= [2023-01-04T18:58:58.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-04T18:58:58.056Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T18:58:58.564Z] + 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-01-04T18:58:58.564Z] Sending build context to Docker daemon 129.5kB [2023-01-04T18:58:58.835Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T18:58:58.835Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T18:58:58.835Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-04T18:58:58.835Z] 9b18e9b68314: Pulling fs layer [2023-01-04T18:58:58.835Z] 35d82f9e3411: Pulling fs layer [2023-01-04T18:58:58.835Z] e16973657156: Pulling fs layer [2023-01-04T18:58:58.835Z] fc693d55d65f: Pulling fs layer [2023-01-04T18:58:58.835Z] 7e9fc2657dce: Pulling fs layer [2023-01-04T18:58:58.835Z] dda99020689f: Pulling fs layer [2023-01-04T18:58:58.835Z] db1c61fa0a46: Pulling fs layer [2023-01-04T18:58:58.835Z] 891c053d2c06: Pulling fs layer [2023-01-04T18:58:58.835Z] fc693d55d65f: Waiting [2023-01-04T18:58:58.835Z] 7e9fc2657dce: Waiting [2023-01-04T18:58:58.835Z] dda99020689f: Waiting [2023-01-04T18:58:58.835Z] db1c61fa0a46: Waiting [2023-01-04T18:58:58.835Z] 891c053d2c06: Waiting [2023-01-04T18:58:59.104Z] e16973657156: Verifying Checksum [2023-01-04T18:58:59.104Z] e16973657156: Download complete [2023-01-04T18:58:59.104Z] 35d82f9e3411: Verifying Checksum [2023-01-04T18:58:59.104Z] 35d82f9e3411: Download complete [2023-01-04T18:58:59.104Z] 7e9fc2657dce: Verifying Checksum [2023-01-04T18:58:59.104Z] 7e9fc2657dce: Download complete [2023-01-04T18:58:59.104Z] dda99020689f: Verifying Checksum [2023-01-04T18:58:59.104Z] dda99020689f: Download complete [2023-01-04T18:58:59.104Z] 9b18e9b68314: Verifying Checksum [2023-01-04T18:58:59.104Z] 9b18e9b68314: Download complete [2023-01-04T18:59:00.086Z] 9b18e9b68314: Pull complete [2023-01-04T18:59:00.086Z] 891c053d2c06: Verifying Checksum [2023-01-04T18:59:00.086Z] 891c053d2c06: Download complete [2023-01-04T18:59:00.368Z] 35d82f9e3411: Pull complete [2023-01-04T18:59:00.641Z] e16973657156: Pull complete [2023-01-04T18:59:01.239Z] db1c61fa0a46: Verifying Checksum [2023-01-04T18:59:01.239Z] db1c61fa0a46: Download complete [2023-01-04T18:59:01.826Z] fc693d55d65f: Verifying Checksum [2023-01-04T18:59:01.826Z] fc693d55d65f: Download complete [2023-01-04T18:59:14.171Z] fc693d55d65f: Pull complete [2023-01-04T18:59:14.171Z] 7e9fc2657dce: Pull complete [2023-01-04T18:59:14.171Z] dda99020689f: Pull complete [2023-01-04T18:59:20.851Z] db1c61fa0a46: Pull complete [2023-01-04T18:59:21.820Z] 891c053d2c06: Pull complete [2023-01-04T18:59:21.820Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-04T18:59:21.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-04T18:59:21.820Z] ---> f96f9c87975a [2023-01-04T18:59:21.820Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T18:59:23.838Z] ---> Running in 93d751b3d53c [2023-01-04T18:59:23.838Z] Removing intermediate container 93d751b3d53c [2023-01-04T18:59:23.838Z] ---> e35b25c39582 [2023-01-04T18:59:23.838Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T18:59:23.838Z] ---> Running in bfd4158650d8 [2023-01-04T18:59:24.106Z] Removing intermediate container bfd4158650d8 [2023-01-04T18:59:24.106Z] ---> ce37089e08bc [2023-01-04T18:59:24.106Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T18:59:24.380Z] ---> Running in a5991e9a0a4a [2023-01-04T18:59:24.646Z] Removing intermediate container a5991e9a0a4a [2023-01-04T18:59:24.646Z] ---> 24c2fa949bc0 [2023-01-04T18:59:24.646Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T18:59:24.646Z] ---> Running in 340b107d4cc3 [2023-01-04T18:59:24.917Z] Removing intermediate container 340b107d4cc3 [2023-01-04T18:59:24.917Z] ---> d47477045648 [2023-01-04T18:59:24.917Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T18:59:25.192Z] ---> Running in a238724e4d33 [2023-01-04T18:59:26.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T18:59:27.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T18:59:28.520Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T18:59:28.520Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T18:59:28.520Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T18:59:28.787Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T18:59:29.057Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T18:59:29.057Z] OK: 226 MiB in 55 packages [2023-01-04T18:59:30.020Z] Removing intermediate container a238724e4d33 [2023-01-04T18:59:30.020Z] ---> d3a0a81e817b [2023-01-04T18:59:30.020Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-04T18:59:30.288Z] ---> Running in a6833fbdbee2 [2023-01-04T18:59:30.556Z] Removing intermediate container a6833fbdbee2 [2023-01-04T18:59:30.556Z] ---> e9a14e9c5c11 [2023-01-04T18:59:30.556Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T18:59:31.141Z] ---> 8fad4c04335e [2023-01-04T18:59:31.141Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T18:59:31.141Z] ---> Running in 782749d3e9d7 [2023-01-04T19:01:07.794Z] Removing intermediate container 782749d3e9d7 [2023-01-04T19:01:07.794Z] ---> 8ba460b7ae36 [2023-01-04T19:01:07.794Z] Step 11/12 : COPY . . [2023-01-04T19:01:07.794Z] ---> 8a853334e3ff [2023-01-04T19:01:07.794Z] Step 12/12 : RUN $MAKE [2023-01-04T19:01:07.794Z] ---> Running in e2e88572619b [2023-01-04T19:01:07.794Z] noop [2023-01-04T19:01:07.794Z] Removing intermediate container e2e88572619b [2023-01-04T19:01:07.794Z] ---> ed51d6e07a2a [2023-01-04T19:01:07.794Z] Successfully built ed51d6e07a2a [2023-01-04T19:01:07.794Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:01:08.269Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T19:01:08.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:01:08.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-1121 does not seem to be running inside a container [2023-01-04T19:01:08.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T19:01:09.761Z] $ docker top 99b6ae2c9a168de55009daceaa13c4d85ab56746db9899017d11c3ba962cd62f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:01:10.686Z] + go version [2023-01-04T19:01:10.686Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-04T19:01:10.665Z] $ docker stop --time=1 99b6ae2c9a168de55009daceaa13c4d85ab56746db9899017d11c3ba962cd62f [2023-01-04T19:01:12.246Z] $ docker rm -f --volumes 99b6ae2c9a168de55009daceaa13c4d85ab56746db9899017d11c3ba962cd62f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:01:13.145Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T19:01:13.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:01:13.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-1121 does not seem to be running inside a container [2023-01-04T19:01:13.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T19:01:14.554Z] $ docker top 6e4be4758b1e3f2b67e1435db5f3194231f7af08959f8049ae8c930ba546f29c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:01:15.167Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-04T19:01:15.868Z] + make test [2023-01-04T19:01:15.868Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T19:01:17.295Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-04T19:02:39.129Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-04T19:02:39.129Z] ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 55.2% of statements [2023-01-04T19:02:39.129Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-04T19:02:39.129Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T19:02:57.350Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T19:02:57.350Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T19:02:57.350Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T19:02:57.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T19:02:57.390Z] $ docker stop --time=1 6e4be4758b1e3f2b67e1435db5f3194231f7af08959f8049ae8c930ba546f29c [2023-01-04T19:02:59.133Z] $ docker rm -f --volumes 6e4be4758b1e3f2b67e1435db5f3194231f7af08959f8049ae8c930ba546f29c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T19:03:00.177Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T19:03:00.212Z] Warning: overwriting stash ‘coverage-report’ [2023-01-04T19:03:00.780Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T19:03:01.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T19:03:01.734Z] + ls -al . [2023-01-04T19:03:01.734Z] total 184 [2023-01-04T19:03:01.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 19:01 . [2023-01-04T19:03:01.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:58 .. [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 4 18:58 .dockerignore [2023-01-04T19:03:01.734Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 18:58 .git [2023-01-04T19:03:01.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 18:58 .github [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 18:58 .gitignore [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 18:58 .golangci.yml [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 4 18:58 Attribution.txt [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 4 18:58 CHANGELOG.md [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 4 18:58 Dockerfile [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 18:58 GOVERNANCE.md [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 4 18:58 Jenkinsfile [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 18:58 LICENSE [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 4 18:58 Makefile [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 18:58 OWNERS.md [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 4 18:58 README.md [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 18:56 VERSION [2023-01-04T19:03:01.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:58 bin [2023-01-04T19:03:01.734Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 18:58 cmd [2023-01-04T19:03:01.734Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 4 19:02 coverage.out [2023-01-04T19:03:01.734Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 18:58 driver [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 4 18:58 go.mod [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 18:58 go.sum [2023-01-04T19:03:01.734Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 18:58 snap [2023-01-04T19:03:01.734Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 4 18:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:03:02.152Z] + 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=ae6d3e36a4ecc23782ace36827d70caa945237b3 --label arch=arm64 --label version=0.0.0 . [2023-01-04T19:03:02.152Z] Sending build context to Docker daemon 139.8kB [2023-01-04T19:03:02.419Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:03:02.419Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-04T19:03:02.419Z] ---> ed51d6e07a2a [2023-01-04T19:03:02.420Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:03:02.420Z] ---> Running in 831704134be1 [2023-01-04T19:03:02.686Z] Removing intermediate container 831704134be1 [2023-01-04T19:03:02.686Z] ---> e639b89105a9 [2023-01-04T19:03:02.686Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:03:02.951Z] ---> Running in 9e01599e6377 [2023-01-04T19:03:03.218Z] Removing intermediate container 9e01599e6377 [2023-01-04T19:03:03.218Z] ---> ea53296d6e63 [2023-01-04T19:03:03.218Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T19:03:03.218Z] ---> Running in 1c057658b60a [2023-01-04T19:03:03.485Z] Removing intermediate container 1c057658b60a [2023-01-04T19:03:03.485Z] ---> d6ffdee73683 [2023-01-04T19:03:03.485Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T19:03:03.485Z] ---> Running in 5be62eb47e73 [2023-01-04T19:03:04.072Z] Removing intermediate container 5be62eb47e73 [2023-01-04T19:03:04.072Z] ---> d60a93ac59db [2023-01-04T19:03:04.072Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T19:03:04.072Z] ---> Running in d3fa159f2d72 [2023-01-04T19:03:05.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T19:03:05.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T19:03:06.348Z] OK: 226 MiB in 55 packages [2023-01-04T19:03:07.771Z] Removing intermediate container d3fa159f2d72 [2023-01-04T19:03:07.771Z] ---> cdee63cdf9ba [2023-01-04T19:03:07.771Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-04T19:03:07.771Z] ---> Running in adefd9b75689 [2023-01-04T19:03:08.044Z] Removing intermediate container adefd9b75689 [2023-01-04T19:03:08.044Z] ---> 0caa1c68834f [2023-01-04T19:03:08.044Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-04T19:03:08.331Z] ---> 7174a124ea89 [2023-01-04T19:03:08.331Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:03:08.612Z] ---> Running in d2633141eb95 [2023-01-04T19:03:10.585Z] Removing intermediate container d2633141eb95 [2023-01-04T19:03:10.585Z] ---> bedbc0a989c5 [2023-01-04T19:03:10.585Z] Step 11/25 : COPY . . [2023-01-04T19:03:11.175Z] ---> 32a75c7fd439 [2023-01-04T19:03:11.175Z] Step 12/25 : RUN $MAKE [2023-01-04T19:03:11.175Z] ---> Running in 78f6e37f66af [2023-01-04T19:03:12.142Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2023-01-04T19:05:33.841Z] Removing intermediate container 78f6e37f66af [2023-01-04T19:05:33.841Z] ---> c0dd1bdf6a35 [2023-01-04T19:05:33.841Z] Step 13/25 : FROM alpine:3.16 [2023-01-04T19:05:33.841Z] 3.16: Pulling from library/alpine [2023-01-04T19:05:33.841Z] 6875df1f5354: Pulling fs layer [2023-01-04T19:05:33.841Z] 6875df1f5354: Download complete [2023-01-04T19:05:33.841Z] 6875df1f5354: Pull complete [2023-01-04T19:05:33.841Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T19:05:33.841Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T19:05:33.841Z] ---> 2b4661558fb8 [2023-01-04T19:05:33.841Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-04T19:05:33.841Z] ---> Running in 628c5dd7331d [2023-01-04T19:05:33.841Z] Removing intermediate container 628c5dd7331d [2023-01-04T19:05:33.841Z] ---> 1dc0b6749df6 [2023-01-04T19:05:33.841Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-04T19:05:33.841Z] ---> Running in 295dfece36dc [2023-01-04T19:05:33.841Z] Removing intermediate container 295dfece36dc [2023-01-04T19:05:33.841Z] ---> 641ef26ab150 [2023-01-04T19:05:33.841Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T19:05:33.841Z] ---> Running in b8629a179d1c [2023-01-04T19:05:33.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T19:05:33.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T19:05:33.841Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T19:05:33.841Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T19:05:33.841Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T19:05:33.841Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T19:05:33.841Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T19:05:33.841Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T19:05:33.841Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T19:05:33.841Z] OK: 8 MiB in 20 packages [2023-01-04T19:05:33.841Z] Removing intermediate container b8629a179d1c [2023-01-04T19:05:33.841Z] ---> fb4a822c6819 [2023-01-04T19:05:33.841Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-04T19:05:33.841Z] ---> 3d25980edef7 [2023-01-04T19:05:33.841Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-04T19:05:33.841Z] ---> 92d9e6abf1c9 [2023-01-04T19:05:33.841Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-04T19:05:33.841Z] ---> 3ac99bc31e97 [2023-01-04T19:05:33.841Z] Step 20/25 : EXPOSE 59986 [2023-01-04T19:05:33.841Z] ---> Running in 6a0ecdb9813e [2023-01-04T19:05:33.841Z] Removing intermediate container 6a0ecdb9813e [2023-01-04T19:05:33.841Z] ---> 1bb2582ea0c8 [2023-01-04T19:05:33.841Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-04T19:05:33.841Z] ---> Running in 6f2632c61fbb [2023-01-04T19:05:33.842Z] Removing intermediate container 6f2632c61fbb [2023-01-04T19:05:33.842Z] ---> 1f568a288527 [2023-01-04T19:05:33.842Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T19:05:33.842Z] ---> Running in 15e6744acb02 [2023-01-04T19:05:33.842Z] Removing intermediate container 15e6744acb02 [2023-01-04T19:05:33.842Z] ---> b14ed862a0f9 [2023-01-04T19:05:33.842Z] Step 23/25 : LABEL arch=arm64 [2023-01-04T19:05:33.842Z] ---> Running in 87e64a863214 [2023-01-04T19:05:33.842Z] Removing intermediate container 87e64a863214 [2023-01-04T19:05:33.842Z] ---> 2df687e49451 [2023-01-04T19:05:33.842Z] Step 24/25 : LABEL git_sha=ae6d3e36a4ecc23782ace36827d70caa945237b3 [2023-01-04T19:05:33.842Z] ---> Running in 53fc6a6e12d1 [2023-01-04T19:05:33.842Z] Removing intermediate container 53fc6a6e12d1 [2023-01-04T19:05:33.842Z] ---> 179fe71d0b5f [2023-01-04T19:05:33.842Z] Step 25/25 : LABEL version=0.0.0 [2023-01-04T19:05:33.842Z] ---> Running in 42e5c7abfa99 [2023-01-04T19:05:33.842Z] Removing intermediate container 42e5c7abfa99 [2023-01-04T19:05:33.842Z] ---> d45a2d5c5063 [2023-01-04T19:05:33.842Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T19:05:33.842Z] Successfully built d45a2d5c5063 [2023-01-04T19:05:33.842Z] 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-01-04T19:05:34.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:05:34.606Z] [2023-01-04T19:05:34.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:05:35.009Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:05:35.009Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-04T19:05:35.009Z] 8998bd30e6a1: Pulling fs layer [2023-01-04T19:05:35.009Z] 04944245beec: Pulling fs layer [2023-01-04T19:05:35.009Z] 699f458cf7ca: Pulling fs layer [2023-01-04T19:05:35.009Z] 765212b225bb: Pulling fs layer [2023-01-04T19:05:35.009Z] f23df028b6ca: Pulling fs layer [2023-01-04T19:05:35.009Z] d65c8cfc05b1: Pulling fs layer [2023-01-04T19:05:35.009Z] 2437ff75d9bd: Pulling fs layer [2023-01-04T19:05:35.009Z] 765212b225bb: Waiting [2023-01-04T19:05:35.009Z] 2437ff75d9bd: Waiting [2023-01-04T19:05:35.009Z] d65c8cfc05b1: Waiting [2023-01-04T19:05:35.009Z] f23df028b6ca: Waiting [2023-01-04T19:05:35.275Z] 04944245beec: Verifying Checksum [2023-01-04T19:05:35.275Z] 04944245beec: Download complete [2023-01-04T19:05:35.275Z] 765212b225bb: Verifying Checksum [2023-01-04T19:05:35.275Z] 765212b225bb: Download complete [2023-01-04T19:05:35.275Z] f23df028b6ca: Verifying Checksum [2023-01-04T19:05:35.275Z] f23df028b6ca: Download complete [2023-01-04T19:05:35.275Z] d65c8cfc05b1: Verifying Checksum [2023-01-04T19:05:35.275Z] d65c8cfc05b1: Download complete [2023-01-04T19:05:35.275Z] 699f458cf7ca: Verifying Checksum [2023-01-04T19:05:35.275Z] 699f458cf7ca: Download complete [2023-01-04T19:05:35.855Z] 8998bd30e6a1: Download complete [2023-01-04T19:05:37.806Z] 2437ff75d9bd: Verifying Checksum [2023-01-04T19:05:37.806Z] 2437ff75d9bd: Download complete [2023-01-04T19:05:39.739Z] 8998bd30e6a1: Pull complete [2023-01-04T19:05:39.739Z] 04944245beec: Pull complete [2023-01-04T19:05:41.686Z] 699f458cf7ca: Pull complete [2023-01-04T19:05:41.954Z] 765212b225bb: Pull complete [2023-01-04T19:05:42.913Z] f23df028b6ca: Pull complete [2023-01-04T19:05:42.913Z] d65c8cfc05b1: Pull complete [2023-01-04T19:05:57.907Z] 2437ff75d9bd: Pull complete [2023-01-04T19:05:57.907Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-04T19:05:57.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:05:57.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:05:58.209Z] prd-ubuntu20.04-docker-arm64-4c-16g-1121 does not seem to be running inside a container [2023-01-04T19:05:58.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-04T19:06:00.630Z] $ docker top 069e0de570aa72f848c6f2555bce16291babdcf0a4d713a5af2c266ee6ae778d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:01.232Z] ---> job-cost.sh [2023-01-04T19:06:01.496Z] lf-activate-venv: SKIPPING [2023-01-04T19:06:01.496Z] INFO: No Stack... [2023-01-04T19:06:01.760Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-04T19:06:02.712Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T19:06:03.044Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-01-04T19:06:03.044Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T19:06:03.126Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [2023-01-04T19:06:03.132Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] did not exist. Created. [2023-01-04T19:06:03.132Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T19:06:03.531Z] /w/workspace/device-rest-go/1@tmp/durable-22b36c0e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-04T19:06:03.877Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-04T19:06:03.911Z] Warning: overwriting stash ‘stack-cost’ [2023-01-04T19:06:03.953Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T19:06:03.972Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-233-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T19:06:04.018Z] $ docker stop --time=1 069e0de570aa72f848c6f2555bce16291babdcf0a4d713a5af2c266ee6ae778d [2023-01-04T19:06:08.005Z] $ docker rm -f --volumes 069e0de570aa72f848c6f2555bce16291babdcf0a4d713a5af2c266ee6ae778d [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-01-04T19:06:09.029Z] provisioning config files... [2023-01-04T19:06:09.038Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/config16667495019920910657tmp [Pipeline] { [Pipeline] sh [2023-01-04T19:06:09.362Z] + set +x [2023-01-04T19:06:09.362Z] + bash -s -- [2023-01-04T19:06:09.362Z] + curl -s https://codecov.io/bash [2023-01-04T19:06:09.362Z] [2023-01-04T19:06:09.362Z] _____ _ [2023-01-04T19:06:09.362Z] / ____| | | [2023-01-04T19:06:09.362Z] | | ___ __| | ___ ___ _____ __ [2023-01-04T19:06:09.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-04T19:06:09.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-04T19:06:09.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-04T19:06:09.362Z] Bash-1.0.6 [2023-01-04T19:06:09.362Z] [2023-01-04T19:06:09.362Z] [2023-01-04T19:06:09.362Z] ==> git version 2.25.1 found [2023-01-04T19:06:09.362Z] ==> 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-01-04T19:06:09.362Z] Release-Date: 2020-01-08 [2023-01-04T19:06:09.362Z] 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-01-04T19:06:09.362Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-04T19:06:09.362Z] ==> Jenkins CI detected. [2023-01-04T19:06:09.362Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-233 [2023-01-04T19:06:09.362Z] project root: . [2023-01-04T19:06:09.362Z] --> token set from env [2023-01-04T19:06:09.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-04T19:06:09.362Z] ==> Running gcov in . (disable via -X gcov) [2023-01-04T19:06:09.362Z] ==> Python coveragepy not found [2023-01-04T19:06:09.362Z] ==> Searching for coverage reports in: [2023-01-04T19:06:09.362Z] + . [2023-01-04T19:06:09.362Z] -> Found 1 reports [2023-01-04T19:06:09.362Z] ==> Detecting git/mercurial file structure [2023-01-04T19:06:09.362Z] ==> Reading reports [2023-01-04T19:06:09.362Z] + ./coverage.out bytes=9355 [2023-01-04T19:06:09.362Z] ==> Appending adjustments [2023-01-04T19:06:09.362Z] https://docs.codecov.io/docs/fixing-reports [2023-01-04T19:06:09.623Z] + Found adjustments [2023-01-04T19:06:09.623Z] ==> Gzipping contents [2023-01-04T19:06:09.623Z] 4.0K /tmp/codecov.Zg5aff.gz [2023-01-04T19:06:09.623Z] ==> Uploading reports [2023-01-04T19:06:09.623Z] url: https://codecov.io [2023-01-04T19:06:09.623Z] query: branch=PR-233&commit=ae6d3e36a4ecc23782ace36827d70caa945237b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-233%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=233&job=&cmd_args= [2023-01-04T19:06:09.623Z] -> Pinging Codecov [2023-01-04T19:06:09.623Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-233&commit=ae6d3e36a4ecc23782ace36827d70caa945237b3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-233%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=233&job=&cmd_args= [2023-01-04T19:06:09.882Z] -> Uploading to [2023-01-04T19:06:09.882Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-04/4E5D53B4F1F92C436F7061BF334D961C/ae6d3e36a4ecc23782ace36827d70caa945237b3/c518b35d-0ab2-476e-a139-3a2df51633ac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T190609Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ed61ec981a4ab9a939ad9e89ea0b8417b898ee67eae73e4a293b359703738a71 [2023-01-04T19:06:09.882Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T19:06:09.882Z] Dload Upload Total Spent Left Speed [2023-01-04T19:06:10.141Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1743 0 0 100 1743 0 7000 --:--:-- --:--:-- --:--:-- 7028 [2023-01-04T19:06:10.141Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ae6d3e36a4ecc23782ace36827d70caa945237b3 [Pipeline] } [2023-01-04T19:06:10.169Z] 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-01-04T19:06:11.700Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-233/archives ] [2023-01-04T19:06:11.700Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-233/archives [2023-01-04T19:06:11.700Z] total 16 [2023-01-04T19:06:11.700Z] drwxr-xr-x 3 root root 4096 Jan 4 18:58 . [2023-01-04T19:06:11.700Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 18:58 .. [2023-01-04T19:06:11.700Z] drwxr-xr-x 2 root root 4096 Jan 4 18:58 cost [2023-01-04T19:06:11.700Z] -rw-r--r-- 1 root root 86 Jan 4 18:58 cost.csv [2023-01-04T19:06:11.700Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-233/archives [2023-01-04T19:06:11.700Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-233/archives [2023-01-04T19:06:11.700Z] total 16 [2023-01-04T19:06:11.700Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 18:58 . [2023-01-04T19:06:11.700Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 18:58 .. [2023-01-04T19:06:11.700Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 18:58 cost [2023-01-04T19:06:11.700Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 4 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:12.028Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:12.920Z] ---> package-listing.sh [2023-01-04T19:06:12.920Z] ++ facter osfamily [2023-01-04T19:06:12.920Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-04T19:06:13.180Z] + OS_FAMILY=debian [2023-01-04T19:06:13.180Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-233 [2023-01-04T19:06:13.180Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-04T19:06:13.180Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-04T19:06:13.180Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-04T19:06:13.180Z] + PACKAGES=/tmp/packages_start.txt [2023-01-04T19:06:13.180Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-233 ']' [2023-01-04T19:06:13.180Z] + PACKAGES=/tmp/packages_end.txt [2023-01-04T19:06:13.180Z] + case "${OS_FAMILY}" in [2023-01-04T19:06:13.180Z] + dpkg -l [2023-01-04T19:06:13.180Z] + grep '^ii' [2023-01-04T19:06:13.180Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-04T19:06:13.180Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-04T19:06:13.180Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-04T19:06:13.180Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-233 ']' [2023-01-04T19:06:13.180Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-233/archives/ [2023-01-04T19:06:13.180Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-233/archives/ [Pipeline] echo [2023-01-04T19:06:13.217Z] 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-233/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-04T19:06:13.511Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:06:14.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:06:14.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:06:14.262Z] prd-ubuntu20.04-docker-8c-8g-1120 does not seem to be running inside a container [2023-01-04T19:06:14.296Z] $ 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-233/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-233 -v /w/workspace/gexfoundry_device-rest-go_PR-233:/w/workspace/gexfoundry_device-rest-go_PR-233:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-233@tmp:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T19:06:14.539Z] $ docker top 10ccd2eaf39263f1991b519825173e10f0bbf22a9448a396f6400f3380fb2849 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:06:14.923Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-04T19:06:15.230Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-04T19:06:15.539Z] + ls /var/log/sa-host [2023-01-04T19:06:15.540Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T19:06:15.739Z] provisioning config files... [2023-01-04T19:06:15.747Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-233@tmp/config9706211177162378247tmp [Pipeline] { [Pipeline] echo [2023-01-04T19:06:15.794Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:16.103Z] ---> create-netrc.sh [Pipeline] } [2023-01-04T19:06:16.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:16.545Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-04T19:06:16.582Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:16.896Z] ---> sudo-logs.sh [2023-01-04T19:06:16.896Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-04T19:06:16.985Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:17.289Z] ---> job-cost.sh [2023-01-04T19:06:17.289Z] lf-activate-venv: SKIPPING [2023-01-04T19:06:17.289Z] DEBUG: total: 0.2199999988079071 [2023-01-04T19:06:17.289Z] INFO: Retrieving Stack Cost... [2023-01-04T19:06:17.856Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T19:06:18.115Z] INFO: Archiving Costs [Pipeline] echo [2023-01-04T19:06:18.157Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:06:18.468Z] ---> logs-deploy.sh [2023-01-04T19:06:18.468Z] lf-activate-venv: SKIPPING [2023-01-04T19:06:18.468Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-233/1 [2023-01-04T19:06:18.468Z] INFO: archiving workspace using pattern(s): [2023-01-04T19:06:19.404Z] Archives upload complete. [2023-01-04T19:06:19.404Z] INFO: archiving logs to Nexus