Pull request #420 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bf564b997c3dc272aa1088a40ff9a6988ef00720+9c2cca6ccca3210e07b712156771ed12440b1abf (650e14fb365dbe2141dcf703eb0e660c7b4bee5a) 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-ssh1054591715988165654.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-ssh17891374662006294643.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-420/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-420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8051500606505389754.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-420/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5444440283296457926.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-ssh2581877039375085206.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-420/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-420/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13540654118752896870.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-23009 in /w/workspace/gexfoundry_device-rest-go_PR-420 [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-420 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Merging remotes/origin/main commit 9c2cca6ccca3210e07b712156771ed12440b1abf into PR head commit bf564b997c3dc272aa1088a40ff9a6988ef00720 Merge succeeded, producing bf564b997c3dc272aa1088a40ff9a6988ef00720 Checking out Revision bf564b997c3dc272aa1088a40ff9a6988ef00720 (PR-420) 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 fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf564b997c3dc272aa1088a40ff9a6988ef00720 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9c2cca6ccca3210e07b712156771ed12440b1abf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf564b997c3dc272aa1088a40ff9a6988ef00720 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:00:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:00:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:00:24 ========================================================= 21:00:24 EdgeX Global Pipelines Version Info 21:00:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:00:25 ------------------- 21:00:25 stable info: 21:00:25 ------------------- 21:00:25 Commited By: Ginny Guan ginny@iotechsys.com 21:00:25 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 21:00:25 Message: update stable to v1.0.265 21:00:26 ------------------- 21:00:26 experimental info: 21:00:26 ------------------- 21:00:26 Commited By: Cherry Wang cherry@iotechsys.com 21:00:26 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 21:00:26 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:00:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-420 [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-420 [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-420 [Pipeline] echo 21:00:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] echo 21:00:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf564b9 [Pipeline] echo 21:00:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:28 provisioning config files... 21:00:28 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/config8937283887085955701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:28 ---> ****-login.sh 21:00:28 nexus3.edgexfoundry.org:10001 21:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:28 Configure a credential helper to remove this warning. See 21:00:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:28 21:00:28 Login Succeeded 21:00:28 nexus3.edgexfoundry.org:10002 21:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:29 Configure a credential helper to remove this warning. See 21:00:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:29 21:00:29 Login Succeeded 21:00:29 nexus3.edgexfoundry.org:10003 21:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:29 Configure a credential helper to remove this warning. See 21:00:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:29 21:00:29 Login Succeeded 21:00:29 nexus3.edgexfoundry.org:10004 21:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:29 Configure a credential helper to remove this warning. See 21:00:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:29 21:00:29 Login Succeeded 21:00:29 ****.io 21:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:29 Configure a credential helper to remove this warning. See 21:00:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:29 21:00:29 Login Succeeded 21:00:29 ---> ****-login.sh ends [Pipeline] } 21:00:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:00:30 + git rev-list -1 --merges bf564b997c3dc272aa1088a40ff9a6988ef00720~1..bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] echo 21:00:30 -----------> git rev-list -1 --merges bf564b997c3dc272aa1088a40ff9a6988ef00720~1..bf564b997c3dc272aa1088a40ff9a6988ef00720 bf564b997c3dc272aa1088a40ff9a6988ef00720 [false] [Pipeline] sh 21:00:30 + git log --format=format:%s -1 bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] echo 21:00:30 ========================================================= 21:00:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:00:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:00:31 + git log --format=format:%s -1 bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] echo 21:00:31 [semverPrep] GIT_COMMIT: bf564b997c3dc272aa1088a40ff9a6988ef00720, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:00:31 [semverPrep] This is not a build commit. [Pipeline] sh 21:00:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:00:31 + grep -v github /etc/ssh/ssh_known_hosts 21:00:31 + [ -e /tmp/ssh_known_hosts ] 21:00:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:00:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:00:31 + sudo tee -a /etc/ssh/ssh_known_hosts 21:00:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:32 21:00:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:32 0.1.4: Pulling from edgex-devops/py-git-semver 21:00:32 b85a868b505f: Pulling fs layer 21:00:32 e2be974225ed: Pulling fs layer 21:00:32 339a4e72a1f5: Pulling fs layer 21:00:32 988bab9f4d93: Pulling fs layer 21:00:32 1469e6f7b9e6: Pulling fs layer 21:00:32 eaf3925da568: Pulling fs layer 21:00:32 bab4dde63d76: Pulling fs layer 21:00:32 bde34c3a00c8: Pulling fs layer 21:00:32 b352a97aabf1: Pulling fs layer 21:00:32 4872d77fe225: Pulling fs layer 21:00:32 5851b861e8e6: Pulling fs layer 21:00:32 eaf3925da568: Waiting 21:00:32 bde34c3a00c8: Waiting 21:00:32 988bab9f4d93: Waiting 21:00:32 b352a97aabf1: Waiting 21:00:32 1469e6f7b9e6: Waiting 21:00:32 bab4dde63d76: Waiting 21:00:32 4872d77fe225: Waiting 21:00:32 5851b861e8e6: Waiting 21:00:32 e2be974225ed: Download complete 21:00:32 988bab9f4d93: Verifying Checksum 21:00:32 988bab9f4d93: Download complete 21:00:32 1469e6f7b9e6: Verifying Checksum 21:00:32 1469e6f7b9e6: Download complete 21:00:32 eaf3925da568: Verifying Checksum 21:00:32 eaf3925da568: Download complete 21:00:32 339a4e72a1f5: Verifying Checksum 21:00:32 339a4e72a1f5: Download complete 21:00:32 bde34c3a00c8: Download complete 21:00:32 b352a97aabf1: Download complete 21:00:32 4872d77fe225: Verifying Checksum 21:00:32 4872d77fe225: Download complete 21:00:32 5851b861e8e6: Verifying Checksum 21:00:32 5851b861e8e6: Download complete 21:00:32 b85a868b505f: Download complete 21:00:33 bab4dde63d76: Verifying Checksum 21:00:33 bab4dde63d76: Download complete 21:00:34 b85a868b505f: Pull complete 21:00:34 e2be974225ed: Pull complete 21:00:34 339a4e72a1f5: Pull complete 21:00:34 988bab9f4d93: Pull complete 21:00:34 1469e6f7b9e6: Pull complete 21:00:35 eaf3925da568: Pull complete 21:00:37 bab4dde63d76: Pull complete 21:00:37 bde34c3a00c8: Pull complete 21:00:37 b352a97aabf1: Pull complete 21:00:37 4872d77fe225: Pull complete 21:00:37 5851b861e8e6: Pull complete 21:00:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:00:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:00:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:37 prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container 21:00:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:00:40 $ docker top a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d -eo pid,comm 21:00:40 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). 21:00:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:00:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:40 [ssh-agent] Looking for ssh-agent implementation... 21:00:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:40 $ docker exec a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d ssh-agent 21:00:40 SSH_AUTH_SOCK=/tmp/ssh-yVudhMrIJQUK/agent.32 21:00:40 SSH_AGENT_PID=38 21:00:40 Running ssh-add (command line suppressed) 21:00:40 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-420@tmp/private_key_6495924055222160821.key (/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/private_key_6495924055222160821.key) 21:00:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:41 + git tag --points-at HEAD [Pipeline] } 21:00:41 $ docker exec --env ******** --env ******** a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d ssh-agent -k 21:00:41 unset SSH_AUTH_SOCK; 21:00:41 unset SSH_AGENT_PID; 21:00:41 echo Agent pid 38 killed; 21:00:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:00:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:00:41 [ssh-agent] Looking for ssh-agent implementation... 21:00:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:00:41 $ docker exec a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d ssh-agent 21:00:41 SSH_AUTH_SOCK=/tmp/ssh-LUJJMjWixtVb/agent.70 21:00:41 SSH_AGENT_PID=76 21:00:41 Running ssh-add (command line suppressed) 21:00:41 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-420@tmp/private_key_9959111540824243703.key (/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/private_key_9959111540824243703.key) 21:00:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:00:41 + git semver init 21:00:42 2024-10-17 21:00:42,159 [run_init] DEBUG init version:0.0.0 force:False 21:00:42 2024-10-17 21:00:42,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-420/.semver 21:00:42 2024-10-17 21:00:42,160 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-420/.semver 21:00:42 2024-10-17 21:00:42,161 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-420/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-420, universal_newlines=False, shell=None, istream=None) 21:00:43 2024-10-17 21:00:43,380 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-420/.git/info/exclude 21:00:43 2024-10-17 21:00:43,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-420/.semver/PR-420 with force:False 21:00:43 2024-10-17 21:00:43,381 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-420/.semver/PR-420 21:00:43 2024-10-17 21:00:43,385 [execute] INFO git cat-file --batch-check 21:00:43 2024-10-17 21:00:43,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-420/.semver, universal_newlines=False, shell=None, istream=) 21:00:43 2024-10-17 21:00:43,392 [execute] INFO git cat-file --batch 21:00:43 2024-10-17 21:00:43,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-420/.semver, universal_newlines=False, shell=None, istream=) 21:00:43 2024-10-17 21:00:43,398 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-420/.semver/PR-420 21:00:43 0.0.0 [Pipeline] } 21:00:43 $ docker exec --env ******** --env ******** a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d ssh-agent -k 21:00:43 unset SSH_AUTH_SOCK; 21:00:43 unset SSH_AGENT_PID; 21:00:43 echo Agent pid 76 killed; 21:00:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:44 + git semver [Pipeline] } 21:00:44 $ docker stop --time=1 a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d 21:00:45 $ docker rm -f --volumes a0fd827d597e6128695e4d818b8e44c9df0ba817881cae02deb1e49547256d0d [Pipeline] // withDockerContainer [Pipeline] sh 21:00:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:00:46 Stashed 1 file(s) [Pipeline] echo 21:00:46 [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 21:00:47 provisioning config files... 21:00:47 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/config8653649502879756296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:47 ---> ****-login.sh 21:00:47 nexus3.edgexfoundry.org:10001 21:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:47 Configure a credential helper to remove this warning. See 21:00:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:47 21:00:47 Login Succeeded 21:00:47 nexus3.edgexfoundry.org:10002 21:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:47 Configure a credential helper to remove this warning. See 21:00:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:47 21:00:47 Login Succeeded 21:00:47 nexus3.edgexfoundry.org:10003 21:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:47 Configure a credential helper to remove this warning. See 21:00:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:47 21:00:47 Login Succeeded 21:00:47 nexus3.edgexfoundry.org:10004 21:00:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:47 Configure a credential helper to remove this warning. See 21:00:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:47 21:00:47 Login Succeeded 21:00:47 ****.io 21:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:00:48 Configure a credential helper to remove this warning. See 21:00:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:00:48 21:00:48 Login Succeeded 21:00:48 ---> ****-login.sh ends [Pipeline] } 21:00:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:00:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:00:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:00:48 ========================================================= 21:00:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 21:00:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:49 + 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 . 21:00:49 Sending build context to Docker daemon 16.62MB 21:00:49 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 21:00:49 Step 2/12 : FROM ${BASE} AS builder 21:00:49 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 21:00:49 43c4264eed91: Pulling fs layer 21:00:49 4cc291be95ef: Pulling fs layer 21:00:49 2ac1f1163629: Pulling fs layer 21:00:49 5c3c966382ef: Pulling fs layer 21:00:49 4f4fb700ef54: Pulling fs layer 21:00:49 5d5c8e513c77: Pulling fs layer 21:00:49 9f66e0745190: Pulling fs layer 21:00:49 f49a43e4bbc0: Pulling fs layer 21:00:49 561ebcabdf7f: Pulling fs layer 21:00:49 561ebcabdf7f: Waiting 21:00:49 5c3c966382ef: Waiting 21:00:49 9f66e0745190: Waiting 21:00:49 f49a43e4bbc0: Waiting 21:00:49 5d5c8e513c77: Waiting 21:00:49 4f4fb700ef54: Waiting 21:00:49 4cc291be95ef: Verifying Checksum 21:00:49 4cc291be95ef: Download complete 21:00:49 5c3c966382ef: Verifying Checksum 21:00:49 5c3c966382ef: Download complete 21:00:49 4f4fb700ef54: Verifying Checksum 21:00:49 4f4fb700ef54: Download complete 21:00:49 5d5c8e513c77: Verifying Checksum 21:00:49 5d5c8e513c77: Download complete 21:00:49 43c4264eed91: Verifying Checksum 21:00:49 43c4264eed91: Download complete 21:00:49 9f66e0745190: Verifying Checksum 21:00:49 9f66e0745190: Download complete 21:00:49 43c4264eed91: Pull complete 21:00:49 561ebcabdf7f: Download complete 21:00:49 2ac1f1163629: Download complete 21:00:49 4cc291be95ef: Pull complete 21:00:50 f49a43e4bbc0: Verifying Checksum 21:00:50 f49a43e4bbc0: Download complete 21:00:53 2ac1f1163629: Pull complete 21:00:53 5c3c966382ef: Pull complete 21:00:53 4f4fb700ef54: Pull complete 21:00:53 5d5c8e513c77: Pull complete 21:00:53 9f66e0745190: Pull complete 21:00:55 f49a43e4bbc0: Pull complete 21:00:55 561ebcabdf7f: Pull complete 21:00:55 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 21:00:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 21:00:55 ---> 3a752c3f9dda 21:00:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:01:01 ---> Running in bd6fe37eaf72 21:01:01 Removing intermediate container bd6fe37eaf72 21:01:01 ---> aa1b01a3d14d 21:01:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:01:01 ---> Running in aaf8ac5595d2 21:01:01 Removing intermediate container aaf8ac5595d2 21:01:01 ---> 4b95553480a7 21:01:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:01:01 ---> Running in db706567dff5 21:01:01 Removing intermediate container db706567dff5 21:01:01 ---> adadfb64b403 21:01:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:01:01 ---> Running in 25de05421ae8 21:01:01 Removing intermediate container 25de05421ae8 21:01:01 ---> 64e9855358db 21:01:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:01:01 ---> Running in 64fabb78fa2d 21:01:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:01:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:01:01 (1/4) Installing openssh-keygen (9.7_p1-r4) 21:01:01 (2/4) Installing libedit (20240517.3.1-r0) 21:01:01 (3/4) Installing openssh-client-common (9.7_p1-r4) 21:01:01 (4/4) Installing openssh-client-default (9.7_p1-r4) 21:01:01 Executing busybox-1.36.1-r29.trigger 21:01:01 OK: 250 MiB in 58 packages 21:01:02 Still waiting to schedule task 21:01:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:01:02 Removing intermediate container 64fabb78fa2d 21:01:02 ---> 2271de0779e5 21:01:02 Step 8/12 : WORKDIR /device-rest-go 21:01:02 ---> Running in 151d274e3da2 21:01:02 Removing intermediate container 151d274e3da2 21:01:02 ---> dc5647da1ef1 21:01:02 Step 9/12 : COPY go.mod vendor* ./ 21:01:02 ---> 2a185459ae77 21:01:02 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:01:02 ---> Running in f12978dfa82d 21:01:58 Removing intermediate container f12978dfa82d 21:01:58 ---> eaf191a2deb5 21:01:58 Step 11/12 : COPY . . 21:01:59 ---> 8ce55bc18d1a 21:01:59 Step 12/12 : RUN $MAKE 21:01:59 ---> Running in a138b98c535b 21:01:59 noop 21:01:59 Removing intermediate container a138b98c535b 21:01:59 ---> cee990d0f03c 21:01:59 Successfully built cee990d0f03c 21:01:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:00 + docker inspect -f . ci-base-image-x86_64 21:02:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:00 prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container 21:02:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 ******** ci-base-image-x86_64 cat 21:02:00 $ docker top 3ad5ff89ff9da02b65f92f2fb91b212ee52919a77626ab272d595da47d893b48 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:01 + go version 21:02:01 go version go1.23.2 linux/amd64 [Pipeline] } 21:02:01 $ docker stop --time=1 3ad5ff89ff9da02b65f92f2fb91b212ee52919a77626ab272d595da47d893b48 21:02:02 $ docker rm -f --volumes 3ad5ff89ff9da02b65f92f2fb91b212ee52919a77626ab272d595da47d893b48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:03 + docker inspect -f . ci-base-image-x86_64 21:02:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:02:03 prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container 21:02:03 $ 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-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 ******** ci-base-image-x86_64 cat 21:02:03 $ docker top 19a14592ad28002eb52f8af9133287ffa09a0f345c3217f4d61b02a9014a7673 -eo pid,comm [Pipeline] { [Pipeline] sh 21:02:04 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-420 [Pipeline] fileExists [Pipeline] sh 21:02:04 + make test 21:02:04 go test ./... -coverprofile=coverage.out ./... 21:02:06 ? github.com/edgexfoundry/device-rest-go [no test files] 21:02:24 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 21:02:24 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 21:02:34 go vet ./... 21:02:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23010 in /w/workspace/gexfoundry_device-rest-go_PR-420 [Pipeline] { [Pipeline] ws 21:02:38 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:02:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:02:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:02:38 ./bin/test-attribution-txt.sh 21:02:41 The recommended git tool is: git [Pipeline] echo 21:02:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:02:41 $ docker stop --time=1 19a14592ad28002eb52f8af9133287ffa09a0f345c3217f4d61b02a9014a7673 21:02:45 using credential edgex-jenkins-ssh 21:02:45 Cloning the remote Git repository 21:02:46 $ docker rm -f --volumes 19a14592ad28002eb52f8af9133287ffa09a0f345c3217f4d61b02a9014a7673 [Pipeline] // withDockerContainer [Pipeline] sh 21:02:45 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:02:45 > git init /w/workspace/device-rest-go/1 # timeout=10 21:02:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:02:46 > git --version # timeout=10 21:02:46 > git --version # 'git version 2.25.1' 21:02:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:02:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:02:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:02:47 + ls -al . 21:02:47 total 256 21:02:47 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 21:02 . 21:02:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 21:00 .. 21:02:47 -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 21:00 .dockerignore 21:02:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 21:02 .git 21:02:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:00 .github 21:02:47 -rw-rw-r-- 1 jenkins jenkins 264 Oct 17 21:00 .gitignore 21:02:47 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 21:00 .golangci.yml 21:02:47 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 21:00 .semver 21:02:47 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 17 21:00 Attribution.txt 21:02:47 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 17 21:00 CHANGELOG.md 21:02:47 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 17 21:00 Dockerfile 21:02:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 21:00 GOVERNANCE.md 21:02:47 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 21:00 Jenkinsfile 21:02:47 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 21:00 LICENSE 21:02:47 -rw-rw-r-- 1 jenkins jenkins 2553 Oct 17 21:00 Makefile 21:02:47 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 21:00 OWNERS.md 21:02:47 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 17 21:00 README.md 21:02:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 21:00 VERSION 21:02:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 21:00 bin 21:02:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:00 cmd 21:02:47 -rw-r--r-- 1 jenkins jenkins 14565 Oct 17 21:02 coverage.out 21:02:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 21:00 driver 21:02:47 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 17 21:00 go.mod 21:02:47 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 17 21:00 go.sum 21:02:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:00 openapi 21:02:47 -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:48 + 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=bf564b997c3dc272aa1088a40ff9a6988ef00720 --label arch=amd64 --label version=0.0.0 . 21:02:48 Sending build context to Docker daemon 16.64MB 21:02:48 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 21:02:48 Step 2/26 : FROM ${BASE} AS builder 21:02:48 ---> cee990d0f03c 21:02:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:02:48 ---> Running in 7a82a09d6117 21:02:48 Removing intermediate container 7a82a09d6117 21:02:48 ---> 846973337cf1 21:02:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:48 ---> Running in 76c422e41aa8 21:02:48 Removing intermediate container 76c422e41aa8 21:02:48 ---> d3a92fd9587f 21:02:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:48 ---> Running in a41fa8e20eff 21:02:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:02:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:48 Removing intermediate container a41fa8e20eff 21:02:48 ---> 1aa6c36afdf9 21:02:48 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:02:48 ---> Running in b42d2e9af5ad 21:02:48 Removing intermediate container b42d2e9af5ad 21:02:48 ---> 6c9c79910558 21:02:48 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:48 ---> Running in 536689ff1d8c 21:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:02:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:02:49 OK: 250 MiB in 58 packages 21:02:49 Removing intermediate container 536689ff1d8c 21:02:49 ---> 47aaf7279790 21:02:49 Step 8/26 : WORKDIR /device-rest-go 21:02:50 Merging remotes/origin/main commit 9c2cca6ccca3210e07b712156771ed12440b1abf into PR head commit bf564b997c3dc272aa1088a40ff9a6988ef00720 21:02:50 ---> Running in 8bd56d232c3c 21:02:50 Removing intermediate container 8bd56d232c3c 21:02:50 ---> 25db2d713f95 21:02:50 Step 9/26 : COPY go.mod vendor* ./ 21:02:50 ---> 15f40d2bafce 21:02:50 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:50 ---> Running in 741faf7f174c 21:02:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:02:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:02:49 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/420/head:refs/remotes/origin/PR-420 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:02:50 > git config core.sparsecheckout # timeout=10 21:02:50 Merge succeeded, producing bf564b997c3dc272aa1088a40ff9a6988ef00720 21:02:50 Checking out Revision bf564b997c3dc272aa1088a40ff9a6988ef00720 (PR-420) 21:02:51 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:02:51 > git --version # timeout=10 21:02:51 > git --version # 'git version 2.25.1' 21:02:51 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 21:02:51 Removing intermediate container 741faf7f174c 21:02:51 ---> 287bf7163a84 21:02:51 Step 11/26 : COPY . . 21:02:50 > git checkout -f bf564b997c3dc272aa1088a40ff9a6988ef00720 # timeout=10 21:02:50 > git remote # timeout=10 21:02:50 > git config --get remote.origin.url # timeout=10 21:02:50 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:50 > git merge 9c2cca6ccca3210e07b712156771ed12440b1abf # timeout=10 21:02:50 > git rev-parse HEAD^{commit} # timeout=10 21:02:50 > git config core.sparsecheckout # timeout=10 21:02:50 > git checkout -f bf564b997c3dc272aa1088a40ff9a6988ef00720 # timeout=10 21:02:51 ---> 44a3b8e27d17 21:02:51 Step 12/26 : RUN $MAKE 21:02:51 ---> Running in 415d39576516 21:02:51 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.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:02:56 % Total % Received % Xferd Average Speed Time Time Time Current 21:02:56 Dload Upload Total Spent Left Speed 21:02:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 72067 0 --:--:-- --:--:-- --:--:-- 72067 [Pipeline] sh 21:02:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:02:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:02:56 + sudo tee /etc/docker/daemon.new 21:02:56 { 21:02:56 "registry-mirrors": [ 21:02:56 "https://nexus3.edgexfoundry.org:10001" 21:02:56 ], 21:02:56 "bip": "10.250.0.254/24", 21:02:56 "hosts": [ 21:02:56 "tcp://0.0.0.0:5555", 21:02:56 "unix:///var/run/docker.sock" 21:02:56 ], 21:02:56 "mtu": 1458, 21:02:56 "selinux-enabled": true, 21:02:56 "seccomp-profile": "/etc/docker/seccomp.json" 21:02:56 } [Pipeline] sh 21:02:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:02:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:03:15 provisioning config files... 21:03:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10177046017784280984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:16 ---> ****-login.sh 21:03:16 nexus3.edgexfoundry.org:10001 21:03:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:03:16 Configure a credential helper to remove this warning. See 21:03:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:03:16 21:03:16 Login Succeeded 21:03:16 nexus3.edgexfoundry.org:10002 21:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:03:17 Configure a credential helper to remove this warning. See 21:03:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:03:17 21:03:17 Login Succeeded 21:03:17 nexus3.edgexfoundry.org:10003 21:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:03:17 Configure a credential helper to remove this warning. See 21:03:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:03:17 21:03:17 Login Succeeded 21:03:17 nexus3.edgexfoundry.org:10004 21:03:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:03:17 Configure a credential helper to remove this warning. See 21:03:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:03:17 21:03:17 Login Succeeded 21:03:17 ****.io 21:03:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:03:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 21:03:18 Configure a credential helper to remove this warning. See 21:03:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 21:03:18 21:03:18 Login Succeeded 21:03:18 ---> ****-login.sh ends [Pipeline] } 21:03:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:03:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:03:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 21:03:19 ========================================================= 21:03:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 21:03:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:19 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 21:03:19 Sending build context to Docker daemon 140.8kB 21:03:19 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 21:03:19 Step 2/12 : FROM ${BASE} AS builder 21:03:19 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:03:19 cf04c63912e1: Pulling fs layer 21:03:19 55b35a11ae5e: Pulling fs layer 21:03:19 a37a00ec5f00: Pulling fs layer 21:03:19 50b3750afda1: Pulling fs layer 21:03:19 4f4fb700ef54: Pulling fs layer 21:03:19 80978eb59214: Pulling fs layer 21:03:19 c9f46d7d2bd2: Pulling fs layer 21:03:19 c5a475d317c9: Pulling fs layer 21:03:19 4f4fb700ef54: Waiting 21:03:19 80978eb59214: Waiting 21:03:19 c9f46d7d2bd2: Waiting 21:03:19 c5a475d317c9: Waiting 21:03:19 50b3750afda1: Waiting 21:03:20 55b35a11ae5e: Verifying Checksum 21:03:20 55b35a11ae5e: Download complete 21:03:20 50b3750afda1: Download complete 21:03:20 4f4fb700ef54: Download complete 21:03:20 80978eb59214: Verifying Checksum 21:03:20 80978eb59214: Download complete 21:03:20 cf04c63912e1: Verifying Checksum 21:03:20 cf04c63912e1: Download complete 21:03:20 c5a475d317c9: Verifying Checksum 21:03:20 c5a475d317c9: Download complete 21:03:21 cf04c63912e1: Pull complete 21:03:21 55b35a11ae5e: Pull complete 21:03:21 a37a00ec5f00: Verifying Checksum 21:03:21 a37a00ec5f00: Download complete 21:03:22 c9f46d7d2bd2: Verifying Checksum 21:03:22 c9f46d7d2bd2: Download complete 21:03:24 Removing intermediate container 415d39576516 21:03:24 ---> 921db121bce5 21:03:24 Step 13/26 : FROM alpine:3.20 21:03:24 3.20: Pulling from library/alpine 21:03:24 43c4264eed91: Already exists 21:03:24 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 21:03:24 Status: Downloaded newer image for alpine:3.20 21:03:24 ---> 91ef0af61f39 21:03:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:03:24 ---> Running in 007c78b20f51 21:03:24 Removing intermediate container 007c78b20f51 21:03:24 ---> 77c1733d0170 21:03:24 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:03:24 ---> Running in 6fe13617a2ac 21:03:24 Removing intermediate container 6fe13617a2ac 21:03:24 ---> 6c1b209f3254 21:03:24 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:03:24 ---> Running in 95327801699e 21:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:03:24 (1/1) Installing dumb-init (1.2.5-r3) 21:03:24 Executing busybox-1.36.1-r29.trigger 21:03:24 OK: 8 MiB in 15 packages 21:03:24 Removing intermediate container 95327801699e 21:03:24 ---> 56849c67fd8b 21:03:24 Step 17/26 : RUN apk --no-cache upgrade 21:03:24 ---> Running in 3d077d51b8e4 21:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:03:25 Upgrading critical system libraries and apk-tools: 21:03:25 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 21:03:25 Executing busybox-1.36.1-r29.trigger 21:03:25 Continuing the upgrade transaction with new apk-tools: 21:03:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 21:03:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 21:03:25 OK: 8 MiB in 15 packages 21:03:25 Removing intermediate container 3d077d51b8e4 21:03:25 ---> b19db50ef6bc 21:03:25 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:03:27 ---> 6fbf33b48a0d 21:03:27 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:03:27 ---> 7b64693434ff 21:03:27 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:03:27 ---> 24cf283f9144 21:03:27 Step 21/26 : EXPOSE 59986 21:03:27 ---> Running in 252e51583007 21:03:27 Removing intermediate container 252e51583007 21:03:27 ---> 87af9990b96c 21:03:27 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:03:27 ---> Running in 662a1325e693 21:03:27 Removing intermediate container 662a1325e693 21:03:27 ---> 660bbcf0351d 21:03:27 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:03:27 ---> Running in 42da84256792 21:03:27 Removing intermediate container 42da84256792 21:03:27 ---> 6a52776a18b9 21:03:27 Step 24/26 : LABEL arch=amd64 21:03:28 ---> Running in 80e06f210141 21:03:28 Removing intermediate container 80e06f210141 21:03:28 ---> 8b4df7d161cb 21:03:28 Step 25/26 : LABEL git_sha=bf564b997c3dc272aa1088a40ff9a6988ef00720 21:03:28 ---> Running in ea26a6815070 21:03:28 Removing intermediate container ea26a6815070 21:03:28 ---> 6f39920ca781 21:03:28 Step 26/26 : LABEL version=0.0.0 21:03:28 ---> Running in 2e79fddd6ab8 21:03:28 Removing intermediate container 2e79fddd6ab8 21:03:28 ---> 34226beeba63 21:03:28 [Warning] One or more build-args [ARCH] were not consumed 21:03:28 Successfully built 34226beeba63 21:03:28 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:29 21:03:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:29 latest: Pulling from edgex-lftools-log-publisher 21:03:29 5eb5b503b376: Pulling fs layer 21:03:29 5c69ac0246d0: Pulling fs layer 21:03:29 ec43610c2a17: Pulling fs layer 21:03:29 3a2ae6a8a46f: Pulling fs layer 21:03:29 33b1e0a273af: Pulling fs layer 21:03:29 5d3b04190fa2: Pulling fs layer 21:03:29 2f39f015ded8: Pulling fs layer 21:03:29 3a2ae6a8a46f: Waiting 21:03:29 2f39f015ded8: Waiting 21:03:29 33b1e0a273af: Waiting 21:03:29 3a2ae6a8a46f: Verifying Checksum 21:03:29 3a2ae6a8a46f: Download complete 21:03:29 33b1e0a273af: Verifying Checksum 21:03:29 33b1e0a273af: Download complete 21:03:29 5d3b04190fa2: Download complete 21:03:29 ec43610c2a17: Verifying Checksum 21:03:29 ec43610c2a17: Download complete 21:03:29 5eb5b503b376: Verifying Checksum 21:03:29 5eb5b503b376: Download complete 21:03:30 2f39f015ded8: Download complete 21:03:30 5eb5b503b376: Pull complete 21:03:30 5c69ac0246d0: Pull complete 21:03:31 ec43610c2a17: Pull complete 21:03:31 3a2ae6a8a46f: Pull complete 21:03:31 33b1e0a273af: Pull complete 21:03:31 5d3b04190fa2: Pull complete 21:03:35 2f39f015ded8: Pull complete 21:03:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:03:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:03:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:36 prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container 21:03:36 $ 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-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:03:37 a37a00ec5f00: Pull complete 21:03:37 50b3750afda1: Pull complete 21:03:37 4f4fb700ef54: Pull complete 21:03:37 80978eb59214: Pull complete 21:03:40 $ docker top 112553309bac13c6ff8bf78c821fc9f90acd0ccedddc25b6cf1b5d0a39882c39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:03:40 ---> job-cost.sh 21:03:40 lf-activate-venv: SKIPPING 21:03:40 INFO: No Stack... 21:03:40 INFO: Retrieving Pricing Info for: v3-standard-8 21:03:41 INFO: Archiving Costs [Pipeline] sh 21:03:41 + cat /w/workspace/gexfoundry_device-rest-go_PR-420/archives/cost.csv 21:03:41 + cut -d, -f6 [Pipeline] lock 21:03:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] 21:03:41 Resource [jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] did not exist. Created. 21:03:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:03:41 + echo total: 0.2199999988079071 [Pipeline] stash 21:03:41 Stashed 1 file(s) [Pipeline] } 21:03:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:03:42 $ docker stop --time=1 112553309bac13c6ff8bf78c821fc9f90acd0ccedddc25b6cf1b5d0a39882c39 21:03:43 $ docker rm -f --volumes 112553309bac13c6ff8bf78c821fc9f90acd0ccedddc25b6cf1b5d0a39882c39 [Pipeline] // withDockerContainer [Pipeline] } 21:03:43 c9f46d7d2bd2: Pull complete [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:03:45 c5a475d317c9: Pull complete 21:03:45 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 21:03:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 21:03:45 ---> be29e6b0f0d4 21:03:45 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:03:47 ---> Running in bff49ce437e2 21:03:47 Removing intermediate container bff49ce437e2 21:03:47 ---> 7207fa670c2d 21:03:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:47 ---> Running in b45bacfbb931 21:03:47 Removing intermediate container b45bacfbb931 21:03:47 ---> 88248eb82399 21:03:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:03:47 ---> Running in 3b5582095f07 21:03:48 Removing intermediate container 3b5582095f07 21:03:48 ---> 6e7245db2057 21:03:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:03:48 ---> Running in f0cc89e3f7b3 21:03:48 Removing intermediate container f0cc89e3f7b3 21:03:48 ---> cb5cab50ab8c 21:03:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:48 ---> Running in 1cc21be38fae 21:03:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:03:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:03:51 (1/4) Installing openssh-keygen (9.7_p1-r4) 21:03:51 (2/4) Installing libedit (20240517.3.1-r0) 21:03:51 (3/4) Installing openssh-client-common (9.7_p1-r4) 21:03:51 (4/4) Installing openssh-client-default (9.7_p1-r4) 21:03:51 Executing busybox-1.36.1-r29.trigger 21:03:51 OK: 242 MiB in 58 packages 21:03:52 Removing intermediate container 1cc21be38fae 21:03:52 ---> 4b93bf6f3694 21:03:52 Step 8/12 : WORKDIR /device-rest-go 21:03:52 ---> Running in 9407404ad37d 21:03:52 Removing intermediate container 9407404ad37d 21:03:52 ---> 95655616c0b8 21:03:52 Step 9/12 : COPY go.mod vendor* ./ 21:03:53 ---> 0fe6fadeecb6 21:03:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:53 ---> Running in d958b62d84d4 21:05:45 Removing intermediate container d958b62d84d4 21:05:45 ---> 3912646db2ca 21:05:45 Step 11/12 : COPY . . 21:05:45 ---> 2bb136865fbb 21:05:45 Step 12/12 : RUN $MAKE 21:05:45 ---> Running in 04ebe92efdfd 21:05:45 noop 21:05:45 Removing intermediate container 04ebe92efdfd 21:05:45 ---> 9ed18d522b64 21:05:45 Successfully built 9ed18d522b64 21:05:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:45 + docker inspect -f . ci-base-image-arm64 21:05:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:45 prd-ubuntu20.04-docker-arm64-4c-16g-23010 does not seem to be running inside a container 21:05:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:05:47 $ docker top facbe4640fd534302b8f70973e99dc87349278191d2230b51c47daa99124b8ef -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:48 + go version 21:05:48 go version go1.23.2 linux/arm64 [Pipeline] } 21:05:48 $ docker stop --time=1 facbe4640fd534302b8f70973e99dc87349278191d2230b51c47daa99124b8ef 21:05:49 $ docker rm -f --volumes facbe4640fd534302b8f70973e99dc87349278191d2230b51c47daa99124b8ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:50 + docker inspect -f . ci-base-image-arm64 21:05:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:50 prd-ubuntu20.04-docker-arm64-4c-16g-23010 does not seem to be running inside a container 21:05:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:05:52 $ docker top b34f92ba86fa1cbe8f2e6f488bafa5c30fbf16f6cb3744a52f1b222ddf86e2b0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:53 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:05:53 + make test 21:05:53 go test ./... -coverprofile=coverage.out ./... 21:05:59 ? github.com/edgexfoundry/device-rest-go [no test files] 21:09:06 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 21:09:09 ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements 21:09:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:09:10 go vet ./... 21:09:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:56 ./bin/test-attribution-txt.sh [Pipeline] echo 21:09:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 21:09:57 $ docker stop --time=1 b34f92ba86fa1cbe8f2e6f488bafa5c30fbf16f6cb3744a52f1b222ddf86e2b0 21:09:58 $ docker rm -f --volumes b34f92ba86fa1cbe8f2e6f488bafa5c30fbf16f6cb3744a52f1b222ddf86e2b0 [Pipeline] // withDockerContainer [Pipeline] sh 21:10:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:00 Warning: overwriting stash ‘coverage-report’ 21:10:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:10:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:02 + ls -al . 21:10:02 total 252 21:10:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 21:05 . 21:10:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 21:02 .. 21:10:02 -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 21:02 .dockerignore 21:10:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 21:02 .git 21:10:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:02 .github 21:10:02 -rw-rw-r-- 1 jenkins jenkins 264 Oct 17 21:02 .gitignore 21:10:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 21:02 .golangci.yml 21:10:02 -rw-rw-r-- 1 jenkins jenkins 20138 Oct 17 21:02 Attribution.txt 21:10:02 -rw-rw-r-- 1 jenkins jenkins 17685 Oct 17 21:02 CHANGELOG.md 21:10:02 -rw-rw-r-- 1 jenkins jenkins 1692 Oct 17 21:02 Dockerfile 21:10:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 21:02 GOVERNANCE.md 21:10:02 -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 21:02 Jenkinsfile 21:10:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 21:02 LICENSE 21:10:02 -rw-rw-r-- 1 jenkins jenkins 2553 Oct 17 21:02 Makefile 21:10:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 21:02 OWNERS.md 21:10:02 -rw-rw-r-- 1 jenkins jenkins 3989 Oct 17 21:02 README.md 21:10:02 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 21:00 VERSION 21:10:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 21:02 bin 21:10:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:02 cmd 21:10:02 -rw-r--r-- 1 jenkins jenkins 14565 Oct 17 21:09 coverage.out 21:10:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 21:02 driver 21:10:02 -rw-rw-r-- 1 jenkins jenkins 7106 Oct 17 21:02 go.mod 21:10:02 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 17 21:02 go.sum 21:10:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 21:02 openapi 21:10:02 -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:02 + 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=bf564b997c3dc272aa1088a40ff9a6988ef00720 --label arch=arm64 --label version=0.0.0 . 21:10:02 Sending build context to Docker daemon 156.2kB 21:10:02 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 21:10:02 Step 2/26 : FROM ${BASE} AS builder 21:10:02 ---> 9ed18d522b64 21:10:02 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:10:02 ---> Running in 366eb3332cd8 21:10:03 Removing intermediate container 366eb3332cd8 21:10:03 ---> 08ee2aa3c7dc 21:10:03 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:03 ---> Running in ab07bed6efa4 21:10:03 Removing intermediate container ab07bed6efa4 21:10:03 ---> 13e4c492b763 21:10:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:10:03 ---> Running in 467b96588acb 21:10:04 Removing intermediate container 467b96588acb 21:10:04 ---> 5255fbfcd27a 21:10:04 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:10:04 ---> Running in 72dbe4fea243 21:10:04 Removing intermediate container 72dbe4fea243 21:10:04 ---> aaf719d9f398 21:10:04 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:04 ---> Running in 96bc428ff6c4 21:10:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:10:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:10:07 OK: 242 MiB in 58 packages 21:10:08 Removing intermediate container 96bc428ff6c4 21:10:08 ---> c0e6b05b0539 21:10:08 Step 8/26 : WORKDIR /device-rest-go 21:10:08 ---> Running in ac68105f6809 21:10:08 Removing intermediate container ac68105f6809 21:10:08 ---> f18ba6f1a581 21:10:08 Step 9/26 : COPY go.mod vendor* ./ 21:10:08 ---> 047f45ac6bde 21:10:08 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:08 ---> Running in 262174dd1415 21:10:11 Removing intermediate container 262174dd1415 21:10:11 ---> c9486ebc183a 21:10:11 Step 11/26 : COPY . . 21:10:11 ---> c5003e2f3a42 21:10:11 Step 12/26 : RUN $MAKE 21:10:12 ---> Running in e070d2bec8db 21:10:13 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.47" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 21:13:34 Removing intermediate container e070d2bec8db 21:13:34 ---> f680cb889f9f 21:13:34 Step 13/26 : FROM alpine:3.20 21:13:34 3.20: Pulling from library/alpine 21:13:34 cf04c63912e1: Already exists 21:13:34 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 21:13:34 Status: Downloaded newer image for alpine:3.20 21:13:34 ---> c157a85ed455 21:13:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:13:34 ---> Running in 18a3beba4e6a 21:13:34 Removing intermediate container 18a3beba4e6a 21:13:34 ---> 854af5da449e 21:13:34 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 21:13:34 ---> Running in 3388a23a2166 21:13:34 Removing intermediate container 3388a23a2166 21:13:34 ---> bc2b36251c1a 21:13:34 Step 16/26 : RUN apk add --update --no-cache dumb-init 21:13:34 ---> Running in 5275469376db 21:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:13:34 (1/1) Installing dumb-init (1.2.5-r3) 21:13:34 Executing busybox-1.36.1-r29.trigger 21:13:34 OK: 9 MiB in 15 packages 21:13:34 Removing intermediate container 5275469376db 21:13:34 ---> 06bc3d356050 21:13:34 Step 17/26 : RUN apk --no-cache upgrade 21:13:34 ---> Running in 4ba9c23e1962 21:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:13:34 Upgrading critical system libraries and apk-tools: 21:13:34 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 21:13:34 Executing busybox-1.36.1-r29.trigger 21:13:34 Continuing the upgrade transaction with new apk-tools: 21:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 21:13:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 21:13:34 OK: 9 MiB in 15 packages 21:13:35 Removing intermediate container 4ba9c23e1962 21:13:35 ---> b1226613f475 21:13:35 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:13:37 ---> bd67de2bd16d 21:13:37 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:13:38 ---> b7ffc3d70008 21:13:38 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:13:38 ---> b0febe91ec73 21:13:38 Step 21/26 : EXPOSE 59986 21:13:38 ---> Running in 2b7b096d943f 21:13:39 Removing intermediate container 2b7b096d943f 21:13:39 ---> 6a5f64720e51 21:13:39 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:13:39 ---> Running in 66b187cf6ea4 21:13:39 Removing intermediate container 66b187cf6ea4 21:13:39 ---> 43552d3163fb 21:13:39 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:13:39 ---> Running in 3b58a7d901d5 21:13:39 Removing intermediate container 3b58a7d901d5 21:13:39 ---> 13b3843d8aca 21:13:39 Step 24/26 : LABEL arch=arm64 21:13:39 ---> Running in b76b408783bf 21:13:40 Removing intermediate container b76b408783bf 21:13:40 ---> 387d1e7249d4 21:13:40 Step 25/26 : LABEL git_sha=bf564b997c3dc272aa1088a40ff9a6988ef00720 21:13:40 ---> Running in 58e3cd1a93f5 21:13:40 Removing intermediate container 58e3cd1a93f5 21:13:40 ---> 4e7932f841a9 21:13:40 Step 26/26 : LABEL version=0.0.0 21:13:40 ---> Running in 4b2af309c52b 21:13:40 Removing intermediate container 4b2af309c52b 21:13:40 ---> 5a1747f42ace 21:13:40 [Warning] One or more build-args [ARCH] were not consumed 21:13:40 Successfully built 5a1747f42ace 21:13:40 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:41 21:13:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:13:42 arm64: Pulling from edgex-lftools-log-publisher 21:13:42 8998bd30e6a1: Pulling fs layer 21:13:42 04944245beec: Pulling fs layer 21:13:42 699f458cf7ca: Pulling fs layer 21:13:42 765212b225bb: Pulling fs layer 21:13:42 f23df028b6ca: Pulling fs layer 21:13:42 d65c8cfc05b1: Pulling fs layer 21:13:42 2437ff75d9bd: Pulling fs layer 21:13:42 f23df028b6ca: Waiting 21:13:42 d65c8cfc05b1: Waiting 21:13:42 2437ff75d9bd: Waiting 21:13:42 765212b225bb: Waiting 21:13:42 04944245beec: Verifying Checksum 21:13:42 04944245beec: Download complete 21:13:42 765212b225bb: Verifying Checksum 21:13:42 765212b225bb: Download complete 21:13:42 f23df028b6ca: Verifying Checksum 21:13:42 f23df028b6ca: Download complete 21:13:42 d65c8cfc05b1: Verifying Checksum 21:13:42 d65c8cfc05b1: Download complete 21:13:42 699f458cf7ca: Verifying Checksum 21:13:42 699f458cf7ca: Download complete 21:13:42 8998bd30e6a1: Download complete 21:13:45 2437ff75d9bd: Verifying Checksum 21:13:45 2437ff75d9bd: Download complete 21:13:47 8998bd30e6a1: Pull complete 21:13:49 04944245beec: Pull complete 21:13:50 699f458cf7ca: Pull complete 21:13:50 765212b225bb: Pull complete 21:13:51 f23df028b6ca: Pull complete 21:13:51 d65c8cfc05b1: Pull complete 21:14:09 2437ff75d9bd: Pull complete 21:14:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:10 prd-ubuntu20.04-docker-arm64-4c-16g-23010 does not seem to be running inside a container 21:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:14:13 $ docker top c44d5c7ba28c242369871b3b48a32ad00aea4bb628251e66fe209e193cf91a9c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:14 ---> job-cost.sh 21:14:14 lf-activate-venv: SKIPPING 21:14:14 INFO: No Stack... 21:14:14 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:15 INFO: Archiving Costs [Pipeline] sh 21:14:15 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:14:15 + cut -d, -f6 [Pipeline] lock 21:14:15 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] 21:14:15 Resource [jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] did not exist. Created. 21:14:15 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:16 /w/workspace/device-rest-go/1@tmp/durable-dbb166fa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:17 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:17 Warning: overwriting stash ‘stack-cost’ 21:14:17 Stashed 1 file(s) [Pipeline] } 21:14:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-420-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:17 $ docker stop --time=1 c44d5c7ba28c242369871b3b48a32ad00aea4bb628251e66fe209e193cf91a9c 21:14:19 $ docker rm -f --volumes c44d5c7ba28c242369871b3b48a32ad00aea4bb628251e66fe209e193cf91a9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:14:20 provisioning config files... 21:14:20 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/config16006897994541524208tmp [Pipeline] { [Pipeline] sh 21:14:20 + set +x 21:14:20 + bash -s -- 21:14:20 + curl -s https://codecov.io/bash 21:14:20 21:14:20 _____ _ 21:14:20 / ____| | | 21:14:20 | | ___ __| | ___ ___ _____ __ 21:14:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:20 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:20 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:20 Bash-1.0.6 21:14:20 21:14:20 21:14:20 ==> git version 2.25.1 found 21:14:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:14:20 Release-Date: 2020-01-08 21:14:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:20 ==> Jenkins CI detected. 21:14:20 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-420 21:14:20 project root: . 21:14:20 --> token set from env 21:14:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:20 ==> Running gcov in . (disable via -X gcov) 21:14:20 ==> Python coveragepy not found 21:14:20 ==> Searching for coverage reports in: 21:14:20 + . 21:14:20 -> Found 1 reports 21:14:20 ==> Detecting git/mercurial file structure 21:14:20 ==> Reading reports 21:14:20 + ./coverage.out bytes=14565 21:14:20 ==> Appending adjustments 21:14:20 https://docs.codecov.io/docs/fixing-reports 21:14:20 + Found adjustments 21:14:20 ==> Gzipping contents 21:14:20 4.0K /tmp/codecov.WVKw6b.gz 21:14:20 ==> Uploading reports 21:14:20 url: https://codecov.io 21:14:20 query: branch=PR-420&commit=bf564b997c3dc272aa1088a40ff9a6988ef00720&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=420&job=&cmd_args= 21:14:20 -> Pinging Codecov 21:14:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-420&commit=bf564b997c3dc272aa1088a40ff9a6988ef00720&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-420%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=420&job=&cmd_args= 21:14:27 -> Uploading to 21:14:27 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/bf564b997c3dc272aa1088a40ff9a6988ef00720/f6cf9aa4-23f9-4d70-aaa6-e200d671a2ec.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241017%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241017T211425Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=a350b8e934b14cd558ec679006806728af3f2785d1b68fede7792fcaf7a08f6a 21:14:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:27 Dload Upload Total Spent Left Speed 21:14:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 9483 --:--:-- --:--:-- --:--:-- 9522 21:14:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/bf564b997c3dc272aa1088a40ff9a6988ef00720 [Pipeline] } 21:14:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:14:30 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-420/archives ] 21:14:30 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-420/archives 21:14:30 total 16 21:14:30 drwxr-xr-x 3 root root 4096 Oct 17 21:03 . 21:14:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 21:03 .. 21:14:30 drwxr-xr-x 2 root root 4096 Oct 17 21:03 cost 21:14:30 -rw-r--r-- 1 root root 86 Oct 17 21:03 cost.csv 21:14:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-420/archives 21:14:30 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-420/archives 21:14:30 total 16 21:14:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 21:03 . 21:14:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 21:03 .. 21:14:30 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 21:03 cost 21:14:30 -rw-r--r-- 1 jenkins jenkins 86 Oct 17 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:14:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:14:31 ---> package-listing.sh 21:14:31 ++ facter osfamily 21:14:31 ++ tr '[:upper:]' '[:lower:]' 21:14:31 + OS_FAMILY=debian 21:14:31 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-420 21:14:31 + START_PACKAGES=/tmp/packages_start.txt 21:14:31 + END_PACKAGES=/tmp/packages_end.txt 21:14:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:14:31 + PACKAGES=/tmp/packages_start.txt 21:14:31 + '[' /w/workspace/gexfoundry_device-rest-go_PR-420 ']' 21:14:31 + PACKAGES=/tmp/packages_end.txt 21:14:31 + case "${OS_FAMILY}" in 21:14:31 + dpkg -l 21:14:31 + grep '^ii' 21:14:31 + '[' -f /tmp/packages_start.txt ']' 21:14:31 + '[' -f /tmp/packages_end.txt ']' 21:14:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:14:31 + '[' /w/workspace/gexfoundry_device-rest-go_PR-420 ']' 21:14:31 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-420/archives/ 21:14:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-420/archives/ [Pipeline] echo 21:14:31 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-420/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:14:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:14:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:32 prd-ubuntu20.04-docker-8c-8g-23009 does not seem to be running inside a container 21:14:32 $ 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-420/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-420 -v /w/workspace/gexfoundry_device-rest-go_PR-420:/w/workspace/gexfoundry_device-rest-go_PR-420:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-420@tmp:/w/workspace/gexfoundry_device-rest-go_PR-420@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:14:33 $ docker top 01fe9f9d3270fc15406cabdf6c3c3fe5c775789127cc9ea2be451ae94d344aee -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:33 + touch /tmp/pre-build-complete [Pipeline] sh 21:14:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:14:34 + ls /var/log/sa-host 21:14:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:34 provisioning config files... 21:14:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-420@tmp/config17777707033819407080tmp [Pipeline] { [Pipeline] echo 21:14:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:14:34 ---> create-netrc.sh [Pipeline] } 21:14:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:14:35 ---> python-tools-install.sh [Pipeline] echo 21:14:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:14:35 ---> sudo-logs.sh 21:14:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:14:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:14:36 ---> job-cost.sh 21:14:36 lf-activate-venv: SKIPPING 21:14:36 DEBUG: total: 0.2199999988079071 21:14:36 INFO: Retrieving Stack Cost... 21:14:36 INFO: Retrieving Pricing Info for: v3-standard-8 21:14:36 INFO: Archiving Costs [Pipeline] echo 21:14:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:14:37 ---> logs-deploy.sh 21:14:37 lf-activate-venv: SKIPPING 21:14:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-420/1 21:14:37 INFO: archiving workspace using pattern(s): 21:14:38 Archives upload complete. 21:14:38 INFO: archiving logs to Nexus