Pull request #457 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 72636504de5c9eb6379376537ffc357fd53f96f6+fb1784cb48d67777d6d76d542ae5273b128f716d (3800f02b409821ff02aee5742d09d85ca865e63e) 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-ssh11400660867862008230.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-ssh9820327526530430604.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-457/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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5647140143746652286.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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6561094814780902360.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-ssh2385427192998709937.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-457/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-457/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh655610203221113494.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26307 in /w/workspace/foundry_device-virtual-go_PR-457 [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-457 # 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 fb1784cb48d67777d6d76d542ae5273b128f716d into PR head commit 72636504de5c9eb6379376537ffc357fd53f96f6 Merge succeeded, producing 72636504de5c9eb6379376537ffc357fd53f96f6 Checking out Revision 72636504de5c9eb6379376537ffc357fd53f96f6 (PR-457) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72636504de5c9eb6379376537ffc357fd53f96f6 # 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 fb1784cb48d67777d6d76d542ae5273b128f716d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72636504de5c9eb6379376537ffc357fd53f96f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:10:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:10:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:10:25 ========================================================= 11:10:25 EdgeX Global Pipelines Version Info 11:10:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:10:26 ------------------- 11:10:26 stable info: 11:10:26 ------------------- 11:10:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:10:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:10:26 Message: update stable to v1.0.258 11:10:26 ------------------- 11:10:26 experimental info: 11:10:26 ------------------- 11:10:26 Commited By: **** collab-it+edgex@linuxfoundation.org 11:10:26 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:10:26 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:10:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-457 [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-457 [Pipeline] echo 11:10:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-457 [Pipeline] echo 11:10:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72636504de5c9eb6379376537ffc357fd53f96f6 [Pipeline] echo 11:10:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7263650 [Pipeline] echo 11:10:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:29 provisioning config files... 11:10:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-457@tmp/config6621119415548837347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:29 ---> ****-login.sh 11:10:29 nexus3.edgexfoundry.org:10001 11:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:30 Configure a credential helper to remove this warning. See 11:10:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:30 11:10:30 Login Succeeded 11:10:30 nexus3.edgexfoundry.org:10002 11:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:30 Configure a credential helper to remove this warning. See 11:10:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:30 11:10:30 Login Succeeded 11:10:30 nexus3.edgexfoundry.org:10003 11:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:30 Configure a credential helper to remove this warning. See 11:10:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:30 11:10:30 Login Succeeded 11:10:30 nexus3.edgexfoundry.org:10004 11:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:30 Configure a credential helper to remove this warning. See 11:10:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:30 11:10:30 Login Succeeded 11:10:30 ****.io 11:10:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:30 Configure a credential helper to remove this warning. See 11:10:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:30 11:10:30 Login Succeeded 11:10:30 ---> ****-login.sh ends [Pipeline] } 11:10:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:10:31 + git rev-list -1 --merges 72636504de5c9eb6379376537ffc357fd53f96f6~1..72636504de5c9eb6379376537ffc357fd53f96f6 [Pipeline] echo 11:10:31 -----------> git rev-list -1 --merges 72636504de5c9eb6379376537ffc357fd53f96f6~1..72636504de5c9eb6379376537ffc357fd53f96f6 72636504de5c9eb6379376537ffc357fd53f96f6 [false] [Pipeline] sh 11:10:32 + git log --format=format:%s -1 72636504de5c9eb6379376537ffc357fd53f96f6 [Pipeline] echo 11:10:32 ========================================================= 11:10:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:10:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:32 + git log --format=format:%s -1 72636504de5c9eb6379376537ffc357fd53f96f6 [Pipeline] echo 11:10:32 [semverPrep] GIT_COMMIT: 72636504de5c9eb6379376537ffc357fd53f96f6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:10:32 [semverPrep] This is not a build commit. [Pipeline] sh 11:10:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:10:33 + grep -v github /etc/ssh/ssh_known_hosts 11:10:33 + [ -e /tmp/ssh_known_hosts ] 11:10:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:10:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:10:33 + sudo tee -a /etc/ssh/ssh_known_hosts 11:10:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:33 11:10:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:34 0.1.4: Pulling from edgex-devops/py-git-semver 11:10:34 b85a868b505f: Pulling fs layer 11:10:34 e2be974225ed: Pulling fs layer 11:10:34 339a4e72a1f5: Pulling fs layer 11:10:34 988bab9f4d93: Pulling fs layer 11:10:34 1469e6f7b9e6: Pulling fs layer 11:10:34 eaf3925da568: Pulling fs layer 11:10:34 bab4dde63d76: Pulling fs layer 11:10:34 bde34c3a00c8: Pulling fs layer 11:10:34 b352a97aabf1: Pulling fs layer 11:10:34 4872d77fe225: Pulling fs layer 11:10:34 5851b861e8e6: Pulling fs layer 11:10:34 eaf3925da568: Waiting 11:10:34 988bab9f4d93: Waiting 11:10:34 5851b861e8e6: Waiting 11:10:34 1469e6f7b9e6: Waiting 11:10:34 4872d77fe225: Waiting 11:10:34 bde34c3a00c8: Waiting 11:10:34 bab4dde63d76: Waiting 11:10:34 b352a97aabf1: Waiting 11:10:34 e2be974225ed: Verifying Checksum 11:10:34 e2be974225ed: Download complete 11:10:34 988bab9f4d93: Verifying Checksum 11:10:34 988bab9f4d93: Download complete 11:10:34 1469e6f7b9e6: Verifying Checksum 11:10:34 1469e6f7b9e6: Download complete 11:10:34 339a4e72a1f5: Verifying Checksum 11:10:34 339a4e72a1f5: Download complete 11:10:34 eaf3925da568: Verifying Checksum 11:10:34 eaf3925da568: Download complete 11:10:34 bde34c3a00c8: Download complete 11:10:34 b352a97aabf1: Verifying Checksum 11:10:34 b352a97aabf1: Download complete 11:10:34 4872d77fe225: Verifying Checksum 11:10:34 4872d77fe225: Download complete 11:10:34 5851b861e8e6: Verifying Checksum 11:10:34 5851b861e8e6: Download complete 11:10:34 b85a868b505f: Verifying Checksum 11:10:34 b85a868b505f: Download complete 11:10:34 bab4dde63d76: Verifying Checksum 11:10:34 bab4dde63d76: Download complete 11:10:35 b85a868b505f: Pull complete 11:10:35 e2be974225ed: Pull complete 11:10:36 339a4e72a1f5: Pull complete 11:10:36 988bab9f4d93: Pull complete 11:10:36 1469e6f7b9e6: Pull complete 11:10:36 eaf3925da568: Pull complete 11:10:38 bab4dde63d76: Pull complete 11:10:38 bde34c3a00c8: Pull complete 11:10:38 b352a97aabf1: Pull complete 11:10:38 4872d77fe225: Pull complete 11:10:38 5851b861e8e6: Pull complete 11:10:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:10:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:10:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:39 prd-ubuntu20.04-docker-8c-8g-26307 does not seem to be running inside a container 11:10:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-457 -v /w/workspace/foundry_device-virtual-go_PR-457:/w/workspace/foundry_device-virtual-go_PR-457:rw,z -v /w/workspace/foundry_device-virtual-go_PR-457@tmp:/w/workspace/foundry_device-virtual-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:10:42 $ docker top f71bddabe48ba72b676a276d4cc3ebda9a47020dbad6bb38b46a51ea6cd7e243 -eo pid,comm 11:10:42 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). 11:10:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:10:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:42 [ssh-agent] Looking for ssh-agent implementation... 11:10:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:43 $ docker exec f71bddabe48ba72b676a276d4cc3ebda9a47020dbad6bb38b46a51ea6cd7e243 ssh-agent 11:10:43 SSH_AUTH_SOCK=/tmp/ssh-chsqemV3NgJe/agent.32 11:10:43 SSH_AGENT_PID=38 11:10:43 Running ssh-add (command line suppressed) 11:10:43 Identity added: /w/workspace/foundry_device-virtual-go_PR-457@tmp/private_key_11285707876275122988.key (/w/workspace/foundry_device-virtual-go_PR-457@tmp/private_key_11285707876275122988.key) 11:10:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:43 + git tag --points-at HEAD [Pipeline] } 11:10:43 $ docker exec --env ******** --env ******** f71bddabe48ba72b676a276d4cc3ebda9a47020dbad6bb38b46a51ea6cd7e243 ssh-agent -k 11:10:43 unset SSH_AUTH_SOCK; 11:10:43 unset SSH_AGENT_PID; 11:10:43 echo Agent pid 38 killed; 11:10:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:10:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:10:43 [ssh-agent] Looking for ssh-agent implementation... 11:10:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:10:44 $ docker exec f71bddabe48ba72b676a276d4cc3ebda9a47020dbad6bb38b46a51ea6cd7e243 ssh-agent 11:10:44 SSH_AUTH_SOCK=/tmp/ssh-AnSGrTk14CD2/agent.70 11:10:44 SSH_AGENT_PID=76 11:10:44 Running ssh-add (command line suppressed) 11:10:44 Identity added: /w/workspace/foundry_device-virtual-go_PR-457@tmp/private_key_14425711491877842092.key (/w/workspace/foundry_device-virtual-go_PR-457@tmp/private_key_14425711491877842092.key) 11:10:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:10:44 + git semver init 11:10:44 2023-12-28 11:10:44,797 [run_init] DEBUG init version:0.0.0 force:False 11:10:44 2023-12-28 11:10:44,798 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-457/.semver 11:10:44 2023-12-28 11:10:44,798 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-457/.semver 11:10:44 2023-12-28 11:10:44,799 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-457/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-457, universal_newlines=False, shell=None, istream=None) 11:10:46 2023-12-28 11:10:46,262 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-457/.git/info/exclude 11:10:46 2023-12-28 11:10:46,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-457/.semver/PR-457 with force:False 11:10:46 2023-12-28 11:10:46,263 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-457/.semver/PR-457 11:10:46 2023-12-28 11:10:46,267 [execute] INFO git cat-file --batch-check 11:10:46 2023-12-28 11:10:46,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-457/.semver, universal_newlines=False, shell=None, istream=) 11:10:46 2023-12-28 11:10:46,274 [execute] INFO git cat-file --batch 11:10:46 2023-12-28 11:10:46,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-457/.semver, universal_newlines=False, shell=None, istream=) 11:10:46 2023-12-28 11:10:46,284 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-457/.semver/PR-457 11:10:46 0.0.0 [Pipeline] } 11:10:46 $ docker exec --env ******** --env ******** f71bddabe48ba72b676a276d4cc3ebda9a47020dbad6bb38b46a51ea6cd7e243 ssh-agent -k 11:10:46 unset SSH_AUTH_SOCK; 11:10:46 unset SSH_AGENT_PID; 11:10:46 echo Agent pid 76 killed; 11:10:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:47 + git semver [Pipeline] } 11:10:47 $ docker stop --time=1 f71bddabe48ba72b676a276d4cc3ebda9a47020dbad6bb38b46a51ea6cd7e243 11:10:48 $ docker rm -f --volumes f71bddabe48ba72b676a276d4cc3ebda9a47020dbad6bb38b46a51ea6cd7e243 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:10:49 Stashed 1 file(s) [Pipeline] echo 11:10:49 [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 11:10:50 provisioning config files... 11:10:50 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-457@tmp/config13665425513971937736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:51 ---> ****-login.sh 11:10:51 nexus3.edgexfoundry.org:10001 11:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:51 Configure a credential helper to remove this warning. See 11:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:51 11:10:51 Login Succeeded 11:10:51 nexus3.edgexfoundry.org:10002 11:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:51 Configure a credential helper to remove this warning. See 11:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:51 11:10:51 Login Succeeded 11:10:51 nexus3.edgexfoundry.org:10003 11:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:51 Configure a credential helper to remove this warning. See 11:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:51 11:10:51 Login Succeeded 11:10:51 nexus3.edgexfoundry.org:10004 11:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:51 Configure a credential helper to remove this warning. See 11:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:51 11:10:51 Login Succeeded 11:10:51 ****.io 11:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:51 Configure a credential helper to remove this warning. See 11:10:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:51 11:10:51 Login Succeeded 11:10:51 ---> ****-login.sh ends [Pipeline] } 11:10:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:10:52 ========================================================= 11:10:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:10:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:52 + 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 . 11:10:52 Sending build context to Docker daemon 31.59MB 11:10:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:10:52 Step 2/12 : FROM ${BASE} AS builder 11:10:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:10:53 7264a8db6415: Pulling fs layer 11:10:53 c4d48a809fc2: Pulling fs layer 11:10:53 4f1c88b9dad5: Pulling fs layer 11:10:53 ad3a456e5733: Pulling fs layer 11:10:53 69c7f0334f64: Pulling fs layer 11:10:53 1f1c1a5573a3: Pulling fs layer 11:10:53 ce7588e14bc9: Pulling fs layer 11:10:53 b5e4710f87ac: Pulling fs layer 11:10:53 69c7f0334f64: Waiting 11:10:53 1f1c1a5573a3: Waiting 11:10:53 ce7588e14bc9: Waiting 11:10:53 b5e4710f87ac: Waiting 11:10:53 ad3a456e5733: Waiting 11:10:53 c4d48a809fc2: Download complete 11:10:53 ad3a456e5733: Verifying Checksum 11:10:53 ad3a456e5733: Download complete 11:10:53 69c7f0334f64: Verifying Checksum 11:10:53 69c7f0334f64: Download complete 11:10:53 7264a8db6415: Verifying Checksum 11:10:53 7264a8db6415: Download complete 11:10:53 1f1c1a5573a3: Verifying Checksum 11:10:53 1f1c1a5573a3: Download complete 11:10:53 7264a8db6415: Pull complete 11:10:53 b5e4710f87ac: Verifying Checksum 11:10:53 b5e4710f87ac: Download complete 11:10:53 c4d48a809fc2: Pull complete 11:10:53 4f1c88b9dad5: Verifying Checksum 11:10:53 4f1c88b9dad5: Download complete 11:10:54 ce7588e14bc9: Verifying Checksum 11:10:54 ce7588e14bc9: Download complete 11:10:57 4f1c88b9dad5: Pull complete 11:10:57 ad3a456e5733: Pull complete 11:10:57 69c7f0334f64: Pull complete 11:10:57 1f1c1a5573a3: Pull complete 11:10:59 ce7588e14bc9: Pull complete 11:10:59 b5e4710f87ac: Pull complete 11:10:59 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 11:10:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:10:59 ---> 88b5674ff536 11:10:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:11:05 ---> Running in 13871e06171b 11:11:05 Removing intermediate container 13871e06171b 11:11:05 ---> 1720b070f5f3 11:11:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:11:05 ---> Running in 2db097f267fc 11:11:05 Removing intermediate container 2db097f267fc 11:11:05 ---> 797a9bb109ec 11:11:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:11:05 ---> Running in 3b4d2eff69ee 11:11:05 Removing intermediate container 3b4d2eff69ee 11:11:05 ---> 0caa077c91b5 11:11:05 Step 6/12 : WORKDIR /device-virtual-go 11:11:05 ---> Running in d68fd43c4d0c 11:11:05 Removing intermediate container d68fd43c4d0c 11:11:05 ---> 3334b435353e 11:11:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:05 ---> Running in e98915a9e8b7 11:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:11:05 Still waiting to schedule task 11:11:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:11:05 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:11:05 (2/4) Installing libedit (20221030.3.1-r1) 11:11:05 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:11:05 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:11:05 Executing busybox-1.36.1-r5.trigger 11:11:05 OK: 268 MiB in 56 packages 11:11:06 Removing intermediate container e98915a9e8b7 11:11:06 ---> 2e5da8e5b77d 11:11:06 Step 8/12 : COPY go.mod vendor* ./ 11:11:06 ---> 8c3c429ece9a 11:11:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:06 ---> Running in 303eead6f294 11:12:02 Removing intermediate container 303eead6f294 11:12:02 ---> c38684c35472 11:12:02 Step 10/12 : COPY . . 11:12:02 ---> 4f4bbea8e9d7 11:12:02 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:12:02 ---> Running in 88f9b3bf6533 11:12:02 Removing intermediate container 88f9b3bf6533 11:12:02 ---> 3af3f635d411 11:12:02 Step 12/12 : RUN $MAKE 11:12:02 ---> Running in bcbdae0f1c51 11:12:02 noop 11:12:02 Removing intermediate container bcbdae0f1c51 11:12:02 ---> f0d1908322dc 11:12:02 Successfully built f0d1908322dc 11:12:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:03 + docker inspect -f . ci-base-image-x86_64 11:12:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:03 prd-ubuntu20.04-docker-8c-8g-26307 does not seem to be running inside a container 11:12:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-457 -v /w/workspace/foundry_device-virtual-go_PR-457:/w/workspace/foundry_device-virtual-go_PR-457:rw,z -v /w/workspace/foundry_device-virtual-go_PR-457@tmp:/w/workspace/foundry_device-virtual-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:12:03 $ docker top 32554f78a4ed5c026e1162f3c53ace733a76faf2cdfa295ae6797756b69a402b -eo pid,comm [Pipeline] { [Pipeline] sh 11:12:04 + go version 11:12:04 go version go1.21.0 linux/amd64 [Pipeline] } 11:12:04 $ docker stop --time=1 32554f78a4ed5c026e1162f3c53ace733a76faf2cdfa295ae6797756b69a402b 11:12:05 $ docker rm -f --volumes 32554f78a4ed5c026e1162f3c53ace733a76faf2cdfa295ae6797756b69a402b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:06 + docker inspect -f . ci-base-image-x86_64 11:12:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:06 prd-ubuntu20.04-docker-8c-8g-26307 does not seem to be running inside a container 11:12:06 $ 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-457 -v /w/workspace/foundry_device-virtual-go_PR-457:/w/workspace/foundry_device-virtual-go_PR-457:rw,z -v /w/workspace/foundry_device-virtual-go_PR-457@tmp:/w/workspace/foundry_device-virtual-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:12:07 $ docker top 3e12dcb531bd4ee1f19aa04b0f1c5fcab9fc6e2262cfb71f41bf8c2d468401dd -eo pid,comm [Pipeline] { [Pipeline] sh 11:12:07 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-457 [Pipeline] fileExists [Pipeline] sh 11:12:08 + make test 11:12:08 go test ./... -coverprofile=coverage.out 11:12:09 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:12:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:12:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 11:12:24 go vet ./... 11:12:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:12:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:12:28 ./bin/test-attribution-txt.sh [Pipeline] echo 11:12:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:12:31 $ docker stop --time=1 3e12dcb531bd4ee1f19aa04b0f1c5fcab9fc6e2262cfb71f41bf8c2d468401dd 11:12:34 $ docker rm -f --volumes 3e12dcb531bd4ee1f19aa04b0f1c5fcab9fc6e2262cfb71f41bf8c2d468401dd [Pipeline] // withDockerContainer [Pipeline] sh 11:12:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:12:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:36 + ls -al . 11:12:36 total 200 11:12:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 11:12 . 11:12:36 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 11:10 .. 11:12:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 11:12 .git 11:12:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 11:10 .github 11:12:36 -rw-rw-r-- 1 jenkins jenkins 272 Dec 28 11:10 .gitignore 11:12:36 -rw-rw-r-- 1 jenkins jenkins 41 Dec 28 11:10 .golangci.yml 11:12:36 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 11:10 .semver 11:12:36 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 28 11:10 Attribution.txt 11:12:36 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 28 11:10 CHANGELOG.md 11:12:36 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 28 11:10 Dockerfile 11:12:36 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 11:10 GOVERNANCE.md 11:12:36 -rw-rw-r-- 1 jenkins jenkins 660 Dec 28 11:10 Jenkinsfile 11:12:36 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 28 11:10 LICENSE 11:12:36 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 28 11:10 Makefile 11:12:36 -rw-rw-r-- 1 jenkins jenkins 623 Dec 28 11:10 OWNERS.md 11:12:36 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 28 11:10 README.md 11:12:36 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 11:10 VERSION 11:12:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 11:10 bin 11:12:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 11:10 cmd 11:12:36 -rw-r--r-- 1 jenkins jenkins 43063 Dec 28 11:12 coverage.out 11:12:36 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 28 11:10 go.mod 11:12:36 -rw-rw-r-- 1 jenkins jenkins 33989 Dec 28 11:10 go.sum 11:12:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 11:10 internal 11:12:36 -rw-rw-r-- 1 jenkins jenkins 235 Dec 28 11:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:37 + 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=72636504de5c9eb6379376537ffc357fd53f96f6 --label arch=amd64 --label version=0.0.0 . 11:12:37 Sending build context to Docker daemon 31.64MB 11:12:37 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:12:37 Step 2/26 : FROM ${BASE} AS builder 11:12:37 ---> f0d1908322dc 11:12:37 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:12:37 ---> Running in b71a789f6eaa 11:12:37 Removing intermediate container b71a789f6eaa 11:12:37 ---> 0de5f4410660 11:12:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:12:37 ---> Running in 0e405fc51a8c 11:12:37 Removing intermediate container 0e405fc51a8c 11:12:37 ---> 25ca7e3451ed 11:12:37 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:12:37 ---> Running in fcec8da33a52 11:12:37 Removing intermediate container fcec8da33a52 11:12:37 ---> 085599874695 11:12:37 Step 6/26 : WORKDIR /device-virtual-go 11:12:38 ---> Running in b5c14a5655fe 11:12:38 Removing intermediate container b5c14a5655fe 11:12:38 ---> 8945c293982d 11:12:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:38 ---> Running in c347b3898b01 11:12:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:12:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:12:38 OK: 268 MiB in 56 packages 11:12:39 Removing intermediate container c347b3898b01 11:12:39 ---> b41e5e975633 11:12:39 Step 8/26 : COPY go.mod vendor* ./ 11:12:39 ---> 99e572275071 11:12:39 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:12:39 ---> Running in e53e497c14b6 11:12:40 Removing intermediate container e53e497c14b6 11:12:40 ---> c518a9b71398 11:12:40 Step 10/26 : COPY . . 11:12:40 ---> 2c2c228d7a3e 11:12:40 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:12:40 ---> Running in d8076b06da43 11:12:40 Removing intermediate container d8076b06da43 11:12:40 ---> 3ba3f6cd1a4a 11:12:40 Step 12/26 : RUN $MAKE 11:12:40 ---> Running in 56c4a43583ee 11:12:40 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.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:12:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26308 in /w/workspace/foundry_device-virtual-go_PR-457 [Pipeline] { [Pipeline] ws 11:12:55 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:12:58 The recommended git tool is: git 11:12:58 Removing intermediate container 56c4a43583ee 11:12:58 ---> c920e0cba1df 11:12:58 Step 13/26 : FROM alpine:3.18 11:12:58 3.18: Pulling from library/alpine 11:12:59 c926b61bad3b: Pulling fs layer 11:12:59 c926b61bad3b: Verifying Checksum 11:12:59 c926b61bad3b: Download complete 11:12:59 c926b61bad3b: Pull complete 11:12:59 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:12:59 Status: Downloaded newer image for alpine:3.18 11:12:59 ---> b541f2080109 11:12:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:12:59 ---> Running in 4834a27043ba 11:12:59 Removing intermediate container 4834a27043ba 11:12:59 ---> 233cc001f844 11:12:59 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:12:59 ---> Running in c38f87a13ec4 11:13:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:13:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:13:00 (1/1) Installing dumb-init (1.2.5-r2) 11:13:00 Executing busybox-1.36.1-r5.trigger 11:13:00 OK: 7 MiB in 16 packages 11:13:00 Removing intermediate container c38f87a13ec4 11:13:00 ---> be32741dbb76 11:13:00 Step 16/26 : RUN apk --no-cache upgrade 11:13:00 ---> Running in 3c7f2e29d9ef 11:13:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:13:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:13:01 OK: 7 MiB in 16 packages 11:13:01 Removing intermediate container 3c7f2e29d9ef 11:13:01 ---> d05935fd8089 11:13:01 Step 17/26 : WORKDIR / 11:13:01 ---> Running in 6cf64c27c598 11:13:01 Removing intermediate container 6cf64c27c598 11:13:01 ---> 50ed15dc25b9 11:13:01 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:01 ---> 4090ce427241 11:13:01 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:13:02 ---> ba1face434aa 11:13:02 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:13:02 ---> 0d04609f7145 11:13:02 Step 21/26 : EXPOSE 59900 11:13:02 ---> Running in 248c37eec3aa 11:13:02 Removing intermediate container 248c37eec3aa 11:13:02 ---> 53f261b298cf 11:13:02 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:13:02 ---> Running in 5b80e298aaab 11:13:02 Removing intermediate container 5b80e298aaab 11:13:02 ---> ca4ca557a60c 11:13:02 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:13:02 ---> Running in aed356c5e7fd 11:13:03 Removing intermediate container aed356c5e7fd 11:13:03 ---> ac0a634a8606 11:13:03 Step 24/26 : LABEL arch=amd64 11:13:03 ---> Running in beec925c82ab 11:13:03 Removing intermediate container beec925c82ab 11:13:03 ---> c61bda9e633c 11:13:03 Step 25/26 : LABEL git_sha=72636504de5c9eb6379376537ffc357fd53f96f6 11:13:03 ---> Running in 6416b5f7ffd7 11:13:03 Removing intermediate container 6416b5f7ffd7 11:13:03 ---> 715aff841938 11:13:03 Step 26/26 : LABEL version=0.0.0 11:13:03 ---> Running in a69d5d88d9f9 11:13:03 Removing intermediate container a69d5d88d9f9 11:13:03 ---> 5967caf44b13 11:13:03 [Warning] One or more build-args [ARCH] were not consumed 11:13:03 Successfully built 5967caf44b13 11:13:03 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:13:03 using credential edgex-jenkins-ssh 11:13:03 Cloning the remote Git repository [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 11:13:03 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:13:03 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:13:03 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:13:03 > git --version # timeout=10 11:13:03 > git --version # 'git version 2.25.1' 11:13:03 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:04 11:13:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:05 latest: Pulling from edgex-lftools-log-publisher 11:13:05 5eb5b503b376: Pulling fs layer 11:13:05 5c69ac0246d0: Pulling fs layer 11:13:05 ec43610c2a17: Pulling fs layer 11:13:05 3a2ae6a8a46f: Pulling fs layer 11:13:05 33b1e0a273af: Pulling fs layer 11:13:05 5d3b04190fa2: Pulling fs layer 11:13:05 2f39f015ded8: Pulling fs layer 11:13:05 3a2ae6a8a46f: Waiting 11:13:05 33b1e0a273af: Waiting 11:13:05 2f39f015ded8: Waiting 11:13:05 5d3b04190fa2: Waiting 11:13:05 5c69ac0246d0: Verifying Checksum 11:13:05 5c69ac0246d0: Download complete 11:13:05 3a2ae6a8a46f: Verifying Checksum 11:13:05 3a2ae6a8a46f: Download complete 11:13:05 33b1e0a273af: Verifying Checksum 11:13:05 33b1e0a273af: Download complete 11:13:05 ec43610c2a17: Verifying Checksum 11:13:05 ec43610c2a17: Download complete 11:13:05 5d3b04190fa2: Verifying Checksum 11:13:05 5d3b04190fa2: Download complete 11:13:05 5eb5b503b376: Verifying Checksum 11:13:05 5eb5b503b376: Download complete 11:13:06 2f39f015ded8: Download complete 11:13:06 5eb5b503b376: Pull complete 11:13:06 5c69ac0246d0: Pull complete 11:13:07 ec43610c2a17: Pull complete 11:13:07 3a2ae6a8a46f: Pull complete 11:13:07 33b1e0a273af: Pull complete 11:13:07 5d3b04190fa2: Pull complete 11:13:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:13:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:09 Merging remotes/origin/main commit fb1784cb48d67777d6d76d542ae5273b128f716d into PR head commit 72636504de5c9eb6379376537ffc357fd53f96f6 11:13:09 Merge succeeded, producing 72636504de5c9eb6379376537ffc357fd53f96f6 11:13:09 Checking out Revision 72636504de5c9eb6379376537ffc357fd53f96f6 (PR-457) 11:13:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:13:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:13:08 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:13:09 > git config core.sparsecheckout # timeout=10 11:13:09 > git checkout -f 72636504de5c9eb6379376537ffc357fd53f96f6 # timeout=10 11:13:09 > git remote # timeout=10 11:13:09 > git config --get remote.origin.url # timeout=10 11:13:09 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:09 > git merge fb1784cb48d67777d6d76d542ae5273b128f716d # timeout=10 11:13:09 > git rev-parse HEAD^{commit} # timeout=10 11:13:09 > git config core.sparsecheckout # timeout=10 11:13:09 > git checkout -f 72636504de5c9eb6379376537ffc357fd53f96f6 # timeout=10 11:13:10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:13:10 > git --version # timeout=10 11:13:10 > git --version # 'git version 2.25.1' 11:13:10 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:13:10 11:13:10 GitHub has been notified of this commit’s build result 11:13:10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:13:11 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:11 Dload Upload Total Spent Left Speed 11:13:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 114k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 11:13:11 2f39f015ded8: Pull complete 11:13:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 11:13:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:12 prd-ubuntu20.04-docker-8c-8g-26307 does not seem to be running inside a container 11:13:12 $ 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-457 -v /w/workspace/foundry_device-virtual-go_PR-457:/w/workspace/foundry_device-virtual-go_PR-457:rw,z -v /w/workspace/foundry_device-virtual-go_PR-457@tmp:/w/workspace/foundry_device-virtual-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:13:17 $ docker top f75e33297e799dcb722c2a22d24439a725076678992ca1e5ae7a71988710b6f4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 11:13:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:13:17 + sudo tee /etc/docker/daemon.new 11:13:17 { 11:13:17 "registry-mirrors": [ 11:13:17 "https://nexus3.edgexfoundry.org:10001" 11:13:17 ], 11:13:17 "bip": "10.250.0.254/24", 11:13:17 "hosts": [ 11:13:17 "tcp://0.0.0.0:5555", 11:13:17 "unix:///var/run/docker.sock" 11:13:17 ], 11:13:17 "mtu": 1458, 11:13:17 "selinux-enabled": true, 11:13:17 "seccomp-profile": "/etc/docker/seccomp.json" 11:13:17 } [Pipeline] sh 11:13:17 ---> job-cost.sh 11:13:17 lf-activate-venv: SKIPPING 11:13:17 INFO: No Stack... 11:13:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:13:18 + sudo service docker restart 11:13:18 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:18 INFO: Archiving Costs [Pipeline] sh 11:13:18 + cat /w/workspace/foundry_device-virtual-go_PR-457/archives/cost.csv 11:13:18 + cut -d, -f6 [Pipeline] lock 11:13:18 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-457-1-stack-cost] 11:13:18 Resource [jenkins-edgexfoundry-device-virtual-go-PR-457-1-stack-cost] did not exist. Created. 11:13:18 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:19 + echo total: 0.2199999988079071 [Pipeline] stash 11:13:19 Stashed 1 file(s) [Pipeline] } 11:13:19 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:19 $ docker stop --time=1 f75e33297e799dcb722c2a22d24439a725076678992ca1e5ae7a71988710b6f4 11:13:20 $ docker rm -f --volumes f75e33297e799dcb722c2a22d24439a725076678992ca1e5ae7a71988710b6f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:36 provisioning config files... 11:13:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17657279997763234005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:37 ---> ****-login.sh 11:13:37 nexus3.edgexfoundry.org:10001 11:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:37 Configure a credential helper to remove this warning. See 11:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:37 11:13:37 Login Succeeded 11:13:37 nexus3.edgexfoundry.org:10002 11:13:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:37 Configure a credential helper to remove this warning. See 11:13:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:37 11:13:37 Login Succeeded 11:13:37 nexus3.edgexfoundry.org:10003 11:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:38 Configure a credential helper to remove this warning. See 11:13:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:38 11:13:38 Login Succeeded 11:13:38 nexus3.edgexfoundry.org:10004 11:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:38 Configure a credential helper to remove this warning. See 11:13:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:38 11:13:38 Login Succeeded 11:13:38 ****.io 11:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:39 Configure a credential helper to remove this warning. See 11:13:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:39 11:13:39 Login Succeeded 11:13:39 ---> ****-login.sh ends [Pipeline] } 11:13:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:13:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:13:39 ========================================================= 11:13:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:13:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:40 + 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 . 11:13:41 #0 building with "default" instance using docker driver 11:13:41 11:13:41 #1 [internal] load .dockerignore 11:13:41 #1 transferring context: 2B done 11:13:41 #1 DONE 0.1s 11:13:41 11:13:41 #2 [internal] load build definition from Dockerfile 11:13:41 #2 transferring dockerfile: 1.79kB 0.0s done 11:13:41 #2 DONE 0.1s 11:13:41 11:13:41 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:13:41 #3 DONE 0.1s 11:13:41 11:13:41 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:13:41 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 11:13:41 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 11:13:41 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 11:13:41 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 11:13:41 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 11:13:41 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 11:13:42 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 11:13:42 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 11:13:42 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.60MB / 63.99MB 0.3s 11:13:42 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 11:13:42 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 11:13:42 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 11:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 348.16kB / 97.63MB 0.3s 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.49MB / 63.99MB 0.4s 11:13:42 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.00MB / 11.40MB 0.4s 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s 11:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.5s 11:13:42 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.6s 11:13:42 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.6s 11:13:42 #4 ... 11:13:42 11:13:42 #5 [internal] load build context 11:13:42 #5 transferring context: 15.81MB 0.6s done 11:13:42 #5 DONE 0.7s 11:13:42 11:13:42 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.70MB / 63.99MB 0.8s 11:13:42 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 11:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.62MB / 97.63MB 0.8s 11:13:42 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.9s 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.23MB / 63.99MB 1.0s 11:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.41MB / 97.63MB 1.0s 11:13:42 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 1.1s 11:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 35.65MB / 97.63MB 1.1s 11:13:42 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 51.29MB / 63.99MB 1.2s 11:13:42 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 41.51MB / 97.63MB 1.2s 11:13:42 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 11:13:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.83MB / 63.99MB 1.4s 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.43MB / 97.63MB 1.4s 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.45MB / 97.63MB 1.5s 11:13:43 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.6s 11:13:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.21MB / 97.63MB 1.7s 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.79MB / 97.63MB 1.8s 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 1.9s 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.22MB / 97.63MB 2.0s 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.37MB / 97.63MB 2.1s 11:13:43 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 11:13:49 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s 11:13:54 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.6s 11:14:01 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.8s done 11:14:01 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 11:14:01 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 11:14:01 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11:14:07 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 11:14:09 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.0s done 11:14:09 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11:14:11 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 11:14:11 #4 DONE 30.1s 11:14:11 11:14:11 #6 [builder 2/7] WORKDIR /device-virtual-go 11:14:13 #6 DONE 1.6s 11:14:13 11:14:13 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 11:14:14 #7 0.666 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:14:14 #7 1.035 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:14:15 #7 2.007 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:14:15 #7 2.030 (2/4) Installing libedit (20221030.3.1-r1) 11:14:15 #7 2.041 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:14:15 #7 2.104 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:14:15 #7 2.132 Executing busybox-1.36.1-r5.trigger 11:14:15 #7 2.166 OK: 271 MiB in 56 packages 11:14:15 #7 DONE 2.4s 11:14:15 11:14:15 #8 [builder 4/7] COPY go.mod vendor* ./ 11:14:15 #8 DONE 0.1s 11:14:15 11:14:15 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:14:42 #9 DONE 22.6s 11:14:42 11:14:42 #10 [builder 6/7] COPY . . 11:14:42 #10 DONE 0.3s 11:14:42 11:14:42 #11 [builder 7/7] RUN echo noop 11:14:42 #11 0.548 noop 11:14:42 #11 DONE 0.6s 11:14:42 11:14:42 #12 exporting to image 11:14:42 #12 exporting layers 11:15:04 #12 exporting layers 21.7s done 11:15:04 #12 writing image sha256:c77b6d279f72789c42ed51965680f1b81cd66f4efda236c743a995c83540b059 done 11:15:04 #12 naming to docker.io/library/ci-base-image-arm64 done 11:15:04 #12 DONE 21.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:05 + docker inspect -f . ci-base-image-arm64 11:15:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:05 prd-ubuntu20.04-docker-arm64-4c-16g-26308 does not seem to be running inside a container 11:15:05 $ 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 ******** ci-base-image-arm64 cat 11:15:06 $ docker top 94907ea339c30159f4e865e630debbdf19d46b34901dc78da50c68b0318faa5a -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:07 + go version 11:15:07 go version go1.21.0 linux/arm64 [Pipeline] } 11:15:07 $ docker stop --time=1 94907ea339c30159f4e865e630debbdf19d46b34901dc78da50c68b0318faa5a 11:15:09 $ docker rm -f --volumes 94907ea339c30159f4e865e630debbdf19d46b34901dc78da50c68b0318faa5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:10 + docker inspect -f . ci-base-image-arm64 11:15:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:15:10 prd-ubuntu20.04-docker-arm64-4c-16g-26308 does not seem to be running inside a container 11:15:10 $ 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 ******** ci-base-image-arm64 cat 11:15:11 $ docker top 4c3216707fbce0045ca65f58bf15f3a4a2b49e735b29c99400d74f0695b1d8ff -eo pid,comm [Pipeline] { [Pipeline] sh 11:15:12 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:15:12 + make test 11:15:12 go test ./... -coverprofile=coverage.out 11:15:16 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:16:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:16:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.062s coverage: 58.4% of statements 11:16:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:16:13 go vet ./... 11:16:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:16:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:16:18 ./bin/test-attribution-txt.sh [Pipeline] echo 11:16:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:16:19 $ docker stop --time=1 4c3216707fbce0045ca65f58bf15f3a4a2b49e735b29c99400d74f0695b1d8ff 11:16:20 $ docker rm -f --volumes 4c3216707fbce0045ca65f58bf15f3a4a2b49e735b29c99400d74f0695b1d8ff [Pipeline] // withDockerContainer [Pipeline] sh 11:16:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:16:22 Warning: overwriting stash ‘coverage-report’ 11:16:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:16:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:16:23 + ls -al . 11:16:23 total 196 11:16:23 drwxrwxr-x 7 jenkins jenkins 4096 Dec 28 11:15 . 11:16:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 11:13 .. 11:16:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 11:13 .git 11:16:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 11:13 .github 11:16:23 -rw-rw-r-- 1 jenkins jenkins 272 Dec 28 11:13 .gitignore 11:16:23 -rw-rw-r-- 1 jenkins jenkins 41 Dec 28 11:13 .golangci.yml 11:16:23 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 28 11:13 Attribution.txt 11:16:23 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 28 11:13 CHANGELOG.md 11:16:23 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 28 11:13 Dockerfile 11:16:23 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 11:13 GOVERNANCE.md 11:16:23 -rw-rw-r-- 1 jenkins jenkins 660 Dec 28 11:13 Jenkinsfile 11:16:23 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 28 11:13 LICENSE 11:16:23 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 28 11:13 Makefile 11:16:23 -rw-rw-r-- 1 jenkins jenkins 623 Dec 28 11:13 OWNERS.md 11:16:23 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 28 11:13 README.md 11:16:23 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 11:10 VERSION 11:16:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 11:13 bin 11:16:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 11:13 cmd 11:16:23 -rw-r--r-- 1 jenkins jenkins 43063 Dec 28 11:16 coverage.out 11:16:23 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 28 11:13 go.mod 11:16:23 -rw-rw-r-- 1 jenkins jenkins 33989 Dec 28 11:13 go.sum 11:16:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 11:13 internal 11:16:23 -rw-rw-r-- 1 jenkins jenkins 235 Dec 28 11:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:24 + 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=72636504de5c9eb6379376537ffc357fd53f96f6 --label arch=arm64 --label version=0.0.0 . 11:16:25 #0 building with "default" instance using docker driver 11:16:25 11:16:25 #1 [internal] load build definition from Dockerfile 11:16:25 #1 transferring dockerfile: 1.79kB done 11:16:25 #1 DONE 0.0s 11:16:25 11:16:25 #2 [internal] load .dockerignore 11:16:25 #2 transferring context: 2B done 11:16:25 #2 DONE 0.0s 11:16:25 11:16:25 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 11:16:25 #3 DONE 0.0s 11:16:25 11:16:25 #4 [internal] load metadata for docker.io/library/alpine:3.18 11:16:25 #4 DONE 0.2s 11:16:25 11:16:25 #5 [internal] load build context 11:16:25 #5 DONE 0.0s 11:16:25 11:16:25 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:16:25 #6 DONE 0.0s 11:16:25 11:16:25 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 11:16:25 #7 ... 11:16:25 11:16:25 #5 [internal] load build context 11:16:25 #5 transferring context: 51.61kB 0.0s done 11:16:25 #5 DONE 0.1s 11:16:25 11:16:25 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 11:16:25 #7 DONE 0.2s 11:16:25 11:16:25 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:16:25 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 11:16:25 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 11:16:25 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 11:16:25 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 11:16:25 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 11:16:25 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 11:16:25 #6 ... 11:16:25 11:16:25 #8 [builder 2/7] WORKDIR /device-virtual-go 11:16:25 #8 DONE 0.1s 11:16:25 11:16:25 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:16:26 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 11:16:26 #6 DONE 0.9s 11:16:26 11:16:26 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:16:26 #9 0.651 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:16:27 #9 0.976 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:16:28 #9 ... 11:16:28 11:16:28 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 11:16:28 #10 0.687 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:16:28 #10 1.126 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:16:28 #10 2.180 OK: 271 MiB in 56 packages 11:16:28 #10 DONE 2.5s 11:16:28 11:16:28 #11 [builder 4/7] COPY go.mod vendor* ./ 11:16:28 #11 DONE 0.1s 11:16:28 11:16:28 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:16:28 #9 2.014 (1/1) Installing dumb-init (1.2.5-r2) 11:16:28 #9 2.029 Executing busybox-1.36.1-r5.trigger 11:16:28 #9 2.055 OK: 8 MiB in 16 packages 11:16:28 #9 DONE 2.4s 11:16:28 11:16:28 #12 [stage-1 3/7] RUN apk --no-cache upgrade 11:16:31 #12 2.622 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:16:31 #12 ... 11:16:31 11:16:31 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:16:31 #13 DONE 3.0s 11:16:31 11:16:31 #14 [builder 6/7] COPY . . 11:16:31 #14 DONE 0.4s 11:16:31 11:16:31 #12 [stage-1 3/7] RUN apk --no-cache upgrade 11:16:31 #12 2.999 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:16:32 #12 4.058 OK: 8 MiB in 16 packages 11:16:32 #12 DONE 4.3s 11:16:32 11:16:32 #15 [builder 7/7] RUN make build 11:16:32 #15 0.670 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.5" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:17:40 #15 DONE 58.5s 11:17:40 11:17:40 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 11:17:40 #16 DONE 0.1s 11:17:40 11:17:40 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 11:17:40 #17 DONE 0.1s 11:17:40 11:17:40 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 11:17:40 #18 DONE 0.2s 11:17:40 11:17:40 #19 exporting to image 11:17:40 #19 exporting layers 11:17:40 #19 exporting layers 0.3s done 11:17:40 #19 writing image sha256:5eaf3a59cf5400baa35d3d209660ae8a4ed0558dee15aacf8b0d93d3367b97f6 done 11:17:40 #19 naming to docker.io/library/device-virtual-arm64 11:17:40 #19 naming to docker.io/library/device-virtual-arm64 done 11:17:40 #19 DONE 0.3s [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 11:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:42 11:17:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:42 arm64: Pulling from edgex-lftools-log-publisher 11:17:42 8998bd30e6a1: Pulling fs layer 11:17:42 04944245beec: Pulling fs layer 11:17:42 699f458cf7ca: Pulling fs layer 11:17:42 765212b225bb: Pulling fs layer 11:17:42 f23df028b6ca: Pulling fs layer 11:17:42 d65c8cfc05b1: Pulling fs layer 11:17:42 2437ff75d9bd: Pulling fs layer 11:17:42 d65c8cfc05b1: Waiting 11:17:42 f23df028b6ca: Waiting 11:17:42 2437ff75d9bd: Waiting 11:17:42 04944245beec: Verifying Checksum 11:17:42 04944245beec: Download complete 11:17:42 765212b225bb: Verifying Checksum 11:17:42 765212b225bb: Download complete 11:17:42 f23df028b6ca: Verifying Checksum 11:17:42 f23df028b6ca: Download complete 11:17:42 d65c8cfc05b1: Download complete 11:17:42 699f458cf7ca: Verifying Checksum 11:17:43 699f458cf7ca: Download complete 11:17:43 8998bd30e6a1: Verifying Checksum 11:17:43 8998bd30e6a1: Download complete 11:17:45 2437ff75d9bd: Verifying Checksum 11:17:45 2437ff75d9bd: Download complete 11:17:50 8998bd30e6a1: Pull complete 11:17:50 04944245beec: Pull complete 11:17:52 699f458cf7ca: Pull complete 11:17:52 765212b225bb: Pull complete 11:17:53 f23df028b6ca: Pull complete 11:17:53 d65c8cfc05b1: Pull complete 11:18:15 2437ff75d9bd: Pull complete 11:18:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:18:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:18:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:16 prd-ubuntu20.04-docker-arm64-4c-16g-26308 does not seem to be running inside a container 11:18:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:18:18 $ docker top fecedce0fa6606189db02b958048ee2b6cf077762e52edcab32acc1a62d0803e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:18 ---> job-cost.sh 11:18:19 lf-activate-venv: SKIPPING 11:18:19 INFO: No Stack... 11:18:19 INFO: Retrieving Pricing Info for: v3-standard-8 11:18:20 INFO: Archiving Costs [Pipeline] sh 11:18:20 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:18:20 + cut -d, -f6 [Pipeline] lock 11:18:20 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-457-1-stack-cost] 11:18:20 Resource [jenkins-edgexfoundry-device-virtual-go-PR-457-1-stack-cost] did not exist. Created. 11:18:20 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:18:21 /w/workspace/device-virtual-go/1@tmp/durable-9ade8bb3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:18:21 + echo total: 0.2199999988079071 [Pipeline] stash 11:18:21 Warning: overwriting stash ‘stack-cost’ 11:18:21 Stashed 1 file(s) [Pipeline] } 11:18:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:18:22 $ docker stop --time=1 fecedce0fa6606189db02b958048ee2b6cf077762e52edcab32acc1a62d0803e 11:18:23 $ docker rm -f --volumes fecedce0fa6606189db02b958048ee2b6cf077762e52edcab32acc1a62d0803e [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 11:18:25 provisioning config files... 11:18:25 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-457@tmp/config14316875784596515449tmp [Pipeline] { [Pipeline] sh 11:18:26 + set +x 11:18:26 + curl -s https://codecov.io/bash 11:18:26 + bash -s -- 11:18:26 11:18:26 _____ _ 11:18:26 / ____| | | 11:18:26 | | ___ __| | ___ ___ _____ __ 11:18:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:18:26 | |___| (_) | (_| | __/ (_| (_) \ V / 11:18:26 \_____\___/ \__,_|\___|\___\___/ \_/ 11:18:26 Bash-1.0.6 11:18:26 11:18:26 11:18:26 ==> git version 2.25.1 found 11:18:26 ==> 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 11:18:26 Release-Date: 2020-01-08 11:18:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:18:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:18:26 ==> Jenkins CI detected. 11:18:26 current dir:  /w/workspace/foundry_device-virtual-go_PR-457 11:18:26 project root: . 11:18:26 --> token set from env 11:18:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:18:26 ==> Running gcov in . (disable via -X gcov) 11:18:26 ==> Python coveragepy not found 11:18:26 ==> Searching for coverage reports in: 11:18:26 + . 11:18:26 -> Found 1 reports 11:18:26 ==> Detecting git/mercurial file structure 11:18:26 ==> Reading reports 11:18:26 + ./coverage.out bytes=43063 11:18:26 ==> Appending adjustments 11:18:26 https://docs.codecov.io/docs/fixing-reports 11:18:26 + Found adjustments 11:18:26 ==> Gzipping contents 11:18:26 8.0K /tmp/codecov.Pk5Ure.gz 11:18:26 ==> Uploading reports 11:18:26 url: https://codecov.io 11:18:26 query: branch=PR-457&commit=72636504de5c9eb6379376537ffc357fd53f96f6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=457&job=&cmd_args= 11:18:26 -> Pinging Codecov 11:18:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-457&commit=72636504de5c9eb6379376537ffc357fd53f96f6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=457&job=&cmd_args= 11:18:26 -> Uploading to 11:18:26 https://storage.googleapis.com/codecov/v4/raw/2023-12-28/5E52B4B073DB2E39498172D8E973AA87/72636504de5c9eb6379376537ffc357fd53f96f6/347f319b-ec62-4239-83d9-df5cfdbcc555.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231228T111826Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1b2162008679dd1f2ed602a291fd5e0509c72da08e675c97e355d243d9b6de1 11:18:26 % Total % Received % Xferd Average Speed Time Time Time Current 11:18:26 Dload Upload Total Spent Left Speed 11:18:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 24028 --:--:-- --:--:-- --:--:-- 23913 100 4998 0 0 100 4998 0 21268 --:--:-- --:--:-- --:--:-- 21177 11:18:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/72636504de5c9eb6379376537ffc357fd53f96f6 [Pipeline] } 11:18:26 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 11:18:30 + [ -d /w/workspace/foundry_device-virtual-go_PR-457/archives ] 11:18:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-457/archives 11:18:30 total 16 11:18:30 drwxr-xr-x 3 root root 4096 Dec 28 11:13 . 11:18:30 drwxrwxr-x 9 jenkins jenkins 4096 Dec 28 11:13 .. 11:18:30 drwxr-xr-x 2 root root 4096 Dec 28 11:13 cost 11:18:30 -rw-r--r-- 1 root root 89 Dec 28 11:13 cost.csv 11:18:30 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-457/archives 11:18:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-457/archives 11:18:30 total 16 11:18:30 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 11:13 . 11:18:30 drwxrwxr-x 9 jenkins jenkins 4096 Dec 28 11:13 .. 11:18:30 drwxr-xr-x 2 jenkins jenkins 4096 Dec 28 11:13 cost 11:18:30 -rw-r--r-- 1 jenkins jenkins 89 Dec 28 11:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:18:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:18:31 ---> package-listing.sh 11:18:31 ++ facter osfamily 11:18:31 ++ tr '[:upper:]' '[:lower:]' 11:18:31 + OS_FAMILY=debian 11:18:31 + workspace=/w/workspace/foundry_device-virtual-go_PR-457 11:18:31 + START_PACKAGES=/tmp/packages_start.txt 11:18:31 + END_PACKAGES=/tmp/packages_end.txt 11:18:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:18:31 + PACKAGES=/tmp/packages_start.txt 11:18:31 + '[' /w/workspace/foundry_device-virtual-go_PR-457 ']' 11:18:31 + PACKAGES=/tmp/packages_end.txt 11:18:31 + case "${OS_FAMILY}" in 11:18:31 + dpkg -l 11:18:31 + grep '^ii' 11:18:31 + '[' -f /tmp/packages_start.txt ']' 11:18:31 + '[' -f /tmp/packages_end.txt ']' 11:18:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:18:31 + '[' /w/workspace/foundry_device-virtual-go_PR-457 ']' 11:18:31 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-457/archives/ 11:18:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-457/archives/ [Pipeline] echo 11:18:31 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-457/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:18:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:32 prd-ubuntu20.04-docker-8c-8g-26307 does not seem to be running inside a container 11:18:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-457/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-457 -v /w/workspace/foundry_device-virtual-go_PR-457:/w/workspace/foundry_device-virtual-go_PR-457:rw,z -v /w/workspace/foundry_device-virtual-go_PR-457@tmp:/w/workspace/foundry_device-virtual-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:18:33 $ docker top cd8539fc2b3ab47e08a9e3ceb5bfa30fd0def096a28158cf4c34b6efab193ca2 -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:33 + touch /tmp/pre-build-complete [Pipeline] sh 11:18:33 + mkdir -p /var/log/sysstat [Pipeline] sh 11:18:34 + ls /var/log/sa-host 11:18:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:18:34 provisioning config files... 11:18:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-457@tmp/config9343987431613659716tmp [Pipeline] { [Pipeline] echo 11:18:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:18:34 ---> create-netrc.sh [Pipeline] } 11:18:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:18:35 ---> python-tools-install.sh [Pipeline] echo 11:18:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:18:35 ---> sudo-logs.sh 11:18:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:18:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:18:36 ---> job-cost.sh 11:18:36 lf-activate-venv: SKIPPING 11:18:36 DEBUG: total: 0.2199999988079071 11:18:36 INFO: Retrieving Stack Cost... 11:18:36 INFO: Retrieving Pricing Info for: v3-standard-8 11:18:36 INFO: Archiving Costs [Pipeline] echo 11:18:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:18:37 ---> logs-deploy.sh 11:18:37 lf-activate-venv: SKIPPING 11:18:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-457/1 11:18:37 INFO: archiving workspace using pattern(s): 11:18:38 Archives upload complete. 11:18:38 INFO: archiving logs to Nexus