Pull request #391 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0c174eca06cb985897f035aab0d0a809ccc8b9a1+71bb43dbd033e4b79fac5b32175e59679d8e2e88 (03ebc62307c675fe89df3511ada9cb8d2a21f115) 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-ssh14221757931848409686.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh3717216835019806580.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1501269340721965300.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8112625195709265379.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10362209981242831440.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16326403848414618683.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 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.21 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-683 in /w/workspace/gexfoundry_device-rest-go_PR-391 [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-391 # 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 Merging remotes/origin/napa commit 71bb43dbd033e4b79fac5b32175e59679d8e2e88 into PR head commit 0c174eca06cb985897f035aab0d0a809ccc8b9a1 Merge succeeded, producing 0c174eca06cb985897f035aab0d0a809ccc8b9a1 Checking out Revision 0c174eca06cb985897f035aab0d0a809ccc8b9a1 (PR-391) > 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/391/head:refs/remotes/origin/PR-391 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c174eca06cb985897f035aab0d0a809ccc8b9a1 # 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 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c174eca06cb985897f035aab0d0a809ccc8b9a1 # timeout=10 Commit message: "build: Bump SDK to v3.1.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:03:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:03:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:03:59 ========================================================= 08:03:59 EdgeX Global Pipelines Version Info 08:03:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:03:59 ------------------- 08:03:59 No tag info for: stable 08:04:00 ------------------- 08:04:00 experimental info: 08:04:00 ------------------- 08:04:00 Commited By: **** collab-it+edgex@linuxfoundation.org 08:04:00 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 08:04:00 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:04:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 08:04:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 08:04:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:04:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:04:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:04:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-391 [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-391 [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-391 [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c174ec [Pipeline] echo 08:04:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:04:02 provisioning config files... 08:04:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/config17029689805403811604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:03 ---> ****-login.sh 08:04:03 nexus3.edgexfoundry.org:10001 08:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:03 Configure a credential helper to remove this warning. See 08:04:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:03 08:04:03 Login Succeeded 08:04:03 nexus3.edgexfoundry.org:10002 08:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:03 Configure a credential helper to remove this warning. See 08:04:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:03 08:04:03 Login Succeeded 08:04:03 nexus3.edgexfoundry.org:10003 08:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:03 Configure a credential helper to remove this warning. See 08:04:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:03 08:04:03 Login Succeeded 08:04:03 nexus3.edgexfoundry.org:10004 08:04:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:04 Configure a credential helper to remove this warning. See 08:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:04 08:04:04 Login Succeeded 08:04:04 ****.io 08:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:04 Configure a credential helper to remove this warning. See 08:04:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:04 08:04:04 Login Succeeded 08:04:04 ---> ****-login.sh ends [Pipeline] } 08:04:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:04:04 + git rev-list -1 --merges 0c174eca06cb985897f035aab0d0a809ccc8b9a1~1..0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] echo 08:04:04 -----------> git rev-list -1 --merges 0c174eca06cb985897f035aab0d0a809ccc8b9a1~1..0c174eca06cb985897f035aab0d0a809ccc8b9a1 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [false] [Pipeline] sh 08:04:05 + git log --format=format:%s -1 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] echo 08:04:05 ========================================================= 08:04:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:04:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:04:05 + git log --format=format:%s -1 0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] echo 08:04:05 [semverPrep] GIT_COMMIT: 0c174eca06cb985897f035aab0d0a809ccc8b9a1, Commit Message: build: Bump SDK to v3.1.1 [Pipeline] echo 08:04:05 [semverPrep] This is not a build commit. [Pipeline] sh 08:04:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:04:06 + grep -v github /etc/ssh/ssh_known_hosts 08:04:06 + [ -e /tmp/ssh_known_hosts ] 08:04:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:04:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:04:06 + sudo tee -a /etc/ssh/ssh_known_hosts 08:04:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:04:06 08:04:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:04:06 0.1.4: Pulling from edgex-devops/py-git-semver 08:04:06 b85a868b505f: Pulling fs layer 08:04:06 e2be974225ed: Pulling fs layer 08:04:06 339a4e72a1f5: Pulling fs layer 08:04:06 988bab9f4d93: Pulling fs layer 08:04:06 1469e6f7b9e6: Pulling fs layer 08:04:06 eaf3925da568: Pulling fs layer 08:04:06 bab4dde63d76: Pulling fs layer 08:04:06 bde34c3a00c8: Pulling fs layer 08:04:06 b352a97aabf1: Pulling fs layer 08:04:06 4872d77fe225: Pulling fs layer 08:04:06 5851b861e8e6: Pulling fs layer 08:04:06 4872d77fe225: Waiting 08:04:06 988bab9f4d93: Waiting 08:04:06 eaf3925da568: Waiting 08:04:06 bab4dde63d76: Waiting 08:04:06 5851b861e8e6: Waiting 08:04:06 bde34c3a00c8: Waiting 08:04:06 1469e6f7b9e6: Waiting 08:04:06 b352a97aabf1: Waiting 08:04:06 e2be974225ed: Download complete 08:04:06 988bab9f4d93: Download complete 08:04:06 1469e6f7b9e6: Verifying Checksum 08:04:06 1469e6f7b9e6: Download complete 08:04:06 339a4e72a1f5: Verifying Checksum 08:04:06 339a4e72a1f5: Download complete 08:04:06 eaf3925da568: Download complete 08:04:06 bde34c3a00c8: Verifying Checksum 08:04:06 bde34c3a00c8: Download complete 08:04:07 b352a97aabf1: Download complete 08:04:07 5851b861e8e6: Download complete 08:04:07 b85a868b505f: Verifying Checksum 08:04:07 b85a868b505f: Download complete 08:04:07 bab4dde63d76: Verifying Checksum 08:04:07 bab4dde63d76: Download complete 08:04:08 b85a868b505f: Pull complete 08:04:08 e2be974225ed: Pull complete 08:04:08 339a4e72a1f5: Pull complete 08:04:08 988bab9f4d93: Pull complete 08:04:09 1469e6f7b9e6: Pull complete 08:04:09 eaf3925da568: Pull complete 08:04:11 bab4dde63d76: Pull complete 08:04:11 bde34c3a00c8: Pull complete 08:04:11 b352a97aabf1: Pull complete 08:04:11 4872d77fe225: Pull complete 08:04:11 5851b861e8e6: Pull complete 08:04:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:04:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:04:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:11 prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container 08:04:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:04:14 $ docker top 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 -eo pid,comm 08:04:14 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). 08:04:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:04:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:04:14 [ssh-agent] Looking for ssh-agent implementation... 08:04:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:04:14 $ docker exec 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 ssh-agent 08:04:14 SSH_AUTH_SOCK=/tmp/ssh-gRBBFxhCwlLN/agent.32 08:04:14 SSH_AGENT_PID=38 08:04:14 Running ssh-add (command line suppressed) 08:04:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-391@tmp/private_key_5924354849442180675.key (/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/private_key_5924354849442180675.key) 08:04:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:04:15 + git tag --points-at HEAD [Pipeline] } 08:04:15 $ docker exec --env ******** --env ******** 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 ssh-agent -k 08:04:15 unset SSH_AUTH_SOCK; 08:04:15 unset SSH_AGENT_PID; 08:04:15 echo Agent pid 38 killed; 08:04:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:04:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:04:15 [ssh-agent] Looking for ssh-agent implementation... 08:04:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:04:15 $ docker exec 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 ssh-agent 08:04:15 SSH_AUTH_SOCK=/tmp/ssh-M1KRVxvP2vV2/agent.72 08:04:15 SSH_AGENT_PID=78 08:04:15 Running ssh-add (command line suppressed) 08:04:15 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-391@tmp/private_key_1857786230556796426.key (/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/private_key_1857786230556796426.key) 08:04:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:04:15 + git semver init 08:04:16 2024-05-24 08:04:16,104 [run_init] DEBUG init version:0.0.0 force:False 08:04:16 2024-05-24 08:04:16,105 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-391/.semver 08:04:16 2024-05-24 08:04:16,105 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-391/.semver 08:04:16 2024-05-24 08:04:16,105 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-391/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-391, universal_newlines=False, shell=None, istream=None) 08:04:17 2024-05-24 08:04:17,352 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-391/.git/info/exclude 08:04:17 2024-05-24 08:04:17,353 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-391/.semver/PR-391 with force:False 08:04:17 2024-05-24 08:04:17,353 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-391/.semver/PR-391 08:04:17 2024-05-24 08:04:17,357 [execute] INFO git cat-file --batch-check 08:04:17 2024-05-24 08:04:17,358 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-391/.semver, universal_newlines=False, shell=None, istream=) 08:04:17 2024-05-24 08:04:17,365 [execute] INFO git cat-file --batch 08:04:17 2024-05-24 08:04:17,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-391/.semver, universal_newlines=False, shell=None, istream=) 08:04:17 2024-05-24 08:04:17,371 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-391/.semver/PR-391 08:04:17 0.0.0 [Pipeline] } 08:04:17 $ docker exec --env ******** --env ******** 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 ssh-agent -k 08:04:17 unset SSH_AUTH_SOCK; 08:04:17 unset SSH_AGENT_PID; 08:04:17 echo Agent pid 78 killed; 08:04:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:04:18 + git semver [Pipeline] } 08:04:18 $ docker stop --time=1 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 08:04:19 $ docker rm -f --volumes 6735086d57992eb67678b132d43c3dc818358a8fe44ca3f3d0ff8f3257fc5852 [Pipeline] // withDockerContainer [Pipeline] sh 08:04:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:04:20 Stashed 1 file(s) [Pipeline] echo 08:04:20 [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 08:04:21 provisioning config files... 08:04:21 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/config627214295144880910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:21 ---> ****-login.sh 08:04:21 nexus3.edgexfoundry.org:10001 08:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:21 Configure a credential helper to remove this warning. See 08:04:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:21 08:04:21 Login Succeeded 08:04:21 nexus3.edgexfoundry.org:10002 08:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:21 Configure a credential helper to remove this warning. See 08:04:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:21 08:04:21 Login Succeeded 08:04:21 nexus3.edgexfoundry.org:10003 08:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:21 Configure a credential helper to remove this warning. See 08:04:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:21 08:04:21 Login Succeeded 08:04:21 nexus3.edgexfoundry.org:10004 08:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:21 Configure a credential helper to remove this warning. See 08:04:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:21 08:04:21 Login Succeeded 08:04:21 ****.io 08:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:04:22 Configure a credential helper to remove this warning. See 08:04:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:04:22 08:04:22 Login Succeeded 08:04:22 ---> ****-login.sh ends [Pipeline] } 08:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:04:22 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 08:04:22 + grep ^go [0-9].[0-9]* go.mod 08:04:22 + cut -d -f 2 [Pipeline] echo 08:04:22 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:04:22 ========================================================= 08:04:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] 08:04:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 08:04:23 Sending build context to Docker daemon 43.99MB 08:04:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:04:23 Step 2/12 : FROM ${BASE} AS builder 08:04:23 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base 08:04:23 619be1103602: Pulling fs layer 08:04:23 7862e08f4a3e: Pulling fs layer 08:04:23 5df492c9dc93: Pulling fs layer 08:04:23 7629e6793208: Pulling fs layer 08:04:23 4f4fb700ef54: Pulling fs layer 08:04:23 8de7f028bff5: Pulling fs layer 08:04:23 44042ff1420b: Pulling fs layer 08:04:23 5cdaf54b7214: Pulling fs layer 08:04:23 38f3e5a9071a: Pulling fs layer 08:04:23 4f4fb700ef54: Waiting 08:04:23 8de7f028bff5: Waiting 08:04:23 7629e6793208: Waiting 08:04:23 38f3e5a9071a: Waiting 08:04:23 5cdaf54b7214: Waiting 08:04:23 44042ff1420b: Waiting 08:04:23 7862e08f4a3e: Verifying Checksum 08:04:23 7862e08f4a3e: Download complete 08:04:23 7629e6793208: Verifying Checksum 08:04:23 7629e6793208: Download complete 08:04:23 4f4fb700ef54: Verifying Checksum 08:04:23 4f4fb700ef54: Download complete 08:04:23 619be1103602: Verifying Checksum 08:04:23 619be1103602: Download complete 08:04:23 8de7f028bff5: Verifying Checksum 08:04:23 8de7f028bff5: Download complete 08:04:23 44042ff1420b: Verifying Checksum 08:04:23 44042ff1420b: Download complete 08:04:23 619be1103602: Pull complete 08:04:24 7862e08f4a3e: Pull complete 08:04:24 38f3e5a9071a: Verifying Checksum 08:04:24 38f3e5a9071a: Download complete 08:04:24 5df492c9dc93: Verifying Checksum 08:04:24 5df492c9dc93: Download complete 08:04:24 5cdaf54b7214: Verifying Checksum 08:04:24 5cdaf54b7214: Download complete 08:04:27 5df492c9dc93: Pull complete 08:04:27 7629e6793208: Pull complete 08:04:27 4f4fb700ef54: Pull complete 08:04:27 8de7f028bff5: Pull complete 08:04:27 44042ff1420b: Pull complete 08:04:30 5cdaf54b7214: Pull complete 08:04:30 38f3e5a9071a: Pull complete 08:04:30 Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 08:04:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts 08:04:30 ---> 60b93f829570 08:04:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:04:33 ---> Running in e3396e5041ef 08:04:33 Removing intermediate container e3396e5041ef 08:04:33 ---> f1e0073784be 08:04:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:04:33 ---> Running in 5bcc99588712 08:04:33 Removing intermediate container 5bcc99588712 08:04:33 ---> 25a57d5bc742 08:04:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:04:33 ---> Running in ac4dc6ce806a 08:04:33 Removing intermediate container ac4dc6ce806a 08:04:33 ---> 307a6a06af80 08:04:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:04:33 ---> Running in 47a2e0fa591b 08:04:33 Removing intermediate container 47a2e0fa591b 08:04:33 ---> b61af024694f 08:04:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:04:33 ---> Running in 562ec04275ea 08:04:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:04:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:04:34 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:04:34 (2/4) Installing libedit (20221030.3.1-r1) 08:04:34 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:04:34 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:04:34 Executing busybox-1.36.1-r5.trigger 08:04:34 OK: 268 MiB in 56 packages 08:04:35 Removing intermediate container 562ec04275ea 08:04:35 ---> 62bb01dde4e7 08:04:35 Step 8/12 : WORKDIR /device-rest-go 08:04:35 ---> Running in 9eace022a801 08:04:35 Removing intermediate container 9eace022a801 08:04:35 ---> bfeac09b0c3d 08:04:35 Step 9/12 : COPY go.mod vendor* ./ 08:04:36 Still waiting to schedule task 08:04:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-682’ 08:04:37 ---> e06b9d6a32d2 08:04:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:04:37 ---> Running in 81b5499141d9 08:04:59 Removing intermediate container 81b5499141d9 08:04:59 ---> b3132ab6531a 08:04:59 Step 11/12 : COPY . . 08:04:59 ---> e98fa0ecbed2 08:04:59 Step 12/12 : RUN $MAKE 08:04:59 ---> Running in 71dce4e323dd 08:04:59 noop 08:04:59 Removing intermediate container 71dce4e323dd 08:04:59 ---> 42ce4271a2f3 08:04:59 Successfully built 42ce4271a2f3 08:04:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:59 + docker inspect -f . ci-base-image-x86_64 08:04:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:04:59 prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container 08:04:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@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 ******** ci-base-image-x86_64 cat 08:05:00 $ docker top 7d0d91d95dcdc6098f08a2b4d35e58924eedb5012b1ccfbec2024b9369325a39 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:00 + go version 08:05:00 go version go1.21.9 linux/amd64 [Pipeline] } 08:05:00 $ docker stop --time=1 7d0d91d95dcdc6098f08a2b4d35e58924eedb5012b1ccfbec2024b9369325a39 08:05:01 $ docker rm -f --volumes 7d0d91d95dcdc6098f08a2b4d35e58924eedb5012b1ccfbec2024b9369325a39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:02 + docker inspect -f . ci-base-image-x86_64 08:05:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:02 prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container 08:05:02 $ 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-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@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 ******** ci-base-image-x86_64 cat 08:05:03 $ docker top 415731618dd0ce2c3e3fbffae820f538c792b973063e0e663370eac5be0f1e04 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-391 [Pipeline] fileExists [Pipeline] sh 08:05:03 + make test 08:05:03 go test ./... -coverprofile=coverage.out ./... 08:05:04 ? github.com/edgexfoundry/device-rest-go [no test files] 08:05:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:05:14 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements 08:05:21 go vet ./... 08:05:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:05:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:05:23 ./bin/test-attribution-txt.sh [Pipeline] echo 08:05:23 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:05:24 + go mod tidy [Pipeline] } 08:05:24 $ docker stop --time=1 415731618dd0ce2c3e3fbffae820f538c792b973063e0e663370eac5be0f1e04 08:05:27 $ docker rm -f --volumes 415731618dd0ce2c3e3fbffae820f538c792b973063e0e663370eac5be0f1e04 [Pipeline] // withDockerContainer [Pipeline] sh 08:05:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:05:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:05:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:05:28 + ls -al . 08:05:28 total 184 08:05:28 drwxrwxr-x 10 jenkins jenkins 4096 May 24 08:05 . 08:05:28 drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:03 .. 08:05:28 -rw-rw-r-- 1 jenkins jenkins 151 May 24 08:03 .dockerignore 08:05:28 drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:05 .git 08:05:28 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:03 .github 08:05:28 -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:03 .gitignore 08:05:28 -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:03 .golangci.yml 08:05:28 drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:04 .semver 08:05:28 -rw-rw-r-- 1 jenkins jenkins 10319 May 24 08:03 Attribution.txt 08:05:28 -rw-rw-r-- 1 jenkins jenkins 17685 May 24 08:03 CHANGELOG.md 08:05:28 -rw-rw-r-- 1 jenkins jenkins 1687 May 24 08:03 Dockerfile 08:05:28 -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:03 GOVERNANCE.md 08:05:28 -rw-rw-r-- 1 jenkins jenkins 680 May 24 08:03 Jenkinsfile 08:05:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:03 LICENSE 08:05:28 -rw-rw-r-- 1 jenkins jenkins 2010 May 24 08:03 Makefile 08:05:28 -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:03 OWNERS.md 08:05:28 -rw-rw-r-- 1 jenkins jenkins 3989 May 24 08:03 README.md 08:05:28 -rw-rw-r-- 1 jenkins jenkins 5 May 24 08:04 VERSION 08:05:28 drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:03 bin 08:05:28 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:03 cmd 08:05:28 -rw-r--r-- 1 jenkins jenkins 14499 May 24 08:05 coverage.out 08:05:28 drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:03 driver 08:05:28 -rw-rw-r-- 1 jenkins jenkins 3814 May 24 08:03 go.mod 08:05:28 -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:03 go.sum 08:05:28 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:03 openapi 08:05:28 drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:03 vendor 08:05:28 -rw-rw-r-- 1 jenkins jenkins 713 May 24 08:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:29 + 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=0c174eca06cb985897f035aab0d0a809ccc8b9a1 --label arch=amd64 --label version=0.0.0 . 08:05:29 Sending build context to Docker daemon 44MB 08:05:29 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:05:29 Step 2/26 : FROM ${BASE} AS builder 08:05:29 ---> 42ce4271a2f3 08:05:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:05:29 ---> Running in ab77b01103c6 08:05:29 Removing intermediate container ab77b01103c6 08:05:29 ---> c815bf867c64 08:05:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:05:29 ---> Running in 7e7f66b69529 08:05:29 Removing intermediate container 7e7f66b69529 08:05:29 ---> 80bebce3de15 08:05:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:05:30 ---> Running in f81829aa4cc2 08:05:30 Removing intermediate container f81829aa4cc2 08:05:30 ---> ba4b2659e18d 08:05:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:05:30 ---> Running in 50f3c26d78b2 08:05:30 Removing intermediate container 50f3c26d78b2 08:05:30 ---> 59e6c14f81b0 08:05:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:05:30 ---> Running in 26b641c8c052 08:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:05:31 OK: 268 MiB in 56 packages 08:05:31 Removing intermediate container 26b641c8c052 08:05:31 ---> a9cfed0bb753 08:05:31 Step 8/26 : WORKDIR /device-rest-go 08:05:31 ---> Running in ba9be2ecbc4b 08:05:31 Removing intermediate container ba9be2ecbc4b 08:05:31 ---> ec2d93820998 08:05:31 Step 9/26 : COPY go.mod vendor* ./ 08:05:32 ---> f31976ae1b4a 08:05:32 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:05:32 ---> Running in 28c0703e6608 08:05:33 skipping... 08:05:33 Removing intermediate container 28c0703e6608 08:05:33 ---> d5704db717b8 08:05:33 Step 11/26 : COPY . . 08:05:35 ---> 0f9bea35c387 08:05:35 Step 12/26 : RUN $MAKE 08:05:35 ---> Running in 4bbfccbde615 08:05:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 08:05:53 Removing intermediate container 4bbfccbde615 08:05:53 ---> a43dd1958d0b 08:05:53 Step 13/26 : FROM alpine:3.18 08:05:53 3.18: Pulling from library/alpine 08:05:53 619be1103602: Already exists 08:05:53 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:05:53 Status: Downloaded newer image for alpine:3.18 08:05:53 ---> d3782b16ccc9 08:05:53 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:05:53 ---> Running in b99f98e1fedd 08:05:53 Removing intermediate container b99f98e1fedd 08:05:53 ---> 1d4bed241373 08:05:53 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 08:05:53 ---> Running in c97a13422cf9 08:05:53 Removing intermediate container c97a13422cf9 08:05:53 ---> acd3d7aaf1fd 08:05:53 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:05:53 ---> Running in 066ceedd7511 08:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:05:53 (1/1) Installing dumb-init (1.2.5-r2) 08:05:53 Executing busybox-1.36.1-r5.trigger 08:05:53 OK: 7 MiB in 16 packages 08:05:54 Removing intermediate container 066ceedd7511 08:05:54 ---> cf524469dfa7 08:05:54 Step 17/26 : RUN apk --no-cache upgrade 08:05:54 ---> Running in 96b218311e51 08:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:05:54 Upgrading critical system libraries and apk-tools: 08:05:54 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:05:54 Executing busybox-1.36.1-r5.trigger 08:05:54 Continuing the upgrade transaction with new apk-tools: 08:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:05:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:05:55 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 08:05:55 Executing busybox-1.36.1-r6.post-upgrade 08:05:55 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 08:05:55 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:05:55 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 08:05:55 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 08:05:55 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 08:05:55 Executing busybox-1.36.1-r6.trigger 08:05:55 OK: 7 MiB in 16 packages 08:05:55 Removing intermediate container 96b218311e51 08:05:55 ---> 2b1d738b6143 08:05:55 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 08:05:56 ---> ccf23443e8e5 08:05:56 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 08:05:56 ---> a4628547d2d1 08:05:56 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 08:05:56 ---> df934bb1b843 08:05:56 Step 21/26 : EXPOSE 59986 08:05:56 ---> Running in 44c5a635c492 08:05:56 Removing intermediate container 44c5a635c492 08:05:56 ---> 30784f48a8da 08:05:56 Step 22/26 : ENTRYPOINT ["/device-rest"] 08:05:56 ---> Running in 87c5deb825ef 08:05:56 Removing intermediate container 87c5deb825ef 08:05:56 ---> 477585cbba20 08:05:56 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:05:56 ---> Running in fc48011af12f 08:05:56 Removing intermediate container fc48011af12f 08:05:56 ---> 79145bb89034 08:05:56 Step 24/26 : LABEL arch=amd64 08:05:56 ---> Running in 4479d54f755d 08:05:56 Removing intermediate container 4479d54f755d 08:05:56 ---> b6e5f736df0b 08:05:56 Step 25/26 : LABEL git_sha=0c174eca06cb985897f035aab0d0a809ccc8b9a1 08:05:56 ---> Running in abfb7764edd4 08:05:56 Removing intermediate container abfb7764edd4 08:05:56 ---> b6c65c180c7c 08:05:56 Step 26/26 : LABEL version=0.0.0 08:05:56 ---> Running in 43bf5855f8e8 08:05:57 Removing intermediate container 43bf5855f8e8 08:05:57 ---> 09b19761da66 08:05:57 [Warning] One or more build-args [ARCH] were not consumed 08:05:57 Successfully built 09b19761da66 08:05:57 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:58 08:05:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:58 latest: Pulling from edgex-lftools-log-publisher 08:05:58 5eb5b503b376: Pulling fs layer 08:05:58 5c69ac0246d0: Pulling fs layer 08:05:58 ec43610c2a17: Pulling fs layer 08:05:58 3a2ae6a8a46f: Pulling fs layer 08:05:58 33b1e0a273af: Pulling fs layer 08:05:58 5d3b04190fa2: Pulling fs layer 08:05:58 2f39f015ded8: Pulling fs layer 08:05:58 3a2ae6a8a46f: Waiting 08:05:58 33b1e0a273af: Waiting 08:05:58 5d3b04190fa2: Waiting 08:05:58 2f39f015ded8: Waiting 08:05:58 5c69ac0246d0: Verifying Checksum 08:05:58 5c69ac0246d0: Download complete 08:05:58 3a2ae6a8a46f: Verifying Checksum 08:05:58 3a2ae6a8a46f: Download complete 08:05:58 33b1e0a273af: Verifying Checksum 08:05:58 33b1e0a273af: Download complete 08:05:58 5d3b04190fa2: Verifying Checksum 08:05:58 5d3b04190fa2: Download complete 08:05:58 ec43610c2a17: Verifying Checksum 08:05:58 ec43610c2a17: Download complete 08:05:58 5eb5b503b376: Verifying Checksum 08:05:58 5eb5b503b376: Download complete 08:05:59 2f39f015ded8: Download complete 08:06:00 5eb5b503b376: Pull complete 08:06:00 5c69ac0246d0: Pull complete 08:06:00 ec43610c2a17: Pull complete 08:06:00 3a2ae6a8a46f: Pull complete 08:06:00 33b1e0a273af: Pull complete 08:06:00 5d3b04190fa2: Pull complete 08:06:04 2f39f015ded8: Pull complete 08:06:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:06:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:06:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:06:04 prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container 08:06:04 $ 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-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:06:07 $ docker top b3a1d013b155ba3da85c56eb4d7f959ba67ddb0443138361ae1d037f1517ed2b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:06:07 ---> job-cost.sh 08:06:07 lf-activate-venv: SKIPPING 08:06:07 INFO: No Stack... 08:06:07 INFO: Retrieving Pricing Info for: v3-standard-8 08:06:08 INFO: Archiving Costs [Pipeline] sh 08:06:08 + cat /w/workspace/gexfoundry_device-rest-go_PR-391/archives/cost.csv 08:06:08 + cut -d, -f6 [Pipeline] lock 08:06:08 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] 08:06:08 Resource [jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] did not exist. Created. 08:06:08 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:06:08 + echo total: 0.2199999988079071 [Pipeline] stash 08:06:08 Stashed 1 file(s) [Pipeline] } 08:06:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:06:09 $ docker stop --time=1 b3a1d013b155ba3da85c56eb4d7f959ba67ddb0443138361ae1d037f1517ed2b 08:06:10 $ docker rm -f --volumes b3a1d013b155ba3da85c56eb4d7f959ba67ddb0443138361ae1d037f1517ed2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:08:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-685 in /w/workspace/gexfoundry_device-rest-go_PR-391 [Pipeline] { [Pipeline] ws 08:08:14 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 08:08:17 The recommended git tool is: git 08:08:24 using credential edgex-jenkins-ssh 08:08:24 Cloning the remote Git repository 08:08:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 08:08:24 > git init /w/workspace/device-rest-go/1 # timeout=10 08:08:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:08:25 > git --version # timeout=10 08:08:25 > git --version # 'git version 2.25.1' 08:08:25 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:08:29 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:08:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:08:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 08:08:30 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 08:08:30 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/391/head:refs/remotes/origin/PR-391 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 08:08:31 Merging remotes/origin/napa commit 71bb43dbd033e4b79fac5b32175e59679d8e2e88 into PR head commit 0c174eca06cb985897f035aab0d0a809ccc8b9a1 08:08:31 > git config core.sparsecheckout # timeout=10 08:08:31 > git checkout -f 0c174eca06cb985897f035aab0d0a809ccc8b9a1 # timeout=10 08:08:33 Merge succeeded, producing 0c174eca06cb985897f035aab0d0a809ccc8b9a1 08:08:33 Checking out Revision 0c174eca06cb985897f035aab0d0a809ccc8b9a1 (PR-391) 08:08:33 > git remote # timeout=10 08:08:33 > git config --get remote.origin.url # timeout=10 08:08:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:08:33 > git merge 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 08:08:33 > git rev-parse HEAD^{commit} # timeout=10 08:08:33 > git config core.sparsecheckout # timeout=10 08:08:33 > git checkout -f 0c174eca06cb985897f035aab0d0a809ccc8b9a1 # timeout=10 08:08:34 Commit message: "build: Bump SDK to v3.1.1" 08:08:34 > git --version # timeout=10 08:08:34 > git --version # 'git version 2.25.1' 08:08:34 fatal: bad object f5e0e1f8358a839901f1a476b3a28a62f8570917 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:08:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:08:39 % Total % Received % Xferd Average Speed Time Time Time Current 08:08:39 Dload Upload Total Spent Left Speed 08:08:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh 08:08:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:08:40 + sudo tee /etc/docker/daemon.new 08:08:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:08:40 { 08:08:40 "registry-mirrors": [ 08:08:40 "https://nexus3.edgexfoundry.org:10001" 08:08:40 ], 08:08:40 "bip": "10.250.0.254/24", 08:08:40 "hosts": [ 08:08:40 "tcp://0.0.0.0:5555", 08:08:40 "unix:///var/run/docker.sock" 08:08:40 ], 08:08:40 "mtu": 1458, 08:08:40 "selinux-enabled": true, 08:08:40 "seccomp-profile": "/etc/docker/seccomp.json" 08:08:40 } [Pipeline] sh 08:08:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:08:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:08:59 provisioning config files... 08:08:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config17267356834824908095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:09:00 ---> ****-login.sh 08:09:00 nexus3.edgexfoundry.org:10001 08:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:00 Configure a credential helper to remove this warning. See 08:09:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:00 08:09:00 Login Succeeded 08:09:00 nexus3.edgexfoundry.org:10002 08:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:00 Configure a credential helper to remove this warning. See 08:09:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:00 08:09:00 Login Succeeded 08:09:01 nexus3.edgexfoundry.org:10003 08:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:01 Configure a credential helper to remove this warning. See 08:09:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:01 08:09:01 Login Succeeded 08:09:01 nexus3.edgexfoundry.org:10004 08:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:01 Configure a credential helper to remove this warning. See 08:09:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:01 08:09:01 Login Succeeded 08:09:01 ****.io 08:09:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:09:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:09:02 Configure a credential helper to remove this warning. See 08:09:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:09:02 08:09:02 Login Succeeded 08:09:02 ---> ****-login.sh ends [Pipeline] } 08:09:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:09:02 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh 08:09:03 + + cut -d grep -f ^go [0-9].[0-9]* 2 go.mod 08:09:03 [Pipeline] echo 08:09:03 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:09:03 ========================================================= 08:09:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] 08:09:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:09:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . 08:09:05 Sending build context to Docker daemon 27.75MB 08:09:05 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 08:09:05 Step 2/12 : FROM ${BASE} AS builder 08:09:05 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 08:09:05 c6b39de5b339: Pulling fs layer 08:09:05 a69c41024577: Pulling fs layer 08:09:05 d6de4b400683: Pulling fs layer 08:09:05 35cb2a7552d0: Pulling fs layer 08:09:05 4f4fb700ef54: Pulling fs layer 08:09:05 9e011611b7f5: Pulling fs layer 08:09:05 3bd174042beb: Pulling fs layer 08:09:05 4476f39b5e91: Pulling fs layer 08:09:05 4f4fb700ef54: Waiting 08:09:05 9e011611b7f5: Waiting 08:09:05 3bd174042beb: Waiting 08:09:05 4476f39b5e91: Waiting 08:09:05 35cb2a7552d0: Waiting 08:09:05 a69c41024577: Download complete 08:09:05 35cb2a7552d0: Verifying Checksum 08:09:05 35cb2a7552d0: Download complete 08:09:05 4f4fb700ef54: Verifying Checksum 08:09:05 4f4fb700ef54: Download complete 08:09:05 9e011611b7f5: Verifying Checksum 08:09:05 9e011611b7f5: Download complete 08:09:05 c6b39de5b339: Download complete 08:09:06 4476f39b5e91: Verifying Checksum 08:09:06 4476f39b5e91: Download complete 08:09:07 c6b39de5b339: Pull complete 08:09:08 a69c41024577: Pull complete 08:09:08 d6de4b400683: Download complete 08:09:09 3bd174042beb: Verifying Checksum 08:09:09 3bd174042beb: Download complete 08:09:21 d6de4b400683: Pull complete 08:09:21 35cb2a7552d0: Pull complete 08:09:21 4f4fb700ef54: Pull complete 08:09:21 9e011611b7f5: Pull complete 08:09:29 3bd174042beb: Pull complete 08:09:32 4476f39b5e91: Pull complete 08:09:32 Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 08:09:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts 08:09:32 ---> 981a0608b64a 08:09:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:09:34 ---> Running in c24341fbdb20 08:09:34 Removing intermediate container c24341fbdb20 08:09:34 ---> eacd7f96e6bc 08:09:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:09:34 ---> Running in 73a9609e035e 08:09:34 Removing intermediate container 73a9609e035e 08:09:34 ---> 016974e29836 08:09:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:09:34 ---> Running in b386d92e0018 08:09:34 Removing intermediate container b386d92e0018 08:09:34 ---> c603e3fef385 08:09:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:09:34 ---> Running in 3ca8b5ad2e11 08:09:35 Removing intermediate container 3ca8b5ad2e11 08:09:35 ---> 6dd6bec87788 08:09:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:09:35 ---> Running in 9d7da8433981 08:09:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:09:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:09:37 (1/4) Installing openssh-keygen (9.3_p2-r1) 08:09:37 (2/4) Installing libedit (20221030.3.1-r1) 08:09:37 (3/4) Installing openssh-client-common (9.3_p2-r1) 08:09:37 (4/4) Installing openssh-client-default (9.3_p2-r1) 08:09:37 Executing busybox-1.36.1-r5.trigger 08:09:37 OK: 271 MiB in 56 packages 08:09:38 Removing intermediate container 9d7da8433981 08:09:38 ---> 6e3ae62c83cc 08:09:38 Step 8/12 : WORKDIR /device-rest-go 08:09:39 ---> Running in 8d6bdf3ee88d 08:09:39 Removing intermediate container 8d6bdf3ee88d 08:09:39 ---> bb6a00aa215a 08:09:39 Step 9/12 : COPY go.mod vendor* ./ 08:09:45 ---> 233f5913f1f1 08:09:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:09:45 ---> Running in 21d4f3116094 08:10:42 Removing intermediate container 21d4f3116094 08:10:42 ---> a3063bff82eb 08:10:42 Step 11/12 : COPY . . 08:10:46 ---> b7e94b272e2a 08:10:46 Step 12/12 : RUN $MAKE 08:10:46 ---> Running in a620320f838e 08:10:47 noop 08:10:48 Removing intermediate container a620320f838e 08:10:48 ---> efbdb614dc51 08:10:48 Successfully built efbdb614dc51 08:10:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:48 + docker inspect -f . ci-base-image-arm64 08:10:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:49 prd-ubuntu20.04-docker-arm64-4c-16g-685 does not seem to be running inside a container 08:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:10:50 $ docker top d482fe046a1d32c5e0309c6c59eecbd60e79d3d7c6ba7f893b63ceb638ee5043 -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:51 + go version 08:10:51 go version go1.21.9 linux/arm64 [Pipeline] } 08:10:51 $ docker stop --time=1 d482fe046a1d32c5e0309c6c59eecbd60e79d3d7c6ba7f893b63ceb638ee5043 08:10:53 $ docker rm -f --volumes d482fe046a1d32c5e0309c6c59eecbd60e79d3d7c6ba7f893b63ceb638ee5043 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:54 + docker inspect -f . ci-base-image-arm64 08:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:10:54 prd-ubuntu20.04-docker-arm64-4c-16g-685 does not seem to be running inside a container 08:10:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:10:55 $ docker top 53362f20357263bcaf50426fc2cde10fb623d0d2306e8102c908f95b457d360b -eo pid,comm [Pipeline] { [Pipeline] sh 08:10:56 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 08:10:57 + make test 08:10:57 go test ./... -coverprofile=coverage.out ./... 08:10:59 ? github.com/edgexfoundry/device-rest-go [no test files] 08:12:51 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 08:12:51 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 33.2% of statements 08:12:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:12:51 go vet ./... 08:13:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:13:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:13:18 ./bin/test-attribution-txt.sh [Pipeline] echo 08:13:18 [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:13:19 + go mod tidy [Pipeline] } 08:13:22 $ docker stop --time=1 53362f20357263bcaf50426fc2cde10fb623d0d2306e8102c908f95b457d360b 08:13:24 $ docker rm -f --volumes 53362f20357263bcaf50426fc2cde10fb623d0d2306e8102c908f95b457d360b [Pipeline] // withDockerContainer [Pipeline] sh 08:13:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:13:25 Warning: overwriting stash ‘coverage-report’ 08:13:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:13:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:13:27 + ls -al . 08:13:27 total 180 08:13:27 drwxrwxr-x 9 jenkins jenkins 4096 May 24 08:10 . 08:13:27 drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:08 .. 08:13:27 -rw-rw-r-- 1 jenkins jenkins 151 May 24 08:08 .dockerignore 08:13:27 drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:08 .git 08:13:27 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:08 .github 08:13:27 -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:08 .gitignore 08:13:27 -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:08 .golangci.yml 08:13:27 -rw-rw-r-- 1 jenkins jenkins 10319 May 24 08:08 Attribution.txt 08:13:27 -rw-rw-r-- 1 jenkins jenkins 17685 May 24 08:08 CHANGELOG.md 08:13:27 -rw-rw-r-- 1 jenkins jenkins 1687 May 24 08:08 Dockerfile 08:13:27 -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:08 GOVERNANCE.md 08:13:27 -rw-rw-r-- 1 jenkins jenkins 680 May 24 08:08 Jenkinsfile 08:13:27 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:08 LICENSE 08:13:27 -rw-rw-r-- 1 jenkins jenkins 2010 May 24 08:08 Makefile 08:13:27 -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:08 OWNERS.md 08:13:27 -rw-rw-r-- 1 jenkins jenkins 3989 May 24 08:08 README.md 08:13:27 -rw-rw-r-- 1 jenkins jenkins 5 May 24 08:04 VERSION 08:13:27 drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:08 bin 08:13:27 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:08 cmd 08:13:27 -rw-r--r-- 1 jenkins jenkins 14499 May 24 08:12 coverage.out 08:13:27 drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:08 driver 08:13:27 -rw-rw-r-- 1 jenkins jenkins 3814 May 24 08:08 go.mod 08:13:27 -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:08 go.sum 08:13:27 drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:08 openapi 08:13:27 drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:08 vendor 08:13:27 -rw-rw-r-- 1 jenkins jenkins 713 May 24 08:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:13:27 + 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=0c174eca06cb985897f035aab0d0a809ccc8b9a1 --label arch=arm64 --label version=0.0.0 . 08:13:29 Sending build context to Docker daemon 27.76MB 08:13:30 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 08:13:30 Step 2/26 : FROM ${BASE} AS builder 08:13:30 ---> efbdb614dc51 08:13:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 08:13:30 ---> Running in 726cbb42f209 08:13:30 Removing intermediate container 726cbb42f209 08:13:30 ---> a3c80c320f75 08:13:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:13:30 ---> Running in 2d848df9a5fc 08:13:31 Removing intermediate container 2d848df9a5fc 08:13:31 ---> 49eb6bb0e04a 08:13:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:13:31 ---> Running in 5539de5f8a8f 08:13:31 Removing intermediate container 5539de5f8a8f 08:13:31 ---> b706b65abf17 08:13:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 08:13:31 ---> Running in 2f698b9d5236 08:13:31 Removing intermediate container 2f698b9d5236 08:13:31 ---> 7d56c8652ec9 08:13:31 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:13:31 ---> Running in 529e16da3ad4 08:13:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:13:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:13:34 OK: 271 MiB in 56 packages 08:13:35 Removing intermediate container 529e16da3ad4 08:13:35 ---> c866a0ab85ef 08:13:35 Step 8/26 : WORKDIR /device-rest-go 08:13:35 ---> Running in db1526477383 08:13:35 Removing intermediate container db1526477383 08:13:35 ---> b229e8b2d679 08:13:35 Step 9/26 : COPY go.mod vendor* ./ 08:13:43 ---> ad0ad1150e3c 08:13:43 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:13:43 ---> Running in 8df2fb962017 08:13:43 skipping... 08:13:43 Removing intermediate container 8df2fb962017 08:13:43 ---> 195050d7cc1c 08:13:43 Step 11/26 : COPY . . 08:13:50 ---> 05a7281b5d89 08:13:50 Step 12/26 : RUN $MAKE 08:13:50 ---> Running in 382063f82ce8 08:13:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 08:15:57 Removing intermediate container 382063f82ce8 08:15:57 ---> 2a594d93140d 08:15:57 Step 13/26 : FROM alpine:3.18 08:15:57 3.18: Pulling from library/alpine 08:15:57 c6b39de5b339: Already exists 08:15:57 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 08:15:57 Status: Downloaded newer image for alpine:3.18 08:15:57 ---> 33abbf032149 08:15:57 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:15:57 ---> Running in b9522d49ccaa 08:15:57 Removing intermediate container b9522d49ccaa 08:15:57 ---> 173d062a2d7e 08:15:57 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 08:15:57 ---> Running in 00cf6edc75e4 08:15:57 Removing intermediate container 00cf6edc75e4 08:15:57 ---> b1780ecac9ed 08:15:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 08:15:57 ---> Running in 8a2ba03019fa 08:15:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:15:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:15:58 (1/1) Installing dumb-init (1.2.5-r2) 08:15:58 Executing busybox-1.36.1-r5.trigger 08:15:58 OK: 8 MiB in 16 packages 08:15:59 Removing intermediate container 8a2ba03019fa 08:15:59 ---> 3e9285b01865 08:15:59 Step 17/26 : RUN apk --no-cache upgrade 08:15:59 ---> Running in cfc12598ae14 08:16:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:16:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:16:02 Upgrading critical system libraries and apk-tools: 08:16:02 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 08:16:02 Executing busybox-1.36.1-r5.trigger 08:16:02 Continuing the upgrade transaction with new apk-tools: 08:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 08:16:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 08:16:03 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 08:16:03 Executing busybox-1.36.1-r6.post-upgrade 08:16:03 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 08:16:03 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 08:16:03 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 08:16:03 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 08:16:03 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 08:16:03 Executing busybox-1.36.1-r6.trigger 08:16:03 OK: 8 MiB in 16 packages 08:16:05 Removing intermediate container cfc12598ae14 08:16:05 ---> f9661203814b 08:16:05 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 08:16:06 ---> 0dab79ab1fb5 08:16:06 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 08:16:06 ---> 4739083ca24b 08:16:06 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 08:16:07 ---> dec36197a2c0 08:16:07 Step 21/26 : EXPOSE 59986 08:16:07 ---> Running in 59b9e9530a55 08:16:07 Removing intermediate container 59b9e9530a55 08:16:07 ---> f95900251a61 08:16:07 Step 22/26 : ENTRYPOINT ["/device-rest"] 08:16:07 ---> Running in 1cf9305f845a 08:16:07 Removing intermediate container 1cf9305f845a 08:16:07 ---> 3feb10508de5 08:16:07 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:16:07 ---> Running in 3f0e91a01524 08:16:08 Removing intermediate container 3f0e91a01524 08:16:08 ---> b51cfa815c9c 08:16:08 Step 24/26 : LABEL arch=arm64 08:16:08 ---> Running in 5660338df5f6 08:16:08 Removing intermediate container 5660338df5f6 08:16:08 ---> 1f1812804935 08:16:08 Step 25/26 : LABEL git_sha=0c174eca06cb985897f035aab0d0a809ccc8b9a1 08:16:08 ---> Running in 8557e7bee3f2 08:16:09 Removing intermediate container 8557e7bee3f2 08:16:09 ---> 8540b3eb31c8 08:16:09 Step 26/26 : LABEL version=0.0.0 08:16:09 ---> Running in 34f3830d2c8d 08:16:09 Removing intermediate container 34f3830d2c8d 08:16:09 ---> 1b7df42caed8 08:16:09 [Warning] One or more build-args [ARCH] were not consumed 08:16:09 Successfully built 1b7df42caed8 08:16:09 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:16:10 08:16:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:16:11 arm64: Pulling from edgex-lftools-log-publisher 08:16:11 8998bd30e6a1: Pulling fs layer 08:16:11 04944245beec: Pulling fs layer 08:16:11 699f458cf7ca: Pulling fs layer 08:16:11 765212b225bb: Pulling fs layer 08:16:11 f23df028b6ca: Pulling fs layer 08:16:11 d65c8cfc05b1: Pulling fs layer 08:16:11 2437ff75d9bd: Pulling fs layer 08:16:11 f23df028b6ca: Waiting 08:16:11 d65c8cfc05b1: Waiting 08:16:11 765212b225bb: Waiting 08:16:11 2437ff75d9bd: Waiting 08:16:11 04944245beec: Verifying Checksum 08:16:11 04944245beec: Download complete 08:16:11 765212b225bb: Download complete 08:16:11 f23df028b6ca: Download complete 08:16:11 d65c8cfc05b1: Verifying Checksum 08:16:11 d65c8cfc05b1: Download complete 08:16:11 699f458cf7ca: Verifying Checksum 08:16:11 699f458cf7ca: Download complete 08:16:12 8998bd30e6a1: Verifying Checksum 08:16:12 8998bd30e6a1: Download complete 08:16:14 2437ff75d9bd: Verifying Checksum 08:16:14 2437ff75d9bd: Download complete 08:16:16 8998bd30e6a1: Pull complete 08:16:17 04944245beec: Pull complete 08:16:18 699f458cf7ca: Pull complete 08:16:18 765212b225bb: Pull complete 08:16:19 f23df028b6ca: Pull complete 08:16:19 d65c8cfc05b1: Pull complete 08:16:38 2437ff75d9bd: Pull complete 08:16:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:16:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:38 prd-ubuntu20.04-docker-arm64-4c-16g-685 does not seem to be running inside a container 08:16:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:16:41 $ docker top 5414ee33872ff41c2625e49266cfee76a6f783e2a8f6a8eee39cd1bf560bb4ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:42 ---> job-cost.sh 08:16:42 lf-activate-venv: SKIPPING 08:16:42 INFO: No Stack... 08:16:42 INFO: Retrieving Pricing Info for: v3-standard-4 08:16:43 INFO: Archiving Costs [Pipeline] sh 08:16:44 + cat /w/workspace/device-rest-go/1/archives/cost.csv 08:16:44 + cut -d, -f6 [Pipeline] lock 08:16:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] 08:16:44 Resource [jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] did not exist. Created. 08:16:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:16:44 /w/workspace/device-rest-go/1@tmp/durable-07b4891f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:16:45 + echo total: 0.10999999940395355 [Pipeline] stash 08:16:45 Warning: overwriting stash ‘stack-cost’ 08:16:46 Stashed 1 file(s) [Pipeline] } 08:16:46 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-391-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:16:46 $ docker stop --time=1 5414ee33872ff41c2625e49266cfee76a6f783e2a8f6a8eee39cd1bf560bb4ff 08:16:47 $ docker rm -f --volumes 5414ee33872ff41c2625e49266cfee76a6f783e2a8f6a8eee39cd1bf560bb4ff [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 08:16:48 provisioning config files... 08:16:48 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/config16422119783460022147tmp [Pipeline] { [Pipeline] sh 08:16:49 + set +x 08:16:49 + curl -s https://codecov.io/bash 08:16:49 + bash -s -- 08:16:49 08:16:49 _____ _ 08:16:49 / ____| | | 08:16:49 | | ___ __| | ___ ___ _____ __ 08:16:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:16:49 | |___| (_) | (_| | __/ (_| (_) \ V / 08:16:49 \_____\___/ \__,_|\___|\___\___/ \_/ 08:16:49 Bash-1.0.6 08:16:49 08:16:49 08:16:49 ==> git version 2.25.1 found 08:16:49 ==> 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 08:16:49 Release-Date: 2020-01-08 08:16:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:16:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:16:49 ==> Jenkins CI detected. 08:16:49 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-391 08:16:49 project root: . 08:16:49 --> token set from env 08:16:49 Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml 08:16:49 ==> Running gcov in . (disable via -X gcov) 08:16:49 ==> Python coveragepy not found 08:16:49 ==> Searching for coverage reports in: 08:16:49 + . 08:16:49 -> Found 1 reports 08:16:49 ==> Detecting git/mercurial file structure 08:16:49 ==> Reading reports 08:16:49 + ./coverage.out bytes=14499 08:16:49 ==> Appending adjustments 08:16:49 https://docs.codecov.io/docs/fixing-reports 08:16:49 + Found adjustments 08:16:49 ==> Gzipping contents 08:16:49 16K /tmp/codecov.tNDsAh.gz 08:16:49 ==> Uploading reports 08:16:49 url: https://codecov.io 08:16:49 query: branch=PR-391&commit=0c174eca06cb985897f035aab0d0a809ccc8b9a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=391&job=&cmd_args= 08:16:49 -> Pinging Codecov 08:16:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-391&commit=0c174eca06cb985897f035aab0d0a809ccc8b9a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-391%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=391&job=&cmd_args= 08:16:49 -> Uploading to 08:16:49 https://storage.googleapis.com/codecov/v4/raw/2024-05-24/4E5D53B4F1F92C436F7061BF334D961C/0c174eca06cb985897f035aab0d0a809ccc8b9a1/0e3aa2fa-47e0-4a71-83dd-949ea6f8cfc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T081649Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1258d477555b238c6a6ff4ea7ba16872f51475e2dd55c786e727635f595fdfa2 08:16:49 % Total % Received % Xferd Average Speed Time Time Time Current 08:16:49 Dload Upload Total Spent Left Speed 08:16:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14111 0 0 100 14111 0 56219 --:--:-- --:--:-- --:--:-- 56219 08:16:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0c174eca06cb985897f035aab0d0a809ccc8b9a1 [Pipeline] } 08:16:50 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:16:52 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-391/archives ] 08:16:52 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-391/archives 08:16:52 total 16 08:16:52 drwxr-xr-x 3 root root 4096 May 24 08:06 . 08:16:52 drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:06 .. 08:16:52 drwxr-xr-x 2 root root 4096 May 24 08:06 cost 08:16:52 -rw-r--r-- 1 root root 86 May 24 08:06 cost.csv 08:16:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-391/archives 08:16:52 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-391/archives 08:16:52 total 16 08:16:52 drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:06 . 08:16:52 drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:06 .. 08:16:52 drwxr-xr-x 2 jenkins jenkins 4096 May 24 08:06 cost 08:16:52 -rw-r--r-- 1 jenkins jenkins 86 May 24 08:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:16:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:16:53 ---> package-listing.sh 08:16:53 ++ facter osfamily 08:16:53 ++ tr '[:upper:]' '[:lower:]' 08:16:53 + OS_FAMILY=debian 08:16:53 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-391 08:16:53 + START_PACKAGES=/tmp/packages_start.txt 08:16:53 + END_PACKAGES=/tmp/packages_end.txt 08:16:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:16:53 + PACKAGES=/tmp/packages_start.txt 08:16:53 + '[' /w/workspace/gexfoundry_device-rest-go_PR-391 ']' 08:16:53 + PACKAGES=/tmp/packages_end.txt 08:16:53 + case "${OS_FAMILY}" in 08:16:53 + dpkg -l 08:16:53 + grep '^ii' 08:16:53 + '[' -f /tmp/packages_start.txt ']' 08:16:53 + '[' -f /tmp/packages_end.txt ']' 08:16:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:16:53 + '[' /w/workspace/gexfoundry_device-rest-go_PR-391 ']' 08:16:53 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-391/archives/ 08:16:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-391/archives/ [Pipeline] echo 08:16:53 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-391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:16:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:16:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:54 prd-ubuntu20.04-docker-8c-8g-683 does not seem to be running inside a container 08:16:54 $ 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-391/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-391 -v /w/workspace/gexfoundry_device-rest-go_PR-391:/w/workspace/gexfoundry_device-rest-go_PR-391:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-391@tmp:/w/workspace/gexfoundry_device-rest-go_PR-391@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:16:55 $ docker top 0fb575a0b0ccfa321036669e01105899170a245525f2bf96dec85c13e7a2496b -eo pid,comm [Pipeline] { [Pipeline] sh 08:16:55 + touch /tmp/pre-build-complete [Pipeline] sh 08:16:55 + mkdir -p /var/log/sysstat [Pipeline] sh 08:16:56 + ls /var/log/sa-host 08:16:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:16:56 provisioning config files... 08:16:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-391@tmp/config14553069702208175330tmp [Pipeline] { [Pipeline] echo 08:16:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:16:56 ---> create-netrc.sh [Pipeline] } 08:16:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:16:57 ---> python-tools-install.sh [Pipeline] echo 08:16:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:16:57 ---> sudo-logs.sh 08:16:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:16:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:16:58 ---> job-cost.sh 08:16:58 lf-activate-venv: SKIPPING 08:16:58 DEBUG: total: 0.2199999988079071 08:16:58 INFO: Retrieving Stack Cost... 08:16:58 INFO: Retrieving Pricing Info for: v3-standard-8 08:16:58 INFO: Archiving Costs [Pipeline] echo 08:16:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:16:59 ---> logs-deploy.sh 08:16:59 lf-activate-venv: SKIPPING 08:16:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-391/1 08:16:59 INFO: archiving workspace using pattern(s): 08:16:59 Archives upload complete. 08:16:59 INFO: archiving logs to Nexus