Pull request #243 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from acabc38dc464a89c9220904169020dc9c9f8b14b+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (fad1faf2565992a1c061462ed651b244f0753eab) 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-ssh7735280118676394149.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4165934357472895722.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-243/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-243/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16717953032000984580.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-243/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16994328554702343740.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2616426435029988675.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-243/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-243/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11212771229007859036.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3442 in /w/workspace/gexfoundry_device-rest-go_PR-243 [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-243 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit acabc38dc464a89c9220904169020dc9c9f8b14b Merge succeeded, producing acabc38dc464a89c9220904169020dc9c9f8b14b Checking out Revision acabc38dc464a89c9220904169020dc9c9f8b14b (PR-243) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-23T20:03:35.606Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T20:03:35.777Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T20:03:35.875Z] ========================================================= [2023-01-23T20:03:35.875Z] EdgeX Global Pipelines Version Info [2023-01-23T20:03:35.875Z] ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f acabc38dc464a89c9220904169020dc9c9f8b14b # 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 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acabc38dc464a89c9220904169020dc9c9f8b14b # timeout=10 [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:03:36.598Z] ------------------- [2023-01-23T20:03:36.599Z] stable info: [2023-01-23T20:03:36.599Z] ------------------- [2023-01-23T20:03:36.599Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T20:03:36.599Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T20:03:36.599Z] Message: update stable to v1.0.244 [2023-01-23T20:03:37.170Z] ------------------- [2023-01-23T20:03:37.170Z] experimental info: [2023-01-23T20:03:37.170Z] ------------------- [2023-01-23T20:03:37.170Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T20:03:37.170Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T20:03:37.170Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T20:03:37.547Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-23T20:03:37.593Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-23T20:03:37.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T20:03:37.674Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T20:03:37.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T20:03:37.747Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T20:03:37.781Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T20:03:37.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-23T20:03:37.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T20:03:37.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T20:03:37.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T20:03:37.967Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-23T20:03:38.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T20:03:38.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T20:03:38.083Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T20:03:38.118Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T20:03:38.153Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T20:03:38.189Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T20:03:38.224Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T20:03:38.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T20:03:38.296Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-23T20:03:38.329Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-23T20:03:38.365Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T20:03:38.400Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T20:03:38.435Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T20:03:38.470Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T20:03:38.505Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T20:03:38.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-243 [Pipeline] echo [2023-01-23T20:03:38.576Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-243 [Pipeline] echo [2023-01-23T20:03:38.611Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-243 [Pipeline] echo [2023-01-23T20:03:38.647Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acabc38dc464a89c9220904169020dc9c9f8b14b [Pipeline] echo [2023-01-23T20:03:38.684Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acabc38 [Pipeline] echo [2023-01-23T20:03:38.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T20:03:38.839Z] provisioning config files... [2023-01-23T20:03:38.852Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-243@tmp/config13547202704537092432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:03:39.295Z] ---> docker-login.sh [2023-01-23T20:03:39.295Z] nexus3.edgexfoundry.org:10001 [2023-01-23T20:03:39.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:39.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:39.555Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:39.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:39.555Z] [2023-01-23T20:03:39.555Z] Login Succeeded [2023-01-23T20:03:39.555Z] nexus3.edgexfoundry.org:10002 [2023-01-23T20:03:39.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:39.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:39.555Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:39.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:39.555Z] [2023-01-23T20:03:39.555Z] Login Succeeded [2023-01-23T20:03:39.555Z] nexus3.edgexfoundry.org:10003 [2023-01-23T20:03:39.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:39.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:39.816Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:39.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:39.816Z] [2023-01-23T20:03:39.816Z] Login Succeeded [2023-01-23T20:03:39.816Z] nexus3.edgexfoundry.org:10004 [2023-01-23T20:03:39.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:39.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:39.816Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:39.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:39.816Z] [2023-01-23T20:03:39.816Z] Login Succeeded [2023-01-23T20:03:39.816Z] docker.io [2023-01-23T20:03:39.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:40.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:40.080Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:40.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:40.080Z] [2023-01-23T20:03:40.080Z] Login Succeeded [2023-01-23T20:03:40.080Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T20:03:40.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T20:03:40.725Z] + git rev-list -1 --merges acabc38dc464a89c9220904169020dc9c9f8b14b~1..acabc38dc464a89c9220904169020dc9c9f8b14b [Pipeline] echo [2023-01-23T20:03:40.788Z] -----------> git rev-list -1 --merges acabc38dc464a89c9220904169020dc9c9f8b14b~1..acabc38dc464a89c9220904169020dc9c9f8b14b acabc38dc464a89c9220904169020dc9c9f8b14b [false] [Pipeline] sh [2023-01-23T20:03:41.100Z] + git log --format=format:%s -1 acabc38dc464a89c9220904169020dc9c9f8b14b [Pipeline] echo [2023-01-23T20:03:41.135Z] ========================================================= [2023-01-23T20:03:41.135Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T20:03:41.135Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T20:03:41.594Z] + git log --format=format:%s -1 acabc38dc464a89c9220904169020dc9c9f8b14b [Pipeline] echo [2023-01-23T20:03:41.626Z] [semverPrep] GIT_COMMIT: acabc38dc464a89c9220904169020dc9c9f8b14b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-23T20:03:41.659Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T20:03:42.033Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T20:03:42.033Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T20:03:42.033Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T20:03:42.033Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T20:03:42.033Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-23T20:03:42.033Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T20:03:42.033Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:03:42.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T20:03:42.456Z] [2023-01-23T20:03:42.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:03:42.843Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T20:03:42.844Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T20:03:42.844Z] b85a868b505f: Pulling fs layer [2023-01-23T20:03:42.844Z] e2be974225ed: Pulling fs layer [2023-01-23T20:03:42.844Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T20:03:42.844Z] 988bab9f4d93: Pulling fs layer [2023-01-23T20:03:42.844Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T20:03:42.844Z] eaf3925da568: Pulling fs layer [2023-01-23T20:03:42.844Z] bab4dde63d76: Pulling fs layer [2023-01-23T20:03:42.844Z] bde34c3a00c8: Pulling fs layer [2023-01-23T20:03:42.844Z] eaf3925da568: Waiting [2023-01-23T20:03:42.844Z] 1469e6f7b9e6: Waiting [2023-01-23T20:03:42.844Z] 988bab9f4d93: Waiting [2023-01-23T20:03:42.844Z] bab4dde63d76: Waiting [2023-01-23T20:03:42.844Z] b352a97aabf1: Pulling fs layer [2023-01-23T20:03:42.844Z] 4872d77fe225: Pulling fs layer [2023-01-23T20:03:42.844Z] b352a97aabf1: Waiting [2023-01-23T20:03:42.844Z] 5851b861e8e6: Pulling fs layer [2023-01-23T20:03:42.844Z] 4872d77fe225: Waiting [2023-01-23T20:03:42.844Z] e2be974225ed: Download complete [2023-01-23T20:03:42.844Z] 988bab9f4d93: Download complete [2023-01-23T20:03:43.105Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T20:03:43.105Z] 1469e6f7b9e6: Download complete [2023-01-23T20:03:43.105Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T20:03:43.105Z] 339a4e72a1f5: Download complete [2023-01-23T20:03:43.105Z] eaf3925da568: Verifying Checksum [2023-01-23T20:03:43.105Z] eaf3925da568: Download complete [2023-01-23T20:03:43.105Z] bde34c3a00c8: Download complete [2023-01-23T20:03:43.364Z] b352a97aabf1: Download complete [2023-01-23T20:03:43.364Z] 4872d77fe225: Verifying Checksum [2023-01-23T20:03:43.364Z] 4872d77fe225: Download complete [2023-01-23T20:03:43.364Z] 5851b861e8e6: Verifying Checksum [2023-01-23T20:03:43.364Z] 5851b861e8e6: Download complete [2023-01-23T20:03:43.364Z] b85a868b505f: Download complete [2023-01-23T20:03:43.623Z] bab4dde63d76: Verifying Checksum [2023-01-23T20:03:43.623Z] bab4dde63d76: Download complete [2023-01-23T20:03:44.560Z] b85a868b505f: Pull complete [2023-01-23T20:03:44.560Z] e2be974225ed: Pull complete [2023-01-23T20:03:45.126Z] 339a4e72a1f5: Pull complete [2023-01-23T20:03:45.126Z] 988bab9f4d93: Pull complete [2023-01-23T20:03:45.385Z] 1469e6f7b9e6: Pull complete [2023-01-23T20:03:45.385Z] eaf3925da568: Pull complete [2023-01-23T20:03:47.290Z] bab4dde63d76: Pull complete [2023-01-23T20:03:47.290Z] bde34c3a00c8: Pull complete [2023-01-23T20:03:47.290Z] b352a97aabf1: Pull complete [2023-01-23T20:03:47.550Z] 4872d77fe225: Pull complete [2023-01-23T20:03:47.550Z] 5851b861e8e6: Pull complete [2023-01-23T20:03:47.550Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T20:03:47.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T20:03:47.550Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T20:03:47.779Z] prd-ubuntu20.04-docker-8c-8g-3442 does not seem to be running inside a container [2023-01-23T20:03:47.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-243 -v /w/workspace/gexfoundry_device-rest-go_PR-243:/w/workspace/gexfoundry_device-rest-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-243@tmp:/w/workspace/gexfoundry_device-rest-go_PR-243@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-23T20:03:50.265Z] $ docker top 7e5b44991711a5ac7f293c6e2f2a6dfa11ac2a76e737b3e0e008103ecd3525a0 -eo pid,comm [2023-01-23T20:03:50.315Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-23T20:03:50.315Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T20:03:50.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T20:03:50.436Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T20:03:50.544Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T20:03:50.550Z] $ docker exec 7e5b44991711a5ac7f293c6e2f2a6dfa11ac2a76e737b3e0e008103ecd3525a0 ssh-agent [2023-01-23T20:03:50.669Z] SSH_AUTH_SOCK=/tmp/ssh-GySanvwNNUJ4/agent.32 [2023-01-23T20:03:50.669Z] SSH_AGENT_PID=38 [2023-01-23T20:03:50.675Z] Running ssh-add (command line suppressed) [2023-01-23T20:03:50.774Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-243@tmp/private_key_2150828592218206683.key (/w/workspace/gexfoundry_device-rest-go_PR-243@tmp/private_key_2150828592218206683.key) [2023-01-23T20:03:50.784Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T20:03:51.106Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T20:03:51.133Z] $ docker exec --env ******** --env ******** 7e5b44991711a5ac7f293c6e2f2a6dfa11ac2a76e737b3e0e008103ecd3525a0 ssh-agent -k [2023-01-23T20:03:51.231Z] unset SSH_AUTH_SOCK; [2023-01-23T20:03:51.231Z] unset SSH_AGENT_PID; [2023-01-23T20:03:51.231Z] echo Agent pid 38 killed; [2023-01-23T20:03:51.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T20:03:51.332Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T20:03:51.332Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T20:03:51.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T20:03:51.452Z] $ docker exec 7e5b44991711a5ac7f293c6e2f2a6dfa11ac2a76e737b3e0e008103ecd3525a0 ssh-agent [2023-01-23T20:03:51.554Z] SSH_AUTH_SOCK=/tmp/ssh-vi2fx5NcOtYZ/agent.70 [2023-01-23T20:03:51.554Z] SSH_AGENT_PID=76 [2023-01-23T20:03:51.558Z] Running ssh-add (command line suppressed) [2023-01-23T20:03:51.658Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-243@tmp/private_key_4890041098302175581.key (/w/workspace/gexfoundry_device-rest-go_PR-243@tmp/private_key_4890041098302175581.key) [2023-01-23T20:03:51.669Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T20:03:51.994Z] + git semver init [2023-01-23T20:03:52.254Z] 2023-01-23 20:03:52,174 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T20:03:52.254Z] 2023-01-23 20:03:52,175 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-243/.semver [2023-01-23T20:03:52.254Z] 2023-01-23 20:03:52,175 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-243/.semver [2023-01-23T20:03:52.254Z] 2023-01-23 20:03:52,176 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-243/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-243, universal_newlines=False, shell=None, istream=None) [2023-01-23T20:03:53.632Z] 2023-01-23 20:03:53,278 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-243/.git/info/exclude [2023-01-23T20:03:53.632Z] 2023-01-23 20:03:53,278 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-243/.semver/PR-243 with force:False [2023-01-23T20:03:53.632Z] 2023-01-23 20:03:53,278 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-243/.semver/PR-243 [2023-01-23T20:03:53.632Z] 2023-01-23 20:03:53,283 [execute] INFO git cat-file --batch-check [2023-01-23T20:03:53.632Z] 2023-01-23 20:03:53,283 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-243/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T20:03:53.632Z] 2023-01-23 20:03:53,289 [execute] INFO git cat-file --batch [2023-01-23T20:03:53.632Z] 2023-01-23 20:03:53,289 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-243/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T20:03:53.632Z] 2023-01-23 20:03:53,293 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-243/.semver/PR-243 [2023-01-23T20:03:53.632Z] 0.0.0 [Pipeline] } [2023-01-23T20:03:53.660Z] $ docker exec --env ******** --env ******** 7e5b44991711a5ac7f293c6e2f2a6dfa11ac2a76e737b3e0e008103ecd3525a0 ssh-agent -k [2023-01-23T20:03:53.765Z] unset SSH_AUTH_SOCK; [2023-01-23T20:03:53.766Z] unset SSH_AGENT_PID; [2023-01-23T20:03:53.766Z] echo Agent pid 76 killed; [2023-01-23T20:03:53.771Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T20:03:54.201Z] + git semver [Pipeline] } [2023-01-23T20:03:54.486Z] $ docker stop --time=1 7e5b44991711a5ac7f293c6e2f2a6dfa11ac2a76e737b3e0e008103ecd3525a0 [2023-01-23T20:03:55.754Z] $ docker rm -f --volumes 7e5b44991711a5ac7f293c6e2f2a6dfa11ac2a76e737b3e0e008103ecd3525a0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T20:03:56.154Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T20:03:56.427Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T20:03:56.445Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T20:03:57.027Z] provisioning config files... [2023-01-23T20:03:57.038Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-243@tmp/config12604114974118846425tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:03:57.473Z] ---> docker-login.sh [2023-01-23T20:03:57.473Z] nexus3.edgexfoundry.org:10001 [2023-01-23T20:03:57.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:57.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:57.473Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:57.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:57.473Z] [2023-01-23T20:03:57.473Z] Login Succeeded [2023-01-23T20:03:57.473Z] nexus3.edgexfoundry.org:10002 [2023-01-23T20:03:57.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:57.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:57.473Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:57.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:57.473Z] [2023-01-23T20:03:57.473Z] Login Succeeded [2023-01-23T20:03:57.473Z] nexus3.edgexfoundry.org:10003 [2023-01-23T20:03:57.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:57.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:57.737Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:57.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:57.737Z] [2023-01-23T20:03:57.737Z] Login Succeeded [2023-01-23T20:03:57.737Z] nexus3.edgexfoundry.org:10004 [2023-01-23T20:03:57.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:57.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:57.737Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:57.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:57.737Z] [2023-01-23T20:03:57.737Z] Login Succeeded [2023-01-23T20:03:57.737Z] docker.io [2023-01-23T20:03:57.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:03:58.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:03:58.255Z] Configure a credential helper to remove this warning. See [2023-01-23T20:03:58.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:03:58.255Z] [2023-01-23T20:03:58.255Z] Login Succeeded [2023-01-23T20:03:58.255Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T20:03:58.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T20:03:58.500Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T20:03:58.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T20:03:58.581Z] ========================================================= [2023-01-23T20:03:58.581Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T20:03:58.581Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:03:59.144Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T20:03:59.144Z] Sending build context to Docker daemon 10.8MB [2023-01-23T20:03:59.144Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T20:03:59.144Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T20:03:59.144Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T20:03:59.144Z] 213ec9aee27d: Pulling fs layer [2023-01-23T20:03:59.144Z] 4583459ba037: Pulling fs layer [2023-01-23T20:03:59.144Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T20:03:59.144Z] 53926ce57604: Pulling fs layer [2023-01-23T20:03:59.144Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T20:03:59.144Z] 22ff95d597cd: Pulling fs layer [2023-01-23T20:03:59.144Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T20:03:59.144Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T20:03:59.144Z] a7acece74701: Pulling fs layer [2023-01-23T20:03:59.144Z] 53926ce57604: Waiting [2023-01-23T20:03:59.144Z] 21b2b0c7a3f4: Waiting [2023-01-23T20:03:59.144Z] 22ff95d597cd: Waiting [2023-01-23T20:03:59.144Z] 12d6caf4c0d1: Waiting [2023-01-23T20:03:59.144Z] 96b7cbca73a9: Waiting [2023-01-23T20:03:59.144Z] 93c1e223e6f2: Download complete [2023-01-23T20:03:59.144Z] 4583459ba037: Verifying Checksum [2023-01-23T20:03:59.144Z] 4583459ba037: Download complete [2023-01-23T20:03:59.408Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T20:03:59.408Z] 21b2b0c7a3f4: Download complete [2023-01-23T20:03:59.408Z] 22ff95d597cd: Verifying Checksum [2023-01-23T20:03:59.408Z] 22ff95d597cd: Download complete [2023-01-23T20:03:59.408Z] 213ec9aee27d: Verifying Checksum [2023-01-23T20:03:59.408Z] 213ec9aee27d: Download complete [2023-01-23T20:03:59.408Z] 12d6caf4c0d1: Verifying Checksum [2023-01-23T20:03:59.408Z] 213ec9aee27d: Pull complete [2023-01-23T20:03:59.676Z] 4583459ba037: Pull complete [2023-01-23T20:03:59.676Z] 93c1e223e6f2: Pull complete [2023-01-23T20:04:00.696Z] a7acece74701: Verifying Checksum [2023-01-23T20:04:00.696Z] a7acece74701: Download complete [2023-01-23T20:04:00.957Z] 53926ce57604: Verifying Checksum [2023-01-23T20:04:00.957Z] 53926ce57604: Download complete [2023-01-23T20:04:00.957Z] 96b7cbca73a9: Verifying Checksum [2023-01-23T20:04:00.957Z] 96b7cbca73a9: Download complete [2023-01-23T20:04:04.303Z] 53926ce57604: Pull complete [2023-01-23T20:04:04.303Z] 21b2b0c7a3f4: Pull complete [2023-01-23T20:04:04.562Z] 22ff95d597cd: Pull complete [2023-01-23T20:04:04.562Z] 12d6caf4c0d1: Pull complete [2023-01-23T20:04:06.461Z] 96b7cbca73a9: Pull complete [2023-01-23T20:04:07.027Z] a7acece74701: Pull complete [2023-01-23T20:04:07.027Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T20:04:07.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T20:04:07.027Z] ---> db6d94c90886 [2023-01-23T20:04:07.027Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T20:04:11.219Z] ---> Running in d5437399f174 [2023-01-23T20:04:11.219Z] Removing intermediate container d5437399f174 [2023-01-23T20:04:11.219Z] ---> f1f6c258f962 [2023-01-23T20:04:11.219Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T20:04:11.219Z] ---> Running in 9cbbe3bf625f [2023-01-23T20:04:11.219Z] Removing intermediate container 9cbbe3bf625f [2023-01-23T20:04:11.219Z] ---> 312fc0f81852 [2023-01-23T20:04:11.219Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T20:04:11.219Z] ---> Running in d73a03d54dd9 [2023-01-23T20:04:11.219Z] Removing intermediate container d73a03d54dd9 [2023-01-23T20:04:11.219Z] ---> f8804ebf1d1c [2023-01-23T20:04:11.219Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T20:04:11.219Z] ---> Running in efc7c6b63d8d [2023-01-23T20:04:11.219Z] Removing intermediate container efc7c6b63d8d [2023-01-23T20:04:11.219Z] ---> d0162ef40e65 [2023-01-23T20:04:11.219Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T20:04:11.219Z] ---> Running in 73eb8d1cb036 [2023-01-23T20:04:11.477Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T20:04:11.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T20:04:11.853Z] Still waiting to schedule task [2023-01-23T20:04:11.853Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3440’ [2023-01-23T20:04:11.996Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T20:04:11.996Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T20:04:11.996Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T20:04:11.996Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T20:04:11.996Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T20:04:11.996Z] OK: 216 MiB in 55 packages [2023-01-23T20:04:12.568Z] Removing intermediate container 73eb8d1cb036 [2023-01-23T20:04:12.568Z] ---> 646855568718 [2023-01-23T20:04:12.568Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-23T20:04:12.568Z] ---> Running in 6af9ab4f8a82 [2023-01-23T20:04:12.568Z] Removing intermediate container 6af9ab4f8a82 [2023-01-23T20:04:12.568Z] ---> e433c273b173 [2023-01-23T20:04:12.568Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-23T20:04:12.826Z] ---> 3d02e9f3348b [2023-01-23T20:04:12.826Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T20:04:12.826Z] ---> Running in 3ce8dc054c57 [2023-01-23T20:04:39.383Z] Removing intermediate container 3ce8dc054c57 [2023-01-23T20:04:39.383Z] ---> 446f240b2281 [2023-01-23T20:04:39.383Z] Step 11/12 : COPY . . [2023-01-23T20:04:39.383Z] ---> ba5f0d2aba1b [2023-01-23T20:04:39.383Z] Step 12/12 : RUN $MAKE [2023-01-23T20:04:39.383Z] ---> Running in ebd72fb6c4f9 [2023-01-23T20:04:39.383Z] noop [2023-01-23T20:04:39.383Z] Removing intermediate container ebd72fb6c4f9 [2023-01-23T20:04:39.383Z] ---> 65520f825e39 [2023-01-23T20:04:39.383Z] Successfully built 65520f825e39 [2023-01-23T20:04:39.383Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:04:39.830Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T20:04:39.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T20:04:39.977Z] prd-ubuntu20.04-docker-8c-8g-3442 does not seem to be running inside a container [2023-01-23T20:04:40.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-243 -v /w/workspace/gexfoundry_device-rest-go_PR-243:/w/workspace/gexfoundry_device-rest-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-243@tmp:/w/workspace/gexfoundry_device-rest-go_PR-243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T20:04:40.336Z] $ docker top e344615483d2f0497e7c2d2ae5b9c9c8dae6ab7517f2749d7a0f414ddc9ba165 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T20:04:40.725Z] + go version [2023-01-23T20:04:40.725Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T20:04:40.760Z] $ docker stop --time=1 e344615483d2f0497e7c2d2ae5b9c9c8dae6ab7517f2749d7a0f414ddc9ba165 [2023-01-23T20:04:41.999Z] $ docker rm -f --volumes e344615483d2f0497e7c2d2ae5b9c9c8dae6ab7517f2749d7a0f414ddc9ba165 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:04:42.670Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T20:04:42.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T20:04:42.822Z] prd-ubuntu20.04-docker-8c-8g-3442 does not seem to be running inside a container [2023-01-23T20:04:42.853Z] $ 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-243 -v /w/workspace/gexfoundry_device-rest-go_PR-243:/w/workspace/gexfoundry_device-rest-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-243@tmp:/w/workspace/gexfoundry_device-rest-go_PR-243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T20:04:43.168Z] $ docker top f3191f9c64ab4ce456b6d5e9eddd3231f4d55633780ccdb833c3e3896f24d939 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T20:04:43.558Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-243 [Pipeline] fileExists [Pipeline] sh [2023-01-23T20:04:43.925Z] + make test [2023-01-23T20:04:43.925Z] go test ./... -coverprofile=coverage.out ./... [2023-01-23T20:04:44.185Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-23T20:04:54.157Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-23T20:04:54.157Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2023-01-23T20:05:02.272Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-23T20:05:02.272Z] go vet ./... [2023-01-23T20:05:04.802Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T20:05:04.802Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T20:05:04.802Z] ./bin/test-attribution-txt.sh [2023-01-23T20:05:04.802Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T20:05:04.802Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T20:05:04.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T20:05:04.869Z] $ docker stop --time=1 f3191f9c64ab4ce456b6d5e9eddd3231f4d55633780ccdb833c3e3896f24d939 [2023-01-23T20:05:07.043Z] $ docker rm -f --volumes f3191f9c64ab4ce456b6d5e9eddd3231f4d55633780ccdb833c3e3896f24d939 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T20:05:07.567Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T20:05:07.648Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-23T20:05:08.367Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T20:05:08.687Z] + ls -al . [2023-01-23T20:05:08.687Z] total 180 [2023-01-23T20:05:08.687Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 20:04 . [2023-01-23T20:05:08.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 20:03 .. [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 23 20:03 .dockerignore [2023-01-23T20:05:08.687Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 20:04 .git [2023-01-23T20:05:08.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 20:03 .github [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 23 20:03 .gitignore [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 20:03 .golangci.yml [2023-01-23T20:05:08.687Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 20:03 .semver [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 23 20:03 Attribution.txt [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 23 20:03 CHANGELOG.md [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 23 20:03 Dockerfile [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 20:03 GOVERNANCE.md [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 23 20:03 Jenkinsfile [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 20:03 LICENSE [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 23 20:03 Makefile [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 23 20:03 OWNERS.md [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 23 20:03 README.md [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 20:03 VERSION [2023-01-23T20:05:08.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 20:03 bin [2023-01-23T20:05:08.687Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 20:03 cmd [2023-01-23T20:05:08.687Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 23 20:04 coverage.out [2023-01-23T20:05:08.687Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 20:03 driver [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 3454 Jan 23 20:03 go.mod [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 23 20:03 go.sum [2023-01-23T20:05:08.687Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 20:03 snap [2023-01-23T20:05:08.687Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 23 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:05:09.077Z] + 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=acabc38dc464a89c9220904169020dc9c9f8b14b --label arch=amd64 --label version=0.0.0 . [2023-01-23T20:05:09.078Z] Sending build context to Docker daemon 10.81MB [2023-01-23T20:05:09.078Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T20:05:09.078Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-23T20:05:09.078Z] ---> 65520f825e39 [2023-01-23T20:05:09.078Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-23T20:05:09.078Z] ---> Running in b7cde599f988 [2023-01-23T20:05:09.337Z] Removing intermediate container b7cde599f988 [2023-01-23T20:05:09.337Z] ---> 884e64f854e3 [2023-01-23T20:05:09.337Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T20:05:09.337Z] ---> Running in 325f0c84bd71 [2023-01-23T20:05:09.337Z] Removing intermediate container 325f0c84bd71 [2023-01-23T20:05:09.337Z] ---> 1d73dc2d0a4e [2023-01-23T20:05:09.337Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T20:05:09.337Z] ---> Running in 2de2364b535c [2023-01-23T20:05:09.337Z] Removing intermediate container 2de2364b535c [2023-01-23T20:05:09.337Z] ---> 79522665b553 [2023-01-23T20:05:09.337Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T20:05:09.337Z] ---> Running in 94f7680ba8c3 [2023-01-23T20:05:09.596Z] Removing intermediate container 94f7680ba8c3 [2023-01-23T20:05:09.596Z] ---> 76d802c37450 [2023-01-23T20:05:09.596Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T20:05:09.596Z] ---> Running in 0e676f960111 [2023-01-23T20:05:09.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T20:05:09.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T20:05:10.113Z] OK: 216 MiB in 55 packages [2023-01-23T20:05:10.372Z] Removing intermediate container 0e676f960111 [2023-01-23T20:05:10.372Z] ---> 94f01c3b442c [2023-01-23T20:05:10.372Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-23T20:05:10.372Z] ---> Running in 8a58f29171e3 [2023-01-23T20:05:10.372Z] Removing intermediate container 8a58f29171e3 [2023-01-23T20:05:10.372Z] ---> 9acfd30f4a9d [2023-01-23T20:05:10.372Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-23T20:05:10.630Z] ---> eb9e9c18e20a [2023-01-23T20:05:10.630Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T20:05:10.630Z] ---> Running in dc141851d2af [2023-01-23T20:05:11.200Z] Removing intermediate container dc141851d2af [2023-01-23T20:05:11.200Z] ---> a60cef05c23b [2023-01-23T20:05:11.200Z] Step 11/25 : COPY . . [2023-01-23T20:05:11.772Z] ---> 8ca4f696a707 [2023-01-23T20:05:11.772Z] Step 12/25 : RUN $MAKE [2023-01-23T20:05:11.772Z] ---> Running in d3ee938f94b5 [2023-01-23T20:05:12.031Z] 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-01-23T20:05:30.107Z] Removing intermediate container d3ee938f94b5 [2023-01-23T20:05:30.107Z] ---> e226cba1bb76 [2023-01-23T20:05:30.107Z] Step 13/25 : FROM alpine:3.16 [2023-01-23T20:05:30.672Z] 3.16: Pulling from library/alpine [2023-01-23T20:05:30.672Z] ca7dd9ec2225: Pulling fs layer [2023-01-23T20:05:30.930Z] ca7dd9ec2225: Verifying Checksum [2023-01-23T20:05:30.930Z] ca7dd9ec2225: Download complete [2023-01-23T20:05:31.188Z] ca7dd9ec2225: Pull complete [2023-01-23T20:05:31.188Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T20:05:31.188Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T20:05:31.188Z] ---> bfe296a52501 [2023-01-23T20:05:31.188Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-23T20:05:31.188Z] ---> Running in 995a614885af [2023-01-23T20:05:31.445Z] Removing intermediate container 995a614885af [2023-01-23T20:05:31.445Z] ---> 98b69692faca [2023-01-23T20:05:31.445Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-23T20:05:31.445Z] ---> Running in 76631b9ae485 [2023-01-23T20:05:31.445Z] Removing intermediate container 76631b9ae485 [2023-01-23T20:05:31.445Z] ---> 4ac5f942ecaf [2023-01-23T20:05:31.445Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-23T20:05:31.445Z] ---> Running in 6224b45024b2 [2023-01-23T20:05:31.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T20:05:31.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T20:05:32.221Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T20:05:32.221Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T20:05:32.221Z] OK: 6 MiB in 15 packages [2023-01-23T20:05:32.479Z] Removing intermediate container 6224b45024b2 [2023-01-23T20:05:32.479Z] ---> c5e596ecc37a [2023-01-23T20:05:32.479Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-23T20:05:33.415Z] ---> a9f5e1e04b1b [2023-01-23T20:05:33.415Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-23T20:05:33.415Z] ---> 9f4b0bd4283e [2023-01-23T20:05:33.415Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-23T20:05:33.415Z] ---> 3bfe8ab2e202 [2023-01-23T20:05:33.415Z] Step 20/25 : EXPOSE 59986 [2023-01-23T20:05:33.415Z] ---> Running in 24e703d224da [2023-01-23T20:05:33.415Z] Removing intermediate container 24e703d224da [2023-01-23T20:05:33.415Z] ---> dd32a04cb7da [2023-01-23T20:05:33.415Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-23T20:05:33.415Z] ---> Running in 035a40831e4a [2023-01-23T20:05:33.673Z] Removing intermediate container 035a40831e4a [2023-01-23T20:05:33.673Z] ---> 51deb60cac8f [2023-01-23T20:05:33.673Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-23T20:05:33.673Z] ---> Running in 5b912dacd8e3 [2023-01-23T20:05:33.673Z] Removing intermediate container 5b912dacd8e3 [2023-01-23T20:05:33.673Z] ---> 14a26280dc32 [2023-01-23T20:05:33.673Z] Step 23/25 : LABEL arch=amd64 [2023-01-23T20:05:33.673Z] ---> Running in 74c0fd5727cf [2023-01-23T20:05:33.673Z] Removing intermediate container 74c0fd5727cf [2023-01-23T20:05:33.673Z] ---> a7aa6fa1e254 [2023-01-23T20:05:33.673Z] Step 24/25 : LABEL git_sha=acabc38dc464a89c9220904169020dc9c9f8b14b [2023-01-23T20:05:33.673Z] ---> Running in 3c5e3042e13a [2023-01-23T20:05:33.931Z] Removing intermediate container 3c5e3042e13a [2023-01-23T20:05:33.931Z] ---> 623a596100da [2023-01-23T20:05:33.931Z] Step 25/25 : LABEL version=0.0.0 [2023-01-23T20:05:33.931Z] ---> Running in 47120ff41680 [2023-01-23T20:05:33.931Z] Removing intermediate container 47120ff41680 [2023-01-23T20:05:33.931Z] ---> f63e79c3b8ed [2023-01-23T20:05:33.931Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T20:05:33.931Z] Successfully built f63e79c3b8ed [2023-01-23T20:05:33.931Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:05:34.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T20:05:34.736Z] [2023-01-23T20:05:34.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:05:35.110Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T20:05:35.110Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T20:05:35.110Z] 5eb5b503b376: Pulling fs layer [2023-01-23T20:05:35.110Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T20:05:35.110Z] ec43610c2a17: Pulling fs layer [2023-01-23T20:05:35.110Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T20:05:35.110Z] 33b1e0a273af: Pulling fs layer [2023-01-23T20:05:35.110Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T20:05:35.110Z] 2f39f015ded8: Pulling fs layer [2023-01-23T20:05:35.110Z] 3a2ae6a8a46f: Waiting [2023-01-23T20:05:35.110Z] 33b1e0a273af: Waiting [2023-01-23T20:05:35.110Z] 2f39f015ded8: Waiting [2023-01-23T20:05:35.110Z] 5d3b04190fa2: Waiting [2023-01-23T20:05:35.110Z] 5c69ac0246d0: Verifying Checksum [2023-01-23T20:05:35.110Z] 5c69ac0246d0: Download complete [2023-01-23T20:05:35.110Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-23T20:05:35.110Z] 3a2ae6a8a46f: Download complete [2023-01-23T20:05:35.378Z] ec43610c2a17: Verifying Checksum [2023-01-23T20:05:35.378Z] ec43610c2a17: Download complete [2023-01-23T20:05:35.378Z] 33b1e0a273af: Verifying Checksum [2023-01-23T20:05:35.378Z] 33b1e0a273af: Download complete [2023-01-23T20:05:35.378Z] 5d3b04190fa2: Verifying Checksum [2023-01-23T20:05:35.378Z] 5d3b04190fa2: Download complete [2023-01-23T20:05:35.639Z] 5eb5b503b376: Verifying Checksum [2023-01-23T20:05:35.639Z] 5eb5b503b376: Download complete [2023-01-23T20:05:36.216Z] 2f39f015ded8: Download complete [2023-01-23T20:05:36.783Z] 5eb5b503b376: Pull complete [2023-01-23T20:05:36.783Z] 5c69ac0246d0: Pull complete [2023-01-23T20:05:37.348Z] ec43610c2a17: Pull complete [2023-01-23T20:05:37.348Z] 3a2ae6a8a46f: Pull complete [2023-01-23T20:05:37.348Z] 33b1e0a273af: Pull complete [2023-01-23T20:05:37.610Z] 5d3b04190fa2: Pull complete [2023-01-23T20:05:41.807Z] 2f39f015ded8: Pull complete [2023-01-23T20:05:41.807Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T20:05:41.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T20:05:41.807Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T20:05:42.009Z] prd-ubuntu20.04-docker-8c-8g-3442 does not seem to be running inside a container [2023-01-23T20:05:42.037Z] $ 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-243 -v /w/workspace/gexfoundry_device-rest-go_PR-243:/w/workspace/gexfoundry_device-rest-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-243@tmp:/w/workspace/gexfoundry_device-rest-go_PR-243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T20:05:44.522Z] $ docker top 38212a871038be9ff0ae6045bd5f07d3035445892f909b6c615ffc076145f4ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:05:44.955Z] ---> job-cost.sh [2023-01-23T20:05:44.956Z] lf-activate-venv: SKIPPING [2023-01-23T20:05:44.956Z] INFO: No Stack... [2023-01-23T20:05:45.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T20:05:45.787Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T20:05:46.102Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-243/archives/cost.csv [2023-01-23T20:05:46.102Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T20:05:46.139Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-243-1-stack-cost] [2023-01-23T20:05:46.144Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-243-1-stack-cost] did not exist. Created. [2023-01-23T20:05:46.145Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-243-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T20:05:46.531Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T20:05:46.582Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T20:05:46.612Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-243-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T20:05:46.695Z] $ docker stop --time=1 38212a871038be9ff0ae6045bd5f07d3035445892f909b6c615ffc076145f4ff [2023-01-23T20:05:47.849Z] $ docker rm -f --volumes 38212a871038be9ff0ae6045bd5f07d3035445892f909b6c615ffc076145f4ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T20:08:31.779Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3445 in /w/workspace/gexfoundry_device-rest-go_PR-243 [Pipeline] { [Pipeline] ws [2023-01-23T20:08:31.837Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-01-23T20:08:31.910Z] The recommended git tool is: git [2023-01-23T20:08:37.436Z] using credential edgex-jenkins-ssh [2023-01-23T20:08:37.453Z] Cloning the remote Git repository [2023-01-23T20:08:37.499Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-23T20:08:37.578Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-01-23T20:08:37.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-23T20:08:37.749Z] > git --version # timeout=10 [2023-01-23T20:08:37.773Z] > git --version # 'git version 2.25.1' [2023-01-23T20:08:37.776Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T20:08:37.841Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T20:08:39.632Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-23T20:08:39.655Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T20:08:40.537Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-23T20:08:40.579Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-23T20:08:40.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T20:08:40.602Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/243/head:refs/remotes/origin/PR-243 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T20:08:41.087Z] Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit acabc38dc464a89c9220904169020dc9c9f8b14b [2023-01-23T20:08:41.367Z] Merge succeeded, producing acabc38dc464a89c9220904169020dc9c9f8b14b [2023-01-23T20:08:41.367Z] Checking out Revision acabc38dc464a89c9220904169020dc9c9f8b14b (PR-243) [2023-01-23T20:08:41.843Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-23T20:08:41.897Z] > git --version # timeout=10 [2023-01-23T20:08:41.910Z] > git --version # 'git version 2.25.1' [2023-01-23T20:08:41.934Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T20:08:41.112Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T20:08:41.132Z] > git checkout -f acabc38dc464a89c9220904169020dc9c9f8b14b # timeout=10 [2023-01-23T20:08:41.235Z] > git remote # timeout=10 [2023-01-23T20:08:41.260Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T20:08:41.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T20:08:41.318Z] > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 [2023-01-23T20:08:41.352Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T20:08:41.377Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T20:08:41.390Z] > git checkout -f acabc38dc464a89c9220904169020dc9c9f8b14b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T20:08:43.924Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T20:08:43.924Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T20:08:43.924Z] Dload Upload Total Spent Left Speed [2023-01-23T20:08:43.924Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh [2023-01-23T20:08:44.570Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T20:08:44.914Z] + + sudosudo jq tee /etc/docker/daemon.new [2023-01-23T20:08:44.914Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T20:08:44.914Z] { [2023-01-23T20:08:44.914Z] "registry-mirrors": [ [2023-01-23T20:08:44.914Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T20:08:44.914Z] ], [2023-01-23T20:08:44.914Z] "bip": "10.250.0.254/24", [2023-01-23T20:08:44.914Z] "hosts": [ [2023-01-23T20:08:44.914Z] "tcp://0.0.0.0:5555", [2023-01-23T20:08:44.914Z] "unix:///var/run/docker.sock" [2023-01-23T20:08:44.914Z] ], [2023-01-23T20:08:44.914Z] "mtu": 1458, [2023-01-23T20:08:44.914Z] "selinux-enabled": true, [2023-01-23T20:08:44.914Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T20:08:44.915Z] } [Pipeline] sh [2023-01-23T20:08:45.257Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T20:08:45.602Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T20:09:03.927Z] provisioning config files... [2023-01-23T20:09:03.960Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config12093671494071670494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:09:04.352Z] ---> docker-login.sh [2023-01-23T20:09:04.352Z] nexus3.edgexfoundry.org:10001 [2023-01-23T20:09:04.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:09:04.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:09:04.939Z] Configure a credential helper to remove this warning. See [2023-01-23T20:09:04.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:09:04.939Z] [2023-01-23T20:09:04.939Z] Login Succeeded [2023-01-23T20:09:04.939Z] nexus3.edgexfoundry.org:10002 [2023-01-23T20:09:05.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:09:05.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:09:05.484Z] Configure a credential helper to remove this warning. See [2023-01-23T20:09:05.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:09:05.484Z] [2023-01-23T20:09:05.484Z] Login Succeeded [2023-01-23T20:09:05.484Z] nexus3.edgexfoundry.org:10003 [2023-01-23T20:09:05.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:09:05.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:09:05.755Z] Configure a credential helper to remove this warning. See [2023-01-23T20:09:05.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:09:05.755Z] [2023-01-23T20:09:05.755Z] Login Succeeded [2023-01-23T20:09:05.755Z] nexus3.edgexfoundry.org:10004 [2023-01-23T20:09:06.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:09:06.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:09:06.026Z] Configure a credential helper to remove this warning. See [2023-01-23T20:09:06.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:09:06.026Z] [2023-01-23T20:09:06.026Z] Login Succeeded [2023-01-23T20:09:06.026Z] docker.io [2023-01-23T20:09:06.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T20:09:06.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T20:09:06.567Z] Configure a credential helper to remove this warning. See [2023-01-23T20:09:06.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T20:09:06.567Z] [2023-01-23T20:09:06.567Z] Login Succeeded [2023-01-23T20:09:06.567Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T20:09:06.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T20:09:06.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T20:09:07.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T20:09:07.039Z] ========================================================= [2023-01-23T20:09:07.039Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T20:09:07.039Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:09:07.544Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-23T20:09:07.544Z] Sending build context to Docker daemon 127kB [2023-01-23T20:09:07.812Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T20:09:07.812Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T20:09:08.409Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T20:09:08.409Z] 9b18e9b68314: Pulling fs layer [2023-01-23T20:09:08.409Z] 35d82f9e3411: Pulling fs layer [2023-01-23T20:09:08.409Z] e16973657156: Pulling fs layer [2023-01-23T20:09:08.409Z] fc693d55d65f: Pulling fs layer [2023-01-23T20:09:08.409Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T20:09:08.409Z] dda99020689f: Pulling fs layer [2023-01-23T20:09:08.409Z] db1c61fa0a46: Pulling fs layer [2023-01-23T20:09:08.409Z] 891c053d2c06: Pulling fs layer [2023-01-23T20:09:08.409Z] dda99020689f: Waiting [2023-01-23T20:09:08.409Z] db1c61fa0a46: Waiting [2023-01-23T20:09:08.409Z] 7e9fc2657dce: Waiting [2023-01-23T20:09:08.409Z] 891c053d2c06: Waiting [2023-01-23T20:09:08.409Z] fc693d55d65f: Waiting [2023-01-23T20:09:08.409Z] e16973657156: Verifying Checksum [2023-01-23T20:09:08.409Z] e16973657156: Download complete [2023-01-23T20:09:08.409Z] 35d82f9e3411: Verifying Checksum [2023-01-23T20:09:08.409Z] 35d82f9e3411: Download complete [2023-01-23T20:09:08.409Z] 7e9fc2657dce: Verifying Checksum [2023-01-23T20:09:08.409Z] 7e9fc2657dce: Download complete [2023-01-23T20:09:08.409Z] dda99020689f: Verifying Checksum [2023-01-23T20:09:08.409Z] dda99020689f: Download complete [2023-01-23T20:09:08.409Z] 9b18e9b68314: Verifying Checksum [2023-01-23T20:09:09.860Z] 9b18e9b68314: Pull complete [2023-01-23T20:09:09.860Z] 891c053d2c06: Verifying Checksum [2023-01-23T20:09:09.860Z] 891c053d2c06: Download complete [2023-01-23T20:09:10.134Z] 35d82f9e3411: Pull complete [2023-01-23T20:09:10.408Z] e16973657156: Pull complete [2023-01-23T20:09:11.006Z] db1c61fa0a46: Verifying Checksum [2023-01-23T20:09:11.006Z] db1c61fa0a46: Download complete [2023-01-23T20:09:11.593Z] fc693d55d65f: Verifying Checksum [2023-01-23T20:09:11.593Z] fc693d55d65f: Download complete [2023-01-23T20:09:23.961Z] fc693d55d65f: Pull complete [2023-01-23T20:09:23.961Z] 7e9fc2657dce: Pull complete [2023-01-23T20:09:24.232Z] dda99020689f: Pull complete [2023-01-23T20:09:31.001Z] db1c61fa0a46: Pull complete [2023-01-23T20:09:32.962Z] 891c053d2c06: Pull complete [2023-01-23T20:09:32.962Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T20:09:32.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T20:09:32.962Z] ---> f96f9c87975a [2023-01-23T20:09:32.962Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T20:09:34.913Z] ---> Running in f2515705c52a [2023-01-23T20:09:35.185Z] Removing intermediate container f2515705c52a [2023-01-23T20:09:35.186Z] ---> a02192bfe21a [2023-01-23T20:09:35.186Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T20:09:35.186Z] ---> Running in 005297ca303e [2023-01-23T20:09:35.466Z] Removing intermediate container 005297ca303e [2023-01-23T20:09:35.466Z] ---> 8af1aa985d60 [2023-01-23T20:09:35.466Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T20:09:35.737Z] ---> Running in 29f65af4c6b6 [2023-01-23T20:09:36.005Z] Removing intermediate container 29f65af4c6b6 [2023-01-23T20:09:36.005Z] ---> 4c3bf3a8ca68 [2023-01-23T20:09:36.005Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T20:09:36.005Z] ---> Running in 543658a063ef [2023-01-23T20:09:36.273Z] Removing intermediate container 543658a063ef [2023-01-23T20:09:36.273Z] ---> 5fb09f9930b4 [2023-01-23T20:09:36.273Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T20:09:36.273Z] ---> Running in f2b487c279bc [2023-01-23T20:09:37.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T20:09:37.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T20:09:38.908Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T20:09:38.908Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T20:09:38.908Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T20:09:39.178Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T20:09:39.178Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T20:09:39.178Z] OK: 226 MiB in 55 packages [2023-01-23T20:09:40.156Z] Removing intermediate container f2b487c279bc [2023-01-23T20:09:40.156Z] ---> e50f0c720e97 [2023-01-23T20:09:40.156Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-23T20:09:40.156Z] ---> Running in d1aa7afba322 [2023-01-23T20:09:40.424Z] Removing intermediate container d1aa7afba322 [2023-01-23T20:09:40.424Z] ---> a41e3e8f00bc [2023-01-23T20:09:40.424Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-23T20:09:41.016Z] ---> 4c07e211af9f [2023-01-23T20:09:41.016Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T20:09:41.016Z] ---> Running in 26fcbea618a5 [2023-01-23T20:10:48.899Z] Removing intermediate container 26fcbea618a5 [2023-01-23T20:10:48.899Z] ---> 3ddfe000c34f [2023-01-23T20:10:48.899Z] Step 11/12 : COPY . . [2023-01-23T20:10:48.899Z] ---> 78e6545942fa [2023-01-23T20:10:48.899Z] Step 12/12 : RUN $MAKE [2023-01-23T20:10:48.899Z] ---> Running in cd48976c66a4 [2023-01-23T20:10:49.867Z] noop [2023-01-23T20:10:50.460Z] Removing intermediate container cd48976c66a4 [2023-01-23T20:10:50.460Z] ---> 008021fdc8b4 [2023-01-23T20:10:50.460Z] Successfully built 008021fdc8b4 [2023-01-23T20:10:50.460Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:10:50.921Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T20:10:50.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T20:10:51.173Z] prd-ubuntu20.04-docker-arm64-4c-16g-3445 does not seem to be running inside a container [2023-01-23T20:10:51.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T20:10:52.400Z] $ docker top 3b7c807fd00529785e80904b5277b681761f961fceca1bd6fee0de1e5b0b479d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T20:10:53.293Z] + go version [2023-01-23T20:10:53.293Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T20:10:53.326Z] $ docker stop --time=1 3b7c807fd00529785e80904b5277b681761f961fceca1bd6fee0de1e5b0b479d [2023-01-23T20:10:54.901Z] $ docker rm -f --volumes 3b7c807fd00529785e80904b5277b681761f961fceca1bd6fee0de1e5b0b479d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:10:55.735Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T20:10:55.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T20:10:55.961Z] prd-ubuntu20.04-docker-arm64-4c-16g-3445 does not seem to be running inside a container [2023-01-23T20:10:56.019Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T20:10:57.113Z] $ docker top 533069fd6caa8eb3bf79e1a6c3734aa643d8a563fa5f4d5f5300737c16b4c541 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T20:10:57.678Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T20:10:58.641Z] + make test [2023-01-23T20:10:58.641Z] go test ./... -coverprofile=coverage.out ./... [2023-01-23T20:11:00.057Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-23T20:12:21.710Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-23T20:12:21.710Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements [2023-01-23T20:12:21.710Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-23T20:12:21.710Z] go vet ./... [2023-01-23T20:12:43.785Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T20:12:43.785Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T20:12:43.785Z] ./bin/test-attribution-txt.sh [2023-01-23T20:12:43.785Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T20:12:43.785Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T20:12:43.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T20:12:43.857Z] $ docker stop --time=1 533069fd6caa8eb3bf79e1a6c3734aa643d8a563fa5f4d5f5300737c16b4c541 [2023-01-23T20:12:45.620Z] $ docker rm -f --volumes 533069fd6caa8eb3bf79e1a6c3734aa643d8a563fa5f4d5f5300737c16b4c541 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T20:12:46.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T20:12:46.720Z] Warning: overwriting stash ‘coverage-report’ [2023-01-23T20:12:47.222Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T20:12:47.796Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T20:12:48.138Z] + ls -al . [2023-01-23T20:12:48.138Z] total 176 [2023-01-23T20:12:48.138Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 20:10 . [2023-01-23T20:12:48.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 20:08 .. [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 23 20:08 .dockerignore [2023-01-23T20:12:48.138Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 20:08 .git [2023-01-23T20:12:48.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 20:08 .github [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 23 20:08 .gitignore [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 20:08 .golangci.yml [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 23 20:08 Attribution.txt [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 23 20:08 CHANGELOG.md [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 23 20:08 Dockerfile [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 20:08 GOVERNANCE.md [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 23 20:08 Jenkinsfile [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 20:08 LICENSE [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 23 20:08 Makefile [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 23 20:08 OWNERS.md [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 8667 Jan 23 20:08 README.md [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 20:03 VERSION [2023-01-23T20:12:48.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 20:08 bin [2023-01-23T20:12:48.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 20:08 cmd [2023-01-23T20:12:48.138Z] -rw-r--r-- 1 jenkins jenkins 9355 Jan 23 20:12 coverage.out [2023-01-23T20:12:48.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 20:08 driver [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 3454 Jan 23 20:08 go.mod [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 23 20:08 go.sum [2023-01-23T20:12:48.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 20:08 snap [2023-01-23T20:12:48.138Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 23 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:12:48.547Z] + 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=acabc38dc464a89c9220904169020dc9c9f8b14b --label arch=arm64 --label version=0.0.0 . [2023-01-23T20:12:48.547Z] Sending build context to Docker daemon 137.2kB [2023-01-23T20:12:48.815Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T20:12:48.815Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-23T20:12:48.815Z] ---> 008021fdc8b4 [2023-01-23T20:12:48.815Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-23T20:12:48.815Z] ---> Running in 0a9a5a2bd6af [2023-01-23T20:12:49.402Z] Removing intermediate container 0a9a5a2bd6af [2023-01-23T20:12:49.402Z] ---> c869296a952f [2023-01-23T20:12:49.402Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T20:12:49.402Z] ---> Running in 92e8cd59c2b7 [2023-01-23T20:12:49.673Z] Removing intermediate container 92e8cd59c2b7 [2023-01-23T20:12:49.673Z] ---> 4376025799fe [2023-01-23T20:12:49.673Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T20:12:49.673Z] ---> Running in c42b0c2e01f0 [2023-01-23T20:12:50.255Z] Removing intermediate container c42b0c2e01f0 [2023-01-23T20:12:50.255Z] ---> 8a064f6ca543 [2023-01-23T20:12:50.255Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T20:12:50.255Z] ---> Running in c6aefefbb107 [2023-01-23T20:12:50.525Z] Removing intermediate container c6aefefbb107 [2023-01-23T20:12:50.525Z] ---> 3b80bd60228f [2023-01-23T20:12:50.525Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T20:12:50.525Z] ---> Running in d7b935e3a1cd [2023-01-23T20:12:51.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T20:12:51.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T20:12:53.358Z] OK: 226 MiB in 55 packages [2023-01-23T20:12:55.951Z] Removing intermediate container d7b935e3a1cd [2023-01-23T20:12:55.951Z] ---> f1695e7eba9e [2023-01-23T20:12:55.951Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-23T20:12:55.951Z] ---> Running in fbc7fba1bb62 [2023-01-23T20:12:55.951Z] Removing intermediate container fbc7fba1bb62 [2023-01-23T20:12:55.951Z] ---> 6c26f94a7509 [2023-01-23T20:12:55.951Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-23T20:12:56.538Z] ---> 2b452e0f61a8 [2023-01-23T20:12:56.538Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T20:12:56.538Z] ---> Running in d8ad0107f28d [2023-01-23T20:12:59.126Z] Removing intermediate container d8ad0107f28d [2023-01-23T20:12:59.126Z] ---> 063992b54595 [2023-01-23T20:12:59.126Z] Step 11/25 : COPY . . [2023-01-23T20:12:59.724Z] ---> 0941b521ebf5 [2023-01-23T20:12:59.725Z] Step 12/25 : RUN $MAKE [2023-01-23T20:12:59.996Z] ---> Running in ffb601b6f988 [2023-01-23T20:13:00.959Z] 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-01-23T20:15:25.838Z] Removing intermediate container ffb601b6f988 [2023-01-23T20:15:25.838Z] ---> 8639f0e67803 [2023-01-23T20:15:25.838Z] Step 13/25 : FROM alpine:3.16 [2023-01-23T20:15:25.838Z] 3.16: Pulling from library/alpine [2023-01-23T20:15:25.838Z] 6875df1f5354: Pulling fs layer [2023-01-23T20:15:25.838Z] 6875df1f5354: Download complete [2023-01-23T20:15:25.838Z] 6875df1f5354: Pull complete [2023-01-23T20:15:25.838Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T20:15:25.838Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T20:15:25.838Z] ---> 2b4661558fb8 [2023-01-23T20:15:25.838Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-23T20:15:25.838Z] ---> Running in 6fbc2160fd91 [2023-01-23T20:15:25.838Z] Removing intermediate container 6fbc2160fd91 [2023-01-23T20:15:25.838Z] ---> 42455e2e6c5f [2023-01-23T20:15:25.838Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-23T20:15:25.838Z] ---> Running in 86f236edd4ef [2023-01-23T20:15:25.838Z] Removing intermediate container 86f236edd4ef [2023-01-23T20:15:25.838Z] ---> 6a17a8a5ac44 [2023-01-23T20:15:25.838Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-23T20:15:25.838Z] ---> Running in acb2099a0a13 [2023-01-23T20:15:25.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T20:15:25.838Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T20:15:26.800Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T20:15:26.800Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T20:15:26.800Z] OK: 5 MiB in 15 packages [2023-01-23T20:15:27.772Z] Removing intermediate container acb2099a0a13 [2023-01-23T20:15:27.772Z] ---> b7900bdc356a [2023-01-23T20:15:27.772Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-23T20:15:29.184Z] ---> 9307633fa68b [2023-01-23T20:15:29.184Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-23T20:15:29.452Z] ---> 366d40e09cd5 [2023-01-23T20:15:29.452Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-23T20:15:30.036Z] ---> 2e5fc2a2306d [2023-01-23T20:15:30.036Z] Step 20/25 : EXPOSE 59986 [2023-01-23T20:15:30.036Z] ---> Running in 602c6b28592f [2023-01-23T20:15:30.303Z] Removing intermediate container 602c6b28592f [2023-01-23T20:15:30.303Z] ---> 039c02420708 [2023-01-23T20:15:30.303Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-23T20:15:30.571Z] ---> Running in be5bc1c83df4 [2023-01-23T20:15:30.839Z] Removing intermediate container be5bc1c83df4 [2023-01-23T20:15:30.839Z] ---> 933986e04b26 [2023-01-23T20:15:30.839Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-23T20:15:30.839Z] ---> Running in 3aa06d5c1ce7 [2023-01-23T20:15:31.109Z] Removing intermediate container 3aa06d5c1ce7 [2023-01-23T20:15:31.109Z] ---> 7b9e2605de3b [2023-01-23T20:15:31.109Z] Step 23/25 : LABEL arch=arm64 [2023-01-23T20:15:31.377Z] ---> Running in 66d5613417f2 [2023-01-23T20:15:31.644Z] Removing intermediate container 66d5613417f2 [2023-01-23T20:15:31.644Z] ---> 1b360d8eb50d [2023-01-23T20:15:31.644Z] Step 24/25 : LABEL git_sha=acabc38dc464a89c9220904169020dc9c9f8b14b [2023-01-23T20:15:31.644Z] ---> Running in 8dc1483bea09 [2023-01-23T20:15:31.913Z] Removing intermediate container 8dc1483bea09 [2023-01-23T20:15:31.913Z] ---> 9daa21ecf9c2 [2023-01-23T20:15:31.913Z] Step 25/25 : LABEL version=0.0.0 [2023-01-23T20:15:31.913Z] ---> Running in 8013b957a3c3 [2023-01-23T20:15:32.180Z] Removing intermediate container 8013b957a3c3 [2023-01-23T20:15:32.180Z] ---> 9df269aa8484 [2023-01-23T20:15:32.180Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T20:15:32.180Z] Successfully built 9df269aa8484 [2023-01-23T20:15:32.446Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:15:33.211Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T20:15:33.212Z] [2023-01-23T20:15:33.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:15:33.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T20:15:33.621Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T20:15:33.621Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T20:15:33.621Z] 04944245beec: Pulling fs layer [2023-01-23T20:15:33.621Z] 699f458cf7ca: Pulling fs layer [2023-01-23T20:15:33.621Z] 765212b225bb: Pulling fs layer [2023-01-23T20:15:33.621Z] f23df028b6ca: Pulling fs layer [2023-01-23T20:15:33.621Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T20:15:33.621Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T20:15:33.621Z] f23df028b6ca: Waiting [2023-01-23T20:15:33.621Z] 765212b225bb: Waiting [2023-01-23T20:15:33.621Z] d65c8cfc05b1: Waiting [2023-01-23T20:15:33.621Z] 2437ff75d9bd: Waiting [2023-01-23T20:15:33.890Z] 04944245beec: Verifying Checksum [2023-01-23T20:15:33.890Z] 04944245beec: Download complete [2023-01-23T20:15:33.890Z] 765212b225bb: Verifying Checksum [2023-01-23T20:15:33.890Z] 765212b225bb: Download complete [2023-01-23T20:15:33.890Z] f23df028b6ca: Download complete [2023-01-23T20:15:33.890Z] d65c8cfc05b1: Verifying Checksum [2023-01-23T20:15:33.890Z] d65c8cfc05b1: Download complete [2023-01-23T20:15:34.165Z] 699f458cf7ca: Verifying Checksum [2023-01-23T20:15:34.165Z] 699f458cf7ca: Download complete [2023-01-23T20:15:34.432Z] 8998bd30e6a1: Verifying Checksum [2023-01-23T20:15:34.432Z] 8998bd30e6a1: Download complete [2023-01-23T20:15:37.016Z] 2437ff75d9bd: Verifying Checksum [2023-01-23T20:15:37.016Z] 2437ff75d9bd: Download complete [2023-01-23T20:15:38.427Z] 8998bd30e6a1: Pull complete [2023-01-23T20:15:38.693Z] 04944245beec: Pull complete [2023-01-23T20:15:40.207Z] 699f458cf7ca: Pull complete [2023-01-23T20:15:40.207Z] 765212b225bb: Pull complete [2023-01-23T20:15:41.198Z] f23df028b6ca: Pull complete [2023-01-23T20:15:41.198Z] d65c8cfc05b1: Pull complete [2023-01-23T20:15:56.229Z] 2437ff75d9bd: Pull complete [2023-01-23T20:15:56.229Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T20:15:56.229Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T20:15:56.229Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T20:15:56.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-3445 does not seem to be running inside a container [2023-01-23T20:15:56.639Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-23T20:15:59.466Z] $ docker top 5b38562fd1d6a9d74a8392156f0818eac1c9602d3ac51a99354a20ec801f8024 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:16:00.383Z] ---> job-cost.sh [2023-01-23T20:16:00.383Z] lf-activate-venv: SKIPPING [2023-01-23T20:16:00.383Z] INFO: No Stack... [2023-01-23T20:16:01.793Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T20:16:02.754Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T20:16:03.421Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-01-23T20:16:03.422Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T20:16:03.521Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-243-1-stack-cost] [2023-01-23T20:16:03.526Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-243-1-stack-cost] did not exist. Created. [2023-01-23T20:16:03.527Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-243-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T20:16:04.261Z] /w/workspace/device-rest-go/1@tmp/durable-a977e21e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T20:16:04.934Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T20:16:04.971Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T20:16:05.017Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T20:16:05.032Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-243-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T20:16:05.111Z] $ docker stop --time=1 5b38562fd1d6a9d74a8392156f0818eac1c9602d3ac51a99354a20ec801f8024 [2023-01-23T20:16:06.634Z] $ docker rm -f --volumes 5b38562fd1d6a9d74a8392156f0818eac1c9602d3ac51a99354a20ec801f8024 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-23T20:16:07.658Z] provisioning config files... [2023-01-23T20:16:07.667Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-243@tmp/config13192262248253150078tmp [Pipeline] { [Pipeline] sh [2023-01-23T20:16:08.008Z] + set +x [2023-01-23T20:16:08.008Z] + curl -s https://codecov.io/bash [2023-01-23T20:16:08.008Z] + bash -s -- [2023-01-23T20:16:08.008Z] [2023-01-23T20:16:08.008Z] _____ _ [2023-01-23T20:16:08.008Z] / ____| | | [2023-01-23T20:16:08.008Z] | | ___ __| | ___ ___ _____ __ [2023-01-23T20:16:08.008Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-23T20:16:08.008Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-23T20:16:08.008Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-23T20:16:08.008Z] Bash-1.0.6 [2023-01-23T20:16:08.008Z] [2023-01-23T20:16:08.008Z] [2023-01-23T20:16:08.008Z] ==> git version 2.25.1 found [2023-01-23T20:16:08.009Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-23T20:16:08.009Z] Release-Date: 2020-01-08 [2023-01-23T20:16:08.009Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-23T20:16:08.009Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-23T20:16:08.009Z] ==> Jenkins CI detected. [2023-01-23T20:16:08.009Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-243 [2023-01-23T20:16:08.009Z] project root: . [2023-01-23T20:16:08.009Z] --> token set from env [2023-01-23T20:16:08.009Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-23T20:16:08.009Z] ==> Running gcov in . (disable via -X gcov) [2023-01-23T20:16:08.269Z] ==> Python coveragepy not found [2023-01-23T20:16:08.269Z] ==> Searching for coverage reports in: [2023-01-23T20:16:08.269Z] + . [2023-01-23T20:16:08.269Z] -> Found 1 reports [2023-01-23T20:16:08.269Z] ==> Detecting git/mercurial file structure [2023-01-23T20:16:08.269Z] ==> Reading reports [2023-01-23T20:16:08.269Z] + ./coverage.out bytes=9355 [2023-01-23T20:16:08.269Z] ==> Appending adjustments [2023-01-23T20:16:08.269Z] https://docs.codecov.io/docs/fixing-reports [2023-01-23T20:16:08.269Z] + Found adjustments [2023-01-23T20:16:08.269Z] ==> Gzipping contents [2023-01-23T20:16:08.269Z] 4.0K /tmp/codecov.V3MyqZ.gz [2023-01-23T20:16:08.269Z] ==> Uploading reports [2023-01-23T20:16:08.269Z] url: https://codecov.io [2023-01-23T20:16:08.269Z] query: branch=PR-243&commit=acabc38dc464a89c9220904169020dc9c9f8b14b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-243%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=243&job=&cmd_args= [2023-01-23T20:16:08.269Z] -> Pinging Codecov [2023-01-23T20:16:08.269Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-243&commit=acabc38dc464a89c9220904169020dc9c9f8b14b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-243%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=243&job=&cmd_args= [2023-01-23T20:16:08.528Z] -> Uploading to [2023-01-23T20:16:08.528Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-23/4E5D53B4F1F92C436F7061BF334D961C/acabc38dc464a89c9220904169020dc9c9f8b14b/e95a723c-bc11-41c9-b08e-68ee19d4d789.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T201608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2b00ae436aa7d0cb3346b7307d3fed75a5f6b08407e311a73c53c376869986d9 [2023-01-23T20:16:08.528Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T20:16:08.528Z] Dload Upload Total Spent Left Speed [2023-01-23T20:16:08.788Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 6161 --:--:-- --:--:-- --:--:-- 6161 [2023-01-23T20:16:08.789Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/acabc38dc464a89c9220904169020dc9c9f8b14b [Pipeline] } [2023-01-23T20:16:08.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-23T20:16:10.541Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-243/archives ] [2023-01-23T20:16:10.541Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-243/archives [2023-01-23T20:16:10.541Z] total 16 [2023-01-23T20:16:10.541Z] drwxr-xr-x 3 root root 4096 Jan 23 20:05 . [2023-01-23T20:16:10.541Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 20:05 .. [2023-01-23T20:16:10.541Z] drwxr-xr-x 2 root root 4096 Jan 23 20:05 cost [2023-01-23T20:16:10.541Z] -rw-r--r-- 1 root root 86 Jan 23 20:05 cost.csv [2023-01-23T20:16:10.541Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-243/archives [2023-01-23T20:16:10.541Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-243/archives [2023-01-23T20:16:10.541Z] total 16 [2023-01-23T20:16:10.541Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 20:05 . [2023-01-23T20:16:10.541Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 20:05 .. [2023-01-23T20:16:10.541Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 20:05 cost [2023-01-23T20:16:10.541Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 23 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:16:10.868Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:16:11.755Z] ---> package-listing.sh [2023-01-23T20:16:11.756Z] ++ facter osfamily [2023-01-23T20:16:11.756Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T20:16:12.016Z] + OS_FAMILY=debian [2023-01-23T20:16:12.016Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-243 [2023-01-23T20:16:12.016Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T20:16:12.016Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T20:16:12.016Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T20:16:12.016Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T20:16:12.016Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-243 ']' [2023-01-23T20:16:12.016Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T20:16:12.016Z] + case "${OS_FAMILY}" in [2023-01-23T20:16:12.016Z] + dpkg -l [2023-01-23T20:16:12.016Z] + grep '^ii' [2023-01-23T20:16:12.016Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T20:16:12.016Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T20:16:12.016Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T20:16:12.016Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-243 ']' [2023-01-23T20:16:12.016Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-243/archives/ [2023-01-23T20:16:12.016Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-243/archives/ [Pipeline] echo [2023-01-23T20:16:12.050Z] 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-243/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T20:16:12.345Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T20:16:12.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T20:16:12.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T20:16:13.107Z] prd-ubuntu20.04-docker-8c-8g-3442 does not seem to be running inside a container [2023-01-23T20:16:13.136Z] $ 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-243/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-243 -v /w/workspace/gexfoundry_device-rest-go_PR-243:/w/workspace/gexfoundry_device-rest-go_PR-243:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-243@tmp:/w/workspace/gexfoundry_device-rest-go_PR-243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T20:16:13.326Z] $ docker top 147cdaf20193716ac0edf0921ac47251913300e9814a4e4d351ad5df637d7065 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T20:16:13.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T20:16:14.025Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T20:16:14.334Z] + ls /var/log/sa-host [2023-01-23T20:16:14.334Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T20:16:14.483Z] provisioning config files... [2023-01-23T20:16:14.491Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-243@tmp/config4047682681551442655tmp [Pipeline] { [Pipeline] echo [2023-01-23T20:16:14.540Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:16:14.853Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T20:16:14.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:16:15.269Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T20:16:15.294Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:16:15.596Z] ---> sudo-logs.sh [2023-01-23T20:16:15.596Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T20:16:15.687Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:16:15.997Z] ---> job-cost.sh [2023-01-23T20:16:15.997Z] lf-activate-venv: SKIPPING [2023-01-23T20:16:15.997Z] DEBUG: total: 0.2199999988079071 [2023-01-23T20:16:15.997Z] INFO: Retrieving Stack Cost... [2023-01-23T20:16:16.256Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T20:16:16.823Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T20:16:16.855Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T20:16:17.168Z] ---> logs-deploy.sh [2023-01-23T20:16:17.168Z] lf-activate-venv: SKIPPING [2023-01-23T20:16:17.168Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-243/1 [2023-01-23T20:16:17.168Z] INFO: archiving workspace using pattern(s): [2023-01-23T20:16:18.108Z] Archives upload complete. [2023-01-23T20:16:18.108Z] INFO: archiving logs to Nexus