Pull request #331 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 jackchenjc for edgexfoundry/device-rest-go Loading trusted files from base branch main at 89173ea65a943aba0f4628b8150ce015ac4d5016 rather than bbfcc0226598174b6127e805ff9b931fc1acdcd9 Obtained Jenkinsfile from 89173ea65a943aba0f4628b8150ce015ac4d5016 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-ssh16774055719201042563.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh18393239334500668772.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-331/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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11350448928271323315.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-331/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13096932989840109656.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh7046713348703979492.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-331/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-331/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14852598293190232783.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-3201’ Running on prd-ubuntu20.04-docker-8c-8g-3204 in /w/workspace/gexfoundry_device-rest-go_PR-331 [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-331 # 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 Merging remotes/origin/main commit 89173ea65a943aba0f4628b8150ce015ac4d5016 into PR head commit bbfcc0226598174b6127e805ff9b931fc1acdcd9 Merge succeeded, producing bbfcc0226598174b6127e805ff9b931fc1acdcd9 Checking out Revision bbfcc0226598174b6127e805ff9b931fc1acdcd9 (PR-331) > 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/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbfcc0226598174b6127e805ff9b931fc1acdcd9 # 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 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbfcc0226598174b6127e805ff9b931fc1acdcd9 # timeout=10 Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-09T10:07:33.454Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-09T10:07:33.638Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-09T10:07:33.738Z] ========================================================= [2023-08-09T10:07:33.738Z] EdgeX Global Pipelines Version Info [2023-08-09T10:07:33.738Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:07:34.504Z] ------------------- [2023-08-09T10:07:34.504Z] stable info: [2023-08-09T10:07:34.504Z] ------------------- [2023-08-09T10:07:34.504Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-09T10:07:34.504Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-09T10:07:34.504Z] Message: update stable to v1.0.250 [2023-08-09T10:07:35.072Z] ------------------- [2023-08-09T10:07:35.072Z] experimental info: [2023-08-09T10:07:35.072Z] ------------------- [2023-08-09T10:07:35.072Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-09T10:07:35.072Z] Commit SHA: e40317f62605a4f3b5f0b8a3ca7537e8fb1ff910 [2023-08-09T10:07:35.072Z] Message: update experimental to v1.0.252 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-09T10:07:35.360Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-09T10:07:35.401Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-09T10:07:35.440Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-09T10:07:35.479Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-09T10:07:35.524Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-09T10:07:35.564Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-09T10:07:35.610Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-09T10:07:35.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-09T10:07:35.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-09T10:07:35.735Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-09T10:07:35.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-09T10:07:35.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-09T10:07:35.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-09T10:07:35.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-09T10:07:35.939Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:07:35.979Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-09T10:07:36.018Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:07:36.059Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-09T10:07:36.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-09T10:07:36.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-09T10:07:36.180Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-09T10:07:36.216Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-09T10:07:36.257Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-09T10:07:36.298Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-09T10:07:36.345Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-09T10:07:36.386Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-09T10:07:36.434Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-09T10:07:36.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-331 [Pipeline] echo [2023-08-09T10:07:36.517Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-331 [Pipeline] echo [2023-08-09T10:07:36.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-331 [Pipeline] echo [2023-08-09T10:07:36.601Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] echo [2023-08-09T10:07:36.643Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbfcc02 [Pipeline] echo [2023-08-09T10:07:36.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:07:36.799Z] provisioning config files... [2023-08-09T10:07:36.809Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/config8919333164424633379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:07:37.159Z] ---> docker-login.sh [2023-08-09T10:07:37.159Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:07:37.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:37.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:37.418Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:37.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:37.418Z] [2023-08-09T10:07:37.418Z] Login Succeeded [2023-08-09T10:07:37.418Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:07:37.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:37.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:37.418Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:37.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:37.418Z] [2023-08-09T10:07:37.418Z] Login Succeeded [2023-08-09T10:07:37.418Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:07:37.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:37.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:37.677Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:37.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:37.677Z] [2023-08-09T10:07:37.677Z] Login Succeeded [2023-08-09T10:07:37.677Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:07:37.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:37.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:37.677Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:37.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:37.677Z] [2023-08-09T10:07:37.677Z] Login Succeeded [2023-08-09T10:07:37.677Z] docker.io [2023-08-09T10:07:37.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:37.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:37.936Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:37.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:37.936Z] [2023-08-09T10:07:37.936Z] Login Succeeded [2023-08-09T10:07:37.936Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:07:37.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-09T10:07:38.643Z] + git rev-list -1 --merges bbfcc0226598174b6127e805ff9b931fc1acdcd9~1..bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] echo [2023-08-09T10:07:38.705Z] -----------> git rev-list -1 --merges bbfcc0226598174b6127e805ff9b931fc1acdcd9~1..bbfcc0226598174b6127e805ff9b931fc1acdcd9 bbfcc0226598174b6127e805ff9b931fc1acdcd9 [false] [Pipeline] sh [2023-08-09T10:07:39.015Z] + git log --format=format:%s -1 bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] echo [2023-08-09T10:07:39.051Z] ========================================================= [2023-08-09T10:07:39.051Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-09T10:07:39.051Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:07:39.480Z] + git log --format=format:%s -1 bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] echo [2023-08-09T10:07:39.510Z] [semverPrep] GIT_COMMIT: bbfcc0226598174b6127e805ff9b931fc1acdcd9, Commit Message: refactor: Remove github.com/pkg/errors from Attribution.txt [Pipeline] echo [2023-08-09T10:07:39.544Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-09T10:07:39.938Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-09T10:07:39.939Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-09T10:07:39.939Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-09T10:07:39.939Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-09T10:07:39.939Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-09T10:07:39.939Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-09T10:07:39.939Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:07:40.387Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:07:40.387Z] [2023-08-09T10:07:40.387Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:07:40.765Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:07:40.765Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-09T10:07:40.765Z] b85a868b505f: Pulling fs layer [2023-08-09T10:07:40.765Z] e2be974225ed: Pulling fs layer [2023-08-09T10:07:40.765Z] 339a4e72a1f5: Pulling fs layer [2023-08-09T10:07:40.765Z] 988bab9f4d93: Pulling fs layer [2023-08-09T10:07:40.765Z] 1469e6f7b9e6: Pulling fs layer [2023-08-09T10:07:40.765Z] eaf3925da568: Pulling fs layer [2023-08-09T10:07:40.765Z] bab4dde63d76: Pulling fs layer [2023-08-09T10:07:40.765Z] bde34c3a00c8: Pulling fs layer [2023-08-09T10:07:40.765Z] b352a97aabf1: Pulling fs layer [2023-08-09T10:07:40.765Z] 4872d77fe225: Pulling fs layer [2023-08-09T10:07:40.765Z] 5851b861e8e6: Pulling fs layer [2023-08-09T10:07:40.765Z] bab4dde63d76: Waiting [2023-08-09T10:07:40.765Z] bde34c3a00c8: Waiting [2023-08-09T10:07:40.765Z] b352a97aabf1: Waiting [2023-08-09T10:07:40.765Z] 4872d77fe225: Waiting [2023-08-09T10:07:40.765Z] 5851b861e8e6: Waiting [2023-08-09T10:07:40.765Z] 988bab9f4d93: Waiting [2023-08-09T10:07:40.765Z] 1469e6f7b9e6: Waiting [2023-08-09T10:07:40.765Z] eaf3925da568: Waiting [2023-08-09T10:07:40.765Z] e2be974225ed: Verifying Checksum [2023-08-09T10:07:40.765Z] e2be974225ed: Download complete [2023-08-09T10:07:40.765Z] 988bab9f4d93: Verifying Checksum [2023-08-09T10:07:40.765Z] 988bab9f4d93: Download complete [2023-08-09T10:07:41.023Z] 1469e6f7b9e6: Verifying Checksum [2023-08-09T10:07:41.023Z] 1469e6f7b9e6: Download complete [2023-08-09T10:07:41.023Z] 339a4e72a1f5: Verifying Checksum [2023-08-09T10:07:41.023Z] 339a4e72a1f5: Download complete [2023-08-09T10:07:41.023Z] eaf3925da568: Verifying Checksum [2023-08-09T10:07:41.023Z] eaf3925da568: Download complete [2023-08-09T10:07:41.023Z] bde34c3a00c8: Download complete [2023-08-09T10:07:41.023Z] b352a97aabf1: Verifying Checksum [2023-08-09T10:07:41.023Z] b352a97aabf1: Download complete [2023-08-09T10:07:41.023Z] 4872d77fe225: Verifying Checksum [2023-08-09T10:07:41.023Z] 4872d77fe225: Download complete [2023-08-09T10:07:41.023Z] 5851b861e8e6: Verifying Checksum [2023-08-09T10:07:41.023Z] 5851b861e8e6: Download complete [2023-08-09T10:07:41.023Z] b85a868b505f: Verifying Checksum [2023-08-09T10:07:41.023Z] b85a868b505f: Download complete [2023-08-09T10:07:41.281Z] bab4dde63d76: Verifying Checksum [2023-08-09T10:07:41.281Z] bab4dde63d76: Download complete [2023-08-09T10:07:42.216Z] b85a868b505f: Pull complete [2023-08-09T10:07:42.476Z] e2be974225ed: Pull complete [2023-08-09T10:07:42.737Z] 339a4e72a1f5: Pull complete [2023-08-09T10:07:42.996Z] 988bab9f4d93: Pull complete [2023-08-09T10:07:43.257Z] 1469e6f7b9e6: Pull complete [2023-08-09T10:07:43.257Z] eaf3925da568: Pull complete [2023-08-09T10:07:45.155Z] bab4dde63d76: Pull complete [2023-08-09T10:07:45.155Z] bde34c3a00c8: Pull complete [2023-08-09T10:07:45.155Z] b352a97aabf1: Pull complete [2023-08-09T10:07:45.155Z] 4872d77fe225: Pull complete [2023-08-09T10:07:45.414Z] 5851b861e8e6: Pull complete [2023-08-09T10:07:45.414Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-09T10:07:45.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-09T10:07:45.414Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:07:45.670Z] prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container [2023-08-09T10:07:45.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@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-08-09T10:07:49.377Z] $ docker top 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 -eo pid,comm [2023-08-09T10:07:49.431Z] 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-08-09T10:07:49.431Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-09T10:07:49.572Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:07:49.573Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:07:49.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:07:49.698Z] $ docker exec 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 ssh-agent [2023-08-09T10:07:49.812Z] SSH_AUTH_SOCK=/tmp/ssh-uspa0jE7I04U/agent.32 [2023-08-09T10:07:49.812Z] SSH_AGENT_PID=38 [2023-08-09T10:07:49.816Z] Running ssh-add (command line suppressed) [2023-08-09T10:07:49.921Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-331@tmp/private_key_11337759208510447033.key (/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/private_key_11337759208510447033.key) [2023-08-09T10:07:49.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:07:50.260Z] + git tag --points-at HEAD [Pipeline] } [2023-08-09T10:07:50.289Z] $ docker exec --env ******** --env ******** 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 ssh-agent -k [2023-08-09T10:07:50.405Z] unset SSH_AUTH_SOCK; [2023-08-09T10:07:50.405Z] unset SSH_AGENT_PID; [2023-08-09T10:07:50.406Z] echo Agent pid 38 killed; [2023-08-09T10:07:50.415Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-09T10:07:50.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-09T10:07:50.506Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-09T10:07:50.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-09T10:07:50.629Z] $ docker exec 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 ssh-agent [2023-08-09T10:07:50.739Z] SSH_AUTH_SOCK=/tmp/ssh-r9SnoLND4vzf/agent.70 [2023-08-09T10:07:50.739Z] SSH_AGENT_PID=76 [2023-08-09T10:07:50.744Z] Running ssh-add (command line suppressed) [2023-08-09T10:07:50.856Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-331@tmp/private_key_7569735466647285758.key (/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/private_key_7569735466647285758.key) [2023-08-09T10:07:50.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-09T10:07:51.195Z] + git semver init [2023-08-09T10:07:51.454Z] 2023-08-09 10:07:51,364 [run_init] DEBUG init version:0.0.0 force:False [2023-08-09T10:07:51.454Z] 2023-08-09 10:07:51,364 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-331/.semver [2023-08-09T10:07:51.454Z] 2023-08-09 10:07:51,365 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-331/.semver [2023-08-09T10:07:51.454Z] 2023-08-09 10:07:51,365 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-331/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-331, universal_newlines=False, shell=None, istream=None) [2023-08-09T10:07:52.831Z] 2023-08-09 10:07:52,525 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-331/.git/info/exclude [2023-08-09T10:07:52.831Z] 2023-08-09 10:07:52,525 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-331/.semver/PR-331 with force:False [2023-08-09T10:07:52.831Z] 2023-08-09 10:07:52,525 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-331/.semver/PR-331 [2023-08-09T10:07:52.831Z] 2023-08-09 10:07:52,529 [execute] INFO git cat-file --batch-check [2023-08-09T10:07:52.831Z] 2023-08-09 10:07:52,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:07:52.831Z] 2023-08-09 10:07:52,537 [execute] INFO git cat-file --batch [2023-08-09T10:07:52.831Z] 2023-08-09 10:07:52,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-331/.semver, universal_newlines=False, shell=None, istream=) [2023-08-09T10:07:52.831Z] 2023-08-09 10:07:52,544 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-331/.semver/PR-331 [2023-08-09T10:07:52.831Z] 0.0.0 [Pipeline] } [2023-08-09T10:07:52.861Z] $ docker exec --env ******** --env ******** 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 ssh-agent -k [2023-08-09T10:07:52.954Z] unset SSH_AUTH_SOCK; [2023-08-09T10:07:52.954Z] unset SSH_AGENT_PID; [2023-08-09T10:07:52.955Z] echo Agent pid 76 killed; [2023-08-09T10:07:52.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-09T10:07:53.389Z] + git semver [Pipeline] } [2023-08-09T10:07:53.673Z] $ docker stop --time=1 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 [2023-08-09T10:07:54.991Z] $ docker rm -f --volumes 455dc28058aa500e45310bdfe702bd0d72b998c32c22ccfe52f64c4112b6bc92 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:07:55.469Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-09T10:07:55.712Z] Stashed 1 file(s) [Pipeline] echo [2023-08-09T10:07:55.729Z] [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-08-09T10:07:56.322Z] provisioning config files... [2023-08-09T10:07:56.331Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/config3115599278127717973tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:07:56.675Z] ---> docker-login.sh [2023-08-09T10:07:56.675Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:07:56.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:56.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:56.675Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:56.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:56.675Z] [2023-08-09T10:07:56.675Z] Login Succeeded [2023-08-09T10:07:56.675Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:07:56.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:56.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:56.675Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:56.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:56.675Z] [2023-08-09T10:07:56.675Z] Login Succeeded [2023-08-09T10:07:56.675Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:07:56.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:56.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:56.933Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:56.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:56.933Z] [2023-08-09T10:07:56.933Z] Login Succeeded [2023-08-09T10:07:56.933Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:07:56.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:56.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:56.933Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:56.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:56.933Z] [2023-08-09T10:07:56.933Z] Login Succeeded [2023-08-09T10:07:56.933Z] docker.io [2023-08-09T10:07:56.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:07:57.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:07:57.195Z] Configure a credential helper to remove this warning. See [2023-08-09T10:07:57.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:07:57.195Z] [2023-08-09T10:07:57.195Z] Login Succeeded [2023-08-09T10:07:57.195Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:07:57.221Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:07:57.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:07:57.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:07:57.500Z] ========================================================= [2023-08-09T10:07:57.500Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-09T10:07:57.500Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:07:57.954Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:07:57.954Z] Sending build context to Docker daemon 10.91MB [2023-08-09T10:07:57.954Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:07:57.954Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:07:57.954Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-09T10:07:57.954Z] 4db1b89c0bd1: Pulling fs layer [2023-08-09T10:07:57.954Z] 6911f1a30b25: Pulling fs layer [2023-08-09T10:07:57.954Z] e194b8c5c2a9: Pulling fs layer [2023-08-09T10:07:57.954Z] 6863d3e3a2b1: Pulling fs layer [2023-08-09T10:07:57.954Z] ec0bb842ea78: Pulling fs layer [2023-08-09T10:07:57.954Z] 40a00589a448: Pulling fs layer [2023-08-09T10:07:57.954Z] 6c08303d61cc: Pulling fs layer [2023-08-09T10:07:57.954Z] 798269fcf238: Pulling fs layer [2023-08-09T10:07:57.954Z] 6863d3e3a2b1: Waiting [2023-08-09T10:07:57.954Z] ec0bb842ea78: Waiting [2023-08-09T10:07:57.954Z] 40a00589a448: Waiting [2023-08-09T10:07:57.954Z] 6c08303d61cc: Waiting [2023-08-09T10:07:57.954Z] 798269fcf238: Waiting [2023-08-09T10:07:57.954Z] 6911f1a30b25: Verifying Checksum [2023-08-09T10:07:57.954Z] 6911f1a30b25: Download complete [2023-08-09T10:07:58.213Z] 6863d3e3a2b1: Download complete [2023-08-09T10:07:58.213Z] ec0bb842ea78: Download complete [2023-08-09T10:07:58.213Z] 4db1b89c0bd1: Verifying Checksum [2023-08-09T10:07:58.213Z] 4db1b89c0bd1: Download complete [2023-08-09T10:07:58.213Z] 40a00589a448: Verifying Checksum [2023-08-09T10:07:58.213Z] 40a00589a448: Download complete [2023-08-09T10:07:58.213Z] 4db1b89c0bd1: Pull complete [2023-08-09T10:07:58.471Z] 6911f1a30b25: Pull complete [2023-08-09T10:07:58.731Z] 798269fcf238: Verifying Checksum [2023-08-09T10:07:58.731Z] 798269fcf238: Download complete [2023-08-09T10:07:58.991Z] e194b8c5c2a9: Download complete [2023-08-09T10:07:58.991Z] 6c08303d61cc: Verifying Checksum [2023-08-09T10:07:58.991Z] 6c08303d61cc: Download complete [2023-08-09T10:08:02.280Z] e194b8c5c2a9: Pull complete [2023-08-09T10:08:02.280Z] 6863d3e3a2b1: Pull complete [2023-08-09T10:08:02.280Z] ec0bb842ea78: Pull complete [2023-08-09T10:08:02.280Z] 40a00589a448: Pull complete [2023-08-09T10:08:04.818Z] 6c08303d61cc: Pull complete [2023-08-09T10:08:05.755Z] 798269fcf238: Pull complete [2023-08-09T10:08:05.755Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-09T10:08:05.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-09T10:08:05.755Z] ---> ec979cd7f677 [2023-08-09T10:08:05.755Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:08:11.138Z] Still waiting to schedule task [2023-08-09T10:08:11.138Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3203’ [2023-08-09T10:08:13.930Z] ---> Running in 0fd6af64e1cc [2023-08-09T10:08:13.930Z] Removing intermediate container 0fd6af64e1cc [2023-08-09T10:08:13.930Z] ---> 42f914fc60e7 [2023-08-09T10:08:13.930Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:08:13.930Z] ---> Running in 73eccb481efa [2023-08-09T10:08:13.930Z] Removing intermediate container 73eccb481efa [2023-08-09T10:08:13.930Z] ---> 2bd5be732e61 [2023-08-09T10:08:13.930Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:08:13.930Z] ---> Running in 2b3ceee44ec6 [2023-08-09T10:08:13.930Z] Removing intermediate container 2b3ceee44ec6 [2023-08-09T10:08:13.930Z] ---> 07c5a238a279 [2023-08-09T10:08:13.930Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:08:13.930Z] ---> Running in 0c3a8454bf7c [2023-08-09T10:08:13.930Z] Removing intermediate container 0c3a8454bf7c [2023-08-09T10:08:13.930Z] ---> 15cc95428dab [2023-08-09T10:08:13.930Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:08:13.930Z] ---> Running in dca1759c047b [2023-08-09T10:08:14.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:08:14.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:08:14.710Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:08:14.710Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:08:14.710Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:08:14.710Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:08:14.710Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:08:14.710Z] OK: 269 MiB in 57 packages [2023-08-09T10:08:15.281Z] Removing intermediate container dca1759c047b [2023-08-09T10:08:15.281Z] ---> 2659d5536209 [2023-08-09T10:08:15.281Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-09T10:08:15.281Z] ---> Running in bf6b8796d148 [2023-08-09T10:08:15.281Z] Removing intermediate container bf6b8796d148 [2023-08-09T10:08:15.281Z] ---> d3bf25044b38 [2023-08-09T10:08:15.281Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:08:15.542Z] ---> b3efbb4abf92 [2023-08-09T10:08:15.542Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:08:15.542Z] ---> Running in 726902a7248a [2023-08-09T10:08:47.652Z] Removing intermediate container 726902a7248a [2023-08-09T10:08:47.652Z] ---> ed2a5b74e513 [2023-08-09T10:08:47.652Z] Step 11/12 : COPY . . [2023-08-09T10:08:47.652Z] ---> c03afe00906c [2023-08-09T10:08:47.652Z] Step 12/12 : RUN $MAKE [2023-08-09T10:08:47.652Z] ---> Running in 172b874fe3d4 [2023-08-09T10:08:47.652Z] noop [2023-08-09T10:08:47.652Z] Removing intermediate container 172b874fe3d4 [2023-08-09T10:08:47.652Z] ---> d66df240030e [2023-08-09T10:08:47.652Z] Successfully built d66df240030e [2023-08-09T10:08:47.652Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:08:48.114Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:08:48.114Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:08:48.273Z] prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container [2023-08-09T10:08:48.306Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@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-08-09T10:08:48.642Z] $ docker top 6be5b8cb46f4db84fe3dc2191927c8a1c7ea142f3f43e36a0db008b64c7c31fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:08:49.026Z] + go version [2023-08-09T10:08:49.026Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-09T10:08:49.097Z] $ docker stop --time=1 6be5b8cb46f4db84fe3dc2191927c8a1c7ea142f3f43e36a0db008b64c7c31fa [2023-08-09T10:08:50.372Z] $ docker rm -f --volumes 6be5b8cb46f4db84fe3dc2191927c8a1c7ea142f3f43e36a0db008b64c7c31fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:08:51.045Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-09T10:08:51.045Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:08:51.198Z] prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container [2023-08-09T10:08:51.234Z] $ 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-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@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-08-09T10:08:51.625Z] $ docker top f30a2059916449f1c72a15683c6436745c3b52bd22bc1f1a494f6eb2d7358e50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:08:52.019Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-331 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:08:52.376Z] + make test [2023-08-09T10:08:52.376Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T10:08:56.563Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-09T10:09:06.529Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-09T10:09:06.529Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-08-09T10:09:11.876Z] go vet ./... [2023-08-09T10:09:15.156Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:09:15.156Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:09:15.414Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:09:15.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:09:15.486Z] $ docker stop --time=1 f30a2059916449f1c72a15683c6436745c3b52bd22bc1f1a494f6eb2d7358e50 [2023-08-09T10:09:20.067Z] $ docker rm -f --volumes f30a2059916449f1c72a15683c6436745c3b52bd22bc1f1a494f6eb2d7358e50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:09:20.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:09:20.693Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-09T10:09:21.502Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:09:21.810Z] + ls -al . [2023-08-09T10:09:21.811Z] total 184 [2023-08-09T10:09:21.811Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 9 10:08 . [2023-08-09T10:09:21.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:07 .. [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 9 10:07 .dockerignore [2023-08-09T10:09:21.811Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:07 .git [2023-08-09T10:09:21.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:07 .github [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:07 .gitignore [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:07 .golangci.yml [2023-08-09T10:09:21.811Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:07 .semver [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 9231 Aug 9 10:07 Attribution.txt [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 9 10:07 CHANGELOG.md [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 9 10:07 Dockerfile [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:07 GOVERNANCE.md [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:07 Jenkinsfile [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:07 LICENSE [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 9 10:07 Makefile [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:07 OWNERS.md [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 9 10:07 README.md [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:07 VERSION [2023-08-09T10:09:21.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:07 bin [2023-08-09T10:09:21.811Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:07 cmd [2023-08-09T10:09:21.811Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 9 10:09 coverage.out [2023-08-09T10:09:21.811Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:07 driver [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 9 10:07 go.mod [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:07 go.sum [2023-08-09T10:09:21.811Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:07 snap [2023-08-09T10:09:21.811Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 9 10:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:22.234Z] + 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=bbfcc0226598174b6127e805ff9b931fc1acdcd9 --label arch=amd64 --label version=0.0.0 . [2023-08-09T10:09:22.234Z] Sending build context to Docker daemon 10.92MB [2023-08-09T10:09:22.234Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:09:22.234Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T10:09:22.234Z] ---> d66df240030e [2023-08-09T10:09:22.234Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:09:22.492Z] ---> Running in cd404db6644f [2023-08-09T10:09:22.492Z] Removing intermediate container cd404db6644f [2023-08-09T10:09:22.492Z] ---> 3994898714a4 [2023-08-09T10:09:22.492Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:09:22.492Z] ---> Running in 61e80867e0a4 [2023-08-09T10:09:22.492Z] Removing intermediate container 61e80867e0a4 [2023-08-09T10:09:22.492Z] ---> f8fb38475fae [2023-08-09T10:09:22.492Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:09:22.492Z] ---> Running in 7971b7a3a054 [2023-08-09T10:09:22.750Z] Removing intermediate container 7971b7a3a054 [2023-08-09T10:09:22.750Z] ---> a2670012061b [2023-08-09T10:09:22.750Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:09:22.750Z] ---> Running in 4c9b44bc0663 [2023-08-09T10:09:22.750Z] Removing intermediate container 4c9b44bc0663 [2023-08-09T10:09:22.750Z] ---> 644ebc480ef6 [2023-08-09T10:09:22.750Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:09:22.750Z] ---> Running in 0fb08764747e [2023-08-09T10:09:23.011Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:09:23.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:09:23.528Z] OK: 269 MiB in 57 packages [2023-08-09T10:09:23.787Z] Removing intermediate container 0fb08764747e [2023-08-09T10:09:23.787Z] ---> 1f99e6d4a0da [2023-08-09T10:09:23.787Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-09T10:09:23.787Z] ---> Running in b44b7464de1d [2023-08-09T10:09:23.787Z] Removing intermediate container b44b7464de1d [2023-08-09T10:09:23.787Z] ---> c4cab9b75682 [2023-08-09T10:09:23.787Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-09T10:09:23.787Z] ---> 3a08b2ff7475 [2023-08-09T10:09:23.787Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:09:24.044Z] ---> Running in 5737a3d08063 [2023-08-09T10:09:24.609Z] Removing intermediate container 5737a3d08063 [2023-08-09T10:09:24.609Z] ---> 3dd5f293519a [2023-08-09T10:09:24.609Z] Step 11/25 : COPY . . [2023-08-09T10:09:25.180Z] ---> a25ed24a2126 [2023-08-09T10:09:25.180Z] Step 12/25 : RUN $MAKE [2023-08-09T10:09:25.180Z] ---> Running in cade42c7e18d [2023-08-09T10:09:25.439Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-09T10:09:47.432Z] Removing intermediate container cade42c7e18d [2023-08-09T10:09:47.432Z] ---> 563fbc6f2dba [2023-08-09T10:09:47.432Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T10:09:47.432Z] 3.17: Pulling from library/alpine [2023-08-09T10:09:47.432Z] 9398808236ff: Pulling fs layer [2023-08-09T10:09:47.432Z] 9398808236ff: Download complete [2023-08-09T10:09:47.432Z] 9398808236ff: Pull complete [2023-08-09T10:09:47.432Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:09:47.432Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:09:47.432Z] ---> 1e0b8b5322fc [2023-08-09T10:09:47.432Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-09T10:09:47.432Z] ---> Running in fd321ee85e0e [2023-08-09T10:09:47.432Z] Removing intermediate container fd321ee85e0e [2023-08-09T10:09:47.432Z] ---> 9ed9eb9fee82 [2023-08-09T10:09:47.432Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-09T10:09:47.432Z] ---> Running in f2c7bbe27407 [2023-08-09T10:09:47.432Z] Removing intermediate container f2c7bbe27407 [2023-08-09T10:09:47.432Z] ---> f5964848fb82 [2023-08-09T10:09:47.433Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:09:47.433Z] ---> Running in 1205d5b5058d [2023-08-09T10:09:47.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-09T10:09:47.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-09T10:09:47.433Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:09:47.433Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:09:47.433Z] OK: 7 MiB in 16 packages [2023-08-09T10:09:47.693Z] Removing intermediate container 1205d5b5058d [2023-08-09T10:09:47.693Z] ---> 94576e7a2463 [2023-08-09T10:09:47.693Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-09T10:09:48.627Z] ---> e79913bf24cb [2023-08-09T10:09:48.627Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-09T10:09:48.627Z] ---> 97045394966b [2023-08-09T10:09:48.628Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-09T10:09:48.628Z] ---> 55b0e061fe6a [2023-08-09T10:09:48.628Z] Step 20/25 : EXPOSE 59986 [2023-08-09T10:09:48.628Z] ---> Running in 102cfc1f25c9 [2023-08-09T10:09:48.888Z] Removing intermediate container 102cfc1f25c9 [2023-08-09T10:09:48.888Z] ---> 0668100373a2 [2023-08-09T10:09:48.888Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-09T10:09:48.888Z] ---> Running in 75c8730db609 [2023-08-09T10:09:48.888Z] Removing intermediate container 75c8730db609 [2023-08-09T10:09:48.888Z] ---> 59e4c433c962 [2023-08-09T10:09:48.888Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:09:48.888Z] ---> Running in 8b1f594ac2a2 [2023-08-09T10:09:49.147Z] Removing intermediate container 8b1f594ac2a2 [2023-08-09T10:09:49.147Z] ---> 2ae371861d1a [2023-08-09T10:09:49.147Z] Step 23/25 : LABEL arch=amd64 [2023-08-09T10:09:49.147Z] ---> Running in ea89eb5caa51 [2023-08-09T10:09:49.147Z] Removing intermediate container ea89eb5caa51 [2023-08-09T10:09:49.147Z] ---> 2821130a49a8 [2023-08-09T10:09:49.147Z] Step 24/25 : LABEL git_sha=bbfcc0226598174b6127e805ff9b931fc1acdcd9 [2023-08-09T10:09:49.147Z] ---> Running in 2d8df8df2cb0 [2023-08-09T10:09:49.406Z] Removing intermediate container 2d8df8df2cb0 [2023-08-09T10:09:49.406Z] ---> d31aa5dcf9cf [2023-08-09T10:09:49.406Z] Step 25/25 : LABEL version=0.0.0 [2023-08-09T10:09:49.406Z] ---> Running in 8c57cde6a12f [2023-08-09T10:09:49.406Z] Removing intermediate container 8c57cde6a12f [2023-08-09T10:09:49.406Z] ---> cf96034e6627 [2023-08-09T10:09:49.406Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:09:49.406Z] Successfully built cf96034e6627 [2023-08-09T10:09:49.406Z] 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-08-09T10:09:50.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:09:50.283Z] [2023-08-09T10:09:50.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:09:50.658Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:09:50.658Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-09T10:09:50.658Z] 5eb5b503b376: Pulling fs layer [2023-08-09T10:09:50.658Z] 5c69ac0246d0: Pulling fs layer [2023-08-09T10:09:50.658Z] ec43610c2a17: Pulling fs layer [2023-08-09T10:09:50.658Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-09T10:09:50.658Z] 33b1e0a273af: Pulling fs layer [2023-08-09T10:09:50.658Z] 5d3b04190fa2: Pulling fs layer [2023-08-09T10:09:50.658Z] 2f39f015ded8: Pulling fs layer [2023-08-09T10:09:50.658Z] 3a2ae6a8a46f: Waiting [2023-08-09T10:09:50.658Z] 5d3b04190fa2: Waiting [2023-08-09T10:09:50.658Z] 33b1e0a273af: Waiting [2023-08-09T10:09:50.658Z] 5c69ac0246d0: Download complete [2023-08-09T10:09:50.658Z] 3a2ae6a8a46f: Download complete [2023-08-09T10:09:50.658Z] 33b1e0a273af: Verifying Checksum [2023-08-09T10:09:50.658Z] 33b1e0a273af: Download complete [2023-08-09T10:09:50.658Z] 5d3b04190fa2: Download complete [2023-08-09T10:09:50.658Z] ec43610c2a17: Verifying Checksum [2023-08-09T10:09:50.658Z] ec43610c2a17: Download complete [2023-08-09T10:09:50.917Z] 5eb5b503b376: Verifying Checksum [2023-08-09T10:09:50.917Z] 5eb5b503b376: Download complete [2023-08-09T10:09:51.483Z] 2f39f015ded8: Download complete [2023-08-09T10:09:52.050Z] 5eb5b503b376: Pull complete [2023-08-09T10:09:52.050Z] 5c69ac0246d0: Pull complete [2023-08-09T10:09:52.616Z] ec43610c2a17: Pull complete [2023-08-09T10:09:52.616Z] 3a2ae6a8a46f: Pull complete [2023-08-09T10:09:52.616Z] 33b1e0a273af: Pull complete [2023-08-09T10:09:52.887Z] 5d3b04190fa2: Pull complete [2023-08-09T10:09:57.073Z] 2f39f015ded8: Pull complete [2023-08-09T10:09:57.073Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-09T10:09:57.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:09:57.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:09:57.351Z] prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container [2023-08-09T10:09:57.387Z] $ 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-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@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-08-09T10:10:02.118Z] $ docker top c4cd4f176fd3e44dae28862be9e12676d2a007b9577b6f4a0663f2fcd826b3a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:10:02.576Z] ---> job-cost.sh [2023-08-09T10:10:02.576Z] lf-activate-venv: SKIPPING [2023-08-09T10:10:02.576Z] INFO: No Stack... [2023-08-09T10:10:02.837Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:10:03.405Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:10:03.718Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-331/archives/cost.csv [2023-08-09T10:10:03.718Z] + cut -d, -f6 [Pipeline] lock [2023-08-09T10:10:03.754Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [2023-08-09T10:10:03.759Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] did not exist. Created. [2023-08-09T10:10:03.759Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:10:04.150Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-09T10:10:04.194Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:10:04.225Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:10:04.299Z] $ docker stop --time=1 c4cd4f176fd3e44dae28862be9e12676d2a007b9577b6f4a0663f2fcd826b3a7 [2023-08-09T10:10:05.591Z] $ docker rm -f --volumes c4cd4f176fd3e44dae28862be9e12676d2a007b9577b6f4a0663f2fcd826b3a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-09T10:10:45.487Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3207 in /w/workspace/gexfoundry_device-rest-go_PR-331 [Pipeline] { [Pipeline] ws [2023-08-09T10:10:45.547Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-08-09T10:10:45.625Z] The recommended git tool is: git [2023-08-09T10:10:51.889Z] using credential edgex-jenkins-ssh [2023-08-09T10:10:51.924Z] Cloning the remote Git repository [2023-08-09T10:10:51.977Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-09T10:10:52.087Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-08-09T10:10:52.260Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-09T10:10:52.262Z] > git --version # timeout=10 [2023-08-09T10:10:52.285Z] > git --version # 'git version 2.25.1' [2023-08-09T10:10:52.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:10:52.478Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:10:54.406Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-09T10:10:54.435Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-09T10:10:55.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-09T10:10:55.476Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-09T10:10:55.477Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:10:55.497Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/331/head:refs/remotes/origin/PR-331 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-09T10:10:56.070Z] Merging remotes/origin/main commit 89173ea65a943aba0f4628b8150ce015ac4d5016 into PR head commit bbfcc0226598174b6127e805ff9b931fc1acdcd9 [2023-08-09T10:10:56.388Z] Merge succeeded, producing bbfcc0226598174b6127e805ff9b931fc1acdcd9 [2023-08-09T10:10:56.388Z] Checking out Revision bbfcc0226598174b6127e805ff9b931fc1acdcd9 (PR-331) [2023-08-09T10:10:56.090Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:10:56.171Z] > git checkout -f bbfcc0226598174b6127e805ff9b931fc1acdcd9 # timeout=10 [2023-08-09T10:10:56.272Z] > git remote # timeout=10 [2023-08-09T10:10:56.294Z] > git config --get remote.origin.url # timeout=10 [2023-08-09T10:10:56.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-09T10:10:56.341Z] > git merge 89173ea65a943aba0f4628b8150ce015ac4d5016 # timeout=10 [2023-08-09T10:10:56.370Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-09T10:10:56.395Z] > git config core.sparsecheckout # timeout=10 [2023-08-09T10:10:56.416Z] > git checkout -f bbfcc0226598174b6127e805ff9b931fc1acdcd9 # timeout=10 [2023-08-09T10:10:59.966Z] Commit message: "refactor: Remove github.com/pkg/errors from Attribution.txt" [2023-08-09T10:11:00.025Z] > git --version # timeout=10 [2023-08-09T10:11:00.039Z] > git --version # 'git version 2.25.1' [2023-08-09T10:11:00.063Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:11:01.383Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-09T10:11:01.383Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:11:01.383Z] Dload Upload Total Spent Left Speed [2023-08-09T10:11:01.383Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-08-09T10:11:02.172Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-09T10:11:02.527Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-09T10:11:02.527Z] sudo tee /etc/docker/daemon.new [2023-08-09T10:11:02.527Z] { [2023-08-09T10:11:02.527Z] "registry-mirrors": [ [2023-08-09T10:11:02.527Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-09T10:11:02.527Z] ], [2023-08-09T10:11:02.527Z] "bip": "10.250.0.254/24", [2023-08-09T10:11:02.527Z] "hosts": [ [2023-08-09T10:11:02.527Z] "tcp://0.0.0.0:5555", [2023-08-09T10:11:02.527Z] "unix:///var/run/docker.sock" [2023-08-09T10:11:02.527Z] ], [2023-08-09T10:11:02.527Z] "mtu": 1458, [2023-08-09T10:11:02.527Z] "selinux-enabled": true, [2023-08-09T10:11:02.527Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-09T10:11:02.527Z] } [Pipeline] sh [2023-08-09T10:11:02.875Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-09T10:11:03.295Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:11:21.726Z] provisioning config files... [2023-08-09T10:11:21.767Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config574590261874288099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:11:22.226Z] ---> docker-login.sh [2023-08-09T10:11:22.226Z] nexus3.edgexfoundry.org:10001 [2023-08-09T10:11:22.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:11:22.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:11:22.824Z] Configure a credential helper to remove this warning. See [2023-08-09T10:11:22.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:11:22.824Z] [2023-08-09T10:11:22.824Z] Login Succeeded [2023-08-09T10:11:22.824Z] nexus3.edgexfoundry.org:10002 [2023-08-09T10:11:23.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:11:23.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:11:23.374Z] Configure a credential helper to remove this warning. See [2023-08-09T10:11:23.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:11:23.374Z] [2023-08-09T10:11:23.374Z] Login Succeeded [2023-08-09T10:11:23.374Z] nexus3.edgexfoundry.org:10003 [2023-08-09T10:11:23.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:11:23.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:11:23.645Z] Configure a credential helper to remove this warning. See [2023-08-09T10:11:23.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:11:23.645Z] [2023-08-09T10:11:23.645Z] Login Succeeded [2023-08-09T10:11:23.645Z] nexus3.edgexfoundry.org:10004 [2023-08-09T10:11:23.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:11:23.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:11:23.917Z] Configure a credential helper to remove this warning. See [2023-08-09T10:11:23.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:11:23.917Z] [2023-08-09T10:11:23.917Z] Login Succeeded [2023-08-09T10:11:23.917Z] docker.io [2023-08-09T10:11:24.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-09T10:11:24.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-09T10:11:24.465Z] Configure a credential helper to remove this warning. See [2023-08-09T10:11:24.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-09T10:11:24.465Z] [2023-08-09T10:11:24.465Z] Login Succeeded [2023-08-09T10:11:24.465Z] ---> docker-login.sh ends [Pipeline] } [2023-08-09T10:11:24.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-09T10:11:24.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:11:24.933Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-09T10:11:24.974Z] ========================================================= [2023-08-09T10:11:24.974Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-09T10:11:24.974Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:11:25.560Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-09T10:11:25.560Z] Sending build context to Docker daemon 142.3kB [2023-08-09T10:11:25.829Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:11:25.829Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-09T10:11:26.111Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-09T10:11:26.111Z] edb6bdbacee9: Pulling fs layer [2023-08-09T10:11:26.111Z] 5f9638ab2659: Pulling fs layer [2023-08-09T10:11:26.111Z] 8d51d6327a98: Pulling fs layer [2023-08-09T10:11:26.111Z] 8b374f2dd631: Pulling fs layer [2023-08-09T10:11:26.111Z] ec14aa9079de: Pulling fs layer [2023-08-09T10:11:26.111Z] 2f466654f4bb: Pulling fs layer [2023-08-09T10:11:26.111Z] 554e91adad29: Pulling fs layer [2023-08-09T10:11:26.111Z] 2f466654f4bb: Waiting [2023-08-09T10:11:26.111Z] 8b374f2dd631: Waiting [2023-08-09T10:11:26.111Z] ec14aa9079de: Waiting [2023-08-09T10:11:26.111Z] 554e91adad29: Waiting [2023-08-09T10:11:26.111Z] 5f9638ab2659: Download complete [2023-08-09T10:11:26.111Z] 8b374f2dd631: Verifying Checksum [2023-08-09T10:11:26.111Z] 8b374f2dd631: Download complete [2023-08-09T10:11:26.111Z] ec14aa9079de: Verifying Checksum [2023-08-09T10:11:26.111Z] ec14aa9079de: Download complete [2023-08-09T10:11:26.111Z] edb6bdbacee9: Verifying Checksum [2023-08-09T10:11:26.111Z] edb6bdbacee9: Download complete [2023-08-09T10:11:27.083Z] edb6bdbacee9: Pull complete [2023-08-09T10:11:27.678Z] 554e91adad29: Verifying Checksum [2023-08-09T10:11:27.678Z] 554e91adad29: Download complete [2023-08-09T10:11:27.678Z] 5f9638ab2659: Pull complete [2023-08-09T10:11:29.111Z] 8d51d6327a98: Verifying Checksum [2023-08-09T10:11:29.112Z] 8d51d6327a98: Download complete [2023-08-09T10:11:29.112Z] 2f466654f4bb: Verifying Checksum [2023-08-09T10:11:29.112Z] 2f466654f4bb: Download complete [2023-08-09T10:11:41.481Z] 8d51d6327a98: Pull complete [2023-08-09T10:11:41.481Z] 8b374f2dd631: Pull complete [2023-08-09T10:11:41.481Z] ec14aa9079de: Pull complete [2023-08-09T10:11:46.841Z] 2f466654f4bb: Pull complete [2023-08-09T10:11:48.800Z] 554e91adad29: Pull complete [2023-08-09T10:11:48.800Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-09T10:11:48.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-09T10:11:48.800Z] ---> 1e15ea492957 [2023-08-09T10:11:48.800Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:11:50.755Z] ---> Running in 72ead564f274 [2023-08-09T10:11:51.025Z] Removing intermediate container 72ead564f274 [2023-08-09T10:11:51.025Z] ---> 0147abf3a92a [2023-08-09T10:11:51.025Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:11:51.025Z] ---> Running in d5653f6bf4bb [2023-08-09T10:11:51.627Z] Removing intermediate container d5653f6bf4bb [2023-08-09T10:11:51.628Z] ---> 2bcffb3f57c7 [2023-08-09T10:11:51.628Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:11:51.628Z] ---> Running in 71bdee292495 [2023-08-09T10:11:51.895Z] Removing intermediate container 71bdee292495 [2023-08-09T10:11:51.895Z] ---> 2c6a7dea6a36 [2023-08-09T10:11:51.895Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:11:51.895Z] ---> Running in 6014b72ddbda [2023-08-09T10:11:52.482Z] Removing intermediate container 6014b72ddbda [2023-08-09T10:11:52.482Z] ---> 1bd0bc95c14d [2023-08-09T10:11:52.482Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:11:52.482Z] ---> Running in d36f14e6684e [2023-08-09T10:11:53.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:11:54.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:11:55.583Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-09T10:11:55.583Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-09T10:11:55.583Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-09T10:11:55.583Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-09T10:11:55.583Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:11:55.854Z] OK: 268 MiB in 57 packages [2023-08-09T10:11:57.279Z] Removing intermediate container d36f14e6684e [2023-08-09T10:11:57.279Z] ---> c3ce9295fadf [2023-08-09T10:11:57.279Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-09T10:11:57.279Z] ---> Running in b0633661b717 [2023-08-09T10:11:57.867Z] Removing intermediate container b0633661b717 [2023-08-09T10:11:57.867Z] ---> 15a658dce833 [2023-08-09T10:11:57.867Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-09T10:11:58.136Z] ---> 4d189ad3cdd2 [2023-08-09T10:11:58.136Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:11:58.405Z] ---> Running in bd633f5aeec3 [2023-08-09T10:13:06.330Z] Removing intermediate container bd633f5aeec3 [2023-08-09T10:13:06.330Z] ---> 356b600737d8 [2023-08-09T10:13:06.330Z] Step 11/12 : COPY . . [2023-08-09T10:13:06.330Z] ---> de7a83f39881 [2023-08-09T10:13:06.330Z] Step 12/12 : RUN $MAKE [2023-08-09T10:13:06.330Z] ---> Running in 845424ec9c93 [2023-08-09T10:13:06.330Z] noop [2023-08-09T10:13:06.330Z] Removing intermediate container 845424ec9c93 [2023-08-09T10:13:06.330Z] ---> 8f9b3797f649 [2023-08-09T10:13:06.330Z] Successfully built 8f9b3797f649 [2023-08-09T10:13:06.330Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:13:06.819Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:13:06.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:13:07.111Z] prd-ubuntu20.04-docker-arm64-4c-16g-3207 does not seem to be running inside a container [2023-08-09T10:13:07.187Z] $ 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-08-09T10:13:08.496Z] $ docker top 1770aa6a6545f90c535b07d730db7654ddde5ea05c074c72773c5b6f0d570855 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:13:09.406Z] + go version [2023-08-09T10:13:09.407Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-09T10:13:09.439Z] $ docker stop --time=1 1770aa6a6545f90c535b07d730db7654ddde5ea05c074c72773c5b6f0d570855 [2023-08-09T10:13:11.122Z] $ docker rm -f --volumes 1770aa6a6545f90c535b07d730db7654ddde5ea05c074c72773c5b6f0d570855 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:13:12.012Z] + docker inspect -f . ci-base-image-arm64 [2023-08-09T10:13:12.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:13:12.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-3207 does not seem to be running inside a container [2023-08-09T10:13:12.351Z] $ 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-08-09T10:13:13.614Z] $ docker top 915f84ecef0552b65998159ce6655b5cacd2a96f1cc4d71521f01d65f6df0dda -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:13:14.514Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-09T10:13:15.249Z] + make test [2023-08-09T10:13:15.249Z] go test ./... -coverprofile=coverage.out ./... [2023-08-09T10:13:54.174Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-09T10:16:15.920Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-09T10:16:15.920Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 32.2% of statements [2023-08-09T10:16:15.920Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-09T10:16:15.920Z] go vet ./... [2023-08-09T10:16:42.622Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-09T10:16:42.622Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-09T10:16:42.622Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-09T10:16:42.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-09T10:16:42.704Z] $ docker stop --time=1 915f84ecef0552b65998159ce6655b5cacd2a96f1cc4d71521f01d65f6df0dda [2023-08-09T10:16:44.584Z] $ docker rm -f --volumes 915f84ecef0552b65998159ce6655b5cacd2a96f1cc4d71521f01d65f6df0dda [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-09T10:16:45.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-09T10:16:45.986Z] Warning: overwriting stash ‘coverage-report’ [2023-08-09T10:16:46.600Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-09T10:16:47.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-09T10:16:47.815Z] + ls -al . [2023-08-09T10:16:47.815Z] total 180 [2023-08-09T10:16:47.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:13 . [2023-08-09T10:16:47.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:10 .. [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 9 10:10 .dockerignore [2023-08-09T10:16:47.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 9 10:10 .git [2023-08-09T10:16:47.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:10 .github [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 9 10:10 .gitignore [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 9 10:10 .golangci.yml [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 9231 Aug 9 10:10 Attribution.txt [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 9 10:10 CHANGELOG.md [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 9 10:10 Dockerfile [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 9 10:10 GOVERNANCE.md [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 9 10:10 Jenkinsfile [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 9 10:10 LICENSE [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 1779 Aug 9 10:10 Makefile [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 9 10:10 OWNERS.md [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 9 10:10 README.md [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 9 10:07 VERSION [2023-08-09T10:16:47.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:10 bin [2023-08-09T10:16:47.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 9 10:10 cmd [2023-08-09T10:16:47.815Z] -rw-r--r-- 1 jenkins jenkins 14656 Aug 9 10:16 coverage.out [2023-08-09T10:16:47.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 9 10:10 driver [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 3354 Aug 9 10:10 go.mod [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 31322 Aug 9 10:10 go.sum [2023-08-09T10:16:47.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 9 10:10 snap [2023-08-09T10:16:47.815Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 9 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:16:48.295Z] + 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=bbfcc0226598174b6127e805ff9b931fc1acdcd9 --label arch=arm64 --label version=0.0.0 . [2023-08-09T10:16:48.295Z] Sending build context to Docker daemon 157.7kB [2023-08-09T10:16:48.569Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-09T10:16:48.569Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-09T10:16:48.569Z] ---> 8f9b3797f649 [2023-08-09T10:16:48.569Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-09T10:16:48.569Z] ---> Running in 2773c0e6276b [2023-08-09T10:16:49.156Z] Removing intermediate container 2773c0e6276b [2023-08-09T10:16:49.156Z] ---> fa23208bb34a [2023-08-09T10:16:49.156Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-09T10:16:49.156Z] ---> Running in 96e83f6dee39 [2023-08-09T10:16:49.425Z] Removing intermediate container 96e83f6dee39 [2023-08-09T10:16:49.425Z] ---> fe4be8388427 [2023-08-09T10:16:49.425Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-09T10:16:49.425Z] ---> Running in 5f64224ec935 [2023-08-09T10:16:49.695Z] Removing intermediate container 5f64224ec935 [2023-08-09T10:16:49.695Z] ---> 9b343b8150cb [2023-08-09T10:16:49.695Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-09T10:16:49.966Z] ---> Running in 2c398ccfbdbd [2023-08-09T10:16:50.245Z] Removing intermediate container 2c398ccfbdbd [2023-08-09T10:16:50.245Z] ---> 1781e20c63fb [2023-08-09T10:16:50.245Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-09T10:16:50.245Z] ---> Running in c4aa0ae04803 [2023-08-09T10:16:51.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:16:52.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:16:53.147Z] OK: 268 MiB in 57 packages [2023-08-09T10:16:54.112Z] Removing intermediate container c4aa0ae04803 [2023-08-09T10:16:54.112Z] ---> c61a27105430 [2023-08-09T10:16:54.112Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-09T10:16:54.112Z] ---> Running in 81918110525a [2023-08-09T10:16:54.381Z] Removing intermediate container 81918110525a [2023-08-09T10:16:54.381Z] ---> d5bcae7a43e9 [2023-08-09T10:16:54.381Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-09T10:16:54.973Z] ---> 3aa9c13da022 [2023-08-09T10:16:54.974Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-09T10:16:54.974Z] ---> Running in e210ff7954d3 [2023-08-09T10:16:56.921Z] Removing intermediate container e210ff7954d3 [2023-08-09T10:16:56.921Z] ---> 8ef0681b00f2 [2023-08-09T10:16:56.921Z] Step 11/25 : COPY . . [2023-08-09T10:16:57.887Z] ---> bacef23d6753 [2023-08-09T10:16:57.887Z] Step 12/25 : RUN $MAKE [2023-08-09T10:16:57.887Z] ---> Running in 046bb22177c4 [2023-08-09T10:16:58.860Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-09T10:19:35.613Z] Removing intermediate container 046bb22177c4 [2023-08-09T10:19:35.613Z] ---> 28738aca11f8 [2023-08-09T10:19:35.613Z] Step 13/25 : FROM alpine:3.17 [2023-08-09T10:19:35.614Z] 3.17: Pulling from library/alpine [2023-08-09T10:19:35.614Z] 4060ece20d7a: Pulling fs layer [2023-08-09T10:19:35.614Z] 4060ece20d7a: Verifying Checksum [2023-08-09T10:19:35.614Z] 4060ece20d7a: Download complete [2023-08-09T10:19:35.614Z] 4060ece20d7a: Pull complete [2023-08-09T10:19:35.614Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-09T10:19:35.614Z] Status: Downloaded newer image for alpine:3.17 [2023-08-09T10:19:35.614Z] ---> 8650cd65339b [2023-08-09T10:19:35.614Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-09T10:19:35.614Z] ---> Running in 9dc58f18530d [2023-08-09T10:19:35.614Z] Removing intermediate container 9dc58f18530d [2023-08-09T10:19:35.614Z] ---> 4def14cccdd7 [2023-08-09T10:19:35.614Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-09T10:19:35.614Z] ---> Running in ec74308fb245 [2023-08-09T10:19:35.614Z] Removing intermediate container ec74308fb245 [2023-08-09T10:19:35.614Z] ---> 5e36d1497502 [2023-08-09T10:19:35.614Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-09T10:19:35.614Z] ---> Running in 2abb23d9d5a7 [2023-08-09T10:19:35.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-09T10:19:35.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-09T10:19:35.614Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-09T10:19:35.614Z] Executing busybox-1.35.0-r29.trigger [2023-08-09T10:19:35.614Z] OK: 8 MiB in 16 packages [2023-08-09T10:19:35.614Z] Removing intermediate container 2abb23d9d5a7 [2023-08-09T10:19:35.614Z] ---> 23d1005e68ce [2023-08-09T10:19:35.614Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-09T10:19:35.614Z] ---> 5d78c93d78f1 [2023-08-09T10:19:35.614Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-09T10:19:35.614Z] ---> dcd65fed02e6 [2023-08-09T10:19:35.614Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-09T10:19:35.614Z] ---> ea98587cdb4e [2023-08-09T10:19:35.614Z] Step 20/25 : EXPOSE 59986 [2023-08-09T10:19:35.614Z] ---> Running in 09035ce3d231 [2023-08-09T10:19:35.614Z] Removing intermediate container 09035ce3d231 [2023-08-09T10:19:35.614Z] ---> 4be1da9b917f [2023-08-09T10:19:35.614Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-09T10:19:35.614Z] ---> Running in 79bc92f7a825 [2023-08-09T10:19:35.614Z] Removing intermediate container 79bc92f7a825 [2023-08-09T10:19:35.614Z] ---> 5fcfd98424e4 [2023-08-09T10:19:35.614Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-09T10:19:35.614Z] ---> Running in eafc78f791c4 [2023-08-09T10:19:35.614Z] Removing intermediate container eafc78f791c4 [2023-08-09T10:19:35.614Z] ---> 48226f9f8767 [2023-08-09T10:19:35.614Z] Step 23/25 : LABEL arch=arm64 [2023-08-09T10:19:35.614Z] ---> Running in d205b35a7b6d [2023-08-09T10:19:35.614Z] Removing intermediate container d205b35a7b6d [2023-08-09T10:19:35.614Z] ---> 3770808a8ada [2023-08-09T10:19:35.614Z] Step 24/25 : LABEL git_sha=bbfcc0226598174b6127e805ff9b931fc1acdcd9 [2023-08-09T10:19:35.614Z] ---> Running in 947cbefd53ae [2023-08-09T10:19:35.614Z] Removing intermediate container 947cbefd53ae [2023-08-09T10:19:35.614Z] ---> 19f0d55aec1e [2023-08-09T10:19:35.614Z] Step 25/25 : LABEL version=0.0.0 [2023-08-09T10:19:35.614Z] ---> Running in d1bdd9d3993b [2023-08-09T10:19:35.614Z] Removing intermediate container d1bdd9d3993b [2023-08-09T10:19:35.614Z] ---> 018d01c44083 [2023-08-09T10:19:35.614Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-09T10:19:35.614Z] Successfully built 018d01c44083 [2023-08-09T10:19:35.614Z] 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-08-09T10:19:36.498Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:19:36.498Z] [2023-08-09T10:19:36.498Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:19:36.906Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:19:36.906Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-09T10:19:36.906Z] 8998bd30e6a1: Pulling fs layer [2023-08-09T10:19:36.906Z] 04944245beec: Pulling fs layer [2023-08-09T10:19:36.906Z] 699f458cf7ca: Pulling fs layer [2023-08-09T10:19:36.906Z] 765212b225bb: Pulling fs layer [2023-08-09T10:19:36.906Z] f23df028b6ca: Pulling fs layer [2023-08-09T10:19:36.906Z] d65c8cfc05b1: Pulling fs layer [2023-08-09T10:19:36.906Z] 2437ff75d9bd: Pulling fs layer [2023-08-09T10:19:36.906Z] f23df028b6ca: Waiting [2023-08-09T10:19:36.906Z] d65c8cfc05b1: Waiting [2023-08-09T10:19:36.906Z] 765212b225bb: Waiting [2023-08-09T10:19:36.906Z] 2437ff75d9bd: Waiting [2023-08-09T10:19:37.185Z] 04944245beec: Verifying Checksum [2023-08-09T10:19:37.185Z] 04944245beec: Download complete [2023-08-09T10:19:37.185Z] 765212b225bb: Verifying Checksum [2023-08-09T10:19:37.185Z] 765212b225bb: Download complete [2023-08-09T10:19:37.185Z] f23df028b6ca: Download complete [2023-08-09T10:19:37.185Z] d65c8cfc05b1: Verifying Checksum [2023-08-09T10:19:37.185Z] d65c8cfc05b1: Download complete [2023-08-09T10:19:37.454Z] 699f458cf7ca: Verifying Checksum [2023-08-09T10:19:37.454Z] 699f458cf7ca: Download complete [2023-08-09T10:19:37.726Z] 8998bd30e6a1: Verifying Checksum [2023-08-09T10:19:37.726Z] 8998bd30e6a1: Download complete [2023-08-09T10:19:40.319Z] 2437ff75d9bd: Verifying Checksum [2023-08-09T10:19:40.319Z] 2437ff75d9bd: Download complete [2023-08-09T10:19:42.272Z] 8998bd30e6a1: Pull complete [2023-08-09T10:19:42.272Z] 04944245beec: Pull complete [2023-08-09T10:19:43.684Z] 699f458cf7ca: Pull complete [2023-08-09T10:19:47.945Z] 765212b225bb: Pull complete [2023-08-09T10:19:48.218Z] f23df028b6ca: Pull complete [2023-08-09T10:19:48.487Z] d65c8cfc05b1: Pull complete [2023-08-09T10:20:03.494Z] 2437ff75d9bd: Pull complete [2023-08-09T10:20:03.494Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-09T10:20:03.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-09T10:20:03.494Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:20:03.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-3207 does not seem to be running inside a container [2023-08-09T10:20:03.908Z] $ 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-08-09T10:20:06.988Z] $ docker top de003c8fc6a7390bf33c0b28f0527901961a3dd352dfd9087868ace1d425dccd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:07.910Z] ---> job-cost.sh [2023-08-09T10:20:07.910Z] lf-activate-venv: SKIPPING [2023-08-09T10:20:07.910Z] INFO: No Stack... [2023-08-09T10:20:08.177Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-09T10:20:09.137Z] INFO: Archiving Costs [Pipeline] sh [2023-08-09T10:20:09.799Z] + + cut -d, -f6cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-08-09T10:20:09.799Z] [Pipeline] lock [2023-08-09T10:20:09.887Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [2023-08-09T10:20:09.895Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] did not exist. Created. [2023-08-09T10:20:09.895Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-09T10:20:10.632Z] /w/workspace/device-rest-go/1@tmp/durable-2d47c720/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-09T10:20:11.315Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-09T10:20:11.350Z] Warning: overwriting stash ‘stack-cost’ [2023-08-09T10:20:11.419Z] Stashed 1 file(s) [Pipeline] } [2023-08-09T10:20:11.434Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-331-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-09T10:20:11.520Z] $ docker stop --time=1 de003c8fc6a7390bf33c0b28f0527901961a3dd352dfd9087868ace1d425dccd [2023-08-09T10:20:13.743Z] $ docker rm -f --volumes de003c8fc6a7390bf33c0b28f0527901961a3dd352dfd9087868ace1d425dccd [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-08-09T10:20:14.701Z] provisioning config files... [2023-08-09T10:20:14.709Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/config13058459330907955534tmp [Pipeline] { [Pipeline] sh [2023-08-09T10:20:15.041Z] + set +x [2023-08-09T10:20:15.041Z] + + bash -s -- [2023-08-09T10:20:15.041Z] curl -s https://codecov.io/bash [2023-08-09T10:20:15.041Z] [2023-08-09T10:20:15.041Z] _____ _ [2023-08-09T10:20:15.041Z] / ____| | | [2023-08-09T10:20:15.041Z] | | ___ __| | ___ ___ _____ __ [2023-08-09T10:20:15.041Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-09T10:20:15.041Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-09T10:20:15.041Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-09T10:20:15.041Z] Bash-1.0.6 [2023-08-09T10:20:15.041Z] [2023-08-09T10:20:15.041Z] [2023-08-09T10:20:15.041Z] ==> git version 2.25.1 found [2023-08-09T10:20:15.041Z] ==> 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-08-09T10:20:15.041Z] Release-Date: 2020-01-08 [2023-08-09T10:20:15.041Z] 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-08-09T10:20:15.041Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-09T10:20:15.041Z] ==> Jenkins CI detected. [2023-08-09T10:20:15.041Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-331 [2023-08-09T10:20:15.041Z] project root: . [2023-08-09T10:20:15.041Z] --> token set from env [2023-08-09T10:20:15.042Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-09T10:20:15.042Z] ==> Running gcov in . (disable via -X gcov) [2023-08-09T10:20:15.042Z] ==> Python coveragepy not found [2023-08-09T10:20:15.042Z] ==> Searching for coverage reports in: [2023-08-09T10:20:15.042Z] + . [2023-08-09T10:20:15.042Z] -> Found 1 reports [2023-08-09T10:20:15.042Z] ==> Detecting git/mercurial file structure [2023-08-09T10:20:15.042Z] ==> Reading reports [2023-08-09T10:20:15.042Z] + ./coverage.out bytes=14656 [2023-08-09T10:20:15.042Z] ==> Appending adjustments [2023-08-09T10:20:15.042Z] https://docs.codecov.io/docs/fixing-reports [2023-08-09T10:20:15.301Z] + Found adjustments [2023-08-09T10:20:15.301Z] ==> Gzipping contents [2023-08-09T10:20:15.301Z] 4.0K /tmp/codecov.ruUgnr.gz [2023-08-09T10:20:15.301Z] ==> Uploading reports [2023-08-09T10:20:15.301Z] url: https://codecov.io [2023-08-09T10:20:15.301Z] query: branch=PR-331&commit=bbfcc0226598174b6127e805ff9b931fc1acdcd9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-331%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=331&job=&cmd_args= [2023-08-09T10:20:15.301Z] -> Pinging Codecov [2023-08-09T10:20:15.301Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-331&commit=bbfcc0226598174b6127e805ff9b931fc1acdcd9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-331%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=331&job=&cmd_args= [2023-08-09T10:20:15.301Z] -> Uploading to [2023-08-09T10:20:15.301Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-09/4E5D53B4F1F92C436F7061BF334D961C/bbfcc0226598174b6127e805ff9b931fc1acdcd9/52e1cfd5-e524-46ba-a7f9-01dba9f8cb7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230809%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230809T102015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c98f5c979b898615eb167d27e8c71716f3b5995f6aa506f2105171a682ce1ac [2023-08-09T10:20:15.301Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-09T10:20:15.301Z] Dload Upload Total Spent Left Speed [2023-08-09T10:20:15.568Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2492 0 0 100 2492 0 13617 --:--:-- --:--:-- --:--:-- 13617 [2023-08-09T10:20:15.568Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bbfcc0226598174b6127e805ff9b931fc1acdcd9 [Pipeline] } [2023-08-09T10:20:15.602Z] 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-08-09T10:20:17.387Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-331/archives ] [2023-08-09T10:20:17.387Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-331/archives [2023-08-09T10:20:17.387Z] total 16 [2023-08-09T10:20:17.387Z] drwxr-xr-x 3 root root 4096 Aug 9 10:10 . [2023-08-09T10:20:17.387Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:10 .. [2023-08-09T10:20:17.387Z] drwxr-xr-x 2 root root 4096 Aug 9 10:10 cost [2023-08-09T10:20:17.387Z] -rw-r--r-- 1 root root 86 Aug 9 10:10 cost.csv [2023-08-09T10:20:17.387Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-331/archives [2023-08-09T10:20:17.387Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-331/archives [2023-08-09T10:20:17.387Z] total 16 [2023-08-09T10:20:17.387Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 9 10:10 . [2023-08-09T10:20:17.387Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 9 10:10 .. [2023-08-09T10:20:17.387Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 9 10:10 cost [2023-08-09T10:20:17.387Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 9 10:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:17.718Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:18.606Z] ---> package-listing.sh [2023-08-09T10:20:18.606Z] ++ facter osfamily [2023-08-09T10:20:18.606Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-09T10:20:18.865Z] + OS_FAMILY=debian [2023-08-09T10:20:18.865Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-331 [2023-08-09T10:20:18.865Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-09T10:20:18.865Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-09T10:20:18.865Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-09T10:20:18.865Z] + PACKAGES=/tmp/packages_start.txt [2023-08-09T10:20:18.865Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-331 ']' [2023-08-09T10:20:18.865Z] + PACKAGES=/tmp/packages_end.txt [2023-08-09T10:20:18.865Z] + case "${OS_FAMILY}" in [2023-08-09T10:20:18.865Z] + dpkg -l [2023-08-09T10:20:18.865Z] + grep '^ii' [2023-08-09T10:20:18.865Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-09T10:20:18.865Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-09T10:20:18.865Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-09T10:20:18.865Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-331 ']' [2023-08-09T10:20:18.865Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-331/archives/ [2023-08-09T10:20:18.865Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-331/archives/ [Pipeline] echo [2023-08-09T10:20:18.907Z] 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-331/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-09T10:20:19.199Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-09T10:20:19.842Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-09T10:20:19.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-09T10:20:19.986Z] prd-ubuntu20.04-docker-8c-8g-3204 does not seem to be running inside a container [2023-08-09T10:20:20.026Z] $ 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-331/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-331 -v /w/workspace/gexfoundry_device-rest-go_PR-331:/w/workspace/gexfoundry_device-rest-go_PR-331:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-331@tmp:/w/workspace/gexfoundry_device-rest-go_PR-331@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-08-09T10:20:20.239Z] $ docker top 9df7dd60198678a23158d890d4b73490f779409b1e3a3b861c18fe4855d545af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-09T10:20:20.636Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-09T10:20:20.944Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-09T10:20:21.251Z] + ls /var/log/sa-host [2023-08-09T10:20:21.251Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-09T10:20:21.385Z] provisioning config files... [2023-08-09T10:20:21.393Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-331@tmp/config9593302413615859967tmp [Pipeline] { [Pipeline] echo [2023-08-09T10:20:21.444Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:21.763Z] ---> create-netrc.sh [Pipeline] } [2023-08-09T10:20:21.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:22.189Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-09T10:20:22.225Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:22.541Z] ---> sudo-logs.sh [2023-08-09T10:20:22.541Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-09T10:20:22.624Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:22.938Z] ---> job-cost.sh [2023-08-09T10:20:22.938Z] lf-activate-venv: SKIPPING [2023-08-09T10:20:22.938Z] DEBUG: total: 0.2199999988079071 [2023-08-09T10:20:22.938Z] INFO: Retrieving Stack Cost... [2023-08-09T10:20:23.198Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-09T10:20:23.767Z] INFO: Archiving Costs [Pipeline] echo [2023-08-09T10:20:23.805Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-09T10:20:24.115Z] ---> logs-deploy.sh [2023-08-09T10:20:24.115Z] lf-activate-venv: SKIPPING [2023-08-09T10:20:24.115Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-331/1 [2023-08-09T10:20:24.115Z] INFO: archiving workspace using pattern(s): [2023-08-09T10:20:25.053Z] Archives upload complete. [2023-08-09T10:20:25.053Z] INFO: archiving logs to Nexus