Pull request #367 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5+abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 (6a53420c62cbb5c1aaadc3ce8c3621ce43a8f933) 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-ssh16956663491770745695.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh1274744437308758949.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-367/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-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7008727030419834107.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-367/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8280159401369208081.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh8967228139833144040.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-367/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-367/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9803720300706199994.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-17519 in /w/workspace/gexfoundry_device-rest-go_PR-367 [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-367 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 into PR head commit 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 Merge succeeded, producing 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 Checking out Revision 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 (PR-367) > git config core.sparsecheckout # timeout=10 > git checkout -f 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 # 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 abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:54:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:54:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:54:55 ========================================================= 18:54:55 EdgeX Global Pipelines Version Info 18:54:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:54:56 ------------------- 18:54:56 stable info: 18:54:56 ------------------- 18:54:56 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:54:56 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:54:56 Message: update stable to v1.0.257 18:54:56 ------------------- 18:54:56 experimental info: 18:54:56 ------------------- 18:54:56 Commited By: **** collab-it+edgex@linuxfoundation.org 18:54:56 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:54:56 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:54:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-367 [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-367 [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-367 [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c19ced [Pipeline] echo 18:54:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:58 provisioning config files... 18:54:58 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/config5894049599305608033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:58 ---> docker-login.sh 18:54:58 nexus3.edgexfoundry.org:10001 18:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:59 Configure a credential helper to remove this warning. See 18:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:59 18:54:59 Login Succeeded 18:54:59 nexus3.edgexfoundry.org:10002 18:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:59 Configure a credential helper to remove this warning. See 18:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:59 18:54:59 Login Succeeded 18:54:59 nexus3.edgexfoundry.org:10003 18:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:59 Configure a credential helper to remove this warning. See 18:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:59 18:54:59 Login Succeeded 18:54:59 nexus3.edgexfoundry.org:10004 18:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:59 Configure a credential helper to remove this warning. See 18:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:59 18:54:59 Login Succeeded 18:54:59 docker.io 18:54:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:59 Configure a credential helper to remove this warning. See 18:54:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:59 18:54:59 Login Succeeded 18:54:59 ---> docker-login.sh ends [Pipeline] } 18:55:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:55:00 + git rev-list -1 --merges 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5~1..4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] echo 18:55:00 -----------> git rev-list -1 --merges 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5~1..4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [false] [Pipeline] sh 18:55:01 + git log --format=format:%s -1 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] echo 18:55:01 ========================================================= 18:55:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:55:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:55:01 + git log --format=format:%s -1 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] echo 18:55:01 [semverPrep] GIT_COMMIT: 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo 18:55:01 [semverPrep] This is not a build commit. [Pipeline] sh 18:55:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:55:02 + grep -v github /etc/ssh/ssh_known_hosts 18:55:02 + [ -e /tmp/ssh_known_hosts ] 18:55:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:55:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:55:02 + sudo tee -a /etc/ssh/ssh_known_hosts 18:55:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:02 18:55:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:02 0.1.4: Pulling from edgex-devops/py-git-semver 18:55:02 b85a868b505f: Pulling fs layer 18:55:02 e2be974225ed: Pulling fs layer 18:55:02 339a4e72a1f5: Pulling fs layer 18:55:02 988bab9f4d93: Pulling fs layer 18:55:02 1469e6f7b9e6: Pulling fs layer 18:55:02 eaf3925da568: Pulling fs layer 18:55:02 bab4dde63d76: Pulling fs layer 18:55:02 bde34c3a00c8: Pulling fs layer 18:55:02 eaf3925da568: Waiting 18:55:02 1469e6f7b9e6: Waiting 18:55:02 988bab9f4d93: Waiting 18:55:02 bab4dde63d76: Waiting 18:55:02 bde34c3a00c8: Waiting 18:55:02 b352a97aabf1: Pulling fs layer 18:55:02 4872d77fe225: Pulling fs layer 18:55:02 5851b861e8e6: Pulling fs layer 18:55:02 b352a97aabf1: Waiting 18:55:02 4872d77fe225: Waiting 18:55:02 5851b861e8e6: Waiting 18:55:02 e2be974225ed: Download complete 18:55:02 988bab9f4d93: Download complete 18:55:03 1469e6f7b9e6: Verifying Checksum 18:55:03 1469e6f7b9e6: Download complete 18:55:03 eaf3925da568: Verifying Checksum 18:55:03 339a4e72a1f5: Verifying Checksum 18:55:03 339a4e72a1f5: Download complete 18:55:03 bde34c3a00c8: Verifying Checksum 18:55:03 bde34c3a00c8: Download complete 18:55:03 b352a97aabf1: Verifying Checksum 18:55:03 b352a97aabf1: Download complete 18:55:03 4872d77fe225: Verifying Checksum 18:55:03 4872d77fe225: Download complete 18:55:03 5851b861e8e6: Download complete 18:55:03 b85a868b505f: Verifying Checksum 18:55:03 b85a868b505f: Download complete 18:55:03 bab4dde63d76: Verifying Checksum 18:55:03 bab4dde63d76: Download complete 18:55:04 b85a868b505f: Pull complete 18:55:04 e2be974225ed: Pull complete 18:55:05 339a4e72a1f5: Pull complete 18:55:05 988bab9f4d93: Pull complete 18:55:05 1469e6f7b9e6: Pull complete 18:55:05 eaf3925da568: Pull complete 18:55:06 bab4dde63d76: Pull complete 18:55:06 bde34c3a00c8: Pull complete 18:55:06 b352a97aabf1: Pull complete 18:55:06 4872d77fe225: Pull complete 18:55:07 5851b861e8e6: Pull complete 18:55:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:55:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:55:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:07 prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container 18:55:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:55:10 $ docker top 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 -eo pid,comm 18:55:10 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). 18:55:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:55:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:10 [ssh-agent] Looking for ssh-agent implementation... 18:55:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:10 $ docker exec 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 ssh-agent 18:55:10 SSH_AUTH_SOCK=/tmp/ssh-ADZSm2hjvDHx/agent.31 18:55:10 SSH_AGENT_PID=37 18:55:10 Running ssh-add (command line suppressed) 18:55:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-367@tmp/private_key_17027305853293908102.key (/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/private_key_17027305853293908102.key) 18:55:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:11 + git tag --points-at HEAD [Pipeline] } 18:55:11 $ docker exec --env ******** --env ******** 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 ssh-agent -k 18:55:11 unset SSH_AUTH_SOCK; 18:55:11 unset SSH_AGENT_PID; 18:55:11 echo Agent pid 37 killed; 18:55:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:55:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:55:11 [ssh-agent] Looking for ssh-agent implementation... 18:55:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:55:11 $ docker exec 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 ssh-agent 18:55:11 SSH_AUTH_SOCK=/tmp/ssh-aC24dbRD53no/agent.69 18:55:11 SSH_AGENT_PID=76 18:55:11 Running ssh-add (command line suppressed) 18:55:11 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-367@tmp/private_key_14963049202779785026.key (/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/private_key_14963049202779785026.key) 18:55:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:55:12 + git semver init 18:55:12 2023-11-14 18:55:12,466 [run_init] DEBUG init version:0.0.0 force:False 18:55:12 2023-11-14 18:55:12,466 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-367/.semver 18:55:12 2023-11-14 18:55:12,467 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-367/.semver 18:55:12 2023-11-14 18:55:12,467 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-367/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-367, universal_newlines=False, shell=None, istream=None) 18:55:13 2023-11-14 18:55:13,597 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-367/.git/info/exclude 18:55:13 2023-11-14 18:55:13,597 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-367/.semver/PR-367 with force:False 18:55:13 2023-11-14 18:55:13,598 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-367/.semver/PR-367 18:55:13 2023-11-14 18:55:13,601 [execute] INFO git cat-file --batch-check 18:55:13 2023-11-14 18:55:13,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-367/.semver, universal_newlines=False, shell=None, istream=) 18:55:13 2023-11-14 18:55:13,608 [execute] INFO git cat-file --batch 18:55:13 2023-11-14 18:55:13,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-367/.semver, universal_newlines=False, shell=None, istream=) 18:55:13 2023-11-14 18:55:13,611 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-367/.semver/PR-367 18:55:13 0.0.0 [Pipeline] } 18:55:13 $ docker exec --env ******** --env ******** 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 ssh-agent -k 18:55:14 unset SSH_AUTH_SOCK; 18:55:14 unset SSH_AGENT_PID; 18:55:14 echo Agent pid 76 killed; 18:55:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:55:14 + git semver [Pipeline] } 18:55:14 $ docker stop --time=1 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 18:55:16 $ docker rm -f --volumes 5275b43e01713661d283513ced90dea12c2cc1365d8f27b5880c8104c5cfb5e1 [Pipeline] // withDockerContainer [Pipeline] sh 18:55:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:55:17 Stashed 1 file(s) [Pipeline] echo 18:55:17 [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 18:55:18 provisioning config files... 18:55:18 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/config12853732964122743768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:18 ---> docker-login.sh 18:55:18 nexus3.edgexfoundry.org:10001 18:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:18 Configure a credential helper to remove this warning. See 18:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:18 18:55:18 Login Succeeded 18:55:18 nexus3.edgexfoundry.org:10002 18:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:18 Configure a credential helper to remove this warning. See 18:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:18 18:55:18 Login Succeeded 18:55:18 nexus3.edgexfoundry.org:10003 18:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:18 Configure a credential helper to remove this warning. See 18:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:18 18:55:18 Login Succeeded 18:55:18 nexus3.edgexfoundry.org:10004 18:55:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:18 Configure a credential helper to remove this warning. See 18:55:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:18 18:55:18 Login Succeeded 18:55:18 docker.io 18:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:19 Configure a credential helper to remove this warning. See 18:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:19 18:55:19 Login Succeeded 18:55:19 ---> docker-login.sh ends [Pipeline] } 18:55:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:55:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:55:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:55:19 ========================================================= 18:55:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:55:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:55:20 Sending build context to Docker daemon 10.94MB 18:55:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:55:20 Step 2/12 : FROM ${BASE} AS builder 18:55:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:55:20 7264a8db6415: Pulling fs layer 18:55:20 c4d48a809fc2: Pulling fs layer 18:55:20 4f1c88b9dad5: Pulling fs layer 18:55:20 ad3a456e5733: Pulling fs layer 18:55:20 69c7f0334f64: Pulling fs layer 18:55:20 1f1c1a5573a3: Pulling fs layer 18:55:20 ce7588e14bc9: Pulling fs layer 18:55:20 b5e4710f87ac: Pulling fs layer 18:55:20 ad3a456e5733: Waiting 18:55:20 69c7f0334f64: Waiting 18:55:20 1f1c1a5573a3: Waiting 18:55:20 ce7588e14bc9: Waiting 18:55:20 b5e4710f87ac: Waiting 18:55:20 c4d48a809fc2: Verifying Checksum 18:55:20 c4d48a809fc2: Download complete 18:55:20 ad3a456e5733: Verifying Checksum 18:55:20 ad3a456e5733: Download complete 18:55:20 69c7f0334f64: Verifying Checksum 18:55:20 69c7f0334f64: Download complete 18:55:20 7264a8db6415: Verifying Checksum 18:55:20 7264a8db6415: Download complete 18:55:20 1f1c1a5573a3: Verifying Checksum 18:55:20 1f1c1a5573a3: Download complete 18:55:20 7264a8db6415: Pull complete 18:55:20 c4d48a809fc2: Pull complete 18:55:20 b5e4710f87ac: Verifying Checksum 18:55:20 b5e4710f87ac: Download complete 18:55:20 4f1c88b9dad5: Verifying Checksum 18:55:20 4f1c88b9dad5: Download complete 18:55:21 ce7588e14bc9: Verifying Checksum 18:55:21 ce7588e14bc9: Download complete 18:55:23 4f1c88b9dad5: Pull complete 18:55:23 ad3a456e5733: Pull complete 18:55:23 69c7f0334f64: Pull complete 18:55:23 1f1c1a5573a3: Pull complete 18:55:26 ce7588e14bc9: Pull complete 18:55:27 b5e4710f87ac: Pull complete 18:55:27 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:55:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:55:27 ---> 88b5674ff536 18:55:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:55:32 Still waiting to schedule task 18:55:32 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:55:35 ---> Running in 89e86595086a 18:55:35 Removing intermediate container 89e86595086a 18:55:35 ---> d2c8028be618 18:55:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:55:35 ---> Running in 1293f7b605e7 18:55:35 Removing intermediate container 1293f7b605e7 18:55:35 ---> bd78284dc067 18:55:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:55:35 ---> Running in 4ee139b8241b 18:55:35 Removing intermediate container 4ee139b8241b 18:55:35 ---> 9fec9caec5cc 18:55:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:55:35 ---> Running in 9306e058602c 18:55:35 Removing intermediate container 9306e058602c 18:55:35 ---> bf9a7c4311e7 18:55:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:55:35 ---> Running in edc5094b41b3 18:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:55:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:55:35 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:55:35 (2/4) Installing libedit (20221030.3.1-r1) 18:55:35 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:55:35 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:55:35 Executing busybox-1.36.1-r5.trigger 18:55:35 OK: 268 MiB in 56 packages 18:55:36 Removing intermediate container edc5094b41b3 18:55:36 ---> b4dab7d1c1df 18:55:36 Step 8/12 : WORKDIR /device-rest-go 18:55:36 ---> Running in 88a1cf72a463 18:55:36 Removing intermediate container 88a1cf72a463 18:55:36 ---> 5b510ad14b30 18:55:36 Step 9/12 : COPY go.mod vendor* ./ 18:55:37 ---> 4aea007a9532 18:55:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:37 ---> Running in f569a9911c71 18:56:24 Removing intermediate container f569a9911c71 18:56:24 ---> e23924088cb6 18:56:24 Step 11/12 : COPY . . 18:56:24 ---> ee18a677492c 18:56:24 Step 12/12 : RUN $MAKE 18:56:24 ---> Running in 40f96cc3278e 18:56:24 noop 18:56:24 Removing intermediate container 40f96cc3278e 18:56:24 ---> ec1ee5302fd7 18:56:24 Successfully built ec1ee5302fd7 18:56:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:24 + docker inspect -f . ci-base-image-x86_64 18:56:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:24 prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container 18:56:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:56:26 $ docker top 9d39ee295917434aece72db09216036b47beecf92561e6ac76f2748e7a0cabd3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:27 + go version 18:56:27 go version go1.21.0 linux/amd64 [Pipeline] } 18:56:27 $ docker stop --time=1 9d39ee295917434aece72db09216036b47beecf92561e6ac76f2748e7a0cabd3 18:56:28 $ docker rm -f --volumes 9d39ee295917434aece72db09216036b47beecf92561e6ac76f2748e7a0cabd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:29 + docker inspect -f . ci-base-image-x86_64 18:56:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:29 prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container 18:56:29 $ 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-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:56:30 $ docker top b3b12063de0a3c97440f52c296ef54188e6f300a8875f8b952d0951d4307f44d -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-367 [Pipeline] fileExists [Pipeline] sh 18:56:30 + make test 18:56:30 go test ./... -coverprofile=coverage.out ./... 18:56:34 ? github.com/edgexfoundry/device-rest-go [no test files] 18:56:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:56:44 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 33.2% of statements 18:56:48 go vet ./... 18:56:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:56:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:56:51 ./bin/test-attribution-txt.sh [Pipeline] echo 18:56:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:56:51 $ docker stop --time=1 b3b12063de0a3c97440f52c296ef54188e6f300a8875f8b952d0951d4307f44d 18:56:55 $ docker rm -f --volumes b3b12063de0a3c97440f52c296ef54188e6f300a8875f8b952d0951d4307f44d [Pipeline] // withDockerContainer [Pipeline] sh 18:56:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:56:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:56:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:56:57 + ls -al . 18:56:57 total 180 18:56:57 drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 18:56 . 18:56:57 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:54 .. 18:56:57 -rw-rw-r-- 1 jenkins jenkins 151 Nov 14 18:54 .dockerignore 18:56:57 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:56 .git 18:56:57 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:54 .github 18:56:57 -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 18:54 .gitignore 18:56:57 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:54 .golangci.yml 18:56:57 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:55 .semver 18:56:57 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 14 18:54 Attribution.txt 18:56:57 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 14 18:54 CHANGELOG.md 18:56:57 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 14 18:54 Dockerfile 18:56:57 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:54 GOVERNANCE.md 18:56:57 -rw-rw-r-- 1 jenkins jenkins 680 Nov 14 18:54 Jenkinsfile 18:56:57 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:54 LICENSE 18:56:57 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 14 18:54 Makefile 18:56:57 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 18:54 OWNERS.md 18:56:57 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 14 18:54 README.md 18:56:57 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:55 VERSION 18:56:57 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:54 bin 18:56:57 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:54 cmd 18:56:57 -rw-r--r-- 1 jenkins jenkins 14499 Nov 14 18:56 coverage.out 18:56:57 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:54 driver 18:56:57 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 14 18:54 go.mod 18:56:57 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 18:54 go.sum 18:56:57 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:54 openapi 18:56:57 -rw-rw-r-- 1 jenkins jenkins 713 Nov 14 18:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:57 + 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=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 --label arch=amd64 --label version=0.0.0 . 18:56:57 Sending build context to Docker daemon 10.96MB 18:56:57 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 18:56:57 Step 2/26 : FROM ${BASE} AS builder 18:56:57 ---> ec1ee5302fd7 18:56:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 18:56:57 ---> Running in f94c5f175373 18:56:57 Removing intermediate container f94c5f175373 18:56:57 ---> 617eaa7d51d8 18:56:57 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:56:57 ---> Running in 853d4d113bf6 18:56:57 Removing intermediate container 853d4d113bf6 18:56:57 ---> a02273b1a72f 18:56:57 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:56:58 ---> Running in 88fb147b88a9 18:56:58 Removing intermediate container 88fb147b88a9 18:56:58 ---> 56d25647c78b 18:56:58 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 18:56:58 ---> Running in 1fff039d7516 18:56:58 Removing intermediate container 1fff039d7516 18:56:58 ---> a7ccfe8629f9 18:56:58 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:56:58 ---> Running in a7a0925952ac 18:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:56:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:56:58 OK: 268 MiB in 56 packages 18:56:59 Removing intermediate container a7a0925952ac 18:56:59 ---> 5db297e098b5 18:56:59 Step 8/26 : WORKDIR /device-rest-go 18:56:59 ---> Running in ffc7a2b8587b 18:56:59 Removing intermediate container ffc7a2b8587b 18:56:59 ---> 4938d92d2936 18:56:59 Step 9/26 : COPY go.mod vendor* ./ 18:57:00 ---> 2e58339401a1 18:57:00 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:57:00 ---> Running in dc235c06409e 18:57:01 Removing intermediate container dc235c06409e 18:57:01 ---> 06d72181ae44 18:57:01 Step 11/26 : COPY . . 18:57:02 ---> cbc9dbdfedc9 18:57:02 Step 12/26 : RUN $MAKE 18:57:02 ---> Running in 053d3607e5b9 18:57:02 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.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:57:24 Removing intermediate container 053d3607e5b9 18:57:24 ---> 77374ecca5d6 18:57:24 Step 13/26 : FROM alpine:3.18 18:57:24 3.18: Pulling from library/alpine 18:57:24 96526aa774ef: Pulling fs layer 18:57:24 96526aa774ef: Verifying Checksum 18:57:24 96526aa774ef: Download complete 18:57:24 96526aa774ef: Pull complete 18:57:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:57:24 Status: Downloaded newer image for alpine:3.18 18:57:24 ---> 8ca4688f4f35 18:57:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:57:24 ---> Running in e3e7e7ec9be5 18:57:24 Removing intermediate container e3e7e7ec9be5 18:57:24 ---> d4b1e8e14bcd 18:57:24 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 18:57:24 ---> Running in f59ecc0c78cd 18:57:25 Removing intermediate container f59ecc0c78cd 18:57:25 ---> d33c2339aaa8 18:57:25 Step 16/26 : RUN apk add --update --no-cache dumb-init 18:57:25 ---> Running in 1c5cc3167d2b 18:57:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:57:26 (1/1) Installing dumb-init (1.2.5-r2) 18:57:26 Executing busybox-1.36.1-r2.trigger 18:57:26 OK: 7 MiB in 16 packages 18:57:27 Removing intermediate container 1c5cc3167d2b 18:57:27 ---> 7c988519fa60 18:57:27 Step 17/26 : RUN apk --no-cache upgrade 18:57:27 ---> Running in 20f90e6446c3 18:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:57:27 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 18:57:27 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 18:57:27 Executing busybox-1.36.1-r5.post-upgrade 18:57:27 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 18:57:27 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 18:57:27 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 18:57:27 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 18:57:27 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 18:57:27 Executing busybox-1.36.1-r5.trigger 18:57:27 OK: 7 MiB in 16 packages 18:57:29 Removing intermediate container 20f90e6446c3 18:57:29 ---> a1ebc7e01236 18:57:29 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 18:57:30 ---> 48b3393243d1 18:57:30 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 18:57:30 ---> a63d0dca0664 18:57:30 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 18:57:30 ---> a1b65276e25d 18:57:30 Step 21/26 : EXPOSE 59986 18:57:30 ---> Running in c0933733515e 18:57:31 Removing intermediate container c0933733515e 18:57:31 ---> e409da59e6eb 18:57:31 Step 22/26 : ENTRYPOINT ["/device-rest"] 18:57:31 ---> Running in 76279fa9caa3 18:57:31 Removing intermediate container 76279fa9caa3 18:57:31 ---> 6ed14095d776 18:57:31 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:57:31 ---> Running in f84fafce48bd 18:57:31 Removing intermediate container f84fafce48bd 18:57:31 ---> 40641bfb50a3 18:57:31 Step 24/26 : LABEL arch=amd64 18:57:31 ---> Running in 32a7e2959f86 18:57:31 Removing intermediate container 32a7e2959f86 18:57:31 ---> 0821729afddb 18:57:31 Step 25/26 : LABEL git_sha=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 18:57:31 ---> Running in 074e5487ab73 18:57:31 Removing intermediate container 074e5487ab73 18:57:31 ---> dcc058b3aa4d 18:57:31 Step 26/26 : LABEL version=0.0.0 18:57:31 ---> Running in 5a27d75952ce 18:57:31 Removing intermediate container 5a27d75952ce 18:57:31 ---> 04a9ecc3fe97 18:57:31 [Warning] One or more build-args [ARCH] were not consumed 18:57:31 Successfully built 04a9ecc3fe97 18:57:31 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:32 18:57:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:32 latest: Pulling from edgex-lftools-log-publisher 18:57:32 5eb5b503b376: Pulling fs layer 18:57:32 5c69ac0246d0: Pulling fs layer 18:57:32 ec43610c2a17: Pulling fs layer 18:57:32 3a2ae6a8a46f: Pulling fs layer 18:57:32 33b1e0a273af: Pulling fs layer 18:57:32 5d3b04190fa2: Pulling fs layer 18:57:32 2f39f015ded8: Pulling fs layer 18:57:32 3a2ae6a8a46f: Waiting 18:57:32 33b1e0a273af: Waiting 18:57:32 5d3b04190fa2: Waiting 18:57:32 2f39f015ded8: Waiting 18:57:32 5c69ac0246d0: Verifying Checksum 18:57:32 5c69ac0246d0: Download complete 18:57:32 3a2ae6a8a46f: Verifying Checksum 18:57:32 3a2ae6a8a46f: Download complete 18:57:32 33b1e0a273af: Verifying Checksum 18:57:32 33b1e0a273af: Download complete 18:57:32 ec43610c2a17: Verifying Checksum 18:57:32 ec43610c2a17: Download complete 18:57:32 5d3b04190fa2: Verifying Checksum 18:57:32 5d3b04190fa2: Download complete 18:57:32 5eb5b503b376: Verifying Checksum 18:57:32 5eb5b503b376: Download complete 18:57:33 2f39f015ded8: Download complete 18:57:34 5eb5b503b376: Pull complete 18:57:34 5c69ac0246d0: Pull complete 18:57:34 ec43610c2a17: Pull complete 18:57:34 3a2ae6a8a46f: Pull complete 18:57:34 33b1e0a273af: Pull complete 18:57:34 5d3b04190fa2: Pull complete 18:57:39 2f39f015ded8: Pull complete 18:57:39 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:57:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:39 prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container 18:57:39 $ 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-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:57:49 $ docker top a31bc937b7c53b495b3b0a76adc62a01e64ca13783c20a8da62207917f376f48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:57:49 ---> job-cost.sh 18:57:49 lf-activate-venv: SKIPPING 18:57:49 INFO: No Stack... 18:57:50 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:50 INFO: Archiving Costs [Pipeline] sh 18:57:50 + cat /w/workspace/gexfoundry_device-rest-go_PR-367/archives/cost.csv 18:57:50 + cut -d, -f6 [Pipeline] lock 18:57:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] 18:57:50 Resource [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] did not exist. Created. 18:57:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:57:51 + echo total: 0.2199999988079071 [Pipeline] stash 18:57:51 Stashed 1 file(s) [Pipeline] } 18:57:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:57:51 $ docker stop --time=1 a31bc937b7c53b495b3b0a76adc62a01e64ca13783c20a8da62207917f376f48 18:57:52 $ docker rm -f --volumes a31bc937b7c53b495b3b0a76adc62a01e64ca13783c20a8da62207917f376f48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:59:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17521 in /w/workspace/gexfoundry_device-rest-go_PR-367 [Pipeline] { [Pipeline] ws 18:59:31 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:59:31 The recommended git tool is: git 18:59:37 using credential edgex-jenkins-ssh 18:59:37 Cloning the remote Git repository 18:59:37 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:59:38 > git init /w/workspace/device-rest-go/1 # timeout=10 18:59:38 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:59:38 > git --version # timeout=10 18:59:38 > git --version # 'git version 2.25.1' 18:59:38 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:59:40 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:59:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:59:42 Merging remotes/origin/main commit abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 into PR head commit 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 18:59:41 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:59:41 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:59:41 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/367/head:refs/remotes/origin/PR-367 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:59:42 > git config core.sparsecheckout # timeout=10 18:59:42 > git checkout -f 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 # timeout=10 18:59:42 Merge succeeded, producing 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 18:59:42 Checking out Revision 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 (PR-367) 18:59:42 > git remote # timeout=10 18:59:42 > git config --get remote.origin.url # timeout=10 18:59:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:59:42 > git merge abaf377c2305cb6c403a8e05fa4318ea0a1dbe85 # timeout=10 18:59:42 > git rev-parse HEAD^{commit} # timeout=10 18:59:42 > git config core.sparsecheckout # timeout=10 18:59:42 > git checkout -f 4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 # timeout=10 18:59:46 Commit message: "fix: Address CVE in Alpine base image" 18:59:46 > git --version # timeout=10 18:59:46 > git --version # 'git version 2.25.1' 18:59:46 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:59:47 % Total % Received % Xferd Average Speed Time Time Time Current 18:59:47 Dload Upload Total Spent Left Speed 18:59:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 92569 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh 18:59:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:59:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:59:48 + sudo tee /etc/docker/daemon.new 18:59:48 { 18:59:48 "registry-mirrors": [ 18:59:48 "https://nexus3.edgexfoundry.org:10001" 18:59:48 ], 18:59:48 "bip": "10.250.0.254/24", 18:59:48 "hosts": [ 18:59:48 "tcp://0.0.0.0:5555", 18:59:48 "unix:///var/run/docker.sock" 18:59:48 ], 18:59:48 "mtu": 1458, 18:59:48 "selinux-enabled": true, 18:59:48 "seccomp-profile": "/etc/docker/seccomp.json" 18:59:48 } [Pipeline] sh 18:59:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:59:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:00:07 provisioning config files... 19:00:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10136475207372198930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:08 ---> docker-login.sh 19:00:08 nexus3.edgexfoundry.org:10001 19:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:08 Configure a credential helper to remove this warning. See 19:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:08 19:00:08 Login Succeeded 19:00:08 nexus3.edgexfoundry.org:10002 19:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:09 Configure a credential helper to remove this warning. See 19:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:09 19:00:09 Login Succeeded 19:00:09 nexus3.edgexfoundry.org:10003 19:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:09 Configure a credential helper to remove this warning. See 19:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:09 19:00:09 Login Succeeded 19:00:09 nexus3.edgexfoundry.org:10004 19:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:09 Configure a credential helper to remove this warning. See 19:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:09 19:00:09 Login Succeeded 19:00:09 docker.io 19:00:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:11 Configure a credential helper to remove this warning. See 19:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:11 19:00:11 Login Succeeded 19:00:11 ---> docker-login.sh ends [Pipeline] } 19:00:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:00:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:00:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:00:11 ========================================================= 19:00:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:00:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:00:15 Sending build context to Docker daemon 127.5kB 19:00:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:00:15 Step 2/12 : FROM ${BASE} AS builder 19:00:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:00:15 9fda8d8052c6: Pulling fs layer 19:00:15 5d54e960e981: Pulling fs layer 19:00:15 c4a7e357bf2a: Pulling fs layer 19:00:15 f0e02332f6b5: Pulling fs layer 19:00:15 872ee5b61b7b: Pulling fs layer 19:00:15 0c6a40ed1a82: Pulling fs layer 19:00:15 94ae7d8d031c: Pulling fs layer 19:00:15 0c6a40ed1a82: Waiting 19:00:15 94ae7d8d031c: Waiting 19:00:15 f0e02332f6b5: Waiting 19:00:15 872ee5b61b7b: Waiting 19:00:15 5d54e960e981: Verifying Checksum 19:00:15 5d54e960e981: Download complete 19:00:15 f0e02332f6b5: Verifying Checksum 19:00:15 f0e02332f6b5: Download complete 19:00:15 872ee5b61b7b: Download complete 19:00:15 9fda8d8052c6: Verifying Checksum 19:00:15 9fda8d8052c6: Download complete 19:00:16 94ae7d8d031c: Verifying Checksum 19:00:16 94ae7d8d031c: Download complete 19:00:16 9fda8d8052c6: Pull complete 19:00:17 5d54e960e981: Pull complete 19:00:17 c4a7e357bf2a: Verifying Checksum 19:00:17 c4a7e357bf2a: Download complete 19:00:19 0c6a40ed1a82: Verifying Checksum 19:00:19 0c6a40ed1a82: Download complete 19:00:31 c4a7e357bf2a: Pull complete 19:00:31 f0e02332f6b5: Pull complete 19:00:31 872ee5b61b7b: Pull complete 19:00:39 0c6a40ed1a82: Pull complete 19:00:43 94ae7d8d031c: Pull complete 19:00:43 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 19:00:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:00:43 ---> 86de565de09d 19:00:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:00:45 ---> Running in 00a8bcc55a0c 19:00:45 Removing intermediate container 00a8bcc55a0c 19:00:45 ---> 459918b4e6ec 19:00:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:00:45 ---> Running in 04949cba0bd8 19:00:45 Removing intermediate container 04949cba0bd8 19:00:45 ---> 359af4bf6909 19:00:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:00:46 ---> Running in 1d0685138b3e 19:00:46 Removing intermediate container 1d0685138b3e 19:00:46 ---> 9fbeb009d78e 19:00:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:00:46 ---> Running in 919c22d78bfa 19:00:46 Removing intermediate container 919c22d78bfa 19:00:46 ---> 2de6d2f11982 19:00:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:00:46 ---> Running in 4c5b6b5087a3 19:00:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:00:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:00:50 (1/4) Installing openssh-keygen (9.3_p2-r0) 19:00:50 (2/4) Installing libedit (20221030.3.1-r1) 19:00:50 (3/4) Installing openssh-client-common (9.3_p2-r0) 19:00:50 (4/4) Installing openssh-client-default (9.3_p2-r0) 19:00:50 Executing busybox-1.36.1-r5.trigger 19:00:50 OK: 271 MiB in 56 packages 19:00:51 Removing intermediate container 4c5b6b5087a3 19:00:51 ---> 55568d1f3cb6 19:00:51 Step 8/12 : WORKDIR /device-rest-go 19:00:51 ---> Running in a4078c9bef11 19:00:51 Removing intermediate container a4078c9bef11 19:00:51 ---> d7c745a6980a 19:00:51 Step 9/12 : COPY go.mod vendor* ./ 19:00:52 ---> 4daf8bfc912a 19:00:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:00:52 ---> Running in 7a58c74c4185 19:02:13 Removing intermediate container 7a58c74c4185 19:02:13 ---> 39e393b386a9 19:02:13 Step 11/12 : COPY . . 19:02:13 ---> 5fa7e766ebe2 19:02:13 Step 12/12 : RUN $MAKE 19:02:13 ---> Running in 6e2c87edbdcd 19:02:13 noop 19:02:13 Removing intermediate container 6e2c87edbdcd 19:02:13 ---> a5bcea8d4244 19:02:13 Successfully built a5bcea8d4244 19:02:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:14 + docker inspect -f . ci-base-image-arm64 19:02:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:14 prd-ubuntu20.04-docker-arm64-4c-16g-17521 does not seem to be running inside a container 19:02:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:02:16 $ docker top f417235494a59186da5af4098e34d04993a9f16504513124422909489ab2b78f -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:16 + go version 19:02:16 go version go1.21.0 linux/arm64 [Pipeline] } 19:02:16 $ docker stop --time=1 f417235494a59186da5af4098e34d04993a9f16504513124422909489ab2b78f 19:02:18 $ docker rm -f --volumes f417235494a59186da5af4098e34d04993a9f16504513124422909489ab2b78f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:19 + docker inspect -f . ci-base-image-arm64 19:02:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:19 prd-ubuntu20.04-docker-arm64-4c-16g-17521 does not seem to be running inside a container 19:02:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:02:21 $ docker top 91ccba61d0238a752b845ec2ef1de5193fb4831c6609e59c72c6651105bd079a -eo pid,comm [Pipeline] { [Pipeline] sh 19:02:21 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 19:02:22 + make test 19:02:22 go test ./... -coverprofile=coverage.out ./... 19:02:26 ? github.com/edgexfoundry/device-rest-go [no test files] 19:04:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:04:33 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 33.2% of statements 19:04:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:04:33 go vet ./... 19:04:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:04:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:04:51 ./bin/test-attribution-txt.sh [Pipeline] echo 19:04:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:04:51 $ docker stop --time=1 91ccba61d0238a752b845ec2ef1de5193fb4831c6609e59c72c6651105bd079a 19:04:54 $ docker rm -f --volumes 91ccba61d0238a752b845ec2ef1de5193fb4831c6609e59c72c6651105bd079a [Pipeline] // withDockerContainer [Pipeline] sh 19:04:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:04:55 Warning: overwriting stash ‘coverage-report’ 19:04:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:04:57 + ls -al . 19:04:57 total 176 19:04:57 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 19:02 . 19:04:57 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:59 .. 19:04:57 -rw-rw-r-- 1 jenkins jenkins 151 Nov 14 18:59 .dockerignore 19:04:57 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:59 .git 19:04:57 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:59 .github 19:04:57 -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 18:59 .gitignore 19:04:57 -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 18:59 .golangci.yml 19:04:57 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 14 18:59 Attribution.txt 19:04:57 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 14 18:59 CHANGELOG.md 19:04:57 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 14 18:59 Dockerfile 19:04:57 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:59 GOVERNANCE.md 19:04:57 -rw-rw-r-- 1 jenkins jenkins 680 Nov 14 18:59 Jenkinsfile 19:04:57 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 18:59 LICENSE 19:04:57 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 14 18:59 Makefile 19:04:57 -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 18:59 OWNERS.md 19:04:57 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 14 18:59 README.md 19:04:57 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:55 VERSION 19:04:57 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:59 bin 19:04:57 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:59 cmd 19:04:57 -rw-r--r-- 1 jenkins jenkins 14499 Nov 14 19:04 coverage.out 19:04:57 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:59 driver 19:04:57 -rw-rw-r-- 1 jenkins jenkins 3844 Nov 14 18:59 go.mod 19:04:57 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 18:59 go.sum 19:04:57 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:59 openapi 19:04:57 -rw-rw-r-- 1 jenkins jenkins 713 Nov 14 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:57 + 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=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 --label arch=arm64 --label version=0.0.0 . 19:04:58 Sending build context to Docker daemon 142.8kB 19:04:58 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:04:58 Step 2/26 : FROM ${BASE} AS builder 19:04:58 ---> a5bcea8d4244 19:04:58 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:04:58 ---> Running in 0e43061711d9 19:04:59 Removing intermediate container 0e43061711d9 19:04:59 ---> 06dce02f5b8e 19:04:59 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:59 ---> Running in d6f841e93985 19:04:59 Removing intermediate container d6f841e93985 19:04:59 ---> 5c6a02065b3a 19:04:59 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:05:00 ---> Running in f387b1921ab6 19:05:00 Removing intermediate container f387b1921ab6 19:05:00 ---> 66b59c50343e 19:05:00 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:05:01 ---> Running in b5d394b0bc42 19:05:01 Removing intermediate container b5d394b0bc42 19:05:01 ---> b5f9c09ad48c 19:05:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:05:01 ---> Running in 40acd8b0eb79 19:05:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:05:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:05:07 OK: 271 MiB in 56 packages 19:05:08 Removing intermediate container 40acd8b0eb79 19:05:08 ---> 866001d0887f 19:05:08 Step 8/26 : WORKDIR /device-rest-go 19:05:08 ---> Running in f166de09a6a3 19:05:08 Removing intermediate container f166de09a6a3 19:05:08 ---> c7de7c5dec3d 19:05:08 Step 9/26 : COPY go.mod vendor* ./ 19:05:09 ---> 92984f909324 19:05:09 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:05:09 ---> Running in 6dfea429a23c 19:05:12 Removing intermediate container 6dfea429a23c 19:05:12 ---> 6b22b879a54e 19:05:12 Step 11/26 : COPY . . 19:05:12 ---> 665660814ce8 19:05:12 Step 12/26 : RUN $MAKE 19:05:12 ---> Running in d4269ec377d6 19:05:13 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.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 19:07:20 Removing intermediate container d4269ec377d6 19:07:20 ---> b61b099dfb81 19:07:20 Step 13/26 : FROM alpine:3.18 19:07:20 3.18: Pulling from library/alpine 19:07:20 579b34f0a95b: Pulling fs layer 19:07:20 579b34f0a95b: Verifying Checksum 19:07:20 579b34f0a95b: Download complete 19:07:20 579b34f0a95b: Pull complete 19:07:20 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:07:20 Status: Downloaded newer image for alpine:3.18 19:07:20 ---> 3cc203321400 19:07:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:07:20 ---> Running in bc7894aa0ca2 19:07:20 Removing intermediate container bc7894aa0ca2 19:07:20 ---> 66e11bd55789 19:07:20 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 19:07:20 ---> Running in e5d56bde0c70 19:07:20 Removing intermediate container e5d56bde0c70 19:07:20 ---> b91fd0b70965 19:07:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:07:20 ---> Running in 01e77ce32152 19:07:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:07:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:07:21 (1/1) Installing dumb-init (1.2.5-r2) 19:07:21 Executing busybox-1.36.1-r2.trigger 19:07:21 OK: 8 MiB in 16 packages 19:07:22 Removing intermediate container 01e77ce32152 19:07:22 ---> c70f8d618a43 19:07:22 Step 17/26 : RUN apk --no-cache upgrade 19:07:22 ---> Running in 7d5876e54611 19:07:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:07:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:07:25 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 19:07:25 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 19:07:25 Executing busybox-1.36.1-r5.post-upgrade 19:07:25 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 19:07:25 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 19:07:25 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 19:07:25 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 19:07:25 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 19:07:25 Executing busybox-1.36.1-r5.trigger 19:07:25 OK: 8 MiB in 16 packages 19:07:26 Removing intermediate container 7d5876e54611 19:07:26 ---> 5a65a76b5f93 19:07:26 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 19:07:28 ---> 7880fd55d031 19:07:28 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 19:07:28 ---> 02db885259f7 19:07:28 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 19:07:29 ---> 65b82cd91f42 19:07:29 Step 21/26 : EXPOSE 59986 19:07:29 ---> Running in ea4d6a1e938f 19:07:29 Removing intermediate container ea4d6a1e938f 19:07:29 ---> 1e95b73e0773 19:07:29 Step 22/26 : ENTRYPOINT ["/device-rest"] 19:07:29 ---> Running in f9ed4064a9b7 19:07:30 Removing intermediate container f9ed4064a9b7 19:07:30 ---> 782c5b2f76ca 19:07:30 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:07:30 ---> Running in 3be4662275bc 19:07:30 Removing intermediate container 3be4662275bc 19:07:30 ---> c01277abfe64 19:07:30 Step 24/26 : LABEL arch=arm64 19:07:30 ---> Running in 512b97c6ec18 19:07:30 Removing intermediate container 512b97c6ec18 19:07:30 ---> b825cd41a10a 19:07:30 Step 25/26 : LABEL git_sha=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 19:07:30 ---> Running in e34ed07e6e2c 19:07:31 Removing intermediate container e34ed07e6e2c 19:07:31 ---> ccc9b4275b74 19:07:31 Step 26/26 : LABEL version=0.0.0 19:07:31 ---> Running in 34021f8f15ab 19:07:31 Removing intermediate container 34021f8f15ab 19:07:31 ---> aa13ce5de9c6 19:07:31 [Warning] One or more build-args [ARCH] were not consumed 19:07:31 Successfully built aa13ce5de9c6 19:07:31 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:32 19:07:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:07:33 arm64: Pulling from edgex-lftools-log-publisher 19:07:33 8998bd30e6a1: Pulling fs layer 19:07:33 04944245beec: Pulling fs layer 19:07:33 699f458cf7ca: Pulling fs layer 19:07:33 765212b225bb: Pulling fs layer 19:07:33 f23df028b6ca: Pulling fs layer 19:07:33 d65c8cfc05b1: Pulling fs layer 19:07:33 2437ff75d9bd: Pulling fs layer 19:07:33 765212b225bb: Waiting 19:07:33 f23df028b6ca: Waiting 19:07:33 d65c8cfc05b1: Waiting 19:07:33 2437ff75d9bd: Waiting 19:07:33 04944245beec: Verifying Checksum 19:07:33 04944245beec: Download complete 19:07:33 765212b225bb: Verifying Checksum 19:07:33 765212b225bb: Download complete 19:07:33 f23df028b6ca: Download complete 19:07:33 d65c8cfc05b1: Verifying Checksum 19:07:33 d65c8cfc05b1: Download complete 19:07:33 699f458cf7ca: Verifying Checksum 19:07:33 699f458cf7ca: Download complete 19:07:34 8998bd30e6a1: Verifying Checksum 19:07:34 8998bd30e6a1: Download complete 19:07:36 2437ff75d9bd: Verifying Checksum 19:07:36 2437ff75d9bd: Download complete 19:07:39 8998bd30e6a1: Pull complete 19:07:39 04944245beec: Pull complete 19:07:41 699f458cf7ca: Pull complete 19:07:41 765212b225bb: Pull complete 19:07:42 f23df028b6ca: Pull complete 19:07:42 d65c8cfc05b1: Pull complete 19:08:00 2437ff75d9bd: Pull complete 19:08:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:08:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:08:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:01 prd-ubuntu20.04-docker-arm64-4c-16g-17521 does not seem to be running inside a container 19:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:08:04 $ docker top d393b0907b2d5c8f3218bb66fc75864e8baaaff7722a6e9f5b754e3b05fbe18e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:05 ---> job-cost.sh 19:08:05 lf-activate-venv: SKIPPING 19:08:05 INFO: No Stack... 19:08:05 INFO: Retrieving Pricing Info for: v3-standard-4 19:08:06 INFO: Archiving Costs [Pipeline] sh 19:08:06 + cat /w/workspace/device-rest-go/1/archives/cost.csv 19:08:06 + cut -d, -f6 [Pipeline] lock 19:08:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] 19:08:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] did not exist. Created. 19:08:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:08:07 /w/workspace/device-rest-go/1@tmp/durable-72daa896/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:08:08 + echo total: 0.10999999940395355 [Pipeline] stash 19:08:08 Warning: overwriting stash ‘stack-cost’ 19:08:08 Stashed 1 file(s) [Pipeline] } 19:08:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-367-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:08:08 $ docker stop --time=1 d393b0907b2d5c8f3218bb66fc75864e8baaaff7722a6e9f5b754e3b05fbe18e 19:08:10 $ docker rm -f --volumes d393b0907b2d5c8f3218bb66fc75864e8baaaff7722a6e9f5b754e3b05fbe18e [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 19:08:11 provisioning config files... 19:08:11 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/config4464249968719620878tmp [Pipeline] { [Pipeline] sh 19:08:11 + set +x 19:08:11 + curl -s https://codecov.io/bash 19:08:11 + bash -s -- 19:08:11 19:08:11 _____ _ 19:08:11 / ____| | | 19:08:11 | | ___ __| | ___ ___ _____ __ 19:08:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:08:11 | |___| (_) | (_| | __/ (_| (_) \ V / 19:08:11 \_____\___/ \__,_|\___|\___\___/ \_/ 19:08:11 Bash-1.0.6 19:08:11 19:08:11 19:08:11 ==> git version 2.25.1 found 19:08:11 ==> 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 19:08:11 Release-Date: 2020-01-08 19:08:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:08:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:08:11 ==> Jenkins CI detected. 19:08:11 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-367 19:08:11 project root: . 19:08:11 --> token set from env 19:08:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:08:11 ==> Running gcov in . (disable via -X gcov) 19:08:11 ==> Python coveragepy not found 19:08:11 ==> Searching for coverage reports in: 19:08:11 + . 19:08:11 -> Found 1 reports 19:08:11 ==> Detecting git/mercurial file structure 19:08:11 ==> Reading reports 19:08:11 + ./coverage.out bytes=14499 19:08:11 ==> Appending adjustments 19:08:11 https://docs.codecov.io/docs/fixing-reports 19:08:11 + Found adjustments 19:08:11 ==> Gzipping contents 19:08:11 4.0K /tmp/codecov.PwpQz5.gz 19:08:11 ==> Uploading reports 19:08:11 url: https://codecov.io 19:08:11 query: branch=PR-367&commit=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-367%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=367&job=&cmd_args= 19:08:11 -> Pinging Codecov 19:08:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-367&commit=4c19ced1cc2347cd6df254a74a2a1a52ea4005c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-367%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=367&job=&cmd_args= 19:08:11 -> Uploading to 19:08:11 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/4E5D53B4F1F92C436F7061BF334D961C/4c19ced1cc2347cd6df254a74a2a1a52ea4005c5/9723bcec-fda9-469c-8bf5-eb9d532a49af.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T190811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e9c5756c752f6009bc47bd5ca3b6be9bfc5d87a6a367bf99ac17eca562bc36e8 19:08:11 % Total % Received % Xferd Average Speed Time Time Time Current 19:08:11 Dload Upload Total Spent Left Speed 19:08:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11433 --:--:-- --:--:-- --:--:-- 11377 100 2321 0 0 100 2321 0 10745 --:--:-- --:--:-- --:--:-- 10695 19:08:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4c19ced1cc2347cd6df254a74a2a1a52ea4005c5 [Pipeline] } 19:08:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:08:13 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-367/archives ] 19:08:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-367/archives 19:08:13 total 16 19:08:13 drwxr-xr-x 3 root root 4096 Nov 14 18:57 . 19:08:13 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:57 .. 19:08:13 drwxr-xr-x 2 root root 4096 Nov 14 18:57 cost 19:08:13 -rw-r--r-- 1 root root 86 Nov 14 18:57 cost.csv 19:08:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-367/archives 19:08:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-367/archives 19:08:13 total 16 19:08:13 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:57 . 19:08:13 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:57 .. 19:08:13 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:57 cost 19:08:13 -rw-r--r-- 1 jenkins jenkins 86 Nov 14 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:08:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:08:15 ---> package-listing.sh 19:08:15 ++ facter osfamily 19:08:15 ++ tr '[:upper:]' '[:lower:]' 19:08:15 + OS_FAMILY=debian 19:08:15 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-367 19:08:15 + START_PACKAGES=/tmp/packages_start.txt 19:08:15 + END_PACKAGES=/tmp/packages_end.txt 19:08:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:08:15 + PACKAGES=/tmp/packages_start.txt 19:08:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-367 ']' 19:08:15 + PACKAGES=/tmp/packages_end.txt 19:08:15 + case "${OS_FAMILY}" in 19:08:15 + dpkg -l 19:08:15 + grep '^ii' 19:08:15 + '[' -f /tmp/packages_start.txt ']' 19:08:15 + '[' -f /tmp/packages_end.txt ']' 19:08:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:08:15 + '[' /w/workspace/gexfoundry_device-rest-go_PR-367 ']' 19:08:15 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-367/archives/ 19:08:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-367/archives/ [Pipeline] echo 19:08:15 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-367/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:08:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:08:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:16 prd-ubuntu20.04-docker-8c-8g-17519 does not seem to be running inside a container 19:08:16 $ 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-367/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-367 -v /w/workspace/gexfoundry_device-rest-go_PR-367:/w/workspace/gexfoundry_device-rest-go_PR-367:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-367@tmp:/w/workspace/gexfoundry_device-rest-go_PR-367@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 19:08:17 $ docker top 4e5f123ec938240704f08502d0536c80385bb7e8f7547acb6949912c7256784b -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:17 + touch /tmp/pre-build-complete [Pipeline] sh 19:08:18 + mkdir -p /var/log/sysstat [Pipeline] sh 19:08:18 + ls /var/log/sa-host 19:08:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:08:18 provisioning config files... 19:08:18 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-367@tmp/config4973150416817901117tmp [Pipeline] { [Pipeline] echo 19:08:18 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:08:18 ---> create-netrc.sh [Pipeline] } 19:08:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:08:19 ---> python-tools-install.sh [Pipeline] echo 19:08:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:08:19 ---> sudo-logs.sh 19:08:19 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:08:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:08:20 ---> job-cost.sh 19:08:20 lf-activate-venv: SKIPPING 19:08:20 DEBUG: total: 0.2199999988079071 19:08:20 INFO: Retrieving Stack Cost... 19:08:20 INFO: Retrieving Pricing Info for: v3-standard-8 19:08:21 INFO: Archiving Costs [Pipeline] echo 19:08:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:08:21 ---> logs-deploy.sh 19:08:21 lf-activate-venv: SKIPPING 19:08:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-367/1 19:08:21 INFO: archiving workspace using pattern(s): 19:08:22 Archives upload complete. 19:08:22 INFO: archiving logs to Nexus 19:08:23 ---> uname -a: 19:08:23 Linux prd-ubuntu20-04-docker-8c-8g-17519 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:08:23 19:08:23