Pull request #415 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 41bab601885b784e89ca069696799efbc14e4f59+3b51f885a24fd135da4abf50d3948cd78a691d64 (46f98dc7e793920ccf30f28e66a72f134eb29ac8) 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-ssh16815750564906033218.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-ssh12749232605234586922.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-415/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-415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2723738667283720840.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-415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8771050713857997906.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-ssh13966346672243863550.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-415/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-415/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10442251570551772536.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-21850 in /w/workspace/gexfoundry_device-rest-go_PR-415 [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-415 # 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 3b51f885a24fd135da4abf50d3948cd78a691d64 into PR head commit 41bab601885b784e89ca069696799efbc14e4f59 Merge succeeded, producing 41bab601885b784e89ca069696799efbc14e4f59 Checking out Revision 41bab601885b784e89ca069696799efbc14e4f59 (PR-415) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 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/415/head:refs/remotes/origin/PR-415 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41bab601885b784e89ca069696799efbc14e4f59 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 41bab601885b784e89ca069696799efbc14e4f59 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:42:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:42:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:29 ========================================================= 20:42:29 EdgeX Global Pipelines Version Info 20:42:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:42:30 ------------------- 20:42:30 stable info: 20:42:30 ------------------- 20:42:30 Commited By: Ginny Guan ginny@iotechsys.com 20:42:30 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 20:42:30 Message: update stable to v1.0.265 20:42:31 ------------------- 20:42:31 experimental info: 20:42:31 ------------------- 20:42:31 Commited By: Cherry Wang cherry@iotechsys.com 20:42:31 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:42:31 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:42:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-415 [Pipeline] echo 20:42:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-415 [Pipeline] echo 20:42:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-415 [Pipeline] echo 20:42:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41bab601885b784e89ca069696799efbc14e4f59 [Pipeline] echo 20:42:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41bab60 [Pipeline] echo 20:42:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:33 provisioning config files... 20:42:33 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-415@tmp/config18383359638274302611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:33 ---> ****-login.sh 20:42:33 nexus3.edgexfoundry.org:10001 20:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:34 Configure a credential helper to remove this warning. See 20:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:34 20:42:34 Login Succeeded 20:42:34 nexus3.edgexfoundry.org:10002 20:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:34 Configure a credential helper to remove this warning. See 20:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:34 20:42:34 Login Succeeded 20:42:34 nexus3.edgexfoundry.org:10003 20:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:34 Configure a credential helper to remove this warning. See 20:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:34 20:42:34 Login Succeeded 20:42:34 nexus3.edgexfoundry.org:10004 20:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:34 Configure a credential helper to remove this warning. See 20:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:34 20:42:34 Login Succeeded 20:42:34 ****.io 20:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:34 Configure a credential helper to remove this warning. See 20:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:34 20:42:34 Login Succeeded 20:42:34 ---> ****-login.sh ends [Pipeline] } 20:42:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:42:35 + git rev-list -1 --merges 41bab601885b784e89ca069696799efbc14e4f59~1..41bab601885b784e89ca069696799efbc14e4f59 [Pipeline] echo 20:42:35 -----------> git rev-list -1 --merges 41bab601885b784e89ca069696799efbc14e4f59~1..41bab601885b784e89ca069696799efbc14e4f59 41bab601885b784e89ca069696799efbc14e4f59 [false] [Pipeline] sh 20:42:36 + git log --format=format:%s -1 41bab601885b784e89ca069696799efbc14e4f59 [Pipeline] echo 20:42:36 ========================================================= 20:42:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:42:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:36 + git log --format=format:%s -1 41bab601885b784e89ca069696799efbc14e4f59 [Pipeline] echo 20:42:36 [semverPrep] GIT_COMMIT: 41bab601885b784e89ca069696799efbc14e4f59, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:42:36 [semverPrep] This is not a build commit. [Pipeline] sh 20:42:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:42:39 + grep -v github /etc/ssh/ssh_known_hosts 20:42:39 + [ -e /tmp/ssh_known_hosts ] 20:42:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:42:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:42:39 + sudo tee -a /etc/ssh/ssh_known_hosts 20:42:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:39 20:42:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:45 0.1.4: Pulling from edgex-devops/py-git-semver 20:42:45 b85a868b505f: Pulling fs layer 20:42:45 e2be974225ed: Pulling fs layer 20:42:45 339a4e72a1f5: Pulling fs layer 20:42:45 988bab9f4d93: Pulling fs layer 20:42:45 1469e6f7b9e6: Pulling fs layer 20:42:45 eaf3925da568: Pulling fs layer 20:42:45 bab4dde63d76: Pulling fs layer 20:42:45 bde34c3a00c8: Pulling fs layer 20:42:45 b352a97aabf1: Pulling fs layer 20:42:45 4872d77fe225: Pulling fs layer 20:42:45 5851b861e8e6: Pulling fs layer 20:42:45 988bab9f4d93: Waiting 20:42:45 1469e6f7b9e6: Waiting 20:42:45 eaf3925da568: Waiting 20:42:45 bab4dde63d76: Waiting 20:42:45 bde34c3a00c8: Waiting 20:42:45 b352a97aabf1: Waiting 20:42:45 4872d77fe225: Waiting 20:42:45 5851b861e8e6: Waiting 20:42:45 e2be974225ed: Verifying Checksum 20:42:45 e2be974225ed: Download complete 20:42:45 988bab9f4d93: Verifying Checksum 20:42:45 988bab9f4d93: Download complete 20:42:45 1469e6f7b9e6: Verifying Checksum 20:42:45 1469e6f7b9e6: Download complete 20:42:45 eaf3925da568: Download complete 20:42:45 339a4e72a1f5: Verifying Checksum 20:42:45 339a4e72a1f5: Download complete 20:42:45 bde34c3a00c8: Download complete 20:42:45 b352a97aabf1: Verifying Checksum 20:42:45 b352a97aabf1: Download complete 20:42:45 4872d77fe225: Download complete 20:42:45 5851b861e8e6: Verifying Checksum 20:42:45 b85a868b505f: Download complete 20:42:45 bab4dde63d76: Verifying Checksum 20:42:45 bab4dde63d76: Download complete 20:42:46 b85a868b505f: Pull complete 20:42:46 e2be974225ed: Pull complete 20:42:47 339a4e72a1f5: Pull complete 20:42:47 988bab9f4d93: Pull complete 20:42:47 1469e6f7b9e6: Pull complete 20:42:47 eaf3925da568: Pull complete 20:42:49 bab4dde63d76: Pull complete 20:42:49 bde34c3a00c8: Pull complete 20:42:49 b352a97aabf1: Pull complete 20:42:49 4872d77fe225: Pull complete 20:42:49 5851b861e8e6: Pull complete 20:42:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:42:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:49 prd-ubuntu20.04-docker-8c-8g-21850 does not seem to be running inside a container 20:42:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-415 -v /w/workspace/gexfoundry_device-rest-go_PR-415:/w/workspace/gexfoundry_device-rest-go_PR-415:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-415@tmp:/w/workspace/gexfoundry_device-rest-go_PR-415@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:42:52 $ docker top 66253395fcb39382556a52f5b3f2cc0dbbc025d2bc7b88b5a388be90b313825f -eo pid,comm 20:42:52 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:42:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:42:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:53 [ssh-agent] Looking for ssh-agent implementation... 20:42:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:53 $ docker exec 66253395fcb39382556a52f5b3f2cc0dbbc025d2bc7b88b5a388be90b313825f ssh-agent 20:42:53 SSH_AUTH_SOCK=/tmp/ssh-9cpbHaeomb5u/agent.31 20:42:53 SSH_AGENT_PID=37 20:42:53 Running ssh-add (command line suppressed) 20:42:53 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-415@tmp/private_key_17666153874620526020.key (/w/workspace/gexfoundry_device-rest-go_PR-415@tmp/private_key_17666153874620526020.key) 20:42:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:53 + git tag --points-at HEAD [Pipeline] } 20:42:53 $ docker exec --env ******** --env ******** 66253395fcb39382556a52f5b3f2cc0dbbc025d2bc7b88b5a388be90b313825f ssh-agent -k 20:42:53 unset SSH_AUTH_SOCK; 20:42:53 unset SSH_AGENT_PID; 20:42:53 echo Agent pid 37 killed; 20:42:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:42:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:53 [ssh-agent] Looking for ssh-agent implementation... 20:42:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:54 $ docker exec 66253395fcb39382556a52f5b3f2cc0dbbc025d2bc7b88b5a388be90b313825f ssh-agent 20:42:54 SSH_AUTH_SOCK=/tmp/ssh-AfqCoDefeetX/agent.71 20:42:54 SSH_AGENT_PID=77 20:42:54 Running ssh-add (command line suppressed) 20:42:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-415@tmp/private_key_2254679254464505818.key (/w/workspace/gexfoundry_device-rest-go_PR-415@tmp/private_key_2254679254464505818.key) 20:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:54 + git semver init 20:42:54 2024-10-04 20:42:54,890 [run_init] DEBUG init version:0.0.0 force:False 20:42:54 2024-10-04 20:42:54,891 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-415/.semver 20:42:54 2024-10-04 20:42:54,891 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-415/.semver 20:42:54 2024-10-04 20:42:54,892 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-415/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-415, universal_newlines=False, shell=None, istream=None) 20:42:56 2024-10-04 20:42:56,082 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-415/.git/info/exclude 20:42:56 2024-10-04 20:42:56,083 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-415/.semver/PR-415 with force:False 20:42:56 2024-10-04 20:42:56,083 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-415/.semver/PR-415 20:42:56 2024-10-04 20:42:56,087 [execute] INFO git cat-file --batch-check 20:42:56 2024-10-04 20:42:56,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-415/.semver, universal_newlines=False, shell=None, istream=) 20:42:56 2024-10-04 20:42:56,094 [execute] INFO git cat-file --batch 20:42:56 2024-10-04 20:42:56,095 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-415/.semver, universal_newlines=False, shell=None, istream=) 20:42:56 2024-10-04 20:42:56,100 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-415/.semver/PR-415 20:42:56 0.0.0 [Pipeline] } 20:42:56 $ docker exec --env ******** --env ******** 66253395fcb39382556a52f5b3f2cc0dbbc025d2bc7b88b5a388be90b313825f ssh-agent -k 20:42:56 unset SSH_AUTH_SOCK; 20:42:56 unset SSH_AGENT_PID; 20:42:56 echo Agent pid 77 killed; 20:42:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:42:56 + git semver [Pipeline] } 20:42:57 $ docker stop --time=1 66253395fcb39382556a52f5b3f2cc0dbbc025d2bc7b88b5a388be90b313825f 20:42:58 $ docker rm -f --volumes 66253395fcb39382556a52f5b3f2cc0dbbc025d2bc7b88b5a388be90b313825f [Pipeline] // withDockerContainer [Pipeline] sh 20:42:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:42:59 Stashed 1 file(s) [Pipeline] echo 20:42:59 [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:42:59 provisioning config files... 20:42:59 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-415@tmp/config10458426918947278685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:00 ---> ****-login.sh 20:43:00 nexus3.edgexfoundry.org:10001 20:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:00 Configure a credential helper to remove this warning. See 20:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:00 20:43:00 Login Succeeded 20:43:00 nexus3.edgexfoundry.org:10002 20:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:00 Configure a credential helper to remove this warning. See 20:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:00 20:43:00 Login Succeeded 20:43:00 nexus3.edgexfoundry.org:10003 20:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:00 Configure a credential helper to remove this warning. See 20:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:00 20:43:00 Login Succeeded 20:43:00 nexus3.edgexfoundry.org:10004 20:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:00 Configure a credential helper to remove this warning. See 20:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:00 20:43:00 Login Succeeded 20:43:00 ****.io 20:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:00 Configure a credential helper to remove this warning. See 20:43:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:00 20:43:00 Login Succeeded 20:43:00 ---> ****-login.sh ends [Pipeline] } 20:43:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:01 ========================================================= 20:43:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:43:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:01 + 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:43:01 Sending build context to Docker daemon 16.62MB 20:43:01 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:43:01 Step 2/12 : FROM ${BASE} AS builder 20:43:01 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:43:01 43c4264eed91: Pulling fs layer 20:43:01 4cc291be95ef: Pulling fs layer 20:43:01 2ac1f1163629: Pulling fs layer 20:43:01 5c3c966382ef: Pulling fs layer 20:43:01 4f4fb700ef54: Pulling fs layer 20:43:01 5d5c8e513c77: Pulling fs layer 20:43:01 9f66e0745190: Pulling fs layer 20:43:01 f49a43e4bbc0: Pulling fs layer 20:43:01 561ebcabdf7f: Pulling fs layer 20:43:01 f49a43e4bbc0: Waiting 20:43:01 9f66e0745190: Waiting 20:43:01 561ebcabdf7f: Waiting 20:43:01 4f4fb700ef54: Waiting 20:43:01 5d5c8e513c77: Waiting 20:43:01 5c3c966382ef: Waiting 20:43:02 4cc291be95ef: Verifying Checksum 20:43:02 5c3c966382ef: Verifying Checksum 20:43:02 5c3c966382ef: Download complete 20:43:02 4f4fb700ef54: Verifying Checksum 20:43:02 4f4fb700ef54: Download complete 20:43:02 5d5c8e513c77: Download complete 20:43:02 43c4264eed91: Download complete 20:43:02 9f66e0745190: Verifying Checksum 20:43:02 9f66e0745190: Download complete 20:43:02 43c4264eed91: Pull complete 20:43:02 4cc291be95ef: Pull complete 20:43:02 561ebcabdf7f: Verifying Checksum 20:43:02 561ebcabdf7f: Download complete 20:43:02 2ac1f1163629: Verifying Checksum 20:43:02 2ac1f1163629: Download complete 20:43:02 f49a43e4bbc0: Verifying Checksum 20:43:02 f49a43e4bbc0: Download complete 20:43:06 2ac1f1163629: Pull complete 20:43:06 5c3c966382ef: Pull complete 20:43:06 4f4fb700ef54: Pull complete 20:43:06 5d5c8e513c77: Pull complete 20:43:06 9f66e0745190: Pull complete 20:43:08 f49a43e4bbc0: Pull complete 20:43:08 561ebcabdf7f: Pull complete 20:43:08 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 20:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:43:08 ---> 3a752c3f9dda 20:43:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:43:14 ---> Running in dd4a3352e9df 20:43:14 Removing intermediate container dd4a3352e9df 20:43:14 ---> fa9652db8c10 20:43:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:14 ---> Running in 186158b3160e 20:43:14 Removing intermediate container 186158b3160e 20:43:14 ---> 361f3d91eb79 20:43:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:14 ---> Running in e76411cbe0b5 20:43:14 Removing intermediate container e76411cbe0b5 20:43:14 ---> 3472d239a94e 20:43:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:43:14 ---> Running in 98192fcb81dc 20:43:14 Removing intermediate container 98192fcb81dc 20:43:14 ---> e493d5d995ac 20:43:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:14 ---> Running in a4a0a0a7c0fc 20:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:43:14 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:43:14 (2/4) Installing libedit (20240517.3.1-r0) 20:43:14 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:43:14 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:43:14 Executing busybox-1.36.1-r29.trigger 20:43:14 OK: 250 MiB in 58 packages 20:43:14 Still waiting to schedule task 20:43:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:43:14 Removing intermediate container a4a0a0a7c0fc 20:43:14 ---> 4bc03dc3a462 20:43:14 Step 8/12 : WORKDIR /device-rest-go 20:43:14 ---> Running in 4020497a2da6 20:43:15 Removing intermediate container 4020497a2da6 20:43:15 ---> 19fd37b5d348 20:43:15 Step 9/12 : COPY go.mod vendor* ./ 20:43:15 ---> cb75e70bdf6d 20:43:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:15 ---> Running in a05903591d0a 20:44:11 Removing intermediate container a05903591d0a 20:44:11 ---> 2d02181cf338 20:44:11 Step 11/12 : COPY . . 20:44:12 ---> e9042ec4635a 20:44:12 Step 12/12 : RUN $MAKE 20:44:12 ---> Running in a300737dacd5 20:44:12 noop 20:44:12 Removing intermediate container a300737dacd5 20:44:12 ---> 87f850a7718f 20:44:12 Successfully built 87f850a7718f 20:44:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:13 + docker inspect -f . ci-base-image-x86_64 20:44:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:13 prd-ubuntu20.04-docker-8c-8g-21850 does not seem to be running inside a container 20:44:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-415 -v /w/workspace/gexfoundry_device-rest-go_PR-415:/w/workspace/gexfoundry_device-rest-go_PR-415:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-415@tmp:/w/workspace/gexfoundry_device-rest-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:44:13 $ docker top e2400329389b4cd2f684901ffaeada136b7e0c3b475a30b92c3d056a408ad6cf -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:14 + go version 20:44:14 go version go1.23.2 linux/amd64 [Pipeline] } 20:44:14 $ docker stop --time=1 e2400329389b4cd2f684901ffaeada136b7e0c3b475a30b92c3d056a408ad6cf 20:44:15 $ docker rm -f --volumes e2400329389b4cd2f684901ffaeada136b7e0c3b475a30b92c3d056a408ad6cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:16 + docker inspect -f . ci-base-image-x86_64 20:44:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:16 prd-ubuntu20.04-docker-8c-8g-21850 does not seem to be running inside a container 20:44:16 $ 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-415 -v /w/workspace/gexfoundry_device-rest-go_PR-415:/w/workspace/gexfoundry_device-rest-go_PR-415:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-415@tmp:/w/workspace/gexfoundry_device-rest-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:44:17 $ docker top 522d0f525c428e253a8ce0a3a97f14843565863dbe5cc9f7ff3eabf53902cecd -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-415 [Pipeline] fileExists [Pipeline] sh 20:44:17 + make test 20:44:17 go test ./... -coverprofile=coverage.out ./... 20:44:19 ? github.com/edgexfoundry/device-rest-go [no test files] 20:44:41 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:44:41 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 20:44:49 go vet ./... 20:44:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:44:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:44:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:44:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:44:55 $ docker stop --time=1 522d0f525c428e253a8ce0a3a97f14843565863dbe5cc9f7ff3eabf53902cecd 20:44:59 $ docker rm -f --volumes 522d0f525c428e253a8ce0a3a97f14843565863dbe5cc9f7ff3eabf53902cecd [Pipeline] // withDockerContainer [Pipeline] sh 20:44:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:45:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:45:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:01 + ls -al . 20:45:01 total 256 20:45:01 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 20:44 . 20:45:01 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:42 .. 20:45:01 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 20:42 .dockerignore 20:45:01 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:44 .git 20:45:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:42 .github 20:45:01 -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 20:42 .gitignore 20:45:01 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 20:42 .golangci.yml 20:45:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 20:42 .semver 20:45:01 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 4 20:42 Attribution.txt 20:45:01 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 4 20:42 CHANGELOG.md 20:45:01 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 4 20:42 Dockerfile 20:45:01 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:42 GOVERNANCE.md 20:45:01 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 20:42 Jenkinsfile 20:45:01 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:42 LICENSE 20:45:01 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 4 20:42 Makefile 20:45:01 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 20:42 OWNERS.md 20:45:01 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 4 20:42 README.md 20:45:01 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 20:42 VERSION 20:45:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:42 bin 20:45:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:42 cmd 20:45:01 -rw-r--r-- 1 jenkins jenkins 14565 Oct 4 20:44 coverage.out 20:45:01 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:42 driver 20:45:01 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 4 20:42 go.mod 20:45:01 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 20:42 go.sum 20:45:01 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:42 openapi 20:45:01 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:01 + 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=41bab601885b784e89ca069696799efbc14e4f59 --label arch=amd64 --label version=0.0.0 . 20:45:01 Sending build context to Docker daemon 16.63MB 20:45:01 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:45:01 Step 2/26 : FROM ${BASE} AS builder 20:45:01 ---> 87f850a7718f 20:45:01 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:45:02 ---> Running in abd78708c69b 20:45:02 Removing intermediate container abd78708c69b 20:45:02 ---> d8ee4d5d56c1 20:45:02 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:02 ---> Running in 6b0b1b656adb 20:45:02 Removing intermediate container 6b0b1b656adb 20:45:02 ---> fa0a9ab736fd 20:45:02 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:45:02 ---> Running in e280fa57d3c5 20:45:02 Removing intermediate container e280fa57d3c5 20:45:02 ---> ea1b79107adb 20:45:02 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:45:02 ---> Running in fa6de0612108 20:45:02 Removing intermediate container fa6de0612108 20:45:02 ---> 051c9ce254c8 20:45:02 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:02 ---> Running in a17b7ac6a6ef 20:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:45:02 OK: 250 MiB in 58 packages 20:45:03 Removing intermediate container a17b7ac6a6ef 20:45:03 ---> e19e5c4dd339 20:45:03 Step 8/26 : WORKDIR /device-rest-go 20:45:03 ---> Running in 5ce770af453a 20:45:03 Removing intermediate container 5ce770af453a 20:45:03 ---> 757e62ee211b 20:45:03 Step 9/26 : COPY go.mod vendor* ./ 20:45:03 ---> fbcbcc4f3031 20:45:03 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:03 ---> Running in 0389a34d874b 20:45:03 Removing intermediate container 0389a34d874b 20:45:03 ---> cec6fc8f3bb2 20:45:03 Step 11/26 : COPY . . 20:45:04 ---> cc385452f550 20:45:04 Step 12/26 : RUN $MAKE 20:45:04 ---> Running in c69c6025e95d 20:45:04 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.42" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:45:37 Removing intermediate container c69c6025e95d 20:45:37 ---> 57071ec0aafb 20:45:37 Step 13/26 : FROM alpine:3.20 20:45:37 3.20: Pulling from library/alpine 20:45:37 43c4264eed91: Already exists 20:45:37 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 20:45:37 Status: Downloaded newer image for alpine:3.20 20:45:37 ---> 91ef0af61f39 20:45:37 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:45:37 ---> Running in dc8ca44c66ab 20:45:37 Removing intermediate container dc8ca44c66ab 20:45:37 ---> e8398f603fd1 20:45:37 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:45:37 ---> Running in 6f84f0d045ed 20:45:37 Removing intermediate container 6f84f0d045ed 20:45:37 ---> 598532027fab 20:45:37 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:45:37 ---> Running in eca21c5d627c 20:45:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:45:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:45:37 (1/1) Installing dumb-init (1.2.5-r3) 20:45:37 Executing busybox-1.36.1-r29.trigger 20:45:37 OK: 8 MiB in 15 packages 20:45:37 Removing intermediate container eca21c5d627c 20:45:37 ---> 7e4c4bde8fd3 20:45:37 Step 17/26 : RUN apk --no-cache upgrade 20:45:38 ---> Running in 72810322db5a 20:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:45:38 Upgrading critical system libraries and apk-tools: 20:45:38 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 20:45:38 Executing busybox-1.36.1-r29.trigger 20:45:38 Continuing the upgrade transaction with new apk-tools: 20:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:45:39 OK: 8 MiB in 15 packages 20:45:39 Removing intermediate container 72810322db5a 20:45:39 ---> 2290727e93be 20:45:39 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:45:41 ---> cc430adfdcab 20:45:41 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:45:42 ---> bbc6d3b7df04 20:45:42 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:45:42 ---> 98b31084e381 20:45:42 Step 21/26 : EXPOSE 59986 20:45:42 ---> Running in 870e5bc57460 20:45:42 Removing intermediate container 870e5bc57460 20:45:42 ---> c6a8fbf2f965 20:45:42 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:45:42 ---> Running in abe54473ca10 20:45:42 Removing intermediate container abe54473ca10 20:45:42 ---> a123b33d7ca6 20:45:42 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:45:42 ---> Running in ecbe3b651acb 20:45:42 Removing intermediate container ecbe3b651acb 20:45:42 ---> ab690e8594ba 20:45:42 Step 24/26 : LABEL arch=amd64 20:45:42 ---> Running in b6402112b101 20:45:42 Removing intermediate container b6402112b101 20:45:42 ---> 0eb080dda56f 20:45:42 Step 25/26 : LABEL git_sha=41bab601885b784e89ca069696799efbc14e4f59 20:45:42 ---> Running in 8bf6fa1d5066 20:45:42 Removing intermediate container 8bf6fa1d5066 20:45:42 ---> 912e26ef6ec2 20:45:42 Step 26/26 : LABEL version=0.0.0 20:45:42 ---> Running in c7a1a2ac32b3 20:45:42 Removing intermediate container c7a1a2ac32b3 20:45:42 ---> 3d91174c9698 20:45:42 [Warning] One or more build-args [ARCH] were not consumed 20:45:42 Successfully built 3d91174c9698 20:45:42 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:43 20:45:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:45 latest: Pulling from edgex-lftools-log-publisher 20:45:45 5eb5b503b376: Pulling fs layer 20:45:45 5c69ac0246d0: Pulling fs layer 20:45:45 ec43610c2a17: Pulling fs layer 20:45:45 3a2ae6a8a46f: Pulling fs layer 20:45:45 33b1e0a273af: Pulling fs layer 20:45:45 5d3b04190fa2: Pulling fs layer 20:45:45 2f39f015ded8: Pulling fs layer 20:45:45 3a2ae6a8a46f: Waiting 20:45:45 33b1e0a273af: Waiting 20:45:45 2f39f015ded8: Waiting 20:45:45 5d3b04190fa2: Waiting 20:45:45 5c69ac0246d0: Verifying Checksum 20:45:45 5c69ac0246d0: Download complete 20:45:45 3a2ae6a8a46f: Verifying Checksum 20:45:45 3a2ae6a8a46f: Download complete 20:45:45 33b1e0a273af: Verifying Checksum 20:45:45 33b1e0a273af: Download complete 20:45:45 5d3b04190fa2: Verifying Checksum 20:45:45 5d3b04190fa2: Download complete 20:45:45 ec43610c2a17: Verifying Checksum 20:45:45 ec43610c2a17: Download complete 20:45:45 5eb5b503b376: Verifying Checksum 20:45:45 5eb5b503b376: Download complete 20:45:46 2f39f015ded8: Download complete 20:45:46 5eb5b503b376: Pull complete 20:45:46 5c69ac0246d0: Pull complete 20:45:47 ec43610c2a17: Pull complete 20:45:47 3a2ae6a8a46f: Pull complete 20:45:47 33b1e0a273af: Pull complete 20:45:47 5d3b04190fa2: Pull complete 20:45:51 2f39f015ded8: Pull complete 20:45:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:51 prd-ubuntu20.04-docker-8c-8g-21850 does not seem to be running inside a container 20:45:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-415 -v /w/workspace/gexfoundry_device-rest-go_PR-415:/w/workspace/gexfoundry_device-rest-go_PR-415:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-415@tmp:/w/workspace/gexfoundry_device-rest-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:45:56 $ docker top afdd8887d071c2d9bbdd7dbfaac05358ccd9a62dc24eaa5eca55bc94d63200cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:56 ---> job-cost.sh 20:45:56 lf-activate-venv: SKIPPING 20:45:56 INFO: No Stack... 20:45:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:45:57 INFO: Archiving Costs [Pipeline] sh 20:45:57 + cat /w/workspace/gexfoundry_device-rest-go_PR-415/archives/cost.csv 20:45:57 + cut -d, -f6 [Pipeline] lock 20:45:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-415-1-stack-cost] 20:45:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-415-1-stack-cost] did not exist. Created. 20:45:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:58 + echo total: 0.2199999988079071 [Pipeline] stash 20:45:58 Stashed 1 file(s) [Pipeline] } 20:45:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-415-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:45:58 $ docker stop --time=1 afdd8887d071c2d9bbdd7dbfaac05358ccd9a62dc24eaa5eca55bc94d63200cd 20:45:59 $ docker rm -f --volumes afdd8887d071c2d9bbdd7dbfaac05358ccd9a62dc24eaa5eca55bc94d63200cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21853 in /w/workspace/gexfoundry_device-rest-go_PR-415 [Pipeline] { [Pipeline] ws 20:46:23 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:46:26 The recommended git tool is: git 20:46:31 using credential edgex-jenkins-ssh 20:46:31 Cloning the remote Git repository 20:46:31 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:46:31 > git init /w/workspace/device-rest-go/1 # timeout=10 20:46:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:46:31 > git --version # timeout=10 20:46:31 > git --version # 'git version 2.25.1' 20:46:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:46:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:46:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:46:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:46:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:46:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/415/head:refs/remotes/origin/PR-415 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:46:36 Merging remotes/origin/main commit 3b51f885a24fd135da4abf50d3948cd78a691d64 into PR head commit 41bab601885b784e89ca069696799efbc14e4f59 20:46:36 Merge succeeded, producing 41bab601885b784e89ca069696799efbc14e4f59 20:46:36 Checking out Revision 41bab601885b784e89ca069696799efbc14e4f59 (PR-415) 20:46:37 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:46:36 > git config core.sparsecheckout # timeout=10 20:46:36 > git checkout -f 41bab601885b784e89ca069696799efbc14e4f59 # timeout=10 20:46:36 > git remote # timeout=10 20:46:36 > git config --get remote.origin.url # timeout=10 20:46:36 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:36 > git merge 3b51f885a24fd135da4abf50d3948cd78a691d64 # timeout=10 20:46:36 > git rev-parse HEAD^{commit} # timeout=10 20:46:36 > git config core.sparsecheckout # timeout=10 20:46:36 > git checkout -f 41bab601885b784e89ca069696799efbc14e4f59 # timeout=10 20:46:37 > git --version # timeout=10 20:46:37 > git --version # 'git version 2.25.1' 20:46:37 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:46:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:46:42 % Total % Received % Xferd Average Speed Time Time Time Current 20:46:42 Dload Upload Total Spent Left Speed 20:46:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh 20:46:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:46:42 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 20:46:42 20:46:42 { 20:46:42 "registry-mirrors": [ 20:46:42 "https://nexus3.edgexfoundry.org:10001" 20:46:42 ], 20:46:42 "bip": "10.250.0.254/24", 20:46:42 "hosts": [ 20:46:42 "tcp://0.0.0.0:5555", 20:46:42 "unix:///var/run/docker.sock" 20:46:42 ], 20:46:42 "mtu": 1458, 20:46:42 "selinux-enabled": true, 20:46:42 "seccomp-profile": "/etc/docker/seccomp.json" 20:46:42 } [Pipeline] sh 20:46:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:46:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:01 provisioning config files... 20:47:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6252962515268572244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:02 ---> ****-login.sh 20:47:02 nexus3.edgexfoundry.org:10001 20:47:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:02 Configure a credential helper to remove this warning. See 20:47:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:02 20:47:02 Login Succeeded 20:47:02 nexus3.edgexfoundry.org:10002 20:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:03 Configure a credential helper to remove this warning. See 20:47:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:03 20:47:03 Login Succeeded 20:47:03 nexus3.edgexfoundry.org:10003 20:47:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:03 Configure a credential helper to remove this warning. See 20:47:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:03 20:47:03 Login Succeeded 20:47:03 nexus3.edgexfoundry.org:10004 20:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:04 Configure a credential helper to remove this warning. See 20:47:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:04 20:47:04 Login Succeeded 20:47:04 ****.io 20:47:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:47:04 Configure a credential helper to remove this warning. See 20:47:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:47:04 20:47:04 Login Succeeded 20:47:04 ---> ****-login.sh ends [Pipeline] } 20:47:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:47:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:47:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:47:05 ========================================================= 20:47:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 20:47:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:47:05 Sending build context to Docker daemon 140.3kB 20:47:06 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:47:06 Step 2/12 : FROM ${BASE} AS builder 20:47:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:47:06 cf04c63912e1: Pulling fs layer 20:47:06 55b35a11ae5e: Pulling fs layer 20:47:06 a37a00ec5f00: Pulling fs layer 20:47:06 50b3750afda1: Pulling fs layer 20:47:06 4f4fb700ef54: Pulling fs layer 20:47:06 80978eb59214: Pulling fs layer 20:47:06 c9f46d7d2bd2: Pulling fs layer 20:47:06 c5a475d317c9: Pulling fs layer 20:47:06 80978eb59214: Waiting 20:47:06 c9f46d7d2bd2: Waiting 20:47:06 c5a475d317c9: Waiting 20:47:06 4f4fb700ef54: Waiting 20:47:06 50b3750afda1: Waiting 20:47:06 55b35a11ae5e: Verifying Checksum 20:47:06 55b35a11ae5e: Download complete 20:47:06 50b3750afda1: Verifying Checksum 20:47:06 50b3750afda1: Download complete 20:47:06 4f4fb700ef54: Verifying Checksum 20:47:06 4f4fb700ef54: Download complete 20:47:06 80978eb59214: Download complete 20:47:06 cf04c63912e1: Verifying Checksum 20:47:06 cf04c63912e1: Download complete 20:47:06 c5a475d317c9: Verifying Checksum 20:47:06 c5a475d317c9: Download complete 20:47:07 cf04c63912e1: Pull complete 20:47:08 55b35a11ae5e: Pull complete 20:47:08 a37a00ec5f00: Verifying Checksum 20:47:08 a37a00ec5f00: Download complete 20:47:09 c9f46d7d2bd2: Verifying Checksum 20:47:09 c9f46d7d2bd2: Download complete 20:47:24 a37a00ec5f00: Pull complete 20:47:24 50b3750afda1: Pull complete 20:47:24 4f4fb700ef54: Pull complete 20:47:24 80978eb59214: Pull complete 20:47:30 c9f46d7d2bd2: Pull complete 20:47:32 c5a475d317c9: Pull complete 20:47:32 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 20:47:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 20:47:32 ---> be29e6b0f0d4 20:47:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:47:34 ---> Running in d5431222b8d5 20:47:34 Removing intermediate container d5431222b8d5 20:47:34 ---> 58f6e093d452 20:47:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:47:34 ---> Running in 1998aa2e1918 20:47:34 Removing intermediate container 1998aa2e1918 20:47:34 ---> 877b92c7319e 20:47:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:47:34 ---> Running in 44e81d53e046 20:47:34 Removing intermediate container 44e81d53e046 20:47:34 ---> 33cfbdfb1020 20:47:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:47:34 ---> Running in 3ce3caf0f91b 20:47:35 Removing intermediate container 3ce3caf0f91b 20:47:35 ---> b6555c0fb2a7 20:47:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:47:35 ---> Running in 7e3ff5ce7b36 20:47:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:47:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:47:38 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:47:38 (2/4) Installing libedit (20240517.3.1-r0) 20:47:38 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:47:38 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:47:38 Executing busybox-1.36.1-r29.trigger 20:47:38 OK: 242 MiB in 58 packages 20:47:39 Removing intermediate container 7e3ff5ce7b36 20:47:39 ---> 58d989cfe531 20:47:39 Step 8/12 : WORKDIR /device-rest-go 20:47:39 ---> Running in 4cebeb20f8e7 20:47:39 Removing intermediate container 4cebeb20f8e7 20:47:39 ---> f77292a627d8 20:47:39 Step 9/12 : COPY go.mod vendor* ./ 20:47:40 ---> ee915450946f 20:47:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:40 ---> Running in b9f78fd1c247 20:49:31 Removing intermediate container b9f78fd1c247 20:49:31 ---> 7c89d0e5fad3 20:49:31 Step 11/12 : COPY . . 20:49:31 ---> 8a0ddf9df97f 20:49:31 Step 12/12 : RUN $MAKE 20:49:31 ---> Running in 5d2eb109a3da 20:49:31 noop 20:49:31 Removing intermediate container 5d2eb109a3da 20:49:31 ---> 80aea68c40ef 20:49:31 Successfully built 80aea68c40ef 20:49:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:32 + docker inspect -f . ci-base-image-arm64 20:49:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:32 prd-ubuntu20.04-docker-arm64-4c-16g-21853 does not seem to be running inside a container 20:49:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:49:33 $ docker top d0239d70b304f2f7d898b53536a2cdf9fabbee2600ea61ce6bcd522082945f64 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:34 + go version 20:49:35 go version go1.23.2 linux/arm64 [Pipeline] } 20:49:35 $ docker stop --time=1 d0239d70b304f2f7d898b53536a2cdf9fabbee2600ea61ce6bcd522082945f64 20:49:36 $ docker rm -f --volumes d0239d70b304f2f7d898b53536a2cdf9fabbee2600ea61ce6bcd522082945f64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:37 + docker inspect -f . ci-base-image-arm64 20:49:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:37 prd-ubuntu20.04-docker-arm64-4c-16g-21853 does not seem to be running inside a container 20:49:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:49:39 $ docker top 00b73b9173f9db4c7b488dd0c63e78703e97ee83509aea71e40bf08aa4083e1f -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:40 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:49:40 + make test 20:49:40 go test ./... -coverprofile=coverage.out ./... 20:49:46 ? github.com/edgexfoundry/device-rest-go [no test files] 20:53:22 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:53:22 ok github.com/edgexfoundry/device-rest-go/driver 0.042s coverage: 33.2% of statements 20:53:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:53:22 go vet ./... 20:54:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:54:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:54:09 ./bin/test-attribution-txt.sh [Pipeline] echo 20:54:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:54:09 $ docker stop --time=1 00b73b9173f9db4c7b488dd0c63e78703e97ee83509aea71e40bf08aa4083e1f 20:54:11 $ docker rm -f --volumes 00b73b9173f9db4c7b488dd0c63e78703e97ee83509aea71e40bf08aa4083e1f [Pipeline] // withDockerContainer [Pipeline] sh 20:54:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:54:13 Warning: overwriting stash ‘coverage-report’ 20:54:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:54:15 + ls -al . 20:54:15 total 252 20:54:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:49 . 20:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 20:46 .. 20:54:15 -rw-rw-r-- 1 jenkins jenkins 151 Oct 4 20:46 .dockerignore 20:54:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 20:46 .git 20:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:46 .github 20:54:15 -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 20:46 .gitignore 20:54:15 -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 20:46 .golangci.yml 20:54:15 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 4 20:46 Attribution.txt 20:54:15 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 4 20:46 CHANGELOG.md 20:54:15 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 4 20:46 Dockerfile 20:54:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 20:46 GOVERNANCE.md 20:54:15 -rw-rw-r-- 1 jenkins jenkins 680 Oct 4 20:46 Jenkinsfile 20:54:15 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 20:46 LICENSE 20:54:15 -rw-rw-r-- 1 jenkins jenkins 2016 Oct 4 20:46 Makefile 20:54:15 -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 20:46 OWNERS.md 20:54:15 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 4 20:46 README.md 20:54:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 20:42 VERSION 20:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:46 bin 20:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:46 cmd 20:54:15 -rw-r--r-- 1 jenkins jenkins 14565 Oct 4 20:53 coverage.out 20:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 20:46 driver 20:54:15 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 4 20:46 go.mod 20:54:15 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 20:46 go.sum 20:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 20:46 openapi 20:54:15 -rw-rw-r-- 1 jenkins jenkins 713 Oct 4 20:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:15 + 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=41bab601885b784e89ca069696799efbc14e4f59 --label arch=arm64 --label version=0.0.0 . 20:54:15 Sending build context to Docker daemon 155.6kB 20:54:15 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:54:15 Step 2/26 : FROM ${BASE} AS builder 20:54:15 ---> 80aea68c40ef 20:54:15 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:54:15 ---> Running in fda850ecf627 20:54:16 Removing intermediate container fda850ecf627 20:54:16 ---> 52cee7ca086d 20:54:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:54:16 ---> Running in e83d202eeaca 20:54:16 Removing intermediate container e83d202eeaca 20:54:16 ---> 74ed56f2f7b7 20:54:16 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:54:16 ---> Running in 118ec0be0c93 20:54:16 Removing intermediate container 118ec0be0c93 20:54:16 ---> 72f87a85df4d 20:54:16 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:54:16 ---> Running in 11283a9f536f 20:54:17 Removing intermediate container 11283a9f536f 20:54:17 ---> f9414c9259f1 20:54:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:54:17 ---> Running in f965a00763ec 20:54:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:54:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:54:20 OK: 242 MiB in 58 packages 20:54:20 Removing intermediate container f965a00763ec 20:54:20 ---> 9e196c19cbc5 20:54:20 Step 8/26 : WORKDIR /device-rest-go 20:54:20 ---> Running in 185a33870058 20:54:21 Removing intermediate container 185a33870058 20:54:21 ---> ce8b6e359675 20:54:21 Step 9/26 : COPY go.mod vendor* ./ 20:54:21 ---> 52c81835f11d 20:54:21 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:21 ---> Running in 47ad0fa55553 20:54:23 Removing intermediate container 47ad0fa55553 20:54:23 ---> 5c4cd13c35d6 20:54:23 Step 11/26 : COPY . . 20:54:24 ---> 92073f6d3ea7 20:54:24 Step 12/26 : RUN $MAKE 20:54:24 ---> Running in be2704d90766 20:54:25 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.42" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:57:47 Removing intermediate container be2704d90766 20:57:47 ---> bc80a4139567 20:57:47 Step 13/26 : FROM alpine:3.20 20:57:47 3.20: Pulling from library/alpine 20:57:47 cf04c63912e1: Already exists 20:57:47 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 20:57:47 Status: Downloaded newer image for alpine:3.20 20:57:47 ---> c157a85ed455 20:57:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:57:47 ---> Running in 3d6b1271e756 20:57:47 Removing intermediate container 3d6b1271e756 20:57:47 ---> 9f59280d1dc9 20:57:47 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:57:47 ---> Running in a3e51791322f 20:57:47 Removing intermediate container a3e51791322f 20:57:47 ---> 3e718f51d45e 20:57:47 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:57:47 ---> Running in 3880b22d395c 20:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:57:47 (1/1) Installing dumb-init (1.2.5-r3) 20:57:47 Executing busybox-1.36.1-r29.trigger 20:57:47 OK: 9 MiB in 15 packages 20:57:47 Removing intermediate container 3880b22d395c 20:57:47 ---> f65748a2367c 20:57:47 Step 17/26 : RUN apk --no-cache upgrade 20:57:47 ---> Running in 80f2326979f8 20:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:57:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:57:47 Upgrading critical system libraries and apk-tools: 20:57:47 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 20:57:47 Executing busybox-1.36.1-r29.trigger 20:57:48 Continuing the upgrade transaction with new apk-tools: 20:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:57:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:57:49 OK: 9 MiB in 15 packages 20:57:50 Removing intermediate container 80f2326979f8 20:57:50 ---> c7a7a6ff6012 20:57:50 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:57:52 ---> 607904528de9 20:57:52 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:57:52 ---> 0694d94c2f65 20:57:52 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:57:53 ---> ecbc3633abcf 20:57:53 Step 21/26 : EXPOSE 59986 20:57:53 ---> Running in e44b43b64fbc 20:57:53 Removing intermediate container e44b43b64fbc 20:57:53 ---> 498dbe67e576 20:57:53 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:57:53 ---> Running in c7254ad40d9f 20:57:53 Removing intermediate container c7254ad40d9f 20:57:53 ---> c0b3b1aec212 20:57:53 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:57:53 ---> Running in 2fddd0b18be1 20:57:54 Removing intermediate container 2fddd0b18be1 20:57:54 ---> 186f8b5325de 20:57:54 Step 24/26 : LABEL arch=arm64 20:57:54 ---> Running in 1a9a9419b9fa 20:57:54 Removing intermediate container 1a9a9419b9fa 20:57:54 ---> 4e7630c90c1d 20:57:54 Step 25/26 : LABEL git_sha=41bab601885b784e89ca069696799efbc14e4f59 20:57:54 ---> Running in 5973433421bf 20:57:54 Removing intermediate container 5973433421bf 20:57:54 ---> b4b9e6fbbfc9 20:57:54 Step 26/26 : LABEL version=0.0.0 20:57:54 ---> Running in 24bae87e5c66 20:57:55 Removing intermediate container 24bae87e5c66 20:57:55 ---> 4e91cf287ce0 20:57:55 [Warning] One or more build-args [ARCH] were not consumed 20:57:55 Successfully built 4e91cf287ce0 20:57:55 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:56 20:57:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:57:56 arm64: Pulling from edgex-lftools-log-publisher 20:57:56 8998bd30e6a1: Pulling fs layer 20:57:56 04944245beec: Pulling fs layer 20:57:56 699f458cf7ca: Pulling fs layer 20:57:56 765212b225bb: Pulling fs layer 20:57:56 f23df028b6ca: Pulling fs layer 20:57:56 d65c8cfc05b1: Pulling fs layer 20:57:56 2437ff75d9bd: Pulling fs layer 20:57:56 f23df028b6ca: Waiting 20:57:56 d65c8cfc05b1: Waiting 20:57:56 2437ff75d9bd: Waiting 20:57:56 765212b225bb: Waiting 20:57:56 04944245beec: Verifying Checksum 20:57:56 04944245beec: Download complete 20:57:56 765212b225bb: Verifying Checksum 20:57:56 765212b225bb: Download complete 20:57:56 f23df028b6ca: Verifying Checksum 20:57:56 f23df028b6ca: Download complete 20:57:56 d65c8cfc05b1: Verifying Checksum 20:57:56 d65c8cfc05b1: Download complete 20:57:56 699f458cf7ca: Verifying Checksum 20:57:56 699f458cf7ca: Download complete 20:57:57 8998bd30e6a1: Verifying Checksum 20:57:57 8998bd30e6a1: Download complete 20:58:00 2437ff75d9bd: Verifying Checksum 20:58:00 2437ff75d9bd: Download complete 20:58:01 8998bd30e6a1: Pull complete 20:58:02 04944245beec: Pull complete 20:58:04 699f458cf7ca: Pull complete 20:58:04 765212b225bb: Pull complete 20:58:05 f23df028b6ca: Pull complete 20:58:05 d65c8cfc05b1: Pull complete 20:58:23 2437ff75d9bd: Pull complete 20:58:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:23 prd-ubuntu20.04-docker-arm64-4c-16g-21853 does not seem to be running inside a container 20:58:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:58:26 $ docker top cb6b17f7dd88a93c35625825384dd29217fd5e11aa8ebfa8051a8b41ac7b7dd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:26 ---> job-cost.sh 20:58:27 lf-activate-venv: SKIPPING 20:58:27 INFO: No Stack... 20:58:27 INFO: Retrieving Pricing Info for: v3-standard-4 20:58:28 INFO: Archiving Costs [Pipeline] sh 20:58:28 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:58:28 + cut -d, -f6 [Pipeline] lock 20:58:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-415-1-stack-cost] 20:58:29 Resource [jenkins-edgexfoundry-device-rest-go-PR-415-1-stack-cost] did not exist. Created. 20:58:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:29 /w/workspace/device-rest-go/1@tmp/durable-639feb62/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:58:30 + echo total: 0.10999999940395355 [Pipeline] stash 20:58:30 Warning: overwriting stash ‘stack-cost’ 20:58:30 Stashed 1 file(s) [Pipeline] } 20:58:30 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-415-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:30 $ docker stop --time=1 cb6b17f7dd88a93c35625825384dd29217fd5e11aa8ebfa8051a8b41ac7b7dd2 20:58:32 $ docker rm -f --volumes cb6b17f7dd88a93c35625825384dd29217fd5e11aa8ebfa8051a8b41ac7b7dd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:58:33 provisioning config files... 20:58:33 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-415@tmp/config12014684141654566888tmp [Pipeline] { [Pipeline] sh 20:58:33 + set +x 20:58:33 + bash -s -- 20:58:33 + curl -s https://codecov.io/bash 20:58:33 20:58:33 _____ _ 20:58:33 / ____| | | 20:58:33 | | ___ __| | ___ ___ _____ __ 20:58:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:58:33 | |___| (_) | (_| | __/ (_| (_) \ V / 20:58:33 \_____\___/ \__,_|\___|\___\___/ \_/ 20:58:33 Bash-1.0.6 20:58:33 20:58:33 20:58:33 ==> git version 2.25.1 found 20:58:33 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:58:33 Release-Date: 2020-01-08 20:58:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:58:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:58:33 ==> Jenkins CI detected. 20:58:33 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-415 20:58:33 project root: . 20:58:33 --> token set from env 20:58:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:58:33 ==> Running gcov in . (disable via -X gcov) 20:58:33 ==> Python coveragepy not found 20:58:33 ==> Searching for coverage reports in: 20:58:33 + . 20:58:33 -> Found 1 reports 20:58:33 ==> Detecting git/mercurial file structure 20:58:33 ==> Reading reports 20:58:33 + ./coverage.out bytes=14565 20:58:33 ==> Appending adjustments 20:58:33 https://docs.codecov.io/docs/fixing-reports 20:58:33 + Found adjustments 20:58:33 ==> Gzipping contents 20:58:33 4.0K /tmp/codecov.1t1Pif.gz 20:58:33 ==> Uploading reports 20:58:33 url: https://codecov.io 20:58:33 query: branch=PR-415&commit=41bab601885b784e89ca069696799efbc14e4f59&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=415&job=&cmd_args= 20:58:33 -> Pinging Codecov 20:58:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-415&commit=41bab601885b784e89ca069696799efbc14e4f59&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=415&job=&cmd_args= 20:58:34 -> Uploading to 20:58:34 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/41bab601885b784e89ca069696799efbc14e4f59/a337a83a-7c07-49a5-86e7-dc033eedd7de.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T205834Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=594bff810b2760895f9f263fbd1cfa89e2b19f31a12cd50b8266bd840a511452 20:58:34 % Total % Received % Xferd Average Speed Time Time Time Current 20:58:34 Dload Upload Total Spent Left Speed 20:58:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 10751 --:--:-- --:--:-- --:--:-- 10751 20:58:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/41bab601885b784e89ca069696799efbc14e4f59 [Pipeline] } 20:58:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:58:36 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-415/archives ] 20:58:36 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-415/archives 20:58:36 total 16 20:58:36 drwxr-xr-x 3 root root 4096 Oct 4 20:45 . 20:58:36 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 20:45 .. 20:58:36 drwxr-xr-x 2 root root 4096 Oct 4 20:45 cost 20:58:36 -rw-r--r-- 1 root root 86 Oct 4 20:45 cost.csv 20:58:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-415/archives 20:58:36 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-415/archives 20:58:36 total 16 20:58:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 20:45 . 20:58:36 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 20:45 .. 20:58:36 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 20:45 cost 20:58:36 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:58:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:58:38 ---> package-listing.sh 20:58:38 ++ facter osfamily 20:58:38 ++ tr '[:upper:]' '[:lower:]' 20:58:38 + OS_FAMILY=debian 20:58:38 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-415 20:58:38 + START_PACKAGES=/tmp/packages_start.txt 20:58:38 + END_PACKAGES=/tmp/packages_end.txt 20:58:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:58:38 + PACKAGES=/tmp/packages_start.txt 20:58:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-415 ']' 20:58:38 + PACKAGES=/tmp/packages_end.txt 20:58:38 + case "${OS_FAMILY}" in 20:58:38 + dpkg -l 20:58:38 + grep '^ii' 20:58:38 + '[' -f /tmp/packages_start.txt ']' 20:58:38 + '[' -f /tmp/packages_end.txt ']' 20:58:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:58:38 + '[' /w/workspace/gexfoundry_device-rest-go_PR-415 ']' 20:58:38 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-415/archives/ 20:58:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-415/archives/ [Pipeline] echo 20:58:38 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-415/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:58:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:58:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:39 prd-ubuntu20.04-docker-8c-8g-21850 does not seem to be running inside a container 20:58:39 $ 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-415/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-415 -v /w/workspace/gexfoundry_device-rest-go_PR-415:/w/workspace/gexfoundry_device-rest-go_PR-415:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-415@tmp:/w/workspace/gexfoundry_device-rest-go_PR-415@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:58:39 $ docker top 10df2c6380f36d3e520fe9016d660a6280717978e679f3d932f714754bba996b -eo pid,comm [Pipeline] { [Pipeline] sh 20:58:40 + touch /tmp/pre-build-complete [Pipeline] sh 20:58:40 + mkdir -p /var/log/sysstat [Pipeline] sh 20:58:40 + ls /var/log/sa-host 20:58:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:41 provisioning config files... 20:58:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-415@tmp/config10911527373768680760tmp [Pipeline] { [Pipeline] echo 20:58:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:58:41 ---> create-netrc.sh [Pipeline] } 20:58:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:58:42 ---> python-tools-install.sh [Pipeline] echo 20:58:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:58:42 ---> sudo-logs.sh 20:58:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:58:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:58:42 ---> job-cost.sh 20:58:42 lf-activate-venv: SKIPPING 20:58:42 DEBUG: total: 0.2199999988079071 20:58:42 INFO: Retrieving Stack Cost... 20:58:43 INFO: Retrieving Pricing Info for: v3-standard-8 20:58:43 INFO: Archiving Costs [Pipeline] echo 20:58:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:58:43 ---> logs-deploy.sh 20:58:43 lf-activate-venv: SKIPPING 20:58:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-415/1 20:58:43 INFO: archiving workspace using pattern(s): 20:58:44 Archives upload complete. 20:58:44 INFO: archiving logs to Nexus 20:58:45 ---> uname -a: 20:58:45 Linux prd-ubuntu20-04-docker-8c-8g-21850 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:58:45 20:58:45 20:58:45 ---> lscpu: 20:58:45 Architecture: x86_64 20:58:45 CPU op-mode(s): 32-bit, 64-bit 20:58:45 Byte Order: Little Endian 20:58:45 Address sizes: 40 bits physical, 48 bits virtual 20:58:45 CPU(s): 8 20:58:45 On-line CPU(s) list: 0-7 20:58:45 Thread(s) per core: 1 20:58:45 Core(s) per socket: 1 20:58:45 Socket(s): 8 20:58:45 NUMA node(s): 1 20:58:45 Vendor ID: AuthenticAMD 20:58:45 CPU family: 23 20:58:45 Model: 49 20:58:45 Model name: AMD EPYC-Rome Processor 20:58:45 Stepping: 0 20:58:45 CPU MHz: 2799.998 20:58:45 BogoMIPS: 5599.99 20:58:45 Virtualization: AMD-V 20:58:45 Hypervisor vendor: KVM 20:58:45 Virtualization type: full 20:58:45 L1d cache: 256 KiB 20:58:45 L1i cache: 256 KiB 20:58:45 L2 cache: 4 MiB 20:58:45 L3 cache: 128 MiB 20:58:45 NUMA node0 CPU(s): 0-7 20:58:45 Vulnerability Itlb multihit: Not affected 20:58:45 Vulnerability L1tf: Not affected 20:58:45 Vulnerability Mds: Not affected 20:58:45 Vulnerability Meltdown: Not affected 20:58:45 Vulnerability Mmio stale data: Not affected 20:58:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:58:45 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:58:45 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:58:45 Vulnerability Srbds: Not affected 20:58:45 Vulnerability Tsx async abort: Not affected 20:58:45 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 20:58:45 20:58:45 20:58:45 ---> nproc: 20:58:45 8 20:58:45 20:58:45 20:58:45 ---> df -h: 20:58:45 Filesystem Size Used Avail Use% Mounted on 20:58:45 overlay 155G 12G 143G 8% / 20:58:45 tmpfs 64M 0 64M 0% /dev 20:58:45 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:58:45 shm 64M 0 64M 0% /dev/shm 20:58:45 /dev/vda1 155G 12G 143G 8% /facter-os 20:58:45 20:58:45 20:58:45 ---> sar -b -r -n DEV: 20:58:45 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-21850) 10/04/24 _x86_64_ (8 CPU) 20:58:45 20:58:45 20:41:44 LINUX RESTART (8 CPU) 20:58:45 20:58:45 20:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:58:45 20:43:01 330.44 48.09 282.35 0.00 5427.63 62885.92 0.00 20:58:45 20:44:01 242.11 2.23 239.88 0.00 39.19 79983.20 0.00 20:58:45 20:45:01 143.96 1.25 142.71 0.00 39.33 59834.44 0.00 20:58:45 20:46:01 206.38 0.12 206.27 0.00 20.00 63471.95 0.00 20:58:45 20:47:01 35.13 3.88 31.24 0.00 2072.32 16678.02 0.00 20:58:45 20:48:01 19.84 1.23 18.61 0.00 2270.04 15735.15 0.00 20:58:45 20:49:01 4.97 0.02 4.95 0.00 0.13 12189.44 0.00 20:58:45 20:50:01 3.42 0.00 3.42 0.00 0.00 11982.80 0.00 20:58:45 20:51:01 2.97 0.00 2.97 0.00 0.00 11978.27 0.00 20:58:45 20:52:01 3.50 0.00 3.50 0.00 0.00 11980.94 0.00 20:58:45 20:53:01 2.70 0.00 2.70 0.00 0.00 12106.63 0.00 20:58:45 20:54:01 3.15 0.00 3.15 0.00 0.00 11980.40 0.00 20:58:45 20:55:01 1.60 0.00 1.60 0.00 0.00 3775.90 0.00 20:58:45 20:56:01 1.43 0.00 1.43 0.00 0.00 17.46 0.00 20:58:45 20:57:01 1.88 0.02 1.87 0.00 0.13 24.80 0.00 20:58:45 20:58:01 1.33 0.00 1.33 0.00 0.00 16.53 0.00 20:58:45 Average: 62.80 3.55 59.25 0.00 616.81 23414.92 0.00 20:58:45 20:58:45 20:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:58:45 20:43:01 29881140 31562316 787908 2.40 59776 1920848 1734576 5.11 1011892 1660960 280 20:58:45 20:44:01 26917680 31499680 797424 2.43 185508 4457904 1873360 5.52 1352984 3990644 817740 20:58:45 20:45:01 27969076 31522392 782684 2.38 192928 3505496 1796340 5.29 1283020 3101168 244 20:58:45 20:46:01 26942956 31498948 801312 2.44 203112 4423140 1765752 5.20 1412252 3919564 280 20:58:45 20:47:01 26642836 31484808 791384 2.41 218700 4691980 1734664 5.11 1531576 4073120 65868 20:58:45 20:48:01 26503996 31491736 781344 2.38 231776 4820980 1737148 5.12 1672684 4060176 12 20:58:45 20:49:01 26515748 31498556 775100 2.36 230356 4817736 1730112 5.10 1665884 4056972 12 20:58:45 20:50:01 26515504 31498424 775200 2.36 230424 4817736 1730112 5.10 1665700 4056976 12 20:58:45 20:51:01 26522244 31505228 768300 2.34 230504 4817740 1730112 5.10 1658680 4056976 12 20:58:45 20:52:01 26521920 31505016 768424 2.34 230584 4817744 1730112 5.10 1658800 4056980 0 20:58:45 20:53:01 26522180 31505328 768096 2.34 230648 4817744 1730112 5.10 1658916 4056984 16 20:58:45 20:54:01 26522164 31505404 767972 2.34 230720 4817748 1730112 5.10 1659000 4056988 44 20:58:45 20:55:01 26525104 31508364 765136 2.33 230764 4817752 1730112 5.10 1656312 4056988 12 20:58:45 20:56:01 26524868 31508196 765312 2.33 230788 4817756 1730112 5.10 1656376 4056996 44 20:58:45 20:57:01 26523628 31507072 766216 2.33 230840 4817736 1741540 5.13 1656900 4056964 24 20:58:45 20:58:01 26523404 31506856 766344 2.33 230868 4817736 1741540 5.13 1657000 4056964 40 20:58:45 Average: 26879653 31506770 776760 2.36 212394 4499861 1747864 5.15 1553624 3835964 55290 20:58:45 20:58:45 20:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:58:45 20:43:01 lo 6.00 6.00 0.58 0.58 0.00 0.00 0.00 0.00 20:58:45 20:43:01 docker0 41.09 41.61 3.02 268.02 0.00 0.00 0.00 0.00 20:58:45 20:43:01 ens3 574.54 380.22 2986.29 95.34 0.00 0.00 0.00 0.00 20:58:45 20:44:01 lo 1.20 1.20 0.11 0.11 0.00 0.00 0.00 0.00 20:58:45 20:44:01 docker0 339.59 508.15 28.56 3303.24 0.00 0.00 0.00 0.00 20:58:45 20:44:01 ens3 620.15 406.50 6481.91 43.86 0.00 0.00 0.00 0.00 20:58:45 20:45:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 20:58:45 20:45:01 docker0 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 20:58:45 20:45:01 ens3 33.44 19.45 38.70 13.76 0.00 0.00 0.00 0.00 20:58:45 20:46:01 lo 1.80 1.80 0.18 0.18 0.00 0.00 0.00 0.00 20:58:45 20:46:01 docker0 5.93 11.56 0.36 154.93 0.00 0.00 0.00 0.00 20:58:45 20:46:01 ens3 118.25 76.69 2688.97 17.32 0.00 0.00 0.00 0.00 20:58:45 20:47:01 lo 0.53 0.53 0.06 0.06 0.00 0.00 0.00 0.00 20:58:45 20:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:47:01 ens3 187.17 89.20 2465.11 6.44 0.00 0.00 0.00 0.00 20:58:45 20:48:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:48:01 ens3 17.39 4.87 285.88 0.47 0.00 0.00 0.00 0.00 20:58:45 20:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:49:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:50:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:50:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:51:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:52:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:52:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:53:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:53:01 ens3 0.15 0.08 0.08 0.06 0.00 0.00 0.00 0.00 20:58:45 20:54:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:54:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:55:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:56:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:56:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:57:01 ens3 0.05 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:58:45 20:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:58:45 20:58:01 ens3 0.28 0.27 0.09 0.08 0.00 0.00 0.00 0.00 20:58:45 Average: lo 0.69 0.69 0.07 0.07 0.00 0.00 0.00 0.00 20:58:45 Average: docker0 24.16 35.09 2.00 232.88 0.00 0.00 0.00 0.00 20:58:45 Average: ens3 97.00 61.11 934.18 11.09 0.00 0.00 0.00 0.00 20:58:45 20:58:45