Pull request #454 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-virtual-go Obtained Jenkinsfile from 8497ed563e756ecd23effc2df9e57162939d1e9f+b7d08b16b434e93c5cb72c19d88a87eb30002c2a (aac62e475a43580053e5305770a8d4327ba979a7) 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-ssh12244981831108720238.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-ssh9556494220929566710.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-virtual-go/branches/PR-454/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-virtual-go/branches/PR-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3135613436968144270.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-virtual-go/branches/PR-454/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5185183668345456922.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-ssh12670357196481618253.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-virtual-go/branches/PR-454/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-virtual-go/branches/PR-454/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3595850857964708868.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-virtual-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-virtual-go-settings PROJECT: device-virtual-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-virtual 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-24587 in /w/workspace/foundry_device-virtual-go_PR-454 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-454 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b7d08b16b434e93c5cb72c19d88a87eb30002c2a into PR head commit 8497ed563e756ecd23effc2df9e57162939d1e9f Merge succeeded, producing 8497ed563e756ecd23effc2df9e57162939d1e9f Checking out Revision 8497ed563e756ecd23effc2df9e57162939d1e9f (PR-454) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8497ed563e756ecd23effc2df9e57162939d1e9f # 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 b7d08b16b434e93c5cb72c19d88a87eb30002c2a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8497ed563e756ecd23effc2df9e57162939d1e9f # timeout=10 Commit message: "build: [Device Virtual] Add ldflags to strib debug info from binary" 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 20:26:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:26:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:26:43 ========================================================= 20:26:43 EdgeX Global Pipelines Version Info 20:26:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:26:44 ------------------- 20:26:44 stable info: 20:26:44 ------------------- 20:26:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:26:44 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:26:44 Message: update stable to v1.0.258 20:26:44 ------------------- 20:26:44 experimental info: 20:26:44 ------------------- 20:26:44 Commited By: **** collab-it+edgex@linuxfoundation.org 20:26:44 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 20:26:44 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:26:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:26:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:26:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-454 [Pipeline] echo 20:26:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-454 [Pipeline] echo 20:26:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-454 [Pipeline] echo 20:26:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8497ed563e756ecd23effc2df9e57162939d1e9f [Pipeline] echo 20:26:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8497ed5 [Pipeline] echo 20:26:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:26:47 provisioning config files... 20:26:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-454@tmp/config17829549124267533836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:47 ---> ****-login.sh 20:26:47 nexus3.edgexfoundry.org:10001 20:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:48 Configure a credential helper to remove this warning. See 20:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:48 20:26:48 Login Succeeded 20:26:48 nexus3.edgexfoundry.org:10002 20:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:48 Configure a credential helper to remove this warning. See 20:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:48 20:26:48 Login Succeeded 20:26:48 nexus3.edgexfoundry.org:10003 20:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:48 Configure a credential helper to remove this warning. See 20:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:48 20:26:48 Login Succeeded 20:26:48 nexus3.edgexfoundry.org:10004 20:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:48 Configure a credential helper to remove this warning. See 20:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:48 20:26:48 Login Succeeded 20:26:48 ****.io 20:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:26:48 Configure a credential helper to remove this warning. See 20:26:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:26:48 20:26:48 Login Succeeded 20:26:48 ---> ****-login.sh ends [Pipeline] } 20:26:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:26:49 + git rev-list -1 --merges 8497ed563e756ecd23effc2df9e57162939d1e9f~1..8497ed563e756ecd23effc2df9e57162939d1e9f [Pipeline] echo 20:26:49 -----------> git rev-list -1 --merges 8497ed563e756ecd23effc2df9e57162939d1e9f~1..8497ed563e756ecd23effc2df9e57162939d1e9f 8497ed563e756ecd23effc2df9e57162939d1e9f [false] [Pipeline] sh 20:26:49 + git log --format=format:%s -1 8497ed563e756ecd23effc2df9e57162939d1e9f [Pipeline] echo 20:26:49 ========================================================= 20:26:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:26:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:50 + git log --format=format:%s -1 8497ed563e756ecd23effc2df9e57162939d1e9f [Pipeline] echo 20:26:50 [semverPrep] GIT_COMMIT: 8497ed563e756ecd23effc2df9e57162939d1e9f, Commit Message: build: [Device Virtual] Add ldflags to strib debug info from binary [Pipeline] echo 20:26:50 [semverPrep] This is not a build commit. [Pipeline] sh 20:26:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:26:50 + grep -v github /etc/ssh/ssh_known_hosts 20:26:50 + [ -e /tmp/ssh_known_hosts ] 20:26:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:26:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:26:50 + sudo tee -a /etc/ssh/ssh_known_hosts 20:26:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:51 20:26:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:51 0.1.4: Pulling from edgex-devops/py-git-semver 20:26:51 b85a868b505f: Pulling fs layer 20:26:51 e2be974225ed: Pulling fs layer 20:26:51 339a4e72a1f5: Pulling fs layer 20:26:51 988bab9f4d93: Pulling fs layer 20:26:51 1469e6f7b9e6: Pulling fs layer 20:26:51 eaf3925da568: Pulling fs layer 20:26:51 bab4dde63d76: Pulling fs layer 20:26:51 bde34c3a00c8: Pulling fs layer 20:26:51 b352a97aabf1: Pulling fs layer 20:26:51 4872d77fe225: Pulling fs layer 20:26:51 5851b861e8e6: Pulling fs layer 20:26:51 1469e6f7b9e6: Waiting 20:26:51 eaf3925da568: Waiting 20:26:51 bab4dde63d76: Waiting 20:26:51 bde34c3a00c8: Waiting 20:26:51 b352a97aabf1: Waiting 20:26:51 988bab9f4d93: Waiting 20:26:51 4872d77fe225: Waiting 20:26:51 5851b861e8e6: Waiting 20:26:51 e2be974225ed: Verifying Checksum 20:26:51 e2be974225ed: Download complete 20:26:51 988bab9f4d93: Verifying Checksum 20:26:51 988bab9f4d93: Download complete 20:26:51 1469e6f7b9e6: Verifying Checksum 20:26:51 1469e6f7b9e6: Download complete 20:26:51 eaf3925da568: Download complete 20:26:51 339a4e72a1f5: Verifying Checksum 20:26:51 339a4e72a1f5: Download complete 20:26:52 bde34c3a00c8: Verifying Checksum 20:26:52 bde34c3a00c8: Download complete 20:26:52 b352a97aabf1: Verifying Checksum 20:26:52 b352a97aabf1: Download complete 20:26:52 4872d77fe225: Verifying Checksum 20:26:52 4872d77fe225: Download complete 20:26:52 5851b861e8e6: Verifying Checksum 20:26:52 5851b861e8e6: Download complete 20:26:52 b85a868b505f: Verifying Checksum 20:26:52 b85a868b505f: Download complete 20:26:52 bab4dde63d76: Verifying Checksum 20:26:52 bab4dde63d76: Download complete 20:26:53 b85a868b505f: Pull complete 20:26:53 e2be974225ed: Pull complete 20:26:53 339a4e72a1f5: Pull complete 20:26:54 988bab9f4d93: Pull complete 20:26:54 1469e6f7b9e6: Pull complete 20:26:54 eaf3925da568: Pull complete 20:26:56 bab4dde63d76: Pull complete 20:26:56 bde34c3a00c8: Pull complete 20:26:56 b352a97aabf1: Pull complete 20:26:56 4872d77fe225: Pull complete 20:26:56 5851b861e8e6: Pull complete 20:26:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:26:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:26:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:56 prd-ubuntu20.04-docker-8c-8g-24587 does not seem to be running inside a container 20:26:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-454 -v /w/workspace/foundry_device-virtual-go_PR-454:/w/workspace/foundry_device-virtual-go_PR-454:rw,z -v /w/workspace/foundry_device-virtual-go_PR-454@tmp:/w/workspace/foundry_device-virtual-go_PR-454@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:26:58 $ docker top 233de01081b91da6acde8b31af3a058f276ebe997a1f27eb59d982f4f577d0d2 -eo pid,comm 20:26:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:26:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:26:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:58 [ssh-agent] Looking for ssh-agent implementation... 20:26:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:58 $ docker exec 233de01081b91da6acde8b31af3a058f276ebe997a1f27eb59d982f4f577d0d2 ssh-agent 20:26:58 SSH_AUTH_SOCK=/tmp/ssh-XhdyhxoMamiv/agent.32 20:26:58 SSH_AGENT_PID=38 20:26:58 Running ssh-add (command line suppressed) 20:26:58 Identity added: /w/workspace/foundry_device-virtual-go_PR-454@tmp/private_key_8917496401580644212.key (/w/workspace/foundry_device-virtual-go_PR-454@tmp/private_key_8917496401580644212.key) 20:26:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:26:59 + git tag --points-at HEAD [Pipeline] } 20:26:59 $ docker exec --env ******** --env ******** 233de01081b91da6acde8b31af3a058f276ebe997a1f27eb59d982f4f577d0d2 ssh-agent -k 20:26:59 unset SSH_AUTH_SOCK; 20:26:59 unset SSH_AGENT_PID; 20:26:59 echo Agent pid 38 killed; 20:26:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:26:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:26:59 [ssh-agent] Looking for ssh-agent implementation... 20:26:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:26:59 $ docker exec 233de01081b91da6acde8b31af3a058f276ebe997a1f27eb59d982f4f577d0d2 ssh-agent 20:26:59 SSH_AUTH_SOCK=/tmp/ssh-b7mWjm9Ou3Bg/agent.70 20:26:59 SSH_AGENT_PID=76 20:26:59 Running ssh-add (command line suppressed) 20:26:59 Identity added: /w/workspace/foundry_device-virtual-go_PR-454@tmp/private_key_7601642405911687409.key (/w/workspace/foundry_device-virtual-go_PR-454@tmp/private_key_7601642405911687409.key) 20:26:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:00 + git semver init 20:27:00 2023-12-06 20:27:00,242 [run_init] DEBUG init version:0.0.0 force:False 20:27:00 2023-12-06 20:27:00,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-454/.semver 20:27:00 2023-12-06 20:27:00,243 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-454/.semver 20:27:00 2023-12-06 20:27:00,243 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-454/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-454, universal_newlines=False, shell=None, istream=None) 20:27:01 2023-12-06 20:27:01,538 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-454/.git/info/exclude 20:27:01 2023-12-06 20:27:01,539 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-454/.semver/PR-454 with force:False 20:27:01 2023-12-06 20:27:01,539 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-454/.semver/PR-454 20:27:01 2023-12-06 20:27:01,542 [execute] INFO git cat-file --batch-check 20:27:01 2023-12-06 20:27:01,542 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-454/.semver, universal_newlines=False, shell=None, istream=) 20:27:01 2023-12-06 20:27:01,549 [execute] INFO git cat-file --batch 20:27:01 2023-12-06 20:27:01,549 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-454/.semver, universal_newlines=False, shell=None, istream=) 20:27:01 2023-12-06 20:27:01,555 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-454/.semver/PR-454 20:27:01 0.0.0 [Pipeline] } 20:27:01 $ docker exec --env ******** --env ******** 233de01081b91da6acde8b31af3a058f276ebe997a1f27eb59d982f4f577d0d2 ssh-agent -k 20:27:01 unset SSH_AUTH_SOCK; 20:27:01 unset SSH_AGENT_PID; 20:27:01 echo Agent pid 76 killed; 20:27:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:27:02 + git semver [Pipeline] } 20:27:02 $ docker stop --time=1 233de01081b91da6acde8b31af3a058f276ebe997a1f27eb59d982f4f577d0d2 20:27:03 $ docker rm -f --volumes 233de01081b91da6acde8b31af3a058f276ebe997a1f27eb59d982f4f577d0d2 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:27:04 Stashed 1 file(s) [Pipeline] echo 20:27:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:05 provisioning config files... 20:27:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-454@tmp/config5164018138118581811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:06 ---> ****-login.sh 20:27:06 nexus3.edgexfoundry.org:10001 20:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:27:06 Configure a credential helper to remove this warning. See 20:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:27:06 20:27:06 Login Succeeded 20:27:06 nexus3.edgexfoundry.org:10002 20:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:27:06 Configure a credential helper to remove this warning. See 20:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:27:06 20:27:06 Login Succeeded 20:27:06 nexus3.edgexfoundry.org:10003 20:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:27:06 Configure a credential helper to remove this warning. See 20:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:27:06 20:27:06 Login Succeeded 20:27:06 nexus3.edgexfoundry.org:10004 20:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:27:06 Configure a credential helper to remove this warning. See 20:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:27:06 20:27:06 Login Succeeded 20:27:06 ****.io 20:27:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:27:06 Configure a credential helper to remove this warning. See 20:27:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:27:06 20:27:06 Login Succeeded 20:27:06 ---> ****-login.sh ends [Pipeline] } 20:27:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:27:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:27:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:27:07 ========================================================= 20:27:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:27:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:07 + 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 . 20:27:07 Sending build context to Docker daemon 31.56MB 20:27:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:27:07 Step 2/12 : FROM ${BASE} AS builder 20:27:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:27:07 7264a8db6415: Pulling fs layer 20:27:07 c4d48a809fc2: Pulling fs layer 20:27:07 4f1c88b9dad5: Pulling fs layer 20:27:07 ad3a456e5733: Pulling fs layer 20:27:07 69c7f0334f64: Pulling fs layer 20:27:07 1f1c1a5573a3: Pulling fs layer 20:27:07 ce7588e14bc9: Pulling fs layer 20:27:07 ad3a456e5733: Waiting 20:27:07 b5e4710f87ac: Pulling fs layer 20:27:07 1f1c1a5573a3: Waiting 20:27:07 69c7f0334f64: Waiting 20:27:07 ce7588e14bc9: Waiting 20:27:07 b5e4710f87ac: Waiting 20:27:07 c4d48a809fc2: Verifying Checksum 20:27:07 c4d48a809fc2: Download complete 20:27:07 ad3a456e5733: Verifying Checksum 20:27:07 ad3a456e5733: Download complete 20:27:07 69c7f0334f64: Verifying Checksum 20:27:07 69c7f0334f64: Download complete 20:27:07 7264a8db6415: Verifying Checksum 20:27:07 1f1c1a5573a3: Verifying Checksum 20:27:07 1f1c1a5573a3: Download complete 20:27:07 7264a8db6415: Pull complete 20:27:08 b5e4710f87ac: Verifying Checksum 20:27:08 b5e4710f87ac: Download complete 20:27:08 c4d48a809fc2: Pull complete 20:27:08 4f1c88b9dad5: Verifying Checksum 20:27:08 4f1c88b9dad5: Download complete 20:27:08 ce7588e14bc9: Verifying Checksum 20:27:08 ce7588e14bc9: Download complete 20:27:12 4f1c88b9dad5: Pull complete 20:27:12 ad3a456e5733: Pull complete 20:27:12 69c7f0334f64: Pull complete 20:27:12 1f1c1a5573a3: Pull complete 20:27:13 ce7588e14bc9: Pull complete 20:27:14 b5e4710f87ac: Pull complete 20:27:14 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 20:27:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:27:14 ---> 88b5674ff536 20:27:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:27:17 ---> Running in 1a3d9db1bbaa 20:27:17 Removing intermediate container 1a3d9db1bbaa 20:27:17 ---> ae60a23c2d09 20:27:17 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:27:17 ---> Running in e75593bc94f6 20:27:17 Removing intermediate container e75593bc94f6 20:27:17 ---> 3b0b7eb72ccd 20:27:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:27:17 ---> Running in 964ed5095ef5 20:27:17 Removing intermediate container 964ed5095ef5 20:27:17 ---> 6cf741f6dd48 20:27:17 Step 6/12 : WORKDIR /device-virtual-go 20:27:17 ---> Running in 0488e55b332e 20:27:17 Removing intermediate container 0488e55b332e 20:27:17 ---> af5804e1c495 20:27:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:17 ---> Running in 114c0792882a 20:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:27:17 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:27:17 (2/4) Installing libedit (20221030.3.1-r1) 20:27:17 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:27:17 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:27:17 Executing busybox-1.36.1-r5.trigger 20:27:17 OK: 268 MiB in 56 packages 20:27:18 Removing intermediate container 114c0792882a 20:27:18 ---> 305341128cfc 20:27:18 Step 8/12 : COPY go.mod vendor* ./ 20:27:18 ---> 204236682e17 20:27:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:18 ---> Running in 9a3d69219456 20:27:20 Still waiting to schedule task 20:27:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:27:44 Removing intermediate container 9a3d69219456 20:27:44 ---> 39bb36fc434e 20:27:44 Step 10/12 : COPY . . 20:27:45 ---> 343f0b6d929a 20:27:45 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:27:45 ---> Running in 43428e6bff9a 20:27:45 Removing intermediate container 43428e6bff9a 20:27:45 ---> 485d00e0ef6d 20:27:45 Step 12/12 : RUN $MAKE 20:27:45 ---> Running in befa9803fff1 20:27:45 noop 20:27:45 Removing intermediate container befa9803fff1 20:27:45 ---> 937c6e36608d 20:27:46 Successfully built 937c6e36608d 20:27:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:46 + docker inspect -f . ci-base-image-x86_64 20:27:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:46 prd-ubuntu20.04-docker-8c-8g-24587 does not seem to be running inside a container 20:27:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-454 -v /w/workspace/foundry_device-virtual-go_PR-454:/w/workspace/foundry_device-virtual-go_PR-454:rw,z -v /w/workspace/foundry_device-virtual-go_PR-454@tmp:/w/workspace/foundry_device-virtual-go_PR-454@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-x86_64 cat 20:27:47 $ docker top 8c7c05e5521a68d0c6948f80c88d802d466197b30d79b640d255e6770af25816 -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:47 + go version 20:27:47 go version go1.21.0 linux/amd64 [Pipeline] } 20:27:47 $ docker stop --time=1 8c7c05e5521a68d0c6948f80c88d802d466197b30d79b640d255e6770af25816 20:27:48 $ docker rm -f --volumes 8c7c05e5521a68d0c6948f80c88d802d466197b30d79b640d255e6770af25816 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:49 + docker inspect -f . ci-base-image-x86_64 20:27:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:49 prd-ubuntu20.04-docker-8c-8g-24587 does not seem to be running inside a container 20:27:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-454 -v /w/workspace/foundry_device-virtual-go_PR-454:/w/workspace/foundry_device-virtual-go_PR-454:rw,z -v /w/workspace/foundry_device-virtual-go_PR-454@tmp:/w/workspace/foundry_device-virtual-go_PR-454@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-x86_64 cat 20:27:50 $ docker top d9b424a479b1b0086d451ff782c7265acdbe3342a000bfa513b279bf17ac319a -eo pid,comm [Pipeline] { [Pipeline] sh 20:27:50 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-454 [Pipeline] fileExists [Pipeline] sh 20:27:51 + make test 20:27:51 go test ./... -coverprofile=coverage.out 20:27:52 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:28:02 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:28:02 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 20:28:07 go vet ./... 20:28:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:28:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:28:10 ./bin/test-attribution-txt.sh [Pipeline] echo 20:28:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:28:10 $ docker stop --time=1 d9b424a479b1b0086d451ff782c7265acdbe3342a000bfa513b279bf17ac319a 20:28:13 $ docker rm -f --volumes d9b424a479b1b0086d451ff782c7265acdbe3342a000bfa513b279bf17ac319a [Pipeline] // withDockerContainer [Pipeline] sh 20:28:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:28:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:28:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:28:14 + ls -al . 20:28:14 total 200 20:28:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:27 . 20:28:14 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:26 .. 20:28:14 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:28 .git 20:28:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:26 .github 20:28:14 -rw-rw-r-- 1 jenkins jenkins 272 Dec 6 20:26 .gitignore 20:28:14 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:26 .golangci.yml 20:28:14 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 20:27 .semver 20:28:14 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 6 20:26 Attribution.txt 20:28:14 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 6 20:26 CHANGELOG.md 20:28:14 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 6 20:26 Dockerfile 20:28:14 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:26 GOVERNANCE.md 20:28:14 -rw-rw-r-- 1 jenkins jenkins 660 Dec 6 20:26 Jenkinsfile 20:28:14 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:26 LICENSE 20:28:14 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 6 20:26 Makefile 20:28:14 -rw-rw-r-- 1 jenkins jenkins 623 Dec 6 20:26 OWNERS.md 20:28:14 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 6 20:26 README.md 20:28:14 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 20:27 VERSION 20:28:14 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:26 bin 20:28:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:26 cmd 20:28:14 -rw-r--r-- 1 jenkins jenkins 43063 Dec 6 20:28 coverage.out 20:28:14 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 6 20:26 go.mod 20:28:14 -rw-rw-r-- 1 jenkins jenkins 34480 Dec 6 20:26 go.sum 20:28:14 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:26 internal 20:28:14 -rw-rw-r-- 1 jenkins jenkins 235 Dec 6 20:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:15 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8497ed563e756ecd23effc2df9e57162939d1e9f --label arch=amd64 --label version=0.0.0 . 20:28:15 Sending build context to Docker daemon 31.61MB 20:28:15 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 20:28:15 Step 2/26 : FROM ${BASE} AS builder 20:28:15 ---> 937c6e36608d 20:28:15 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:28:15 ---> Running in 880b8f1171e5 20:28:15 Removing intermediate container 880b8f1171e5 20:28:15 ---> 4897846f3f0c 20:28:15 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:28:15 ---> Running in d51312ab1f90 20:28:15 Removing intermediate container d51312ab1f90 20:28:15 ---> c3a30337bc35 20:28:15 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:28:15 ---> Running in 789f3dfd37c4 20:28:15 Removing intermediate container 789f3dfd37c4 20:28:15 ---> 7a5d962f2ebe 20:28:15 Step 6/26 : WORKDIR /device-virtual-go 20:28:15 ---> Running in 89c1f003f9a2 20:28:15 Removing intermediate container 89c1f003f9a2 20:28:15 ---> 7be4c8ede689 20:28:15 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:28:15 ---> Running in ed975f47d9d0 20:28:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:28:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:28:16 OK: 268 MiB in 56 packages 20:28:16 Removing intermediate container ed975f47d9d0 20:28:16 ---> a1c51e7140a2 20:28:16 Step 8/26 : COPY go.mod vendor* ./ 20:28:17 ---> 3ad278b61d33 20:28:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:28:17 ---> Running in 1e951934f93b 20:28:18 Removing intermediate container 1e951934f93b 20:28:18 ---> 56d422456ba5 20:28:18 Step 10/26 : COPY . . 20:28:18 ---> b938158a8564 20:28:18 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:28:18 ---> Running in a90a47e7ba2f 20:28:18 Removing intermediate container a90a47e7ba2f 20:28:18 ---> d6ab6d8e819f 20:28:18 Step 12/26 : RUN $MAKE 20:28:18 ---> Running in 1b16f019215c 20:28:18 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 20:28:36 Removing intermediate container 1b16f019215c 20:28:36 ---> 7bc90f800d16 20:28:36 Step 13/26 : FROM alpine:3.18 20:28:36 3.18: Pulling from library/alpine 20:28:36 c926b61bad3b: Pulling fs layer 20:28:36 c926b61bad3b: Verifying Checksum 20:28:36 c926b61bad3b: Download complete 20:28:36 c926b61bad3b: Pull complete 20:28:36 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:28:36 Status: Downloaded newer image for alpine:3.18 20:28:36 ---> b541f2080109 20:28:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:28:36 ---> Running in 726f8575a99e 20:28:36 Removing intermediate container 726f8575a99e 20:28:36 ---> 32e9a0bbd2a0 20:28:36 Step 15/26 : RUN apk add --update --no-cache dumb-init 20:28:36 ---> Running in 86fddd140577 20:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:28:36 (1/1) Installing dumb-init (1.2.5-r2) 20:28:36 Executing busybox-1.36.1-r5.trigger 20:28:36 OK: 7 MiB in 16 packages 20:28:36 Removing intermediate container 86fddd140577 20:28:36 ---> b63a502acc79 20:28:36 Step 16/26 : RUN apk --no-cache upgrade 20:28:36 ---> Running in a2c850592017 20:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:28:36 OK: 7 MiB in 16 packages 20:28:37 Removing intermediate container a2c850592017 20:28:37 ---> 4cfa42b4cbf8 20:28:37 Step 17/26 : WORKDIR / 20:28:37 ---> Running in 59287c5e84ae 20:28:37 Removing intermediate container 59287c5e84ae 20:28:37 ---> 707213393f5c 20:28:37 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:28:37 ---> c0b00886e0b2 20:28:37 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:28:37 ---> 4ba5312c6291 20:28:37 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:28:37 ---> c0f1f3c5e181 20:28:37 Step 21/26 : EXPOSE 59900 20:28:37 ---> Running in e900d35e0147 20:28:38 Removing intermediate container e900d35e0147 20:28:38 ---> b13734295489 20:28:38 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:28:38 ---> Running in 27359a5c4587 20:28:38 Removing intermediate container 27359a5c4587 20:28:38 ---> 43fca7d3bf7b 20:28:38 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 20:28:38 ---> Running in 1d92145946c2 20:28:38 Removing intermediate container 1d92145946c2 20:28:38 ---> ef7e3e7d42a1 20:28:38 Step 24/26 : LABEL arch=amd64 20:28:38 ---> Running in 1806658b0a42 20:28:38 Removing intermediate container 1806658b0a42 20:28:38 ---> 679a097605eb 20:28:38 Step 25/26 : LABEL git_sha=8497ed563e756ecd23effc2df9e57162939d1e9f 20:28:38 ---> Running in 7762c522d55b 20:28:38 Removing intermediate container 7762c522d55b 20:28:38 ---> 952c60322652 20:28:38 Step 26/26 : LABEL version=0.0.0 20:28:38 ---> Running in 5f68f7c676ec 20:28:38 Removing intermediate container 5f68f7c676ec 20:28:38 ---> b874c7bd00a3 20:28:38 [Warning] One or more build-args [ARCH] were not consumed 20:28:38 Successfully built b874c7bd00a3 20:28:38 Successfully tagged device-virtual: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 20:28:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:39 20:28:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:40 latest: Pulling from edgex-lftools-log-publisher 20:28:40 5eb5b503b376: Pulling fs layer 20:28:40 5c69ac0246d0: Pulling fs layer 20:28:40 ec43610c2a17: Pulling fs layer 20:28:40 3a2ae6a8a46f: Pulling fs layer 20:28:40 33b1e0a273af: Pulling fs layer 20:28:40 5d3b04190fa2: Pulling fs layer 20:28:40 2f39f015ded8: Pulling fs layer 20:28:40 33b1e0a273af: Waiting 20:28:40 2f39f015ded8: Waiting 20:28:40 5d3b04190fa2: Waiting 20:28:40 3a2ae6a8a46f: Waiting 20:28:40 5c69ac0246d0: Verifying Checksum 20:28:40 5c69ac0246d0: Download complete 20:28:40 3a2ae6a8a46f: Verifying Checksum 20:28:40 3a2ae6a8a46f: Download complete 20:28:40 33b1e0a273af: Verifying Checksum 20:28:40 33b1e0a273af: Download complete 20:28:40 ec43610c2a17: Verifying Checksum 20:28:40 ec43610c2a17: Download complete 20:28:40 5d3b04190fa2: Verifying Checksum 20:28:40 5d3b04190fa2: Download complete 20:28:40 5eb5b503b376: Verifying Checksum 20:28:40 5eb5b503b376: Download complete 20:28:40 2f39f015ded8: Download complete 20:28:41 5eb5b503b376: Pull complete 20:28:41 5c69ac0246d0: Pull complete 20:28:42 ec43610c2a17: Pull complete 20:28:42 3a2ae6a8a46f: Pull complete 20:28:42 33b1e0a273af: Pull complete 20:28:42 5d3b04190fa2: Pull complete 20:28:46 2f39f015ded8: Pull complete 20:28:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:28:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:28:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:46 prd-ubuntu20.04-docker-8c-8g-24587 does not seem to be running inside a container 20:28:46 $ 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/foundry_device-virtual-go_PR-454 -v /w/workspace/foundry_device-virtual-go_PR-454:/w/workspace/foundry_device-virtual-go_PR-454:rw,z -v /w/workspace/foundry_device-virtual-go_PR-454@tmp:/w/workspace/foundry_device-virtual-go_PR-454@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:latest cat 20:28:49 $ docker top 0d1928272cbdec456934b616b1c88781c2833c8c723185b6eec01f91aee7ddd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:50 ---> job-cost.sh 20:28:50 lf-activate-venv: SKIPPING 20:28:50 INFO: No Stack... 20:28:51 INFO: Retrieving Pricing Info for: v3-standard-8 20:28:52 INFO: Archiving Costs [Pipeline] sh 20:28:52 + cat /w/workspace/foundry_device-virtual-go_PR-454/archives/cost.csv 20:28:52 + cut -d, -f6 [Pipeline] lock 20:28:52 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-454-1-stack-cost] 20:28:52 Resource [jenkins-edgexfoundry-device-virtual-go-PR-454-1-stack-cost] did not exist. Created. 20:28:52 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-454-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:28:53 + echo total: 0.2199999988079071 [Pipeline] stash 20:28:53 Stashed 1 file(s) [Pipeline] } 20:28:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-454-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:28:53 $ docker stop --time=1 0d1928272cbdec456934b616b1c88781c2833c8c723185b6eec01f91aee7ddd0 20:28:54 $ docker rm -f --volumes 0d1928272cbdec456934b616b1c88781c2833c8c723185b6eec01f91aee7ddd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:30:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24589 in /w/workspace/foundry_device-virtual-go_PR-454 [Pipeline] { [Pipeline] ws 20:30:12 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 20:30:15 The recommended git tool is: git 20:30:20 using credential edgex-jenkins-ssh 20:30:20 Cloning the remote Git repository 20:30:20 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:30:20 > git init /w/workspace/device-virtual-go/1 # timeout=10 20:30:20 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:30:20 > git --version # timeout=10 20:30:20 > git --version # 'git version 2.25.1' 20:30:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:23 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:30:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:25 Merging remotes/origin/main commit b7d08b16b434e93c5cb72c19d88a87eb30002c2a into PR head commit 8497ed563e756ecd23effc2df9e57162939d1e9f 20:30:25 Merge succeeded, producing 8497ed563e756ecd23effc2df9e57162939d1e9f 20:30:25 Checking out Revision 8497ed563e756ecd23effc2df9e57162939d1e9f (PR-454) 20:30:24 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:30:24 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:30:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/454/head:refs/remotes/origin/PR-454 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:30:25 > git config core.sparsecheckout # timeout=10 20:30:25 > git checkout -f 8497ed563e756ecd23effc2df9e57162939d1e9f # timeout=10 20:30:25 > git remote # timeout=10 20:30:25 > git config --get remote.origin.url # timeout=10 20:30:25 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:25 > git merge b7d08b16b434e93c5cb72c19d88a87eb30002c2a # timeout=10 20:30:25 > git rev-parse HEAD^{commit} # timeout=10 20:30:25 > git config core.sparsecheckout # timeout=10 20:30:25 > git checkout -f 8497ed563e756ecd23effc2df9e57162939d1e9f # timeout=10 20:30:28 Commit message: "build: [Device Virtual] Add ldflags to strib debug info from binary" 20:30:28 > git --version # timeout=10 20:30:28 > git --version # 'git version 2.25.1' 20:30:28 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:30:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:30:30 % Total % Received % Xferd Average Speed Time Time Time Current 20:30:30 Dload Upload Total Spent Left Speed 20:30:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 229k 0 --:--:-- --:--:-- --:--:-- 229k [Pipeline] sh 20:30:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:30:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:30:30 + sudo tee /etc/docker/daemon.new 20:30:30 { 20:30:30 "registry-mirrors": [ 20:30:30 "https://nexus3.edgexfoundry.org:10001" 20:30:30 ], 20:30:30 "bip": "10.250.0.254/24", 20:30:30 "hosts": [ 20:30:30 "tcp://0.0.0.0:5555", 20:30:30 "unix:///var/run/docker.sock" 20:30:30 ], 20:30:30 "mtu": 1458, 20:30:30 "selinux-enabled": true, 20:30:30 "seccomp-profile": "/etc/docker/seccomp.json" 20:30:30 } [Pipeline] sh 20:30:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:30:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:30:50 provisioning config files... 20:30:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12377396385987274572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:50 ---> ****-login.sh 20:30:50 nexus3.edgexfoundry.org:10001 20:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:51 Configure a credential helper to remove this warning. See 20:30:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:51 20:30:51 Login Succeeded 20:30:51 nexus3.edgexfoundry.org:10002 20:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:51 Configure a credential helper to remove this warning. See 20:30:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:51 20:30:51 Login Succeeded 20:30:51 nexus3.edgexfoundry.org:10003 20:30:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:51 Configure a credential helper to remove this warning. See 20:30:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:51 20:30:51 Login Succeeded 20:30:51 nexus3.edgexfoundry.org:10004 20:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:52 Configure a credential helper to remove this warning. See 20:30:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:52 20:30:52 Login Succeeded 20:30:52 ****.io 20:30:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:30:52 Configure a credential helper to remove this warning. See 20:30:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:30:52 20:30:52 Login Succeeded 20:30:52 ---> ****-login.sh ends [Pipeline] } 20:30:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:30:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:30:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:30:53 ========================================================= 20:30:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:30:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:54 + 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 . 20:30:55 #0 building with "default" instance using docker driver 20:30:55 20:30:55 #1 [internal] load .dockerignore 20:30:55 #1 transferring context: 2B done 20:30:55 #1 DONE 0.1s 20:30:55 20:30:55 #2 [internal] load build definition from Dockerfile 20:30:55 #2 transferring dockerfile: 1.79kB done 20:30:55 #2 DONE 0.1s 20:30:55 20:30:55 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:30:55 #3 DONE 0.1s 20:30:55 20:30:55 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:30:55 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 20:30:55 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 20:30:55 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.1s 20:30:55 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 20:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 20:30:55 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 20:30:55 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 20:30:55 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.2s 20:30:55 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 20:30:55 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 20:30:55 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.27MB / 63.99MB 0.3s 20:30:55 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 20:30:55 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 20:30:55 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 20:30:56 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.97MB / 11.40MB 0.4s 20:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 2.10MB / 97.63MB 0.4s 20:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.64MB / 63.99MB 0.5s 20:30:56 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 20:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.6s 20:30:56 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.30MB / 11.40MB 0.6s 20:30:56 #4 ... 20:30:56 20:30:56 #5 [internal] load build context 20:30:56 #5 transferring context: 15.80MB 0.7s done 20:30:56 #5 DONE 0.7s 20:30:56 20:30:56 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 20:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.7s 20:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.8s 20:30:56 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.6s done 20:30:56 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 20:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.12MB / 63.99MB 1.0s 20:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 1.0s 20:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.50MB / 63.99MB 1.1s 20:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 27.26MB / 97.63MB 1.1s 20:30:56 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 20:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.87MB / 63.99MB 1.3s 20:30:56 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.63MB / 97.63MB 1.3s 20:30:56 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 20:30:56 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.46MB / 63.99MB 1.4s 20:30:57 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.5s 20:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 1.5s 20:30:57 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s 20:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.6s 20:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 64.71MB / 97.63MB 1.8s 20:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.67MB / 97.63MB 2.0s 20:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.93MB / 97.63MB 2.2s 20:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.3s 20:30:57 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s 20:30:59 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 3.8s done 20:30:59 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20:30:59 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 4.0s done 20:31:06 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s 20:31:10 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.9s 20:31:17 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.8s done 20:31:17 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 20:31:17 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 20:31:17 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 20:31:18 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 20:31:23 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 20:31:26 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.1s done 20:31:28 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 20:31:29 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 20:31:29 #4 DONE 34.4s 20:31:29 20:31:29 #6 [builder 2/7] WORKDIR /device-virtual-go 20:31:31 #6 DONE 1.6s 20:31:31 20:31:31 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 20:31:32 #7 0.661 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:31:32 #7 1.046 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:31:33 #7 1.992 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:31:33 #7 2.020 (2/4) Installing libedit (20221030.3.1-r1) 20:31:33 #7 2.033 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:31:33 #7 2.095 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:31:33 #7 2.124 Executing busybox-1.36.1-r5.trigger 20:31:33 #7 2.158 OK: 271 MiB in 56 packages 20:31:33 #7 DONE 2.5s 20:31:33 20:31:33 #8 [builder 4/7] COPY go.mod vendor* ./ 20:31:34 #8 DONE 0.2s 20:31:34 20:31:34 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:00 #9 DONE 24.4s 20:32:00 20:32:00 #10 [builder 6/7] COPY . . 20:32:00 #10 DONE 0.3s 20:32:00 20:32:00 #11 [builder 7/7] RUN echo noop 20:32:00 #11 0.626 noop 20:32:00 #11 DONE 0.7s 20:32:00 20:32:00 #12 exporting to image 20:32:00 #12 exporting layers 20:32:22 #12 exporting layers 22.1s done 20:32:22 #12 writing image sha256:801783d68fac9000f0140710f42c96e64bb38422f045aaab83016b639753db4a done 20:32:22 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 20:32:22 #12 DONE 22.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:23 + docker inspect -f . ci-base-image-arm64 20:32:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:23 prd-ubuntu20.04-docker-arm64-4c-16g-24589 does not seem to be running inside a container 20:32:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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:32:25 $ docker top 06dda32425e5735dc9b568fddcc99b31f5dff3680c7d920eaa889b1528c1d194 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:25 + go version 20:32:25 go version go1.21.0 linux/arm64 [Pipeline] } 20:32:25 $ docker stop --time=1 06dda32425e5735dc9b568fddcc99b31f5dff3680c7d920eaa889b1528c1d194 20:32:27 $ docker rm -f --volumes 06dda32425e5735dc9b568fddcc99b31f5dff3680c7d920eaa889b1528c1d194 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:28 + docker inspect -f . ci-base-image-arm64 20:32:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:28 prd-ubuntu20.04-docker-arm64-4c-16g-24589 does not seem to be running inside a container 20:32:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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:32:29 $ docker top 20c22508b091bd4c9ee123538331571b02b4b77ad641c1ae5d40eb80926802fe -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:30 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 20:32:30 + make test 20:32:30 go test ./... -coverprofile=coverage.out 20:32:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:33:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:33:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.065s coverage: 58.4% of statements 20:33:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:33:31 go vet ./... 20:33:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:33:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:33:38 ./bin/test-attribution-txt.sh [Pipeline] echo 20:33:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:33:38 $ docker stop --time=1 20c22508b091bd4c9ee123538331571b02b4b77ad641c1ae5d40eb80926802fe 20:33:40 $ docker rm -f --volumes 20c22508b091bd4c9ee123538331571b02b4b77ad641c1ae5d40eb80926802fe [Pipeline] // withDockerContainer [Pipeline] sh 20:33:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:33:41 Warning: overwriting stash ‘coverage-report’ 20:33:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:33:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:33:43 + ls -al . 20:33:43 total 196 20:33:43 drwxrwxr-x 7 jenkins jenkins 4096 Dec 6 20:32 . 20:33:43 drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 20:30 .. 20:33:43 drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 20:30 .git 20:33:43 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:30 .github 20:33:43 -rw-rw-r-- 1 jenkins jenkins 272 Dec 6 20:30 .gitignore 20:33:43 -rw-rw-r-- 1 jenkins jenkins 41 Dec 6 20:30 .golangci.yml 20:33:43 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 6 20:30 Attribution.txt 20:33:43 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 6 20:30 CHANGELOG.md 20:33:43 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 6 20:30 Dockerfile 20:33:43 -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 20:30 GOVERNANCE.md 20:33:43 -rw-rw-r-- 1 jenkins jenkins 660 Dec 6 20:30 Jenkinsfile 20:33:43 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 6 20:30 LICENSE 20:33:43 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 6 20:30 Makefile 20:33:43 -rw-rw-r-- 1 jenkins jenkins 623 Dec 6 20:30 OWNERS.md 20:33:43 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 6 20:30 README.md 20:33:43 -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 20:27 VERSION 20:33:43 drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 20:30 bin 20:33:43 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:30 cmd 20:33:43 -rw-r--r-- 1 jenkins jenkins 43063 Dec 6 20:33 coverage.out 20:33:43 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 6 20:30 go.mod 20:33:43 -rw-rw-r-- 1 jenkins jenkins 34480 Dec 6 20:30 go.sum 20:33:43 drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 20:30 internal 20:33:43 -rw-rw-r-- 1 jenkins jenkins 235 Dec 6 20:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:44 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=8497ed563e756ecd23effc2df9e57162939d1e9f --label arch=arm64 --label version=0.0.0 . 20:33:44 #0 building with "default" instance using docker driver 20:33:44 20:33:44 #1 [internal] load build definition from Dockerfile 20:33:44 #1 transferring dockerfile: 1.79kB 0.0s done 20:33:44 #1 DONE 0.0s 20:33:44 20:33:44 #2 [internal] load .dockerignore 20:33:44 #2 transferring context: 2B 0.0s done 20:33:44 #2 DONE 0.0s 20:33:44 20:33:44 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 20:33:44 #3 DONE 0.0s 20:33:44 20:33:44 #4 [internal] load metadata for docker.io/library/alpine:3.18 20:33:44 #4 DONE 0.2s 20:33:44 20:33:44 #5 [internal] load build context 20:33:44 #5 transferring context: 50.28kB 0.1s done 20:33:44 #5 DONE 0.1s 20:33:44 20:33:44 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:33:44 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 20:33:45 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 20:33:45 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 20:33:45 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 20:33:45 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 20:33:45 #6 ... 20:33:45 20:33:45 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 20:33:45 #7 DONE 0.2s 20:33:45 20:33:45 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:33:45 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s 20:33:45 #6 ... 20:33:45 20:33:45 #8 [builder 2/7] WORKDIR /device-virtual-go 20:33:45 #8 DONE 0.1s 20:33:45 20:33:45 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:33:45 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 20:33:45 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 20:33:45 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 20:33:51 #6 ... 20:33:51 20:33:51 #9 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 20:33:51 #9 0.714 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:33:51 #9 1.123 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:33:51 #9 2.292 OK: 271 MiB in 56 packages 20:33:51 #9 DONE 5.1s 20:33:51 20:33:51 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 20:33:51 #6 DONE 5.5s 20:33:51 20:33:51 #10 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 20:33:51 #10 ... 20:33:51 20:33:51 #11 [builder 4/7] COPY go.mod vendor* ./ 20:33:51 #11 DONE 0.2s 20:33:51 20:33:51 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:52 #12 DONE 1.6s 20:33:52 20:33:52 #13 [builder 6/7] COPY . . 20:33:52 #13 DONE 0.4s 20:33:52 20:33:52 #14 [builder 7/7] RUN make build 20:33:53 #14 ... 20:33:53 20:33:53 #10 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 20:33:53 #10 0.811 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:33:53 #10 1.128 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:33:53 #10 2.225 (1/1) Installing dumb-init (1.2.5-r2) 20:33:53 #10 2.241 Executing busybox-1.36.1-r5.trigger 20:33:53 #10 2.293 OK: 8 MiB in 16 packages 20:33:53 #10 DONE 2.6s 20:33:53 20:33:53 #15 [stage-1 3/7] RUN apk --no-cache upgrade 20:33:54 #15 0.885 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:33:54 #15 1.243 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:33:55 #15 2.340 OK: 8 MiB in 16 packages 20:33:55 #15 DONE 2.6s 20:33:55 20:33:55 #14 [builder 7/7] RUN make build 20:33:55 #14 0.794 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 20:35:17 #14 DONE 71.8s 20:35:17 20:35:17 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 20:35:17 #16 DONE 0.1s 20:35:17 20:35:17 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 20:35:17 #17 DONE 0.1s 20:35:17 20:35:17 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 20:35:17 #18 DONE 0.3s 20:35:17 20:35:17 #19 exporting to image 20:35:17 #19 exporting layers 20:35:17 #19 exporting layers 0.3s done 20:35:17 #19 writing image sha256:0ab535a6a6ae4e563af8b178d107a00acb9d3b690a352af26ec2e016c5858b28 done 20:35:17 #19 naming to docker.io/library/device-virtual-arm64 0.0s done 20:35:17 #19 DONE 0.4s [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:35:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:18 20:35:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:19 arm64: Pulling from edgex-lftools-log-publisher 20:35:19 8998bd30e6a1: Pulling fs layer 20:35:19 04944245beec: Pulling fs layer 20:35:19 699f458cf7ca: Pulling fs layer 20:35:19 765212b225bb: Pulling fs layer 20:35:19 f23df028b6ca: Pulling fs layer 20:35:19 d65c8cfc05b1: Pulling fs layer 20:35:19 2437ff75d9bd: Pulling fs layer 20:35:19 765212b225bb: Waiting 20:35:19 f23df028b6ca: Waiting 20:35:19 d65c8cfc05b1: Waiting 20:35:19 2437ff75d9bd: Waiting 20:35:19 04944245beec: Verifying Checksum 20:35:19 04944245beec: Download complete 20:35:19 765212b225bb: Verifying Checksum 20:35:19 765212b225bb: Download complete 20:35:19 f23df028b6ca: Download complete 20:35:19 d65c8cfc05b1: Verifying Checksum 20:35:19 d65c8cfc05b1: Download complete 20:35:19 699f458cf7ca: Verifying Checksum 20:35:19 699f458cf7ca: Download complete 20:35:20 8998bd30e6a1: Download complete 20:35:21 2437ff75d9bd: Verifying Checksum 20:35:21 2437ff75d9bd: Download complete 20:35:27 8998bd30e6a1: Pull complete 20:35:27 04944245beec: Pull complete 20:35:29 699f458cf7ca: Pull complete 20:35:29 765212b225bb: Pull complete 20:35:30 f23df028b6ca: Pull complete 20:35:30 d65c8cfc05b1: Pull complete 20:35:56 2437ff75d9bd: Pull complete 20:35:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:35:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:35:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:35:57 prd-ubuntu20.04-docker-arm64-4c-16g-24589 does not seem to be running inside a container 20:35:57 $ 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-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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:35:59 $ docker top 4537066d86d23ff7490c7244dacc124168c993035607faae0e01c5d72dab9f36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:00 ---> job-cost.sh 20:36:00 lf-activate-venv: SKIPPING 20:36:00 INFO: No Stack... 20:36:01 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:01 INFO: Archiving Costs [Pipeline] sh 20:36:02 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 20:36:02 + cut -d, -f6 [Pipeline] lock 20:36:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-454-1-stack-cost] 20:36:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-454-1-stack-cost] did not exist. Created. 20:36:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-454-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:02 /w/workspace/device-virtual-go/1@tmp/durable-e5a373e1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:36:03 + echo total: 0.2199999988079071 [Pipeline] stash 20:36:03 Warning: overwriting stash ‘stack-cost’ 20:36:03 Stashed 1 file(s) [Pipeline] } 20:36:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-454-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:03 $ docker stop --time=1 4537066d86d23ff7490c7244dacc124168c993035607faae0e01c5d72dab9f36 20:36:04 $ docker rm -f --volumes 4537066d86d23ff7490c7244dacc124168c993035607faae0e01c5d72dab9f36 [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:36:08 provisioning config files... 20:36:08 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-454@tmp/config3509649304344291384tmp [Pipeline] { [Pipeline] sh 20:36:08 + set +x 20:36:08 + curl -s https://codecov.io/bash 20:36:08 + bash -s -- 20:36:08 20:36:08 _____ _ 20:36:08 / ____| | | 20:36:08 | | ___ __| | ___ ___ _____ __ 20:36:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:36:08 | |___| (_) | (_| | __/ (_| (_) \ V / 20:36:08 \_____\___/ \__,_|\___|\___\___/ \_/ 20:36:08 Bash-1.0.6 20:36:08 20:36:08 20:36:08 ==> git version 2.25.1 found 20:36:08 ==> 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:36:08 Release-Date: 2020-01-08 20:36:08 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:36:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:36:08 ==> Jenkins CI detected. 20:36:08 current dir:  /w/workspace/foundry_device-virtual-go_PR-454 20:36:08 project root: . 20:36:08 --> token set from env 20:36:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:36:08 ==> Running gcov in . (disable via -X gcov) 20:36:08 ==> Python coveragepy not found 20:36:08 ==> Searching for coverage reports in: 20:36:08 + . 20:36:08 -> Found 1 reports 20:36:08 ==> Detecting git/mercurial file structure 20:36:08 ==> Reading reports 20:36:08 + ./coverage.out bytes=43063 20:36:08 ==> Appending adjustments 20:36:08 https://docs.codecov.io/docs/fixing-reports 20:36:08 + Found adjustments 20:36:08 ==> Gzipping contents 20:36:08 8.0K /tmp/codecov.fRNAo4.gz 20:36:08 ==> Uploading reports 20:36:08 url: https://codecov.io 20:36:08 query: branch=PR-454&commit=8497ed563e756ecd23effc2df9e57162939d1e9f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-454%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=454&job=&cmd_args= 20:36:08 -> Pinging Codecov 20:36:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-454&commit=8497ed563e756ecd23effc2df9e57162939d1e9f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-454%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=454&job=&cmd_args= 20:36:08 -> Uploading to 20:36:09 https://storage.googleapis.com/codecov/v4/raw/2023-12-06/5E52B4B073DB2E39498172D8E973AA87/8497ed563e756ecd23effc2df9e57162939d1e9f/8685436b-3047-476d-8c99-cbe65781e032.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T203608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cfb9afe9f1ce9d6232477b3d5385c520e88f8725537fc266dc096b5904c6b41 20:36:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:36:09 Dload Upload Total Spent Left Speed 20:36:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 11815 --:--:-- --:--:-- --:--:-- 11815 20:36:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8497ed563e756ecd23effc2df9e57162939d1e9f [Pipeline] } 20:36:09 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:36:12 + [ -d /w/workspace/foundry_device-virtual-go_PR-454/archives ] 20:36:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-454/archives 20:36:12 total 16 20:36:12 drwxr-xr-x 3 root root 4096 Dec 6 20:28 . 20:36:12 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 20:28 .. 20:36:12 drwxr-xr-x 2 root root 4096 Dec 6 20:28 cost 20:36:12 -rw-r--r-- 1 root root 89 Dec 6 20:28 cost.csv 20:36:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-454/archives 20:36:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-454/archives 20:36:12 total 16 20:36:12 drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 20:28 . 20:36:12 drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 20:28 .. 20:36:12 drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 20:28 cost 20:36:12 -rw-r--r-- 1 jenkins jenkins 89 Dec 6 20:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:36:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:36:13 ---> package-listing.sh 20:36:13 ++ facter osfamily 20:36:13 ++ tr '[:upper:]' '[:lower:]' 20:36:14 + OS_FAMILY=debian 20:36:14 + workspace=/w/workspace/foundry_device-virtual-go_PR-454 20:36:14 + START_PACKAGES=/tmp/packages_start.txt 20:36:14 + END_PACKAGES=/tmp/packages_end.txt 20:36:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:36:14 + PACKAGES=/tmp/packages_start.txt 20:36:14 + '[' /w/workspace/foundry_device-virtual-go_PR-454 ']' 20:36:14 + PACKAGES=/tmp/packages_end.txt 20:36:14 + case "${OS_FAMILY}" in 20:36:14 + dpkg -l 20:36:14 + grep '^ii' 20:36:14 + '[' -f /tmp/packages_start.txt ']' 20:36:14 + '[' -f /tmp/packages_end.txt ']' 20:36:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:36:14 + '[' /w/workspace/foundry_device-virtual-go_PR-454 ']' 20:36:14 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-454/archives/ 20:36:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-454/archives/ [Pipeline] echo 20:36:14 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/foundry_device-virtual-go_PR-454/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:36:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:15 prd-ubuntu20.04-docker-8c-8g-24587 does not seem to be running inside a container 20:36:15 $ 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/foundry_device-virtual-go_PR-454/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-454 -v /w/workspace/foundry_device-virtual-go_PR-454:/w/workspace/foundry_device-virtual-go_PR-454:rw,z -v /w/workspace/foundry_device-virtual-go_PR-454@tmp:/w/workspace/foundry_device-virtual-go_PR-454@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 20:36:15 $ docker top 28d4bccb8347b3f85a8983cd6ed2c90961a2ddf24a725b229ae81a29418f56a9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:16 + touch /tmp/pre-build-complete [Pipeline] sh 20:36:16 + mkdir -p /var/log/sysstat [Pipeline] sh 20:36:16 + ls /var/log/sa-host 20:36:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:16 provisioning config files... 20:36:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-454@tmp/config1685981586397168538tmp [Pipeline] { [Pipeline] echo 20:36:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:36:17 ---> create-netrc.sh [Pipeline] } 20:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:36:17 ---> python-tools-install.sh [Pipeline] echo 20:36:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:36:18 ---> sudo-logs.sh 20:36:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:36:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:36:18 ---> job-cost.sh 20:36:18 lf-activate-venv: SKIPPING 20:36:18 DEBUG: total: 0.2199999988079071 20:36:18 INFO: Retrieving Stack Cost... 20:36:19 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:19 INFO: Archiving Costs [Pipeline] echo 20:36:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:36:19 ---> logs-deploy.sh 20:36:19 lf-activate-venv: SKIPPING 20:36:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-454/1 20:36:19 INFO: archiving workspace using pattern(s): 20:36:20 Archives upload complete. 20:36:21 INFO: archiving logs to Nexus