Pull request #428 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3867d5d4ecdf07102fa678eefff056a1e71c114a+8257fd91468d3a13c9b08aa2e5cf32be113d097a (477f9bdccb7a0ffa2a1fce87df3904ca5c99eb61) 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-ssh3330237124214987200.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-ssh3750936250797849329.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-428/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-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11095286572429623593.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-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5180600985467680550.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-ssh13288230667614303894.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-428/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-428/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18355641025214238866.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-26393 in /w/workspace/gexfoundry_device-rest-go_PR-428 [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-428 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8257fd91468d3a13c9b08aa2e5cf32be113d097a into PR head commit 3867d5d4ecdf07102fa678eefff056a1e71c114a Merge succeeded, producing 3867d5d4ecdf07102fa678eefff056a1e71c114a Checking out Revision 3867d5d4ecdf07102fa678eefff056a1e71c114a (PR-428) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 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/428/head:refs/remotes/origin/PR-428 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3867d5d4ecdf07102fa678eefff056a1e71c114a # 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 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3867d5d4ecdf07102fa678eefff056a1e71c114a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:58:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:40 ========================================================= 20:58:40 EdgeX Global Pipelines Version Info 20:58:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:41 ------------------- 20:58:41 stable info: 20:58:41 ------------------- 20:58:41 Commited By: Ginny Guan ginny@iotechsys.com 20:58:41 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 20:58:41 Message: update stable to v1.0.265 20:58:42 ------------------- 20:58:42 experimental info: 20:58:42 ------------------- 20:58:42 Commited By: Cherry Wang cherry@iotechsys.com 20:58:42 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:58:42 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:58:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:58:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-428 [Pipeline] echo 20:58:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-428 [Pipeline] echo 20:58:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-428 [Pipeline] echo 20:58:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3867d5d4ecdf07102fa678eefff056a1e71c114a [Pipeline] echo 20:58:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3867d5d [Pipeline] echo 20:58:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:44 provisioning config files... 20:58:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-428@tmp/config10111813314114295019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:44 ---> ****-login.sh 20:58:44 nexus3.edgexfoundry.org:10001 20:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:58:45 Configure a credential helper to remove this warning. See 20:58:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:58:45 20:58:45 Login Succeeded 20:58:45 nexus3.edgexfoundry.org:10002 20:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:58:45 Configure a credential helper to remove this warning. See 20:58:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:58:45 20:58:45 Login Succeeded 20:58:45 nexus3.edgexfoundry.org:10003 20:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:58:45 Configure a credential helper to remove this warning. See 20:58:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:58:45 20:58:45 Login Succeeded 20:58:45 nexus3.edgexfoundry.org:10004 20:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:58:45 Configure a credential helper to remove this warning. See 20:58:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:58:45 20:58:45 Login Succeeded 20:58:45 ****.io 20:58:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:58:45 Configure a credential helper to remove this warning. See 20:58:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:58:45 20:58:45 Login Succeeded 20:58:45 ---> ****-login.sh ends [Pipeline] } 20:58:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:46 + git rev-list -1 --merges 3867d5d4ecdf07102fa678eefff056a1e71c114a~1..3867d5d4ecdf07102fa678eefff056a1e71c114a [Pipeline] echo 20:58:46 -----------> git rev-list -1 --merges 3867d5d4ecdf07102fa678eefff056a1e71c114a~1..3867d5d4ecdf07102fa678eefff056a1e71c114a 3867d5d4ecdf07102fa678eefff056a1e71c114a [false] [Pipeline] sh 20:58:47 + git log --format=format:%s -1 3867d5d4ecdf07102fa678eefff056a1e71c114a [Pipeline] echo 20:58:47 ========================================================= 20:58:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:47 + git log --format=format:%s -1 3867d5d4ecdf07102fa678eefff056a1e71c114a [Pipeline] echo 20:58:47 [semverPrep] GIT_COMMIT: 3867d5d4ecdf07102fa678eefff056a1e71c114a, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 20:58:47 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:48 + grep -v github /etc/ssh/ssh_known_hosts 20:58:48 + [ -e /tmp/ssh_known_hosts ] 20:58:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:48 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:48 20:58:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:49 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:49 b85a868b505f: Pulling fs layer 20:58:49 e2be974225ed: Pulling fs layer 20:58:49 339a4e72a1f5: Pulling fs layer 20:58:49 988bab9f4d93: Pulling fs layer 20:58:49 1469e6f7b9e6: Pulling fs layer 20:58:49 eaf3925da568: Pulling fs layer 20:58:49 bab4dde63d76: Pulling fs layer 20:58:49 bde34c3a00c8: Pulling fs layer 20:58:49 b352a97aabf1: Pulling fs layer 20:58:49 4872d77fe225: Pulling fs layer 20:58:49 5851b861e8e6: Pulling fs layer 20:58:49 988bab9f4d93: Waiting 20:58:49 1469e6f7b9e6: Waiting 20:58:49 eaf3925da568: Waiting 20:58:49 bab4dde63d76: Waiting 20:58:49 bde34c3a00c8: Waiting 20:58:49 b352a97aabf1: Waiting 20:58:49 4872d77fe225: Waiting 20:58:49 5851b861e8e6: Waiting 20:58:49 e2be974225ed: Download complete 20:58:49 988bab9f4d93: Download complete 20:58:49 1469e6f7b9e6: Verifying Checksum 20:58:49 1469e6f7b9e6: Download complete 20:58:49 eaf3925da568: Verifying Checksum 20:58:49 eaf3925da568: Download complete 20:58:49 339a4e72a1f5: Verifying Checksum 20:58:49 339a4e72a1f5: Download complete 20:58:49 bde34c3a00c8: Download complete 20:58:49 b352a97aabf1: Verifying Checksum 20:58:49 b352a97aabf1: Download complete 20:58:49 4872d77fe225: Verifying Checksum 20:58:49 4872d77fe225: Download complete 20:58:49 5851b861e8e6: Verifying Checksum 20:58:49 5851b861e8e6: Download complete 20:58:49 b85a868b505f: Verifying Checksum 20:58:49 b85a868b505f: Download complete 20:58:49 bab4dde63d76: Verifying Checksum 20:58:49 bab4dde63d76: Download complete 20:58:50 b85a868b505f: Pull complete 20:58:50 e2be974225ed: Pull complete 20:58:51 339a4e72a1f5: Pull complete 20:58:51 988bab9f4d93: Pull complete 20:58:51 1469e6f7b9e6: Pull complete 20:58:51 eaf3925da568: Pull complete 20:58:53 bab4dde63d76: Pull complete 20:58:53 bde34c3a00c8: Pull complete 20:58:53 b352a97aabf1: Pull complete 20:58:53 4872d77fe225: Pull complete 20:58:53 5851b861e8e6: Pull complete 20:58:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:58:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:54 prd-ubuntu20.04-docker-8c-8g-26393 does not seem to be running inside a container 20:58:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-428 -v /w/workspace/gexfoundry_device-rest-go_PR-428:/w/workspace/gexfoundry_device-rest-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-428@tmp:/w/workspace/gexfoundry_device-rest-go_PR-428@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:58:58 $ docker top 93673202294eb10e3897af864b4175b5fc7ac3455da10de67a8ff339dc08e22e -eo pid,comm 20:58:58 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:58:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:58 [ssh-agent] Looking for ssh-agent implementation... 20:58:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:58 $ docker exec 93673202294eb10e3897af864b4175b5fc7ac3455da10de67a8ff339dc08e22e ssh-agent 20:58:58 SSH_AUTH_SOCK=/tmp/ssh-leLj5M7p8Hxg/agent.32 20:58:58 SSH_AGENT_PID=38 20:58:58 Running ssh-add (command line suppressed) 20:58:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-428@tmp/private_key_3825151282066735395.key (/w/workspace/gexfoundry_device-rest-go_PR-428@tmp/private_key_3825151282066735395.key) 20:58:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:59 + git tag --points-at HEAD [Pipeline] } 20:58:59 $ docker exec --env ******** --env ******** 93673202294eb10e3897af864b4175b5fc7ac3455da10de67a8ff339dc08e22e ssh-agent -k 20:58:59 unset SSH_AUTH_SOCK; 20:58:59 unset SSH_AGENT_PID; 20:58:59 echo Agent pid 38 killed; 20:58:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:58:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:59 [ssh-agent] Looking for ssh-agent implementation... 20:58:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:59 $ docker exec 93673202294eb10e3897af864b4175b5fc7ac3455da10de67a8ff339dc08e22e ssh-agent 20:58:59 SSH_AUTH_SOCK=/tmp/ssh-QKlpa0X37rjS/agent.71 20:58:59 SSH_AGENT_PID=77 20:58:59 Running ssh-add (command line suppressed) 20:58:59 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-428@tmp/private_key_11991104817158320653.key (/w/workspace/gexfoundry_device-rest-go_PR-428@tmp/private_key_11991104817158320653.key) 20:58:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:00 + git semver init 20:59:00 2024-11-13 20:59:00,390 [run_init] DEBUG init version:0.0.0 force:False 20:59:00 2024-11-13 20:59:00,391 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-428/.semver 20:59:00 2024-11-13 20:59:00,391 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-428/.semver 20:59:00 2024-11-13 20:59:00,391 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-428/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-428, universal_newlines=False, shell=None, istream=None) 20:59:01 2024-11-13 20:59:01,805 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-428/.git/info/exclude 20:59:01 2024-11-13 20:59:01,806 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-428/.semver/PR-428 with force:False 20:59:01 2024-11-13 20:59:01,806 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-428/.semver/PR-428 20:59:01 2024-11-13 20:59:01,810 [execute] INFO git cat-file --batch-check 20:59:01 2024-11-13 20:59:01,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-428/.semver, universal_newlines=False, shell=None, istream=) 20:59:01 2024-11-13 20:59:01,817 [execute] INFO git cat-file --batch 20:59:01 2024-11-13 20:59:01,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-428/.semver, universal_newlines=False, shell=None, istream=) 20:59:01 2024-11-13 20:59:01,823 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-428/.semver/PR-428 20:59:01 0.0.0 [Pipeline] } 20:59:01 $ docker exec --env ******** --env ******** 93673202294eb10e3897af864b4175b5fc7ac3455da10de67a8ff339dc08e22e ssh-agent -k 20:59:02 unset SSH_AUTH_SOCK; 20:59:02 unset SSH_AGENT_PID; 20:59:02 echo Agent pid 77 killed; 20:59:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:02 + git semver [Pipeline] } 20:59:02 $ docker stop --time=1 93673202294eb10e3897af864b4175b5fc7ac3455da10de67a8ff339dc08e22e 20:59:04 $ docker rm -f --volumes 93673202294eb10e3897af864b4175b5fc7ac3455da10de67a8ff339dc08e22e [Pipeline] // withDockerContainer [Pipeline] sh 20:59:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:59:04 Stashed 1 file(s) [Pipeline] echo 20:59:04 [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:59:05 provisioning config files... 20:59:05 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-428@tmp/config3088010269396875169tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:06 ---> ****-login.sh 20:59:06 nexus3.edgexfoundry.org:10001 20:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:06 Configure a credential helper to remove this warning. See 20:59:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:06 20:59:06 Login Succeeded 20:59:06 nexus3.edgexfoundry.org:10002 20:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:06 Configure a credential helper to remove this warning. See 20:59:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:06 20:59:06 Login Succeeded 20:59:06 nexus3.edgexfoundry.org:10003 20:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:06 Configure a credential helper to remove this warning. See 20:59:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:06 20:59:06 Login Succeeded 20:59:06 nexus3.edgexfoundry.org:10004 20:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:06 Configure a credential helper to remove this warning. See 20:59:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:06 20:59:06 Login Succeeded 20:59:06 ****.io 20:59:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:59:06 Configure a credential helper to remove this warning. See 20:59:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:59:06 20:59:06 Login Succeeded 20:59:06 ---> ****-login.sh ends [Pipeline] } 20:59:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:59:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:59:06 ========================================================= 20:59:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:59:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:07 + 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:59:07 Sending build context to Docker daemon 16.65MB 20:59:07 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:59:07 Step 2/12 : FROM ${BASE} AS builder 20:59:07 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:07 43c4264eed91: Pulling fs layer 20:59:07 4cc291be95ef: Pulling fs layer 20:59:07 2ac1f1163629: Pulling fs layer 20:59:07 5c3c966382ef: Pulling fs layer 20:59:07 4f4fb700ef54: Pulling fs layer 20:59:07 5c3c966382ef: Waiting 20:59:07 5d5c8e513c77: Pulling fs layer 20:59:07 9f66e0745190: Pulling fs layer 20:59:07 f49a43e4bbc0: Pulling fs layer 20:59:07 561ebcabdf7f: Pulling fs layer 20:59:07 9f66e0745190: Waiting 20:59:07 5d5c8e513c77: Waiting 20:59:07 f49a43e4bbc0: Waiting 20:59:07 561ebcabdf7f: Waiting 20:59:07 4cc291be95ef: Verifying Checksum 20:59:07 5c3c966382ef: Download complete 20:59:07 4f4fb700ef54: Verifying Checksum 20:59:07 4f4fb700ef54: Download complete 20:59:07 43c4264eed91: Download complete 20:59:07 5d5c8e513c77: Download complete 20:59:07 9f66e0745190: Verifying Checksum 20:59:07 9f66e0745190: Download complete 20:59:07 43c4264eed91: Pull complete 20:59:07 4cc291be95ef: Pull complete 20:59:07 561ebcabdf7f: Verifying Checksum 20:59:07 561ebcabdf7f: Download complete 20:59:08 2ac1f1163629: Verifying Checksum 20:59:08 2ac1f1163629: Download complete 20:59:08 f49a43e4bbc0: Download complete 20:59:11 2ac1f1163629: Pull complete 20:59:11 5c3c966382ef: Pull complete 20:59:11 4f4fb700ef54: Pull complete 20:59:11 5d5c8e513c77: Pull complete 20:59:11 9f66e0745190: Pull complete 20:59:14 f49a43e4bbc0: Pull complete 20:59:14 561ebcabdf7f: Pull complete 20:59:14 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 20:59:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:59:14 ---> 3a752c3f9dda 20:59:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:59:20 Still waiting to schedule task 20:59:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:59:22 ---> Running in b08f5de0702b 20:59:22 Removing intermediate container b08f5de0702b 20:59:22 ---> 7bd8be65d519 20:59:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:22 ---> Running in 948337616ffa 20:59:22 Removing intermediate container 948337616ffa 20:59:22 ---> d376394d0f9b 20:59:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:22 ---> Running in f872162caf70 20:59:22 Removing intermediate container f872162caf70 20:59:22 ---> 62a8f07ad986 20:59:22 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:59:22 ---> Running in 307516c6afd8 20:59:22 Removing intermediate container 307516c6afd8 20:59:22 ---> f4d9da40ea21 20:59:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:22 ---> Running in 82606e0d379b 20:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:59:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:59:22 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:59:22 (2/4) Installing libedit (20240517.3.1-r0) 20:59:22 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:59:22 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:59:22 Executing busybox-1.36.1-r29.trigger 20:59:22 OK: 250 MiB in 58 packages 20:59:23 Removing intermediate container 82606e0d379b 20:59:23 ---> ff026daa44a9 20:59:23 Step 8/12 : WORKDIR /device-rest-go 20:59:23 ---> Running in 319fcb97faa2 20:59:23 Removing intermediate container 319fcb97faa2 20:59:23 ---> a7a6217fcb28 20:59:23 Step 9/12 : COPY go.mod vendor* ./ 20:59:23 ---> 4beb7ec85b0e 20:59:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:23 ---> Running in f4f5cd7bec8b 21:00:31 Removing intermediate container f4f5cd7bec8b 21:00:31 ---> 3ee6780f0710 21:00:31 Step 11/12 : COPY . . 21:00:31 ---> 0822a1b37850 21:00:31 Step 12/12 : RUN $MAKE 21:00:31 ---> Running in d6394d1d4af7 21:00:31 noop 21:00:31 Removing intermediate container d6394d1d4af7 21:00:31 ---> 91efc1839384 21:00:31 Successfully built 91efc1839384 21:00:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:31 + docker inspect -f . ci-base-image-x86_64 21:00:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:31 prd-ubuntu20.04-docker-8c-8g-26393 does not seem to be running inside a container 21:00:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-428 -v /w/workspace/gexfoundry_device-rest-go_PR-428:/w/workspace/gexfoundry_device-rest-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-428@tmp:/w/workspace/gexfoundry_device-rest-go_PR-428@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 21:00:32 $ docker top 5b5014c05ee65f52fec59ffabb329cd885b2ee560f28668269cf3d8e0ab636ec -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:32 + go version 21:00:32 go version go1.23.2 linux/amd64 [Pipeline] } 21:00:32 $ docker stop --time=1 5b5014c05ee65f52fec59ffabb329cd885b2ee560f28668269cf3d8e0ab636ec 21:00:33 $ docker rm -f --volumes 5b5014c05ee65f52fec59ffabb329cd885b2ee560f28668269cf3d8e0ab636ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:34 + docker inspect -f . ci-base-image-x86_64 21:00:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:34 prd-ubuntu20.04-docker-8c-8g-26393 does not seem to be running inside a container 21:00:34 $ 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-428 -v /w/workspace/gexfoundry_device-rest-go_PR-428:/w/workspace/gexfoundry_device-rest-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-428@tmp:/w/workspace/gexfoundry_device-rest-go_PR-428@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 21:00:35 $ docker top 8907d3cd964ee288696863904a9485e9987406805a32e09631efaaf5bc770a22 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-428 [Pipeline] fileExists [Pipeline] sh 21:00:36 + make test 21:00:36 go test ./... -coverprofile=coverage.out ./... 21:00:37 ? github.com/edgexfoundry/device-rest-go [no test files] 21:00:56 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 21:00:56 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 21:01:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26394 in /w/workspace/gexfoundry_device-rest-go_PR-428 [Pipeline] { [Pipeline] ws 21:01:04 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:01:04 The recommended git tool is: git 21:01:06 go vet ./... 21:01:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:01:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:01:12 ./bin/test-attribution-txt.sh [Pipeline] echo 21:01:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:01:12 $ docker stop --time=1 8907d3cd964ee288696863904a9485e9987406805a32e09631efaaf5bc770a22 21:01:14 using credential edgex-jenkins-ssh 21:01:14 Cloning the remote Git repository 21:01:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:01:14 > git init /w/workspace/device-rest-go/1 # timeout=10 21:01:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:14 > git --version # timeout=10 21:01:14 > git --version # 'git version 2.25.1' 21:01:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:18 $ docker rm -f --volumes 8907d3cd964ee288696863904a9485e9987406805a32e09631efaaf5bc770a22 [Pipeline] // withDockerContainer [Pipeline] sh 21:01:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:01:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:01:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:19 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/428/head:refs/remotes/origin/PR-428 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:01:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:01:19 Merging remotes/origin/main commit 8257fd91468d3a13c9b08aa2e5cf32be113d097a into PR head commit 3867d5d4ecdf07102fa678eefff056a1e71c114a 21:01:20 + ls -al . 21:01:20 total 244 21:01:20 drwxrwxr-x 9 jenkins jenkins 4096 Nov 13 21:00 . 21:01:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 20:58 .. 21:01:20 -rw-rw-r-- 1 jenkins jenkins 151 Nov 13 20:58 .dockerignore 21:01:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 21:00 .git 21:01:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:58 .github 21:01:20 -rw-rw-r-- 1 jenkins jenkins 264 Nov 13 20:58 .gitignore 21:01:20 -rw-rw-r-- 1 jenkins jenkins 41 Nov 13 20:58 .golangci.yml 21:01:20 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 20:59 .semver 21:01:20 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 13 20:58 Attribution.txt 21:01:20 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 13 20:58 CHANGELOG.md 21:01:20 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 13 20:58 Dockerfile 21:01:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 20:58 GOVERNANCE.md 21:01:20 -rw-rw-r-- 1 jenkins jenkins 680 Nov 13 20:58 Jenkinsfile 21:01:20 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 20:58 LICENSE 21:01:20 -rw-rw-r-- 1 jenkins jenkins 2598 Nov 13 20:58 Makefile 21:01:20 -rw-rw-r-- 1 jenkins jenkins 620 Nov 13 20:58 OWNERS.md 21:01:20 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 13 20:58 README.md 21:01:20 -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 20:59 VERSION 21:01:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 20:58 bin 21:01:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:58 cmd 21:01:20 -rw-r--r-- 1 jenkins jenkins 14565 Nov 13 21:00 coverage.out 21:01:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 20:58 driver 21:01:20 -rw-rw-r-- 1 jenkins jenkins 6390 Nov 13 20:58 go.mod 21:01:20 -rw-rw-r-- 1 jenkins jenkins 87337 Nov 13 20:58 go.sum 21:01:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 20:58 openapi 21:01:20 -rw-rw-r-- 1 jenkins jenkins 713 Nov 13 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:20 Merge succeeded, producing 3867d5d4ecdf07102fa678eefff056a1e71c114a 21:01:20 Checking out Revision 3867d5d4ecdf07102fa678eefff056a1e71c114a (PR-428) 21:01:20 + 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=3867d5d4ecdf07102fa678eefff056a1e71c114a --label arch=amd64 --label version=0.0.0 . 21:01:20 Sending build context to Docker daemon 16.66MB 21:01:20 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 21:01:20 Step 2/26 : FROM ${BASE} AS builder 21:01:20 ---> 91efc1839384 21:01:20 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:01:20 ---> Running in 999ac9fbee0f 21:01:20 Removing intermediate container 999ac9fbee0f 21:01:20 ---> 42092ee96b7a 21:01:20 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:20 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" 21:01:21 > git --version # timeout=10 21:01:21 > git --version # 'git version 2.25.1' 21:01:21 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 21:01:21 ---> Running in 5a5492dd4f01 21:01:21 Removing intermediate container 5a5492dd4f01 21:01:21 ---> 803d22b00be5 21:01:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:21 ---> Running in bff94211a7cc 21:01:21 Removing intermediate container bff94211a7cc 21:01:21 ---> 3065332257ea 21:01:21 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:01:21 ---> Running in 877af6911715 21:01:19 > git config core.sparsecheckout # timeout=10 21:01:20 > git checkout -f 3867d5d4ecdf07102fa678eefff056a1e71c114a # timeout=10 21:01:20 > git remote # timeout=10 21:01:20 > git config --get remote.origin.url # timeout=10 21:01:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:20 > git merge 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 21:01:20 > git rev-parse HEAD^{commit} # timeout=10 21:01:20 > git config core.sparsecheckout # timeout=10 21:01:20 > git checkout -f 3867d5d4ecdf07102fa678eefff056a1e71c114a # timeout=10 21:01:21 Removing intermediate container 877af6911715 21:01:21 ---> 82407a855f75 21:01:21 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:21 ---> Running in fcb2a103eb5d 21:01:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:01:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:01:21 OK: 250 MiB in 58 packages 21:01:22 Removing intermediate container fcb2a103eb5d 21:01:22 ---> 21fb1bdcaf17 21:01:22 Step 8/26 : WORKDIR /device-rest-go 21:01:22 ---> Running in 8b0e2ad8078a 21:01:22 Removing intermediate container 8b0e2ad8078a 21:01:22 ---> 12f8da190aa4 21:01:22 Step 9/26 : COPY go.mod vendor* ./ 21:01:22 ---> 565d79a48f5d 21:01:22 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:22 ---> Running in c296d3917709 21:01:22 Removing intermediate container c296d3917709 21:01:22 ---> 45c34b332c64 21:01:22 Step 11/26 : COPY . . 21:01:23 ---> 7b78a0ea6ee2 21:01:23 Step 12/26 : RUN $MAKE 21:01:23 ---> Running in bdc974a039e1 21:01:24 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/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:01:25 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:25 Dload Upload Total Spent Left Speed 21:01:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh 21:01:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:01:26 + sudo tee /etc/docker/daemon.new 21:01:26 { 21:01:26 "registry-mirrors": [ 21:01:26 "https://nexus3.edgexfoundry.org:10001" 21:01:26 ], 21:01:26 "bip": "10.250.0.254/24", 21:01:26 "hosts": [ 21:01:26 "tcp://0.0.0.0:5555", 21:01:26 "unix:///var/run/docker.sock" 21:01:26 ], 21:01:26 "mtu": 1458, 21:01:26 "selinux-enabled": true, 21:01:26 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:26 } [Pipeline] sh 21:01:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:45 provisioning config files... 21:01:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3699759903102898393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:46 ---> ****-login.sh 21:01:46 nexus3.edgexfoundry.org:10001 21:01:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:46 Configure a credential helper to remove this warning. See 21:01:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:46 21:01:46 Login Succeeded 21:01:46 nexus3.edgexfoundry.org:10002 21:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:47 Configure a credential helper to remove this warning. See 21:01:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:47 21:01:47 Login Succeeded 21:01:47 nexus3.edgexfoundry.org:10003 21:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:47 Configure a credential helper to remove this warning. See 21:01:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:47 21:01:47 Login Succeeded 21:01:47 nexus3.edgexfoundry.org:10004 21:01:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:47 Configure a credential helper to remove this warning. See 21:01:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:47 21:01:47 Login Succeeded 21:01:47 ****.io 21:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:01:48 Configure a credential helper to remove this warning. See 21:01:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:01:48 21:01:48 Login Succeeded 21:01:48 ---> ****-login.sh ends [Pipeline] } 21:01:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:01:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:01:49 ========================================================= 21:01:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 21:01:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:49 + 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 . 21:01:49 Sending build context to Docker daemon 140.8kB 21:01:49 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 21:01:49 Step 2/12 : FROM ${BASE} AS builder 21:01:49 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:49 cf04c63912e1: Pulling fs layer 21:01:49 55b35a11ae5e: Pulling fs layer 21:01:49 a37a00ec5f00: Pulling fs layer 21:01:49 50b3750afda1: Pulling fs layer 21:01:49 4f4fb700ef54: Pulling fs layer 21:01:49 80978eb59214: Pulling fs layer 21:01:49 c9f46d7d2bd2: Pulling fs layer 21:01:49 c5a475d317c9: Pulling fs layer 21:01:49 50b3750afda1: Waiting 21:01:49 4f4fb700ef54: Waiting 21:01:49 80978eb59214: Waiting 21:01:49 c9f46d7d2bd2: Waiting 21:01:49 c5a475d317c9: Waiting 21:01:49 55b35a11ae5e: Verifying Checksum 21:01:49 55b35a11ae5e: Download complete 21:01:49 50b3750afda1: Verifying Checksum 21:01:49 50b3750afda1: Download complete 21:01:50 4f4fb700ef54: Verifying Checksum 21:01:50 4f4fb700ef54: Download complete 21:01:50 80978eb59214: Verifying Checksum 21:01:50 80978eb59214: Download complete 21:01:50 cf04c63912e1: Verifying Checksum 21:01:50 cf04c63912e1: Download complete 21:01:50 c5a475d317c9: Verifying Checksum 21:01:50 c5a475d317c9: Download complete 21:01:51 cf04c63912e1: Pull complete 21:01:51 55b35a11ae5e: Pull complete 21:01:51 a37a00ec5f00: Verifying Checksum 21:01:51 a37a00ec5f00: Download complete 21:01:52 c9f46d7d2bd2: Verifying Checksum 21:01:52 c9f46d7d2bd2: Download complete 21:01:56 Removing intermediate container bdc974a039e1 21:01:56 ---> ccd8299b4c93 21:01:56 Step 13/26 : FROM alpine:3.20 21:01:56 3.20: Pulling from library/alpine 21:01:56 da9db072f522: Pulling fs layer 21:01:56 da9db072f522: Verifying Checksum 21:01:56 da9db072f522: Download complete 21:01:56 da9db072f522: Pull complete 21:01:56 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 21:01:56 Status: Downloaded newer image for alpine:3.20 21:01:56 ---> 63b790fccc90 21:01:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:01:57 ---> Running in a33e3b729568 21:01:57 Removing intermediate container a33e3b729568 21:01:57 ---> b632f8c8b1b8 21:01:57 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:01:57 ---> Running in 49f49e06ccca 21:01:57 Removing intermediate container 49f49e06ccca 21:01:57 ---> 4eefa7c60975 21:01:57 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:01:57 ---> Running in 04ba297a2f8e 21:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:01:57 (1/1) Installing dumb-init (1.2.5-r3) 21:01:57 Executing busybox-1.36.1-r29.trigger 21:01:57 OK: 8 MiB in 15 packages 21:01:58 Removing intermediate container 04ba297a2f8e 21:01:58 ---> 46cd6181619f 21:01:58 Step 17/26 : RUN apk --no-cache upgrade 21:01:58 ---> Running in 67c0bb1b0be8 21:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:01:58 Upgrading critical system libraries and apk-tools: 21:01:58 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 21:01:58 Executing busybox-1.36.1-r29.trigger 21:01:58 Continuing the upgrade transaction with new apk-tools: 21:01:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:01:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:01:59 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 21:01:59 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 21:01:59 OK: 8 MiB in 15 packages 21:01:59 Removing intermediate container 67c0bb1b0be8 21:01:59 ---> 106bed5ed8cb 21:01:59 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:02:01 ---> 636f007f6442 21:02:01 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:02:01 ---> 90786ae8e7ff 21:02:01 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:02:01 ---> 119e3286dad4 21:02:01 Step 21/26 : EXPOSE 59986 21:02:01 ---> Running in d88aa8c310d6 21:02:01 Removing intermediate container d88aa8c310d6 21:02:01 ---> b2e9799093c7 21:02:01 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:02:01 ---> Running in 10993dbe47e2 21:02:01 Removing intermediate container 10993dbe47e2 21:02:01 ---> c34611036cc9 21:02:01 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 21:02:01 ---> Running in 1874c7c3b25a 21:02:01 Removing intermediate container 1874c7c3b25a 21:02:01 ---> e3670ed34bae 21:02:01 Step 24/26 : LABEL arch=amd64 21:02:01 ---> Running in 2265048c84d7 21:02:01 Removing intermediate container 2265048c84d7 21:02:01 ---> 957517222baf 21:02:01 Step 25/26 : LABEL git_sha=3867d5d4ecdf07102fa678eefff056a1e71c114a 21:02:01 ---> Running in 590e176c12fd 21:02:01 Removing intermediate container 590e176c12fd 21:02:01 ---> 6876584a0145 21:02:01 Step 26/26 : LABEL version=0.0.0 21:02:01 ---> Running in 865d00c0879f 21:02:01 Removing intermediate container 865d00c0879f 21:02:01 ---> 075ffca3448e 21:02:01 [Warning] One or more build-args [ARCH] were not consumed 21:02:01 Successfully built 075ffca3448e 21:02:01 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 21:02:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:02 21:02:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:03 latest: Pulling from edgex-lftools-log-publisher 21:02:03 5eb5b503b376: Pulling fs layer 21:02:03 5c69ac0246d0: Pulling fs layer 21:02:03 ec43610c2a17: Pulling fs layer 21:02:03 3a2ae6a8a46f: Pulling fs layer 21:02:03 33b1e0a273af: Pulling fs layer 21:02:03 5d3b04190fa2: Pulling fs layer 21:02:03 2f39f015ded8: Pulling fs layer 21:02:03 3a2ae6a8a46f: Waiting 21:02:03 33b1e0a273af: Waiting 21:02:03 2f39f015ded8: Waiting 21:02:03 5c69ac0246d0: Download complete 21:02:03 3a2ae6a8a46f: Verifying Checksum 21:02:03 3a2ae6a8a46f: Download complete 21:02:03 33b1e0a273af: Verifying Checksum 21:02:03 33b1e0a273af: Download complete 21:02:03 5d3b04190fa2: Verifying Checksum 21:02:03 5d3b04190fa2: Download complete 21:02:03 ec43610c2a17: Verifying Checksum 21:02:03 ec43610c2a17: Download complete 21:02:03 5eb5b503b376: Verifying Checksum 21:02:03 5eb5b503b376: Download complete 21:02:04 2f39f015ded8: Verifying Checksum 21:02:04 2f39f015ded8: Download complete 21:02:04 5eb5b503b376: Pull complete 21:02:04 5c69ac0246d0: Pull complete 21:02:05 a37a00ec5f00: Pull complete 21:02:05 50b3750afda1: Pull complete 21:02:05 4f4fb700ef54: Pull complete 21:02:05 80978eb59214: Pull complete 21:02:05 ec43610c2a17: Pull complete 21:02:05 3a2ae6a8a46f: Pull complete 21:02:05 33b1e0a273af: Pull complete 21:02:05 5d3b04190fa2: Pull complete 21:02:09 2f39f015ded8: Pull complete 21:02:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:02:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:02:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:10 prd-ubuntu20.04-docker-8c-8g-26393 does not seem to be running inside a container 21:02:10 $ 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-428 -v /w/workspace/gexfoundry_device-rest-go_PR-428:/w/workspace/gexfoundry_device-rest-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-428@tmp:/w/workspace/gexfoundry_device-rest-go_PR-428@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 21:02:11 c9f46d7d2bd2: Pull complete 21:02:13 c5a475d317c9: Pull complete 21:02:13 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 21:02:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 21:02:13 ---> be29e6b0f0d4 21:02:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:02:14 $ docker top a9a2750fee7d9d5b6200b241f75ba0075af22df42f1b9357e8dad7f7a56fe90d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:15 ---> Running in a5d0f8ad038f 21:02:15 ---> job-cost.sh 21:02:15 lf-activate-venv: SKIPPING 21:02:15 INFO: No Stack... 21:02:15 Removing intermediate container a5d0f8ad038f 21:02:15 ---> 10e927331655 21:02:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:15 INFO: Retrieving Pricing Info for: v3-standard-8 21:02:15 ---> Running in a3f3583e3feb 21:02:15 INFO: Archiving Costs [Pipeline] sh 21:02:16 Removing intermediate container a3f3583e3feb 21:02:16 ---> 5d8a4690bdf6 21:02:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:16 ---> Running in 705432ae7a9e 21:02:16 + cat /w/workspace/gexfoundry_device-rest-go_PR-428/archives/cost.csv 21:02:16 + cut -d, -f6 [Pipeline] lock 21:02:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-428-1-stack-cost] 21:02:16 Resource [jenkins-edgexfoundry-device-rest-go-PR-428-1-stack-cost] did not exist. Created. 21:02:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash 21:02:16 Removing intermediate container 705432ae7a9e 21:02:16 ---> 155a9fc5d78f 21:02:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:02:16 ---> Running in bf65ea686677 [Pipeline] sh 21:02:16 Removing intermediate container bf65ea686677 21:02:16 ---> 54b8e7d9f3c7 21:02:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:16 + echo total: 0.2199999988079071 [Pipeline] stash 21:02:16 Stashed 1 file(s) [Pipeline] } 21:02:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:02:17 $ docker stop --time=1 a9a2750fee7d9d5b6200b241f75ba0075af22df42f1b9357e8dad7f7a56fe90d 21:02:17 ---> Running in 9aaa1b69a235 21:02:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:02:18 $ docker rm -f --volumes a9a2750fee7d9d5b6200b241f75ba0075af22df42f1b9357e8dad7f7a56fe90d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 21:02:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } 21:02:19 (1/4) Installing openssh-keygen (9.7_p1-r4) 21:02:19 (2/4) Installing libedit (20240517.3.1-r0) 21:02:19 (3/4) Installing openssh-client-common (9.7_p1-r4) 21:02:19 (4/4) Installing openssh-client-default (9.7_p1-r4) 21:02:19 Executing busybox-1.36.1-r29.trigger 21:02:19 OK: 242 MiB in 58 packages 21:02:21 Removing intermediate container 9aaa1b69a235 21:02:21 ---> 83fe1098088d 21:02:21 Step 8/12 : WORKDIR /device-rest-go 21:02:21 ---> Running in 588490b31c72 21:02:22 Removing intermediate container 588490b31c72 21:02:22 ---> 5f10a3e1557a 21:02:22 Step 9/12 : COPY go.mod vendor* ./ 21:02:23 ---> 6d27c0e4ac7e 21:02:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:23 ---> Running in 6082894e5aa3 21:04:15 Removing intermediate container 6082894e5aa3 21:04:15 ---> b7d31e917ff1 21:04:15 Step 11/12 : COPY . . 21:04:15 ---> 4e3172eb626f 21:04:15 Step 12/12 : RUN $MAKE 21:04:15 ---> Running in 8efb94d19c66 21:04:15 noop 21:04:15 Removing intermediate container 8efb94d19c66 21:04:15 ---> d0174e97823a 21:04:15 Successfully built d0174e97823a 21:04:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:15 + docker inspect -f . ci-base-image-arm64 21:04:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:15 prd-ubuntu20.04-docker-arm64-4c-16g-26394 does not seem to be running inside a container 21:04:15 $ 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 21:04:17 $ docker top 1beb8a97f5c82b387075951d3efde22ee881efc2a8a8f49339ac667f2d3d4c93 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:18 + go version 21:04:18 go version go1.23.2 linux/arm64 [Pipeline] } 21:04:18 $ docker stop --time=1 1beb8a97f5c82b387075951d3efde22ee881efc2a8a8f49339ac667f2d3d4c93 21:04:19 $ docker rm -f --volumes 1beb8a97f5c82b387075951d3efde22ee881efc2a8a8f49339ac667f2d3d4c93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:20 + docker inspect -f . ci-base-image-arm64 21:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:20 prd-ubuntu20.04-docker-arm64-4c-16g-26394 does not seem to be running inside a container 21:04:21 $ 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 21:04:22 $ docker top 62fd0ec9f9b6eb415be20f84bb3c16684dfb912d57e3380d6fd79ef9fe408bd2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:22 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:04:23 + make test 21:04:23 go test ./... -coverprofile=coverage.out ./... 21:04:28 ? github.com/edgexfoundry/device-rest-go [no test files] 21:07:35 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 21:07:35 ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 33.2% of statements 21:07:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:07:35 go vet ./... 21:08:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:22 ./bin/test-attribution-txt.sh [Pipeline] echo 21:08:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:08:22 $ docker stop --time=1 62fd0ec9f9b6eb415be20f84bb3c16684dfb912d57e3380d6fd79ef9fe408bd2 21:08:24 $ docker rm -f --volumes 62fd0ec9f9b6eb415be20f84bb3c16684dfb912d57e3380d6fd79ef9fe408bd2 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:26 Warning: overwriting stash ‘coverage-report’ 21:08:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:27 + ls -al . 21:08:27 total 240 21:08:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 21:04 . 21:08:27 drwxrwxr-x 4 jenkins jenkins 4096 Nov 13 21:01 .. 21:08:27 -rw-rw-r-- 1 jenkins jenkins 151 Nov 13 21:01 .dockerignore 21:08:27 drwxrwxr-x 8 jenkins jenkins 4096 Nov 13 21:01 .git 21:08:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 21:01 .github 21:08:27 -rw-rw-r-- 1 jenkins jenkins 264 Nov 13 21:01 .gitignore 21:08:27 -rw-rw-r-- 1 jenkins jenkins 41 Nov 13 21:01 .golangci.yml 21:08:27 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 13 21:01 Attribution.txt 21:08:27 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 13 21:01 CHANGELOG.md 21:08:27 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 13 21:01 Dockerfile 21:08:27 -rw-rw-r-- 1 jenkins jenkins 677 Nov 13 21:01 GOVERNANCE.md 21:08:27 -rw-rw-r-- 1 jenkins jenkins 680 Nov 13 21:01 Jenkinsfile 21:08:27 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 13 21:01 LICENSE 21:08:27 -rw-rw-r-- 1 jenkins jenkins 2598 Nov 13 21:01 Makefile 21:08:27 -rw-rw-r-- 1 jenkins jenkins 620 Nov 13 21:01 OWNERS.md 21:08:27 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 13 21:01 README.md 21:08:27 -rw-rw-r-- 1 jenkins jenkins 5 Nov 13 20:59 VERSION 21:08:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 21:01 bin 21:08:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 21:01 cmd 21:08:27 -rw-r--r-- 1 jenkins jenkins 14565 Nov 13 21:07 coverage.out 21:08:27 drwxrwxr-x 2 jenkins jenkins 4096 Nov 13 21:01 driver 21:08:27 -rw-rw-r-- 1 jenkins jenkins 6390 Nov 13 21:01 go.mod 21:08:27 -rw-rw-r-- 1 jenkins jenkins 87337 Nov 13 21:01 go.sum 21:08:27 drwxrwxr-x 3 jenkins jenkins 4096 Nov 13 21:01 openapi 21:08:27 -rw-rw-r-- 1 jenkins jenkins 713 Nov 13 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:28 + 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=3867d5d4ecdf07102fa678eefff056a1e71c114a --label arch=arm64 --label version=0.0.0 . 21:08:28 Sending build context to Docker daemon 156.2kB 21:08:28 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 21:08:28 Step 2/26 : FROM ${BASE} AS builder 21:08:28 ---> d0174e97823a 21:08:28 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:08:28 ---> Running in 099eda5de4c8 21:08:28 Removing intermediate container 099eda5de4c8 21:08:28 ---> 3475f6a624e2 21:08:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:29 ---> Running in 20bb9e6140ab 21:08:29 Removing intermediate container 20bb9e6140ab 21:08:29 ---> ed335f36f68f 21:08:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:08:29 ---> Running in 510d04df38eb 21:08:29 Removing intermediate container 510d04df38eb 21:08:29 ---> 9300b4ec7579 21:08:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:08:29 ---> Running in 528e92636690 21:08:30 Removing intermediate container 528e92636690 21:08:30 ---> a722c19a709f 21:08:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:30 ---> Running in 469a29485c5d 21:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:08:32 OK: 242 MiB in 58 packages 21:08:33 Removing intermediate container 469a29485c5d 21:08:33 ---> 75c4a5c112f7 21:08:33 Step 8/26 : WORKDIR /device-rest-go 21:08:33 ---> Running in 41c1a8669523 21:08:34 Removing intermediate container 41c1a8669523 21:08:34 ---> c0d90bbf4644 21:08:34 Step 9/26 : COPY go.mod vendor* ./ 21:08:34 ---> cc5eaaeeaef2 21:08:34 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:34 ---> Running in 48630990b7a2 21:08:37 Removing intermediate container 48630990b7a2 21:08:37 ---> 9f6b1be587cd 21:08:37 Step 11/26 : COPY . . 21:08:38 ---> 45b7fc131045 21:08:38 Step 12/26 : RUN $MAKE 21:08:38 ---> Running in b028b8f65610 21:08:39 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/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 21:11:45 Removing intermediate container b028b8f65610 21:11:45 ---> c65b77f81f57 21:11:45 Step 13/26 : FROM alpine:3.20 21:11:45 3.20: Pulling from library/alpine 21:11:45 9986a736f7d3: Pulling fs layer 21:11:45 9986a736f7d3: Download complete 21:11:45 9986a736f7d3: Pull complete 21:11:45 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 21:11:45 Status: Downloaded newer image for alpine:3.20 21:11:45 ---> 511a44083d3a 21:11:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:11:45 ---> Running in e98f90801055 21:11:45 Removing intermediate container e98f90801055 21:11:45 ---> dfa8ec2a67e8 21:11:45 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:11:45 ---> Running in e5ba1c70f8d5 21:11:45 Removing intermediate container e5ba1c70f8d5 21:11:45 ---> 39f84a38343c 21:11:45 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:11:45 ---> Running in 578340832c77 21:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:11:45 (1/1) Installing dumb-init (1.2.5-r3) 21:11:45 Executing busybox-1.36.1-r29.trigger 21:11:45 OK: 9 MiB in 15 packages 21:11:45 Removing intermediate container 578340832c77 21:11:45 ---> f429da83a41e 21:11:45 Step 17/26 : RUN apk --no-cache upgrade 21:11:45 ---> Running in 8fddd918aa85 21:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:11:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:11:46 Upgrading critical system libraries and apk-tools: 21:11:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 21:11:46 Executing busybox-1.36.1-r29.trigger 21:11:46 Continuing the upgrade transaction with new apk-tools: 21:11:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:11:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:11:48 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 21:11:48 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 21:11:48 OK: 9 MiB in 15 packages 21:11:49 Removing intermediate container 8fddd918aa85 21:11:49 ---> 335aad6a114a 21:11:49 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:11:51 ---> 1ec01a7f1e9a 21:11:51 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:11:51 ---> cbdaf48dbb8f 21:11:51 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:11:53 ---> c69b3b7f1566 21:11:53 Step 21/26 : EXPOSE 59986 21:11:53 ---> Running in 381336de9b5d 21:11:54 Removing intermediate container 381336de9b5d 21:11:54 ---> af9dcac4bfa4 21:11:54 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:11:54 ---> Running in c3ad9cf1fd1a 21:11:54 Removing intermediate container c3ad9cf1fd1a 21:11:54 ---> fa56d19d9f35 21:11:54 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 21:11:54 ---> Running in ab75ab201540 21:11:55 Removing intermediate container ab75ab201540 21:11:55 ---> 332329eec11e 21:11:55 Step 24/26 : LABEL arch=arm64 21:11:55 ---> Running in 047fe2c4946c 21:11:55 Removing intermediate container 047fe2c4946c 21:11:55 ---> 0e38e201a63c 21:11:55 Step 25/26 : LABEL git_sha=3867d5d4ecdf07102fa678eefff056a1e71c114a 21:11:55 ---> Running in a89b363733c5 21:11:55 Removing intermediate container a89b363733c5 21:11:55 ---> 53a92cb58eef 21:11:55 Step 26/26 : LABEL version=0.0.0 21:11:55 ---> Running in 1ec27e1e5555 21:11:56 Removing intermediate container 1ec27e1e5555 21:11:56 ---> d234bd74cfe8 21:11:56 [Warning] One or more build-args [ARCH] were not consumed 21:11:56 Successfully built d234bd74cfe8 21:11:56 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:11:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:57 21:11:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:11:57 arm64: Pulling from edgex-lftools-log-publisher 21:11:57 8998bd30e6a1: Pulling fs layer 21:11:57 04944245beec: Pulling fs layer 21:11:57 699f458cf7ca: Pulling fs layer 21:11:57 765212b225bb: Pulling fs layer 21:11:57 f23df028b6ca: Pulling fs layer 21:11:57 d65c8cfc05b1: Pulling fs layer 21:11:57 2437ff75d9bd: Pulling fs layer 21:11:57 f23df028b6ca: Waiting 21:11:57 d65c8cfc05b1: Waiting 21:11:57 2437ff75d9bd: Waiting 21:11:57 765212b225bb: Waiting 21:11:57 04944245beec: Verifying Checksum 21:11:57 04944245beec: Download complete 21:11:57 765212b225bb: Verifying Checksum 21:11:57 765212b225bb: Download complete 21:11:57 f23df028b6ca: Verifying Checksum 21:11:57 f23df028b6ca: Download complete 21:11:57 d65c8cfc05b1: Verifying Checksum 21:11:57 d65c8cfc05b1: Download complete 21:11:57 699f458cf7ca: Verifying Checksum 21:11:57 699f458cf7ca: Download complete 21:11:58 8998bd30e6a1: Verifying Checksum 21:11:58 8998bd30e6a1: Download complete 21:12:00 2437ff75d9bd: Verifying Checksum 21:12:00 2437ff75d9bd: Download complete 21:12:02 8998bd30e6a1: Pull complete 21:12:02 04944245beec: Pull complete 21:12:04 699f458cf7ca: Pull complete 21:12:04 765212b225bb: Pull complete 21:12:05 f23df028b6ca: Pull complete 21:12:05 d65c8cfc05b1: Pull complete 21:12:23 2437ff75d9bd: Pull complete 21:12:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:12:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:12:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:24 prd-ubuntu20.04-docker-arm64-4c-16g-26394 does not seem to be running inside a container 21:12:24 $ 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:12:26 $ docker top 02e76b1b25ce34a73842e251c1a0dd76929874a59d1efc143bfa6700595c79ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:27 ---> job-cost.sh 21:12:27 lf-activate-venv: SKIPPING 21:12:27 INFO: No Stack... 21:12:28 INFO: Retrieving Pricing Info for: v3-standard-4 21:12:28 INFO: Archiving Costs [Pipeline] sh 21:12:29 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:12:29 + cut -d, -f6 [Pipeline] lock 21:12:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-428-1-stack-cost] 21:12:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-428-1-stack-cost] did not exist. Created. 21:12:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:12:30 /w/workspace/device-rest-go/1@tmp/durable-338f2dcb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:12:31 + echo total: 0.10999999940395355 [Pipeline] stash 21:12:31 Warning: overwriting stash ‘stack-cost’ 21:12:31 Stashed 1 file(s) [Pipeline] } 21:12:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:12:31 $ docker stop --time=1 02e76b1b25ce34a73842e251c1a0dd76929874a59d1efc143bfa6700595c79ce 21:12:33 $ docker rm -f --volumes 02e76b1b25ce34a73842e251c1a0dd76929874a59d1efc143bfa6700595c79ce [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:12:34 provisioning config files... 21:12:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-428@tmp/config5017417019206554387tmp [Pipeline] { [Pipeline] sh 21:12:34 + set +x 21:12:34 + curl -s https://codecov.io/bash 21:12:34 + bash -s -- 21:12:34 21:12:34 _____ _ 21:12:34 / ____| | | 21:12:34 | | ___ __| | ___ ___ _____ __ 21:12:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:12:34 | |___| (_) | (_| | __/ (_| (_) \ V / 21:12:34 \_____\___/ \__,_|\___|\___\___/ \_/ 21:12:34 Bash-1.0.6 21:12:34 21:12:34 21:12:34 ==> git version 2.25.1 found 21:12:34 ==> 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:12:34 Release-Date: 2020-01-08 21:12:34 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:12:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:12:34 ==> Jenkins CI detected. 21:12:34 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-428 21:12:34 project root: . 21:12:34 --> token set from env 21:12:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:12:34 ==> Running gcov in . (disable via -X gcov) 21:12:34 ==> Python coveragepy not found 21:12:34 ==> Searching for coverage reports in: 21:12:34 + . 21:12:34 -> Found 1 reports 21:12:34 ==> Detecting git/mercurial file structure 21:12:35 ==> Reading reports 21:12:35 + ./coverage.out bytes=14565 21:12:35 ==> Appending adjustments 21:12:35 https://docs.codecov.io/docs/fixing-reports 21:12:35 + Found adjustments 21:12:35 ==> Gzipping contents 21:12:35 4.0K /tmp/codecov.8pwnDh.gz 21:12:35 ==> Uploading reports 21:12:35 url: https://codecov.io 21:12:35 query: branch=PR-428&commit=3867d5d4ecdf07102fa678eefff056a1e71c114a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-428%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=428&job=&cmd_args= 21:12:35 -> Pinging Codecov 21:12:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-428&commit=3867d5d4ecdf07102fa678eefff056a1e71c114a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-428%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=428&job=&cmd_args= 21:12:35 -> Uploading to 21:12:35 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/3867d5d4ecdf07102fa678eefff056a1e71c114a/b6b78a39-9f06-405d-bcfa-7c4886c54fb4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241113%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241113T211235Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=1eb67289ac530ac18e7eb8b25fef4675ec93b553157b9d4d82a3e14aca5296ea 21:12:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:35 Dload Upload Total Spent Left Speed 21:12:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 10030 --:--:-- --:--:-- --:--:-- 10030 21:12:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3867d5d4ecdf07102fa678eefff056a1e71c114a [Pipeline] } 21:12:35 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:12:38 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-428/archives ] 21:12:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-428/archives 21:12:38 total 16 21:12:38 drwxr-xr-x 3 root root 4096 Nov 13 21:02 . 21:12:38 drwxrwxr-x 10 jenkins jenkins 4096 Nov 13 21:02 .. 21:12:38 drwxr-xr-x 2 root root 4096 Nov 13 21:02 cost 21:12:38 -rw-r--r-- 1 root root 86 Nov 13 21:02 cost.csv 21:12:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-428/archives 21:12:38 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-428/archives 21:12:38 total 16 21:12:38 drwxr-xr-x 3 jenkins jenkins 4096 Nov 13 21:02 . 21:12:38 drwxrwxr-x 10 jenkins jenkins 4096 Nov 13 21:02 .. 21:12:38 drwxr-xr-x 2 jenkins jenkins 4096 Nov 13 21:02 cost 21:12:38 -rw-r--r-- 1 jenkins jenkins 86 Nov 13 21:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:12:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:12:39 ---> package-listing.sh 21:12:39 ++ facter osfamily 21:12:39 ++ tr '[:upper:]' '[:lower:]' 21:12:39 + OS_FAMILY=debian 21:12:39 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-428 21:12:39 + START_PACKAGES=/tmp/packages_start.txt 21:12:39 + END_PACKAGES=/tmp/packages_end.txt 21:12:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:12:39 + PACKAGES=/tmp/packages_start.txt 21:12:39 + '[' /w/workspace/gexfoundry_device-rest-go_PR-428 ']' 21:12:39 + PACKAGES=/tmp/packages_end.txt 21:12:39 + case "${OS_FAMILY}" in 21:12:39 + dpkg -l 21:12:39 + grep '^ii' 21:12:39 + '[' -f /tmp/packages_start.txt ']' 21:12:39 + '[' -f /tmp/packages_end.txt ']' 21:12:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:12:39 + '[' /w/workspace/gexfoundry_device-rest-go_PR-428 ']' 21:12:39 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-428/archives/ 21:12:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-428/archives/ [Pipeline] echo 21:12:39 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-428/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:12:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:12:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:12:40 prd-ubuntu20.04-docker-8c-8g-26393 does not seem to be running inside a container 21:12:40 $ 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-428/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-428 -v /w/workspace/gexfoundry_device-rest-go_PR-428:/w/workspace/gexfoundry_device-rest-go_PR-428:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-428@tmp:/w/workspace/gexfoundry_device-rest-go_PR-428@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:12:41 $ docker top 51645b214f18421b16b24c2757b749753948bb9ce23df9ef0f3d4aea37428563 -eo pid,comm [Pipeline] { [Pipeline] sh 21:12:41 + touch /tmp/pre-build-complete [Pipeline] sh 21:12:41 + mkdir -p /var/log/sysstat [Pipeline] sh 21:12:42 + ls /var/log/sa-host 21:12:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:42 provisioning config files... 21:12:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-428@tmp/config2834471400208229416tmp [Pipeline] { [Pipeline] echo 21:12:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:12:42 ---> create-netrc.sh [Pipeline] } 21:12:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:12:43 ---> python-tools-install.sh [Pipeline] echo 21:12:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:12:43 ---> sudo-logs.sh 21:12:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:12:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:12:44 ---> job-cost.sh 21:12:44 lf-activate-venv: SKIPPING 21:12:44 DEBUG: total: 0.2199999988079071 21:12:44 INFO: Retrieving Stack Cost... 21:12:44 INFO: Retrieving Pricing Info for: v3-standard-8 21:12:45 INFO: Archiving Costs [Pipeline] echo 21:12:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:12:45 ---> logs-deploy.sh 21:12:45 lf-activate-venv: SKIPPING 21:12:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-428/1 21:12:45 INFO: archiving workspace using pattern(s): 21:12:46 Archives upload complete. 21:12:46 INFO: archiving logs to Nexus 21:12:47 ---> uname -a: 21:12:47 Linux prd-ubuntu20-04-docker-8c-8g-26393 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 21:12:47 21:12:47 21:12:47 ---> lscpu: 21:12:47 Architecture: x86_64 21:12:47 CPU op-mode(s): 32-bit, 64-bit 21:12:47 Byte Order: Little Endian 21:12:47 Address sizes: 40 bits physical, 48 bits virtual 21:12:47 CPU(s): 8 21:12:47 On-line CPU(s) list: 0-7 21:12:47 Thread(s) per core: 1 21:12:47 Core(s) per socket: 1 21:12:47 Socket(s): 8 21:12:47 NUMA node(s): 1 21:12:47 Vendor ID: AuthenticAMD 21:12:47 CPU family: 23 21:12:47 Model: 49 21:12:47 Model name: AMD EPYC-Rome Processor 21:12:47 Stepping: 0 21:12:47 CPU MHz: 2800.000 21:12:47 BogoMIPS: 5600.00 21:12:47 Virtualization: AMD-V 21:12:47 Hypervisor vendor: KVM 21:12:47 Virtualization type: full 21:12:47 L1d cache: 256 KiB 21:12:47 L1i cache: 256 KiB 21:12:47 L2 cache: 4 MiB 21:12:47 L3 cache: 128 MiB 21:12:47 NUMA node0 CPU(s): 0-7 21:12:47 Vulnerability Itlb multihit: Not affected 21:12:47 Vulnerability L1tf: Not affected 21:12:47 Vulnerability Mds: Not affected 21:12:47 Vulnerability Meltdown: Not affected 21:12:47 Vulnerability Mmio stale data: Not affected 21:12:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 21:12:47 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 21:12:47 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 21:12:47 Vulnerability Srbds: Not affected 21:12:47 Vulnerability Tsx async abort: Not affected 21:12:47 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:12:47 21:12:47 21:12:47 ---> nproc: 21:12:47 8 21:12:47 21:12:47 21:12:47 ---> df -h: 21:12:47 Filesystem Size Used Avail Use% Mounted on 21:12:47 overlay 155G 12G 143G 8% / 21:12:47 tmpfs 64M 0 64M 0% /dev 21:12:47 tmpfs 16G 0 16G 0% /sys/fs/cgroup 21:12:47 shm 64M 0 64M 0% /dev/shm 21:12:47 /dev/vda1 155G 12G 143G 8% /facter-os 21:12:47 21:12:47 21:12:47 ---> sar -b -r -n DEV: 21:12:47 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-26393) 11/13/24 _x86_64_ (8 CPU) 21:12:47 21:12:47 20:57:55 LINUX RESTART (8 CPU) 21:12:47 21:12:47 20:58:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 21:12:47 20:59:01 369.44 48.02 321.43 0.00 5402.73 173478.31 0.00 21:12:47 21:00:01 215.60 3.65 211.95 0.00 64.39 59734.04 0.00 21:12:47 21:01:02 135.82 0.02 135.80 0.00 4.13 41954.76 0.00 21:12:47 21:02:01 156.67 0.17 156.50 0.00 14.10 47176.00 0.00 21:12:47 21:03:01 78.20 2.52 75.69 0.00 109.32 17258.87 0.00 21:12:47 21:04:01 47.94 4.76 43.18 0.00 4344.09 8424.05 0.00 21:12:47 21:05:01 2.92 0.02 2.90 0.00 0.13 85.19 0.00 21:12:47 21:06:01 1.38 0.00 1.38 0.00 0.00 14.80 0.00 21:12:47 21:07:01 1.42 0.00 1.42 0.00 0.00 17.06 0.00 21:12:47 21:08:01 2.00 0.00 2.00 0.00 0.00 22.80 0.00 21:12:47 21:09:01 1.00 0.00 1.00 0.00 0.00 11.20 0.00 21:12:47 21:10:01 1.17 0.00 1.17 0.00 0.00 18.26 0.00 21:12:47 21:11:01 1.03 0.00 1.03 0.00 0.00 13.46 0.00 21:12:47 21:12:01 1.42 0.00 1.42 0.00 0.00 15.86 0.00 21:12:47 Average: 72.47 4.23 68.24 0.00 710.87 24848.10 0.00 21:12:47 21:12:47 20:58:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:12:47 20:59:01 29860560 31545500 804956 2.45 59676 1920780 2127296 6.27 1010392 1678148 932 21:12:47 21:00:01 27542600 31488480 822080 2.50 152176 3916452 2071524 6.11 1340268 3452888 421012 21:12:47 21:01:02 26927004 30932500 1369804 4.17 186468 3913552 2409612 7.10 1872652 3502816 368192 21:12:47 21:02:01 27446672 31502588 803044 2.44 190644 3983408 1937832 5.71 1389084 3492948 0 21:12:47 21:03:01 26937064 31502224 801164 2.44 200476 4431956 1798976 5.30 1412536 3928084 6516 21:12:47 21:04:01 26500100 31481704 792512 2.41 227508 4819904 1729404 5.10 1682648 4055504 148 21:12:47 21:05:01 26509904 31486652 787800 2.40 226056 4816648 1726180 5.09 1676764 4052304 152 21:12:47 21:06:01 26510140 31486892 787472 2.39 226076 4816656 1726180 5.09 1676884 4052304 140 21:12:47 21:07:01 26518132 31494928 779300 2.37 226124 4816660 1726180 5.09 1669188 4052308 8 21:12:47 21:08:01 26518564 31495488 778668 2.37 226204 4816664 1726180 5.09 1668284 4052320 4 21:12:47 21:09:01 26518832 31495768 778460 2.37 226244 4816664 1726180 5.09 1668768 4052312 188 21:12:47 21:10:01 26521140 31498144 776076 2.36 226292 4816668 1726180 5.09 1666264 4052320 144 21:12:47 21:11:01 26521148 31498192 776040 2.36 226308 4816672 1726180 5.09 1666044 4052320 8 21:12:47 21:12:01 26521344 31498408 775744 2.36 226336 4816672 1726180 5.09 1666100 4052320 300 21:12:47 Average: 26953800 31457676 830937 2.53 201899 4394240 1848863 5.45 1576134 3752064 56982 21:12:47 21:12:47 20:58:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:12:47 20:59:01 docker0 42.14 45.55 3.03 268.39 0.00 0.00 0.00 0.00 21:12:47 20:59:01 veth18f2a2e 42.14 45.65 3.61 268.40 0.00 0.00 0.00 0.02 21:12:47 20:59:01 lo 4.33 4.33 0.42 0.42 0.00 0.00 0.00 0.00 21:12:47 20:59:01 ens3 507.80 364.90 2962.80 90.35 0.00 0.00 0.00 0.00 21:12:47 21:00:01 docker0 294.82 424.20 25.59 3299.23 0.00 0.00 0.00 0.00 21:12:47 21:00:01 lo 2.93 2.93 0.29 0.29 0.00 0.00 0.00 0.00 21:12:47 21:00:01 ens3 565.52 379.62 6502.89 45.57 0.00 0.00 0.00 0.00 21:12:47 21:01:02 docker0 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 21:12:47 21:01:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:01:02 veth5c92bd5 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 21:12:47 21:01:02 ens3 23.07 15.38 25.40 10.11 0.00 0.00 0.00 0.00 21:12:47 21:02:01 docker0 6.93 14.90 0.42 193.86 0.00 0.00 0.00 0.00 21:12:47 21:02:01 lo 1.15 1.15 0.12 0.12 0.00 0.00 0.00 0.00 21:12:47 21:02:01 ens3 47.21 27.83 280.41 12.13 0.00 0.00 0.00 0.00 21:12:47 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:03:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 21:12:47 21:03:01 ens3 147.24 107.03 2641.92 120.73 0.00 0.00 0.00 0.00 21:12:47 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:04:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 21:12:47 21:04:01 ens3 183.86 86.76 2656.95 7.29 0.00 0.00 0.00 0.00 21:12:47 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:05:01 ens3 0.18 0.07 0.06 0.00 0.00 0.00 0.00 0.00 21:12:47 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:12:47 21:06:01 ens3 0.43 0.35 0.24 0.14 0.00 0.00 0.00 0.00 21:12:47 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:07:01 ens3 0.12 0.05 0.01 0.00 0.00 0.00 0.00 0.00 21:12:47 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:12:47 21:08:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:12:47 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:09:01 ens3 0.18 0.10 0.08 0.07 0.00 0.00 0.00 0.00 21:12:47 21:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:12:47 21:10:01 ens3 0.12 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:12:47 21:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:11:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:12:47 21:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 21:12:47 21:12:01 ens3 0.13 0.08 0.01 0.01 0.00 0.00 0.00 0.00 21:12:47 Average: docker0 24.58 34.64 2.08 268.75 0.00 0.00 0.00 0.00 21:12:47 Average: lo 0.80 0.80 0.08 0.08 0.00 0.00 0.00 0.00 21:12:47 Average: ens3 105.50 70.22 1077.46 20.47 0.00 0.00 0.00 0.00 21:12:47 21:12:47