Pull request #459 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f61d6a80a9ee63caca16269354be81377a0c164+365ac2a07f0ac486dbd6b6e6acfd23c5b078805f (8b1f87d439b10afb0206cb89cf377293a1da265c) 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-ssh18187822381511414791.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-ssh17242515511126233676.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-459/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-459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2481850248186848365.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-459/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3045484129235502029.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-ssh1785801507199174549.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-459/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-459/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14811251332174077848.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-27899 in /w/workspace/foundry_device-virtual-go_PR-459 [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-459 # 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 > 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/459/head:refs/remotes/origin/PR-459 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f into PR head commit 1f61d6a80a9ee63caca16269354be81377a0c164 Merge succeeded, producing 1f61d6a80a9ee63caca16269354be81377a0c164 Checking out Revision 1f61d6a80a9ee63caca16269354be81377a0c164 (PR-459) 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 [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f 1f61d6a80a9ee63caca16269354be81377a0c164 # 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 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f61d6a80a9ee63caca16269354be81377a0c164 # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:06:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:06:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:06:12 ========================================================= 11:06:12 EdgeX Global Pipelines Version Info 11:06:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:12 ------------------- 11:06:12 stable info: 11:06:12 ------------------- 11:06:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:12 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:06:12 Message: update stable to v1.0.258 11:06:13 ------------------- 11:06:13 experimental info: 11:06:13 ------------------- 11:06:13 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:13 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:06:13 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:06:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:06:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-459 [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-459 [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-459 [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f61d6a80a9ee63caca16269354be81377a0c164 [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f61d6a [Pipeline] echo 11:06:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:16 provisioning config files... 11:06:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-459@tmp/config10227547927287775664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:16 ---> ****-login.sh 11:06:16 nexus3.edgexfoundry.org:10001 11:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:16 Configure a credential helper to remove this warning. See 11:06:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:16 11:06:16 Login Succeeded 11:06:16 nexus3.edgexfoundry.org:10002 11:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 nexus3.edgexfoundry.org:10003 11:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 nexus3.edgexfoundry.org:10004 11:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 ****.io 11:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:17 Configure a credential helper to remove this warning. See 11:06:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:17 11:06:17 Login Succeeded 11:06:17 ---> ****-login.sh ends [Pipeline] } 11:06:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:06:18 + git rev-list -1 --merges 1f61d6a80a9ee63caca16269354be81377a0c164~1..1f61d6a80a9ee63caca16269354be81377a0c164 [Pipeline] echo 11:06:18 -----------> git rev-list -1 --merges 1f61d6a80a9ee63caca16269354be81377a0c164~1..1f61d6a80a9ee63caca16269354be81377a0c164 1f61d6a80a9ee63caca16269354be81377a0c164 [false] [Pipeline] sh 11:06:18 + git log --format=format:%s -1 1f61d6a80a9ee63caca16269354be81377a0c164 [Pipeline] echo 11:06:18 ========================================================= 11:06:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:06:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:19 + git log --format=format:%s -1 1f61d6a80a9ee63caca16269354be81377a0c164 [Pipeline] echo 11:06:19 [semverPrep] GIT_COMMIT: 1f61d6a80a9ee63caca16269354be81377a0c164, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:06:19 [semverPrep] This is not a build commit. [Pipeline] sh 11:06:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:19 + grep -v github /etc/ssh/ssh_known_hosts 11:06:19 + [ -e /tmp/ssh_known_hosts ] 11:06:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:06:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:06:19 + sudo tee -a /etc/ssh/ssh_known_hosts 11:06:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:20 11:06:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:20 0.1.4: Pulling from edgex-devops/py-git-semver 11:06:20 b85a868b505f: Pulling fs layer 11:06:20 e2be974225ed: Pulling fs layer 11:06:20 339a4e72a1f5: Pulling fs layer 11:06:20 988bab9f4d93: Pulling fs layer 11:06:20 1469e6f7b9e6: Pulling fs layer 11:06:20 eaf3925da568: Pulling fs layer 11:06:20 988bab9f4d93: Waiting 11:06:20 1469e6f7b9e6: Waiting 11:06:20 eaf3925da568: Waiting 11:06:20 bab4dde63d76: Pulling fs layer 11:06:20 bde34c3a00c8: Pulling fs layer 11:06:20 b352a97aabf1: Pulling fs layer 11:06:20 4872d77fe225: Pulling fs layer 11:06:20 5851b861e8e6: Pulling fs layer 11:06:20 bab4dde63d76: Waiting 11:06:20 4872d77fe225: Waiting 11:06:20 5851b861e8e6: Waiting 11:06:20 bde34c3a00c8: Waiting 11:06:20 b352a97aabf1: Waiting 11:06:20 e2be974225ed: Download complete 11:06:20 988bab9f4d93: Verifying Checksum 11:06:20 988bab9f4d93: Download complete 11:06:20 1469e6f7b9e6: Verifying Checksum 11:06:20 1469e6f7b9e6: Download complete 11:06:20 eaf3925da568: Verifying Checksum 11:06:20 eaf3925da568: Download complete 11:06:20 339a4e72a1f5: Verifying Checksum 11:06:20 339a4e72a1f5: Download complete 11:06:21 bde34c3a00c8: Verifying Checksum 11:06:21 bde34c3a00c8: Download complete 11:06:21 b352a97aabf1: Verifying Checksum 11:06:21 b352a97aabf1: Download complete 11:06:21 4872d77fe225: Verifying Checksum 11:06:21 4872d77fe225: Download complete 11:06:21 5851b861e8e6: Download complete 11:06:21 b85a868b505f: Verifying Checksum 11:06:21 b85a868b505f: Download complete 11:06:21 bab4dde63d76: Verifying Checksum 11:06:21 bab4dde63d76: Download complete 11:06:22 b85a868b505f: Pull complete 11:06:22 e2be974225ed: Pull complete 11:06:22 339a4e72a1f5: Pull complete 11:06:22 988bab9f4d93: Pull complete 11:06:23 1469e6f7b9e6: Pull complete 11:06:23 eaf3925da568: Pull complete 11:06:24 bab4dde63d76: Pull complete 11:06:24 bde34c3a00c8: Pull complete 11:06:24 b352a97aabf1: Pull complete 11:06:24 4872d77fe225: Pull complete 11:06:25 5851b861e8e6: Pull complete 11:06:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:06:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:25 prd-ubuntu20.04-docker-8c-8g-27899 does not seem to be running inside a container 11:06:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-459 -v /w/workspace/foundry_device-virtual-go_PR-459:/w/workspace/foundry_device-virtual-go_PR-459:rw,z -v /w/workspace/foundry_device-virtual-go_PR-459@tmp:/w/workspace/foundry_device-virtual-go_PR-459@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:06:28 $ docker top 7666cc92328293b6b54b53fea6e77d50b36c12875790445247a90bde1027c2ac -eo pid,comm 11:06:29 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:06:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:29 [ssh-agent] Looking for ssh-agent implementation... 11:06:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:29 $ docker exec 7666cc92328293b6b54b53fea6e77d50b36c12875790445247a90bde1027c2ac ssh-agent 11:06:29 SSH_AUTH_SOCK=/tmp/ssh-STNrJ6zZWeXM/agent.32 11:06:29 SSH_AGENT_PID=38 11:06:29 Running ssh-add (command line suppressed) 11:06:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-459@tmp/private_key_18177863414787136952.key (/w/workspace/foundry_device-virtual-go_PR-459@tmp/private_key_18177863414787136952.key) 11:06:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:29 + git tag --points-at HEAD [Pipeline] } 11:06:29 $ docker exec --env ******** --env ******** 7666cc92328293b6b54b53fea6e77d50b36c12875790445247a90bde1027c2ac ssh-agent -k 11:06:30 unset SSH_AUTH_SOCK; 11:06:30 unset SSH_AGENT_PID; 11:06:30 echo Agent pid 38 killed; 11:06:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:06:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:30 [ssh-agent] Looking for ssh-agent implementation... 11:06:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:30 $ docker exec 7666cc92328293b6b54b53fea6e77d50b36c12875790445247a90bde1027c2ac ssh-agent 11:06:30 SSH_AUTH_SOCK=/tmp/ssh-77XtBj8zamoW/agent.70 11:06:30 SSH_AGENT_PID=76 11:06:30 Running ssh-add (command line suppressed) 11:06:30 Identity added: /w/workspace/foundry_device-virtual-go_PR-459@tmp/private_key_4356277453733667139.key (/w/workspace/foundry_device-virtual-go_PR-459@tmp/private_key_4356277453733667139.key) 11:06:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:30 + git semver init 11:06:31 2024-01-25 11:06:31,130 [run_init] DEBUG init version:0.0.0 force:False 11:06:31 2024-01-25 11:06:31,131 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-459/.semver 11:06:31 2024-01-25 11:06:31,132 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-459/.semver 11:06:31 2024-01-25 11:06:31,132 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-459/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-459, universal_newlines=False, shell=None, istream=None) 11:06:33 2024-01-25 11:06:32,583 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-459/.git/info/exclude 11:06:33 2024-01-25 11:06:32,583 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-459/.semver/PR-459 with force:False 11:06:33 2024-01-25 11:06:32,583 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-459/.semver/PR-459 11:06:33 2024-01-25 11:06:32,586 [execute] INFO git cat-file --batch-check 11:06:33 2024-01-25 11:06:32,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-459/.semver, universal_newlines=False, shell=None, istream=) 11:06:33 2024-01-25 11:06:32,592 [execute] INFO git cat-file --batch 11:06:33 2024-01-25 11:06:32,593 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-459/.semver, universal_newlines=False, shell=None, istream=) 11:06:33 2024-01-25 11:06:32,598 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-459/.semver/PR-459 11:06:33 0.0.0 [Pipeline] } 11:06:33 $ docker exec --env ******** --env ******** 7666cc92328293b6b54b53fea6e77d50b36c12875790445247a90bde1027c2ac ssh-agent -k 11:06:33 unset SSH_AUTH_SOCK; 11:06:33 unset SSH_AGENT_PID; 11:06:33 echo Agent pid 76 killed; 11:06:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:33 + git semver [Pipeline] } 11:06:34 $ docker stop --time=1 7666cc92328293b6b54b53fea6e77d50b36c12875790445247a90bde1027c2ac 11:06:35 $ docker rm -f --volumes 7666cc92328293b6b54b53fea6e77d50b36c12875790445247a90bde1027c2ac [Pipeline] // withDockerContainer [Pipeline] sh 11:06:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:06:36 Stashed 1 file(s) [Pipeline] echo 11:06:36 [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:06:37 provisioning config files... 11:06:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-459@tmp/config13327953193292831966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:37 ---> ****-login.sh 11:06:37 nexus3.edgexfoundry.org:10001 11:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:37 Configure a credential helper to remove this warning. See 11:06:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:37 11:06:37 Login Succeeded 11:06:37 nexus3.edgexfoundry.org:10002 11:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:37 Configure a credential helper to remove this warning. See 11:06:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:37 11:06:37 Login Succeeded 11:06:37 nexus3.edgexfoundry.org:10003 11:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:37 Configure a credential helper to remove this warning. See 11:06:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:37 11:06:37 Login Succeeded 11:06:37 nexus3.edgexfoundry.org:10004 11:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:37 Configure a credential helper to remove this warning. See 11:06:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:37 11:06:37 Login Succeeded 11:06:37 ****.io 11:06:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:06:37 Configure a credential helper to remove this warning. See 11:06:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:06:37 11:06:37 Login Succeeded 11:06:37 ---> ****-login.sh ends [Pipeline] } 11:06:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:06:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:06:38 ========================================================= 11:06:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:06:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:39 + 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:06:39 Sending build context to Docker daemon 31.6MB 11:06:39 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:06:39 Step 2/12 : FROM ${BASE} AS builder 11:06:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:06:39 7264a8db6415: Pulling fs layer 11:06:39 c4d48a809fc2: Pulling fs layer 11:06:39 4f1c88b9dad5: Pulling fs layer 11:06:39 ad3a456e5733: Pulling fs layer 11:06:39 69c7f0334f64: Pulling fs layer 11:06:39 1f1c1a5573a3: Pulling fs layer 11:06:39 ce7588e14bc9: Pulling fs layer 11:06:39 b5e4710f87ac: Pulling fs layer 11:06:39 ad3a456e5733: Waiting 11:06:39 69c7f0334f64: Waiting 11:06:39 1f1c1a5573a3: Waiting 11:06:39 b5e4710f87ac: Waiting 11:06:39 ce7588e14bc9: Waiting 11:06:39 c4d48a809fc2: Download complete 11:06:39 ad3a456e5733: Verifying Checksum 11:06:39 ad3a456e5733: Download complete 11:06:39 69c7f0334f64: Verifying Checksum 11:06:39 69c7f0334f64: Download complete 11:06:39 7264a8db6415: Verifying Checksum 11:06:39 7264a8db6415: Download complete 11:06:39 1f1c1a5573a3: Verifying Checksum 11:06:39 1f1c1a5573a3: Download complete 11:06:39 7264a8db6415: Pull complete 11:06:39 b5e4710f87ac: Verifying Checksum 11:06:39 b5e4710f87ac: Download complete 11:06:39 c4d48a809fc2: Pull complete 11:06:39 4f1c88b9dad5: Verifying Checksum 11:06:39 4f1c88b9dad5: Download complete 11:06:40 ce7588e14bc9: Verifying Checksum 11:06:40 ce7588e14bc9: Download complete 11:06:43 4f1c88b9dad5: Pull complete 11:06:43 ad3a456e5733: Pull complete 11:06:43 69c7f0334f64: Pull complete 11:06:43 1f1c1a5573a3: Pull complete 11:06:45 ce7588e14bc9: Pull complete 11:06:45 b5e4710f87ac: Pull complete 11:06:45 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 11:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:06:45 ---> 88b5674ff536 11:06:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:06:50 ---> Running in 9c6986b026ca 11:06:50 Removing intermediate container 9c6986b026ca 11:06:50 ---> a6ac97a69167 11:06:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:06:50 ---> Running in 89366ab32f12 11:06:50 Removing intermediate container 89366ab32f12 11:06:50 ---> 4c86b59a7e9f 11:06:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:06:50 ---> Running in 4c793b36b553 11:06:50 Removing intermediate container 4c793b36b553 11:06:50 ---> 57b5b8403fb7 11:06:50 Step 6/12 : WORKDIR /device-virtual-go 11:06:50 ---> Running in 5ca760ba2ec4 11:06:50 Removing intermediate container 5ca760ba2ec4 11:06:50 ---> b825556a3e49 11:06:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:06:50 ---> Running in 0b694d2a911c 11:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:06:51 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:06:51 (2/4) Installing libedit (20221030.3.1-r1) 11:06:51 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:06:51 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:06:51 Executing busybox-1.36.1-r5.trigger 11:06:51 OK: 268 MiB in 56 packages 11:06:51 Still waiting to schedule task 11:06:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:06:51 Removing intermediate container 0b694d2a911c 11:06:51 ---> ae27d6c6d387 11:06:51 Step 8/12 : COPY go.mod vendor* ./ 11:06:51 ---> ac232b91b9aa 11:06:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:51 ---> Running in 419e601b20f5 11:07:18 Removing intermediate container 419e601b20f5 11:07:18 ---> e75fa30587a5 11:07:18 Step 10/12 : COPY . . 11:07:18 ---> bcc9a3554cd9 11:07:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:07:18 ---> Running in e3b57fee3b78 11:07:18 Removing intermediate container e3b57fee3b78 11:07:18 ---> 3cda660ce815 11:07:18 Step 12/12 : RUN $MAKE 11:07:18 ---> Running in df855c4c4344 11:07:18 noop 11:07:18 Removing intermediate container df855c4c4344 11:07:18 ---> c7df9b1484d8 11:07:18 Successfully built c7df9b1484d8 11:07:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:19 + docker inspect -f . ci-base-image-x86_64 11:07:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:19 prd-ubuntu20.04-docker-8c-8g-27899 does not seem to be running inside a container 11:07:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-459 -v /w/workspace/foundry_device-virtual-go_PR-459:/w/workspace/foundry_device-virtual-go_PR-459:rw,z -v /w/workspace/foundry_device-virtual-go_PR-459@tmp:/w/workspace/foundry_device-virtual-go_PR-459@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:07:19 $ docker top 84c56e2d2c11918558a656c4b283233b28afc6225ae5be70f83f62aae75ad5ae -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:20 + go version 11:07:20 go version go1.21.0 linux/amd64 [Pipeline] } 11:07:20 $ docker stop --time=1 84c56e2d2c11918558a656c4b283233b28afc6225ae5be70f83f62aae75ad5ae 11:07:21 $ docker rm -f --volumes 84c56e2d2c11918558a656c4b283233b28afc6225ae5be70f83f62aae75ad5ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:22 + docker inspect -f . ci-base-image-x86_64 11:07:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:22 prd-ubuntu20.04-docker-8c-8g-27899 does not seem to be running inside a container 11:07:22 $ 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-459 -v /w/workspace/foundry_device-virtual-go_PR-459:/w/workspace/foundry_device-virtual-go_PR-459:rw,z -v /w/workspace/foundry_device-virtual-go_PR-459@tmp:/w/workspace/foundry_device-virtual-go_PR-459@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:07:23 $ docker top 4b62d98a5f0b88b7143cee86be5816886ad472c566e5249e9bad09911703f205 -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:23 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-459 [Pipeline] fileExists [Pipeline] sh 11:07:24 + make test 11:07:24 go test ./... -coverprofile=coverage.out 11:07:25 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:07:35 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:07:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 11:07:39 go vet ./... 11:07:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:07:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:07:43 ./bin/test-attribution-txt.sh 11:07:43 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 11:07:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:07:43 $ docker stop --time=1 4b62d98a5f0b88b7143cee86be5816886ad472c566e5249e9bad09911703f205 11:07:46 $ docker rm -f --volumes 4b62d98a5f0b88b7143cee86be5816886ad472c566e5249e9bad09911703f205 [Pipeline] // withDockerContainer [Pipeline] sh 11:07:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:07:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:07:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:07:47 + ls -al . 11:07:47 total 200 11:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 11:07 . 11:07:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 11:06 .. 11:07:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 11:07 .git 11:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 11:06 .github 11:07:47 -rw-rw-r-- 1 jenkins jenkins 272 Jan 25 11:06 .gitignore 11:07:47 -rw-rw-r-- 1 jenkins jenkins 41 Jan 25 11:06 .golangci.yml 11:07:47 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 11:06 .semver 11:07:47 -rw-rw-r-- 1 jenkins jenkins 9708 Jan 25 11:06 Attribution.txt 11:07:47 -rw-rw-r-- 1 jenkins jenkins 15941 Jan 25 11:06 CHANGELOG.md 11:07:47 -rw-rw-r-- 1 jenkins jenkins 1755 Jan 25 11:06 Dockerfile 11:07:47 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 11:06 GOVERNANCE.md 11:07:47 -rw-rw-r-- 1 jenkins jenkins 660 Jan 25 11:06 Jenkinsfile 11:07:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 11:06 LICENSE 11:07:47 -rw-rw-r-- 1 jenkins jenkins 1953 Jan 25 11:06 Makefile 11:07:47 -rw-rw-r-- 1 jenkins jenkins 623 Jan 25 11:06 OWNERS.md 11:07:47 -rw-rw-r-- 1 jenkins jenkins 4103 Jan 25 11:06 README.md 11:07:47 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 11:06 VERSION 11:07:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 11:06 bin 11:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 11:06 cmd 11:07:47 -rw-r--r-- 1 jenkins jenkins 43063 Jan 25 11:07 coverage.out 11:07:47 -rw-rw-r-- 1 jenkins jenkins 3681 Jan 25 11:06 go.mod 11:07:47 -rw-rw-r-- 1 jenkins jenkins 34085 Jan 25 11:06 go.sum 11:07:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 11:06 internal 11:07:47 -rw-rw-r-- 1 jenkins jenkins 235 Jan 25 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:48 + 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=1f61d6a80a9ee63caca16269354be81377a0c164 --label arch=amd64 --label version=0.0.0 . 11:07:48 Sending build context to Docker daemon 31.64MB 11:07:48 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:07:48 Step 2/26 : FROM ${BASE} AS builder 11:07:48 ---> c7df9b1484d8 11:07:48 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:07:48 ---> Running in 5d7be9b6cc60 11:07:48 Removing intermediate container 5d7be9b6cc60 11:07:48 ---> 0189f52fd95d 11:07:48 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:07:48 ---> Running in 77955f833327 11:07:48 Removing intermediate container 77955f833327 11:07:48 ---> 8f4a27049474 11:07:48 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:07:48 ---> Running in 3f2dcbf9729f 11:07:48 Removing intermediate container 3f2dcbf9729f 11:07:48 ---> 73bdcb5cd3f4 11:07:48 Step 6/26 : WORKDIR /device-virtual-go 11:07:48 ---> Running in 98c8c5cd814b 11:07:49 Removing intermediate container 98c8c5cd814b 11:07:49 ---> 5eab9c51dcd6 11:07:49 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:49 ---> Running in 336086ec0cd4 11:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:07:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:07:49 OK: 268 MiB in 56 packages 11:07:49 Removing intermediate container 336086ec0cd4 11:07:49 ---> 1b20df717012 11:07:49 Step 8/26 : COPY go.mod vendor* ./ 11:07:50 ---> 249eaad1d386 11:07:50 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:50 ---> Running in 6c821a2677df 11:07:50 Removing intermediate container 6c821a2677df 11:07:50 ---> e97d3865e0c7 11:07:50 Step 10/26 : COPY . . 11:07:51 ---> 763f89aa2a4c 11:07:51 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:07:51 ---> Running in 7dbd21d3964f 11:07:51 Removing intermediate container 7dbd21d3964f 11:07:51 ---> bfd3cd5726d8 11:07:51 Step 12/26 : RUN $MAKE 11:07:51 ---> Running in 90465eaceb6b 11:07:52 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.7" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:08:15 Removing intermediate container 90465eaceb6b 11:08:15 ---> 0f70548b62cf 11:08:15 Step 13/26 : FROM alpine:3.18 11:08:15 3.18: Pulling from library/alpine 11:08:15 c926b61bad3b: Pulling fs layer 11:08:15 c926b61bad3b: Verifying Checksum 11:08:15 c926b61bad3b: Download complete 11:08:15 c926b61bad3b: Pull complete 11:08:15 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:08:15 Status: Downloaded newer image for alpine:3.18 11:08:15 ---> b541f2080109 11:08:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:08:15 ---> Running in 6045eba9b463 11:08:15 Removing intermediate container 6045eba9b463 11:08:15 ---> cad0350bd8a5 11:08:15 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:08:15 ---> Running in 3b6ea454094d 11:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:08:15 (1/1) Installing dumb-init (1.2.5-r2) 11:08:15 Executing busybox-1.36.1-r5.trigger 11:08:15 OK: 7 MiB in 16 packages 11:08:15 Removing intermediate container 3b6ea454094d 11:08:15 ---> 48f73d5beb1f 11:08:15 Step 16/26 : RUN apk --no-cache upgrade 11:08:15 ---> Running in 17ed6faaca0e 11:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:08:15 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 11:08:15 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 11:08:15 OK: 7 MiB in 16 packages 11:08:16 Removing intermediate container 17ed6faaca0e 11:08:16 ---> d6df0b976830 11:08:16 Step 17/26 : WORKDIR / 11:08:16 ---> Running in a92cf54d932d 11:08:16 Removing intermediate container a92cf54d932d 11:08:16 ---> be515f227711 11:08:16 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:08:16 ---> dae1f0221b9c 11:08:16 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:08:16 ---> 5b7f9208cfa4 11:08:16 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:08:17 ---> e4146a7d17ed 11:08:17 Step 21/26 : EXPOSE 59900 11:08:17 ---> Running in 778a623020cf 11:08:17 Removing intermediate container 778a623020cf 11:08:17 ---> 67c00f655417 11:08:17 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:08:17 ---> Running in 02431ec9f9d0 11:08:17 Removing intermediate container 02431ec9f9d0 11:08:17 ---> 6db65e3c031e 11:08:17 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:08:17 ---> Running in 4a24b6213473 11:08:17 Removing intermediate container 4a24b6213473 11:08:17 ---> 1c48ae5554fc 11:08:17 Step 24/26 : LABEL arch=amd64 11:08:17 ---> Running in 1c59ae95235b 11:08:17 Removing intermediate container 1c59ae95235b 11:08:17 ---> cfa06376f50c 11:08:17 Step 25/26 : LABEL git_sha=1f61d6a80a9ee63caca16269354be81377a0c164 11:08:17 ---> Running in acd56196c3ac 11:08:17 Removing intermediate container acd56196c3ac 11:08:17 ---> 22a1f97f6005 11:08:17 Step 26/26 : LABEL version=0.0.0 11:08:17 ---> Running in af0c29618ace 11:08:17 Removing intermediate container af0c29618ace 11:08:17 ---> 7a1240e2775e 11:08:17 [Warning] One or more build-args [ARCH] were not consumed 11:08:17 Successfully built 7a1240e2775e 11:08:17 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:19 11:08:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:19 latest: Pulling from edgex-lftools-log-publisher 11:08:19 5eb5b503b376: Pulling fs layer 11:08:19 5c69ac0246d0: Pulling fs layer 11:08:19 ec43610c2a17: Pulling fs layer 11:08:19 3a2ae6a8a46f: Pulling fs layer 11:08:19 33b1e0a273af: Pulling fs layer 11:08:19 5d3b04190fa2: Pulling fs layer 11:08:19 2f39f015ded8: Pulling fs layer 11:08:19 3a2ae6a8a46f: Waiting 11:08:19 33b1e0a273af: Waiting 11:08:19 5d3b04190fa2: Waiting 11:08:19 5c69ac0246d0: Verifying Checksum 11:08:19 5c69ac0246d0: Download complete 11:08:19 3a2ae6a8a46f: Download complete 11:08:19 33b1e0a273af: Verifying Checksum 11:08:19 33b1e0a273af: Download complete 11:08:19 5d3b04190fa2: Verifying Checksum 11:08:19 5d3b04190fa2: Download complete 11:08:19 ec43610c2a17: Verifying Checksum 11:08:19 ec43610c2a17: Download complete 11:08:19 5eb5b503b376: Verifying Checksum 11:08:19 5eb5b503b376: Download complete 11:08:20 2f39f015ded8: Download complete 11:08:20 5eb5b503b376: Pull complete 11:08:20 5c69ac0246d0: Pull complete 11:08:21 ec43610c2a17: Pull complete 11:08:21 3a2ae6a8a46f: Pull complete 11:08:21 33b1e0a273af: Pull complete 11:08:21 5d3b04190fa2: Pull complete 11:08:24 2f39f015ded8: Pull complete 11:08:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:08:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:25 prd-ubuntu20.04-docker-8c-8g-27899 does not seem to be running inside a container 11:08:25 $ 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-459 -v /w/workspace/foundry_device-virtual-go_PR-459:/w/workspace/foundry_device-virtual-go_PR-459:rw,z -v /w/workspace/foundry_device-virtual-go_PR-459@tmp:/w/workspace/foundry_device-virtual-go_PR-459@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:08:29 $ docker top 733deda7583f225444ae10f4a05c5f0c7c74e4727996f05dadf86c8e26848485 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:30 ---> job-cost.sh 11:08:30 lf-activate-venv: SKIPPING 11:08:30 INFO: No Stack... 11:08:30 INFO: Retrieving Pricing Info for: v3-standard-8 11:08:30 INFO: Archiving Costs [Pipeline] sh 11:08:31 + cat /w/workspace/foundry_device-virtual-go_PR-459/archives/cost.csv 11:08:31 + cut -d, -f6 [Pipeline] lock 11:08:31 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-459-1-stack-cost] 11:08:31 Resource [jenkins-edgexfoundry-device-virtual-go-PR-459-1-stack-cost] did not exist. Created. 11:08:31 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-459-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:08:31 + echo total: 0.2199999988079071 [Pipeline] stash 11:08:31 Stashed 1 file(s) [Pipeline] } 11:08:31 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-459-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:08:32 $ docker stop --time=1 733deda7583f225444ae10f4a05c5f0c7c74e4727996f05dadf86c8e26848485 11:08:33 $ docker rm -f --volumes 733deda7583f225444ae10f4a05c5f0c7c74e4727996f05dadf86c8e26848485 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:08:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-27900 in /w/workspace/foundry_device-virtual-go_PR-459 [Pipeline] { [Pipeline] ws 11:08:34 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:08:34 The recommended git tool is: git 11:08:39 using credential edgex-jenkins-ssh 11:08:39 Cloning the remote Git repository 11:08:39 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:08:39 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:08:39 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:08:39 > git --version # timeout=10 11:08:39 > git --version # 'git version 2.25.1' 11:08:39 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:08:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:08:42 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:08:42 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/459/head:refs/remotes/origin/PR-459 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:08:43 Merging remotes/origin/main commit 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f into PR head commit 1f61d6a80a9ee63caca16269354be81377a0c164 11:08:43 Merge succeeded, producing 1f61d6a80a9ee63caca16269354be81377a0c164 11:08:43 Checking out Revision 1f61d6a80a9ee63caca16269354be81377a0c164 (PR-459) 11:08:44 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:08:44 > git --version # timeout=10 11:08:44 > git --version # 'git version 2.25.1' 11:08:44 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:08:43 > git config core.sparsecheckout # timeout=10 11:08:43 > git checkout -f 1f61d6a80a9ee63caca16269354be81377a0c164 # timeout=10 11:08:43 > git remote # timeout=10 11:08:43 > git config --get remote.origin.url # timeout=10 11:08:43 using GIT_SSH to set credentials SSH Credentials for GitHub 11:08:43 > git merge 365ac2a07f0ac486dbd6b6e6acfd23c5b078805f # timeout=10 11:08:43 > git rev-parse HEAD^{commit} # timeout=10 11:08:43 > git config core.sparsecheckout # timeout=10 11:08:43 > git checkout -f 1f61d6a80a9ee63caca16269354be81377a0c164 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:08:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:08:45 % Total % Received % Xferd Average Speed Time Time Time Current 11:08:45 Dload Upload Total Spent Left Speed 11:08:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 85114 [Pipeline] sh 11:08:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:08:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:08:46 + sudo tee /etc/docker/daemon.new 11:08:46 { 11:08:46 "registry-mirrors": [ 11:08:46 "https://nexus3.edgexfoundry.org:10001" 11:08:46 ], 11:08:46 "bip": "10.250.0.254/24", 11:08:46 "hosts": [ 11:08:46 "tcp://0.0.0.0:5555", 11:08:46 "unix:///var/run/docker.sock" 11:08:46 ], 11:08:46 "mtu": 1458, 11:08:46 "selinux-enabled": true, 11:08:46 "seccomp-profile": "/etc/docker/seccomp.json" 11:08:46 } [Pipeline] sh 11:08:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:08:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:05 provisioning config files... 11:09:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config11570687807460979935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:06 ---> ****-login.sh 11:09:06 nexus3.edgexfoundry.org:10001 11:09:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:06 Configure a credential helper to remove this warning. See 11:09:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:06 11:09:06 Login Succeeded 11:09:06 nexus3.edgexfoundry.org:10002 11:09:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:07 Configure a credential helper to remove this warning. See 11:09:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:07 11:09:07 Login Succeeded 11:09:07 nexus3.edgexfoundry.org:10003 11:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:07 Configure a credential helper to remove this warning. See 11:09:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:07 11:09:07 Login Succeeded 11:09:07 nexus3.edgexfoundry.org:10004 11:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:07 Configure a credential helper to remove this warning. See 11:09:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:07 11:09:07 Login Succeeded 11:09:07 ****.io 11:09:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:08 Configure a credential helper to remove this warning. See 11:09:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:08 11:09:08 Login Succeeded 11:09:08 ---> ****-login.sh ends [Pipeline] } 11:09:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:09:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:09:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:09:08 ========================================================= 11:09:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:09:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:09 + 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:09:10 #0 building with "default" instance using docker driver 11:09:10 11:09:10 #1 [internal] load .dockerignore 11:09:10 #1 transferring context: 2B done 11:09:10 #1 DONE 0.1s 11:09:10 11:09:10 #2 [internal] load build definition from Dockerfile 11:09:10 #2 transferring dockerfile: 1.79kB 0.0s done 11:09:10 #2 DONE 0.1s 11:09:10 11:09:10 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:09:10 #3 DONE 0.1s 11:09:10 11:09:10 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:09:10 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 11:09:10 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 11:09:10 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 11:09:10 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 11:09:10 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 11:09:10 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.42MB / 3.33MB 0.1s 11:09:10 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 11:09:10 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 11:09:10 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 11:09:10 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 11:09:10 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 11:09:10 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 11:09:10 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 569.34kB / 11.40MB 0.3s 11:09:10 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 11:09:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.08MB / 63.99MB 0.4s 11:09:11 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 11:09:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.32MB / 63.99MB 0.5s 11:09:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.24MB / 97.63MB 0.5s 11:09:11 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.5s 11:09:11 #4 ... 11:09:11 11:09:11 #5 [internal] load build context 11:09:11 #5 transferring context: 15.81MB 0.6s done 11:09:11 #5 DONE 0.7s 11:09:11 11:09:11 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:09:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.6s 11:09:11 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s 11:09:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 22.02MB / 63.99MB 0.7s 11:09:11 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 11:09:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 12.58MB / 97.63MB 0.7s 11:09:11 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 11:09:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 32.38MB / 63.99MB 0.9s 11:09:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.38MB / 97.63MB 0.9s 11:09:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.0s 11:09:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.41MB / 97.63MB 1.0s 11:09:11 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 11:09:11 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 43.29MB / 63.99MB 1.1s 11:09:11 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.1s 11:09:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.33MB / 63.99MB 1.2s 11:09:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.00MB / 97.63MB 1.2s 11:09:12 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 11:09:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.51MB / 63.99MB 1.4s 11:09:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 47.19MB / 97.63MB 1.3s 11:09:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.64MB / 63.99MB 1.5s 11:09:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.5s 11:09:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.34MB / 97.63MB 1.6s 11:09:12 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 11:09:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 74.83MB / 97.63MB 1.8s 11:09:12 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11:09:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 1.9s 11:09:12 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 2.0s 11:09:13 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 93.70MB / 97.63MB 2.2s 11:09:16 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.5s done 11:09:17 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.0s 11:09:22 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.3s 11:09:29 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done 11:09:31 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 11:09:31 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 11:09:31 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 11:09:31 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11:09:36 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 11:09:39 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.7s done 11:09:39 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 11:09:40 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 11:09:41 #4 DONE 30.6s 11:09:41 11:09:41 #6 [builder 2/7] WORKDIR /device-virtual-go 11:09:43 #6 DONE 1.6s 11:09:43 11:09:43 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 11:09:43 #7 0.687 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:09:44 #7 1.075 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:09:45 #7 2.045 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:09:45 #7 2.075 (2/4) Installing libedit (20221030.3.1-r1) 11:09:45 #7 2.086 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:09:45 #7 2.150 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:09:45 #7 2.176 Executing busybox-1.36.1-r5.trigger 11:09:45 #7 2.213 OK: 271 MiB in 56 packages 11:09:45 #7 DONE 2.5s 11:09:45 11:09:45 #8 [builder 4/7] COPY go.mod vendor* ./ 11:09:45 #8 DONE 0.2s 11:09:45 11:09:45 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:03 #9 DONE 16.3s 11:10:03 11:10:03 #10 [builder 6/7] COPY . . 11:10:03 #10 DONE 0.3s 11:10:03 11:10:03 #11 [builder 7/7] RUN echo noop 11:10:03 #11 0.594 noop 11:10:03 #11 DONE 0.7s 11:10:03 11:10:03 #12 exporting to image 11:10:03 #12 exporting layers 11:10:22 #12 exporting layers 17.0s done 11:10:22 #12 writing image sha256:e11bd2ded03d468a055befd73b431d6eae6c1351d451129fbbabb24e504fb23a done 11:10:22 #12 naming to docker.io/library/ci-base-image-arm64 done 11:10:22 #12 DONE 17.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:22 + docker inspect -f . ci-base-image-arm64 11:10:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:23 prd-ubuntu20.04-docker-arm64-4c-16g-27900 does not seem to be running inside a container 11:10:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:10:24 $ docker top b11ccb08e9c7eeeb3f1943784231c8f3165d02e11dc5273b8f5e9d2e9d737125 -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:25 + go version 11:10:25 go version go1.21.0 linux/arm64 [Pipeline] } 11:10:25 $ docker stop --time=1 b11ccb08e9c7eeeb3f1943784231c8f3165d02e11dc5273b8f5e9d2e9d737125 11:10:28 $ docker rm -f --volumes b11ccb08e9c7eeeb3f1943784231c8f3165d02e11dc5273b8f5e9d2e9d737125 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:30 + docker inspect -f . ci-base-image-arm64 11:10:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:30 prd-ubuntu20.04-docker-arm64-4c-16g-27900 does not seem to be running inside a container 11:10:30 $ 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 ******** ci-base-image-arm64 cat 11:10:31 $ docker top e55f6544b60da0509c7b764a07dda9f547fa03e33927239954caee5970725259 -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:31 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:10:32 + make test 11:10:32 go test ./... -coverprofile=coverage.out 11:10:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:11:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:11:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.066s coverage: 58.4% of statements 11:11:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:11:32 go vet ./... 11:11:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:11:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:11:42 ./bin/test-attribution-txt.sh 11:11:42 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 11:11:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:11:42 $ docker stop --time=1 e55f6544b60da0509c7b764a07dda9f547fa03e33927239954caee5970725259 11:11:44 $ docker rm -f --volumes e55f6544b60da0509c7b764a07dda9f547fa03e33927239954caee5970725259 [Pipeline] // withDockerContainer [Pipeline] sh 11:11:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:11:45 Warning: overwriting stash ‘coverage-report’ 11:11:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:11:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:11:47 + ls -al . 11:11:47 total 196 11:11:47 drwxrwxr-x 7 jenkins jenkins 4096 Jan 25 11:10 . 11:11:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 11:08 .. 11:11:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 11:08 .git 11:11:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 11:08 .github 11:11:47 -rw-rw-r-- 1 jenkins jenkins 272 Jan 25 11:08 .gitignore 11:11:47 -rw-rw-r-- 1 jenkins jenkins 41 Jan 25 11:08 .golangci.yml 11:11:47 -rw-rw-r-- 1 jenkins jenkins 9708 Jan 25 11:08 Attribution.txt 11:11:47 -rw-rw-r-- 1 jenkins jenkins 15941 Jan 25 11:08 CHANGELOG.md 11:11:47 -rw-rw-r-- 1 jenkins jenkins 1755 Jan 25 11:08 Dockerfile 11:11:47 -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 11:08 GOVERNANCE.md 11:11:47 -rw-rw-r-- 1 jenkins jenkins 660 Jan 25 11:08 Jenkinsfile 11:11:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 25 11:08 LICENSE 11:11:47 -rw-rw-r-- 1 jenkins jenkins 1953 Jan 25 11:08 Makefile 11:11:47 -rw-rw-r-- 1 jenkins jenkins 623 Jan 25 11:08 OWNERS.md 11:11:47 -rw-rw-r-- 1 jenkins jenkins 4103 Jan 25 11:08 README.md 11:11:47 -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 11:06 VERSION 11:11:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 11:08 bin 11:11:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 11:08 cmd 11:11:47 -rw-r--r-- 1 jenkins jenkins 43063 Jan 25 11:11 coverage.out 11:11:47 -rw-rw-r-- 1 jenkins jenkins 3681 Jan 25 11:08 go.mod 11:11:47 -rw-rw-r-- 1 jenkins jenkins 34085 Jan 25 11:08 go.sum 11:11:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 11:08 internal 11:11:47 -rw-rw-r-- 1 jenkins jenkins 235 Jan 25 11:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:47 + 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=1f61d6a80a9ee63caca16269354be81377a0c164 --label arch=arm64 --label version=0.0.0 . 11:11:48 #0 building with "default" instance using docker driver 11:11:48 11:11:48 #1 [internal] load build definition from Dockerfile 11:11:48 #1 transferring dockerfile: 11:11:48 #1 transferring dockerfile: 1.79kB 0.0s done 11:11:48 #1 DONE 0.0s 11:11:48 11:11:48 #2 [internal] load .dockerignore 11:11:48 #2 transferring context: 2B done 11:11:48 #2 DONE 0.0s 11:11:48 11:11:48 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 11:11:48 #3 DONE 0.0s 11:11:48 11:11:48 #4 [internal] load metadata for docker.io/library/alpine:3.18 11:11:48 #4 DONE 0.2s 11:11:48 11:11:48 #5 [internal] load build context 11:11:48 #5 transferring context: 51.14kB 0.1s done 11:11:48 #5 DONE 0.1s 11:11:48 11:11:48 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:11:48 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 11:11:48 #6 ... 11:11:48 11:11:48 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 11:11:48 #7 DONE 0.2s 11:11:48 11:11:48 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:11:48 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 11:11:48 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 11:11:48 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 11:11:48 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 11:11:48 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 11:11:49 #6 ... 11:11:49 11:11:49 #8 [builder 2/7] WORKDIR /device-virtual-go 11:11:49 #8 DONE 0.1s 11:11:49 11:11:49 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 11:11:49 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 11:11:49 #6 DONE 1.0s 11:11:49 11:11:49 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:11:50 #9 0.681 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:11:50 #9 1.000 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:11:51 #9 ... 11:11:51 11:11:51 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 11:11:51 #10 0.732 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:11:51 #10 1.161 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:11:51 #10 2.260 OK: 271 MiB in 56 packages 11:11:51 #10 DONE 2.6s 11:11:51 11:11:51 #11 [builder 4/7] COPY go.mod vendor* ./ 11:11:51 #11 DONE 0.2s 11:11:51 11:11:51 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 11:11:51 #9 2.069 (1/1) Installing dumb-init (1.2.5-r2) 11:11:51 #9 2.082 Executing busybox-1.36.1-r5.trigger 11:11:51 #9 2.115 OK: 8 MiB in 16 packages 11:11:52 #9 DONE 2.5s 11:11:52 11:11:52 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:55 #12 DONE 3.9s 11:11:55 11:11:55 #13 [stage-1 3/7] RUN apk --no-cache upgrade 11:11:55 #13 0.839 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:11:55 #13 1.151 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:11:55 #13 2.074 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) 11:11:55 #13 2.186 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) 11:11:55 #13 2.208 OK: 8 MiB in 16 packages 11:11:55 #13 DONE 3.5s 11:11:55 11:11:55 #14 [builder 6/7] COPY . . 11:11:56 #14 DONE 0.4s 11:11:56 11:11:56 #15 [builder 7/7] RUN make build 11:11:56 #15 0.693 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.7" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:13:04 #15 DONE 62.4s 11:13:04 11:13:04 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:04 #16 DONE 0.1s 11:13:04 11:13:04 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 11:13:04 #17 DONE 0.1s 11:13:04 11:13:04 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 11:13:04 #18 DONE 0.2s 11:13:04 11:13:04 #19 exporting to image 11:13:04 #19 exporting layers 11:13:04 #19 exporting layers 0.2s done 11:13:04 #19 writing image sha256:b2565920caa46547e3e9366076aa68aa3ae6985bc462e61755840894d8b00ddf done 11:13:04 #19 naming to docker.io/library/device-virtual-arm64 done 11:13:04 #19 DONE 0.2s [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:13:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:06 11:13:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:06 arm64: Pulling from edgex-lftools-log-publisher 11:13:06 8998bd30e6a1: Pulling fs layer 11:13:06 04944245beec: Pulling fs layer 11:13:06 699f458cf7ca: Pulling fs layer 11:13:06 765212b225bb: Pulling fs layer 11:13:06 f23df028b6ca: Pulling fs layer 11:13:06 d65c8cfc05b1: Pulling fs layer 11:13:06 765212b225bb: Waiting 11:13:06 f23df028b6ca: Waiting 11:13:06 2437ff75d9bd: Pulling fs layer 11:13:06 d65c8cfc05b1: Waiting 11:13:06 2437ff75d9bd: Waiting 11:13:07 04944245beec: Verifying Checksum 11:13:07 04944245beec: Download complete 11:13:07 765212b225bb: Verifying Checksum 11:13:07 765212b225bb: Download complete 11:13:07 f23df028b6ca: Verifying Checksum 11:13:07 f23df028b6ca: Download complete 11:13:07 d65c8cfc05b1: Verifying Checksum 11:13:07 d65c8cfc05b1: Download complete 11:13:07 699f458cf7ca: Download complete 11:13:07 8998bd30e6a1: Verifying Checksum 11:13:07 8998bd30e6a1: Download complete 11:13:09 2437ff75d9bd: Verifying Checksum 11:13:09 2437ff75d9bd: Download complete 11:13:13 8998bd30e6a1: Pull complete 11:13:13 04944245beec: Pull complete 11:13:15 699f458cf7ca: Pull complete 11:13:15 765212b225bb: Pull complete 11:13:16 f23df028b6ca: Pull complete 11:13:16 d65c8cfc05b1: Pull complete 11:13:38 2437ff75d9bd: Pull complete 11:13:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:13:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:39 prd-ubuntu20.04-docker-arm64-4c-16g-27900 does not seem to be running inside a container 11:13:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:13:41 $ docker top 82b407f23cbbb4f5e10401e09cf5c6215e822fce1e75b48cf3598ff381716910 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:42 ---> job-cost.sh 11:13:42 lf-activate-venv: SKIPPING 11:13:42 INFO: No Stack... 11:13:43 INFO: Retrieving Pricing Info for: v3-standard-8 11:13:43 INFO: Archiving Costs [Pipeline] sh 11:13:43 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:13:43 + cut -d, -f6 [Pipeline] lock 11:13:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-459-1-stack-cost] 11:13:44 Resource [jenkins-edgexfoundry-device-virtual-go-PR-459-1-stack-cost] did not exist. Created. 11:13:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-459-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:13:44 /w/workspace/device-virtual-go/1@tmp/durable-1d9dd23c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:13:45 + echo total: 0.2199999988079071 [Pipeline] stash 11:13:45 Warning: overwriting stash ‘stack-cost’ 11:13:45 Stashed 1 file(s) [Pipeline] } 11:13:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-459-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:13:45 $ docker stop --time=1 82b407f23cbbb4f5e10401e09cf5c6215e822fce1e75b48cf3598ff381716910 11:13:46 $ docker rm -f --volumes 82b407f23cbbb4f5e10401e09cf5c6215e822fce1e75b48cf3598ff381716910 [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:13:48 provisioning config files... 11:13:48 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-459@tmp/config1379820378388678522tmp [Pipeline] { [Pipeline] sh 11:13:49 + set +x 11:13:49 + curl -s https://codecov.io/bash 11:13:49 + bash -s -- 11:13:49 11:13:49 _____ _ 11:13:49 / ____| | | 11:13:49 | | ___ __| | ___ ___ _____ __ 11:13:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:13:49 | |___| (_) | (_| | __/ (_| (_) \ V / 11:13:49 \_____\___/ \__,_|\___|\___\___/ \_/ 11:13:49 Bash-1.0.6 11:13:49 11:13:49 11:13:49 ==> git version 2.25.1 found 11:13:49 ==> 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:13:49 Release-Date: 2020-01-08 11:13:49 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:13:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:13:49 ==> Jenkins CI detected. 11:13:49 current dir:  /w/workspace/foundry_device-virtual-go_PR-459 11:13:49 project root: . 11:13:49 --> token set from env 11:13:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:13:49 ==> Running gcov in . (disable via -X gcov) 11:13:49 ==> Python coveragepy not found 11:13:49 ==> Searching for coverage reports in: 11:13:49 + . 11:13:49 -> Found 1 reports 11:13:49 ==> Detecting git/mercurial file structure 11:13:49 ==> Reading reports 11:13:49 + ./coverage.out bytes=43063 11:13:49 ==> Appending adjustments 11:13:49 https://docs.codecov.io/docs/fixing-reports 11:13:49 + Found adjustments 11:13:49 ==> Gzipping contents 11:13:49 8.0K /tmp/codecov.Oheo4Z.gz 11:13:49 ==> Uploading reports 11:13:49 url: https://codecov.io 11:13:49 query: branch=PR-459&commit=1f61d6a80a9ee63caca16269354be81377a0c164&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-459%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=459&job=&cmd_args= 11:13:49 -> Pinging Codecov 11:13:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-459&commit=1f61d6a80a9ee63caca16269354be81377a0c164&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-459%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=459&job=&cmd_args= 11:13:49 -> Uploading to 11:13:49 https://storage.googleapis.com/codecov/v4/raw/2024-01-25/5E52B4B073DB2E39498172D8E973AA87/1f61d6a80a9ee63caca16269354be81377a0c164/945d1956-8433-448a-8eec-4bde199f81fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240125T111349Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fdc9ea1ea5c943ce3cd6fa0dd39521c114bab165b2cb01d6924c21e84047258d 11:13:49 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:49 Dload Upload Total Spent Left Speed 11:13:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 18511 --:--:-- --:--:-- --:--:-- 18511 11:13:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1f61d6a80a9ee63caca16269354be81377a0c164 [Pipeline] } 11:13:50 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:13:53 + [ -d /w/workspace/foundry_device-virtual-go_PR-459/archives ] 11:13:53 + ls -al /w/workspace/foundry_device-virtual-go_PR-459/archives 11:13:53 total 16 11:13:53 drwxr-xr-x 3 root root 4096 Jan 25 11:08 . 11:13:53 drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 11:08 .. 11:13:53 drwxr-xr-x 2 root root 4096 Jan 25 11:08 cost 11:13:53 -rw-r--r-- 1 root root 89 Jan 25 11:08 cost.csv 11:13:53 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-459/archives 11:13:53 + ls -al /w/workspace/foundry_device-virtual-go_PR-459/archives 11:13:53 total 16 11:13:53 drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 11:08 . 11:13:53 drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 11:08 .. 11:13:53 drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 11:08 cost 11:13:53 -rw-r--r-- 1 jenkins jenkins 89 Jan 25 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:13:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:13:54 ---> package-listing.sh 11:13:54 ++ facter osfamily 11:13:54 ++ tr '[:upper:]' '[:lower:]' 11:13:54 + OS_FAMILY=debian 11:13:54 + workspace=/w/workspace/foundry_device-virtual-go_PR-459 11:13:54 + START_PACKAGES=/tmp/packages_start.txt 11:13:54 + END_PACKAGES=/tmp/packages_end.txt 11:13:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:13:54 + PACKAGES=/tmp/packages_start.txt 11:13:54 + '[' /w/workspace/foundry_device-virtual-go_PR-459 ']' 11:13:54 + PACKAGES=/tmp/packages_end.txt 11:13:54 + case "${OS_FAMILY}" in 11:13:54 + dpkg -l 11:13:54 + grep '^ii' 11:13:54 + '[' -f /tmp/packages_start.txt ']' 11:13:54 + '[' -f /tmp/packages_end.txt ']' 11:13:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:13:54 + '[' /w/workspace/foundry_device-virtual-go_PR-459 ']' 11:13:54 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-459/archives/ 11:13:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-459/archives/ [Pipeline] echo 11:13:54 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-459/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:13:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:13:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:55 prd-ubuntu20.04-docker-8c-8g-27899 does not seem to be running inside a container 11:13:55 $ 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-459/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-459 -v /w/workspace/foundry_device-virtual-go_PR-459:/w/workspace/foundry_device-virtual-go_PR-459:rw,z -v /w/workspace/foundry_device-virtual-go_PR-459@tmp:/w/workspace/foundry_device-virtual-go_PR-459@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:13:56 $ docker top 20d94a9e52a8a2cdc61fdda314a710bcc59a313ba62703d71fd5944eb2efc42e -eo pid,comm [Pipeline] { [Pipeline] sh 11:13:56 + touch /tmp/pre-build-complete [Pipeline] sh 11:13:56 + mkdir -p /var/log/sysstat [Pipeline] sh 11:13:57 + ls /var/log/sa-host 11:13:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:57 provisioning config files... 11:13:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-459@tmp/config12006906816693965527tmp [Pipeline] { [Pipeline] echo 11:13:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:13:57 ---> create-netrc.sh [Pipeline] } 11:13:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:13:58 ---> python-tools-install.sh [Pipeline] echo 11:13:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:13:58 ---> sudo-logs.sh 11:13:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:13:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:13:59 ---> job-cost.sh 11:13:59 lf-activate-venv: SKIPPING 11:13:59 DEBUG: total: 0.2199999988079071 11:13:59 INFO: Retrieving Stack Cost... 11:13:59 INFO: Retrieving Pricing Info for: v3-standard-8 11:14:00 INFO: Archiving Costs [Pipeline] echo 11:14:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:14:00 ---> logs-deploy.sh 11:14:00 lf-activate-venv: SKIPPING 11:14:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-459/1 11:14:00 INFO: archiving workspace using pattern(s): 11:14:01 Archives upload complete. 11:14:01 INFO: archiving logs to Nexus