Pull request #281 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 539913158ea56f8dca24ab775bb8172a7292d425 rather than 6f9651701fa4461332be51a371f9e37e5ffc9bc5 Obtained Jenkinsfile from 539913158ea56f8dca24ab775bb8172a7292d425 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-ssh17241096286970776059.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7776484049089594791.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-281/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12592535592635872339.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh16441776555130290540.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-281/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh23513925766365965.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6088 in /w/workspace/gexfoundry_device-rest-go_PR-281 [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-281 # 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/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit 6f9651701fa4461332be51a371f9e37e5ffc9bc5 Merge succeeded, producing 6f9651701fa4461332be51a371f9e37e5ffc9bc5 Checking out Revision 6f9651701fa4461332be51a371f9e37e5ffc9bc5 (PR-281) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f9651701fa4461332be51a371f9e37e5ffc9bc5 # 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 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f9651701fa4461332be51a371f9e37e5ffc9bc5 # timeout=10 Commit message: "fix: fixed comment feedback" > git rev-list --no-walk b8e531124201590e1543ca9edaea1c885f687146 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-28T18:52:59.272Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-28T18:52:59.327Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-28T18:52:59.344Z] ========================================================= [2023-03-28T18:52:59.344Z] EdgeX Global Pipelines Version Info [2023-03-28T18:52:59.344Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:53:00.075Z] ------------------- [2023-03-28T18:53:00.075Z] stable info: [2023-03-28T18:53:00.075Z] ------------------- [2023-03-28T18:53:00.075Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-28T18:53:00.075Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-28T18:53:00.075Z] Message: update stable to v1.0.245 [2023-03-28T18:53:00.647Z] ------------------- [2023-03-28T18:53:00.647Z] experimental info: [2023-03-28T18:53:00.647Z] ------------------- [2023-03-28T18:53:00.647Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-28T18:53:00.647Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-28T18:53:00.647Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-28T18:53:00.795Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-28T18:53:00.807Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-28T18:53:00.818Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-28T18:53:00.829Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-28T18:53:00.838Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-28T18:53:00.850Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-28T18:53:00.862Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-28T18:53:00.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-28T18:53:00.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-28T18:53:00.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-28T18:53:00.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-28T18:53:00.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-28T18:53:00.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-28T18:53:00.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-28T18:53:00.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T18:53:00.968Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-28T18:53:00.980Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T18:53:00.992Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-28T18:53:01.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-28T18:53:01.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-28T18:53:01.028Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-28T18:53:01.039Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-28T18:53:01.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-28T18:53:01.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-28T18:53:01.071Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-28T18:53:01.083Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-28T18:53:01.095Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-28T18:53:01.105Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-281 [Pipeline] echo [2023-03-28T18:53:01.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-281 [Pipeline] echo [2023-03-28T18:53:01.127Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-281 [Pipeline] echo [2023-03-28T18:53:01.140Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] echo [2023-03-28T18:53:01.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f96517 [Pipeline] echo [2023-03-28T18:53:01.163Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:53:01.197Z] provisioning config files... [2023-03-28T18:53:01.210Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config3980617145070277496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:53:01.509Z] ---> docker-login.sh [2023-03-28T18:53:01.509Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:53:01.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:01.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:01.768Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:01.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:01.768Z] [2023-03-28T18:53:01.768Z] Login Succeeded [2023-03-28T18:53:01.768Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:53:01.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:01.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:01.768Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:01.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:01.768Z] [2023-03-28T18:53:01.768Z] Login Succeeded [2023-03-28T18:53:01.768Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:53:02.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:02.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:02.029Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:02.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:02.029Z] [2023-03-28T18:53:02.029Z] Login Succeeded [2023-03-28T18:53:02.029Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:53:02.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:02.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:02.029Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:02.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:02.029Z] [2023-03-28T18:53:02.029Z] Login Succeeded [2023-03-28T18:53:02.029Z] docker.io [2023-03-28T18:53:02.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:02.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:02.287Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:02.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:02.287Z] [2023-03-28T18:53:02.287Z] Login Succeeded [2023-03-28T18:53:02.287Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:53:02.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-28T18:53:02.668Z] + git rev-list -1 --merges 6f9651701fa4461332be51a371f9e37e5ffc9bc5~1..6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] echo [2023-03-28T18:53:02.718Z] -----------> git rev-list -1 --merges 6f9651701fa4461332be51a371f9e37e5ffc9bc5~1..6f9651701fa4461332be51a371f9e37e5ffc9bc5 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [false] [Pipeline] sh [2023-03-28T18:53:03.008Z] + git log --format=format:%s -1 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] echo [2023-03-28T18:53:03.061Z] ========================================================= [2023-03-28T18:53:03.061Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-28T18:53:03.061Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T18:53:03.374Z] + git log --format=format:%s -1 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] echo [2023-03-28T18:53:03.384Z] [semverPrep] GIT_COMMIT: 6f9651701fa4461332be51a371f9e37e5ffc9bc5, Commit Message: fix: fixed comment feedback [Pipeline] echo [2023-03-28T18:53:03.395Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-28T18:53:03.741Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-28T18:53:03.741Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-28T18:53:03.741Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-28T18:53:03.741Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-28T18:53:03.741Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-28T18:53:03.741Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-28T18:53:03.741Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:53:04.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:53:04.089Z] [2023-03-28T18:53:04.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:53:04.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:53:04.389Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-28T18:53:04.389Z] b85a868b505f: Pulling fs layer [2023-03-28T18:53:04.389Z] e2be974225ed: Pulling fs layer [2023-03-28T18:53:04.389Z] 339a4e72a1f5: Pulling fs layer [2023-03-28T18:53:04.389Z] 988bab9f4d93: Pulling fs layer [2023-03-28T18:53:04.389Z] 1469e6f7b9e6: Pulling fs layer [2023-03-28T18:53:04.389Z] 1469e6f7b9e6: Waiting [2023-03-28T18:53:04.389Z] 988bab9f4d93: Waiting [2023-03-28T18:53:04.389Z] eaf3925da568: Pulling fs layer [2023-03-28T18:53:04.389Z] bab4dde63d76: Pulling fs layer [2023-03-28T18:53:04.389Z] bde34c3a00c8: Pulling fs layer [2023-03-28T18:53:04.389Z] bab4dde63d76: Waiting [2023-03-28T18:53:04.389Z] eaf3925da568: Waiting [2023-03-28T18:53:04.389Z] b352a97aabf1: Pulling fs layer [2023-03-28T18:53:04.389Z] bde34c3a00c8: Waiting [2023-03-28T18:53:04.389Z] 4872d77fe225: Pulling fs layer [2023-03-28T18:53:04.389Z] 5851b861e8e6: Pulling fs layer [2023-03-28T18:53:04.389Z] 4872d77fe225: Waiting [2023-03-28T18:53:04.389Z] 5851b861e8e6: Waiting [2023-03-28T18:53:04.389Z] e2be974225ed: Download complete [2023-03-28T18:53:04.389Z] 988bab9f4d93: Verifying Checksum [2023-03-28T18:53:04.389Z] 988bab9f4d93: Download complete [2023-03-28T18:53:04.647Z] 339a4e72a1f5: Verifying Checksum [2023-03-28T18:53:04.647Z] 339a4e72a1f5: Download complete [2023-03-28T18:53:04.647Z] 1469e6f7b9e6: Verifying Checksum [2023-03-28T18:53:04.647Z] 1469e6f7b9e6: Download complete [2023-03-28T18:53:04.647Z] eaf3925da568: Verifying Checksum [2023-03-28T18:53:04.647Z] eaf3925da568: Download complete [2023-03-28T18:53:04.647Z] bde34c3a00c8: Verifying Checksum [2023-03-28T18:53:04.647Z] bde34c3a00c8: Download complete [2023-03-28T18:53:04.647Z] b352a97aabf1: Verifying Checksum [2023-03-28T18:53:04.647Z] b352a97aabf1: Download complete [2023-03-28T18:53:04.647Z] 4872d77fe225: Download complete [2023-03-28T18:53:04.647Z] 5851b861e8e6: Verifying Checksum [2023-03-28T18:53:04.647Z] 5851b861e8e6: Download complete [2023-03-28T18:53:04.647Z] b85a868b505f: Verifying Checksum [2023-03-28T18:53:04.647Z] b85a868b505f: Download complete [2023-03-28T18:53:04.905Z] bab4dde63d76: Verifying Checksum [2023-03-28T18:53:04.905Z] bab4dde63d76: Download complete [2023-03-28T18:53:05.841Z] b85a868b505f: Pull complete [2023-03-28T18:53:05.841Z] e2be974225ed: Pull complete [2023-03-28T18:53:06.408Z] 339a4e72a1f5: Pull complete [2023-03-28T18:53:06.408Z] 988bab9f4d93: Pull complete [2023-03-28T18:53:06.666Z] 1469e6f7b9e6: Pull complete [2023-03-28T18:53:06.666Z] eaf3925da568: Pull complete [2023-03-28T18:53:08.569Z] bab4dde63d76: Pull complete [2023-03-28T18:53:08.569Z] bde34c3a00c8: Pull complete [2023-03-28T18:53:08.569Z] b352a97aabf1: Pull complete [2023-03-28T18:53:08.569Z] 4872d77fe225: Pull complete [2023-03-28T18:53:08.569Z] 5851b861e8e6: Pull complete [2023-03-28T18:53:08.569Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-28T18:53:08.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-28T18:53:08.569Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:53:08.925Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-03-28T18:53:08.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-28T18:53:10.197Z] $ docker top 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 -eo pid,comm [2023-03-28T18:53:10.247Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-28T18:53:10.247Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-28T18:53:10.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T18:53:10.290Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T18:53:10.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T18:53:10.403Z] $ docker exec 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 ssh-agent [2023-03-28T18:53:10.504Z] SSH_AUTH_SOCK=/tmp/ssh-qxoZI4OvJXtx/agent.33 [2023-03-28T18:53:10.504Z] SSH_AGENT_PID=39 [2023-03-28T18:53:10.511Z] Running ssh-add (command line suppressed) [2023-03-28T18:53:10.616Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_12684154444678637553.key (/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_12684154444678637553.key) [2023-03-28T18:53:10.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T18:53:10.914Z] + git tag --points-at HEAD [Pipeline] } [2023-03-28T18:53:10.928Z] $ docker exec --env ******** --env ******** 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 ssh-agent -k [2023-03-28T18:53:11.025Z] unset SSH_AUTH_SOCK; [2023-03-28T18:53:11.026Z] unset SSH_AGENT_PID; [2023-03-28T18:53:11.026Z] echo Agent pid 39 killed; [2023-03-28T18:53:11.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-28T18:53:11.057Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-28T18:53:11.057Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-28T18:53:11.179Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-28T18:53:11.186Z] $ docker exec 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 ssh-agent [2023-03-28T18:53:11.287Z] SSH_AUTH_SOCK=/tmp/ssh-sTzYZGhCpwoC/agent.71 [2023-03-28T18:53:11.287Z] SSH_AGENT_PID=77 [2023-03-28T18:53:11.291Z] Running ssh-add (command line suppressed) [2023-03-28T18:53:11.378Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_13426219997168264975.key (/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/private_key_13426219997168264975.key) [2023-03-28T18:53:11.391Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-28T18:53:11.679Z] + git semver init [2023-03-28T18:53:11.940Z] 2023-03-28 18:53:11,874 [run_init] DEBUG init version:0.0.0 force:False [2023-03-28T18:53:11.940Z] 2023-03-28 18:53:11,876 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver [2023-03-28T18:53:11.940Z] 2023-03-28 18:53:11,876 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-281/.semver [2023-03-28T18:53:11.940Z] 2023-03-28 18:53:11,877 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-281/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281, universal_newlines=False, shell=None, istream=None) [2023-03-28T18:53:12.878Z] 2023-03-28 18:53:12,840 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-281/.git/info/exclude [2023-03-28T18:53:12.878Z] 2023-03-28 18:53:12,841 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 with force:False [2023-03-28T18:53:12.878Z] 2023-03-28 18:53:12,841 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 [2023-03-28T18:53:12.878Z] 2023-03-28 18:53:12,845 [execute] INFO git cat-file --batch-check [2023-03-28T18:53:12.878Z] 2023-03-28 18:53:12,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T18:53:12.878Z] 2023-03-28 18:53:12,850 [execute] INFO git cat-file --batch [2023-03-28T18:53:12.878Z] 2023-03-28 18:53:12,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-281/.semver, universal_newlines=False, shell=None, istream=) [2023-03-28T18:53:12.878Z] 2023-03-28 18:53:12,855 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-281/.semver/PR-281 [2023-03-28T18:53:12.878Z] 0.0.0 [Pipeline] } [2023-03-28T18:53:12.891Z] $ docker exec --env ******** --env ******** 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 ssh-agent -k [2023-03-28T18:53:12.981Z] unset SSH_AUTH_SOCK; [2023-03-28T18:53:12.981Z] unset SSH_AGENT_PID; [2023-03-28T18:53:12.982Z] echo Agent pid 77 killed; [2023-03-28T18:53:12.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-28T18:53:13.285Z] + git semver [Pipeline] } [2023-03-28T18:53:13.562Z] $ docker stop --time=1 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 [2023-03-28T18:53:14.885Z] $ docker rm -f --volumes 8d9aa2c9368c2f2298f0887ca73284d6e038120ed07bb29e8c3c13345b7cfe27 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T18:53:15.216Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-28T18:53:15.418Z] Stashed 1 file(s) [Pipeline] echo [2023-03-28T18:53:15.421Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:53:15.524Z] provisioning config files... [2023-03-28T18:53:15.534Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config8912688452925657485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:53:15.832Z] ---> docker-login.sh [2023-03-28T18:53:15.832Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:53:15.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:15.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:15.832Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:15.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:15.832Z] [2023-03-28T18:53:15.832Z] Login Succeeded [2023-03-28T18:53:15.832Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:53:15.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:15.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:15.832Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:15.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:15.832Z] [2023-03-28T18:53:15.832Z] Login Succeeded [2023-03-28T18:53:15.832Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:53:16.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:16.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:16.090Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:16.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:16.090Z] [2023-03-28T18:53:16.090Z] Login Succeeded [2023-03-28T18:53:16.090Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:53:16.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:16.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:16.090Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:16.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:16.090Z] [2023-03-28T18:53:16.090Z] Login Succeeded [2023-03-28T18:53:16.090Z] docker.io [2023-03-28T18:53:16.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:53:16.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:53:16.349Z] Configure a credential helper to remove this warning. See [2023-03-28T18:53:16.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:53:16.349Z] [2023-03-28T18:53:16.349Z] Login Succeeded [2023-03-28T18:53:16.349Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:53:16.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T18:53:16.424Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:53:16.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:53:16.446Z] ========================================================= [2023-03-28T18:53:16.446Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-28T18:53:16.446Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:53:16.764Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-28T18:53:16.764Z] Sending build context to Docker daemon 10.87MB [2023-03-28T18:53:16.764Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:53:16.764Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-28T18:53:16.764Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-28T18:53:16.764Z] 63b65145d645: Pulling fs layer [2023-03-28T18:53:16.764Z] a2d21d5440eb: Pulling fs layer [2023-03-28T18:53:16.764Z] 935e6c44a52c: Pulling fs layer [2023-03-28T18:53:16.764Z] 94cc34f8dd06: Pulling fs layer [2023-03-28T18:53:16.764Z] 30dea6a524f1: Pulling fs layer [2023-03-28T18:53:16.764Z] a2aff8979fd8: Pulling fs layer [2023-03-28T18:53:16.764Z] 6808be2612f2: Pulling fs layer [2023-03-28T18:53:16.764Z] f25807f1079a: Pulling fs layer [2023-03-28T18:53:16.764Z] 30dea6a524f1: Waiting [2023-03-28T18:53:16.764Z] a2aff8979fd8: Waiting [2023-03-28T18:53:16.764Z] 6808be2612f2: Waiting [2023-03-28T18:53:16.764Z] f25807f1079a: Waiting [2023-03-28T18:53:16.764Z] 94cc34f8dd06: Waiting [2023-03-28T18:53:16.764Z] a2d21d5440eb: Download complete [2023-03-28T18:53:16.764Z] 94cc34f8dd06: Download complete [2023-03-28T18:53:16.764Z] 30dea6a524f1: Verifying Checksum [2023-03-28T18:53:16.764Z] 30dea6a524f1: Download complete [2023-03-28T18:53:17.025Z] 63b65145d645: Verifying Checksum [2023-03-28T18:53:17.025Z] 63b65145d645: Download complete [2023-03-28T18:53:17.025Z] a2aff8979fd8: Verifying Checksum [2023-03-28T18:53:17.025Z] a2aff8979fd8: Download complete [2023-03-28T18:53:17.025Z] 63b65145d645: Pull complete [2023-03-28T18:53:17.288Z] a2d21d5440eb: Pull complete [2023-03-28T18:53:17.288Z] f25807f1079a: Verifying Checksum [2023-03-28T18:53:17.288Z] f25807f1079a: Download complete [2023-03-28T18:53:17.547Z] 935e6c44a52c: Verifying Checksum [2023-03-28T18:53:17.547Z] 935e6c44a52c: Download complete [2023-03-28T18:53:17.805Z] 6808be2612f2: Verifying Checksum [2023-03-28T18:53:20.355Z] 935e6c44a52c: Pull complete [2023-03-28T18:53:20.355Z] 94cc34f8dd06: Pull complete [2023-03-28T18:53:20.612Z] 30dea6a524f1: Pull complete [2023-03-28T18:53:20.612Z] a2aff8979fd8: Pull complete [2023-03-28T18:53:23.140Z] 6808be2612f2: Pull complete [2023-03-28T18:53:23.404Z] f25807f1079a: Pull complete [2023-03-28T18:53:23.404Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-28T18:53:23.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-28T18:53:23.404Z] ---> 3b553350e43f [2023-03-28T18:53:23.404Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-28T18:53:24.781Z] ---> Running in b17d964440b0 [2023-03-28T18:53:25.040Z] Removing intermediate container b17d964440b0 [2023-03-28T18:53:25.040Z] ---> 5e53d742bfad [2023-03-28T18:53:25.040Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T18:53:25.040Z] ---> Running in 8170fe94b595 [2023-03-28T18:53:25.040Z] Removing intermediate container 8170fe94b595 [2023-03-28T18:53:25.040Z] ---> 8193e1a10978 [2023-03-28T18:53:25.040Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-28T18:53:25.040Z] ---> Running in 161cd791bb88 [2023-03-28T18:53:25.299Z] Removing intermediate container 161cd791bb88 [2023-03-28T18:53:25.299Z] ---> a3b2b71c955e [2023-03-28T18:53:25.299Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-28T18:53:25.299Z] ---> Running in 1f3455e49678 [2023-03-28T18:53:25.299Z] Removing intermediate container 1f3455e49678 [2023-03-28T18:53:25.299Z] ---> 97e5861ade69 [2023-03-28T18:53:25.299Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T18:53:25.299Z] ---> Running in 7bbf9c911f8a [2023-03-28T18:53:25.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T18:53:25.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T18:53:25.818Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-28T18:53:25.818Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-28T18:53:25.818Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-28T18:53:26.086Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-28T18:53:26.086Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T18:53:26.086Z] OK: 269 MiB in 57 packages [2023-03-28T18:53:26.344Z] Removing intermediate container 7bbf9c911f8a [2023-03-28T18:53:26.344Z] ---> b43b54fd3fdb [2023-03-28T18:53:26.344Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-28T18:53:26.344Z] ---> Running in 221abc457470 [2023-03-28T18:53:26.344Z] Removing intermediate container 221abc457470 [2023-03-28T18:53:26.344Z] ---> bfe4157ac6cd [2023-03-28T18:53:26.344Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-28T18:53:26.603Z] ---> f0ace8330173 [2023-03-28T18:53:26.603Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:53:26.603Z] ---> Running in 769e153582ae [2023-03-28T18:53:30.494Z] Still waiting to schedule task [2023-03-28T18:53:30.494Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-28T18:53:44.687Z] Removing intermediate container 769e153582ae [2023-03-28T18:53:44.687Z] ---> d7aaf8d74b42 [2023-03-28T18:53:44.687Z] Step 11/12 : COPY . . [2023-03-28T18:53:44.687Z] ---> 7a8c4f60d7af [2023-03-28T18:53:44.687Z] Step 12/12 : RUN $MAKE [2023-03-28T18:53:44.687Z] ---> Running in 73adfcef71ed [2023-03-28T18:53:44.687Z] noop [2023-03-28T18:53:44.944Z] Removing intermediate container 73adfcef71ed [2023-03-28T18:53:44.944Z] ---> f4e9dcb78b43 [2023-03-28T18:53:44.944Z] Successfully built f4e9dcb78b43 [2023-03-28T18:53:44.944Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:53:45.252Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T18:53:45.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:53:45.317Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-03-28T18:53:45.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-28T18:53:45.670Z] $ docker top 8b4089e63849697957cab2643cb88e9ccdd3f6794c92791e66e8de241b78b3d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:53:46.006Z] + go version [2023-03-28T18:53:46.006Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-28T18:53:46.020Z] $ docker stop --time=1 8b4089e63849697957cab2643cb88e9ccdd3f6794c92791e66e8de241b78b3d8 [2023-03-28T18:53:47.299Z] $ docker rm -f --volumes 8b4089e63849697957cab2643cb88e9ccdd3f6794c92791e66e8de241b78b3d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:53:47.679Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-28T18:53:47.679Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:53:47.744Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-03-28T18:53:47.782Z] $ 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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-28T18:53:48.098Z] $ docker top 424dece00d986205030dc0b6abd8c65ad7c019f418f70c7cf7c5f399bb83d355 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:53:48.434Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-281 [Pipeline] fileExists [Pipeline] sh [2023-03-28T18:53:48.728Z] + make test [2023-03-28T18:53:48.728Z] go test ./... -coverprofile=coverage.out ./... [2023-03-28T18:53:53.991Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-28T18:54:02.088Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-28T18:54:02.088Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.0% of statements [2023-03-28T18:54:08.641Z] go vet ./... [2023-03-28T18:54:11.168Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T18:54:11.168Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T18:54:11.168Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T18:54:11.181Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T18:54:11.196Z] $ docker stop --time=1 424dece00d986205030dc0b6abd8c65ad7c019f418f70c7cf7c5f399bb83d355 [2023-03-28T18:54:13.520Z] $ docker rm -f --volumes 424dece00d986205030dc0b6abd8c65ad7c019f418f70c7cf7c5f399bb83d355 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T18:54:13.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T18:54:14.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-28T18:54:14.468Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T18:54:14.748Z] + ls -al . [2023-03-28T18:54:14.748Z] total 184 [2023-03-28T18:54:14.748Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 18:53 . [2023-03-28T18:54:14.748Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:52 .. [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 18:52 .dockerignore [2023-03-28T18:54:14.748Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:53 .git [2023-03-28T18:54:14.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:52 .github [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 18:52 .gitignore [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 18:52 .golangci.yml [2023-03-28T18:54:14.748Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:53 .semver [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 28 18:52 Attribution.txt [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 28 18:52 CHANGELOG.md [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 28 18:52 Dockerfile [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:52 GOVERNANCE.md [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 18:52 Jenkinsfile [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 18:52 LICENSE [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 28 18:52 Makefile [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 18:52 OWNERS.md [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 28 18:52 README.md [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:53 VERSION [2023-03-28T18:54:14.748Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:52 bin [2023-03-28T18:54:14.748Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:52 cmd [2023-03-28T18:54:14.748Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 28 18:54 coverage.out [2023-03-28T18:54:14.748Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:52 driver [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 28 18:52 go.mod [2023-03-28T18:54:14.748Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 28 18:52 go.sum [2023-03-28T18:54:14.749Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:52 snap [2023-03-28T18:54:14.749Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 18:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:54:15.052Z] + 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=6f9651701fa4461332be51a371f9e37e5ffc9bc5 --label arch=amd64 --label version=0.0.0 . [2023-03-28T18:54:15.052Z] Sending build context to Docker daemon 10.88MB [2023-03-28T18:54:15.052Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:54:15.052Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-28T18:54:15.052Z] ---> f4e9dcb78b43 [2023-03-28T18:54:15.052Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-28T18:54:15.052Z] ---> Running in a30d296abe04 [2023-03-28T18:54:15.311Z] Removing intermediate container a30d296abe04 [2023-03-28T18:54:15.311Z] ---> d0c90c399ea2 [2023-03-28T18:54:15.311Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T18:54:15.311Z] ---> Running in efbec08dda7c [2023-03-28T18:54:15.311Z] Removing intermediate container efbec08dda7c [2023-03-28T18:54:15.311Z] ---> a2b8ae2f5f15 [2023-03-28T18:54:15.311Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-28T18:54:15.311Z] ---> Running in e9523ffde6b2 [2023-03-28T18:54:15.311Z] Removing intermediate container e9523ffde6b2 [2023-03-28T18:54:15.311Z] ---> 381418b2ddaa [2023-03-28T18:54:15.311Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-28T18:54:15.311Z] ---> Running in b48f8a1847ea [2023-03-28T18:54:15.570Z] Removing intermediate container b48f8a1847ea [2023-03-28T18:54:15.570Z] ---> 8fa39794fefa [2023-03-28T18:54:15.570Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T18:54:15.570Z] ---> Running in f2650df5e115 [2023-03-28T18:54:15.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T18:54:15.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T18:54:16.088Z] OK: 269 MiB in 57 packages [2023-03-28T18:54:16.346Z] Removing intermediate container f2650df5e115 [2023-03-28T18:54:16.346Z] ---> 755214f17de0 [2023-03-28T18:54:16.346Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-28T18:54:16.608Z] ---> Running in 768c72719151 [2023-03-28T18:54:16.608Z] Removing intermediate container 768c72719151 [2023-03-28T18:54:16.608Z] ---> 0d0a4cc958bf [2023-03-28T18:54:16.608Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-28T18:54:16.608Z] ---> 579741570986 [2023-03-28T18:54:16.608Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:54:16.608Z] ---> Running in 463edb811d5e [2023-03-28T18:54:17.548Z] Removing intermediate container 463edb811d5e [2023-03-28T18:54:17.548Z] ---> 7ab2109fd463 [2023-03-28T18:54:17.548Z] Step 11/25 : COPY . . [2023-03-28T18:54:18.117Z] ---> afdf2d49c656 [2023-03-28T18:54:18.117Z] Step 12/25 : RUN $MAKE [2023-03-28T18:54:18.117Z] ---> Running in d0b50beebcff [2023-03-28T18:54:18.376Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-28T18:54:36.452Z] Removing intermediate container d0b50beebcff [2023-03-28T18:54:36.452Z] ---> f8e2de8f4ee1 [2023-03-28T18:54:36.452Z] Step 13/25 : FROM alpine:3.17 [2023-03-28T18:54:36.452Z] 3.17: Pulling from library/alpine [2023-03-28T18:54:36.452Z] 63b65145d645: Already exists [2023-03-28T18:54:36.452Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T18:54:36.452Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T18:54:36.452Z] ---> b2aa39c304c2 [2023-03-28T18:54:36.452Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-28T18:54:36.452Z] ---> Running in 238eabc50b9e [2023-03-28T18:54:36.452Z] Removing intermediate container 238eabc50b9e [2023-03-28T18:54:36.452Z] ---> d3d324281bcc [2023-03-28T18:54:36.452Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-28T18:54:36.452Z] ---> Running in 98e8c7c52d29 [2023-03-28T18:54:36.452Z] Removing intermediate container 98e8c7c52d29 [2023-03-28T18:54:36.452Z] ---> 479635193a5f [2023-03-28T18:54:36.452Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-28T18:54:36.452Z] ---> Running in 59027f5ff75d [2023-03-28T18:54:36.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-28T18:54:36.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-28T18:54:36.452Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-28T18:54:36.452Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T18:54:36.452Z] OK: 7 MiB in 16 packages [2023-03-28T18:54:36.452Z] Removing intermediate container 59027f5ff75d [2023-03-28T18:54:36.452Z] ---> 899f518e6039 [2023-03-28T18:54:36.452Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-28T18:54:36.452Z] ---> 4ab88318a39e [2023-03-28T18:54:36.452Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-28T18:54:36.452Z] ---> e572b7a784b1 [2023-03-28T18:54:36.452Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-28T18:54:36.452Z] ---> 765b3f27ddae [2023-03-28T18:54:36.452Z] Step 20/25 : EXPOSE 59986 [2023-03-28T18:54:36.452Z] ---> Running in cdc0154e1035 [2023-03-28T18:54:36.452Z] Removing intermediate container cdc0154e1035 [2023-03-28T18:54:36.452Z] ---> 0af73c172a86 [2023-03-28T18:54:36.452Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-28T18:54:36.712Z] ---> Running in 42e494cae128 [2023-03-28T18:54:36.712Z] Removing intermediate container 42e494cae128 [2023-03-28T18:54:36.712Z] ---> c3534f11175a [2023-03-28T18:54:36.712Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-28T18:54:36.712Z] ---> Running in 46bcd2e5ce0a [2023-03-28T18:54:36.712Z] Removing intermediate container 46bcd2e5ce0a [2023-03-28T18:54:36.712Z] ---> 65ce6b07dbfd [2023-03-28T18:54:36.712Z] Step 23/25 : LABEL arch=amd64 [2023-03-28T18:54:36.712Z] ---> Running in 609bd6479e2b [2023-03-28T18:54:36.970Z] Removing intermediate container 609bd6479e2b [2023-03-28T18:54:36.970Z] ---> c8fe4b18c57a [2023-03-28T18:54:36.970Z] Step 24/25 : LABEL git_sha=6f9651701fa4461332be51a371f9e37e5ffc9bc5 [2023-03-28T18:54:36.970Z] ---> Running in b1847ebc8d78 [2023-03-28T18:54:36.970Z] Removing intermediate container b1847ebc8d78 [2023-03-28T18:54:36.970Z] ---> d4d397e680bd [2023-03-28T18:54:36.970Z] Step 25/25 : LABEL version=0.0.0 [2023-03-28T18:54:36.970Z] ---> Running in edc3855a1a89 [2023-03-28T18:54:36.970Z] Removing intermediate container edc3855a1a89 [2023-03-28T18:54:36.970Z] ---> 307ea14aab8a [2023-03-28T18:54:36.970Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T18:54:36.971Z] Successfully built 307ea14aab8a [2023-03-28T18:54:36.971Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:54:37.412Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:54:37.412Z] [2023-03-28T18:54:37.412Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:54:37.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:54:37.704Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-28T18:54:37.704Z] 5eb5b503b376: Pulling fs layer [2023-03-28T18:54:37.704Z] 5c69ac0246d0: Pulling fs layer [2023-03-28T18:54:37.704Z] ec43610c2a17: Pulling fs layer [2023-03-28T18:54:37.704Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-28T18:54:37.704Z] 33b1e0a273af: Pulling fs layer [2023-03-28T18:54:37.704Z] 5d3b04190fa2: Pulling fs layer [2023-03-28T18:54:37.704Z] 2f39f015ded8: Pulling fs layer [2023-03-28T18:54:37.704Z] 3a2ae6a8a46f: Waiting [2023-03-28T18:54:37.704Z] 33b1e0a273af: Waiting [2023-03-28T18:54:37.704Z] 5d3b04190fa2: Waiting [2023-03-28T18:54:37.704Z] 2f39f015ded8: Waiting [2023-03-28T18:54:37.704Z] 5c69ac0246d0: Verifying Checksum [2023-03-28T18:54:37.704Z] 5c69ac0246d0: Download complete [2023-03-28T18:54:37.704Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-28T18:54:37.704Z] 3a2ae6a8a46f: Download complete [2023-03-28T18:54:37.704Z] ec43610c2a17: Verifying Checksum [2023-03-28T18:54:37.704Z] ec43610c2a17: Download complete [2023-03-28T18:54:37.704Z] 33b1e0a273af: Verifying Checksum [2023-03-28T18:54:37.704Z] 33b1e0a273af: Download complete [2023-03-28T18:54:37.704Z] 5d3b04190fa2: Verifying Checksum [2023-03-28T18:54:37.704Z] 5d3b04190fa2: Download complete [2023-03-28T18:54:37.962Z] 5eb5b503b376: Verifying Checksum [2023-03-28T18:54:37.962Z] 5eb5b503b376: Download complete [2023-03-28T18:54:38.530Z] 2f39f015ded8: Verifying Checksum [2023-03-28T18:54:38.530Z] 2f39f015ded8: Download complete [2023-03-28T18:54:39.096Z] 5eb5b503b376: Pull complete [2023-03-28T18:54:39.096Z] 5c69ac0246d0: Pull complete [2023-03-28T18:54:39.664Z] ec43610c2a17: Pull complete [2023-03-28T18:54:39.664Z] 3a2ae6a8a46f: Pull complete [2023-03-28T18:54:39.922Z] 33b1e0a273af: Pull complete [2023-03-28T18:54:39.922Z] 5d3b04190fa2: Pull complete [2023-03-28T18:54:44.106Z] 2f39f015ded8: Pull complete [2023-03-28T18:54:44.106Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-28T18:54:44.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T18:54:44.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:54:44.177Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-03-28T18:54:44.206Z] $ 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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T18:54:46.041Z] $ docker top 922cee05c13c91402fa074ae6ca09d80d4d8d09b8380afa927b833215a327ecf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:54:46.438Z] ---> job-cost.sh [2023-03-28T18:54:46.438Z] lf-activate-venv: SKIPPING [2023-03-28T18:54:46.438Z] INFO: No Stack... [2023-03-28T18:54:47.006Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T18:54:47.265Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T18:54:47.558Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-281/archives/cost.csv [2023-03-28T18:54:47.558Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T18:54:47.570Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [2023-03-28T18:54:47.582Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] did not exist. Created. [2023-03-28T18:54:47.582Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T18:54:47.880Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-28T18:54:47.907Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T18:54:47.917Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T18:54:47.938Z] $ docker stop --time=1 922cee05c13c91402fa074ae6ca09d80d4d8d09b8380afa927b833215a327ecf [2023-03-28T18:54:49.076Z] $ docker rm -f --volumes 922cee05c13c91402fa074ae6ca09d80d4d8d09b8380afa927b833215a327ecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-28T18:57:02.378Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6091 in /w/workspace/gexfoundry_device-rest-go_PR-281 [Pipeline] { [Pipeline] ws [2023-03-28T18:57:02.394Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-03-28T18:57:02.441Z] The recommended git tool is: git [2023-03-28T18:57:11.529Z] using credential edgex-jenkins-ssh [2023-03-28T18:57:11.550Z] Cloning the remote Git repository [2023-03-28T18:57:11.617Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-28T18:57:11.818Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-03-28T18:57:12.143Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-28T18:57:12.145Z] > git --version # timeout=10 [2023-03-28T18:57:12.189Z] > git --version # 'git version 2.25.1' [2023-03-28T18:57:12.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:57:12.418Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T18:57:14.604Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-28T18:57:14.635Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-28T18:57:16.048Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-28T18:57:16.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-28T18:57:16.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:57:16.134Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/281/head:refs/remotes/origin/PR-281 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-28T18:57:16.732Z] Merging remotes/origin/main commit 539913158ea56f8dca24ab775bb8172a7292d425 into PR head commit 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [2023-03-28T18:57:17.083Z] Merge succeeded, producing 6f9651701fa4461332be51a371f9e37e5ffc9bc5 [2023-03-28T18:57:17.084Z] Checking out Revision 6f9651701fa4461332be51a371f9e37e5ffc9bc5 (PR-281) [2023-03-28T18:57:16.753Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T18:57:16.837Z] > git checkout -f 6f9651701fa4461332be51a371f9e37e5ffc9bc5 # timeout=10 [2023-03-28T18:57:16.934Z] > git remote # timeout=10 [2023-03-28T18:57:16.966Z] > git config --get remote.origin.url # timeout=10 [2023-03-28T18:57:17.009Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-28T18:57:17.028Z] > git merge 539913158ea56f8dca24ab775bb8172a7292d425 # timeout=10 [2023-03-28T18:57:17.062Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-28T18:57:17.094Z] > git config core.sparsecheckout # timeout=10 [2023-03-28T18:57:17.113Z] > git checkout -f 6f9651701fa4461332be51a371f9e37e5ffc9bc5 # timeout=10 [2023-03-28T18:57:20.811Z] Commit message: "fix: fixed comment feedback" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T18:57:21.789Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-28T18:57:21.789Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T18:57:21.789Z] Dload Upload Total Spent Left Speed [2023-03-28T18:57:21.789Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-03-28T18:57:22.498Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-28T18:57:22.840Z] + sudo tee /etc/docker/daemon.new [2023-03-28T18:57:22.840Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-28T18:57:22.840Z] { [2023-03-28T18:57:22.840Z] "registry-mirrors": [ [2023-03-28T18:57:22.840Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-28T18:57:22.840Z] ], [2023-03-28T18:57:22.840Z] "bip": "10.250.0.254/24", [2023-03-28T18:57:22.840Z] "hosts": [ [2023-03-28T18:57:22.840Z] "tcp://0.0.0.0:5555", [2023-03-28T18:57:22.840Z] "unix:///var/run/docker.sock" [2023-03-28T18:57:22.840Z] ], [2023-03-28T18:57:22.840Z] "mtu": 1458, [2023-03-28T18:57:22.840Z] "selinux-enabled": true, [2023-03-28T18:57:22.840Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-28T18:57:22.840Z] } [Pipeline] sh [2023-03-28T18:57:23.180Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-28T18:57:23.515Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T18:57:41.814Z] provisioning config files... [2023-03-28T18:57:41.843Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8875676672105665094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T18:57:42.207Z] ---> docker-login.sh [2023-03-28T18:57:42.207Z] nexus3.edgexfoundry.org:10001 [2023-03-28T18:57:42.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:57:42.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:57:42.804Z] Configure a credential helper to remove this warning. See [2023-03-28T18:57:42.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:57:42.804Z] [2023-03-28T18:57:42.804Z] Login Succeeded [2023-03-28T18:57:42.804Z] nexus3.edgexfoundry.org:10002 [2023-03-28T18:57:43.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:57:43.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:57:43.347Z] Configure a credential helper to remove this warning. See [2023-03-28T18:57:43.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:57:43.347Z] [2023-03-28T18:57:43.347Z] Login Succeeded [2023-03-28T18:57:43.347Z] nexus3.edgexfoundry.org:10003 [2023-03-28T18:57:43.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:57:43.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:57:43.618Z] Configure a credential helper to remove this warning. See [2023-03-28T18:57:43.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:57:43.618Z] [2023-03-28T18:57:43.618Z] Login Succeeded [2023-03-28T18:57:43.618Z] nexus3.edgexfoundry.org:10004 [2023-03-28T18:57:43.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:57:44.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:57:44.158Z] Configure a credential helper to remove this warning. See [2023-03-28T18:57:44.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:57:44.158Z] [2023-03-28T18:57:44.158Z] Login Succeeded [2023-03-28T18:57:44.158Z] docker.io [2023-03-28T18:57:44.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-28T18:57:44.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-28T18:57:44.427Z] Configure a credential helper to remove this warning. See [2023-03-28T18:57:44.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-28T18:57:44.427Z] [2023-03-28T18:57:44.427Z] Login Succeeded [2023-03-28T18:57:44.696Z] ---> docker-login.sh ends [Pipeline] } [2023-03-28T18:57:44.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-28T18:57:45.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:57:45.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-28T18:57:45.036Z] ========================================================= [2023-03-28T18:57:45.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-28T18:57:45.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:57:45.395Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-28T18:57:45.395Z] Sending build context to Docker daemon 137.2kB [2023-03-28T18:57:45.664Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T18:57:45.664Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-28T18:57:46.642Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-28T18:57:46.642Z] af6eaf76a39c: Pulling fs layer [2023-03-28T18:57:46.642Z] 55522c791124: Pulling fs layer [2023-03-28T18:57:46.642Z] ce5c4a1c91eb: Pulling fs layer [2023-03-28T18:57:46.642Z] 169dfbe0d373: Pulling fs layer [2023-03-28T18:57:46.642Z] e1ff8fa3b103: Pulling fs layer [2023-03-28T18:57:46.642Z] 52ebb69f0ebf: Pulling fs layer [2023-03-28T18:57:46.642Z] 5abe8eddf0d5: Pulling fs layer [2023-03-28T18:57:46.642Z] 169dfbe0d373: Waiting [2023-03-28T18:57:46.642Z] e1ff8fa3b103: Waiting [2023-03-28T18:57:46.642Z] 52ebb69f0ebf: Waiting [2023-03-28T18:57:46.642Z] 5abe8eddf0d5: Waiting [2023-03-28T18:57:46.642Z] 55522c791124: Download complete [2023-03-28T18:57:46.642Z] 169dfbe0d373: Verifying Checksum [2023-03-28T18:57:46.642Z] 169dfbe0d373: Download complete [2023-03-28T18:57:46.642Z] e1ff8fa3b103: Verifying Checksum [2023-03-28T18:57:46.642Z] e1ff8fa3b103: Download complete [2023-03-28T18:57:46.642Z] af6eaf76a39c: Verifying Checksum [2023-03-28T18:57:46.642Z] af6eaf76a39c: Download complete [2023-03-28T18:57:48.083Z] af6eaf76a39c: Pull complete [2023-03-28T18:57:48.083Z] 5abe8eddf0d5: Verifying Checksum [2023-03-28T18:57:48.083Z] 5abe8eddf0d5: Download complete [2023-03-28T18:57:48.355Z] 55522c791124: Pull complete [2023-03-28T18:57:49.329Z] ce5c4a1c91eb: Verifying Checksum [2023-03-28T18:57:49.329Z] ce5c4a1c91eb: Download complete [2023-03-28T18:57:49.329Z] 52ebb69f0ebf: Verifying Checksum [2023-03-28T18:57:49.329Z] 52ebb69f0ebf: Download complete [2023-03-28T18:58:01.691Z] ce5c4a1c91eb: Pull complete [2023-03-28T18:58:01.691Z] 169dfbe0d373: Pull complete [2023-03-28T18:58:01.691Z] e1ff8fa3b103: Pull complete [2023-03-28T18:58:08.385Z] 52ebb69f0ebf: Pull complete [2023-03-28T18:58:11.107Z] 5abe8eddf0d5: Pull complete [2023-03-28T18:58:11.107Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-28T18:58:11.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-28T18:58:11.107Z] ---> 6cb57ee374ae [2023-03-28T18:58:11.107Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-28T18:58:13.698Z] ---> Running in 06caf0daa37c [2023-03-28T18:58:13.967Z] Removing intermediate container 06caf0daa37c [2023-03-28T18:58:13.967Z] ---> 96ed0d29cde0 [2023-03-28T18:58:13.967Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T18:58:13.967Z] ---> Running in a710e41b2ce9 [2023-03-28T18:58:14.234Z] Removing intermediate container a710e41b2ce9 [2023-03-28T18:58:14.234Z] ---> d26c7f8c0885 [2023-03-28T18:58:14.234Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-28T18:58:14.234Z] ---> Running in f51f37ba55c0 [2023-03-28T18:58:14.824Z] Removing intermediate container f51f37ba55c0 [2023-03-28T18:58:14.824Z] ---> 795cee371f26 [2023-03-28T18:58:14.824Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-28T18:58:14.824Z] ---> Running in 374fe43a0753 [2023-03-28T18:58:15.092Z] Removing intermediate container 374fe43a0753 [2023-03-28T18:58:15.092Z] ---> 3b15d34ee95c [2023-03-28T18:58:15.092Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T18:58:15.092Z] ---> Running in 475bb5f1c8bd [2023-03-28T18:58:16.507Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T18:58:16.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T18:58:18.204Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-28T18:58:18.204Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-28T18:58:18.204Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-28T18:58:18.204Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-28T18:58:18.204Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T18:58:18.204Z] OK: 268 MiB in 57 packages [2023-03-28T18:58:19.623Z] Removing intermediate container 475bb5f1c8bd [2023-03-28T18:58:19.623Z] ---> 85f1d33d9c7f [2023-03-28T18:58:19.623Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-28T18:58:19.623Z] ---> Running in 3a7a59c27e29 [2023-03-28T18:58:19.623Z] Removing intermediate container 3a7a59c27e29 [2023-03-28T18:58:19.623Z] ---> ffc4c4dd1e7a [2023-03-28T18:58:19.623Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-28T18:58:20.214Z] ---> 9a78818ec1b0 [2023-03-28T18:58:20.214Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T18:58:20.214Z] ---> Running in be30f6679e1a [2023-03-28T18:59:28.129Z] Removing intermediate container be30f6679e1a [2023-03-28T18:59:28.129Z] ---> bd09e2e0f578 [2023-03-28T18:59:28.129Z] Step 11/12 : COPY . . [2023-03-28T18:59:28.129Z] ---> be5d1ff97ba6 [2023-03-28T18:59:28.129Z] Step 12/12 : RUN $MAKE [2023-03-28T18:59:28.129Z] ---> Running in 2a6f04f4d280 [2023-03-28T18:59:28.129Z] noop [2023-03-28T18:59:28.129Z] Removing intermediate container 2a6f04f4d280 [2023-03-28T18:59:28.129Z] ---> 86c7b84c9a83 [2023-03-28T18:59:28.129Z] Successfully built 86c7b84c9a83 [2023-03-28T18:59:28.129Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:59:28.474Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T18:59:28.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:59:28.690Z] prd-ubuntu20.04-docker-arm64-4c-16g-6091 does not seem to be running inside a container [2023-03-28T18:59:28.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-28T18:59:30.033Z] $ docker top 255028b16258b7145bb1fa6af63e5b947a4259548656927a1db0db3c5f0d38d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:59:30.863Z] + go version [2023-03-28T18:59:30.863Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-28T18:59:30.883Z] $ docker stop --time=1 255028b16258b7145bb1fa6af63e5b947a4259548656927a1db0db3c5f0d38d7 [2023-03-28T18:59:34.372Z] $ docker rm -f --volumes 255028b16258b7145bb1fa6af63e5b947a4259548656927a1db0db3c5f0d38d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T18:59:34.928Z] + docker inspect -f . ci-base-image-arm64 [2023-03-28T18:59:34.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T18:59:35.113Z] prd-ubuntu20.04-docker-arm64-4c-16g-6091 does not seem to be running inside a container [2023-03-28T18:59:35.183Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-28T18:59:36.384Z] $ docker top 92a0a98f450baae963e0630508d1e25040de45bf55c1067b8f1e376fb4d5e349 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T18:59:36.904Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-28T18:59:37.510Z] + make test [2023-03-28T18:59:37.780Z] go test ./... -coverprofile=coverage.out ./... [2023-03-28T19:00:10.037Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-28T19:02:16.729Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-28T19:02:16.729Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.0% of statements [2023-03-28T19:02:16.729Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-28T19:02:16.729Z] go vet ./... [2023-03-28T19:02:34.948Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-28T19:02:34.948Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-28T19:02:34.948Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-28T19:02:35.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-28T19:02:35.251Z] $ docker stop --time=1 92a0a98f450baae963e0630508d1e25040de45bf55c1067b8f1e376fb4d5e349 [2023-03-28T19:02:37.099Z] $ docker rm -f --volumes 92a0a98f450baae963e0630508d1e25040de45bf55c1067b8f1e376fb4d5e349 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-28T19:02:38.245Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-28T19:02:38.266Z] Warning: overwriting stash ‘coverage-report’ [2023-03-28T19:02:38.765Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-28T19:02:39.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-28T19:02:39.477Z] + ls -al . [2023-03-28T19:02:39.477Z] total 180 [2023-03-28T19:02:39.477Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:59 . [2023-03-28T19:02:39.477Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:57 .. [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 18:57 .dockerignore [2023-03-28T19:02:39.478Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:57 .git [2023-03-28T19:02:39.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:57 .github [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 18:57 .gitignore [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 28 18:57 .golangci.yml [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 9202 Mar 28 18:57 Attribution.txt [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 28 18:57 CHANGELOG.md [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 28 18:57 Dockerfile [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:57 GOVERNANCE.md [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 18:57 Jenkinsfile [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 18:57 LICENSE [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 28 18:57 Makefile [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 18:57 OWNERS.md [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 15321 Mar 28 18:57 README.md [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:53 VERSION [2023-03-28T19:02:39.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:57 bin [2023-03-28T19:02:39.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:57 cmd [2023-03-28T19:02:39.478Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 28 19:02 coverage.out [2023-03-28T19:02:39.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:57 driver [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 3399 Mar 28 18:57 go.mod [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 31153 Mar 28 18:57 go.sum [2023-03-28T19:02:39.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:57 snap [2023-03-28T19:02:39.478Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 18:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:02:39.823Z] + 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=6f9651701fa4461332be51a371f9e37e5ffc9bc5 --label arch=arm64 --label version=0.0.0 . [2023-03-28T19:02:39.823Z] Sending build context to Docker daemon 152.1kB [2023-03-28T19:02:40.090Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-28T19:02:40.090Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-28T19:02:40.090Z] ---> 86c7b84c9a83 [2023-03-28T19:02:40.090Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-28T19:02:40.090Z] ---> Running in eefab108c3c5 [2023-03-28T19:02:40.367Z] Removing intermediate container eefab108c3c5 [2023-03-28T19:02:40.367Z] ---> 91d7a520e99a [2023-03-28T19:02:40.367Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-28T19:02:40.635Z] ---> Running in e1af6c1d8c8e [2023-03-28T19:02:40.902Z] Removing intermediate container e1af6c1d8c8e [2023-03-28T19:02:40.902Z] ---> 3bce3bb32a3f [2023-03-28T19:02:40.902Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-28T19:02:40.902Z] ---> Running in a8ff3126941e [2023-03-28T19:02:41.171Z] Removing intermediate container a8ff3126941e [2023-03-28T19:02:41.171Z] ---> 6b92c5c9b320 [2023-03-28T19:02:41.171Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-28T19:02:41.171Z] ---> Running in 1ad86d496105 [2023-03-28T19:02:41.441Z] Removing intermediate container 1ad86d496105 [2023-03-28T19:02:41.441Z] ---> af306bf735f3 [2023-03-28T19:02:41.441Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-28T19:02:41.708Z] ---> Running in 685c5fde38b1 [2023-03-28T19:02:42.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T19:02:43.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T19:02:44.667Z] OK: 268 MiB in 57 packages [2023-03-28T19:02:45.253Z] Removing intermediate container 685c5fde38b1 [2023-03-28T19:02:45.253Z] ---> acb041fc82b9 [2023-03-28T19:02:45.253Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-28T19:02:45.253Z] ---> Running in 172703fe54b3 [2023-03-28T19:02:45.521Z] Removing intermediate container 172703fe54b3 [2023-03-28T19:02:45.521Z] ---> 3cb66ff73efd [2023-03-28T19:02:45.521Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-28T19:02:46.108Z] ---> 693f546beba9 [2023-03-28T19:02:46.108Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-28T19:02:46.108Z] ---> Running in 3be2410bfbee [2023-03-28T19:02:48.697Z] Removing intermediate container 3be2410bfbee [2023-03-28T19:02:48.697Z] ---> 330e8d966546 [2023-03-28T19:02:48.697Z] Step 11/25 : COPY . . [2023-03-28T19:02:49.286Z] ---> bdfd75368c0c [2023-03-28T19:02:49.286Z] Step 12/25 : RUN $MAKE [2023-03-28T19:02:49.555Z] ---> Running in b972336b8739 [2023-03-28T19:02:50.520Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-28T19:05:12.243Z] Removing intermediate container b972336b8739 [2023-03-28T19:05:12.243Z] ---> a475459e8006 [2023-03-28T19:05:12.243Z] Step 13/25 : FROM alpine:3.17 [2023-03-28T19:05:12.243Z] 3.17: Pulling from library/alpine [2023-03-28T19:05:12.243Z] af6eaf76a39c: Already exists [2023-03-28T19:05:12.243Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-28T19:05:12.243Z] Status: Downloaded newer image for alpine:3.17 [2023-03-28T19:05:12.243Z] ---> d74e625d9115 [2023-03-28T19:05:12.243Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-28T19:05:12.243Z] ---> Running in 658a95f79046 [2023-03-28T19:05:12.243Z] Removing intermediate container 658a95f79046 [2023-03-28T19:05:12.243Z] ---> d2f49b59c78c [2023-03-28T19:05:12.243Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-28T19:05:12.243Z] ---> Running in 8b8cc792da27 [2023-03-28T19:05:12.243Z] Removing intermediate container 8b8cc792da27 [2023-03-28T19:05:12.243Z] ---> 86ca9f281f44 [2023-03-28T19:05:12.243Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-28T19:05:12.243Z] ---> Running in cd25121c9ae5 [2023-03-28T19:05:12.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-28T19:05:12.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-28T19:05:12.243Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-28T19:05:12.243Z] Executing busybox-1.35.0-r29.trigger [2023-03-28T19:05:12.243Z] OK: 8 MiB in 16 packages [2023-03-28T19:05:12.243Z] Removing intermediate container cd25121c9ae5 [2023-03-28T19:05:12.243Z] ---> 51106acb131c [2023-03-28T19:05:12.243Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-28T19:05:12.243Z] ---> 034d3b738d18 [2023-03-28T19:05:12.243Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-28T19:05:12.243Z] ---> 42f5218da30f [2023-03-28T19:05:12.243Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-28T19:05:12.512Z] ---> 79da050140eb [2023-03-28T19:05:12.512Z] Step 20/25 : EXPOSE 59986 [2023-03-28T19:05:12.512Z] ---> Running in 3fdd09369de3 [2023-03-28T19:05:12.780Z] Removing intermediate container 3fdd09369de3 [2023-03-28T19:05:12.780Z] ---> 2f27c900c434 [2023-03-28T19:05:12.780Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-28T19:05:12.780Z] ---> Running in 8120116b31e1 [2023-03-28T19:05:13.049Z] Removing intermediate container 8120116b31e1 [2023-03-28T19:05:13.049Z] ---> eb5769ad11f0 [2023-03-28T19:05:13.049Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-28T19:05:13.318Z] ---> Running in 7e3d57657a8f [2023-03-28T19:05:13.585Z] Removing intermediate container 7e3d57657a8f [2023-03-28T19:05:13.585Z] ---> fd8db8b194bf [2023-03-28T19:05:13.585Z] Step 23/25 : LABEL arch=arm64 [2023-03-28T19:05:13.585Z] ---> Running in 32a9d4be226f [2023-03-28T19:05:13.852Z] Removing intermediate container 32a9d4be226f [2023-03-28T19:05:13.853Z] ---> bd2f60285555 [2023-03-28T19:05:13.853Z] Step 24/25 : LABEL git_sha=6f9651701fa4461332be51a371f9e37e5ffc9bc5 [2023-03-28T19:05:13.853Z] ---> Running in 5041221e39f7 [2023-03-28T19:05:14.126Z] Removing intermediate container 5041221e39f7 [2023-03-28T19:05:14.126Z] ---> ba89c7b93d84 [2023-03-28T19:05:14.126Z] Step 25/25 : LABEL version=0.0.0 [2023-03-28T19:05:14.394Z] ---> Running in efa764b8817c [2023-03-28T19:05:14.662Z] Removing intermediate container efa764b8817c [2023-03-28T19:05:14.662Z] ---> ab46dfd01f6d [2023-03-28T19:05:14.662Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-28T19:05:14.662Z] Successfully built ab46dfd01f6d [2023-03-28T19:05:14.662Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:05:15.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T19:05:15.107Z] [2023-03-28T19:05:15.107Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:05:15.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T19:05:15.437Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-28T19:05:15.437Z] 8998bd30e6a1: Pulling fs layer [2023-03-28T19:05:15.437Z] 04944245beec: Pulling fs layer [2023-03-28T19:05:15.437Z] 699f458cf7ca: Pulling fs layer [2023-03-28T19:05:15.437Z] 765212b225bb: Pulling fs layer [2023-03-28T19:05:15.437Z] f23df028b6ca: Pulling fs layer [2023-03-28T19:05:15.437Z] d65c8cfc05b1: Pulling fs layer [2023-03-28T19:05:15.437Z] 2437ff75d9bd: Pulling fs layer [2023-03-28T19:05:15.437Z] f23df028b6ca: Waiting [2023-03-28T19:05:15.437Z] d65c8cfc05b1: Waiting [2023-03-28T19:05:15.437Z] 765212b225bb: Waiting [2023-03-28T19:05:15.437Z] 2437ff75d9bd: Waiting [2023-03-28T19:05:15.705Z] 04944245beec: Verifying Checksum [2023-03-28T19:05:15.705Z] 04944245beec: Download complete [2023-03-28T19:05:15.705Z] 765212b225bb: Verifying Checksum [2023-03-28T19:05:15.705Z] 765212b225bb: Download complete [2023-03-28T19:05:15.705Z] f23df028b6ca: Verifying Checksum [2023-03-28T19:05:15.705Z] f23df028b6ca: Download complete [2023-03-28T19:05:15.705Z] d65c8cfc05b1: Verifying Checksum [2023-03-28T19:05:15.705Z] d65c8cfc05b1: Download complete [2023-03-28T19:05:15.975Z] 699f458cf7ca: Verifying Checksum [2023-03-28T19:05:15.975Z] 699f458cf7ca: Download complete [2023-03-28T19:05:16.242Z] 8998bd30e6a1: Download complete [2023-03-28T19:05:18.837Z] 2437ff75d9bd: Verifying Checksum [2023-03-28T19:05:18.837Z] 2437ff75d9bd: Download complete [2023-03-28T19:05:20.248Z] 8998bd30e6a1: Pull complete [2023-03-28T19:05:20.834Z] 04944245beec: Pull complete [2023-03-28T19:05:22.244Z] 699f458cf7ca: Pull complete [2023-03-28T19:05:22.511Z] 765212b225bb: Pull complete [2023-03-28T19:05:23.108Z] f23df028b6ca: Pull complete [2023-03-28T19:05:23.375Z] d65c8cfc05b1: Pull complete [2023-03-28T19:05:38.647Z] 2437ff75d9bd: Pull complete [2023-03-28T19:05:38.647Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-28T19:05:38.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-28T19:05:38.647Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T19:05:38.834Z] prd-ubuntu20.04-docker-arm64-4c-16g-6091 does not seem to be running inside a container [2023-03-28T19:05:38.895Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-28T19:05:41.335Z] $ docker top 91041c4e6baa8d809fefd112ee2d86b1df41fab8d8caab05cd5227647eee9ce5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:05:41.849Z] ---> job-cost.sh [2023-03-28T19:05:42.118Z] lf-activate-venv: SKIPPING [2023-03-28T19:05:42.118Z] INFO: No Stack... [2023-03-28T19:05:42.701Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-28T19:05:43.287Z] INFO: Archiving Costs [Pipeline] sh [2023-03-28T19:05:43.608Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-03-28T19:05:43.608Z] + cut -d, -f6 [Pipeline] lock [2023-03-28T19:05:43.665Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [2023-03-28T19:05:43.673Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] did not exist. Created. [2023-03-28T19:05:43.673Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-28T19:05:44.334Z] /w/workspace/device-rest-go/2@tmp/durable-e5c8afc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-28T19:05:44.985Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-28T19:05:44.999Z] Warning: overwriting stash ‘stack-cost’ [2023-03-28T19:05:45.040Z] Stashed 1 file(s) [Pipeline] } [2023-03-28T19:05:45.047Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-281-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-28T19:05:45.068Z] $ docker stop --time=1 91041c4e6baa8d809fefd112ee2d86b1df41fab8d8caab05cd5227647eee9ce5 [2023-03-28T19:05:46.546Z] $ docker rm -f --volumes 91041c4e6baa8d809fefd112ee2d86b1df41fab8d8caab05cd5227647eee9ce5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-28T19:05:46.877Z] provisioning config files... [2023-03-28T19:05:46.885Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config7055342796023880014tmp [Pipeline] { [Pipeline] sh [2023-03-28T19:05:47.171Z] + set +x [2023-03-28T19:05:47.171Z] + curl -s https://codecov.io/bash [2023-03-28T19:05:47.171Z] + bash -s -- [2023-03-28T19:05:47.171Z] [2023-03-28T19:05:47.171Z] _____ _ [2023-03-28T19:05:47.171Z] / ____| | | [2023-03-28T19:05:47.171Z] | | ___ __| | ___ ___ _____ __ [2023-03-28T19:05:47.171Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-28T19:05:47.171Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-28T19:05:47.171Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-28T19:05:47.171Z] Bash-1.0.6 [2023-03-28T19:05:47.171Z] [2023-03-28T19:05:47.171Z] [2023-03-28T19:05:47.171Z] ==> git version 2.25.1 found [2023-03-28T19:05:47.171Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-28T19:05:47.171Z] Release-Date: 2020-01-08 [2023-03-28T19:05:47.171Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-28T19:05:47.171Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-28T19:05:47.171Z] ==> Jenkins CI detected. [2023-03-28T19:05:47.171Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-281 [2023-03-28T19:05:47.171Z] project root: . [2023-03-28T19:05:47.171Z] --> token set from env [2023-03-28T19:05:47.171Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-28T19:05:47.171Z] ==> Running gcov in . (disable via -X gcov) [2023-03-28T19:05:47.171Z] ==> Python coveragepy not found [2023-03-28T19:05:47.171Z] ==> Searching for coverage reports in: [2023-03-28T19:05:47.171Z] + . [2023-03-28T19:05:47.171Z] -> Found 1 reports [2023-03-28T19:05:47.171Z] ==> Detecting git/mercurial file structure [2023-03-28T19:05:47.171Z] ==> Reading reports [2023-03-28T19:05:47.171Z] + ./coverage.out bytes=14200 [2023-03-28T19:05:47.171Z] ==> Appending adjustments [2023-03-28T19:05:47.171Z] https://docs.codecov.io/docs/fixing-reports [2023-03-28T19:05:47.429Z] + Found adjustments [2023-03-28T19:05:47.429Z] ==> Gzipping contents [2023-03-28T19:05:47.429Z] 4.0K /tmp/codecov.imQ7kh.gz [2023-03-28T19:05:47.429Z] ==> Uploading reports [2023-03-28T19:05:47.429Z] url: https://codecov.io [2023-03-28T19:05:47.430Z] query: branch=PR-281&commit=6f9651701fa4461332be51a371f9e37e5ffc9bc5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-281%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=281&job=&cmd_args= [2023-03-28T19:05:47.430Z] -> Pinging Codecov [2023-03-28T19:05:47.430Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-281&commit=6f9651701fa4461332be51a371f9e37e5ffc9bc5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-281%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=281&job=&cmd_args= [2023-03-28T19:05:47.430Z] -> Uploading to [2023-03-28T19:05:47.430Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-28/4E5D53B4F1F92C436F7061BF334D961C/6f9651701fa4461332be51a371f9e37e5ffc9bc5/deb1c2e1-cd84-4c41-a438-098ab5a357f0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T190547Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=372a9298d3e9fb5712365559a887bd12fb09c8c0cc453d9dd21fe43a3475b268 [2023-03-28T19:05:47.430Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-28T19:05:47.430Z] Dload Upload Total Spent Left Speed [2023-03-28T19:05:47.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2437 0 0 100 2437 0 12004 --:--:-- --:--:-- --:--:-- 12004 100 2437 0 0 100 2437 0 8461 --:--:-- --:--:-- --:--:-- 8432 [2023-03-28T19:05:47.688Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6f9651701fa4461332be51a371f9e37e5ffc9bc5 [Pipeline] } [2023-03-28T19:05:47.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-28T19:05:48.339Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-281/archives ] [2023-03-28T19:05:48.339Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-281/archives [2023-03-28T19:05:48.339Z] total 16 [2023-03-28T19:05:48.339Z] drwxr-xr-x 3 root root 4096 Mar 28 18:54 . [2023-03-28T19:05:48.339Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:54 .. [2023-03-28T19:05:48.339Z] drwxr-xr-x 2 root root 4096 Mar 28 18:54 cost [2023-03-28T19:05:48.339Z] -rw-r--r-- 1 root root 86 Mar 28 18:54 cost.csv [2023-03-28T19:05:48.339Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-281/archives [2023-03-28T19:05:48.339Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-281/archives [2023-03-28T19:05:48.339Z] total 16 [2023-03-28T19:05:48.339Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:54 . [2023-03-28T19:05:48.339Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:54 .. [2023-03-28T19:05:48.339Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 18:54 cost [2023-03-28T19:05:48.339Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 28 18:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:05:48.638Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:05:49.495Z] ---> package-listing.sh [2023-03-28T19:05:49.495Z] ++ facter osfamily [2023-03-28T19:05:49.495Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-28T19:05:49.755Z] + OS_FAMILY=debian [2023-03-28T19:05:49.755Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-281 [2023-03-28T19:05:49.755Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-28T19:05:49.755Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-28T19:05:49.755Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-28T19:05:49.755Z] + PACKAGES=/tmp/packages_start.txt [2023-03-28T19:05:49.755Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-281 ']' [2023-03-28T19:05:49.755Z] + PACKAGES=/tmp/packages_end.txt [2023-03-28T19:05:49.755Z] + case "${OS_FAMILY}" in [2023-03-28T19:05:49.755Z] + dpkg -l [2023-03-28T19:05:49.755Z] + grep '^ii' [2023-03-28T19:05:49.755Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-28T19:05:49.755Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-28T19:05:49.755Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-28T19:05:49.755Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-281 ']' [2023-03-28T19:05:49.755Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-281/archives/ [2023-03-28T19:05:49.755Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-281/archives/ [Pipeline] echo [2023-03-28T19:05:49.768Z] 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-281/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-28T19:05:50.046Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-28T19:05:50.608Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-28T19:05:50.608Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-28T19:05:50.676Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-03-28T19:05:50.710Z] $ 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-281/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-281 -v /w/workspace/gexfoundry_device-rest-go_PR-281:/w/workspace/gexfoundry_device-rest-go_PR-281:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-281@tmp:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-28T19:05:50.913Z] $ docker top 6cd8533c7aa23c14496c1cb7e2c6b528dd0732aeb91e442016b91100a89d8b3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-28T19:05:51.250Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-28T19:05:51.537Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-28T19:05:51.822Z] + ls /var/log/sa-host [2023-03-28T19:05:51.822Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-28T19:05:51.891Z] provisioning config files... [2023-03-28T19:05:51.898Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-281@tmp/config1994541896881967743tmp [Pipeline] { [Pipeline] echo [2023-03-28T19:05:51.911Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:05:52.194Z] ---> create-netrc.sh [Pipeline] } [2023-03-28T19:05:52.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:05:52.524Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-28T19:05:52.532Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:05:52.816Z] ---> sudo-logs.sh [2023-03-28T19:05:52.816Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-28T19:05:52.845Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:05:53.128Z] ---> job-cost.sh [2023-03-28T19:05:53.128Z] lf-activate-venv: SKIPPING [2023-03-28T19:05:53.128Z] DEBUG: total: 0.2199999988079071 [2023-03-28T19:05:53.128Z] INFO: Retrieving Stack Cost... [2023-03-28T19:05:53.387Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-28T19:05:53.953Z] INFO: Archiving Costs [Pipeline] echo [2023-03-28T19:05:53.964Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-28T19:05:54.245Z] ---> logs-deploy.sh [2023-03-28T19:05:54.245Z] lf-activate-venv: SKIPPING [2023-03-28T19:05:54.245Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-281/2 [2023-03-28T19:05:54.245Z] INFO: archiving workspace using pattern(s): [2023-03-28T19:05:55.183Z] Archives upload complete. [2023-03-28T19:05:55.183Z] INFO: archiving logs to Nexus