Pull request #416 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e6ee8770e03e4ae27f51face394261a232d2612+3b51f885a24fd135da4abf50d3948cd78a691d64 (60b3fb74f4fe76804c891fa75dd746b935d99b26) 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-ssh4555263164112004593.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh836575353617814317.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-416/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-416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh535672858209291778.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-416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7328636490854917884.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh2566743402656125209.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-416/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-416/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3081886887574429611.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22085 in /w/workspace/gexfoundry_device-rest-go_PR-416 [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-416 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3b51f885a24fd135da4abf50d3948cd78a691d64 into PR head commit 9e6ee8770e03e4ae27f51face394261a232d2612 Merge succeeded, producing 9e6ee8770e03e4ae27f51face394261a232d2612 Checking out Revision 9e6ee8770e03e4ae27f51face394261a232d2612 (PR-416) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e6ee8770e03e4ae27f51face394261a232d2612 # 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 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e6ee8770e03e4ae27f51face394261a232d2612 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:33:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:33:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:33:40 ========================================================= 20:33:40 EdgeX Global Pipelines Version Info 20:33:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:33:41 ------------------- 20:33:41 stable info: 20:33:41 ------------------- 20:33:41 Commited By: Ginny Guan ginny@iotechsys.com 20:33:41 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 20:33:41 Message: update stable to v1.0.265 20:33:42 ------------------- 20:33:42 experimental info: 20:33:42 ------------------- 20:33:42 Commited By: Cherry Wang cherry@iotechsys.com 20:33:42 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:33:42 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:33:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:33:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:33:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:33:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:33:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:33:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:33:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:33:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:33:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:33:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:33:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:33:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo 20:33:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo 20:33:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo 20:33:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] echo 20:33:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e6ee87 [Pipeline] echo 20:33:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:33:44 provisioning config files... 20:33:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/config18282119275949110399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:33:45 ---> ****-login.sh 20:33:45 nexus3.edgexfoundry.org:10001 20:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:45 Configure a credential helper to remove this warning. See 20:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:45 20:33:45 Login Succeeded 20:33:45 nexus3.edgexfoundry.org:10002 20:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:45 Configure a credential helper to remove this warning. See 20:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:45 20:33:45 Login Succeeded 20:33:45 nexus3.edgexfoundry.org:10003 20:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:45 Configure a credential helper to remove this warning. See 20:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:45 20:33:45 Login Succeeded 20:33:45 nexus3.edgexfoundry.org:10004 20:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:45 Configure a credential helper to remove this warning. See 20:33:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:45 20:33:45 Login Succeeded 20:33:45 ****.io 20:33:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:33:46 Configure a credential helper to remove this warning. See 20:33:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:33:46 20:33:46 Login Succeeded 20:33:46 ---> ****-login.sh ends [Pipeline] } 20:33:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:33:46 + git rev-list -1 --merges 9e6ee8770e03e4ae27f51face394261a232d2612~1..9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] echo 20:33:46 -----------> git rev-list -1 --merges 9e6ee8770e03e4ae27f51face394261a232d2612~1..9e6ee8770e03e4ae27f51face394261a232d2612 9e6ee8770e03e4ae27f51face394261a232d2612 [false] [Pipeline] sh 20:33:47 + git log --format=format:%s -1 9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] echo 20:33:47 ========================================================= 20:33:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:33:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:33:47 + git log --format=format:%s -1 9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] echo 20:33:47 [semverPrep] GIT_COMMIT: 9e6ee8770e03e4ae27f51face394261a232d2612, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:33:47 [semverPrep] This is not a build commit. [Pipeline] sh 20:33:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:33:48 + grep -v github /etc/ssh/ssh_known_hosts 20:33:48 + [ -e /tmp/ssh_known_hosts ] 20:33:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:33:48 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:33:48 sudo tee -a /etc/ssh/ssh_known_hosts 20:33:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:48 20:33:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:49 0.1.4: Pulling from edgex-devops/py-git-semver 20:33:49 b85a868b505f: Pulling fs layer 20:33:49 e2be974225ed: Pulling fs layer 20:33:49 339a4e72a1f5: Pulling fs layer 20:33:49 988bab9f4d93: Pulling fs layer 20:33:49 1469e6f7b9e6: Pulling fs layer 20:33:49 eaf3925da568: Pulling fs layer 20:33:49 bab4dde63d76: Pulling fs layer 20:33:49 bde34c3a00c8: Pulling fs layer 20:33:49 b352a97aabf1: Pulling fs layer 20:33:49 4872d77fe225: Pulling fs layer 20:33:49 5851b861e8e6: Pulling fs layer 20:33:49 988bab9f4d93: Waiting 20:33:49 1469e6f7b9e6: Waiting 20:33:49 4872d77fe225: Waiting 20:33:49 bde34c3a00c8: Waiting 20:33:49 b352a97aabf1: Waiting 20:33:49 bab4dde63d76: Waiting 20:33:49 e2be974225ed: Download complete 20:33:49 988bab9f4d93: Verifying Checksum 20:33:49 988bab9f4d93: Download complete 20:33:49 1469e6f7b9e6: Verifying Checksum 20:33:49 1469e6f7b9e6: Download complete 20:33:49 eaf3925da568: Verifying Checksum 20:33:49 eaf3925da568: Download complete 20:33:49 339a4e72a1f5: Verifying Checksum 20:33:49 339a4e72a1f5: Download complete 20:33:49 bde34c3a00c8: Download complete 20:33:49 b352a97aabf1: Verifying Checksum 20:33:49 b352a97aabf1: Download complete 20:33:49 4872d77fe225: Verifying Checksum 20:33:49 4872d77fe225: Download complete 20:33:49 5851b861e8e6: Verifying Checksum 20:33:49 5851b861e8e6: Download complete 20:33:49 b85a868b505f: Verifying Checksum 20:33:49 b85a868b505f: Download complete 20:33:49 bab4dde63d76: Verifying Checksum 20:33:49 bab4dde63d76: Download complete 20:33:50 b85a868b505f: Pull complete 20:33:50 e2be974225ed: Pull complete 20:33:51 339a4e72a1f5: Pull complete 20:33:51 988bab9f4d93: Pull complete 20:33:51 1469e6f7b9e6: Pull complete 20:33:51 eaf3925da568: Pull complete 20:33:53 bab4dde63d76: Pull complete 20:33:53 bde34c3a00c8: Pull complete 20:33:53 b352a97aabf1: Pull complete 20:33:53 4872d77fe225: Pull complete 20:33:53 5851b861e8e6: Pull complete 20:33:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:33:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:33:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:53 prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container 20:33:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:33:56 $ docker top bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 -eo pid,comm 20:33:56 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). 20:33:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:33:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:56 [ssh-agent] Looking for ssh-agent implementation... 20:33:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:56 $ docker exec bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 ssh-agent 20:33:57 SSH_AUTH_SOCK=/tmp/ssh-4ey3yTi70IS6/agent.31 20:33:57 SSH_AGENT_PID=37 20:33:57 Running ssh-add (command line suppressed) 20:33:57 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-416@tmp/private_key_727423377196826644.key (/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/private_key_727423377196826644.key) 20:33:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:57 + git tag --points-at HEAD [Pipeline] } 20:33:57 $ docker exec --env ******** --env ******** bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 ssh-agent -k 20:33:57 unset SSH_AUTH_SOCK; 20:33:57 unset SSH_AGENT_PID; 20:33:57 echo Agent pid 37 killed; 20:33:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:33:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:33:57 [ssh-agent] Looking for ssh-agent implementation... 20:33:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:33:57 $ docker exec bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 ssh-agent 20:33:57 SSH_AUTH_SOCK=/tmp/ssh-NG9rJLhzIfar/agent.71 20:33:57 SSH_AGENT_PID=77 20:33:57 Running ssh-add (command line suppressed) 20:33:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-416@tmp/private_key_4324858946284261514.key (/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/private_key_4324858946284261514.key) 20:33:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:33:58 + git semver init 20:33:58 2024-10-07 20:33:58,583 [run_init] DEBUG init version:0.0.0 force:False 20:33:58 2024-10-07 20:33:58,584 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-416/.semver 20:33:58 2024-10-07 20:33:58,585 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-416/.semver 20:33:58 2024-10-07 20:33:58,585 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-416/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-416, universal_newlines=False, shell=None, istream=None) 20:34:00 2024-10-07 20:33:59,896 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-416/.git/info/exclude 20:34:00 2024-10-07 20:33:59,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-416/.semver/PR-416 with force:False 20:34:00 2024-10-07 20:33:59,897 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-416/.semver/PR-416 20:34:00 2024-10-07 20:33:59,901 [execute] INFO git cat-file --batch-check 20:34:00 2024-10-07 20:33:59,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-416/.semver, universal_newlines=False, shell=None, istream=) 20:34:00 2024-10-07 20:33:59,907 [execute] INFO git cat-file --batch 20:34:00 2024-10-07 20:33:59,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-416/.semver, universal_newlines=False, shell=None, istream=) 20:34:00 2024-10-07 20:33:59,912 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-416/.semver/PR-416 20:34:00 0.0.0 [Pipeline] } 20:34:00 $ docker exec --env ******** --env ******** bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 ssh-agent -k 20:34:00 unset SSH_AUTH_SOCK; 20:34:00 unset SSH_AGENT_PID; 20:34:00 echo Agent pid 77 killed; 20:34:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:34:00 + git semver [Pipeline] } 20:34:00 $ docker stop --time=1 bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 20:34:02 $ docker rm -f --volumes bf8d196cf260177c57f61be97a95adcbc705d3b7bc64d910b2dbeafcbd3815d9 [Pipeline] // withDockerContainer [Pipeline] sh 20:34:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:34:02 Stashed 1 file(s) [Pipeline] echo 20:34:03 [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 20:34:03 provisioning config files... 20:34:03 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/config2292556420473794433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:04 ---> ****-login.sh 20:34:04 nexus3.edgexfoundry.org:10001 20:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:04 Configure a credential helper to remove this warning. See 20:34:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:04 20:34:04 Login Succeeded 20:34:04 nexus3.edgexfoundry.org:10002 20:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:04 Configure a credential helper to remove this warning. See 20:34:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:04 20:34:04 Login Succeeded 20:34:04 nexus3.edgexfoundry.org:10003 20:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:04 Configure a credential helper to remove this warning. See 20:34:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:04 20:34:04 Login Succeeded 20:34:04 nexus3.edgexfoundry.org:10004 20:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:04 Configure a credential helper to remove this warning. See 20:34:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:04 20:34:04 Login Succeeded 20:34:04 ****.io 20:34:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:04 Configure a credential helper to remove this warning. See 20:34:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:04 20:34:04 Login Succeeded 20:34:04 ---> ****-login.sh ends [Pipeline] } 20:34:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:34:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:34:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:34:05 ========================================================= 20:34:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:34:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:34:05 Sending build context to Docker daemon 16.62MB 20:34:05 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:34:05 Step 2/12 : FROM ${BASE} AS builder 20:34:05 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:34:05 43c4264eed91: Pulling fs layer 20:34:05 4cc291be95ef: Pulling fs layer 20:34:05 2ac1f1163629: Pulling fs layer 20:34:05 5c3c966382ef: Pulling fs layer 20:34:05 4f4fb700ef54: Pulling fs layer 20:34:05 5d5c8e513c77: Pulling fs layer 20:34:05 9f66e0745190: Pulling fs layer 20:34:05 f49a43e4bbc0: Pulling fs layer 20:34:05 561ebcabdf7f: Pulling fs layer 20:34:05 9f66e0745190: Waiting 20:34:05 5c3c966382ef: Waiting 20:34:05 f49a43e4bbc0: Waiting 20:34:05 4f4fb700ef54: Waiting 20:34:05 5d5c8e513c77: Waiting 20:34:05 561ebcabdf7f: Waiting 20:34:05 4cc291be95ef: Verifying Checksum 20:34:05 4cc291be95ef: Download complete 20:34:05 5c3c966382ef: Verifying Checksum 20:34:05 5c3c966382ef: Download complete 20:34:05 4f4fb700ef54: Verifying Checksum 20:34:05 4f4fb700ef54: Download complete 20:34:05 5d5c8e513c77: Download complete 20:34:05 43c4264eed91: Download complete 20:34:05 9f66e0745190: Verifying Checksum 20:34:05 43c4264eed91: Pull complete 20:34:05 561ebcabdf7f: Download complete 20:34:06 4cc291be95ef: Pull complete 20:34:06 2ac1f1163629: Verifying Checksum 20:34:06 2ac1f1163629: Download complete 20:34:06 f49a43e4bbc0: Verifying Checksum 20:34:06 f49a43e4bbc0: Download complete 20:34:09 2ac1f1163629: Pull complete 20:34:09 5c3c966382ef: Pull complete 20:34:09 4f4fb700ef54: Pull complete 20:34:09 5d5c8e513c77: Pull complete 20:34:09 9f66e0745190: Pull complete 20:34:12 f49a43e4bbc0: Pull complete 20:34:12 561ebcabdf7f: Pull complete 20:34:12 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 20:34:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:34:12 ---> 3a752c3f9dda 20:34:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:34:17 ---> Running in 33c96dd58028 20:34:17 Removing intermediate container 33c96dd58028 20:34:17 ---> e39e32074fd0 20:34:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:34:17 ---> Running in 8d7cc815a29b 20:34:17 Removing intermediate container 8d7cc815a29b 20:34:17 ---> db7b53936e60 20:34:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:34:17 ---> Running in 8e1df9ad9a41 20:34:17 Removing intermediate container 8e1df9ad9a41 20:34:17 ---> 09ff2d75a976 20:34:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:34:17 ---> Running in e3b98275d2ba 20:34:17 Removing intermediate container e3b98275d2ba 20:34:17 ---> 25b884c6bd08 20:34:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:34:17 ---> Running in 32b05a24b6a0 20:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:34:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:34:17 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:34:17 (2/4) Installing libedit (20240517.3.1-r0) 20:34:17 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:34:17 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:34:17 Executing busybox-1.36.1-r29.trigger 20:34:17 OK: 250 MiB in 58 packages 20:34:17 Removing intermediate container 32b05a24b6a0 20:34:17 ---> cb30ea969e3c 20:34:17 Step 8/12 : WORKDIR /device-rest-go 20:34:17 ---> Running in 7e1517f36e67 20:34:18 Removing intermediate container 7e1517f36e67 20:34:18 ---> b2ddc3f38fc8 20:34:18 Step 9/12 : COPY go.mod vendor* ./ 20:34:18 ---> bce9d568db18 20:34:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:18 ---> Running in 9c519d2b153f 20:34:18 Still waiting to schedule task 20:34:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:35:14 Removing intermediate container 9c519d2b153f 20:35:14 ---> 3cf744d0be39 20:35:14 Step 11/12 : COPY . . 20:35:14 ---> 1b3ae39f1803 20:35:14 Step 12/12 : RUN $MAKE 20:35:14 ---> Running in 6b8816dafbb6 20:35:14 noop 20:35:14 Removing intermediate container 6b8816dafbb6 20:35:14 ---> db2693c4a0c2 20:35:14 Successfully built db2693c4a0c2 20:35:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:14 + docker inspect -f . ci-base-image-x86_64 20:35:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:15 prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container 20:35:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:35:15 $ docker top b7069d9aa41de362bb2ff7a2a1e1c7012dd42735e193496cef69cbd35b99aa95 -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:15 + go version 20:35:15 go version go1.23.2 linux/amd64 [Pipeline] } 20:35:15 $ docker stop --time=1 b7069d9aa41de362bb2ff7a2a1e1c7012dd42735e193496cef69cbd35b99aa95 20:35:17 $ docker rm -f --volumes b7069d9aa41de362bb2ff7a2a1e1c7012dd42735e193496cef69cbd35b99aa95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:17 + docker inspect -f . ci-base-image-x86_64 20:35:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:18 prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container 20:35:18 $ 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-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:35:18 $ docker top ab640be2671aff3156d33740b8cec34d00f568444bd477ae269b6a7c6e38b9e6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:35:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-416 [Pipeline] fileExists [Pipeline] sh 20:35:19 + make test 20:35:19 go test ./... -coverprofile=coverage.out ./... 20:35:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:35:39 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:35:39 ok github.com/edgexfoundry/device-rest-go/driver 0.007s coverage: 33.2% of statements 20:35:49 go vet ./... 20:35:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:35:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:35:55 $ docker stop --time=1 ab640be2671aff3156d33740b8cec34d00f568444bd477ae269b6a7c6e38b9e6 20:35:58 $ docker rm -f --volumes ab640be2671aff3156d33740b8cec34d00f568444bd477ae269b6a7c6e38b9e6 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22086 in /w/workspace/gexfoundry_device-rest-go_PR-416 [Pipeline] { [Pipeline] ws 20:35:59 Running in /w/workspace/device-rest-go/1 [Pipeline] { 20:35:59 + sudo chown -R jenkins:jenkins . [Pipeline] checkout 20:36:02 The recommended git tool is: git [Pipeline] stash 20:36:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:36:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:36:03 + ls -al . 20:36:03 total 256 20:36:03 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 20:35 . 20:36:03 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 20:33 .. 20:36:03 -rw-rw-r-- 1 jenkins jenkins 151 Oct 7 20:33 .dockerignore 20:36:03 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 20:35 .git 20:36:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:33 .github 20:36:03 -rw-rw-r-- 1 jenkins jenkins 264 Oct 7 20:33 .gitignore 20:36:03 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 20:33 .golangci.yml 20:36:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 20:33 .semver 20:36:03 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 7 20:33 Attribution.txt 20:36:03 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 7 20:33 CHANGELOG.md 20:36:03 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 7 20:33 Dockerfile 20:36:03 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 20:33 GOVERNANCE.md 20:36:03 -rw-rw-r-- 1 jenkins jenkins 680 Oct 7 20:33 Jenkinsfile 20:36:03 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 20:33 LICENSE 20:36:03 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 7 20:33 Makefile 20:36:03 -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 20:33 OWNERS.md 20:36:03 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 7 20:33 README.md 20:36:03 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 20:34 VERSION 20:36:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 20:33 bin 20:36:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:33 cmd 20:36:03 -rw-r--r-- 1 jenkins jenkins 14565 Oct 7 20:35 coverage.out 20:36:03 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 20:33 driver 20:36:03 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 7 20:33 go.mod 20:36:03 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 7 20:33 go.sum 20:36:03 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:33 openapi 20:36:03 -rw-rw-r-- 1 jenkins jenkins 713 Oct 7 20:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:04 + 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=9e6ee8770e03e4ae27f51face394261a232d2612 --label arch=amd64 --label version=0.0.0 . 20:36:04 Sending build context to Docker daemon 16.63MB 20:36:04 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:36:04 Step 2/26 : FROM ${BASE} AS builder 20:36:04 ---> db2693c4a0c2 20:36:04 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:36:04 ---> Running in c51e7fdcfbfa 20:36:04 Removing intermediate container c51e7fdcfbfa 20:36:04 ---> d0c3237b95f2 20:36:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:36:04 ---> Running in 96dca8b8e5d9 20:36:04 Removing intermediate container 96dca8b8e5d9 20:36:04 ---> e0f07758fa32 20:36:04 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:36:04 ---> Running in fc20dc8d25b9 20:36:04 Removing intermediate container fc20dc8d25b9 20:36:04 ---> 0e070bf8d701 20:36:04 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:36:04 ---> Running in 666daed45dce 20:36:05 Removing intermediate container 666daed45dce 20:36:05 ---> 66a131b1a087 20:36:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:05 ---> Running in 565217e2487b 20:36:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:36:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:36:05 OK: 250 MiB in 58 packages 20:36:06 Removing intermediate container 565217e2487b 20:36:06 ---> c4315da8ed7d 20:36:06 Step 8/26 : WORKDIR /device-rest-go 20:36:06 ---> Running in 8fecc5b1459c 20:36:06 Removing intermediate container 8fecc5b1459c 20:36:06 ---> f889a4bd039e 20:36:06 Step 9/26 : COPY go.mod vendor* ./ 20:36:06 ---> 30ceaca85e19 20:36:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:06 ---> Running in cb5ff270978e 20:36:06 Removing intermediate container cb5ff270978e 20:36:06 ---> d5667bfd9200 20:36:06 Step 11/26 : COPY . . 20:36:07 using credential edgex-jenkins-ssh 20:36:07 Cloning the remote Git repository 20:36:07 ---> 628c7ee420cc 20:36:07 Step 12/26 : RUN $MAKE 20:36:07 ---> Running in 8b8c467bcecb 20:36:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:36:07 > git init /w/workspace/device-rest-go/1 # timeout=10 20:36:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:36:07 > git --version # timeout=10 20:36:07 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.44" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:36:07 > git --version # 'git version 2.25.1' 20:36:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:36:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:36:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:36:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:36:11 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:36:11 Merging remotes/origin/main commit 3b51f885a24fd135da4abf50d3948cd78a691d64 into PR head commit 9e6ee8770e03e4ae27f51face394261a232d2612 20:36:12 Merge succeeded, producing 9e6ee8770e03e4ae27f51face394261a232d2612 20:36:12 Checking out Revision 9e6ee8770e03e4ae27f51face394261a232d2612 (PR-416) 20:36:12 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:36:11 > git config core.sparsecheckout # timeout=10 20:36:11 > git checkout -f 9e6ee8770e03e4ae27f51face394261a232d2612 # timeout=10 20:36:12 > git remote # timeout=10 20:36:12 > git config --get remote.origin.url # timeout=10 20:36:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:36:12 > git merge 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 20:36:12 > git rev-parse HEAD^{commit} # timeout=10 20:36:12 > git config core.sparsecheckout # timeout=10 20:36:12 > git checkout -f 9e6ee8770e03e4ae27f51face394261a232d2612 # timeout=10 20:36:12 > git --version # timeout=10 20:36:12 > git --version # 'git version 2.25.1' 20:36:12 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:36:17 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:17 Dload Upload Total Spent Left Speed 20:36:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90978 [Pipeline] sh 20:36:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:36:18 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 20:36:18 /etc/docker/daemon.json 20:36:18 { 20:36:18 "registry-mirrors": [ 20:36:18 "https://nexus3.edgexfoundry.org:10001" 20:36:18 ], 20:36:18 "bip": "10.250.0.254/24", 20:36:18 "hosts": [ 20:36:18 "tcp://0.0.0.0:5555", 20:36:18 "unix:///var/run/docker.sock" 20:36:18 ], 20:36:18 "mtu": 1458, 20:36:18 "selinux-enabled": true, 20:36:18 "seccomp-profile": "/etc/docker/seccomp.json" 20:36:18 } [Pipeline] sh 20:36:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:36:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:37 provisioning config files... 20:36:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7370201907391710414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:38 ---> ****-login.sh 20:36:38 nexus3.edgexfoundry.org:10001 20:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:38 Configure a credential helper to remove this warning. See 20:36:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:38 20:36:38 Login Succeeded 20:36:38 nexus3.edgexfoundry.org:10002 20:36:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:39 Configure a credential helper to remove this warning. See 20:36:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:39 20:36:39 Login Succeeded 20:36:39 nexus3.edgexfoundry.org:10003 20:36:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:39 Configure a credential helper to remove this warning. See 20:36:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:39 20:36:39 Login Succeeded 20:36:39 nexus3.edgexfoundry.org:10004 20:36:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:39 Configure a credential helper to remove this warning. See 20:36:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:39 20:36:39 Login Succeeded 20:36:39 ****.io 20:36:39 Removing intermediate container 8b8c467bcecb 20:36:39 ---> c4cad7808535 20:36:39 Step 13/26 : FROM alpine:3.20 20:36:39 3.20: Pulling from library/alpine 20:36:39 43c4264eed91: Already exists 20:36:39 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 20:36:39 Status: Downloaded newer image for alpine:3.20 20:36:39 ---> 91ef0af61f39 20:36:39 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:36:39 ---> Running in e9b4eac58b2b 20:36:39 Removing intermediate container e9b4eac58b2b 20:36:39 ---> ce0d782cbb98 20:36:39 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:36:39 ---> Running in ff46a696b7c9 20:36:39 Removing intermediate container ff46a696b7c9 20:36:39 ---> 6a9a6adc92ff 20:36:39 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:36:39 ---> Running in ad61b4987bbc 20:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:36:40 Configure a credential helper to remove this warning. See 20:36:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:36:40 20:36:40 Login Succeeded 20:36:40 ---> ****-login.sh ends [Pipeline] } 20:36:40 Deleting 1 temporary files 20:36:40 (1/1) Installing dumb-init (1.2.5-r3) 20:36:40 Executing busybox-1.36.1-r29.trigger 20:36:40 OK: 8 MiB in 15 packages [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:36:40 ========================================================= 20:36:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 20:36:40 ========================================================= 20:36:41 Removing intermediate container ad61b4987bbc 20:36:41 ---> ca46d10cddf3 20:36:41 Step 17/26 : RUN apk --no-cache upgrade 20:36:41 ---> Running in 2bfe35d4d19c 20:36:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:36:41 Upgrading critical system libraries and apk-tools: 20:36:41 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 20:36:41 Executing busybox-1.36.1-r29.trigger 20:36:41 Continuing the upgrade transaction with new apk-tools: 20:36:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:36:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:36:41 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:36:41 Sending build context to Docker daemon 140.3kB 20:36:41 OK: 8 MiB in 15 packages 20:36:41 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:36:41 Step 2/12 : FROM ${BASE} AS builder 20:36:41 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:36:41 cf04c63912e1: Pulling fs layer 20:36:41 55b35a11ae5e: Pulling fs layer 20:36:41 a37a00ec5f00: Pulling fs layer 20:36:41 50b3750afda1: Pulling fs layer 20:36:41 4f4fb700ef54: Pulling fs layer 20:36:41 80978eb59214: Pulling fs layer 20:36:41 c9f46d7d2bd2: Pulling fs layer 20:36:41 c5a475d317c9: Pulling fs layer 20:36:41 80978eb59214: Waiting 20:36:41 c9f46d7d2bd2: Waiting 20:36:41 c5a475d317c9: Waiting 20:36:41 50b3750afda1: Waiting 20:36:41 4f4fb700ef54: Waiting 20:36:41 55b35a11ae5e: Verifying Checksum 20:36:41 55b35a11ae5e: Download complete 20:36:41 50b3750afda1: Verifying Checksum 20:36:41 50b3750afda1: Download complete 20:36:42 Removing intermediate container 2bfe35d4d19c 20:36:42 ---> 8c15b21b4f8a 20:36:42 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:36:42 4f4fb700ef54: Verifying Checksum 20:36:42 4f4fb700ef54: Download complete 20:36:42 80978eb59214: Verifying Checksum 20:36:42 80978eb59214: Download complete 20:36:42 cf04c63912e1: Verifying Checksum 20:36:42 cf04c63912e1: Download complete 20:36:42 c5a475d317c9: Verifying Checksum 20:36:42 c5a475d317c9: Download complete 20:36:42 cf04c63912e1: Pull complete 20:36:43 ---> cd8daaba3572 20:36:43 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:36:43 ---> c130544a4e35 20:36:43 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:36:43 55b35a11ae5e: Pull complete 20:36:43 ---> 7e12d229ac01 20:36:43 Step 21/26 : EXPOSE 59986 20:36:43 ---> Running in a8ed588acbfa 20:36:43 Removing intermediate container a8ed588acbfa 20:36:43 ---> 48681e0e024e 20:36:43 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:36:43 ---> Running in 140a9da1cf22 20:36:43 Removing intermediate container 140a9da1cf22 20:36:43 ---> 0e3fbc006843 20:36:43 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:36:43 ---> Running in f754ff477333 20:36:43 a37a00ec5f00: Verifying Checksum 20:36:43 a37a00ec5f00: Download complete 20:36:43 Removing intermediate container f754ff477333 20:36:43 ---> bbb736664ea1 20:36:43 Step 24/26 : LABEL arch=amd64 20:36:43 ---> Running in 7c6c0c777e99 20:36:43 Removing intermediate container 7c6c0c777e99 20:36:43 ---> 021553205575 20:36:43 Step 25/26 : LABEL git_sha=9e6ee8770e03e4ae27f51face394261a232d2612 20:36:43 ---> Running in 1918e42ced20 20:36:43 Removing intermediate container 1918e42ced20 20:36:43 ---> 699aeddbb9a1 20:36:43 Step 26/26 : LABEL version=0.0.0 20:36:43 ---> Running in d56afc55b881 20:36:44 Removing intermediate container d56afc55b881 20:36:44 ---> 70a9759524d2 20:36:44 [Warning] One or more build-args [ARCH] were not consumed 20:36:44 Successfully built 70a9759524d2 20:36:44 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } 20:36:44 c9f46d7d2bd2: Verifying Checksum 20:36:44 c9f46d7d2bd2: Download complete [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:45 20:36:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:45 latest: Pulling from edgex-lftools-log-publisher 20:36:45 5eb5b503b376: Pulling fs layer 20:36:45 5c69ac0246d0: Pulling fs layer 20:36:45 ec43610c2a17: Pulling fs layer 20:36:45 3a2ae6a8a46f: Pulling fs layer 20:36:45 33b1e0a273af: Pulling fs layer 20:36:45 5d3b04190fa2: Pulling fs layer 20:36:45 2f39f015ded8: Pulling fs layer 20:36:45 3a2ae6a8a46f: Waiting 20:36:45 33b1e0a273af: Waiting 20:36:45 5d3b04190fa2: Waiting 20:36:45 2f39f015ded8: Waiting 20:36:45 5c69ac0246d0: Verifying Checksum 20:36:45 5c69ac0246d0: Download complete 20:36:45 3a2ae6a8a46f: Verifying Checksum 20:36:45 3a2ae6a8a46f: Download complete 20:36:45 33b1e0a273af: Verifying Checksum 20:36:45 33b1e0a273af: Download complete 20:36:45 5d3b04190fa2: Download complete 20:36:45 ec43610c2a17: Verifying Checksum 20:36:45 ec43610c2a17: Download complete 20:36:45 5eb5b503b376: Download complete 20:36:46 2f39f015ded8: Download complete 20:36:47 5eb5b503b376: Pull complete 20:36:47 5c69ac0246d0: Pull complete 20:36:47 ec43610c2a17: Pull complete 20:36:47 3a2ae6a8a46f: Pull complete 20:36:47 33b1e0a273af: Pull complete 20:36:47 5d3b04190fa2: Pull complete 20:36:52 2f39f015ded8: Pull complete 20:36:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:36:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:52 prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container 20:36:52 $ 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-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:36:55 $ docker top a9522ce4a47288384df43d7eaab8917714fdf9c14e99a7ed5a0e09298f3818c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:56 ---> job-cost.sh 20:36:56 lf-activate-venv: SKIPPING 20:36:56 INFO: No Stack... 20:36:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:57 INFO: Archiving Costs [Pipeline] sh 20:36:57 + cat /w/workspace/gexfoundry_device-rest-go_PR-416/archives/cost.csv 20:36:57 + cut -d, -f6 [Pipeline] lock 20:36:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] 20:36:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] did not exist. Created. 20:36:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:57 + echo total: 0.2199999988079071 [Pipeline] stash 20:36:58 Stashed 1 file(s) [Pipeline] } 20:36:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:58 $ docker stop --time=1 a9522ce4a47288384df43d7eaab8917714fdf9c14e99a7ed5a0e09298f3818c0 20:36:59 $ docker rm -f --volumes a9522ce4a47288384df43d7eaab8917714fdf9c14e99a7ed5a0e09298f3818c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:36:59 a37a00ec5f00: Pull complete 20:36:59 50b3750afda1: Pull complete 20:36:59 4f4fb700ef54: Pull complete 20:36:59 80978eb59214: Pull complete 20:37:08 c9f46d7d2bd2: Pull complete 20:37:09 c5a475d317c9: Pull complete 20:37:09 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 20:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 20:37:09 ---> be29e6b0f0d4 20:37:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:37:09 ---> Running in 36a75836de2b 20:37:09 Removing intermediate container 36a75836de2b 20:37:09 ---> 2b01e9a9ddfc 20:37:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:37:10 ---> Running in 5090c1d89154 20:37:10 Removing intermediate container 5090c1d89154 20:37:10 ---> 6d5749de46a0 20:37:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:37:10 ---> Running in 2607a046bed8 20:37:10 Removing intermediate container 2607a046bed8 20:37:10 ---> 81eb68b3b164 20:37:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:37:10 ---> Running in b7b7c987f3d3 20:37:11 Removing intermediate container b7b7c987f3d3 20:37:11 ---> 0718fc8a243d 20:37:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:37:11 ---> Running in 5e1e23010291 20:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:37:13 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:37:13 (2/4) Installing libedit (20240517.3.1-r0) 20:37:13 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:37:13 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:37:13 Executing busybox-1.36.1-r29.trigger 20:37:13 OK: 242 MiB in 58 packages 20:37:14 Removing intermediate container 5e1e23010291 20:37:14 ---> 35500c4504e8 20:37:14 Step 8/12 : WORKDIR /device-rest-go 20:37:15 ---> Running in 81d6fee2922c 20:37:15 Removing intermediate container 81d6fee2922c 20:37:15 ---> 5cc9ca6deea0 20:37:15 Step 9/12 : COPY go.mod vendor* ./ 20:37:15 ---> fc184828bb16 20:37:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:37:15 ---> Running in c489e7af0b07 20:39:07 Removing intermediate container c489e7af0b07 20:39:07 ---> 885f88ee6855 20:39:07 Step 11/12 : COPY . . 20:39:07 ---> 1a19d9bcf80b 20:39:07 Step 12/12 : RUN $MAKE 20:39:07 ---> Running in 828a7993d003 20:39:07 noop 20:39:07 Removing intermediate container 828a7993d003 20:39:07 ---> 76a3ad44ddda 20:39:07 Successfully built 76a3ad44ddda 20:39:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:08 + docker inspect -f . ci-base-image-arm64 20:39:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:08 prd-ubuntu20.04-docker-arm64-4c-16g-22086 does not seem to be running inside a container 20:39:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:39:09 $ docker top f9be3acf682687cf0b11f4763a3a9d765d78974eea8eba21ec2198b6b93bae28 -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:10 + go version 20:39:10 go version go1.23.2 linux/arm64 [Pipeline] } 20:39:10 $ docker stop --time=1 f9be3acf682687cf0b11f4763a3a9d765d78974eea8eba21ec2198b6b93bae28 20:39:11 $ docker rm -f --volumes f9be3acf682687cf0b11f4763a3a9d765d78974eea8eba21ec2198b6b93bae28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:12 + docker inspect -f . ci-base-image-arm64 20:39:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:13 prd-ubuntu20.04-docker-arm64-4c-16g-22086 does not seem to be running inside a container 20:39:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:39:14 $ docker top 6429558e90607779c8b465fe8e5bb9c978cdf4f874b0432f1346483549a9da4e -eo pid,comm [Pipeline] { [Pipeline] sh 20:39:15 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:39:15 + make test 20:39:15 go test ./... -coverprofile=coverage.out ./... 20:39:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:42:43 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:42:43 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements 20:42:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:42:43 go vet ./... 20:43:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:43:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:43:30 ./bin/test-attribution-txt.sh [Pipeline] echo 20:43:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:43:30 $ docker stop --time=1 6429558e90607779c8b465fe8e5bb9c978cdf4f874b0432f1346483549a9da4e 20:43:32 $ docker rm -f --volumes 6429558e90607779c8b465fe8e5bb9c978cdf4f874b0432f1346483549a9da4e [Pipeline] // withDockerContainer [Pipeline] sh 20:43:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:33 Warning: overwriting stash ‘coverage-report’ 20:43:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:43:35 + ls -al . 20:43:35 total 252 20:43:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 20:39 . 20:43:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 20:36 .. 20:43:35 -rw-rw-r-- 1 jenkins jenkins 151 Oct 7 20:36 .dockerignore 20:43:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 20:36 .git 20:43:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:36 .github 20:43:35 -rw-rw-r-- 1 jenkins jenkins 264 Oct 7 20:36 .gitignore 20:43:35 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 20:36 .golangci.yml 20:43:35 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 7 20:36 Attribution.txt 20:43:35 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 7 20:36 CHANGELOG.md 20:43:35 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 7 20:36 Dockerfile 20:43:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 20:36 GOVERNANCE.md 20:43:35 -rw-rw-r-- 1 jenkins jenkins 680 Oct 7 20:36 Jenkinsfile 20:43:35 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 20:36 LICENSE 20:43:35 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 7 20:36 Makefile 20:43:35 -rw-rw-r-- 1 jenkins jenkins 620 Oct 7 20:36 OWNERS.md 20:43:35 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 7 20:36 README.md 20:43:35 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 20:34 VERSION 20:43:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 20:36 bin 20:43:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:36 cmd 20:43:35 -rw-r--r-- 1 jenkins jenkins 14565 Oct 7 20:42 coverage.out 20:43:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 20:36 driver 20:43:35 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 7 20:36 go.mod 20:43:35 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 7 20:36 go.sum 20:43:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 20:36 openapi 20:43:35 -rw-rw-r-- 1 jenkins jenkins 713 Oct 7 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:35 + 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=9e6ee8770e03e4ae27f51face394261a232d2612 --label arch=arm64 --label version=0.0.0 . 20:43:35 Sending build context to Docker daemon 155.6kB 20:43:35 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:43:35 Step 2/26 : FROM ${BASE} AS builder 20:43:35 ---> 76a3ad44ddda 20:43:35 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:43:35 ---> Running in cac2d2604e63 20:43:36 Removing intermediate container cac2d2604e63 20:43:36 ---> 51769e6e5153 20:43:36 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:36 ---> Running in 350926b87986 20:43:36 Removing intermediate container 350926b87986 20:43:36 ---> de6104a1bdbd 20:43:36 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:36 ---> Running in 0cc05335b0d3 20:43:37 Removing intermediate container 0cc05335b0d3 20:43:37 ---> 34fa224bb361 20:43:37 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:43:37 ---> Running in 580b1f217237 20:43:37 Removing intermediate container 580b1f217237 20:43:37 ---> 1bcaa6a93f2f 20:43:37 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:37 ---> Running in ee7a801e580f 20:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:43:40 OK: 242 MiB in 58 packages 20:43:40 Removing intermediate container ee7a801e580f 20:43:40 ---> 9896604f13df 20:43:40 Step 8/26 : WORKDIR /device-rest-go 20:43:40 ---> Running in 1a03c82e9b7d 20:43:41 Removing intermediate container 1a03c82e9b7d 20:43:41 ---> 6b0a5590ff12 20:43:41 Step 9/26 : COPY go.mod vendor* ./ 20:43:41 ---> d0ebab284111 20:43:41 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:41 ---> Running in f6256508df69 20:43:44 Removing intermediate container f6256508df69 20:43:44 ---> b6bb1958a26b 20:43:44 Step 11/26 : COPY . . 20:43:44 ---> 7a4885a3d115 20:43:44 Step 12/26 : RUN $MAKE 20:43:44 ---> Running in 622bf7b8ee1a 20:43:45 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.44" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:47:07 Removing intermediate container 622bf7b8ee1a 20:47:07 ---> d0f423e845be 20:47:07 Step 13/26 : FROM alpine:3.20 20:47:07 3.20: Pulling from library/alpine 20:47:07 cf04c63912e1: Already exists 20:47:07 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 20:47:07 Status: Downloaded newer image for alpine:3.20 20:47:07 ---> c157a85ed455 20:47:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:47:07 ---> Running in adfd3058886d 20:47:07 Removing intermediate container adfd3058886d 20:47:07 ---> e527af2d461a 20:47:07 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:47:07 ---> Running in 73aecef4e3e4 20:47:07 Removing intermediate container 73aecef4e3e4 20:47:07 ---> 95908769b5d9 20:47:07 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:47:07 ---> Running in a05e86b22453 20:47:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:47:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:47:07 (1/1) Installing dumb-init (1.2.5-r3) 20:47:07 Executing busybox-1.36.1-r29.trigger 20:47:07 OK: 9 MiB in 15 packages 20:47:08 Removing intermediate container a05e86b22453 20:47:08 ---> b5b00a58ad97 20:47:08 Step 17/26 : RUN apk --no-cache upgrade 20:47:08 ---> Running in f9f066ced969 20:47:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:47:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:47:10 Upgrading critical system libraries and apk-tools: 20:47:10 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 20:47:10 Executing busybox-1.36.1-r29.trigger 20:47:11 Continuing the upgrade transaction with new apk-tools: 20:47:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:47:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:47:12 OK: 9 MiB in 15 packages 20:47:13 Removing intermediate container f9f066ced969 20:47:13 ---> 85771106883a 20:47:13 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:47:15 ---> f584cc88e90f 20:47:15 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:47:15 ---> 9a9d8f1a3902 20:47:15 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:47:16 ---> 00de3198074a 20:47:16 Step 21/26 : EXPOSE 59986 20:47:16 ---> Running in 8f9a61e44f98 20:47:16 Removing intermediate container 8f9a61e44f98 20:47:16 ---> fc32896ebab3 20:47:16 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:47:16 ---> Running in c74369c92096 20:47:16 Removing intermediate container c74369c92096 20:47:16 ---> 80094a88287e 20:47:16 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:47:16 ---> Running in 71955cf896fd 20:47:17 Removing intermediate container 71955cf896fd 20:47:17 ---> c339b44ab6c2 20:47:17 Step 24/26 : LABEL arch=arm64 20:47:17 ---> Running in a1b5c6649a18 20:47:17 Removing intermediate container a1b5c6649a18 20:47:17 ---> 359a712f5810 20:47:17 Step 25/26 : LABEL git_sha=9e6ee8770e03e4ae27f51face394261a232d2612 20:47:17 ---> Running in c72df8db9e8a 20:47:18 Removing intermediate container c72df8db9e8a 20:47:18 ---> 6c768f39b555 20:47:18 Step 26/26 : LABEL version=0.0.0 20:47:18 ---> Running in 2197ddb3760e 20:47:18 Removing intermediate container 2197ddb3760e 20:47:18 ---> 440202b9a5d6 20:47:18 [Warning] One or more build-args [ARCH] were not consumed 20:47:18 Successfully built 440202b9a5d6 20:47:18 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:19 20:47:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:19 arm64: Pulling from edgex-lftools-log-publisher 20:47:19 8998bd30e6a1: Pulling fs layer 20:47:19 04944245beec: Pulling fs layer 20:47:19 699f458cf7ca: Pulling fs layer 20:47:19 765212b225bb: Pulling fs layer 20:47:19 f23df028b6ca: Pulling fs layer 20:47:19 d65c8cfc05b1: Pulling fs layer 20:47:19 2437ff75d9bd: Pulling fs layer 20:47:19 765212b225bb: Waiting 20:47:19 f23df028b6ca: Waiting 20:47:19 d65c8cfc05b1: Waiting 20:47:19 2437ff75d9bd: Waiting 20:47:19 04944245beec: Verifying Checksum 20:47:19 04944245beec: Download complete 20:47:19 765212b225bb: Verifying Checksum 20:47:19 765212b225bb: Download complete 20:47:19 f23df028b6ca: Verifying Checksum 20:47:19 f23df028b6ca: Download complete 20:47:19 d65c8cfc05b1: Verifying Checksum 20:47:19 d65c8cfc05b1: Download complete 20:47:19 699f458cf7ca: Verifying Checksum 20:47:19 699f458cf7ca: Download complete 20:47:20 8998bd30e6a1: Verifying Checksum 20:47:20 8998bd30e6a1: Download complete 20:47:23 2437ff75d9bd: Verifying Checksum 20:47:23 2437ff75d9bd: Download complete 20:47:25 8998bd30e6a1: Pull complete 20:47:25 04944245beec: Pull complete 20:47:26 699f458cf7ca: Pull complete 20:47:27 765212b225bb: Pull complete 20:47:28 f23df028b6ca: Pull complete 20:47:28 d65c8cfc05b1: Pull complete 20:47:46 2437ff75d9bd: Pull complete 20:47:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:46 prd-ubuntu20.04-docker-arm64-4c-16g-22086 does not seem to be running inside a container 20:47:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:47:49 $ docker top 4dbb66bbf869de7ff90948be1b2ece68471263f96ae6133d774f5d9ea2884066 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:49 ---> job-cost.sh 20:47:50 lf-activate-venv: SKIPPING 20:47:50 INFO: No Stack... 20:47:50 INFO: Retrieving Pricing Info for: v3-standard-4 20:47:51 INFO: Archiving Costs [Pipeline] sh 20:47:51 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:47:51 + cut -d, -f6 [Pipeline] lock 20:47:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] 20:47:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] did not exist. Created. 20:47:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:52 /w/workspace/device-rest-go/1@tmp/durable-015cbff2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:47:53 + echo total: 0.10999999940395355 [Pipeline] stash 20:47:53 Warning: overwriting stash ‘stack-cost’ 20:47:53 Stashed 1 file(s) [Pipeline] } 20:47:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-416-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:47:53 $ docker stop --time=1 4dbb66bbf869de7ff90948be1b2ece68471263f96ae6133d774f5d9ea2884066 20:47:54 $ docker rm -f --volumes 4dbb66bbf869de7ff90948be1b2ece68471263f96ae6133d774f5d9ea2884066 [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 20:47:55 provisioning config files... 20:47:55 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/config7270455625966687382tmp [Pipeline] { [Pipeline] sh 20:47:56 + set +x 20:47:56 + curl -s https://codecov.io/bash 20:47:56 + bash -s -- 20:47:56 20:47:56 _____ _ 20:47:56 / ____| | | 20:47:56 | | ___ __| | ___ ___ _____ __ 20:47:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:47:56 | |___| (_) | (_| | __/ (_| (_) \ V / 20:47:56 \_____\___/ \__,_|\___|\___\___/ \_/ 20:47:56 Bash-1.0.6 20:47:56 20:47:56 20:47:56 ==> git version 2.25.1 found 20:47:56 ==> 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 20:47:56 Release-Date: 2020-01-08 20:47:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:47:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:47:56 ==> Jenkins CI detected. 20:47:56 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-416 20:47:56 project root: . 20:47:56 --> token set from env 20:47:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:47:56 ==> Running gcov in . (disable via -X gcov) 20:47:56 ==> Python coveragepy not found 20:47:56 ==> Searching for coverage reports in: 20:47:56 + . 20:47:56 -> Found 1 reports 20:47:56 ==> Detecting git/mercurial file structure 20:47:56 ==> Reading reports 20:47:56 + ./coverage.out bytes=14565 20:47:56 ==> Appending adjustments 20:47:56 https://docs.codecov.io/docs/fixing-reports 20:47:56 + Found adjustments 20:47:56 ==> Gzipping contents 20:47:56 4.0K /tmp/codecov.ftKIZC.gz 20:47:56 ==> Uploading reports 20:47:56 url: https://codecov.io 20:47:56 query: branch=PR-416&commit=9e6ee8770e03e4ae27f51face394261a232d2612&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=416&job=&cmd_args= 20:47:56 -> Pinging Codecov 20:47:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-416&commit=9e6ee8770e03e4ae27f51face394261a232d2612&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=416&job=&cmd_args= 20:47:56 -> Uploading to 20:47:56 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/9e6ee8770e03e4ae27f51face394261a232d2612/b050cfb7-5649-41bd-8ac9-a9e0e337ec07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241007%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241007T204756Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a57d7b6d233d4ba1b3ece77c5c06bf50b5e852f95533aef27321968aac859ba6 20:47:56 % Total % Received % Xferd Average Speed Time Time Time Current 20:47:56 Dload Upload Total Spent Left Speed 20:47:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 9761 --:--:-- --:--:-- --:--:-- 9761 20:47:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9e6ee8770e03e4ae27f51face394261a232d2612 [Pipeline] } 20:47:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:47:59 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-416/archives ] 20:47:59 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-416/archives 20:47:59 total 16 20:47:59 drwxr-xr-x 3 root root 4096 Oct 7 20:36 . 20:47:59 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 20:36 .. 20:47:59 drwxr-xr-x 2 root root 4096 Oct 7 20:36 cost 20:47:59 -rw-r--r-- 1 root root 86 Oct 7 20:36 cost.csv 20:47:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-416/archives 20:47:59 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-416/archives 20:47:59 total 16 20:47:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 20:36 . 20:47:59 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 20:36 .. 20:47:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 20:36 cost 20:47:59 -rw-r--r-- 1 jenkins jenkins 86 Oct 7 20:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:47:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:48:00 ---> package-listing.sh 20:48:00 ++ facter osfamily 20:48:00 ++ tr '[:upper:]' '[:lower:]' 20:48:00 + OS_FAMILY=debian 20:48:00 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-416 20:48:00 + START_PACKAGES=/tmp/packages_start.txt 20:48:00 + END_PACKAGES=/tmp/packages_end.txt 20:48:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:48:00 + PACKAGES=/tmp/packages_start.txt 20:48:00 + '[' /w/workspace/gexfoundry_device-rest-go_PR-416 ']' 20:48:00 + PACKAGES=/tmp/packages_end.txt 20:48:00 + case "${OS_FAMILY}" in 20:48:00 + dpkg -l 20:48:00 + grep '^ii' 20:48:00 + '[' -f /tmp/packages_start.txt ']' 20:48:00 + '[' -f /tmp/packages_end.txt ']' 20:48:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:48:00 + '[' /w/workspace/gexfoundry_device-rest-go_PR-416 ']' 20:48:00 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-416/archives/ 20:48:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-416/archives/ [Pipeline] echo 20:48:00 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-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:48:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:01 prd-ubuntu20.04-docker-8c-8g-22085 does not seem to be running inside a container 20:48:01 $ 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-416/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-416 -v /w/workspace/gexfoundry_device-rest-go_PR-416:/w/workspace/gexfoundry_device-rest-go_PR-416:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-416@tmp:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:48:01 $ docker top 25c268f14e657ceb69d002fba72e3ba22e0df8bfabee5ded2348a4814621c5f2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:02 + touch /tmp/pre-build-complete [Pipeline] sh 20:48:02 + mkdir -p /var/log/sysstat [Pipeline] sh 20:48:03 + ls /var/log/sa-host 20:48:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:03 provisioning config files... 20:48:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-416@tmp/config16493499688836600378tmp [Pipeline] { [Pipeline] echo 20:48:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:48:03 ---> create-netrc.sh [Pipeline] } 20:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:48:04 ---> python-tools-install.sh [Pipeline] echo 20:48:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:48:04 ---> sudo-logs.sh 20:48:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:48:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:48:05 ---> job-cost.sh 20:48:05 lf-activate-venv: SKIPPING 20:48:05 DEBUG: total: 0.2199999988079071 20:48:05 INFO: Retrieving Stack Cost... 20:48:05 INFO: Retrieving Pricing Info for: v3-standard-8 20:48:05 INFO: Archiving Costs [Pipeline] echo 20:48:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:48:06 ---> logs-deploy.sh 20:48:06 lf-activate-venv: SKIPPING 20:48:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-416/1 20:48:06 INFO: archiving workspace using pattern(s): 20:48:07 Archives upload complete. 20:48:07 INFO: archiving logs to Nexus