Pull request #424 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75b5407f82ae978852c7aa1e7ca30deba2e02a81+d405a4f26b456a8be44145d93bfbd9a91d93e9fc (05260ffbefae6fd83dfb0b5d937c6715d77df7d2) 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-ssh9668234376037085290.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-ssh17384467970918394609.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-424/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-424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10244742235933949561.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-424/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14582224994520988451.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-ssh5281350054680693236.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-424/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-424/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1238421744970787662.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-24358 in /w/workspace/gexfoundry_device-rest-go_PR-424 [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-424 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d405a4f26b456a8be44145d93bfbd9a91d93e9fc into PR head commit 75b5407f82ae978852c7aa1e7ca30deba2e02a81 Merge succeeded, producing 75b5407f82ae978852c7aa1e7ca30deba2e02a81 Checking out Revision 75b5407f82ae978852c7aa1e7ca30deba2e02a81 (PR-424) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # 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 d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:42:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:42:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:36 ========================================================= 20:42:36 EdgeX Global Pipelines Version Info 20:42:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:42:37 ------------------- 20:42:37 stable info: 20:42:37 ------------------- 20:42:37 Commited By: Ginny Guan ginny@iotechsys.com 20:42:37 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 20:42:37 Message: update stable to v1.0.265 20:42:38 ------------------- 20:42:38 experimental info: 20:42:38 ------------------- 20:42:38 Commited By: Cherry Wang cherry@iotechsys.com 20:42:38 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:42:38 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:42:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:42:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:42:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:42:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:42:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:42:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:42:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:42:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-424 [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-424 [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-424 [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75b5407 [Pipeline] echo 20:42:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:40 provisioning config files... 20:42:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config9003852388784627666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:41 ---> ****-login.sh 20:42:41 nexus3.edgexfoundry.org:10001 20:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:41 Configure a credential helper to remove this warning. See 20:42:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:41 20:42:41 Login Succeeded 20:42:41 nexus3.edgexfoundry.org:10002 20:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:41 Configure a credential helper to remove this warning. See 20:42:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:41 20:42:41 Login Succeeded 20:42:41 nexus3.edgexfoundry.org:10003 20:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:41 Configure a credential helper to remove this warning. See 20:42:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:41 20:42:41 Login Succeeded 20:42:41 nexus3.edgexfoundry.org:10004 20:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:41 Configure a credential helper to remove this warning. See 20:42:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:41 20:42:41 Login Succeeded 20:42:41 ****.io 20:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:42:42 Configure a credential helper to remove this warning. See 20:42:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:42:42 20:42:42 Login Succeeded 20:42:42 ---> ****-login.sh ends [Pipeline] } 20:42:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:42:42 + git rev-list -1 --merges 75b5407f82ae978852c7aa1e7ca30deba2e02a81~1..75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] echo 20:42:42 -----------> git rev-list -1 --merges 75b5407f82ae978852c7aa1e7ca30deba2e02a81~1..75b5407f82ae978852c7aa1e7ca30deba2e02a81 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [false] [Pipeline] sh 20:42:43 + git log --format=format:%s -1 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] echo 20:42:43 ========================================================= 20:42:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:42:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:42:43 + git log --format=format:%s -1 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] echo 20:42:43 [semverPrep] GIT_COMMIT: 75b5407f82ae978852c7aa1e7ca30deba2e02a81, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 20:42:43 [semverPrep] This is not a build commit. [Pipeline] sh 20:42:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:42:44 + grep -v github /etc/ssh/ssh_known_hosts 20:42:44 + [ -e /tmp/ssh_known_hosts ] 20:42:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:42:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:42:44 + sudo tee -a /etc/ssh/ssh_known_hosts 20:42:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:44 20:42:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:45 0.1.4: Pulling from edgex-devops/py-git-semver 20:42:45 b85a868b505f: Pulling fs layer 20:42:45 e2be974225ed: Pulling fs layer 20:42:45 339a4e72a1f5: Pulling fs layer 20:42:45 988bab9f4d93: Pulling fs layer 20:42:45 1469e6f7b9e6: Pulling fs layer 20:42:45 eaf3925da568: Pulling fs layer 20:42:45 bab4dde63d76: Pulling fs layer 20:42:45 bde34c3a00c8: Pulling fs layer 20:42:45 b352a97aabf1: Pulling fs layer 20:42:45 4872d77fe225: Pulling fs layer 20:42:45 5851b861e8e6: Pulling fs layer 20:42:45 bab4dde63d76: Waiting 20:42:45 1469e6f7b9e6: Waiting 20:42:45 bde34c3a00c8: Waiting 20:42:45 eaf3925da568: Waiting 20:42:45 b352a97aabf1: Waiting 20:42:45 4872d77fe225: Waiting 20:42:45 5851b861e8e6: Waiting 20:42:45 988bab9f4d93: Waiting 20:42:45 e2be974225ed: Download complete 20:42:45 988bab9f4d93: Download complete 20:42:45 1469e6f7b9e6: Verifying Checksum 20:42:45 1469e6f7b9e6: Download complete 20:42:45 eaf3925da568: Verifying Checksum 20:42:45 eaf3925da568: Download complete 20:42:45 339a4e72a1f5: Verifying Checksum 20:42:45 339a4e72a1f5: Download complete 20:42:45 bde34c3a00c8: Download complete 20:42:45 b352a97aabf1: Verifying Checksum 20:42:45 b352a97aabf1: Download complete 20:42:45 4872d77fe225: Verifying Checksum 20:42:45 5851b861e8e6: Verifying Checksum 20:42:45 5851b861e8e6: Download complete 20:42:45 b85a868b505f: Verifying Checksum 20:42:45 b85a868b505f: Download complete 20:42:45 bab4dde63d76: Verifying Checksum 20:42:45 bab4dde63d76: Download complete 20:42:46 b85a868b505f: Pull complete 20:42:46 e2be974225ed: Pull complete 20:42:47 339a4e72a1f5: Pull complete 20:42:47 988bab9f4d93: Pull complete 20:42:47 1469e6f7b9e6: Pull complete 20:42:47 eaf3925da568: Pull complete 20:42:49 bab4dde63d76: Pull complete 20:42:49 bde34c3a00c8: Pull complete 20:42:49 b352a97aabf1: Pull complete 20:42:50 4872d77fe225: Pull complete 20:42:50 5851b861e8e6: Pull complete 20:42:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:42:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:42:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:50 prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container 20:42:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:42:54 $ docker top 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 -eo pid,comm 20:42:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:42:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:42:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:54 [ssh-agent] Looking for ssh-agent implementation... 20:42:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:54 $ docker exec 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 ssh-agent 20:42:54 SSH_AUTH_SOCK=/tmp/ssh-MK37uCe473nd/agent.32 20:42:54 SSH_AGENT_PID=38 20:42:54 Running ssh-add (command line suppressed) 20:42:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_9481905365998613695.key (/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_9481905365998613695.key) 20:42:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:54 + git tag --points-at HEAD [Pipeline] } 20:42:54 $ docker exec --env ******** --env ******** 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 ssh-agent -k 20:42:55 unset SSH_AUTH_SOCK; 20:42:55 unset SSH_AGENT_PID; 20:42:55 echo Agent pid 38 killed; 20:42:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:42:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:42:55 [ssh-agent] Looking for ssh-agent implementation... 20:42:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:42:55 $ docker exec 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 ssh-agent 20:42:55 SSH_AUTH_SOCK=/tmp/ssh-SsVVV5wMnWXI/agent.71 20:42:55 SSH_AGENT_PID=77 20:42:55 Running ssh-add (command line suppressed) 20:42:55 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_3301806173874147715.key (/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/private_key_3301806173874147715.key) 20:42:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:42:55 + git semver init 20:42:56 2024-11-01 20:42:56,090 [run_init] DEBUG init version:0.0.0 force:False 20:42:56 2024-11-01 20:42:56,091 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver 20:42:56 2024-11-01 20:42:56,092 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-424/.semver 20:42:56 2024-11-01 20:42:56,092 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-424/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424, universal_newlines=False, shell=None, istream=None) 20:42:57 2024-11-01 20:42:57,444 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-424/.git/info/exclude 20:42:57 2024-11-01 20:42:57,445 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 with force:False 20:42:57 2024-11-01 20:42:57,445 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 20:42:57 2024-11-01 20:42:57,449 [execute] INFO git cat-file --batch-check 20:42:57 2024-11-01 20:42:57,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424/.semver, universal_newlines=False, shell=None, istream=) 20:42:57 2024-11-01 20:42:57,456 [execute] INFO git cat-file --batch 20:42:57 2024-11-01 20:42:57,456 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-424/.semver, universal_newlines=False, shell=None, istream=) 20:42:57 2024-11-01 20:42:57,462 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-424/.semver/PR-424 20:42:57 0.0.0 [Pipeline] } 20:42:57 $ docker exec --env ******** --env ******** 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 ssh-agent -k 20:42:57 unset SSH_AUTH_SOCK; 20:42:57 unset SSH_AGENT_PID; 20:42:57 echo Agent pid 77 killed; 20:42:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:42:58 + git semver [Pipeline] } 20:42:58 $ docker stop --time=1 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 20:42:59 $ docker rm -f --volumes 1985e536b1bf76ef008b23afeb46db019f018975e930a8dbb2344bf1b0c0e7d2 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:43:00 Stashed 1 file(s) [Pipeline] echo 20:43:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:01 provisioning config files... 20:43:01 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config10247486653535483003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:01 ---> ****-login.sh 20:43:01 nexus3.edgexfoundry.org:10001 20:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:01 Configure a credential helper to remove this warning. See 20:43:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:01 20:43:01 Login Succeeded 20:43:01 nexus3.edgexfoundry.org:10002 20:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:01 Configure a credential helper to remove this warning. See 20:43:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:01 20:43:01 Login Succeeded 20:43:01 nexus3.edgexfoundry.org:10003 20:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:02 Configure a credential helper to remove this warning. See 20:43:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:02 20:43:02 Login Succeeded 20:43:02 nexus3.edgexfoundry.org:10004 20:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:02 Configure a credential helper to remove this warning. See 20:43:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:02 20:43:02 Login Succeeded 20:43:02 ****.io 20:43:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:43:02 Configure a credential helper to remove this warning. See 20:43:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:43:02 20:43:02 Login Succeeded 20:43:02 ---> ****-login.sh ends [Pipeline] } 20:43:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:43:02 ========================================================= 20:43:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:43:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:43:03 Sending build context to Docker daemon 16.64MB 20:43:03 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:43:03 Step 2/12 : FROM ${BASE} AS builder 20:43:03 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:43:03 43c4264eed91: Pulling fs layer 20:43:03 4cc291be95ef: Pulling fs layer 20:43:03 2ac1f1163629: Pulling fs layer 20:43:03 5c3c966382ef: Pulling fs layer 20:43:03 4f4fb700ef54: Pulling fs layer 20:43:03 5d5c8e513c77: Pulling fs layer 20:43:03 9f66e0745190: Pulling fs layer 20:43:03 f49a43e4bbc0: Pulling fs layer 20:43:03 561ebcabdf7f: Pulling fs layer 20:43:03 5c3c966382ef: Waiting 20:43:03 4f4fb700ef54: Waiting 20:43:03 9f66e0745190: Waiting 20:43:03 f49a43e4bbc0: Waiting 20:43:03 561ebcabdf7f: Waiting 20:43:03 5d5c8e513c77: Waiting 20:43:03 4cc291be95ef: Verifying Checksum 20:43:03 4cc291be95ef: Download complete 20:43:03 5c3c966382ef: Download complete 20:43:03 4f4fb700ef54: Download complete 20:43:03 5d5c8e513c77: Verifying Checksum 20:43:03 5d5c8e513c77: Download complete 20:43:03 43c4264eed91: Download complete 20:43:03 9f66e0745190: Verifying Checksum 20:43:03 9f66e0745190: Download complete 20:43:03 43c4264eed91: Pull complete 20:43:03 561ebcabdf7f: Download complete 20:43:03 4cc291be95ef: Pull complete 20:43:03 2ac1f1163629: Verifying Checksum 20:43:03 2ac1f1163629: Download complete 20:43:04 f49a43e4bbc0: Verifying Checksum 20:43:04 f49a43e4bbc0: Download complete 20:43:08 2ac1f1163629: Pull complete 20:43:08 5c3c966382ef: Pull complete 20:43:08 4f4fb700ef54: Pull complete 20:43:08 5d5c8e513c77: Pull complete 20:43:08 9f66e0745190: Pull complete 20:43:10 f49a43e4bbc0: Pull complete 20:43:10 561ebcabdf7f: Pull complete 20:43:10 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 20:43:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:43:10 ---> 3a752c3f9dda 20:43:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:43:16 Still waiting to schedule task 20:43:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:43:16 ---> Running in 69dbdac6b6f8 20:43:16 Removing intermediate container 69dbdac6b6f8 20:43:16 ---> c9a4ddbf2ad3 20:43:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:16 ---> Running in b89368833404 20:43:16 Removing intermediate container b89368833404 20:43:16 ---> 853ac5378db6 20:43:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:16 ---> Running in 473a9569330a 20:43:16 Removing intermediate container 473a9569330a 20:43:16 ---> 31daba174d51 20:43:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:43:16 ---> Running in fc157f650519 20:43:16 Removing intermediate container fc157f650519 20:43:16 ---> 560a6e9d5cfe 20:43:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:16 ---> Running in 3074ea9956cd 20:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:43:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:43:16 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:43:16 (2/4) Installing libedit (20240517.3.1-r0) 20:43:16 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:43:16 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:43:16 Executing busybox-1.36.1-r29.trigger 20:43:16 OK: 250 MiB in 58 packages 20:43:17 Removing intermediate container 3074ea9956cd 20:43:17 ---> 5b5cedc32ffe 20:43:17 Step 8/12 : WORKDIR /device-rest-go 20:43:17 ---> Running in c901416ed247 20:43:17 Removing intermediate container c901416ed247 20:43:17 ---> bfada7a3a3c4 20:43:17 Step 9/12 : COPY go.mod vendor* ./ 20:43:17 ---> 6eb1784cf249 20:43:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:17 ---> Running in 8232cf7ef53b 20:44:13 Removing intermediate container 8232cf7ef53b 20:44:13 ---> 642b5e150e63 20:44:13 Step 11/12 : COPY . . 20:44:13 ---> 6eed711a7883 20:44:13 Step 12/12 : RUN $MAKE 20:44:13 ---> Running in 6ba5a443d7eb 20:44:13 noop 20:44:13 Removing intermediate container 6ba5a443d7eb 20:44:13 ---> 7a770f5b71f7 20:44:13 Successfully built 7a770f5b71f7 20:44:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:14 + docker inspect -f . ci-base-image-x86_64 20:44:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:14 prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container 20:44:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:44:14 $ docker top 5014ba2558ca958fc7130854297941c626690188fbfd50348b2fd74dbfd4286e -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:15 + go version 20:44:15 go version go1.23.2 linux/amd64 [Pipeline] } 20:44:15 $ docker stop --time=1 5014ba2558ca958fc7130854297941c626690188fbfd50348b2fd74dbfd4286e 20:44:16 $ docker rm -f --volumes 5014ba2558ca958fc7130854297941c626690188fbfd50348b2fd74dbfd4286e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:17 + docker inspect -f . ci-base-image-x86_64 20:44:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:17 prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container 20:44:17 $ 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-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:44:18 $ docker top 92910e159d0d2dbea41792fc83834edeccb4adb9b2dd2f1a93d1a02e23bbaf57 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:18 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-424 [Pipeline] fileExists [Pipeline] sh 20:44:18 + make test 20:44:18 go test ./... -coverprofile=coverage.out ./... 20:44:20 ? github.com/edgexfoundry/device-rest-go [no test files] 20:44:42 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:44:42 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 20:44:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24359 in /w/workspace/gexfoundry_device-rest-go_PR-424 [Pipeline] { [Pipeline] ws 20:44:50 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:44:52 go vet ./... 20:44:54 The recommended git tool is: git 20:44:58 using credential edgex-jenkins-ssh 20:44:58 Cloning the remote Git repository 20:44:58 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:44:58 > git init /w/workspace/device-rest-go/1 # timeout=10 20:44:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:44:58 > git --version # timeout=10 20:44:58 > git --version # 'git version 2.25.1' 20:44:58 using GIT_SSH to set credentials SSH Credentials for GitHub 20:44:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:44:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:44:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:44:59 ./bin/test-attribution-txt.sh [Pipeline] echo 20:44:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:44:59 $ docker stop --time=1 92910e159d0d2dbea41792fc83834edeccb4adb9b2dd2f1a93d1a02e23bbaf57 20:45:02 $ docker rm -f --volumes 92910e159d0d2dbea41792fc83834edeccb4adb9b2dd2f1a93d1a02e23bbaf57 [Pipeline] // withDockerContainer [Pipeline] sh 20:45:01 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:45:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:45:02 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/424/head:refs/remotes/origin/PR-424 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:02 + sudo chown -R jenkins:jenkins . 20:45:03 Merging remotes/origin/main commit d405a4f26b456a8be44145d93bfbd9a91d93e9fc into PR head commit 75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] stash 20:45:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 20:45:03 Merge succeeded, producing 75b5407f82ae978852c7aa1e7ca30deba2e02a81 20:45:03 Checking out Revision 75b5407f82ae978852c7aa1e7ca30deba2e02a81 (PR-424) [Pipeline] sh 20:45:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:45:04 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" 20:45:03 > git config core.sparsecheckout # timeout=10 20:45:03 > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 20:45:03 > git remote # timeout=10 20:45:03 > git config --get remote.origin.url # timeout=10 20:45:03 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:03 > git merge d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 20:45:03 > git rev-parse HEAD^{commit} # timeout=10 20:45:03 > git config core.sparsecheckout # timeout=10 20:45:03 > git checkout -f 75b5407f82ae978852c7aa1e7ca30deba2e02a81 # timeout=10 20:45:04 > git --version # timeout=10 20:45:04 > git --version # 'git version 2.25.1' 20:45:04 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 20:45:04 + ls -al . 20:45:04 total 244 20:45:04 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 20:44 . 20:45:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:42 .. 20:45:04 -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 20:42 .dockerignore 20:45:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:44 .git 20:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:42 .github 20:45:04 -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 20:42 .gitignore 20:45:04 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 20:42 .golangci.yml 20:45:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 20:42 .semver 20:45:04 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 1 20:42 Attribution.txt 20:45:04 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 1 20:42 CHANGELOG.md 20:45:04 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 1 20:42 Dockerfile 20:45:04 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:42 GOVERNANCE.md 20:45:04 -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 20:42 Jenkinsfile 20:45:04 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 20:42 LICENSE 20:45:04 -rw-rw-r-- 1 jenkins jenkins 2553 Nov 1 20:42 Makefile 20:45:04 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 20:42 OWNERS.md 20:45:04 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 1 20:42 README.md 20:45:04 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 20:43 VERSION 20:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:42 bin 20:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:42 cmd 20:45:04 -rw-r--r-- 1 jenkins jenkins 14565 Nov 1 20:44 coverage.out 20:45:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:42 driver 20:45:04 -rw-rw-r-- 1 jenkins jenkins 6439 Nov 1 20:42 go.mod 20:45:04 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 20:42 go.sum 20:45:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:42 openapi 20:45:04 -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:04 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=75b5407f82ae978852c7aa1e7ca30deba2e02a81 --label arch=amd64 --label version=0.0.0 . 20:45:04 Sending build context to Docker daemon 16.66MB 20:45:04 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:45:04 Step 2/26 : FROM ${BASE} AS builder 20:45:04 ---> 7a770f5b71f7 20:45:04 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:45:04 ---> Running in 25356af59258 20:45:04 Removing intermediate container 25356af59258 20:45:04 ---> 02ae7bba41f2 20:45:04 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:04 ---> Running in c9c4012fe85a 20:45:05 Removing intermediate container c9c4012fe85a 20:45:05 ---> ffe8e4e8eb38 20:45:05 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:45:05 ---> Running in 4ae3d446919b 20:45:05 Removing intermediate container 4ae3d446919b 20:45:05 ---> 67a0490a8f01 20:45:05 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:45:05 ---> Running in 4249c54c4b0e 20:45:05 Removing intermediate container 4249c54c4b0e 20:45:05 ---> adddb2223857 20:45:05 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:45:05 ---> Running in 821ee55c56c5 20:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:45:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:45:06 OK: 250 MiB in 58 packages 20:45:06 Removing intermediate container 821ee55c56c5 20:45:06 ---> 6fde5890022f 20:45:06 Step 8/26 : WORKDIR /device-rest-go 20:45:06 ---> Running in 328ada6566c9 20:45:06 Removing intermediate container 328ada6566c9 20:45:06 ---> d77ed62df366 20:45:06 Step 9/26 : COPY go.mod vendor* ./ 20:45:06 ---> 6e13359e282d 20:45:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:06 ---> Running in 4e57a201d3b8 20:45:07 Removing intermediate container 4e57a201d3b8 20:45:07 ---> 2746a526bba7 20:45:07 Step 11/26 : COPY . . 20:45:07 ---> 313b5517c867 20:45:07 Step 12/26 : RUN $MAKE 20:45:07 ---> Running in 70cd56f7a944 [Pipeline] withEnv [Pipeline] { 20:45:08 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:09 Dload Upload Total Spent Left Speed 20:45:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh 20:45:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:09 + sudo tee /etc/docker/daemon.new 20:45:09 { 20:45:09 "registry-mirrors": [ 20:45:09 "https://nexus3.edgexfoundry.org:10001" 20:45:09 ], 20:45:09 "bip": "10.250.0.254/24", 20:45:09 "hosts": [ 20:45:09 "tcp://0.0.0.0:5555", 20:45:09 "unix:///var/run/docker.sock" 20:45:09 ], 20:45:09 "mtu": 1458, 20:45:09 "selinux-enabled": true, 20:45:09 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:09 } [Pipeline] sh 20:45:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:28 provisioning config files... 20:45:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config17036798013608268634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:29 ---> ****-login.sh 20:45:29 nexus3.edgexfoundry.org:10001 20:45:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:30 Configure a credential helper to remove this warning. See 20:45:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:30 20:45:30 Login Succeeded 20:45:30 nexus3.edgexfoundry.org:10002 20:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:30 Configure a credential helper to remove this warning. See 20:45:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:30 20:45:30 Login Succeeded 20:45:30 nexus3.edgexfoundry.org:10003 20:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:30 Configure a credential helper to remove this warning. See 20:45:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:30 20:45:30 Login Succeeded 20:45:30 nexus3.edgexfoundry.org:10004 20:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:31 Configure a credential helper to remove this warning. See 20:45:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:31 20:45:31 Login Succeeded 20:45:31 ****.io 20:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:45:31 Configure a credential helper to remove this warning. See 20:45:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:45:31 20:45:31 Login Succeeded 20:45:31 ---> ****-login.sh ends [Pipeline] } 20:45:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:45:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:45:32 ========================================================= 20:45:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 20:45:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:45:32 Sending build context to Docker daemon 140.3kB 20:45:33 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:45:33 Step 2/12 : FROM ${BASE} AS builder 20:45:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:33 cf04c63912e1: Pulling fs layer 20:45:33 55b35a11ae5e: Pulling fs layer 20:45:33 a37a00ec5f00: Pulling fs layer 20:45:33 50b3750afda1: Pulling fs layer 20:45:33 4f4fb700ef54: Pulling fs layer 20:45:33 80978eb59214: Pulling fs layer 20:45:33 c9f46d7d2bd2: Pulling fs layer 20:45:33 c5a475d317c9: Pulling fs layer 20:45:33 c9f46d7d2bd2: Waiting 20:45:33 4f4fb700ef54: Waiting 20:45:33 80978eb59214: Waiting 20:45:33 c5a475d317c9: Waiting 20:45:33 50b3750afda1: Waiting 20:45:33 55b35a11ae5e: Verifying Checksum 20:45:33 55b35a11ae5e: Download complete 20:45:33 50b3750afda1: Verifying Checksum 20:45:33 50b3750afda1: Download complete 20:45:33 4f4fb700ef54: Verifying Checksum 20:45:33 4f4fb700ef54: Download complete 20:45:33 80978eb59214: Verifying Checksum 20:45:33 80978eb59214: Download complete 20:45:33 cf04c63912e1: Verifying Checksum 20:45:33 cf04c63912e1: Download complete 20:45:33 c5a475d317c9: Verifying Checksum 20:45:33 c5a475d317c9: Download complete 20:45:34 cf04c63912e1: Pull complete 20:45:34 a37a00ec5f00: Verifying Checksum 20:45:34 a37a00ec5f00: Download complete 20:45:35 55b35a11ae5e: Pull complete 20:45:35 c9f46d7d2bd2: Verifying Checksum 20:45:35 c9f46d7d2bd2: Download complete 20:45:40 Removing intermediate container 70cd56f7a944 20:45:40 ---> efc636612a54 20:45:40 Step 13/26 : FROM alpine:3.20 20:45:40 3.20: Pulling from library/alpine 20:45:40 43c4264eed91: Already exists 20:45:41 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 20:45:41 Status: Downloaded newer image for alpine:3.20 20:45:41 ---> 91ef0af61f39 20:45:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:45:41 ---> Running in 1337574bd674 20:45:41 Removing intermediate container 1337574bd674 20:45:41 ---> 2b315ba1cfc7 20:45:41 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:45:41 ---> Running in 2c15c128ce27 20:45:41 Removing intermediate container 2c15c128ce27 20:45:41 ---> a9b86e6ba523 20:45:41 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:45:41 ---> Running in c498b93367cf 20:45:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:45:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:45:41 (1/1) Installing dumb-init (1.2.5-r3) 20:45:41 Executing busybox-1.36.1-r29.trigger 20:45:41 OK: 8 MiB in 15 packages 20:45:42 Removing intermediate container c498b93367cf 20:45:42 ---> 35a5e1f913d2 20:45:42 Step 17/26 : RUN apk --no-cache upgrade 20:45:42 ---> Running in 8d477218a39f 20:45:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:45:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:45:43 Upgrading critical system libraries and apk-tools: 20:45:43 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 20:45:43 Executing busybox-1.36.1-r29.trigger 20:45:43 Continuing the upgrade transaction with new apk-tools: 20:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:45:43 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 20:45:43 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 20:45:43 OK: 8 MiB in 15 packages 20:45:44 Removing intermediate container 8d477218a39f 20:45:44 ---> 7a1525bde932 20:45:44 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:45:45 ---> 0f77797009af 20:45:45 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:45:45 ---> 5f50719cf9d7 20:45:45 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:45:45 ---> 0b13f377334b 20:45:45 Step 21/26 : EXPOSE 59986 20:45:45 ---> Running in 8448d69d2a11 20:45:45 Removing intermediate container 8448d69d2a11 20:45:45 ---> 93a342722396 20:45:45 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:45:45 ---> Running in a403d4df6c4e 20:45:46 Removing intermediate container a403d4df6c4e 20:45:46 ---> de8bdcb270b5 20:45:46 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 20:45:46 ---> Running in cfc980ec2d8c 20:45:46 Removing intermediate container cfc980ec2d8c 20:45:46 ---> 3fa6736c895c 20:45:46 Step 24/26 : LABEL arch=amd64 20:45:46 ---> Running in 603d6f0f41e3 20:45:46 Removing intermediate container 603d6f0f41e3 20:45:46 ---> bf92682fcac7 20:45:46 Step 25/26 : LABEL git_sha=75b5407f82ae978852c7aa1e7ca30deba2e02a81 20:45:46 ---> Running in 273975ce0e52 20:45:46 Removing intermediate container 273975ce0e52 20:45:46 ---> 0122c9091522 20:45:46 Step 26/26 : LABEL version=0.0.0 20:45:46 ---> Running in 8bab7d1bbeca 20:45:46 Removing intermediate container 8bab7d1bbeca 20:45:46 ---> d5eef7fff611 20:45:46 [Warning] One or more build-args [ARCH] were not consumed 20:45:46 Successfully built d5eef7fff611 20:45:46 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:47 20:45:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:47 latest: Pulling from edgex-lftools-log-publisher 20:45:47 5eb5b503b376: Pulling fs layer 20:45:47 5c69ac0246d0: Pulling fs layer 20:45:47 ec43610c2a17: Pulling fs layer 20:45:47 3a2ae6a8a46f: Pulling fs layer 20:45:47 33b1e0a273af: Pulling fs layer 20:45:47 5d3b04190fa2: Pulling fs layer 20:45:47 2f39f015ded8: Pulling fs layer 20:45:47 5d3b04190fa2: Waiting 20:45:47 33b1e0a273af: Waiting 20:45:47 2f39f015ded8: Waiting 20:45:47 3a2ae6a8a46f: Waiting 20:45:47 5c69ac0246d0: Verifying Checksum 20:45:47 5c69ac0246d0: Download complete 20:45:47 3a2ae6a8a46f: Verifying Checksum 20:45:47 33b1e0a273af: Verifying Checksum 20:45:47 33b1e0a273af: Download complete 20:45:47 5d3b04190fa2: Verifying Checksum 20:45:47 5d3b04190fa2: Download complete 20:45:47 ec43610c2a17: Verifying Checksum 20:45:47 ec43610c2a17: Download complete 20:45:47 5eb5b503b376: Verifying Checksum 20:45:47 5eb5b503b376: Download complete 20:45:48 2f39f015ded8: Download complete 20:45:49 5eb5b503b376: Pull complete 20:45:49 5c69ac0246d0: Pull complete 20:45:49 ec43610c2a17: Pull complete 20:45:49 3a2ae6a8a46f: Pull complete 20:45:49 33b1e0a273af: Pull complete 20:45:50 5d3b04190fa2: Pull complete 20:45:50 a37a00ec5f00: Pull complete 20:45:50 50b3750afda1: Pull complete 20:45:50 4f4fb700ef54: Pull complete 20:45:50 80978eb59214: Pull complete 20:45:54 2f39f015ded8: Pull complete 20:45:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:45:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:54 prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container 20:45:54 $ 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-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:45:56 c9f46d7d2bd2: Pull complete 20:45:58 c5a475d317c9: Pull complete 20:45:58 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 20:45:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 20:45:58 ---> be29e6b0f0d4 20:45:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:45:58 $ docker top 0ebb96c50f038e28566eb6b79f799873a3c8676f56171d09e2d1ff47623f530c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:58 ---> job-cost.sh 20:45:58 lf-activate-venv: SKIPPING 20:45:58 INFO: No Stack... 20:45:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:45:59 INFO: Archiving Costs [Pipeline] sh 20:45:59 ---> Running in 98dd55a20110 20:45:59 + cat /w/workspace/gexfoundry_device-rest-go_PR-424/archives/cost.csv 20:45:59 + cut -d, -f6 [Pipeline] lock 20:45:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] 20:45:59 Resource [jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] did not exist. Created. 20:45:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [Pipeline] { [Pipeline] unstash 20:45:59 Removing intermediate container 98dd55a20110 20:45:59 ---> d7ffa7c05805 20:45:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:45:59 ---> Running in b71ecdb8ace2 [Pipeline] sh 20:46:00 Removing intermediate container b71ecdb8ace2 20:46:00 ---> 18cb5ce380c9 20:46:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:46:00 ---> Running in 2eccd8b76832 20:46:00 + echo total: 0.2199999988079071 [Pipeline] stash 20:46:00 Stashed 1 file(s) [Pipeline] } 20:46:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [Pipeline] // lock 20:46:00 Removing intermediate container 2eccd8b76832 20:46:00 ---> e11fe128d175 20:46:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" [Pipeline] } 20:46:00 $ docker stop --time=1 0ebb96c50f038e28566eb6b79f799873a3c8676f56171d09e2d1ff47623f530c 20:46:00 ---> Running in 1e874474f4ab 20:46:00 Removing intermediate container 1e874474f4ab 20:46:00 ---> c2315e87ee05 20:46:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:00 ---> Running in 829ad7d7c7cc 20:46:01 $ docker rm -f --volumes 0ebb96c50f038e28566eb6b79f799873a3c8676f56171d09e2d1ff47623f530c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } 20:46:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:46:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:46:03 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:46:03 (2/4) Installing libedit (20240517.3.1-r0) 20:46:03 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:46:03 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:46:03 Executing busybox-1.36.1-r29.trigger 20:46:03 OK: 242 MiB in 58 packages 20:46:04 Removing intermediate container 829ad7d7c7cc 20:46:04 ---> 8baa3f7d2a64 20:46:04 Step 8/12 : WORKDIR /device-rest-go 20:46:04 ---> Running in bf0ef97466d1 20:46:04 Removing intermediate container bf0ef97466d1 20:46:04 ---> 46eadbe46377 20:46:04 Step 9/12 : COPY go.mod vendor* ./ 20:46:05 ---> 7bcf1415354d 20:46:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:05 ---> Running in e674e22bfaad 20:47:57 Removing intermediate container e674e22bfaad 20:47:57 ---> 2f7737e00b24 20:47:57 Step 11/12 : COPY . . 20:47:57 ---> a619a3030954 20:47:57 Step 12/12 : RUN $MAKE 20:47:57 ---> Running in a4f8e690594e 20:47:57 noop 20:47:57 Removing intermediate container a4f8e690594e 20:47:57 ---> dff3295ff758 20:47:57 Successfully built dff3295ff758 20:47:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:57 + docker inspect -f . ci-base-image-arm64 20:47:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:57 prd-ubuntu20.04-docker-arm64-4c-16g-24359 does not seem to be running inside a container 20:47:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:47:59 $ docker top f9cfed6823722d890c99e8a823b74884a2dbcb139374c81335ce7c682c42b258 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:00 + go version 20:48:00 go version go1.23.2 linux/arm64 [Pipeline] } 20:48:00 $ docker stop --time=1 f9cfed6823722d890c99e8a823b74884a2dbcb139374c81335ce7c682c42b258 20:48:02 $ docker rm -f --volumes f9cfed6823722d890c99e8a823b74884a2dbcb139374c81335ce7c682c42b258 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:03 + docker inspect -f . ci-base-image-arm64 20:48:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:04 prd-ubuntu20.04-docker-arm64-4c-16g-24359 does not seem to be running inside a container 20:48:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:48:05 $ docker top 3484766d23d308b9f8d0680a9820b09fd5092064dc9c093989a9ce83caf6b53f -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:05 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:48:06 + make test 20:48:06 go test ./... -coverprofile=coverage.out ./... 20:48:12 ? github.com/edgexfoundry/device-rest-go [no test files] 20:51:19 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:51:19 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 33.2% of statements 20:51:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:51:20 go vet ./... 20:52:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:52:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:52:06 ./bin/test-attribution-txt.sh [Pipeline] echo 20:52:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:52:07 $ docker stop --time=1 3484766d23d308b9f8d0680a9820b09fd5092064dc9c093989a9ce83caf6b53f 20:52:09 $ docker rm -f --volumes 3484766d23d308b9f8d0680a9820b09fd5092064dc9c093989a9ce83caf6b53f [Pipeline] // withDockerContainer [Pipeline] sh 20:52:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:52:10 Warning: overwriting stash ‘coverage-report’ 20:52:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:52:12 + ls -al . 20:52:12 total 240 20:52:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:48 . 20:52:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:44 .. 20:52:12 -rw-rw-r-- 1 jenkins jenkins 151 Nov 1 20:45 .dockerignore 20:52:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:45 .git 20:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:45 .github 20:52:12 -rw-rw-r-- 1 jenkins jenkins 264 Nov 1 20:45 .gitignore 20:52:12 -rw-rw-r-- 1 jenkins jenkins 41 Nov 1 20:45 .golangci.yml 20:52:12 -rw-rw-r-- 1 jenkins jenkins 20138 Nov 1 20:45 Attribution.txt 20:52:12 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 1 20:45 CHANGELOG.md 20:52:12 -rw-rw-r-- 1 jenkins jenkins 1697 Nov 1 20:45 Dockerfile 20:52:12 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:45 GOVERNANCE.md 20:52:12 -rw-rw-r-- 1 jenkins jenkins 680 Nov 1 20:45 Jenkinsfile 20:52:12 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 20:45 LICENSE 20:52:12 -rw-rw-r-- 1 jenkins jenkins 2553 Nov 1 20:45 Makefile 20:52:12 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 20:45 OWNERS.md 20:52:12 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 1 20:45 README.md 20:52:12 -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 20:43 VERSION 20:52:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:45 bin 20:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:45 cmd 20:52:12 -rw-r--r-- 1 jenkins jenkins 14565 Nov 1 20:51 coverage.out 20:52:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:45 driver 20:52:12 -rw-rw-r-- 1 jenkins jenkins 6439 Nov 1 20:45 go.mod 20:52:12 -rw-rw-r-- 1 jenkins jenkins 88084 Nov 1 20:45 go.sum 20:52:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:45 openapi 20:52:12 -rw-rw-r-- 1 jenkins jenkins 713 Nov 1 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:12 + 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=75b5407f82ae978852c7aa1e7ca30deba2e02a81 --label arch=arm64 --label version=0.0.0 . 20:52:12 Sending build context to Docker daemon 155.6kB 20:52:13 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:52:13 Step 2/26 : FROM ${BASE} AS builder 20:52:13 ---> dff3295ff758 20:52:13 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:52:13 ---> Running in 7a3186922cad 20:52:13 Removing intermediate container 7a3186922cad 20:52:13 ---> b1b1d9c2ff24 20:52:13 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:52:13 ---> Running in 65edafc9cca0 20:52:14 Removing intermediate container 65edafc9cca0 20:52:14 ---> 06e37d83a035 20:52:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:52:14 ---> Running in 61fce3076200 20:52:14 Removing intermediate container 61fce3076200 20:52:14 ---> 0cbaa6b1faba 20:52:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:52:14 ---> Running in 19bb6cce386b 20:52:14 Removing intermediate container 19bb6cce386b 20:52:14 ---> 56aa3cb581ac 20:52:14 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:52:14 ---> Running in 53fe65ed98e0 20:52:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:52:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:52:17 OK: 242 MiB in 58 packages 20:52:18 Removing intermediate container 53fe65ed98e0 20:52:18 ---> 8895799f18ac 20:52:18 Step 8/26 : WORKDIR /device-rest-go 20:52:18 ---> Running in 8983e2be334e 20:52:18 Removing intermediate container 8983e2be334e 20:52:18 ---> 02f5dec3068b 20:52:18 Step 9/26 : COPY go.mod vendor* ./ 20:52:18 ---> 18319d9e1a7b 20:52:18 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:18 ---> Running in 51fec864fcde 20:52:20 Removing intermediate container 51fec864fcde 20:52:20 ---> 7426edac5777 20:52:20 Step 11/26 : COPY . . 20:52:21 ---> 9714f2af3a2a 20:52:21 Step 12/26 : RUN $MAKE 20:52:21 ---> Running in 81387c130119 20:52:22 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.3" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd 20:55:46 Removing intermediate container 81387c130119 20:55:46 ---> 89950d3e33a0 20:55:46 Step 13/26 : FROM alpine:3.20 20:55:46 3.20: Pulling from library/alpine 20:55:46 cf04c63912e1: Already exists 20:55:46 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 20:55:46 Status: Downloaded newer image for alpine:3.20 20:55:46 ---> c157a85ed455 20:55:46 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:55:46 ---> Running in d19c467bd759 20:55:46 Removing intermediate container d19c467bd759 20:55:46 ---> ee86daeb13cd 20:55:46 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:55:46 ---> Running in 9222e009beea 20:55:46 Removing intermediate container 9222e009beea 20:55:46 ---> 639f478c84ad 20:55:46 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:55:46 ---> Running in d7b70a353ac2 20:55:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:55:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:55:46 (1/1) Installing dumb-init (1.2.5-r3) 20:55:46 Executing busybox-1.36.1-r29.trigger 20:55:46 OK: 9 MiB in 15 packages 20:55:46 Removing intermediate container d7b70a353ac2 20:55:46 ---> 08aea2394108 20:55:46 Step 17/26 : RUN apk --no-cache upgrade 20:55:46 ---> Running in f59254293721 20:55:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:55:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:55:46 Upgrading critical system libraries and apk-tools: 20:55:46 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 20:55:46 Executing busybox-1.36.1-r29.trigger 20:55:46 Continuing the upgrade transaction with new apk-tools: 20:55:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 20:55:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 20:55:46 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 20:55:46 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 20:55:46 OK: 9 MiB in 15 packages 20:55:46 Removing intermediate container f59254293721 20:55:46 ---> 35bc0a81e3dd 20:55:46 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:55:46 ---> 8d7f2860dd7a 20:55:46 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:55:46 ---> e680956f723e 20:55:46 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:55:46 ---> 531b0af92ae9 20:55:46 Step 21/26 : EXPOSE 59986 20:55:46 ---> Running in 275c3969e2be 20:55:47 Removing intermediate container 275c3969e2be 20:55:47 ---> 5c2e5b21c078 20:55:47 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:55:47 ---> Running in 2885160cca9c 20:55:47 Removing intermediate container 2885160cca9c 20:55:47 ---> 89b0c9b5598a 20:55:47 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 20:55:47 ---> Running in f5b2e32e3173 20:55:47 Removing intermediate container f5b2e32e3173 20:55:47 ---> 48037c9a30e8 20:55:47 Step 24/26 : LABEL arch=arm64 20:55:47 ---> Running in 21869bebb27b 20:55:48 Removing intermediate container 21869bebb27b 20:55:48 ---> 228bb2a874a0 20:55:48 Step 25/26 : LABEL git_sha=75b5407f82ae978852c7aa1e7ca30deba2e02a81 20:55:48 ---> Running in e3d28d95ee53 20:55:48 Removing intermediate container e3d28d95ee53 20:55:48 ---> cd8ced7b438b 20:55:48 Step 26/26 : LABEL version=0.0.0 20:55:48 ---> Running in c1035cb303bc 20:55:48 Removing intermediate container c1035cb303bc 20:55:48 ---> f90d3a8d563f 20:55:48 [Warning] One or more build-args [ARCH] were not consumed 20:55:48 Successfully built f90d3a8d563f 20:55:48 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:50 20:55:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:55:51 arm64: Pulling from edgex-lftools-log-publisher 20:55:51 8998bd30e6a1: Pulling fs layer 20:55:51 04944245beec: Pulling fs layer 20:55:51 699f458cf7ca: Pulling fs layer 20:55:51 765212b225bb: Pulling fs layer 20:55:51 f23df028b6ca: Pulling fs layer 20:55:51 d65c8cfc05b1: Pulling fs layer 20:55:51 2437ff75d9bd: Pulling fs layer 20:55:51 765212b225bb: Waiting 20:55:51 f23df028b6ca: Waiting 20:55:51 d65c8cfc05b1: Waiting 20:55:51 2437ff75d9bd: Waiting 20:55:51 04944245beec: Verifying Checksum 20:55:51 04944245beec: Download complete 20:55:51 765212b225bb: Download complete 20:55:51 f23df028b6ca: Download complete 20:55:51 d65c8cfc05b1: Verifying Checksum 20:55:51 d65c8cfc05b1: Download complete 20:55:51 699f458cf7ca: Verifying Checksum 20:55:51 699f458cf7ca: Download complete 20:55:52 8998bd30e6a1: Verifying Checksum 20:55:52 8998bd30e6a1: Download complete 20:55:54 2437ff75d9bd: Verifying Checksum 20:55:54 2437ff75d9bd: Download complete 20:55:56 8998bd30e6a1: Pull complete 20:55:57 04944245beec: Pull complete 20:55:59 699f458cf7ca: Pull complete 20:55:59 765212b225bb: Pull complete 20:55:59 f23df028b6ca: Pull complete 20:56:00 d65c8cfc05b1: Pull complete 20:56:18 2437ff75d9bd: Pull complete 20:56:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:56:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:56:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:18 prd-ubuntu20.04-docker-arm64-4c-16g-24359 does not seem to be running inside a container 20:56:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:56:21 $ docker top 45d3256f184012243f544b1a851a87d229d61339bbca3df53ba9411c7854050d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:56:22 ---> job-cost.sh 20:56:22 lf-activate-venv: SKIPPING 20:56:22 INFO: No Stack... 20:56:22 INFO: Retrieving Pricing Info for: v3-standard-4 20:56:23 INFO: Archiving Costs [Pipeline] sh 20:56:23 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:56:23 + cut -d, -f6 [Pipeline] lock 20:56:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] 20:56:24 Resource [jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] did not exist. Created. 20:56:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:56:24 /w/workspace/device-rest-go/1@tmp/durable-5cb01829/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:56:25 + echo total: 0.10999999940395355 [Pipeline] stash 20:56:25 Warning: overwriting stash ‘stack-cost’ 20:56:25 Stashed 1 file(s) [Pipeline] } 20:56:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-424-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:56:25 $ docker stop --time=1 45d3256f184012243f544b1a851a87d229d61339bbca3df53ba9411c7854050d 20:56:26 $ docker rm -f --volumes 45d3256f184012243f544b1a851a87d229d61339bbca3df53ba9411c7854050d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:56:28 provisioning config files... 20:56:28 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config4410167049319824977tmp [Pipeline] { [Pipeline] sh 20:56:28 + set +x 20:56:28 + curl -s https://codecov.io/bash 20:56:28 + bash -s -- 20:56:28 20:56:28 _____ _ 20:56:28 / ____| | | 20:56:28 | | ___ __| | ___ ___ _____ __ 20:56:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:56:28 | |___| (_) | (_| | __/ (_| (_) \ V / 20:56:28 \_____\___/ \__,_|\___|\___\___/ \_/ 20:56:28 Bash-1.0.6 20:56:28 20:56:28 20:56:28 ==> git version 2.25.1 found 20:56:28 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:56:28 Release-Date: 2020-01-08 20:56:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:56:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:56:28 ==> Jenkins CI detected. 20:56:28 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-424 20:56:28 project root: . 20:56:28 --> token set from env 20:56:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:56:28 ==> Running gcov in . (disable via -X gcov) 20:56:28 ==> Python coveragepy not found 20:56:28 ==> Searching for coverage reports in: 20:56:28 + . 20:56:28 -> Found 1 reports 20:56:28 ==> Detecting git/mercurial file structure 20:56:28 ==> Reading reports 20:56:28 + ./coverage.out bytes=14565 20:56:28 ==> Appending adjustments 20:56:28 https://docs.codecov.io/docs/fixing-reports 20:56:28 + Found adjustments 20:56:28 ==> Gzipping contents 20:56:28 4.0K /tmp/codecov.MZOu8r.gz 20:56:28 ==> Uploading reports 20:56:28 url: https://codecov.io 20:56:28 query: branch=PR-424&commit=75b5407f82ae978852c7aa1e7ca30deba2e02a81&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-424%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=424&job=&cmd_args= 20:56:28 -> Pinging Codecov 20:56:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-424&commit=75b5407f82ae978852c7aa1e7ca30deba2e02a81&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-424%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=424&job=&cmd_args= 20:56:28 -> Uploading to 20:56:28 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/75b5407f82ae978852c7aa1e7ca30deba2e02a81/dc5d6946-4df6-4da3-a855-bec33ee72d4e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241101%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241101T205628Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=30e3a576bdbb8bab12cc8a11fdd70abd7b75f597ba4869921436e88471bf375c 20:56:28 % Total % Received % Xferd Average Speed Time Time Time Current 20:56:28 Dload Upload Total Spent Left Speed 20:56:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 9736 --:--:-- --:--:-- --:--:-- 9736 20:56:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/75b5407f82ae978852c7aa1e7ca30deba2e02a81 [Pipeline] } 20:56:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:56:31 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-424/archives ] 20:56:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-424/archives 20:56:31 total 16 20:56:31 drwxr-xr-x 3 root root 4096 Nov 1 20:45 . 20:56:31 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 20:45 .. 20:56:31 drwxr-xr-x 2 root root 4096 Nov 1 20:45 cost 20:56:31 -rw-r--r-- 1 root root 86 Nov 1 20:45 cost.csv 20:56:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-424/archives 20:56:31 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-424/archives 20:56:31 total 16 20:56:31 drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 20:45 . 20:56:31 drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 20:45 .. 20:56:31 drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 20:45 cost 20:56:31 -rw-r--r-- 1 jenkins jenkins 86 Nov 1 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:56:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:56:32 ---> package-listing.sh 20:56:32 ++ facter osfamily 20:56:32 ++ tr '[:upper:]' '[:lower:]' 20:56:32 + OS_FAMILY=debian 20:56:32 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-424 20:56:32 + START_PACKAGES=/tmp/packages_start.txt 20:56:32 + END_PACKAGES=/tmp/packages_end.txt 20:56:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:56:32 + PACKAGES=/tmp/packages_start.txt 20:56:32 + '[' /w/workspace/gexfoundry_device-rest-go_PR-424 ']' 20:56:32 + PACKAGES=/tmp/packages_end.txt 20:56:32 + case "${OS_FAMILY}" in 20:56:32 + dpkg -l 20:56:32 + grep '^ii' 20:56:32 + '[' -f /tmp/packages_start.txt ']' 20:56:32 + '[' -f /tmp/packages_end.txt ']' 20:56:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:56:32 + '[' /w/workspace/gexfoundry_device-rest-go_PR-424 ']' 20:56:32 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-424/archives/ 20:56:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-424/archives/ [Pipeline] echo 20:56:32 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-424/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:56:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:56:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:56:34 prd-ubuntu20.04-docker-8c-8g-24358 does not seem to be running inside a container 20:56:34 $ 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-424/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-424 -v /w/workspace/gexfoundry_device-rest-go_PR-424:/w/workspace/gexfoundry_device-rest-go_PR-424:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-424@tmp:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:56:34 $ docker top dab63ea6c3fb2859a2d53b10d1a137c667639904c5d0109e503d7a468477d4b8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:56:34 + touch /tmp/pre-build-complete [Pipeline] sh 20:56:35 + mkdir -p /var/log/sysstat [Pipeline] sh 20:56:35 + ls /var/log/sa-host 20:56:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:56:35 provisioning config files... 20:56:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-424@tmp/config6040131580897177590tmp [Pipeline] { [Pipeline] echo 20:56:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:56:36 ---> create-netrc.sh [Pipeline] } 20:56:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:56:36 ---> python-tools-install.sh [Pipeline] echo 20:56:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:56:37 ---> sudo-logs.sh 20:56:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:56:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:56:37 ---> job-cost.sh 20:56:37 lf-activate-venv: SKIPPING 20:56:37 DEBUG: total: 0.2199999988079071 20:56:37 INFO: Retrieving Stack Cost... 20:56:37 INFO: Retrieving Pricing Info for: v3-standard-8 20:56:38 INFO: Archiving Costs [Pipeline] echo 20:56:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:56:38 ---> logs-deploy.sh 20:56:38 lf-activate-venv: SKIPPING 20:56:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-424/1 20:56:38 INFO: archiving workspace using pattern(s): 20:56:39 Archives upload complete. 20:56:39 INFO: archiving logs to Nexus