Pull request #369 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Obtained Jenkinsfile from 3bce0aca3c4560f98de1f371ba00fbc417993eaf+990d379436bad360529865c6b1e601239e616fa1 (f0ef18a21b84b99b45749b87a772566e0b84a340) 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-ssh11955602615427879052.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh5502951090397869393.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-369/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-369/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5168983936838175959.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-369/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5703304334367287734.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh13953236278453303255.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-369/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-369/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9211912573147436844.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2325 in /w/workspace/gexfoundry_device-rest-go_PR-369 [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-369 # 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 Merging remotes/origin/main commit 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 3bce0aca3c4560f98de1f371ba00fbc417993eaf Merge succeeded, producing 3bce0aca3c4560f98de1f371ba00fbc417993eaf Checking out Revision 3bce0aca3c4560f98de1f371ba00fbc417993eaf (PR-369) > 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/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bce0aca3c4560f98de1f371ba00fbc417993eaf # 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 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3bce0aca3c4560f98de1f371ba00fbc417993eaf # timeout=10 Commit message: "build: Update to latest 3.2.0 dev go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:07:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:07:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:07:40 ========================================================= 19:07:40 EdgeX Global Pipelines Version Info 19:07:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:07:41 ------------------- 19:07:41 stable info: 19:07:41 ------------------- 19:07:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:07:41 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 19:07:41 Message: update stable to v1.0.258 19:07:42 ------------------- 19:07:42 experimental info: 19:07:42 ------------------- 19:07:42 Commited By: **** collab-it+edgex@linuxfoundation.org 19:07:42 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 19:07:42 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 19:07:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:07:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:07:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-369 [Pipeline] echo 19:07:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-369 [Pipeline] echo 19:07:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-369 [Pipeline] echo 19:07:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] echo 19:07:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bce0ac [Pipeline] echo 19:07:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:44 provisioning config files... 19:07:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/config11388504758287682440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:44 ---> ****-login.sh 19:07:44 nexus3.edgexfoundry.org:10001 19:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:45 Configure a credential helper to remove this warning. See 19:07:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:45 19:07:45 Login Succeeded 19:07:45 nexus3.edgexfoundry.org:10002 19:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:45 Configure a credential helper to remove this warning. See 19:07:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:45 19:07:45 Login Succeeded 19:07:45 nexus3.edgexfoundry.org:10003 19:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:45 Configure a credential helper to remove this warning. See 19:07:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:45 19:07:45 Login Succeeded 19:07:45 nexus3.edgexfoundry.org:10004 19:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:45 Configure a credential helper to remove this warning. See 19:07:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:45 19:07:45 Login Succeeded 19:07:45 ****.io 19:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:07:45 Configure a credential helper to remove this warning. See 19:07:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:07:45 19:07:45 Login Succeeded 19:07:45 ---> ****-login.sh ends [Pipeline] } 19:07:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:07:46 + git rev-list -1 --merges 3bce0aca3c4560f98de1f371ba00fbc417993eaf~1..3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] echo 19:07:46 -----------> git rev-list -1 --merges 3bce0aca3c4560f98de1f371ba00fbc417993eaf~1..3bce0aca3c4560f98de1f371ba00fbc417993eaf 3bce0aca3c4560f98de1f371ba00fbc417993eaf [false] [Pipeline] sh 19:07:46 + git log --format=format:%s -1 3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] echo 19:07:46 ========================================================= 19:07:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:07:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:07:47 + git log --format=format:%s -1 3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] echo 19:07:47 [semverPrep] GIT_COMMIT: 3bce0aca3c4560f98de1f371ba00fbc417993eaf, Commit Message: build: Update to latest 3.2.0 dev go-mods [Pipeline] echo 19:07:47 [semverPrep] This is not a build commit. [Pipeline] sh 19:07:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:48 + grep -v github /etc/ssh/ssh_known_hosts 19:07:48 + [ -e /tmp/ssh_known_hosts ] 19:07:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:07:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:07:48 + sudo tee -a /etc/ssh/ssh_known_hosts 19:07:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:48 19:07:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:48 0.1.4: Pulling from edgex-devops/py-git-semver 19:07:48 b85a868b505f: Pulling fs layer 19:07:48 e2be974225ed: Pulling fs layer 19:07:48 339a4e72a1f5: Pulling fs layer 19:07:48 988bab9f4d93: Pulling fs layer 19:07:48 1469e6f7b9e6: Pulling fs layer 19:07:48 eaf3925da568: Pulling fs layer 19:07:48 bab4dde63d76: Pulling fs layer 19:07:48 bde34c3a00c8: Pulling fs layer 19:07:48 b352a97aabf1: Pulling fs layer 19:07:48 4872d77fe225: Pulling fs layer 19:07:48 5851b861e8e6: Pulling fs layer 19:07:48 988bab9f4d93: Waiting 19:07:48 1469e6f7b9e6: Waiting 19:07:48 eaf3925da568: Waiting 19:07:48 bab4dde63d76: Waiting 19:07:48 4872d77fe225: Waiting 19:07:48 bde34c3a00c8: Waiting 19:07:48 b352a97aabf1: Waiting 19:07:48 5851b861e8e6: Waiting 19:07:48 e2be974225ed: Verifying Checksum 19:07:48 e2be974225ed: Download complete 19:07:48 988bab9f4d93: Verifying Checksum 19:07:48 988bab9f4d93: Download complete 19:07:48 1469e6f7b9e6: Verifying Checksum 19:07:48 1469e6f7b9e6: Download complete 19:07:49 eaf3925da568: Verifying Checksum 19:07:49 eaf3925da568: Download complete 19:07:49 339a4e72a1f5: Verifying Checksum 19:07:49 339a4e72a1f5: Download complete 19:07:49 bde34c3a00c8: Download complete 19:07:49 b352a97aabf1: Verifying Checksum 19:07:49 b352a97aabf1: Download complete 19:07:49 4872d77fe225: Download complete 19:07:49 5851b861e8e6: Verifying Checksum 19:07:49 5851b861e8e6: Download complete 19:07:49 b85a868b505f: Verifying Checksum 19:07:49 b85a868b505f: Download complete 19:07:49 bab4dde63d76: Verifying Checksum 19:07:49 bab4dde63d76: Download complete 19:07:50 b85a868b505f: Pull complete 19:07:50 e2be974225ed: Pull complete 19:07:50 339a4e72a1f5: Pull complete 19:07:51 988bab9f4d93: Pull complete 19:07:51 1469e6f7b9e6: Pull complete 19:07:51 eaf3925da568: Pull complete 19:07:53 bab4dde63d76: Pull complete 19:07:53 bde34c3a00c8: Pull complete 19:07:53 b352a97aabf1: Pull complete 19:07:53 4872d77fe225: Pull complete 19:07:53 5851b861e8e6: Pull complete 19:07:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:07:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:54 prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container 19:07:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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-devops/py-git-semver:0.1.4 cat 19:07:56 $ docker top d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d -eo pid,comm 19:07:57 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). 19:07:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:57 [ssh-agent] Looking for ssh-agent implementation... 19:07:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:56 $ docker exec d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d ssh-agent 19:07:58 SSH_AUTH_SOCK=/tmp/ssh-AanQZ2Vxs3RV/agent.32 19:07:58 SSH_AGENT_PID=38 19:07:58 Running ssh-add (command line suppressed) 19:07:57 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-369@tmp/private_key_9316571953423571182.key (/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/private_key_9316571953423571182.key) 19:07:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:58 + git tag --points-at HEAD [Pipeline] } 19:07:57 $ docker exec --env ******** --env ******** d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d ssh-agent -k 19:07:57 unset SSH_AUTH_SOCK; 19:07:57 unset SSH_AGENT_PID; 19:07:57 echo Agent pid 38 killed; 19:07:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:07:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:58 [ssh-agent] Looking for ssh-agent implementation... 19:07:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:57 $ docker exec d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d ssh-agent 19:07:59 SSH_AUTH_SOCK=/tmp/ssh-dH3c6wLZVPKQ/agent.71 19:07:59 SSH_AGENT_PID=77 19:07:59 Running ssh-add (command line suppressed) 19:07:58 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-369@tmp/private_key_9808708386180036453.key (/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/private_key_9808708386180036453.key) 19:07:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:59 + git semver init 19:07:59 2023-11-28 19:07:58,666 [run_init] DEBUG init version:0.0.0 force:False 19:07:59 2023-11-28 19:07:58,667 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-369/.semver 19:07:59 2023-11-28 19:07:58,668 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-369/.semver 19:07:59 2023-11-28 19:07:58,668 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-369/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-369, universal_newlines=False, shell=None, istream=None) 19:08:02 2023-11-28 19:08:00,817 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-369/.git/info/exclude 19:08:02 2023-11-28 19:08:00,818 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-369/.semver/PR-369 with force:False 19:08:02 2023-11-28 19:08:00,818 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-369/.semver/PR-369 19:08:02 2023-11-28 19:08:00,822 [execute] INFO git cat-file --batch-check 19:08:02 2023-11-28 19:08:00,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-369/.semver, universal_newlines=False, shell=None, istream=) 19:08:02 2023-11-28 19:08:00,829 [execute] INFO git cat-file --batch 19:08:02 2023-11-28 19:08:00,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-369/.semver, universal_newlines=False, shell=None, istream=) 19:08:02 2023-11-28 19:08:00,834 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-369/.semver/PR-369 19:08:02 0.0.0 [Pipeline] } 19:08:01 $ docker exec --env ******** --env ******** d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d ssh-agent -k 19:08:01 unset SSH_AUTH_SOCK; 19:08:01 unset SSH_AGENT_PID; 19:08:01 echo Agent pid 77 killed; 19:08:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:08:03 + git semver [Pipeline] } 19:08:03 $ docker stop --time=1 d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d 19:08:04 $ docker rm -f --volumes d5501d977b16af89d6109e3526c0e3281bd39a8028feab06c4ac8245acb1427d [Pipeline] // withDockerContainer [Pipeline] sh 19:08:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:08:05 Stashed 1 file(s) [Pipeline] echo 19:08:05 [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 19:08:06 provisioning config files... 19:08:06 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/config360838384604237127tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:08:06 ---> ****-login.sh 19:08:06 nexus3.edgexfoundry.org:10001 19:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:06 Configure a credential helper to remove this warning. See 19:08:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:06 19:08:06 Login Succeeded 19:08:06 nexus3.edgexfoundry.org:10002 19:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:06 Configure a credential helper to remove this warning. See 19:08:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:06 19:08:06 Login Succeeded 19:08:06 nexus3.edgexfoundry.org:10003 19:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:07 Configure a credential helper to remove this warning. See 19:08:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:07 19:08:07 Login Succeeded 19:08:07 nexus3.edgexfoundry.org:10004 19:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:07 Configure a credential helper to remove this warning. See 19:08:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:07 19:08:07 Login Succeeded 19:08:07 ****.io 19:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:08:07 Configure a credential helper to remove this warning. See 19:08:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:08:07 19:08:07 Login Succeeded 19:08:07 ---> ****-login.sh ends [Pipeline] } 19:08:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:08:07 ========================================================= 19:08:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:08:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:08 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:08:08 Sending build context to Docker daemon 16.35MB 19:08:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:08:08 Step 2/12 : FROM ${BASE} AS builder 19:08:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:08:08 7264a8db6415: Pulling fs layer 19:08:08 c4d48a809fc2: Pulling fs layer 19:08:08 4f1c88b9dad5: Pulling fs layer 19:08:08 ad3a456e5733: Pulling fs layer 19:08:08 69c7f0334f64: Pulling fs layer 19:08:08 1f1c1a5573a3: Pulling fs layer 19:08:08 ce7588e14bc9: Pulling fs layer 19:08:08 b5e4710f87ac: Pulling fs layer 19:08:08 ad3a456e5733: Waiting 19:08:08 69c7f0334f64: Waiting 19:08:08 1f1c1a5573a3: Waiting 19:08:08 ce7588e14bc9: Waiting 19:08:08 b5e4710f87ac: Waiting 19:08:08 c4d48a809fc2: Download complete 19:08:08 ad3a456e5733: Verifying Checksum 19:08:08 ad3a456e5733: Download complete 19:08:08 69c7f0334f64: Verifying Checksum 19:08:08 69c7f0334f64: Download complete 19:08:08 7264a8db6415: Verifying Checksum 19:08:08 7264a8db6415: Download complete 19:08:08 1f1c1a5573a3: Verifying Checksum 19:08:08 1f1c1a5573a3: Download complete 19:08:08 7264a8db6415: Pull complete 19:08:08 c4d48a809fc2: Pull complete 19:08:08 b5e4710f87ac: Verifying Checksum 19:08:08 b5e4710f87ac: Download complete 19:08:08 4f1c88b9dad5: Verifying Checksum 19:08:08 4f1c88b9dad5: Download complete 19:08:09 ce7588e14bc9: Verifying Checksum 19:08:09 ce7588e14bc9: Download complete 19:08:12 4f1c88b9dad5: Pull complete 19:08:12 ad3a456e5733: Pull complete 19:08:12 69c7f0334f64: Pull complete 19:08:12 1f1c1a5573a3: Pull complete 19:08:14 ce7588e14bc9: Pull complete 19:08:15 b5e4710f87ac: Pull complete 19:08:15 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 19:08:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:08:15 ---> 88b5674ff536 19:08:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:08:21 Still waiting to schedule task 19:08:21 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:08:21 ---> Running in cdb64b04ed96 19:08:21 Removing intermediate container cdb64b04ed96 19:08:21 ---> 0b02b325a3e9 19:08:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:08:21 ---> Running in 42610943011e 19:08:21 Removing intermediate container 42610943011e 19:08:21 ---> efa31b4d5b6a 19:08:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:08:21 ---> Running in b6f14f05b2ad 19:08:21 Removing intermediate container b6f14f05b2ad 19:08:21 ---> 99990e60fbc9 19:08:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:08:21 ---> Running in 0b8e05bf599d 19:08:21 Removing intermediate container 0b8e05bf599d 19:08:21 ---> f844a8860150 19:08:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:08:21 ---> Running in 803ca39f3af5 19:08:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:08:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:08:22 (1/4) Installing openssh-keygen (9.3_p2-r0) 19:08:22 (2/4) Installing libedit (20221030.3.1-r1) 19:08:22 (3/4) Installing openssh-client-common (9.3_p2-r0) 19:08:22 (4/4) Installing openssh-client-default (9.3_p2-r0) 19:08:22 Executing busybox-1.36.1-r5.trigger 19:08:22 OK: 268 MiB in 56 packages 19:08:22 Removing intermediate container 803ca39f3af5 19:08:22 ---> 10d6ef9b4dc8 19:08:22 Step 8/12 : WORKDIR /device-rest-go 19:08:22 ---> Running in 9a028c2c1acc 19:08:22 Removing intermediate container 9a028c2c1acc 19:08:22 ---> f9647abed6a9 19:08:22 Step 9/12 : COPY go.mod vendor* ./ 19:08:22 ---> 053ae5a27f92 19:08:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:08:22 ---> Running in b35348c6a576 19:09:01 Removing intermediate container b35348c6a576 19:09:01 ---> 49f4b692d050 19:09:01 Step 11/12 : COPY . . 19:09:01 ---> 6e66e1dead35 19:09:01 Step 12/12 : RUN $MAKE 19:09:01 ---> Running in 2842c1ce313e 19:09:01 noop 19:09:01 Removing intermediate container 2842c1ce313e 19:09:01 ---> 8a77d3acf3ea 19:09:01 Successfully built 8a77d3acf3ea 19:09:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:02 + docker inspect -f . ci-base-image-x86_64 19:09:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:02 prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container 19:09:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:09:02 $ docker top 5e8089129775b1db415ef1e0a64a128f5e000f8df2f14099b7408dc15ff5b8f8 -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:03 + go version 19:09:03 go version go1.21.0 linux/amd64 [Pipeline] } 19:09:03 $ docker stop --time=1 5e8089129775b1db415ef1e0a64a128f5e000f8df2f14099b7408dc15ff5b8f8 19:09:05 $ docker rm -f --volumes 5e8089129775b1db415ef1e0a64a128f5e000f8df2f14099b7408dc15ff5b8f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:06 + docker inspect -f . ci-base-image-x86_64 19:09:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:06 prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container 19:09:06 $ 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-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:09:06 $ docker top a8570edd03fb0dc8a7f6049e5fae8fe04431e1f68874645d30d6f5b28d81b77c -eo pid,comm [Pipeline] { [Pipeline] sh 19:09:07 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-369 [Pipeline] fileExists [Pipeline] sh 19:09:07 + make test 19:09:07 go test ./... -coverprofile=coverage.out ./... 19:09:09 ? github.com/edgexfoundry/device-rest-go [no test files] 19:09:19 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 19:09:19 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 19:09:26 go vet ./... 19:09:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:09:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:09:29 ./bin/test-attribution-txt.sh [Pipeline] echo 19:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:09:29 $ docker stop --time=1 a8570edd03fb0dc8a7f6049e5fae8fe04431e1f68874645d30d6f5b28d81b77c 19:09:32 $ docker rm -f --volumes a8570edd03fb0dc8a7f6049e5fae8fe04431e1f68874645d30d6f5b28d81b77c [Pipeline] // withDockerContainer [Pipeline] sh 19:09:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:09:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:09:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:09:34 + ls -al . 19:09:34 total 180 19:09:34 drwxrwxr-x 9 jenkins jenkins 4096 Nov 28 19:09 . 19:09:34 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:07 .. 19:09:34 -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 19:07 .dockerignore 19:09:34 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:09 .git 19:09:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 .github 19:09:34 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 19:07 .gitignore 19:09:34 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:07 .golangci.yml 19:09:34 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:08 .semver 19:09:34 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 19:07 Attribution.txt 19:09:34 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 19:07 CHANGELOG.md 19:09:34 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 19:07 Dockerfile 19:09:34 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:07 GOVERNANCE.md 19:09:34 -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 19:07 Jenkinsfile 19:09:34 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:07 LICENSE 19:09:34 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 19:07 Makefile 19:09:34 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 19:07 OWNERS.md 19:09:34 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 19:07 README.md 19:09:34 -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 19:08 VERSION 19:09:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:07 bin 19:09:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 cmd 19:09:34 -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 19:09 coverage.out 19:09:34 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:07 driver 19:09:34 -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 19:07 go.mod 19:09:34 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 19:07 go.sum 19:09:34 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 openapi 19:09:34 -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:34 + 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=3bce0aca3c4560f98de1f371ba00fbc417993eaf --label arch=amd64 --label version=0.0.0 . 19:09:34 Sending build context to Docker daemon 16.36MB 19:09:34 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:09:34 Step 2/26 : FROM ${BASE} AS builder 19:09:34 ---> 8a77d3acf3ea 19:09:34 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:09:35 ---> Running in 228641e1a5e6 19:09:35 Removing intermediate container 228641e1a5e6 19:09:35 ---> 2d2ac2a8b327 19:09:35 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:09:35 ---> Running in 23ee6bd168df 19:09:35 Removing intermediate container 23ee6bd168df 19:09:35 ---> 5d908847d272 19:09:35 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:09:35 ---> Running in a4a7eb89d0f9 19:09:35 Removing intermediate container a4a7eb89d0f9 19:09:35 ---> 3a1329530e6e 19:09:35 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:09:35 ---> Running in fe85a49e955f 19:09:35 Removing intermediate container fe85a49e955f 19:09:35 ---> c891e13ba09a 19:09:35 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:09:35 ---> Running in 40a1868f6282 19:09:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:09:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:09:38 OK: 268 MiB in 56 packages 19:09:38 Removing intermediate container 40a1868f6282 19:09:38 ---> 2c13d5338216 19:09:38 Step 8/26 : WORKDIR /device-rest-go 19:09:38 ---> Running in c7d9c8f76d92 19:09:38 Removing intermediate container c7d9c8f76d92 19:09:38 ---> f6bf0767c2db 19:09:38 Step 9/26 : COPY go.mod vendor* ./ 19:09:39 ---> 1bc10b69d1eb 19:09:39 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:39 ---> Running in 44cde1a18282 19:09:39 Removing intermediate container 44cde1a18282 19:09:39 ---> 347e6c4245d0 19:09:39 Step 11/26 : COPY . . 19:09:40 ---> bd2750f87ddc 19:09:40 Step 12/26 : RUN $MAKE 19:09:40 ---> Running in e60f90220df8 19:09:40 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 19:10:02 Removing intermediate container e60f90220df8 19:10:02 ---> cb8f0022c5b0 19:10:02 Step 13/26 : FROM alpine:3.18 19:10:02 3.18: Pulling from library/alpine 19:10:02 96526aa774ef: Pulling fs layer 19:10:02 96526aa774ef: Download complete 19:10:02 96526aa774ef: Pull complete 19:10:02 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:10:02 Status: Downloaded newer image for alpine:3.18 19:10:02 ---> 8ca4688f4f35 19:10:02 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:10:02 ---> Running in 8f514d546366 19:10:02 Removing intermediate container 8f514d546366 19:10:02 ---> 7446e68ed78c 19:10:02 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 19:10:02 ---> Running in 7bfe06a15037 19:10:02 Removing intermediate container 7bfe06a15037 19:10:02 ---> 0faa3e337485 19:10:02 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:10:02 ---> Running in aab7cec2c360 19:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:10:02 (1/1) Installing dumb-init (1.2.5-r2) 19:10:02 Executing busybox-1.36.1-r2.trigger 19:10:02 OK: 7 MiB in 16 packages 19:10:02 Removing intermediate container aab7cec2c360 19:10:02 ---> 20d171d42600 19:10:02 Step 17/26 : RUN apk --no-cache upgrade 19:10:02 ---> Running in f5a6c762bfc7 19:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:10:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:10:02 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 19:10:02 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 19:10:02 Executing busybox-1.36.1-r5.post-upgrade 19:10:02 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 19:10:02 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 19:10:02 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 19:10:02 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 19:10:02 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 19:10:02 Executing busybox-1.36.1-r5.trigger 19:10:02 OK: 7 MiB in 16 packages 19:10:02 Removing intermediate container f5a6c762bfc7 19:10:02 ---> a5e9f2b00c4f 19:10:02 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 19:10:03 ---> 50e36598ecf5 19:10:03 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 19:10:03 ---> ad8a3fd6885c 19:10:03 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 19:10:04 ---> 0f9837736c7c 19:10:04 Step 21/26 : EXPOSE 59986 19:10:04 ---> Running in 039f007ec7ea 19:10:04 Removing intermediate container 039f007ec7ea 19:10:04 ---> ad73e887eb7f 19:10:04 Step 22/26 : ENTRYPOINT ["/device-rest"] 19:10:04 ---> Running in 18a853cdb7bb 19:10:04 Removing intermediate container 18a853cdb7bb 19:10:04 ---> e3f786b37203 19:10:04 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:10:04 ---> Running in 39347aad14a5 19:10:04 Removing intermediate container 39347aad14a5 19:10:04 ---> 1e9ccc2f3dba 19:10:04 Step 24/26 : LABEL arch=amd64 19:10:04 ---> Running in 6df245ca03be 19:10:04 Removing intermediate container 6df245ca03be 19:10:04 ---> 49233c8aa076 19:10:04 Step 25/26 : LABEL git_sha=3bce0aca3c4560f98de1f371ba00fbc417993eaf 19:10:04 ---> Running in d729cef70cd4 19:10:04 Removing intermediate container d729cef70cd4 19:10:04 ---> e991cf36c4a5 19:10:04 Step 26/26 : LABEL version=0.0.0 19:10:04 ---> Running in 91cba68e8ff2 19:10:04 Removing intermediate container 91cba68e8ff2 19:10:04 ---> 4615d1f7e7d6 19:10:04 [Warning] One or more build-args [ARCH] were not consumed 19:10:04 Successfully built 4615d1f7e7d6 19:10:04 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:06 19:10:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:06 latest: Pulling from edgex-lftools-log-publisher 19:10:06 5eb5b503b376: Pulling fs layer 19:10:06 5c69ac0246d0: Pulling fs layer 19:10:06 ec43610c2a17: Pulling fs layer 19:10:06 3a2ae6a8a46f: Pulling fs layer 19:10:06 33b1e0a273af: Pulling fs layer 19:10:06 5d3b04190fa2: Pulling fs layer 19:10:06 2f39f015ded8: Pulling fs layer 19:10:06 3a2ae6a8a46f: Waiting 19:10:06 33b1e0a273af: Waiting 19:10:06 5d3b04190fa2: Waiting 19:10:06 2f39f015ded8: Waiting 19:10:06 5c69ac0246d0: Download complete 19:10:06 3a2ae6a8a46f: Verifying Checksum 19:10:06 3a2ae6a8a46f: Download complete 19:10:06 33b1e0a273af: Verifying Checksum 19:10:06 33b1e0a273af: Download complete 19:10:06 5d3b04190fa2: Verifying Checksum 19:10:06 5d3b04190fa2: Download complete 19:10:06 ec43610c2a17: Verifying Checksum 19:10:06 ec43610c2a17: Download complete 19:10:06 5eb5b503b376: Verifying Checksum 19:10:06 5eb5b503b376: Download complete 19:10:08 5eb5b503b376: Pull complete 19:10:08 5c69ac0246d0: Pull complete 19:10:08 ec43610c2a17: Pull complete 19:10:08 3a2ae6a8a46f: Pull complete 19:10:08 33b1e0a273af: Pull complete 19:10:08 5d3b04190fa2: Pull complete 19:10:13 2f39f015ded8: Pull complete 19:10:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:10:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:10:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:13 prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container 19:10:13 $ 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-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:10:17 $ docker top 9387e1ab6ef5f127765d220e6e024eb281b3ebd953cd9ca70921f0669dd8293b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:17 ---> job-cost.sh 19:10:17 lf-activate-venv: SKIPPING 19:10:17 INFO: No Stack... 19:10:18 INFO: Retrieving Pricing Info for: v3-standard-8 19:10:18 INFO: Archiving Costs [Pipeline] sh 19:10:19 + cat /w/workspace/gexfoundry_device-rest-go_PR-369/archives/cost.csv 19:10:19 + cut -d, -f6 [Pipeline] lock 19:10:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] 19:10:19 Resource [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] did not exist. Created. 19:10:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:10:19 + echo total: 0.2199999988079071 [Pipeline] stash 19:10:19 Stashed 1 file(s) [Pipeline] } 19:10:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:10:20 $ docker stop --time=1 9387e1ab6ef5f127765d220e6e024eb281b3ebd953cd9ca70921f0669dd8293b 19:10:21 $ docker rm -f --volumes 9387e1ab6ef5f127765d220e6e024eb281b3ebd953cd9ca70921f0669dd8293b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:57:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4701 in /w/workspace/gexfoundry_device-rest-go_PR-369 [Pipeline] { [Pipeline] ws 19:57:14 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 19:57:17 The recommended git tool is: git 19:57:24 using credential edgex-jenkins-ssh 19:57:24 Cloning the remote Git repository 19:57:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 19:57:24 > git init /w/workspace/device-rest-go/1 # timeout=10 19:57:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:57:24 > git --version # timeout=10 19:57:24 > git --version # 'git version 2.25.1' 19:57:24 using GIT_SSH to set credentials SSH Credentials for GitHub 19:57:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:57:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:57:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:57:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 19:57:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 19:57:28 using GIT_SSH to set credentials SSH Credentials for GitHub 19:57:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/369/head:refs/remotes/origin/PR-369 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:57:29 Merging remotes/origin/main commit 990d379436bad360529865c6b1e601239e616fa1 into PR head commit 3bce0aca3c4560f98de1f371ba00fbc417993eaf 19:57:29 Merge succeeded, producing 3bce0aca3c4560f98de1f371ba00fbc417993eaf 19:57:29 Checking out Revision 3bce0aca3c4560f98de1f371ba00fbc417993eaf (PR-369) 19:57:29 > git config core.sparsecheckout # timeout=10 19:57:29 > git checkout -f 3bce0aca3c4560f98de1f371ba00fbc417993eaf # timeout=10 19:57:29 > git remote # timeout=10 19:57:29 > git config --get remote.origin.url # timeout=10 19:57:29 using GIT_SSH to set credentials SSH Credentials for GitHub 19:57:29 > git merge 990d379436bad360529865c6b1e601239e616fa1 # timeout=10 19:57:29 > git rev-parse HEAD^{commit} # timeout=10 19:57:29 > git config core.sparsecheckout # timeout=10 19:57:29 > git checkout -f 3bce0aca3c4560f98de1f371ba00fbc417993eaf # timeout=10 19:57:33 Commit message: "build: Update to latest 3.2.0 dev go-mods" 19:57:33 > git --version # timeout=10 19:57:33 > git --version # 'git version 2.25.1' 19:57:33 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:57:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:57:35 % Total % Received % Xferd Average Speed Time Time Time Current 19:57:35 Dload Upload Total Spent Left Speed 19:57:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 174k 0 --:--:-- --:--:-- --:--:-- 176k [Pipeline] sh 19:57:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:57:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:57:35 + sudo tee /etc/docker/daemon.new 19:57:35 { 19:57:35 "registry-mirrors": [ 19:57:35 "https://nexus3.edgexfoundry.org:10001" 19:57:35 ], 19:57:35 "bip": "10.250.0.254/24", 19:57:35 "hosts": [ 19:57:35 "tcp://0.0.0.0:5555", 19:57:35 "unix:///var/run/docker.sock" 19:57:35 ], 19:57:35 "mtu": 1458, 19:57:35 "selinux-enabled": true, 19:57:35 "seccomp-profile": "/etc/docker/seccomp.json" 19:57:35 } [Pipeline] sh 19:57:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:57:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:57:54 provisioning config files... 19:57:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8014046349883994924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:57:55 ---> ****-login.sh 19:57:55 nexus3.edgexfoundry.org:10001 19:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:56 Configure a credential helper to remove this warning. See 19:57:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:56 19:57:56 Login Succeeded 19:57:56 nexus3.edgexfoundry.org:10002 19:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:56 Configure a credential helper to remove this warning. See 19:57:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:56 19:57:56 Login Succeeded 19:57:56 nexus3.edgexfoundry.org:10003 19:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:56 Configure a credential helper to remove this warning. See 19:57:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:56 19:57:56 Login Succeeded 19:57:56 nexus3.edgexfoundry.org:10004 19:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:57 Configure a credential helper to remove this warning. See 19:57:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:57 19:57:57 Login Succeeded 19:57:57 ****.io 19:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:57:57 Configure a credential helper to remove this warning. See 19:57:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:57:57 19:57:57 Login Succeeded 19:57:57 ---> ****-login.sh ends [Pipeline] } 19:57:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:57:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:57:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:57:58 ========================================================= 19:57:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:57:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:57:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 19:57:59 Sending build context to Docker daemon 127.5kB 19:57:59 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 19:57:59 Step 2/12 : FROM ${BASE} AS builder 19:58:00 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:58:00 9fda8d8052c6: Pulling fs layer 19:58:00 5d54e960e981: Pulling fs layer 19:58:00 c4a7e357bf2a: Pulling fs layer 19:58:00 f0e02332f6b5: Pulling fs layer 19:58:00 872ee5b61b7b: Pulling fs layer 19:58:00 0c6a40ed1a82: Pulling fs layer 19:58:00 94ae7d8d031c: Pulling fs layer 19:58:00 872ee5b61b7b: Waiting 19:58:00 94ae7d8d031c: Waiting 19:58:00 0c6a40ed1a82: Waiting 19:58:00 f0e02332f6b5: Waiting 19:58:00 5d54e960e981: Verifying Checksum 19:58:00 5d54e960e981: Download complete 19:58:00 f0e02332f6b5: Verifying Checksum 19:58:00 f0e02332f6b5: Download complete 19:58:00 872ee5b61b7b: Verifying Checksum 19:58:00 872ee5b61b7b: Download complete 19:58:00 9fda8d8052c6: Download complete 19:58:01 94ae7d8d031c: Verifying Checksum 19:58:01 94ae7d8d031c: Download complete 19:58:01 c4a7e357bf2a: Verifying Checksum 19:58:01 c4a7e357bf2a: Download complete 19:58:02 0c6a40ed1a82: Verifying Checksum 19:58:02 0c6a40ed1a82: Download complete 19:58:06 9fda8d8052c6: Pull complete 19:58:06 5d54e960e981: Pull complete 19:58:24 c4a7e357bf2a: Pull complete 19:58:24 f0e02332f6b5: Pull complete 19:58:24 872ee5b61b7b: Pull complete 19:58:29 0c6a40ed1a82: Pull complete 19:58:31 94ae7d8d031c: Pull complete 19:58:31 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 19:58:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:58:31 ---> 86de565de09d 19:58:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:58:33 ---> Running in 1ac7f2837ba0 19:58:33 Removing intermediate container 1ac7f2837ba0 19:58:33 ---> 40e5350630c0 19:58:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:58:33 ---> Running in ad78da04e89b 19:58:34 Removing intermediate container ad78da04e89b 19:58:34 ---> 3c49130ed52a 19:58:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 19:58:34 ---> Running in 1b2640c43999 19:58:34 Removing intermediate container 1b2640c43999 19:58:34 ---> a90087c522aa 19:58:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:58:34 ---> Running in 0b2416feef65 19:58:34 Removing intermediate container 0b2416feef65 19:58:34 ---> 3b3947a3278e 19:58:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:58:34 ---> Running in 9990417c7d05 19:58:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:58:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:58:37 (1/4) Installing openssh-keygen (9.3_p2-r0) 19:58:37 (2/4) Installing libedit (20221030.3.1-r1) 19:58:37 (3/4) Installing openssh-client-common (9.3_p2-r0) 19:58:37 (4/4) Installing openssh-client-default (9.3_p2-r0) 19:58:37 Executing busybox-1.36.1-r5.trigger 19:58:37 OK: 271 MiB in 56 packages 19:58:38 Removing intermediate container 9990417c7d05 19:58:38 ---> 426388332e03 19:58:38 Step 8/12 : WORKDIR /device-rest-go 19:58:38 ---> Running in 4471233c8293 19:58:39 Removing intermediate container 4471233c8293 19:58:39 ---> 5b4c69520e33 19:58:39 Step 9/12 : COPY go.mod vendor* ./ 19:58:39 ---> 7bf46dca5a5b 19:58:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:58:39 ---> Running in ed959f899bbb 20:00:01 Removing intermediate container ed959f899bbb 20:00:01 ---> e814ab6de489 20:00:01 Step 11/12 : COPY . . 20:00:01 ---> 09699ad8a489 20:00:01 Step 12/12 : RUN $MAKE 20:00:01 ---> Running in 8005f156c8f9 20:00:01 noop 20:00:01 Removing intermediate container 8005f156c8f9 20:00:01 ---> 63b396f86503 20:00:01 Successfully built 63b396f86503 20:00:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:02 + docker inspect -f . ci-base-image-arm64 20:00:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:02 prd-ubuntu20.04-docker-arm64-4c-16g-4701 does not seem to be running inside a container 20:00:02 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:00:05 $ docker top 721d1a0523ff93143c43e7beef04f09fd3ce35d6c98586375504094353571841 -eo pid,comm [Pipeline] { [Pipeline] sh 20:00:06 + go version 20:00:06 go version go1.21.0 linux/arm64 [Pipeline] } 20:00:06 $ docker stop --time=1 721d1a0523ff93143c43e7beef04f09fd3ce35d6c98586375504094353571841 20:00:07 $ docker rm -f --volumes 721d1a0523ff93143c43e7beef04f09fd3ce35d6c98586375504094353571841 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:00:09 + docker inspect -f . ci-base-image-arm64 20:00:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:00:09 prd-ubuntu20.04-docker-arm64-4c-16g-4701 does not seem to be running inside a container 20:00:09 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:00:10 $ docker top 50464df0081cec0599afc50421bdc858bd22e81fe40d28df15c30781850043b3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:00:11 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:00:12 + make test 20:00:12 go test ./... -coverprofile=coverage.out ./... 20:00:20 ? github.com/edgexfoundry/device-rest-go [no test files] 20:02:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:02:16 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 33.2% of statements 20:02:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:02:17 go vet ./... 20:02:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:02:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:02:56 ./bin/test-attribution-txt.sh [Pipeline] echo 20:02:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:02:56 $ docker stop --time=1 50464df0081cec0599afc50421bdc858bd22e81fe40d28df15c30781850043b3 20:03:01 $ docker rm -f --volumes 50464df0081cec0599afc50421bdc858bd22e81fe40d28df15c30781850043b3 [Pipeline] // withDockerContainer [Pipeline] sh 20:03:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:03:02 Warning: overwriting stash ‘coverage-report’ 20:03:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:03:04 + ls -al . 20:03:04 total 176 20:03:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 20:00 . 20:03:04 drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:57 .. 20:03:04 -rw-rw-r-- 1 jenkins jenkins 151 Nov 28 19:57 .dockerignore 20:03:04 drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:57 .git 20:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:57 .github 20:03:04 -rw-rw-r-- 1 jenkins jenkins 264 Nov 28 19:57 .gitignore 20:03:04 -rw-rw-r-- 1 jenkins jenkins 41 Nov 28 19:57 .golangci.yml 20:03:04 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 28 19:57 Attribution.txt 20:03:04 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 28 19:57 CHANGELOG.md 20:03:04 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 28 19:57 Dockerfile 20:03:04 -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:57 GOVERNANCE.md 20:03:04 -rw-rw-r-- 1 jenkins jenkins 680 Nov 28 19:57 Jenkinsfile 20:03:04 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 28 19:57 LICENSE 20:03:04 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 28 19:57 Makefile 20:03:04 -rw-rw-r-- 1 jenkins jenkins 620 Nov 28 19:57 OWNERS.md 20:03:04 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 28 19:57 README.md 20:03:04 -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 19:08 VERSION 20:03:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:57 bin 20:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:57 cmd 20:03:04 -rw-r--r-- 1 jenkins jenkins 14499 Nov 28 20:02 coverage.out 20:03:04 drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:57 driver 20:03:04 -rw-rw-r-- 1 jenkins jenkins 3886 Nov 28 19:57 go.mod 20:03:04 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 28 19:57 go.sum 20:03:04 drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:57 openapi 20:03:04 -rw-rw-r-- 1 jenkins jenkins 713 Nov 28 19:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:05 + 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=3bce0aca3c4560f98de1f371ba00fbc417993eaf --label arch=arm64 --label version=0.0.0 . 20:03:05 Sending build context to Docker daemon 142.8kB 20:03:05 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:03:05 Step 2/26 : FROM ${BASE} AS builder 20:03:05 ---> 63b396f86503 20:03:05 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:03:05 ---> Running in 60e3d4b84662 20:03:06 Removing intermediate container 60e3d4b84662 20:03:06 ---> 0d5a8609110d 20:03:06 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:03:06 ---> Running in 72047c583397 20:03:06 Removing intermediate container 72047c583397 20:03:06 ---> 4ecc444360f9 20:03:06 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:03:06 ---> Running in 889e23ae41b2 20:03:06 Removing intermediate container 889e23ae41b2 20:03:06 ---> 1cc58ebd7808 20:03:06 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:03:06 ---> Running in 9fe003b94029 20:03:07 Removing intermediate container 9fe003b94029 20:03:07 ---> ff355c01bf93 20:03:07 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:03:07 ---> Running in bd74598e0b5b 20:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:03:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:03:09 OK: 271 MiB in 56 packages 20:03:10 Removing intermediate container bd74598e0b5b 20:03:10 ---> 2992eb6bca19 20:03:10 Step 8/26 : WORKDIR /device-rest-go 20:03:10 ---> Running in 9ae9fa438b23 20:03:11 Removing intermediate container 9ae9fa438b23 20:03:11 ---> e9fd80b21172 20:03:11 Step 9/26 : COPY go.mod vendor* ./ 20:03:16 ---> 28ecb3023c8e 20:03:16 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:16 ---> Running in dcd5c7f6da7e 20:03:18 Removing intermediate container dcd5c7f6da7e 20:03:18 ---> 112e0cb04dc5 20:03:18 Step 11/26 : COPY . . 20:03:18 ---> 58f07c396e53 20:03:18 Step 12/26 : RUN $MAKE 20:03:18 ---> Running in bfb03e713194 20:03:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:05:26 Removing intermediate container bfb03e713194 20:05:26 ---> 2f034319abf4 20:05:26 Step 13/26 : FROM alpine:3.18 20:05:26 3.18: Pulling from library/alpine 20:05:26 579b34f0a95b: Pulling fs layer 20:05:26 579b34f0a95b: Download complete 20:05:26 579b34f0a95b: Pull complete 20:05:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 20:05:26 Status: Downloaded newer image for alpine:3.18 20:05:26 ---> 3cc203321400 20:05:26 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:05:26 ---> Running in e9fef5a23b70 20:05:26 Removing intermediate container e9fef5a23b70 20:05:26 ---> 684428554eef 20:05:26 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:05:26 ---> Running in 3374a8acb08e 20:05:26 Removing intermediate container 3374a8acb08e 20:05:26 ---> 9f2ec85078c6 20:05:26 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:05:26 ---> Running in 15a6f873646d 20:05:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:05:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:05:26 (1/1) Installing dumb-init (1.2.5-r2) 20:05:26 Executing busybox-1.36.1-r2.trigger 20:05:26 OK: 8 MiB in 16 packages 20:05:26 Removing intermediate container 15a6f873646d 20:05:26 ---> acba543eb806 20:05:26 Step 17/26 : RUN apk --no-cache upgrade 20:05:26 ---> Running in d98fc51c354c 20:05:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:05:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:05:26 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 20:05:26 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 20:05:26 Executing busybox-1.36.1-r5.post-upgrade 20:05:26 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 20:05:26 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 20:05:26 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 20:05:26 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 20:05:26 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 20:05:26 Executing busybox-1.36.1-r5.trigger 20:05:26 OK: 8 MiB in 16 packages 20:05:26 Removing intermediate container d98fc51c354c 20:05:26 ---> 9a914e3e1bf3 20:05:26 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:05:28 ---> 15df496878d9 20:05:28 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:05:28 ---> 51fb46731006 20:05:28 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:05:29 ---> fa69d752ae5e 20:05:29 Step 21/26 : EXPOSE 59986 20:05:29 ---> Running in deeb83dd2fd3 20:05:29 Removing intermediate container deeb83dd2fd3 20:05:29 ---> 44ce41d7d1d9 20:05:29 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:05:29 ---> Running in c990f5444986 20:05:30 Removing intermediate container c990f5444986 20:05:30 ---> 59e8090ab46e 20:05:30 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:05:30 ---> Running in b755c28930ac 20:05:30 Removing intermediate container b755c28930ac 20:05:30 ---> 34a5ecfec21d 20:05:30 Step 24/26 : LABEL arch=arm64 20:05:30 ---> Running in 50b5d1f12f3e 20:05:30 Removing intermediate container 50b5d1f12f3e 20:05:30 ---> 2e4f433c129c 20:05:30 Step 25/26 : LABEL git_sha=3bce0aca3c4560f98de1f371ba00fbc417993eaf 20:05:31 ---> Running in a4a89c005549 20:05:31 Removing intermediate container a4a89c005549 20:05:31 ---> 541b72116a91 20:05:31 Step 26/26 : LABEL version=0.0.0 20:05:31 ---> Running in 41eaf6dc813a 20:05:31 Removing intermediate container 41eaf6dc813a 20:05:31 ---> 68a0e0c3c712 20:05:31 [Warning] One or more build-args [ARCH] were not consumed 20:05:31 Successfully built 68a0e0c3c712 20:05:31 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:05:33 20:05:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:05:33 arm64: Pulling from edgex-lftools-log-publisher 20:05:33 8998bd30e6a1: Pulling fs layer 20:05:33 04944245beec: Pulling fs layer 20:05:33 699f458cf7ca: Pulling fs layer 20:05:33 765212b225bb: Pulling fs layer 20:05:33 f23df028b6ca: Pulling fs layer 20:05:33 d65c8cfc05b1: Pulling fs layer 20:05:33 2437ff75d9bd: Pulling fs layer 20:05:33 f23df028b6ca: Waiting 20:05:33 765212b225bb: Waiting 20:05:33 d65c8cfc05b1: Waiting 20:05:33 2437ff75d9bd: Waiting 20:05:34 04944245beec: Verifying Checksum 20:05:34 04944245beec: Download complete 20:05:34 765212b225bb: Verifying Checksum 20:05:34 765212b225bb: Download complete 20:05:34 f23df028b6ca: Download complete 20:05:34 d65c8cfc05b1: Verifying Checksum 20:05:34 d65c8cfc05b1: Download complete 20:05:34 699f458cf7ca: Verifying Checksum 20:05:34 8998bd30e6a1: Verifying Checksum 20:05:34 8998bd30e6a1: Download complete 20:05:37 2437ff75d9bd: Verifying Checksum 20:05:37 2437ff75d9bd: Download complete 20:05:39 8998bd30e6a1: Pull complete 20:05:39 04944245beec: Pull complete 20:05:41 699f458cf7ca: Pull complete 20:05:41 765212b225bb: Pull complete 20:05:42 f23df028b6ca: Pull complete 20:05:42 d65c8cfc05b1: Pull complete 20:06:00 2437ff75d9bd: Pull complete 20:06:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:06:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:06:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:01 prd-ubuntu20.04-docker-arm64-4c-16g-4701 does not seem to be running inside a container 20:06:01 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:06:04 $ docker top 241e34d5c5812cdde366c0fee353ec39db6053897e48037e9332a3edf2f21e30 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:05 ---> job-cost.sh 20:06:05 lf-activate-venv: SKIPPING 20:06:05 INFO: No Stack... 20:06:05 INFO: Retrieving Pricing Info for: v3-standard-4 20:06:06 INFO: Archiving Costs [Pipeline] sh 20:06:07 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:06:07 + cut -d, -f6 [Pipeline] lock 20:06:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] 20:06:07 Resource [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] did not exist. Created. 20:06:07 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:08 /w/workspace/device-rest-go/1@tmp/durable-bae90d3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:06:08 + echo total: 0.10999999940395355 [Pipeline] stash 20:06:08 Warning: overwriting stash ‘stack-cost’ 20:06:08 Stashed 1 file(s) [Pipeline] } 20:06:08 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-369-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:09 $ docker stop --time=1 241e34d5c5812cdde366c0fee353ec39db6053897e48037e9332a3edf2f21e30 20:06:10 $ docker rm -f --volumes 241e34d5c5812cdde366c0fee353ec39db6053897e48037e9332a3edf2f21e30 [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:06:12 provisioning config files... 20:06:12 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/config17015255433832902376tmp [Pipeline] { [Pipeline] sh 20:06:13 + set +x 20:06:13 + bash -s -- 20:06:13 + curl -s https://codecov.io/bash 20:06:13 20:06:13 _____ _ 20:06:13 / ____| | | 20:06:13 | | ___ __| | ___ ___ _____ __ 20:06:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:06:13 | |___| (_) | (_| | __/ (_| (_) \ V / 20:06:13 \_____\___/ \__,_|\___|\___\___/ \_/ 20:06:13 Bash-1.0.6 20:06:13 20:06:13 20:06:13 ==> git version 2.25.1 found 20:06:13 ==> 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:06:13 Release-Date: 2020-01-08 20:06:13 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:06:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:06:13 ==> Jenkins CI detected. 20:06:13 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-369 20:06:13 project root: . 20:06:13 --> token set from env 20:06:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:06:13 ==> Running gcov in . (disable via -X gcov) 20:06:13 ==> Python coveragepy not found 20:06:13 ==> Searching for coverage reports in: 20:06:13 + . 20:06:13 -> Found 1 reports 20:06:13 ==> Detecting git/mercurial file structure 20:06:13 ==> Reading reports 20:06:13 + ./coverage.out bytes=14499 20:06:13 ==> Appending adjustments 20:06:13 https://docs.codecov.io/docs/fixing-reports 20:06:13 + Found adjustments 20:06:13 ==> Gzipping contents 20:06:13 4.0K /tmp/codecov.gRuXox.gz 20:06:13 ==> Uploading reports 20:06:13 url: https://codecov.io 20:06:13 query: branch=PR-369&commit=3bce0aca3c4560f98de1f371ba00fbc417993eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-369%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=369&job=&cmd_args= 20:06:13 -> Pinging Codecov 20:06:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-369&commit=3bce0aca3c4560f98de1f371ba00fbc417993eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-369%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=369&job=&cmd_args= 20:06:13 -> Uploading to 20:06:13 https://storage.googleapis.com/codecov/v4/raw/2023-11-28/4E5D53B4F1F92C436F7061BF334D961C/3bce0aca3c4560f98de1f371ba00fbc417993eaf/d0a355db-6763-4441-80ba-213da02eb787.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T200613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a586e367c490fad661ce3c2e38b6f968dde5bd6a6c81159cfef9155e326c23c 20:06:13 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:13 Dload Upload Total Spent Left Speed 20:06:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11212 --:--:-- --:--:-- --:--:-- 11158 100 2321 0 0 100 2321 0 8660 --:--:-- --:--:-- --:--:-- 8628 20:06:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/3bce0aca3c4560f98de1f371ba00fbc417993eaf [Pipeline] } 20:06:13 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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:06:17 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-369/archives ] 20:06:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-369/archives 20:06:17 total 16 20:06:17 drwxr-xr-x 3 root root 4096 Nov 28 19:10 . 20:06:17 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 19:10 .. 20:06:17 drwxr-xr-x 2 root root 4096 Nov 28 19:10 cost 20:06:17 -rw-r--r-- 1 root root 86 Nov 28 19:10 cost.csv 20:06:17 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-369/archives 20:06:17 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-369/archives 20:06:17 total 16 20:06:17 drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 19:10 . 20:06:17 drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 19:10 .. 20:06:17 drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 19:10 cost 20:06:17 -rw-r--r-- 1 jenkins jenkins 86 Nov 28 19:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:06:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:06:18 ---> package-listing.sh 20:06:18 ++ facter osfamily 20:06:18 ++ tr '[:upper:]' '[:lower:]' 20:06:18 + OS_FAMILY=debian 20:06:18 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-369 20:06:18 + START_PACKAGES=/tmp/packages_start.txt 20:06:18 + END_PACKAGES=/tmp/packages_end.txt 20:06:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:06:18 + PACKAGES=/tmp/packages_start.txt 20:06:18 + '[' /w/workspace/gexfoundry_device-rest-go_PR-369 ']' 20:06:18 + PACKAGES=/tmp/packages_end.txt 20:06:18 + case "${OS_FAMILY}" in 20:06:18 + dpkg -l 20:06:18 + grep '^ii' 20:06:18 + '[' -f /tmp/packages_start.txt ']' 20:06:18 + '[' -f /tmp/packages_end.txt ']' 20:06:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:06:18 + '[' /w/workspace/gexfoundry_device-rest-go_PR-369 ']' 20:06:18 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-369/archives/ 20:06:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-369/archives/ [Pipeline] echo 20:06:18 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-369/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:06:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:19 prd-ubuntu20.04-docker-8c-8g-2325 does not seem to be running inside a container 20:06:19 $ 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-369/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-369 -v /w/workspace/gexfoundry_device-rest-go_PR-369:/w/workspace/gexfoundry_device-rest-go_PR-369:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-369@tmp:/w/workspace/gexfoundry_device-rest-go_PR-369@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:20 $ docker top bb4df3cdbfcbb0e55b0713a3d0dae1b43f1d3f1e85cc8f805c0bd444195e8d35 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:20 + touch /tmp/pre-build-complete [Pipeline] sh 20:06:20 + mkdir -p /var/log/sysstat [Pipeline] sh 20:06:21 + ls /var/log/sa-host 20:06:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:21 provisioning config files... 20:06:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-369@tmp/config16204333676247355008tmp [Pipeline] { [Pipeline] echo 20:06:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:06:22 ---> create-netrc.sh [Pipeline] } 20:06:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:06:22 ---> python-tools-install.sh [Pipeline] echo 20:06:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:06:22 ---> sudo-logs.sh 20:06:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:06:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:06:23 ---> job-cost.sh 20:06:23 lf-activate-venv: SKIPPING 20:06:23 DEBUG: total: 0.2199999988079071 20:06:23 INFO: Retrieving Stack Cost... 20:06:23 INFO: Retrieving Pricing Info for: v3-standard-8 20:06:24 INFO: Archiving Costs [Pipeline] echo 20:06:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:06:24 ---> logs-deploy.sh 20:06:24 lf-activate-venv: SKIPPING 20:06:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-369/1 20:06:24 INFO: archiving workspace using pattern(s): 20:06:25 Archives upload complete. 20:06:25 INFO: archiving logs to Nexus