Pull request #419 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 73648037f22c0cc2ca70995f2ea1637c12b7456a+9c2cca6ccca3210e07b712156771ed12440b1abf (8577e9170b8aa853563a43ea7f8f6f481854eef2) 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-ssh3883275926859782441.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-ssh6724250433951244364.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-419/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-419/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15238769637931060674.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-419/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16574553212396489459.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-ssh10159428054808946928.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-419/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-419/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13288916262345709247.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-22803 in /w/workspace/gexfoundry_device-rest-go_PR-419 [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-419 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Merging remotes/origin/main commit 9c2cca6ccca3210e07b712156771ed12440b1abf into PR head commit 73648037f22c0cc2ca70995f2ea1637c12b7456a Merge succeeded, producing 73648037f22c0cc2ca70995f2ea1637c12b7456a Checking out Revision 73648037f22c0cc2ca70995f2ea1637c12b7456a (PR-419) 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 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/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73648037f22c0cc2ca70995f2ea1637c12b7456a # 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 9c2cca6ccca3210e07b712156771ed12440b1abf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 73648037f22c0cc2ca70995f2ea1637c12b7456a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:53:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:53:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:53:10 ========================================================= 20:53:10 EdgeX Global Pipelines Version Info 20:53:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:53:10 ------------------- 20:53:10 stable info: 20:53:10 ------------------- 20:53:10 Commited By: Ginny Guan ginny@iotechsys.com 20:53:10 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 20:53:10 Message: update stable to v1.0.265 20:53:11 ------------------- 20:53:11 experimental info: 20:53:11 ------------------- 20:53:11 Commited By: Cherry Wang cherry@iotechsys.com 20:53:11 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:53:11 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:53:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:53:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:53:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:53:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:53:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:53:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:53:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:53:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-419 [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-419 [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-419 [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73648037f22c0cc2ca70995f2ea1637c12b7456a [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7364803 [Pipeline] echo 20:53:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:53:13 provisioning config files... 20:53:13 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-419@tmp/config5761929556902151132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:14 ---> ****-login.sh 20:53:14 nexus3.edgexfoundry.org:10001 20:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:14 Configure a credential helper to remove this warning. See 20:53:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:14 20:53:14 Login Succeeded 20:53:14 nexus3.edgexfoundry.org:10002 20:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:14 Configure a credential helper to remove this warning. See 20:53:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:14 20:53:14 Login Succeeded 20:53:14 nexus3.edgexfoundry.org:10003 20:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:14 Configure a credential helper to remove this warning. See 20:53:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:14 20:53:14 Login Succeeded 20:53:14 nexus3.edgexfoundry.org:10004 20:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:14 Configure a credential helper to remove this warning. See 20:53:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:14 20:53:14 Login Succeeded 20:53:14 ****.io 20:53:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:15 Configure a credential helper to remove this warning. See 20:53:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:15 20:53:15 Login Succeeded 20:53:15 ---> ****-login.sh ends [Pipeline] } 20:53:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:53:15 + git rev-list -1 --merges 73648037f22c0cc2ca70995f2ea1637c12b7456a~1..73648037f22c0cc2ca70995f2ea1637c12b7456a [Pipeline] echo 20:53:15 -----------> git rev-list -1 --merges 73648037f22c0cc2ca70995f2ea1637c12b7456a~1..73648037f22c0cc2ca70995f2ea1637c12b7456a 73648037f22c0cc2ca70995f2ea1637c12b7456a [false] [Pipeline] sh 20:53:16 + git log --format=format:%s -1 73648037f22c0cc2ca70995f2ea1637c12b7456a [Pipeline] echo 20:53:16 ========================================================= 20:53:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:53:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:53:16 + git log --format=format:%s -1 73648037f22c0cc2ca70995f2ea1637c12b7456a [Pipeline] echo 20:53:16 [semverPrep] GIT_COMMIT: 73648037f22c0cc2ca70995f2ea1637c12b7456a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:53:16 [semverPrep] This is not a build commit. [Pipeline] sh 20:53:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:53:17 + grep -v github /etc/ssh/ssh_known_hosts 20:53:17 + [ -e /tmp/ssh_known_hosts ] 20:53:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:53:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:53:17 + sudo tee -a /etc/ssh/ssh_known_hosts 20:53:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:17 20:53:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:18 0.1.4: Pulling from edgex-devops/py-git-semver 20:53:18 b85a868b505f: Pulling fs layer 20:53:18 e2be974225ed: Pulling fs layer 20:53:18 339a4e72a1f5: Pulling fs layer 20:53:18 988bab9f4d93: Pulling fs layer 20:53:18 1469e6f7b9e6: Pulling fs layer 20:53:18 eaf3925da568: Pulling fs layer 20:53:18 bab4dde63d76: Pulling fs layer 20:53:18 bde34c3a00c8: Pulling fs layer 20:53:18 b352a97aabf1: Pulling fs layer 20:53:18 4872d77fe225: Pulling fs layer 20:53:18 5851b861e8e6: Pulling fs layer 20:53:18 bab4dde63d76: Waiting 20:53:18 bde34c3a00c8: Waiting 20:53:18 b352a97aabf1: Waiting 20:53:18 eaf3925da568: Waiting 20:53:18 1469e6f7b9e6: Waiting 20:53:18 4872d77fe225: Waiting 20:53:18 5851b861e8e6: Waiting 20:53:18 988bab9f4d93: Waiting 20:53:18 e2be974225ed: Download complete 20:53:18 988bab9f4d93: Verifying Checksum 20:53:18 988bab9f4d93: Download complete 20:53:18 1469e6f7b9e6: Verifying Checksum 20:53:18 1469e6f7b9e6: Download complete 20:53:18 eaf3925da568: Verifying Checksum 20:53:18 eaf3925da568: Download complete 20:53:18 339a4e72a1f5: Verifying Checksum 20:53:18 339a4e72a1f5: Download complete 20:53:18 bde34c3a00c8: Verifying Checksum 20:53:18 bde34c3a00c8: Download complete 20:53:18 b352a97aabf1: Verifying Checksum 20:53:18 b352a97aabf1: Download complete 20:53:18 4872d77fe225: Verifying Checksum 20:53:18 4872d77fe225: Download complete 20:53:18 5851b861e8e6: Download complete 20:53:18 b85a868b505f: Download complete 20:53:18 bab4dde63d76: Verifying Checksum 20:53:18 bab4dde63d76: Download complete 20:53:19 b85a868b505f: Pull complete 20:53:19 e2be974225ed: Pull complete 20:53:19 339a4e72a1f5: Pull complete 20:53:20 988bab9f4d93: Pull complete 20:53:20 1469e6f7b9e6: Pull complete 20:53:20 eaf3925da568: Pull complete 20:53:22 bab4dde63d76: Pull complete 20:53:22 bde34c3a00c8: Pull complete 20:53:22 b352a97aabf1: Pull complete 20:53:22 4872d77fe225: Pull complete 20:53:22 5851b861e8e6: Pull complete 20:53:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:53:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:53:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:22 prd-ubuntu20.04-docker-8c-8g-22803 does not seem to be running inside a container 20:53:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-419 -v /w/workspace/gexfoundry_device-rest-go_PR-419:/w/workspace/gexfoundry_device-rest-go_PR-419:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-419@tmp:/w/workspace/gexfoundry_device-rest-go_PR-419@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:53:25 $ docker top e720717cca54cc6add457d68314e86bda6ab412c01066c3e8b74478f92952999 -eo pid,comm 20:53:25 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:53:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:53:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:25 [ssh-agent] Looking for ssh-agent implementation... 20:53:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:25 $ docker exec e720717cca54cc6add457d68314e86bda6ab412c01066c3e8b74478f92952999 ssh-agent 20:53:25 SSH_AUTH_SOCK=/tmp/ssh-0zUzV7BSunma/agent.33 20:53:25 SSH_AGENT_PID=39 20:53:25 Running ssh-add (command line suppressed) 20:53:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-419@tmp/private_key_7799810437920190452.key (/w/workspace/gexfoundry_device-rest-go_PR-419@tmp/private_key_7799810437920190452.key) 20:53:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:26 + git tag --points-at HEAD [Pipeline] } 20:53:26 $ docker exec --env ******** --env ******** e720717cca54cc6add457d68314e86bda6ab412c01066c3e8b74478f92952999 ssh-agent -k 20:53:26 unset SSH_AUTH_SOCK; 20:53:26 unset SSH_AGENT_PID; 20:53:26 echo Agent pid 39 killed; 20:53:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:53:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:53:26 [ssh-agent] Looking for ssh-agent implementation... 20:53:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:53:26 $ docker exec e720717cca54cc6add457d68314e86bda6ab412c01066c3e8b74478f92952999 ssh-agent 20:53:26 SSH_AUTH_SOCK=/tmp/ssh-uBgTUQP3n3nq/agent.72 20:53:26 SSH_AGENT_PID=78 20:53:26 Running ssh-add (command line suppressed) 20:53:26 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-419@tmp/private_key_5561997028670729552.key (/w/workspace/gexfoundry_device-rest-go_PR-419@tmp/private_key_5561997028670729552.key) 20:53:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:53:27 + git semver init 20:53:27 2024-10-14 20:53:27,571 [run_init] DEBUG init version:0.0.0 force:False 20:53:27 2024-10-14 20:53:27,572 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-419/.semver 20:53:27 2024-10-14 20:53:27,573 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-419/.semver 20:53:27 2024-10-14 20:53:27,573 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-419/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-419, universal_newlines=False, shell=None, istream=None) 20:53:29 2024-10-14 20:53:28,776 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-419/.git/info/exclude 20:53:29 2024-10-14 20:53:28,777 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-419/.semver/PR-419 with force:False 20:53:29 2024-10-14 20:53:28,777 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-419/.semver/PR-419 20:53:29 2024-10-14 20:53:28,780 [execute] INFO git cat-file --batch-check 20:53:29 2024-10-14 20:53:28,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-419/.semver, universal_newlines=False, shell=None, istream=) 20:53:29 2024-10-14 20:53:28,786 [execute] INFO git cat-file --batch 20:53:29 2024-10-14 20:53:28,786 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-419/.semver, universal_newlines=False, shell=None, istream=) 20:53:29 2024-10-14 20:53:28,791 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-419/.semver/PR-419 20:53:29 0.0.0 [Pipeline] } 20:53:29 $ docker exec --env ******** --env ******** e720717cca54cc6add457d68314e86bda6ab412c01066c3e8b74478f92952999 ssh-agent -k 20:53:29 unset SSH_AUTH_SOCK; 20:53:29 unset SSH_AGENT_PID; 20:53:29 echo Agent pid 78 killed; 20:53:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:53:29 + git semver [Pipeline] } 20:53:29 $ docker stop --time=1 e720717cca54cc6add457d68314e86bda6ab412c01066c3e8b74478f92952999 20:53:31 $ docker rm -f --volumes e720717cca54cc6add457d68314e86bda6ab412c01066c3e8b74478f92952999 [Pipeline] // withDockerContainer [Pipeline] sh 20:53:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:53:31 Stashed 1 file(s) [Pipeline] echo 20:53:31 [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:53:32 provisioning config files... 20:53:32 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-419@tmp/config11850174678608878853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:33 ---> ****-login.sh 20:53:33 nexus3.edgexfoundry.org:10001 20:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:33 Configure a credential helper to remove this warning. See 20:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:33 20:53:33 Login Succeeded 20:53:33 nexus3.edgexfoundry.org:10002 20:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:33 Configure a credential helper to remove this warning. See 20:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:33 20:53:33 Login Succeeded 20:53:33 nexus3.edgexfoundry.org:10003 20:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:33 Configure a credential helper to remove this warning. See 20:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:33 20:53:33 Login Succeeded 20:53:33 nexus3.edgexfoundry.org:10004 20:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:33 Configure a credential helper to remove this warning. See 20:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:33 20:53:33 Login Succeeded 20:53:33 ****.io 20:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:53:33 Configure a credential helper to remove this warning. See 20:53:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:53:33 20:53:33 Login Succeeded 20:53:33 ---> ****-login.sh ends [Pipeline] } 20:53:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:53:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:53:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:53:33 ========================================================= 20:53:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:53:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:34 + 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:53:34 Sending build context to Docker daemon 16.62MB 20:53:34 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:53:34 Step 2/12 : FROM ${BASE} AS builder 20:53:34 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:53:34 43c4264eed91: Pulling fs layer 20:53:34 4cc291be95ef: Pulling fs layer 20:53:34 2ac1f1163629: Pulling fs layer 20:53:34 5c3c966382ef: Pulling fs layer 20:53:34 4f4fb700ef54: Pulling fs layer 20:53:34 5d5c8e513c77: Pulling fs layer 20:53:34 9f66e0745190: Pulling fs layer 20:53:34 f49a43e4bbc0: Pulling fs layer 20:53:34 561ebcabdf7f: Pulling fs layer 20:53:34 5d5c8e513c77: Waiting 20:53:34 f49a43e4bbc0: Waiting 20:53:34 9f66e0745190: Waiting 20:53:34 561ebcabdf7f: Waiting 20:53:34 5c3c966382ef: Waiting 20:53:34 4cc291be95ef: Verifying Checksum 20:53:34 4cc291be95ef: Download complete 20:53:34 5c3c966382ef: Verifying Checksum 20:53:34 5c3c966382ef: Download complete 20:53:34 4f4fb700ef54: Download complete 20:53:34 5d5c8e513c77: Verifying Checksum 20:53:34 5d5c8e513c77: Download complete 20:53:34 43c4264eed91: Verifying Checksum 20:53:34 43c4264eed91: Download complete 20:53:34 9f66e0745190: Verifying Checksum 20:53:34 9f66e0745190: Download complete 20:53:34 43c4264eed91: Pull complete 20:53:34 561ebcabdf7f: Verifying Checksum 20:53:34 561ebcabdf7f: Download complete 20:53:34 4cc291be95ef: Pull complete 20:53:35 2ac1f1163629: Download complete 20:53:35 f49a43e4bbc0: Verifying Checksum 20:53:35 f49a43e4bbc0: Download complete 20:53:37 2ac1f1163629: Pull complete 20:53:38 5c3c966382ef: Pull complete 20:53:38 4f4fb700ef54: Pull complete 20:53:38 5d5c8e513c77: Pull complete 20:53:38 9f66e0745190: Pull complete 20:53:40 f49a43e4bbc0: Pull complete 20:53:40 561ebcabdf7f: Pull complete 20:53:40 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 20:53:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:53:40 ---> 3a752c3f9dda 20:53:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:53:47 Still waiting to schedule task 20:53:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:53:47 ---> Running in 37f9f74f59cc 20:53:47 Removing intermediate container 37f9f74f59cc 20:53:47 ---> dd9b65c7f55f 20:53:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:53:47 ---> Running in 557cc584f6af 20:53:47 Removing intermediate container 557cc584f6af 20:53:47 ---> f6ec2d126909 20:53:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:53:47 ---> Running in e49ff30caaa3 20:53:47 Removing intermediate container e49ff30caaa3 20:53:47 ---> eea479f21f6f 20:53:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:53:47 ---> Running in ca41b6939487 20:53:47 Removing intermediate container ca41b6939487 20:53:47 ---> 6dd72dcf96cc 20:53:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:53:47 ---> Running in ea2c79aac46d 20:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:53:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:53:47 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:53:47 (2/4) Installing libedit (20240517.3.1-r0) 20:53:47 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:53:47 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:53:47 Executing busybox-1.36.1-r29.trigger 20:53:47 OK: 250 MiB in 58 packages 20:53:48 Removing intermediate container ea2c79aac46d 20:53:48 ---> 60c5ead59904 20:53:48 Step 8/12 : WORKDIR /device-rest-go 20:53:48 ---> Running in a55b6de7f981 20:53:48 Removing intermediate container a55b6de7f981 20:53:48 ---> 38bafb2ab9e0 20:53:48 Step 9/12 : COPY go.mod vendor* ./ 20:53:48 ---> 33a3e83f96e6 20:53:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:48 ---> Running in 965ab4a3f8b9 20:54:44 Removing intermediate container 965ab4a3f8b9 20:54:44 ---> 5c9853609652 20:54:44 Step 11/12 : COPY . . 20:54:44 ---> 439fb3e6a34a 20:54:44 Step 12/12 : RUN $MAKE 20:54:44 ---> Running in 4e35475e00de 20:54:44 noop 20:54:44 Removing intermediate container 4e35475e00de 20:54:44 ---> e1c5c72cd29a 20:54:44 Successfully built e1c5c72cd29a 20:54:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:45 + docker inspect -f . ci-base-image-x86_64 20:54:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:45 prd-ubuntu20.04-docker-8c-8g-22803 does not seem to be running inside a container 20:54:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-419 -v /w/workspace/gexfoundry_device-rest-go_PR-419:/w/workspace/gexfoundry_device-rest-go_PR-419:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-419@tmp:/w/workspace/gexfoundry_device-rest-go_PR-419@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:54:45 $ docker top 13f07973e39d1fdc1f052ed7ac579c755b7d86b5a9978179eac2585ddc81951a -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:46 + go version 20:54:46 go version go1.23.2 linux/amd64 [Pipeline] } 20:54:46 $ docker stop --time=1 13f07973e39d1fdc1f052ed7ac579c755b7d86b5a9978179eac2585ddc81951a 20:54:47 $ docker rm -f --volumes 13f07973e39d1fdc1f052ed7ac579c755b7d86b5a9978179eac2585ddc81951a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:48 + docker inspect -f . ci-base-image-x86_64 20:54:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:48 prd-ubuntu20.04-docker-8c-8g-22803 does not seem to be running inside a container 20:54:48 $ 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-419 -v /w/workspace/gexfoundry_device-rest-go_PR-419:/w/workspace/gexfoundry_device-rest-go_PR-419:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-419@tmp:/w/workspace/gexfoundry_device-rest-go_PR-419@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:54:49 $ docker top 6b30a81393e698e0c156da2ad2db7b7d1a0b50d5ce768d63bb459807f64277b4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:54:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-419 [Pipeline] fileExists [Pipeline] sh 20:54:49 + make test 20:54:49 go test ./... -coverprofile=coverage.out ./... 20:54:51 ? github.com/edgexfoundry/device-rest-go [no test files] 20:55:09 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:55:09 ok github.com/edgexfoundry/device-rest-go/driver 0.006s coverage: 33.2% of statements 20:55:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22804 in /w/workspace/gexfoundry_device-rest-go_PR-419 [Pipeline] { [Pipeline] ws 20:55:14 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:55:17 The recommended git tool is: git 20:55:17 go vet ./... 20:55:22 using credential edgex-jenkins-ssh 20:55:22 Cloning the remote Git repository 20:55:22 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:55:22 > git init /w/workspace/device-rest-go/1 # timeout=10 20:55:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:55:22 > git --version # timeout=10 20:55:22 > git --version # 'git version 2.25.1' 20:55:22 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:55:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:55:23 ./bin/test-attribution-txt.sh [Pipeline] echo 20:55:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:55:23 $ docker stop --time=1 6b30a81393e698e0c156da2ad2db7b7d1a0b50d5ce768d63bb459807f64277b4 20:55:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:25 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:55:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:55:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:55:26 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/419/head:refs/remotes/origin/PR-419 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:55:26 Merging remotes/origin/main commit 9c2cca6ccca3210e07b712156771ed12440b1abf into PR head commit 73648037f22c0cc2ca70995f2ea1637c12b7456a 20:55:27 Merge succeeded, producing 73648037f22c0cc2ca70995f2ea1637c12b7456a 20:55:27 Checking out Revision 73648037f22c0cc2ca70995f2ea1637c12b7456a (PR-419) 20:55:27 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:55:27 > git --version # timeout=10 20:55:27 > git --version # 'git version 2.25.1' 20:55:27 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 20:55:27 $ docker rm -f --volumes 6b30a81393e698e0c156da2ad2db7b7d1a0b50d5ce768d63bb459807f64277b4 20:55:26 > git config core.sparsecheckout # timeout=10 20:55:27 > git checkout -f 73648037f22c0cc2ca70995f2ea1637c12b7456a # timeout=10 20:55:27 > git remote # timeout=10 20:55:27 > git config --get remote.origin.url # timeout=10 20:55:27 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:27 > git merge 9c2cca6ccca3210e07b712156771ed12440b1abf # timeout=10 20:55:27 > git rev-parse HEAD^{commit} # timeout=10 20:55:27 > git config core.sparsecheckout # timeout=10 20:55:27 > git checkout -f 73648037f22c0cc2ca70995f2ea1637c12b7456a # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh 20:55:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:55:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:55:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:55:29 + ls -al . 20:55:29 total 256 20:55:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 20:54 . 20:55:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 20:52 .. 20:55:29 -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 20:53 .dockerignore 20:55:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 20:55 .git 20:55:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 20:53 .github 20:55:29 -rw-rw-r-- 1 jenkins jenkins 264 Oct 14 20:53 .gitignore 20:55:29 -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 20:53 .golangci.yml 20:55:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 20:53 .semver 20:55:29 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 14 20:53 Attribution.txt 20:55:29 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 14 20:53 CHANGELOG.md 20:55:29 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 14 20:53 Dockerfile 20:55:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 20:53 GOVERNANCE.md 20:55:29 -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 20:53 Jenkinsfile 20:55:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 20:53 LICENSE 20:55:29 -rw-rw-r-- 1 jenkins jenkins 2553 Oct 14 20:53 Makefile 20:55:29 -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 20:53 OWNERS.md 20:55:29 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 14 20:53 README.md 20:55:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 20:53 VERSION 20:55:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 20:53 bin 20:55:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 20:53 cmd 20:55:29 -rw-r--r-- 1 jenkins jenkins 14565 Oct 14 20:55 coverage.out 20:55:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 20:53 driver 20:55:29 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 14 20:53 go.mod 20:55:29 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 20:53 go.sum 20:55:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 20:53 openapi 20:55:29 -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 20:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:30 + 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=73648037f22c0cc2ca70995f2ea1637c12b7456a --label arch=amd64 --label version=0.0.0 . 20:55:30 Sending build context to Docker daemon 16.64MB 20:55:30 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:55:30 Step 2/26 : FROM ${BASE} AS builder 20:55:30 ---> e1c5c72cd29a 20:55:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:55:30 ---> Running in 02204264fdfb 20:55:30 Removing intermediate container 02204264fdfb 20:55:30 ---> 8cecd12dfe07 20:55:30 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:55:30 ---> Running in 002f59829c2f 20:55:30 Removing intermediate container 002f59829c2f 20:55:30 ---> 4eca3a3093e1 20:55:30 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:55:30 ---> Running in 2b228af8d298 20:55:30 Removing intermediate container 2b228af8d298 20:55:30 ---> 816ca9ac5845 20:55:30 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:55:30 ---> Running in 2458e7cda228 20:55:30 Removing intermediate container 2458e7cda228 20:55:30 ---> b01a683815a8 20:55:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:55:30 ---> Running in 880e681e0f85 20:55:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:55:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:55:31 OK: 250 MiB in 58 packages 20:55:31 Removing intermediate container 880e681e0f85 20:55:31 ---> 8a3542e880de 20:55:31 Step 8/26 : WORKDIR /device-rest-go 20:55:31 ---> Running in 084cdbe0e6ef [Pipeline] withEnv [Pipeline] { 20:55:32 Removing intermediate container 084cdbe0e6ef 20:55:32 ---> 003083cbf044 20:55:32 Step 9/26 : COPY go.mod vendor* ./ 20:55:32 ---> f580c77d9a48 20:55:32 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:32 ---> Running in 7a42a3bd8deb [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:32 Removing intermediate container 7a42a3bd8deb 20:55:32 ---> 5624a9cfb20a 20:55:32 Step 11/26 : COPY . . 20:55:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:55:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:55:32 Dload Upload Total Spent Left Speed 20:55:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 79185 0 --:--:-- --:--:-- --:--:-- 79185 [Pipeline] sh 20:55:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:55:33 ---> 0c35a503f109 20:55:33 Step 12/26 : RUN $MAKE 20:55:33 ---> Running in 047d680d588a 20:55:33 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.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 20:55:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:55:33 + sudo tee /etc/docker/daemon.new 20:55:33 { 20:55:33 "registry-mirrors": [ 20:55:33 "https://nexus3.edgexfoundry.org:10001" 20:55:33 ], 20:55:33 "bip": "10.250.0.254/24", 20:55:33 "hosts": [ 20:55:33 "tcp://0.0.0.0:5555", 20:55:33 "unix:///var/run/docker.sock" 20:55:33 ], 20:55:33 "mtu": 1458, 20:55:33 "selinux-enabled": true, 20:55:33 "seccomp-profile": "/etc/docker/seccomp.json" 20:55:33 } [Pipeline] sh 20:55:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:55:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:52 provisioning config files... 20:55:52 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4774133804212257633tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:53 ---> ****-login.sh 20:55:53 nexus3.edgexfoundry.org:10001 20:55:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:55:53 Configure a credential helper to remove this warning. See 20:55:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:55:53 20:55:53 Login Succeeded 20:55:53 nexus3.edgexfoundry.org:10002 20:55:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:55:53 Configure a credential helper to remove this warning. See 20:55:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:55:53 20:55:53 Login Succeeded 20:55:53 nexus3.edgexfoundry.org:10003 20:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:55:54 Configure a credential helper to remove this warning. See 20:55:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:55:54 20:55:54 Login Succeeded 20:55:54 nexus3.edgexfoundry.org:10004 20:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:55:54 Configure a credential helper to remove this warning. See 20:55:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:55:54 20:55:54 Login Succeeded 20:55:54 ****.io 20:55:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:55:54 Configure a credential helper to remove this warning. See 20:55:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:55:54 20:55:54 Login Succeeded 20:55:54 ---> ****-login.sh ends [Pipeline] } 20:55:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:55:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:55:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:55:55 ========================================================= 20:55:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 20:55:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:56 + 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:55:56 Sending build context to Docker daemon 140.8kB 20:55:56 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:55:56 Step 2/12 : FROM ${BASE} AS builder 20:55:56 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:55:56 cf04c63912e1: Pulling fs layer 20:55:56 55b35a11ae5e: Pulling fs layer 20:55:56 a37a00ec5f00: Pulling fs layer 20:55:56 50b3750afda1: Pulling fs layer 20:55:56 4f4fb700ef54: Pulling fs layer 20:55:56 80978eb59214: Pulling fs layer 20:55:56 c9f46d7d2bd2: Pulling fs layer 20:55:56 50b3750afda1: Waiting 20:55:56 4f4fb700ef54: Waiting 20:55:56 80978eb59214: Waiting 20:55:56 c5a475d317c9: Pulling fs layer 20:55:56 c9f46d7d2bd2: Waiting 20:55:56 c5a475d317c9: Waiting 20:55:56 55b35a11ae5e: Verifying Checksum 20:55:56 55b35a11ae5e: Download complete 20:55:56 50b3750afda1: Verifying Checksum 20:55:56 50b3750afda1: Download complete 20:55:56 4f4fb700ef54: Verifying Checksum 20:55:56 4f4fb700ef54: Download complete 20:55:56 80978eb59214: Verifying Checksum 20:55:56 80978eb59214: Download complete 20:55:56 cf04c63912e1: Verifying Checksum 20:55:56 cf04c63912e1: Download complete 20:55:56 c5a475d317c9: Verifying Checksum 20:55:56 c5a475d317c9: Download complete 20:55:57 cf04c63912e1: Pull complete 20:55:58 55b35a11ae5e: Pull complete 20:55:58 a37a00ec5f00: Verifying Checksum 20:55:58 a37a00ec5f00: Download complete 20:55:58 c9f46d7d2bd2: Verifying Checksum 20:55:58 c9f46d7d2bd2: Download complete 20:56:05 Removing intermediate container 047d680d588a 20:56:05 ---> b28bf9b028dd 20:56:05 Step 13/26 : FROM alpine:3.20 20:56:05 3.20: Pulling from library/alpine 20:56:05 43c4264eed91: Already exists 20:56:05 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 20:56:05 Status: Downloaded newer image for alpine:3.20 20:56:05 ---> 91ef0af61f39 20:56:05 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:56:05 ---> Running in aaee9be64791 20:56:05 Removing intermediate container aaee9be64791 20:56:05 ---> 45cc2c44c0e7 20:56:05 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:56:05 ---> Running in 37881d0cb137 20:56:05 Removing intermediate container 37881d0cb137 20:56:05 ---> c65fb3af1dd7 20:56:05 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:56:05 ---> Running in 64c85b8b9f2a 20:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:56:05 (1/1) Installing dumb-init (1.2.5-r3) 20:56:05 Executing busybox-1.36.1-r29.trigger 20:56:05 OK: 8 MiB in 15 packages 20:56:05 Removing intermediate container 64c85b8b9f2a 20:56:05 ---> 3dc81ade3e34 20:56:05 Step 17/26 : RUN apk --no-cache upgrade 20:56:05 ---> Running in 910bc463161a 20:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:56:05 Upgrading critical system libraries and apk-tools: 20:56:05 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 20:56:05 Executing busybox-1.36.1-r29.trigger 20:56:06 Continuing the upgrade transaction with new apk-tools: 20:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:56:06 OK: 8 MiB in 15 packages 20:56:06 Removing intermediate container 910bc463161a 20:56:06 ---> 08508ad9c4bb 20:56:06 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:56:08 ---> d6061ab4d1d1 20:56:08 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:56:08 ---> 6c862d8aaafa 20:56:08 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:56:08 ---> 235f8f82e731 20:56:08 Step 21/26 : EXPOSE 59986 20:56:08 ---> Running in 2d7b30254d30 20:56:08 Removing intermediate container 2d7b30254d30 20:56:08 ---> 2aba67dd3361 20:56:08 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:56:08 ---> Running in 52525072de53 20:56:08 Removing intermediate container 52525072de53 20:56:08 ---> 9da133c51b3b 20:56:08 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:56:08 ---> Running in cb67a9ec61d9 20:56:08 Removing intermediate container cb67a9ec61d9 20:56:08 ---> e980d5cfe4d8 20:56:08 Step 24/26 : LABEL arch=amd64 20:56:08 ---> Running in 9518b36bb1ed 20:56:08 Removing intermediate container 9518b36bb1ed 20:56:08 ---> 92d43e75aadc 20:56:08 Step 25/26 : LABEL git_sha=73648037f22c0cc2ca70995f2ea1637c12b7456a 20:56:08 ---> Running in 5e15f75c3778 20:56:09 Removing intermediate container 5e15f75c3778 20:56:09 ---> 1018d111d82c 20:56:09 Step 26/26 : LABEL version=0.0.0 20:56:09 ---> Running in 09d3300e1b8f 20:56:09 Removing intermediate container 09d3300e1b8f 20:56:09 ---> ce7e3aa19bda 20:56:09 [Warning] One or more build-args [ARCH] were not consumed 20:56:09 Successfully built ce7e3aa19bda 20:56:09 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:10 20:56:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:10 latest: Pulling from edgex-lftools-log-publisher 20:56:10 5eb5b503b376: Pulling fs layer 20:56:10 5c69ac0246d0: Pulling fs layer 20:56:10 ec43610c2a17: Pulling fs layer 20:56:10 3a2ae6a8a46f: Pulling fs layer 20:56:10 33b1e0a273af: Pulling fs layer 20:56:10 5d3b04190fa2: Pulling fs layer 20:56:10 2f39f015ded8: Pulling fs layer 20:56:10 3a2ae6a8a46f: Waiting 20:56:10 33b1e0a273af: Waiting 20:56:10 5d3b04190fa2: Waiting 20:56:10 2f39f015ded8: Waiting 20:56:10 5c69ac0246d0: Download complete 20:56:10 3a2ae6a8a46f: Verifying Checksum 20:56:10 3a2ae6a8a46f: Download complete 20:56:10 33b1e0a273af: Verifying Checksum 20:56:10 33b1e0a273af: Download complete 20:56:10 5d3b04190fa2: Verifying Checksum 20:56:10 5d3b04190fa2: Download complete 20:56:10 ec43610c2a17: Verifying Checksum 20:56:10 ec43610c2a17: Download complete 20:56:10 5eb5b503b376: Verifying Checksum 20:56:10 5eb5b503b376: Download complete 20:56:11 a37a00ec5f00: Pull complete 20:56:11 50b3750afda1: Pull complete 20:56:11 4f4fb700ef54: Pull complete 20:56:11 80978eb59214: Pull complete 20:56:11 2f39f015ded8: Download complete 20:56:12 5eb5b503b376: Pull complete 20:56:12 5c69ac0246d0: Pull complete 20:56:12 ec43610c2a17: Pull complete 20:56:12 3a2ae6a8a46f: Pull complete 20:56:13 33b1e0a273af: Pull complete 20:56:13 5d3b04190fa2: Pull complete 20:56:17 c9f46d7d2bd2: Pull complete 20:56:18 2f39f015ded8: Pull complete 20:56:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:56:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:19 c5a475d317c9: Pull complete 20:56:19 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 20:56:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 20:56:19 ---> be29e6b0f0d4 20:56:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:56:19 prd-ubuntu20.04-docker-8c-8g-22803 does not seem to be running inside a container 20:56:19 $ 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-419 -v /w/workspace/gexfoundry_device-rest-go_PR-419:/w/workspace/gexfoundry_device-rest-go_PR-419:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-419@tmp:/w/workspace/gexfoundry_device-rest-go_PR-419@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:56:21 ---> Running in 418f9f06ee72 20:56:21 Removing intermediate container 418f9f06ee72 20:56:21 ---> bb3be0e82d0f 20:56:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:56:21 ---> Running in a1e2cb188537 20:56:21 Removing intermediate container a1e2cb188537 20:56:21 ---> d444951baf76 20:56:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:56:21 ---> Running in a333378e3f1e 20:56:21 Removing intermediate container a333378e3f1e 20:56:21 ---> 5b14d056b3cf 20:56:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:56:21 ---> Running in 10a0f6b19f81 20:56:22 Removing intermediate container 10a0f6b19f81 20:56:22 ---> 5b793ef4861d 20:56:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:56:22 ---> Running in 94f20797b5cf 20:56:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:56:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:56:25 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:56:25 (2/4) Installing libedit (20240517.3.1-r0) 20:56:25 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:56:25 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:56:25 Executing busybox-1.36.1-r29.trigger 20:56:25 OK: 242 MiB in 58 packages 20:56:26 Removing intermediate container 94f20797b5cf 20:56:26 ---> 027db6a0fd5e 20:56:26 Step 8/12 : WORKDIR /device-rest-go 20:56:26 ---> Running in 2326843c422d 20:56:26 Removing intermediate container 2326843c422d 20:56:26 ---> cf5b882460a2 20:56:26 Step 9/12 : COPY go.mod vendor* ./ 20:56:26 $ docker top 5148e4d7d0fb11b362ceec0d2d917c7022faa9ae6e47d17d6f4068777804ebd9 -eo pid,comm [Pipeline] { 20:56:26 ---> 382e46c87789 20:56:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:26 ---> Running in 2962f315bc63 [Pipeline] libraryResource [Pipeline] sh 20:56:27 ---> job-cost.sh 20:56:27 lf-activate-venv: SKIPPING 20:56:27 INFO: No Stack... 20:56:27 INFO: Retrieving Pricing Info for: v3-standard-8 20:56:28 INFO: Archiving Costs [Pipeline] sh 20:56:28 + cat /w/workspace/gexfoundry_device-rest-go_PR-419/archives/cost.csv 20:56:28 + cut -d, -f6 [Pipeline] lock 20:56:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-419-1-stack-cost] 20:56:28 Resource [jenkins-edgexfoundry-device-rest-go-PR-419-1-stack-cost] did not exist. Created. 20:56:28 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-419-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:28 + echo total: 0.2199999988079071 [Pipeline] stash 20:56:28 Stashed 1 file(s) [Pipeline] } 20:56:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-419-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:29 $ docker stop --time=1 5148e4d7d0fb11b362ceec0d2d917c7022faa9ae6e47d17d6f4068777804ebd9 20:56:31 $ docker rm -f --volumes 5148e4d7d0fb11b362ceec0d2d917c7022faa9ae6e47d17d6f4068777804ebd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:58:18 Removing intermediate container 2962f315bc63 20:58:18 ---> 65535fae6eb2 20:58:18 Step 11/12 : COPY . . 20:58:18 ---> a5c3bf6bf1d3 20:58:18 Step 12/12 : RUN $MAKE 20:58:18 ---> Running in 46b1303d2bc1 20:58:18 noop 20:58:18 Removing intermediate container 46b1303d2bc1 20:58:18 ---> 9b0b591155d2 20:58:18 Successfully built 9b0b591155d2 20:58:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:19 + docker inspect -f . ci-base-image-arm64 20:58:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:19 prd-ubuntu20.04-docker-arm64-4c-16g-22804 does not seem to be running inside a container 20:58:19 $ 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:58:20 $ docker top a0e97efacb8e4e05e9a3a40919064142d12af83ca1ce8aea2ed41f903f3e211b -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:21 + go version 20:58:21 go version go1.23.2 linux/arm64 [Pipeline] } 20:58:21 $ docker stop --time=1 a0e97efacb8e4e05e9a3a40919064142d12af83ca1ce8aea2ed41f903f3e211b 20:58:23 $ docker rm -f --volumes a0e97efacb8e4e05e9a3a40919064142d12af83ca1ce8aea2ed41f903f3e211b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:24 + docker inspect -f . ci-base-image-arm64 20:58:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:24 prd-ubuntu20.04-docker-arm64-4c-16g-22804 does not seem to be running inside a container 20:58:24 $ 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:58:25 $ docker top b1722e1a8a66d6dc9eb1f1aa5301cf51d5659f0315cce9a5f8c5e980bb2568e3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:26 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:58:27 + make test 20:58:27 go test ./... -coverprofile=coverage.out ./... 20:58:34 ? github.com/edgexfoundry/device-rest-go [no test files] 21:01:56 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 21:01:56 ok github.com/edgexfoundry/device-rest-go/driver 0.037s coverage: 33.2% of statements 21:01:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:01:56 go vet ./... 21:02:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:02:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:02:43 ./bin/test-attribution-txt.sh [Pipeline] echo 21:02:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:02:43 $ docker stop --time=1 b1722e1a8a66d6dc9eb1f1aa5301cf51d5659f0315cce9a5f8c5e980bb2568e3 21:02:45 $ docker rm -f --volumes b1722e1a8a66d6dc9eb1f1aa5301cf51d5659f0315cce9a5f8c5e980bb2568e3 [Pipeline] // withDockerContainer [Pipeline] sh 21:02:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:02:47 Warning: overwriting stash ‘coverage-report’ 21:02:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:02:48 + ls -al . 21:02:48 total 252 21:02:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 20:58 . 21:02:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 20:55 .. 21:02:48 -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 20:55 .dockerignore 21:02:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 20:55 .git 21:02:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 20:55 .github 21:02:48 -rw-rw-r-- 1 jenkins jenkins 264 Oct 14 20:55 .gitignore 21:02:48 -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 20:55 .golangci.yml 21:02:48 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 14 20:55 Attribution.txt 21:02:48 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 14 20:55 CHANGELOG.md 21:02:48 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 14 20:55 Dockerfile 21:02:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 20:55 GOVERNANCE.md 21:02:48 -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 20:55 Jenkinsfile 21:02:48 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 20:55 LICENSE 21:02:48 -rw-rw-r-- 1 jenkins jenkins 2553 Oct 14 20:55 Makefile 21:02:48 -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 20:55 OWNERS.md 21:02:48 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 14 20:55 README.md 21:02:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 20:53 VERSION 21:02:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 20:55 bin 21:02:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 20:55 cmd 21:02:48 -rw-r--r-- 1 jenkins jenkins 14565 Oct 14 21:01 coverage.out 21:02:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 20:55 driver 21:02:48 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 14 20:55 go.mod 21:02:48 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 20:55 go.sum 21:02:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 20:55 openapi 21:02:48 -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:49 + 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=73648037f22c0cc2ca70995f2ea1637c12b7456a --label arch=arm64 --label version=0.0.0 . 21:02:49 Sending build context to Docker daemon 156.2kB 21:02:49 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 21:02:49 Step 2/26 : FROM ${BASE} AS builder 21:02:49 ---> 9b0b591155d2 21:02:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:02:49 ---> Running in 1348d296e970 21:02:49 Removing intermediate container 1348d296e970 21:02:49 ---> 7dc816354b77 21:02:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:49 ---> Running in ce6654adf079 21:02:50 Removing intermediate container ce6654adf079 21:02:50 ---> 21409afd9b92 21:02:50 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:50 ---> Running in 1246eb890e76 21:02:50 Removing intermediate container 1246eb890e76 21:02:50 ---> 6aa725b805d3 21:02:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:02:50 ---> Running in 02158c186b6a 21:02:50 Removing intermediate container 02158c186b6a 21:02:50 ---> 6f898a0dfd5d 21:02:50 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:51 ---> Running in 1d256e1698f3 21:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:02:53 OK: 242 MiB in 58 packages 21:02:54 Removing intermediate container 1d256e1698f3 21:02:54 ---> 1d723f80f36f 21:02:54 Step 8/26 : WORKDIR /device-rest-go 21:02:54 ---> Running in 49624eeb1182 21:02:54 Removing intermediate container 49624eeb1182 21:02:54 ---> efb108f604e2 21:02:54 Step 9/26 : COPY go.mod vendor* ./ 21:02:55 ---> 7926442ad6d4 21:02:55 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:55 ---> Running in ef58e25a74d8 21:02:57 Removing intermediate container ef58e25a74d8 21:02:57 ---> 8f8b3b1bb345 21:02:57 Step 11/26 : COPY . . 21:02:57 ---> 91d8d13f2a0d 21:02:57 Step 12/26 : RUN $MAKE 21:02:57 ---> Running in 2e0802c3f3e2 21:02:58 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.46" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 21:06:20 Removing intermediate container 2e0802c3f3e2 21:06:20 ---> 6a8c7aa1f898 21:06:20 Step 13/26 : FROM alpine:3.20 21:06:20 3.20: Pulling from library/alpine 21:06:20 cf04c63912e1: Already exists 21:06:20 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 21:06:20 Status: Downloaded newer image for alpine:3.20 21:06:20 ---> c157a85ed455 21:06:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:06:20 ---> Running in b0ae3eb59c9c 21:06:20 Removing intermediate container b0ae3eb59c9c 21:06:20 ---> 50db37515c8c 21:06:20 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:06:20 ---> Running in 750d7d2112fb 21:06:20 Removing intermediate container 750d7d2112fb 21:06:20 ---> 939e8412fc9e 21:06:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:06:20 ---> Running in fd7d7d5a2f8f 21:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:06:20 (1/1) Installing dumb-init (1.2.5-r3) 21:06:20 Executing busybox-1.36.1-r29.trigger 21:06:20 OK: 9 MiB in 15 packages 21:06:20 Removing intermediate container fd7d7d5a2f8f 21:06:20 ---> 89214bc8f9fd 21:06:20 Step 17/26 : RUN apk --no-cache upgrade 21:06:20 ---> Running in f957f098dfdc 21:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:06:20 Upgrading critical system libraries and apk-tools: 21:06:20 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 21:06:20 Executing busybox-1.36.1-r29.trigger 21:06:20 Continuing the upgrade transaction with new apk-tools: 21:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:06:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:06:20 OK: 9 MiB in 15 packages 21:06:20 Removing intermediate container f957f098dfdc 21:06:20 ---> dee9b406fb9f 21:06:20 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:06:22 ---> 9a7a7d2d98cb 21:06:22 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:06:22 ---> 29ee4c85f0eb 21:06:22 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:06:23 ---> d2aa9d76cc05 21:06:23 Step 21/26 : EXPOSE 59986 21:06:23 ---> Running in f3729f94f919 21:06:23 Removing intermediate container f3729f94f919 21:06:23 ---> 84541e53cfdb 21:06:23 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:06:23 ---> Running in bd5c26d688f7 21:06:24 Removing intermediate container bd5c26d688f7 21:06:24 ---> f4cd6e4f79eb 21:06:24 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:06:24 ---> Running in 1220387fbaff 21:06:24 Removing intermediate container 1220387fbaff 21:06:24 ---> b538d5d26bcb 21:06:24 Step 24/26 : LABEL arch=arm64 21:06:24 ---> Running in 7e7c39ec0f8a 21:06:24 Removing intermediate container 7e7c39ec0f8a 21:06:24 ---> b94fffba8370 21:06:24 Step 25/26 : LABEL git_sha=73648037f22c0cc2ca70995f2ea1637c12b7456a 21:06:24 ---> Running in 18e7ba274220 21:06:25 Removing intermediate container 18e7ba274220 21:06:25 ---> d96ba9e69ec3 21:06:25 Step 26/26 : LABEL version=0.0.0 21:06:25 ---> Running in 4a378d649472 21:06:25 Removing intermediate container 4a378d649472 21:06:25 ---> 99c1b9ccfa5d 21:06:25 [Warning] One or more build-args [ARCH] were not consumed 21:06:25 Successfully built 99c1b9ccfa5d 21:06:25 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 21:06:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:26 21:06:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:26 arm64: Pulling from edgex-lftools-log-publisher 21:06:26 8998bd30e6a1: Pulling fs layer 21:06:26 04944245beec: Pulling fs layer 21:06:26 699f458cf7ca: Pulling fs layer 21:06:26 765212b225bb: Pulling fs layer 21:06:26 f23df028b6ca: Pulling fs layer 21:06:26 765212b225bb: Waiting 21:06:26 d65c8cfc05b1: Pulling fs layer 21:06:26 f23df028b6ca: Waiting 21:06:26 2437ff75d9bd: Pulling fs layer 21:06:26 d65c8cfc05b1: Waiting 21:06:26 2437ff75d9bd: Waiting 21:06:26 04944245beec: Verifying Checksum 21:06:26 04944245beec: Download complete 21:06:26 765212b225bb: Verifying Checksum 21:06:26 765212b225bb: Download complete 21:06:26 f23df028b6ca: Verifying Checksum 21:06:26 f23df028b6ca: Download complete 21:06:26 d65c8cfc05b1: Verifying Checksum 21:06:26 d65c8cfc05b1: Download complete 21:06:26 699f458cf7ca: Verifying Checksum 21:06:26 699f458cf7ca: Download complete 21:06:27 8998bd30e6a1: Verifying Checksum 21:06:27 8998bd30e6a1: Download complete 21:06:29 2437ff75d9bd: Verifying Checksum 21:06:29 2437ff75d9bd: Download complete 21:06:31 8998bd30e6a1: Pull complete 21:06:31 04944245beec: Pull complete 21:06:33 699f458cf7ca: Pull complete 21:06:33 765212b225bb: Pull complete 21:06:34 f23df028b6ca: Pull complete 21:06:34 d65c8cfc05b1: Pull complete 21:06:52 2437ff75d9bd: Pull complete 21:06:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:06:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:53 prd-ubuntu20.04-docker-arm64-4c-16g-22804 does not seem to be running inside a container 21:06:53 $ 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 21:06:55 $ docker top e329b27f65e14aee95a49dd6202be1f69cd567fe4783ed6e67fca0a74a6bcf43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:56 ---> job-cost.sh 21:06:56 lf-activate-venv: SKIPPING 21:06:56 INFO: No Stack... 21:06:57 INFO: Retrieving Pricing Info for: v3-standard-4 21:06:57 INFO: Archiving Costs [Pipeline] sh 21:06:58 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:06:58 + cut -d, -f6 [Pipeline] lock 21:06:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-419-1-stack-cost] 21:06:58 Resource [jenkins-edgexfoundry-device-rest-go-PR-419-1-stack-cost] did not exist. Created. 21:06:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-419-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:59 /w/workspace/device-rest-go/1@tmp/durable-8fdd48ac/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:06:59 + echo total: 0.10999999940395355 [Pipeline] stash 21:06:59 Warning: overwriting stash ‘stack-cost’ 21:06:59 Stashed 1 file(s) [Pipeline] } 21:06:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-419-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:59 $ docker stop --time=1 e329b27f65e14aee95a49dd6202be1f69cd567fe4783ed6e67fca0a74a6bcf43 21:07:01 $ docker rm -f --volumes e329b27f65e14aee95a49dd6202be1f69cd567fe4783ed6e67fca0a74a6bcf43 [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 21:07:02 provisioning config files... 21:07:02 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-419@tmp/config8773337382487185310tmp [Pipeline] { [Pipeline] sh 21:07:02 + set +x 21:07:02 + bash -s -- 21:07:02 + curl -s https://codecov.io/bash 21:07:03 21:07:03 _____ _ 21:07:03 / ____| | | 21:07:03 | | ___ __| | ___ ___ _____ __ 21:07:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:07:03 | |___| (_) | (_| | __/ (_| (_) \ V / 21:07:03 \_____\___/ \__,_|\___|\___\___/ \_/ 21:07:03 Bash-1.0.6 21:07:03 21:07:03 21:07:03 ==> git version 2.25.1 found 21:07:03 ==> 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 21:07:03 Release-Date: 2020-01-08 21:07:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:07:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:07:03 ==> Jenkins CI detected. 21:07:03 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-419 21:07:03 project root: . 21:07:03 --> token set from env 21:07:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:07:03 ==> Running gcov in . (disable via -X gcov) 21:07:03 ==> Python coveragepy not found 21:07:03 ==> Searching for coverage reports in: 21:07:03 + . 21:07:03 -> Found 1 reports 21:07:03 ==> Detecting git/mercurial file structure 21:07:03 ==> Reading reports 21:07:03 + ./coverage.out bytes=14565 21:07:03 ==> Appending adjustments 21:07:03 https://docs.codecov.io/docs/fixing-reports 21:07:03 + Found adjustments 21:07:03 ==> Gzipping contents 21:07:03 4.0K /tmp/codecov.h5acyt.gz 21:07:03 ==> Uploading reports 21:07:03 url: https://codecov.io 21:07:03 query: branch=PR-419&commit=73648037f22c0cc2ca70995f2ea1637c12b7456a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-419%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=419&job=&cmd_args= 21:07:03 -> Pinging Codecov 21:07:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-419&commit=73648037f22c0cc2ca70995f2ea1637c12b7456a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-419%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=419&job=&cmd_args= 21:07:03 -> Uploading to 21:07:03 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/73648037f22c0cc2ca70995f2ea1637c12b7456a/9ee3cc07-68e0-4ecc-9cad-5726d695556c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T210703Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=571ae7870850de894b418a7aa6fd8137e8e41fbed98f594e9d6c31c2beed60e0 21:07:03 % Total % Received % Xferd Average Speed Time Time Time Current 21:07:03 Dload Upload Total Spent Left Speed 21:07:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 10800 --:--:-- --:--:-- --:--:-- 10751 21:07:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/73648037f22c0cc2ca70995f2ea1637c12b7456a [Pipeline] } 21:07:03 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 21:07:06 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-419/archives ] 21:07:06 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-419/archives 21:07:06 total 16 21:07:06 drwxr-xr-x 3 root root 4096 Oct 14 20:56 . 21:07:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 20:56 .. 21:07:06 drwxr-xr-x 2 root root 4096 Oct 14 20:56 cost 21:07:06 -rw-r--r-- 1 root root 86 Oct 14 20:56 cost.csv 21:07:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-419/archives 21:07:06 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-419/archives 21:07:06 total 16 21:07:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 20:56 . 21:07:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 20:56 .. 21:07:06 drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 20:56 cost 21:07:06 -rw-r--r-- 1 jenkins jenkins 86 Oct 14 20:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:07:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:07:07 ---> package-listing.sh 21:07:07 ++ facter osfamily 21:07:07 ++ tr '[:upper:]' '[:lower:]' 21:07:07 + OS_FAMILY=debian 21:07:07 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-419 21:07:07 + START_PACKAGES=/tmp/packages_start.txt 21:07:07 + END_PACKAGES=/tmp/packages_end.txt 21:07:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:07:07 + PACKAGES=/tmp/packages_start.txt 21:07:07 + '[' /w/workspace/gexfoundry_device-rest-go_PR-419 ']' 21:07:07 + PACKAGES=/tmp/packages_end.txt 21:07:07 + case "${OS_FAMILY}" in 21:07:07 + dpkg -l 21:07:07 + grep '^ii' 21:07:07 + '[' -f /tmp/packages_start.txt ']' 21:07:07 + '[' -f /tmp/packages_end.txt ']' 21:07:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:07:07 + '[' /w/workspace/gexfoundry_device-rest-go_PR-419 ']' 21:07:07 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-419/archives/ 21:07:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-419/archives/ [Pipeline] echo 21:07:07 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-419/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:07:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:08 prd-ubuntu20.04-docker-8c-8g-22803 does not seem to be running inside a container 21:07:08 $ 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-419/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-419 -v /w/workspace/gexfoundry_device-rest-go_PR-419:/w/workspace/gexfoundry_device-rest-go_PR-419:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-419@tmp:/w/workspace/gexfoundry_device-rest-go_PR-419@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 21:07:09 $ docker top 92cbed3df178d8ae1a3296bcb25661e0b55370ad255a0f5ea01b446e85ed594a -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:09 + touch /tmp/pre-build-complete [Pipeline] sh 21:07:09 + mkdir -p /var/log/sysstat [Pipeline] sh 21:07:10 + ls /var/log/sa-host 21:07:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:10 provisioning config files... 21:07:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-419@tmp/config14800451304753677059tmp [Pipeline] { [Pipeline] echo 21:07:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:07:11 ---> create-netrc.sh [Pipeline] } 21:07:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:07:11 ---> python-tools-install.sh [Pipeline] echo 21:07:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:07:11 ---> sudo-logs.sh 21:07:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:07:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:07:12 ---> job-cost.sh 21:07:12 lf-activate-venv: SKIPPING 21:07:12 DEBUG: total: 0.2199999988079071 21:07:12 INFO: Retrieving Stack Cost... 21:07:12 INFO: Retrieving Pricing Info for: v3-standard-8 21:07:13 INFO: Archiving Costs [Pipeline] echo 21:07:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:07:13 ---> logs-deploy.sh 21:07:13 lf-activate-venv: SKIPPING 21:07:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-419/1 21:07:13 INFO: archiving workspace using pattern(s): 21:07:14 Archives upload complete. 21:07:14 INFO: archiving logs to Nexus 21:07:15 ---> uname -a: 21:07:15 Linux prd-ubuntu20-04-docker-8c-8g-22803 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:07:15 21:07:15 21:07:15 ---> lscpu: 21:07:15 Architecture: x86_64 21:07:15 CPU op-mode(s): 32-bit, 64-bit 21:07:15 Byte Order: Little Endian 21:07:15 Address sizes: 40 bits physical, 48 bits virtual 21:07:15 CPU(s): 8 21:07:15 On-line CPU(s) list: 0-7 21:07:15 Thread(s) per core: 1 21:07:15 Core(s) per socket: 1 21:07:15 Socket(s): 8 21:07:15 NUMA node(s): 1 21:07:15 Vendor ID: AuthenticAMD 21:07:15 CPU family: 23 21:07:15 Model: 49 21:07:15 Model name: AMD EPYC-Rome Processor 21:07:15 Stepping: 0 21:07:15 CPU MHz: 2799.998 21:07:15 BogoMIPS: 5599.99 21:07:15 Virtualization: AMD-V 21:07:15 Hypervisor vendor: KVM 21:07:15 Virtualization type: full 21:07:15 L1d cache: 256 KiB 21:07:15 L1i cache: 256 KiB 21:07:15 L2 cache: 4 MiB 21:07:15 L3 cache: 128 MiB 21:07:15 NUMA node0 CPU(s): 0-7 21:07:15 Vulnerability Itlb multihit: Not affected 21:07:15 Vulnerability L1tf: Not affected 21:07:15 Vulnerability Mds: Not affected 21:07:15 Vulnerability Meltdown: Not affected 21:07:15 Vulnerability Mmio stale data: Not affected 21:07:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:07:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:07:15 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:07:15 Vulnerability Srbds: Not affected 21:07:15 Vulnerability Tsx async abort: Not affected 21:07:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 21:07:15 21:07:15 21:07:15 ---> nproc: 21:07:15 8 21:07:15 21:07:15 21:07:15 ---> df -h: 21:07:15 Filesystem Size Used Avail Use% Mounted on 21:07:15 overlay 155G 12G 143G 8% / 21:07:15 tmpfs 64M 0 64M 0% /dev 21:07:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:07:15 shm 64M 0 64M 0% /dev/shm 21:07:15 /dev/vda1 155G 12G 143G 8% /facter-os 21:07:15 21:07:15 21:07:15 ---> sar -b -r -n DEV: 21:07:15 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-22803) 10/14/24 _x86_64_ (8 CPU) 21:07:15 21:07:15 20:52:23 LINUX RESTART (8 CPU) 21:07:15 21:07:15 20:53:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:07:15 20:54:01 357.18 10.27 346.91 0.00 1773.26 37152.62 0.00 21:07:15 20:55:01 248.24 1.87 246.38 0.00 16.26 77662.52 0.00 21:07:15 20:56:01 104.25 0.18 104.07 0.00 10.53 36768.67 0.00 21:07:15 20:57:01 125.28 0.13 125.15 0.00 19.20 31451.84 0.00 21:07:15 20:58:01 27.76 11.23 16.53 0.00 3466.71 3713.43 0.00 21:07:15 20:59:01 4.90 0.00 4.90 0.00 0.00 64.39 0.00 21:07:15 21:00:01 1.42 0.00 1.42 0.00 0.00 15.46 0.00 21:07:15 21:01:01 1.52 0.00 1.52 0.00 0.00 16.93 0.00 21:07:15 21:02:01 0.93 0.00 0.93 0.00 0.00 10.13 0.00 21:07:15 21:03:01 2.05 0.00 2.05 0.00 0.00 30.93 0.00 21:07:15 21:04:01 0.92 0.00 0.92 0.00 0.00 10.00 0.00 21:07:15 21:05:01 1.57 0.00 1.57 0.00 0.00 18.66 0.00 21:07:15 21:06:01 1.02 0.00 1.02 0.00 0.00 10.93 0.00 21:07:15 21:07:01 1.72 0.30 1.42 0.00 10.00 18.40 0.00 21:07:15 Average: 62.41 1.70 60.71 0.00 376.65 13324.57 0.00 21:07:15 21:07:15 20:53:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:07:15 20:54:01 29141964 31524956 789464 2.40 81448 2566208 1971592 5.81 1045788 2299996 10644 21:07:15 20:55:01 27157940 31283984 1015768 3.09 191108 4034712 2371004 6.99 1724256 3420384 500392 21:07:15 20:56:01 27021140 31527760 771484 2.35 196300 4401280 1892212 5.58 1384988 3888344 240204 21:07:15 20:57:01 26943548 31537340 763180 2.32 204568 4452388 1751388 5.16 1387748 3934584 344 21:07:15 20:58:01 26702860 31517964 773372 2.35 209768 4656520 1855064 5.47 1542444 3995844 1460 21:07:15 20:59:01 26709600 31524732 766508 2.33 209804 4656524 1855064 5.47 1535560 3995844 16 21:07:15 21:00:01 26709960 31525380 765812 2.33 209900 4656520 1855064 5.47 1535624 3995984 8 21:07:15 21:01:01 26716592 31532012 759088 2.31 209924 4656528 1855064 5.47 1529336 3995984 12 21:07:15 21:02:01 26716352 31532056 759236 2.31 209948 4656532 1855064 5.47 1529764 3996212 16 21:07:15 21:03:01 26716104 31531876 759336 2.31 210044 4656512 1855064 5.47 1529252 3996196 32 21:07:15 21:04:01 26716256 31532092 759128 2.31 210068 4656512 1855064 5.47 1529952 3996192 176 21:07:15 21:05:01 26715984 31531992 759088 2.31 210108 4656648 1838716 5.42 1529556 3996328 160 21:07:15 21:06:01 26716656 31532728 758532 2.31 210136 4656648 1838716 5.42 1529548 3996332 180 21:07:15 21:07:01 26716256 31532664 758536 2.31 210176 4656944 1838716 5.42 1532616 3996412 52 21:07:15 Average: 26957229 31511967 782752 2.38 198093 4430034 1891985 5.58 1490459 3821760 53835 21:07:15 21:07:15 20:53:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:07:15 20:54:01 lo 6.24 6.24 0.61 0.61 0.00 0.00 0.00 0.00 21:07:15 20:54:01 ens3 461.85 364.65 5448.41 63.71 0.00 0.00 0.00 0.00 21:07:15 20:54:01 veth7a8cfe7 162.26 177.29 16.12 147.59 0.00 0.00 0.00 0.01 21:07:15 20:54:01 docker0 214.32 231.89 17.67 484.08 0.00 0.00 0.00 0.00 21:07:15 20:55:01 veth080c5c9 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 21:07:15 20:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:07:15 20:55:01 ens3 361.97 192.27 3112.78 26.22 0.00 0.00 0.00 0.00 21:07:15 20:55:01 docker0 179.47 337.86 14.94 3089.19 0.00 0.00 0.00 0.00 21:07:15 20:56:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 21:07:15 20:56:01 ens3 26.80 14.90 61.45 9.48 0.00 0.00 0.00 0.00 21:07:15 20:56:01 docker0 1.47 2.92 0.09 38.10 0.00 0.00 0.00 0.00 21:07:15 20:57:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 21:07:15 20:57:01 ens3 109.60 66.99 2644.45 12.98 0.00 0.00 0.00 0.00 21:07:15 20:57:01 docker0 4.52 7.92 0.28 116.78 0.00 0.00 0.00 0.00 21:07:15 20:58:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 21:07:15 20:58:01 ens3 71.19 23.59 1392.83 1.88 0.00 0.00 0.00 0.00 21:07:15 20:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 20:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:07:15 20:59:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 21:07:15 20:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:00:01 ens3 0.05 0.02 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:07:15 21:01:01 ens3 0.78 0.55 1.75 0.04 0.00 0.00 0.00 0.00 21:07:15 21:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:02:01 ens3 0.62 0.40 0.38 0.27 0.00 0.00 0.00 0.00 21:07:15 21:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:07:15 21:03:01 ens3 0.28 0.22 0.09 0.07 0.00 0.00 0.00 0.00 21:07:15 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:04:01 ens3 0.73 0.30 0.30 0.21 0.00 0.00 0.00 0.00 21:07:15 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:07:15 21:05:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 21:07:15 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:06:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 21:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:07:15 21:07:01 ens3 0.97 0.78 0.87 0.38 0.00 0.00 0.00 0.00 21:07:15 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:07:15 Average: lo 0.69 0.69 0.07 0.07 0.00 0.00 0.00 0.00 21:07:15 Average: ens3 73.48 47.11 899.10 8.17 0.00 0.00 0.00 0.00 21:07:15 Average: docker0 28.33 41.24 2.34 266.03 0.00 0.00 0.00 0.00 21:07:15 21:07:15