Pull request #413 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 8f55b196a710e15398781abdc7fd66bab52d29c1 rather than 368cd7a2f79fe1528dc850d86276d3450d488851 Obtained Jenkinsfile from 8f55b196a710e15398781abdc7fd66bab52d29c1 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-ssh8058544827198916194.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh955613621669462362.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-413/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-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10219348608930126458.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-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5173033876701810006.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh15607814092227527563.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-413/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-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh816014962231287823.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17182’ Running on prd-ubuntu20.04-docker-8c-8g-17184 in /w/workspace/foundry_device-virtual-go_PR-413 [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-413 # 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/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f55b196a710e15398781abdc7fd66bab52d29c1 into PR head commit 368cd7a2f79fe1528dc850d86276d3450d488851 Merge succeeded, producing 368cd7a2f79fe1528dc850d86276d3450d488851 Checking out Revision 368cd7a2f79fe1528dc850d86276d3450d488851 (PR-413) > git config core.sparsecheckout # timeout=10 > git checkout -f 368cd7a2f79fe1528dc850d86276d3450d488851 # 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 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 368cd7a2f79fe1528dc850d86276d3450d488851 # timeout=10 Commit message: "fix: Replace slack chat with github discussion" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:42:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:42:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:42:15 ========================================================= 22:42:15 EdgeX Global Pipelines Version Info 22:42:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:42:16 ------------------- 22:42:16 stable info: 22:42:16 ------------------- 22:42:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:42:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:42:16 Message: update stable to v1.0.249 22:42:16 ------------------- 22:42:16 experimental info: 22:42:16 ------------------- 22:42:16 Commited By: **** collab-it+edgex@linuxfoundation.org 22:42:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:42:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:42:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 368cd7a2f79fe1528dc850d86276d3450d488851 [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 368cd7a [Pipeline] echo 22:42:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:18 provisioning config files... 22:42:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config5544786170470650272tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:18 ---> docker-login.sh 22:42:18 nexus3.edgexfoundry.org:10001 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10002 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10003 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 nexus3.edgexfoundry.org:10004 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 docker.io 22:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:19 Configure a credential helper to remove this warning. See 22:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:19 22:42:19 Login Succeeded 22:42:19 ---> docker-login.sh ends [Pipeline] } 22:42:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:42:20 + git rev-list -1 --merges 368cd7a2f79fe1528dc850d86276d3450d488851~1..368cd7a2f79fe1528dc850d86276d3450d488851 [Pipeline] echo 22:42:20 -----------> git rev-list -1 --merges 368cd7a2f79fe1528dc850d86276d3450d488851~1..368cd7a2f79fe1528dc850d86276d3450d488851 368cd7a2f79fe1528dc850d86276d3450d488851 [false] [Pipeline] sh 22:42:20 + git log --format=format:%s -1 368cd7a2f79fe1528dc850d86276d3450d488851 [Pipeline] echo 22:42:20 ========================================================= 22:42:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:42:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:42:21 + git log --format=format:%s -1 368cd7a2f79fe1528dc850d86276d3450d488851 [Pipeline] echo 22:42:21 [semverPrep] GIT_COMMIT: 368cd7a2f79fe1528dc850d86276d3450d488851, Commit Message: fix: Replace slack chat with github discussion [Pipeline] echo 22:42:21 [semverPrep] This is not a build commit. [Pipeline] sh 22:42:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:42:21 + grep -v github /etc/ssh/ssh_known_hosts 22:42:21 + [ -e /tmp/ssh_known_hosts ] 22:42:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:42:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:42:21 + sudo tee -a /etc/ssh/ssh_known_hosts 22:42:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:22 22:42:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:22 0.1.4: Pulling from edgex-devops/py-git-semver 22:42:22 b85a868b505f: Pulling fs layer 22:42:22 e2be974225ed: Pulling fs layer 22:42:22 339a4e72a1f5: Pulling fs layer 22:42:22 988bab9f4d93: Pulling fs layer 22:42:22 1469e6f7b9e6: Pulling fs layer 22:42:22 eaf3925da568: Pulling fs layer 22:42:22 bab4dde63d76: Pulling fs layer 22:42:22 bde34c3a00c8: Pulling fs layer 22:42:22 988bab9f4d93: Waiting 22:42:22 b352a97aabf1: Pulling fs layer 22:42:22 1469e6f7b9e6: Waiting 22:42:22 eaf3925da568: Waiting 22:42:22 bab4dde63d76: Waiting 22:42:22 4872d77fe225: Pulling fs layer 22:42:22 5851b861e8e6: Pulling fs layer 22:42:22 4872d77fe225: Waiting 22:42:22 5851b861e8e6: Waiting 22:42:22 b352a97aabf1: Waiting 22:42:22 e2be974225ed: Download complete 22:42:22 988bab9f4d93: Download complete 22:42:22 1469e6f7b9e6: Verifying Checksum 22:42:22 1469e6f7b9e6: Download complete 22:42:23 eaf3925da568: Verifying Checksum 22:42:23 eaf3925da568: Download complete 22:42:23 339a4e72a1f5: Verifying Checksum 22:42:23 339a4e72a1f5: Download complete 22:42:23 bde34c3a00c8: Verifying Checksum 22:42:23 bde34c3a00c8: Download complete 22:42:23 b352a97aabf1: Verifying Checksum 22:42:23 b352a97aabf1: Download complete 22:42:23 4872d77fe225: Download complete 22:42:23 5851b861e8e6: Verifying Checksum 22:42:23 5851b861e8e6: Download complete 22:42:23 b85a868b505f: Verifying Checksum 22:42:23 b85a868b505f: Download complete 22:42:23 bab4dde63d76: Verifying Checksum 22:42:23 bab4dde63d76: Download complete 22:42:24 b85a868b505f: Pull complete 22:42:24 e2be974225ed: Pull complete 22:42:25 339a4e72a1f5: Pull complete 22:42:25 988bab9f4d93: Pull complete 22:42:25 1469e6f7b9e6: Pull complete 22:42:25 eaf3925da568: Pull complete 22:42:27 bab4dde63d76: Pull complete 22:42:27 bde34c3a00c8: Pull complete 22:42:27 b352a97aabf1: Pull complete 22:42:27 4872d77fe225: Pull complete 22:42:27 5851b861e8e6: Pull complete 22:42:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:42:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:42:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:27 prd-ubuntu20.04-docker-8c-8g-17184 does not seem to be running inside a container 22:42:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:42:29 $ docker top d5cd75c9e9806f6f7bba6c93ae409d0d231805e6fe45d33ef2982f8aeada5bec -eo pid,comm 22:42: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). 22:42:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:42:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:29 [ssh-agent] Looking for ssh-agent implementation... 22:42:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:29 $ docker exec d5cd75c9e9806f6f7bba6c93ae409d0d231805e6fe45d33ef2982f8aeada5bec ssh-agent 22:42:29 SSH_AUTH_SOCK=/tmp/ssh-hCsACf0iWdzK/agent.32 22:42:29 SSH_AGENT_PID=38 22:42:29 Running ssh-add (command line suppressed) 22:42:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_1137038146223584112.key (/w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_1137038146223584112.key) 22:42:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:30 + git tag --points-at HEAD [Pipeline] } 22:42:30 $ docker exec --env ******** --env ******** d5cd75c9e9806f6f7bba6c93ae409d0d231805e6fe45d33ef2982f8aeada5bec ssh-agent -k 22:42:30 unset SSH_AUTH_SOCK; 22:42:30 unset SSH_AGENT_PID; 22:42:30 echo Agent pid 38 killed; 22:42:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:42:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:42:30 [ssh-agent] Looking for ssh-agent implementation... 22:42:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:42:30 $ docker exec d5cd75c9e9806f6f7bba6c93ae409d0d231805e6fe45d33ef2982f8aeada5bec ssh-agent 22:42:30 SSH_AUTH_SOCK=/tmp/ssh-G1Zc93AtdD0t/agent.70 22:42:30 SSH_AGENT_PID=76 22:42:30 Running ssh-add (command line suppressed) 22:42:30 Identity added: /w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_1053062250289222684.key (/w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_1053062250289222684.key) 22:42:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:42:31 + git semver init 22:42:31 2023-05-29 22:42:31,324 [run_init] DEBUG init version:0.0.0 force:False 22:42:31 2023-05-29 22:42:31,324 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-413/.semver 22:42:31 2023-05-29 22:42:31,325 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-413/.semver 22:42:31 2023-05-29 22:42:31,325 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-413/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-413, universal_newlines=False, shell=None, istream=None) 22:42:32 2023-05-29 22:42:32,301 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-413/.git/info/exclude 22:42:32 2023-05-29 22:42:32,301 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 with force:False 22:42:32 2023-05-29 22:42:32,301 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 22:42:32 2023-05-29 22:42:32,305 [execute] INFO git cat-file --batch-check 22:42:32 2023-05-29 22:42:32,306 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 22:42:32 2023-05-29 22:42:32,312 [execute] INFO git cat-file --batch 22:42:32 2023-05-29 22:42:32,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 22:42:32 2023-05-29 22:42:32,318 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 22:42:32 0.0.0 [Pipeline] } 22:42:32 $ docker exec --env ******** --env ******** d5cd75c9e9806f6f7bba6c93ae409d0d231805e6fe45d33ef2982f8aeada5bec ssh-agent -k 22:42:32 unset SSH_AUTH_SOCK; 22:42:32 unset SSH_AGENT_PID; 22:42:32 echo Agent pid 76 killed; 22:42:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:42:32 + git semver [Pipeline] } 22:42:33 $ docker stop --time=1 d5cd75c9e9806f6f7bba6c93ae409d0d231805e6fe45d33ef2982f8aeada5bec 22:42:34 $ docker rm -f --volumes d5cd75c9e9806f6f7bba6c93ae409d0d231805e6fe45d33ef2982f8aeada5bec [Pipeline] // withDockerContainer [Pipeline] sh 22:42:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:42:35 Stashed 1 file(s) [Pipeline] echo 22:42:35 [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 22:42:35 provisioning config files... 22:42:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config11551213383996279942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:36 ---> docker-login.sh 22:42:36 nexus3.edgexfoundry.org:10001 22:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:36 Configure a credential helper to remove this warning. See 22:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:36 22:42:36 Login Succeeded 22:42:36 nexus3.edgexfoundry.org:10002 22:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:36 Configure a credential helper to remove this warning. See 22:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:36 22:42:36 Login Succeeded 22:42:36 nexus3.edgexfoundry.org:10003 22:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:36 Configure a credential helper to remove this warning. See 22:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:36 22:42:36 Login Succeeded 22:42:36 nexus3.edgexfoundry.org:10004 22:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:36 Configure a credential helper to remove this warning. See 22:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:36 22:42:36 Login Succeeded 22:42:36 docker.io 22:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:36 Configure a credential helper to remove this warning. See 22:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:36 22:42:36 Login Succeeded 22:42:36 ---> docker-login.sh ends [Pipeline] } 22:42:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:42:36 ========================================================= 22:42:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:42:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:37 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:42:37 Sending build context to Docker daemon 23.69MB 22:42:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:42:37 Step 2/12 : FROM ${BASE} AS builder 22:42:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:42:37 f56be85fc22e: Pulling fs layer 22:42:37 85791d961cd3: Pulling fs layer 22:42:37 d694b5ae8c79: Pulling fs layer 22:42:37 9f32a84ed3da: Pulling fs layer 22:42:37 4d19c01a9841: Pulling fs layer 22:42:37 9325e15d5711: Pulling fs layer 22:42:37 556b6ee489ea: Pulling fs layer 22:42:37 c5a4b2cf53e6: Pulling fs layer 22:42:37 9325e15d5711: Waiting 22:42:37 9f32a84ed3da: Waiting 22:42:37 4d19c01a9841: Waiting 22:42:37 556b6ee489ea: Waiting 22:42:37 c5a4b2cf53e6: Waiting 22:42:37 85791d961cd3: Verifying Checksum 22:42:37 85791d961cd3: Download complete 22:42:37 9f32a84ed3da: Verifying Checksum 22:42:37 9f32a84ed3da: Download complete 22:42:37 4d19c01a9841: Download complete 22:42:37 f56be85fc22e: Verifying Checksum 22:42:37 f56be85fc22e: Download complete 22:42:37 9325e15d5711: Verifying Checksum 22:42:37 9325e15d5711: Download complete 22:42:37 f56be85fc22e: Pull complete 22:42:37 85791d961cd3: Pull complete 22:42:38 c5a4b2cf53e6: Verifying Checksum 22:42:38 c5a4b2cf53e6: Download complete 22:42:38 d694b5ae8c79: Verifying Checksum 22:42:38 d694b5ae8c79: Download complete 22:42:38 556b6ee489ea: Verifying Checksum 22:42:38 556b6ee489ea: Download complete 22:42:41 d694b5ae8c79: Pull complete 22:42:41 9f32a84ed3da: Pull complete 22:42:41 4d19c01a9841: Pull complete 22:42:42 9325e15d5711: Pull complete 22:42:44 556b6ee489ea: Pull complete 22:42:45 c5a4b2cf53e6: Pull complete 22:42:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:42:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:42:45 ---> c4be618373d6 22:42:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:42:47 ---> Running in c061022a8a20 22:42:47 Removing intermediate container c061022a8a20 22:42:47 ---> 818b6c4f637b 22:42:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:42:47 ---> Running in 3e4ff071bf25 22:42:47 Removing intermediate container 3e4ff071bf25 22:42:47 ---> 9f41c63be3f2 22:42:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:42:47 ---> Running in 60f5c3f95e1a 22:42:47 Removing intermediate container 60f5c3f95e1a 22:42:47 ---> a7006767e6c5 22:42:47 Step 6/12 : WORKDIR /device-virtual-go 22:42:47 ---> Running in a69f61729dd7 22:42:47 Removing intermediate container a69f61729dd7 22:42:47 ---> 3e5a3485bae1 22:42:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:47 ---> Running in 6cfadf75fce7 22:42:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:42:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:42:48 (1/4) Installing openssh-keygen (9.1_p1-r3) 22:42:48 (2/4) Installing libedit (20221030.3.1-r0) 22:42:48 (3/4) Installing openssh-client-common (9.1_p1-r3) 22:42:48 (4/4) Installing openssh-client-default (9.1_p1-r3) 22:42:48 Executing busybox-1.35.0-r29.trigger 22:42:48 OK: 269 MiB in 57 packages 22:42:49 Removing intermediate container 6cfadf75fce7 22:42:49 ---> c7b4bbd24eca 22:42:49 Step 8/12 : COPY go.mod vendor* ./ 22:42:49 ---> 00671b8a24f3 22:42:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:49 ---> Running in b7998eacd090 22:42:50 Still waiting to schedule task 22:42:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17183’ 22:43:11 Removing intermediate container b7998eacd090 22:43:11 ---> b09c3f8b0d51 22:43:11 Step 10/12 : COPY . . 22:43:11 ---> adc57d042c5e 22:43:11 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:43:11 ---> Running in 525bac061a30 22:43:11 Removing intermediate container 525bac061a30 22:43:11 ---> bd6a61f25f72 22:43:11 Step 12/12 : RUN $MAKE 22:43:11 ---> Running in 362ec36ce15c 22:43:11 noop 22:43:11 Removing intermediate container 362ec36ce15c 22:43:11 ---> af8d59762dd9 22:43:11 Successfully built af8d59762dd9 22:43:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:12 + docker inspect -f . ci-base-image-x86_64 22:43:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:12 prd-ubuntu20.04-docker-8c-8g-17184 does not seem to be running inside a container 22:43:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:43:12 $ docker top f8975f922418453eece8ce213920163e1be71604e83197f9a36c1514177b5103 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:13 + go version 22:43:13 go version go1.20.2 linux/amd64 [Pipeline] } 22:43:13 $ docker stop --time=1 f8975f922418453eece8ce213920163e1be71604e83197f9a36c1514177b5103 22:43:14 $ docker rm -f --volumes f8975f922418453eece8ce213920163e1be71604e83197f9a36c1514177b5103 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:15 + docker inspect -f . ci-base-image-x86_64 22:43:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:15 prd-ubuntu20.04-docker-8c-8g-17184 does not seem to be running inside a container 22:43:15 $ 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-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:43:15 $ docker top 139bc78f3012d3bb719b050d848036f322dd7847378371f4927f4f1a7ce5b037 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:16 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-413 [Pipeline] fileExists [Pipeline] sh 22:43:16 + make test 22:43:16 go test ./... -coverprofile=coverage.out 22:43:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:43:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:43:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 22:43:38 go vet ./... 22:43:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:43:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:43:40 ./bin/test-attribution-txt.sh [Pipeline] echo 22:43:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:43:41 $ docker stop --time=1 139bc78f3012d3bb719b050d848036f322dd7847378371f4927f4f1a7ce5b037 22:43:43 $ docker rm -f --volumes 139bc78f3012d3bb719b050d848036f322dd7847378371f4927f4f1a7ce5b037 [Pipeline] // withDockerContainer [Pipeline] sh 22:43:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:43:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:43:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:43:44 + ls -al . 22:43:44 total 196 22:43:44 drwxrwxr-x 9 jenkins jenkins 4096 May 29 22:43 . 22:43:44 drwxrwxr-x 4 jenkins jenkins 4096 May 29 22:42 .. 22:43:44 drwxrwxr-x 8 jenkins jenkins 4096 May 29 22:42 .git 22:43:44 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:42 .github 22:43:44 -rw-rw-r-- 1 jenkins jenkins 337 May 29 22:42 .gitignore 22:43:44 -rw-rw-r-- 1 jenkins jenkins 41 May 29 22:42 .golangci.yml 22:43:44 drwxr-xr-x 3 jenkins jenkins 4096 May 29 22:42 .semver 22:43:44 -rw-rw-r-- 1 jenkins jenkins 8652 May 29 22:42 Attribution.txt 22:43:44 -rw-rw-r-- 1 jenkins jenkins 11367 May 29 22:42 CHANGELOG.md 22:43:44 -rw-rw-r-- 1 jenkins jenkins 1646 May 29 22:42 Dockerfile 22:43:44 -rw-rw-r-- 1 jenkins jenkins 677 May 29 22:42 GOVERNANCE.md 22:43:44 -rw-rw-r-- 1 jenkins jenkins 660 May 29 22:42 Jenkinsfile 22:43:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 22:42 LICENSE 22:43:44 -rw-rw-r-- 1 jenkins jenkins 1696 May 29 22:42 Makefile 22:43:44 -rw-rw-r-- 1 jenkins jenkins 623 May 29 22:42 OWNERS.md 22:43:44 -rw-rw-r-- 1 jenkins jenkins 4131 May 29 22:42 README.md 22:43:44 -rw-rw-r-- 1 jenkins jenkins 5 May 29 22:42 VERSION 22:43:44 drwxrwxr-x 2 jenkins jenkins 4096 May 29 22:42 bin 22:43:44 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:42 cmd 22:43:44 -rw-r--r-- 1 jenkins jenkins 43063 May 29 22:43 coverage.out 22:43:44 -rw-rw-r-- 1 jenkins jenkins 3161 May 29 22:42 go.mod 22:43:44 -rw-rw-r-- 1 jenkins jenkins 30898 May 29 22:42 go.sum 22:43:44 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:42 internal 22:43:44 drwxrwxr-x 4 jenkins jenkins 4096 May 29 22:42 snap 22:43:44 -rw-rw-r-- 1 jenkins jenkins 235 May 29 22:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:45 + 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=368cd7a2f79fe1528dc850d86276d3450d488851 --label arch=amd64 --label version=0.0.0 . 22:43:45 Sending build context to Docker daemon 23.73MB 22:43:45 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:43:45 Step 2/25 : FROM ${BASE} AS builder 22:43:45 ---> af8d59762dd9 22:43:45 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:43:45 ---> Running in 7c246a9e5228 22:43:45 Removing intermediate container 7c246a9e5228 22:43:45 ---> 90324ee67b2e 22:43:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:43:45 ---> Running in 44c0914bf271 22:43:45 Removing intermediate container 44c0914bf271 22:43:45 ---> dfe4691a7e41 22:43:45 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:43:45 ---> Running in ac1f8a0db4b3 22:43:45 Removing intermediate container ac1f8a0db4b3 22:43:45 ---> f32c2cea9317 22:43:45 Step 6/25 : WORKDIR /device-virtual-go 22:43:45 ---> Running in 383cf32f07b5 22:43:45 Removing intermediate container 383cf32f07b5 22:43:45 ---> 3ae641973303 22:43:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:43:45 ---> Running in 71b40cec6333 22:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:43:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:43:46 OK: 269 MiB in 57 packages 22:43:46 Removing intermediate container 71b40cec6333 22:43:46 ---> 09df8af2120b 22:43:46 Step 8/25 : COPY go.mod vendor* ./ 22:43:46 ---> 53a4132ad2b6 22:43:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:43:47 ---> Running in cfe0c9de9346 22:43:47 Removing intermediate container cfe0c9de9346 22:43:47 ---> 45428585325b 22:43:47 Step 10/25 : COPY . . 22:43:48 ---> 4f125f470c77 22:43:48 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:43:48 ---> Running in ac787cad6014 22:43:48 Removing intermediate container ac787cad6014 22:43:48 ---> bf6b43f9214b 22:43:48 Step 12/25 : RUN $MAKE 22:43:48 ---> Running in abd79fa93454 22:43:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:44:06 Removing intermediate container abd79fa93454 22:44:06 ---> b9277f994011 22:44:06 Step 13/25 : FROM alpine:3.17 22:44:06 3.17: Pulling from library/alpine 22:44:06 f56be85fc22e: Already exists 22:44:06 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:44:06 Status: Downloaded newer image for alpine:3.17 22:44:06 ---> 9ed4aefc74f6 22:44:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:44:06 ---> Running in 8ef067c58e6d 22:44:06 Removing intermediate container 8ef067c58e6d 22:44:06 ---> b32a994d2922 22:44:06 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:44:06 ---> Running in efe3b49ee387 22:44:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:44:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:44:07 (1/1) Installing dumb-init (1.2.5-r2) 22:44:07 Executing busybox-1.35.0-r29.trigger 22:44:07 OK: 7 MiB in 16 packages 22:44:08 Removing intermediate container efe3b49ee387 22:44:08 ---> 0fb944e1c29e 22:44:08 Step 16/25 : WORKDIR / 22:44:08 ---> Running in 7add30cc00d7 22:44:08 Removing intermediate container 7add30cc00d7 22:44:08 ---> 6888e152bc44 22:44:08 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:44:08 ---> c0089e7d2dfb 22:44:08 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:44:08 ---> 614f65f020d6 22:44:08 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:44:08 ---> 4b0ab0037676 22:44:08 Step 20/25 : EXPOSE 59900 22:44:08 ---> Running in 3c5da33a8efe 22:44:08 Removing intermediate container 3c5da33a8efe 22:44:08 ---> 13f69e8fe0fe 22:44:08 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:44:08 ---> Running in b9ff6d0c56a1 22:44:09 Removing intermediate container b9ff6d0c56a1 22:44:09 ---> b9af2455c2ca 22:44:09 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:44:09 ---> Running in a8d027766821 22:44:09 Removing intermediate container a8d027766821 22:44:09 ---> 1aedf636816f 22:44:09 Step 23/25 : LABEL arch=amd64 22:44:09 ---> Running in a529681532b5 22:44:09 Removing intermediate container a529681532b5 22:44:09 ---> 64c58b0c99a9 22:44:09 Step 24/25 : LABEL git_sha=368cd7a2f79fe1528dc850d86276d3450d488851 22:44:09 ---> Running in d690176a1844 22:44:09 Removing intermediate container d690176a1844 22:44:09 ---> e9efbf9146b9 22:44:09 Step 25/25 : LABEL version=0.0.0 22:44:09 ---> Running in 90861f41d80c 22:44:09 Removing intermediate container 90861f41d80c 22:44:09 ---> 4b656e100d24 22:44:09 [Warning] One or more build-args [ARCH] were not consumed 22:44:09 Successfully built 4b656e100d24 22:44:09 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 22:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:10 22:44:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:10 latest: Pulling from edgex-lftools-log-publisher 22:44:10 5eb5b503b376: Pulling fs layer 22:44:10 5c69ac0246d0: Pulling fs layer 22:44:10 ec43610c2a17: Pulling fs layer 22:44:10 3a2ae6a8a46f: Pulling fs layer 22:44:10 33b1e0a273af: Pulling fs layer 22:44:10 5d3b04190fa2: Pulling fs layer 22:44:10 2f39f015ded8: Pulling fs layer 22:44:10 33b1e0a273af: Waiting 22:44:10 2f39f015ded8: Waiting 22:44:10 5d3b04190fa2: Waiting 22:44:10 3a2ae6a8a46f: Waiting 22:44:10 5c69ac0246d0: Verifying Checksum 22:44:10 5c69ac0246d0: Download complete 22:44:10 3a2ae6a8a46f: Verifying Checksum 22:44:10 3a2ae6a8a46f: Download complete 22:44:10 33b1e0a273af: Verifying Checksum 22:44:10 33b1e0a273af: Download complete 22:44:10 5d3b04190fa2: Verifying Checksum 22:44:10 5d3b04190fa2: Download complete 22:44:10 ec43610c2a17: Verifying Checksum 22:44:10 ec43610c2a17: Download complete 22:44:10 5eb5b503b376: Verifying Checksum 22:44:10 5eb5b503b376: Download complete 22:44:11 2f39f015ded8: Download complete 22:44:12 5eb5b503b376: Pull complete 22:44:12 5c69ac0246d0: Pull complete 22:44:12 ec43610c2a17: Pull complete 22:44:12 3a2ae6a8a46f: Pull complete 22:44:12 33b1e0a273af: Pull complete 22:44:12 5d3b04190fa2: Pull complete 22:44:17 2f39f015ded8: Pull complete 22:44:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:44:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:17 prd-ubuntu20.04-docker-8c-8g-17184 does not seem to be running inside a container 22:44:17 $ 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-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:44:19 $ docker top 88e0dd621761d067ae989d985877d3020adb39bf8676edd067dd2e994ada9e65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:20 ---> job-cost.sh 22:44:20 lf-activate-venv: SKIPPING 22:44:20 INFO: No Stack... 22:44:20 INFO: Retrieving Pricing Info for: v3-standard-8 22:44:20 INFO: Archiving Costs [Pipeline] sh 22:44:21 + cat /w/workspace/foundry_device-virtual-go_PR-413/archives/cost.csv 22:44:21 + cut -d, -f6 [Pipeline] lock 22:44:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-413-1-stack-cost] 22:44:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-413-1-stack-cost] did not exist. Created. 22:44:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:44:21 + echo total: 0.2199999988079071 [Pipeline] stash 22:44:21 Stashed 1 file(s) [Pipeline] } 22:44:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:44:21 $ docker stop --time=1 88e0dd621761d067ae989d985877d3020adb39bf8676edd067dd2e994ada9e65 22:44:22 $ docker rm -f --volumes 88e0dd621761d067ae989d985877d3020adb39bf8676edd067dd2e994ada9e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:46:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17185 in /w/workspace/foundry_device-virtual-go_PR-413 [Pipeline] { [Pipeline] ws 22:46:13 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 22:46:13 The recommended git tool is: git 22:46:22 using credential edgex-jenkins-ssh 22:46:22 Cloning the remote Git repository 22:46:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:46:22 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:46:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:46:22 > git --version # timeout=10 22:46:22 > git --version # 'git version 2.25.1' 22:46:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:46:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:46:26 Merging remotes/origin/main commit 8f55b196a710e15398781abdc7fd66bab52d29c1 into PR head commit 368cd7a2f79fe1528dc850d86276d3450d488851 22:46:26 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:46:26 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:46:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:46:26 > git config core.sparsecheckout # timeout=10 22:46:26 Merge succeeded, producing 368cd7a2f79fe1528dc850d86276d3450d488851 22:46:26 Checking out Revision 368cd7a2f79fe1528dc850d86276d3450d488851 (PR-413) 22:46:26 > git checkout -f 368cd7a2f79fe1528dc850d86276d3450d488851 # timeout=10 22:46:26 > git remote # timeout=10 22:46:26 > git config --get remote.origin.url # timeout=10 22:46:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:46:26 > git merge 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 22:46:26 > git rev-parse HEAD^{commit} # timeout=10 22:46:26 > git config core.sparsecheckout # timeout=10 22:46:27 > git checkout -f 368cd7a2f79fe1528dc850d86276d3450d488851 # timeout=10 22:46:30 Commit message: "fix: Replace slack chat with github discussion" 22:46:30 > git --version # timeout=10 22:46:30 > git --version # 'git version 2.25.1' 22:46:30 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:46:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:46:31 % Total % Received % Xferd Average Speed Time Time Time Current 22:46:31 Dload Upload Total Spent Left Speed 22:46:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 22:46:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:46:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:46:32 + sudo tee /etc/docker/daemon.new 22:46:32 { 22:46:32 "registry-mirrors": [ 22:46:32 "https://nexus3.edgexfoundry.org:10001" 22:46:32 ], 22:46:32 "bip": "10.250.0.254/24", 22:46:32 "hosts": [ 22:46:32 "tcp://0.0.0.0:5555", 22:46:32 "unix:///var/run/docker.sock" 22:46:32 ], 22:46:32 "mtu": 1458, 22:46:32 "selinux-enabled": true, 22:46:32 "seccomp-profile": "/etc/docker/seccomp.json" 22:46:32 } [Pipeline] sh 22:46:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:46:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:55 provisioning config files... 22:46:55 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8345901887430299309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:55 ---> docker-login.sh 22:46:55 nexus3.edgexfoundry.org:10001 22:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:56 Configure a credential helper to remove this warning. See 22:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:56 22:46:56 Login Succeeded 22:46:56 nexus3.edgexfoundry.org:10002 22:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:56 Configure a credential helper to remove this warning. See 22:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:56 22:46:56 Login Succeeded 22:46:56 nexus3.edgexfoundry.org:10003 22:46:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:57 Configure a credential helper to remove this warning. See 22:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:57 22:46:57 Login Succeeded 22:46:57 nexus3.edgexfoundry.org:10004 22:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:57 Configure a credential helper to remove this warning. See 22:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:57 22:46:57 Login Succeeded 22:46:57 docker.io 22:46:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:57 Configure a credential helper to remove this warning. See 22:46:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:57 22:46:57 Login Succeeded 22:46:57 ---> docker-login.sh ends [Pipeline] } 22:46:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:46:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:46:58 ========================================================= 22:46:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:46:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:46:59 Sending build context to Docker daemon 12.01MB 22:46:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:46:59 Step 2/12 : FROM ${BASE} AS builder 22:46:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:46:59 c41833b44d91: Pulling fs layer 22:46:59 ed15518f5707: Pulling fs layer 22:46:59 feae8fd75edb: Pulling fs layer 22:46:59 242c74f7c9fa: Pulling fs layer 22:46:59 3cdef696dda3: Pulling fs layer 22:46:59 2ced38df9373: Pulling fs layer 22:46:59 58f1dce35555: Pulling fs layer 22:46:59 242c74f7c9fa: Waiting 22:46:59 3cdef696dda3: Waiting 22:46:59 2ced38df9373: Waiting 22:46:59 58f1dce35555: Waiting 22:46:59 ed15518f5707: Verifying Checksum 22:46:59 ed15518f5707: Download complete 22:46:59 242c74f7c9fa: Verifying Checksum 22:46:59 242c74f7c9fa: Download complete 22:46:59 3cdef696dda3: Download complete 22:46:59 c41833b44d91: Download complete 22:47:00 c41833b44d91: Pull complete 22:47:01 58f1dce35555: Verifying Checksum 22:47:01 58f1dce35555: Download complete 22:47:01 ed15518f5707: Pull complete 22:47:02 feae8fd75edb: Verifying Checksum 22:47:02 feae8fd75edb: Download complete 22:47:02 2ced38df9373: Verifying Checksum 22:47:02 2ced38df9373: Download complete 22:47:14 feae8fd75edb: Pull complete 22:47:14 242c74f7c9fa: Pull complete 22:47:14 3cdef696dda3: Pull complete 22:47:19 2ced38df9373: Pull complete 22:47:23 58f1dce35555: Pull complete 22:47:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:47:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:47:23 ---> fadd8f120f05 22:47:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:47:24 ---> Running in 0c18fceb41c3 22:47:25 Removing intermediate container 0c18fceb41c3 22:47:25 ---> c6fa08dec4a8 22:47:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:47:25 ---> Running in b0e95709b58f 22:47:25 Removing intermediate container b0e95709b58f 22:47:25 ---> 072d39a1a0ef 22:47:25 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:47:25 ---> Running in 6205c6716f76 22:47:25 Removing intermediate container 6205c6716f76 22:47:25 ---> c733e2458776 22:47:25 Step 6/12 : WORKDIR /device-virtual-go 22:47:25 ---> Running in 9b58c1b751a8 22:47:26 Removing intermediate container 9b58c1b751a8 22:47:26 ---> fa0e22f53f9a 22:47:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:26 ---> Running in 14f0e35beed7 22:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:47:29 (1/4) Installing openssh-keygen (9.1_p1-r3) 22:47:29 (2/4) Installing libedit (20221030.3.1-r0) 22:47:29 (3/4) Installing openssh-client-common (9.1_p1-r3) 22:47:29 (4/4) Installing openssh-client-default (9.1_p1-r3) 22:47:29 Executing busybox-1.35.0-r29.trigger 22:47:29 OK: 268 MiB in 57 packages 22:47:31 Removing intermediate container 14f0e35beed7 22:47:31 ---> 8751814cb94e 22:47:31 Step 8/12 : COPY go.mod vendor* ./ 22:47:32 ---> 6cf914598dfd 22:47:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:47:32 ---> Running in f3770ddf0fc4 22:48:40 Removing intermediate container f3770ddf0fc4 22:48:40 ---> 9d0fa2d08aea 22:48:40 Step 10/12 : COPY . . 22:48:40 ---> a2678301dc55 22:48:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:48:40 ---> Running in 500c5b21b4ba 22:48:40 Removing intermediate container 500c5b21b4ba 22:48:40 ---> f5b8b34d72a3 22:48:40 Step 12/12 : RUN $MAKE 22:48:40 ---> Running in a9ca95855e17 22:48:40 noop 22:48:40 Removing intermediate container a9ca95855e17 22:48:40 ---> 4fdea70ae591 22:48:40 Successfully built 4fdea70ae591 22:48:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:40 + docker inspect -f . ci-base-image-arm64 22:48:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:41 prd-ubuntu20.04-docker-arm64-4c-16g-17185 does not seem to be running inside a container 22:48:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:48:42 $ docker top d6d68b9d728552d05921faac9bd5e7252b3e00b24df87d209702280d7031351e -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:43 + go version 22:48:43 go version go1.20.2 linux/arm64 [Pipeline] } 22:48:43 $ docker stop --time=1 d6d68b9d728552d05921faac9bd5e7252b3e00b24df87d209702280d7031351e 22:48:44 $ docker rm -f --volumes d6d68b9d728552d05921faac9bd5e7252b3e00b24df87d209702280d7031351e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:45 + docker inspect -f . ci-base-image-arm64 22:48:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:45 prd-ubuntu20.04-docker-arm64-4c-16g-17185 does not seem to be running inside a container 22:48:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:48:46 $ docker top 988874959c6293dda95a4e14a421423d9c1a748c06d5ed51faec93d277b0b2d5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:47 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 22:48:47 + make test 22:48:47 go test ./... -coverprofile=coverage.out 22:49:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:51:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:51:11 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.091s coverage: 58.4% of statements 22:51:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:51:11 go vet ./... 22:51:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:51:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:51:44 ./bin/test-attribution-txt.sh [Pipeline] echo 22:51:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:51:44 $ docker stop --time=1 988874959c6293dda95a4e14a421423d9c1a748c06d5ed51faec93d277b0b2d5 22:51:46 $ docker rm -f --volumes 988874959c6293dda95a4e14a421423d9c1a748c06d5ed51faec93d277b0b2d5 [Pipeline] // withDockerContainer [Pipeline] sh 22:51:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:51:48 Warning: overwriting stash ‘coverage-report’ 22:51:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:51:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:51:49 + ls -al . 22:51:49 total 192 22:51:49 drwxrwxr-x 8 jenkins jenkins 4096 May 29 22:48 . 22:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 29 22:46 .. 22:51:49 drwxrwxr-x 8 jenkins jenkins 4096 May 29 22:46 .git 22:51:49 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:46 .github 22:51:49 -rw-rw-r-- 1 jenkins jenkins 337 May 29 22:46 .gitignore 22:51:49 -rw-rw-r-- 1 jenkins jenkins 41 May 29 22:46 .golangci.yml 22:51:49 -rw-rw-r-- 1 jenkins jenkins 8652 May 29 22:46 Attribution.txt 22:51:49 -rw-rw-r-- 1 jenkins jenkins 11367 May 29 22:46 CHANGELOG.md 22:51:49 -rw-rw-r-- 1 jenkins jenkins 1646 May 29 22:46 Dockerfile 22:51:49 -rw-rw-r-- 1 jenkins jenkins 677 May 29 22:46 GOVERNANCE.md 22:51:49 -rw-rw-r-- 1 jenkins jenkins 660 May 29 22:46 Jenkinsfile 22:51:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 22:46 LICENSE 22:51:49 -rw-rw-r-- 1 jenkins jenkins 1696 May 29 22:46 Makefile 22:51:49 -rw-rw-r-- 1 jenkins jenkins 623 May 29 22:46 OWNERS.md 22:51:49 -rw-rw-r-- 1 jenkins jenkins 4131 May 29 22:46 README.md 22:51:49 -rw-rw-r-- 1 jenkins jenkins 5 May 29 22:42 VERSION 22:51:49 drwxrwxr-x 2 jenkins jenkins 4096 May 29 22:46 bin 22:51:49 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:46 cmd 22:51:49 -rw-r--r-- 1 jenkins jenkins 43063 May 29 22:51 coverage.out 22:51:49 -rw-rw-r-- 1 jenkins jenkins 3161 May 29 22:46 go.mod 22:51:49 -rw-rw-r-- 1 jenkins jenkins 30898 May 29 22:46 go.sum 22:51:49 drwxrwxr-x 3 jenkins jenkins 4096 May 29 22:46 internal 22:51:49 drwxrwxr-x 4 jenkins jenkins 4096 May 29 22:46 snap 22:51:49 -rw-rw-r-- 1 jenkins jenkins 235 May 29 22:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:50 + 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=368cd7a2f79fe1528dc850d86276d3450d488851 --label arch=arm64 --label version=0.0.0 . 22:51:51 Sending build context to Docker daemon 12.06MB 22:51:51 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:51:51 Step 2/25 : FROM ${BASE} AS builder 22:51:51 ---> 4fdea70ae591 22:51:51 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:51:51 ---> Running in 9e4be9632c98 22:51:51 Removing intermediate container 9e4be9632c98 22:51:51 ---> 16187ff4c9db 22:51:51 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:51:51 ---> Running in e1848bb73d08 22:51:51 Removing intermediate container e1848bb73d08 22:51:51 ---> b791aede982b 22:51:51 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:51:51 ---> Running in 2bd38af21b0b 22:51:52 Removing intermediate container 2bd38af21b0b 22:51:52 ---> 35de41f9edf9 22:51:52 Step 6/25 : WORKDIR /device-virtual-go 22:51:52 ---> Running in 7ae044f85c69 22:51:52 Removing intermediate container 7ae044f85c69 22:51:52 ---> d65603f43c2f 22:51:52 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:51:53 ---> Running in 9ad06c8c18cd 22:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:51:55 OK: 268 MiB in 57 packages 22:51:56 Removing intermediate container 9ad06c8c18cd 22:51:56 ---> 317258da7137 22:51:56 Step 8/25 : COPY go.mod vendor* ./ 22:51:56 ---> 55a2fba1868f 22:51:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:51:56 ---> Running in bc6afe140b7d 22:52:01 Removing intermediate container bc6afe140b7d 22:52:01 ---> 9227d7044b61 22:52:01 Step 10/25 : COPY . . 22:52:01 ---> 8fff98a5c498 22:52:01 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:52:01 ---> Running in 89777ab19cf5 22:52:02 Removing intermediate container 89777ab19cf5 22:52:02 ---> ed19461b7d54 22:52:02 Step 12/25 : RUN $MAKE 22:52:02 ---> Running in 60bd013d958d 22:52:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:54:25 Removing intermediate container 60bd013d958d 22:54:25 ---> 8ca830f19283 22:54:25 Step 13/25 : FROM alpine:3.17 22:54:25 3.17: Pulling from library/alpine 22:54:25 c41833b44d91: Already exists 22:54:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:54:25 Status: Downloaded newer image for alpine:3.17 22:54:25 ---> 51e60588ff2c 22:54:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:54:25 ---> Running in 938cade074aa 22:54:25 Removing intermediate container 938cade074aa 22:54:25 ---> 5b4ddd3e8e06 22:54:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:54:25 ---> Running in 30882ce16abc 22:54:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:54:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:54:25 (1/1) Installing dumb-init (1.2.5-r2) 22:54:25 Executing busybox-1.35.0-r29.trigger 22:54:25 OK: 8 MiB in 16 packages 22:54:25 Removing intermediate container 30882ce16abc 22:54:25 ---> 16ffe64a9e4e 22:54:25 Step 16/25 : WORKDIR / 22:54:25 ---> Running in 9cdbc333f04f 22:54:25 Removing intermediate container 9cdbc333f04f 22:54:25 ---> 8f0d18ea1136 22:54:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:54:25 ---> d86275808a26 22:54:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:54:25 ---> 69eedc74f23b 22:54:25 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:54:25 ---> 59ec77bf837d 22:54:25 Step 20/25 : EXPOSE 59900 22:54:25 ---> Running in 6649c921ad3f 22:54:25 Removing intermediate container 6649c921ad3f 22:54:25 ---> f9bd1f2f60f6 22:54:25 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:54:25 ---> Running in d49b55288d66 22:54:25 Removing intermediate container d49b55288d66 22:54:25 ---> aa688c4432d6 22:54:25 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:54:25 ---> Running in c60595468138 22:54:25 Removing intermediate container c60595468138 22:54:25 ---> 474179fb68e7 22:54:25 Step 23/25 : LABEL arch=arm64 22:54:25 ---> Running in 899f90ed20b0 22:54:25 Removing intermediate container 899f90ed20b0 22:54:25 ---> 23ea143a7ac9 22:54:25 Step 24/25 : LABEL git_sha=368cd7a2f79fe1528dc850d86276d3450d488851 22:54:25 ---> Running in 33393119e894 22:54:25 Removing intermediate container 33393119e894 22:54:25 ---> c247fa60c139 22:54:25 Step 25/25 : LABEL version=0.0.0 22:54:25 ---> Running in 67e5229824e6 22:54:25 Removing intermediate container 67e5229824e6 22:54:25 ---> 7eea3bcc2221 22:54:25 [Warning] One or more build-args [ARCH] were not consumed 22:54:25 Successfully built 7eea3bcc2221 22:54:25 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:26 22:54:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:26 arm64: Pulling from edgex-lftools-log-publisher 22:54:26 8998bd30e6a1: Pulling fs layer 22:54:26 04944245beec: Pulling fs layer 22:54:26 699f458cf7ca: Pulling fs layer 22:54:26 765212b225bb: Pulling fs layer 22:54:26 f23df028b6ca: Pulling fs layer 22:54:26 d65c8cfc05b1: Pulling fs layer 22:54:26 2437ff75d9bd: Pulling fs layer 22:54:26 765212b225bb: Waiting 22:54:26 f23df028b6ca: Waiting 22:54:26 d65c8cfc05b1: Waiting 22:54:26 2437ff75d9bd: Waiting 22:54:26 04944245beec: Verifying Checksum 22:54:26 04944245beec: Download complete 22:54:26 765212b225bb: Verifying Checksum 22:54:26 765212b225bb: Download complete 22:54:26 f23df028b6ca: Download complete 22:54:26 d65c8cfc05b1: Verifying Checksum 22:54:26 d65c8cfc05b1: Download complete 22:54:26 699f458cf7ca: Download complete 22:54:27 8998bd30e6a1: Download complete 22:54:29 2437ff75d9bd: Verifying Checksum 22:54:29 2437ff75d9bd: Download complete 22:54:31 8998bd30e6a1: Pull complete 22:54:31 04944245beec: Pull complete 22:54:33 699f458cf7ca: Pull complete 22:54:33 765212b225bb: Pull complete 22:54:33 f23df028b6ca: Pull complete 22:54:33 d65c8cfc05b1: Pull complete 22:54:48 2437ff75d9bd: Pull complete 22:54:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:54:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:49 prd-ubuntu20.04-docker-arm64-4c-16g-17185 does not seem to be running inside a container 22:54:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:54:51 $ docker top 9414e2d3d1f216ed97d7425baf73db383f2af91bb41e411ba89208d241243bee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:52 ---> job-cost.sh 22:54:52 lf-activate-venv: SKIPPING 22:54:52 INFO: No Stack... 22:54:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:54:54 INFO: Archiving Costs [Pipeline] sh 22:54:54 + + cut -d, -f6cat 22:54:54 /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 22:54:55 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-413-1-stack-cost] 22:54:55 Resource [jenkins-edgexfoundry-device-virtual-go-PR-413-1-stack-cost] did not exist. Created. 22:54:55 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-413-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:54:55 /w/workspace/device-virtual-go/1@tmp/durable-f3f597fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:54:56 + echo total: 0.10999999940395355 [Pipeline] stash 22:54:56 Warning: overwriting stash ‘stack-cost’ 22:54:56 Stashed 1 file(s) [Pipeline] } 22:54:56 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-413-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:54:56 $ docker stop --time=1 9414e2d3d1f216ed97d7425baf73db383f2af91bb41e411ba89208d241243bee 22:54:58 $ docker rm -f --volumes 9414e2d3d1f216ed97d7425baf73db383f2af91bb41e411ba89208d241243bee [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 22:54:59 provisioning config files... 22:54:59 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config311093744089135824tmp [Pipeline] { [Pipeline] sh 22:54:59 + set +x 22:54:59 + curl -s https://codecov.io/bash 22:54:59 + bash -s -- 22:54:59 22:54:59 _____ _ 22:54:59 / ____| | | 22:54:59 | | ___ __| | ___ ___ _____ __ 22:54:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:54:59 | |___| (_) | (_| | __/ (_| (_) \ V / 22:54:59 \_____\___/ \__,_|\___|\___\___/ \_/ 22:54:59 Bash-1.0.6 22:54:59 22:54:59 22:54:59 ==> git version 2.25.1 found 22:54:59 ==> 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 22:54:59 Release-Date: 2020-01-08 22:54:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:54:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:54:59 ==> Jenkins CI detected. 22:54:59 current dir:  /w/workspace/foundry_device-virtual-go_PR-413 22:54:59 project root: . 22:54:59 --> token set from env 22:54:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:54:59 ==> Running gcov in . (disable via -X gcov) 22:54:59 ==> Python coveragepy not found 22:54:59 ==> Searching for coverage reports in: 22:54:59 + . 22:54:59 -> Found 1 reports 22:54:59 ==> Detecting git/mercurial file structure 22:54:59 ==> Reading reports 22:54:59 + ./coverage.out bytes=43063 22:54:59 ==> Appending adjustments 22:54:59 https://docs.codecov.io/docs/fixing-reports 22:54:59 + Found adjustments 22:54:59 ==> Gzipping contents 22:54:59 8.0K /tmp/codecov.17ONzx.gz 22:54:59 ==> Uploading reports 22:54:59 url: https://codecov.io 22:54:59 query: branch=PR-413&commit=368cd7a2f79fe1528dc850d86276d3450d488851&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=413&job=&cmd_args= 22:54:59 -> Pinging Codecov 22:54:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-413&commit=368cd7a2f79fe1528dc850d86276d3450d488851&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-413%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=413&job=&cmd_args= 22:55:00 -> Uploading to 22:55:00 https://storage.googleapis.com/codecov/v4/raw/2023-05-29/5E52B4B073DB2E39498172D8E973AA87/368cd7a2f79fe1528dc850d86276d3450d488851/d533ec4e-9581-4182-9094-5af424effd56.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230529%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230529T225459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=105b8b7eeb61ac28b2c79436b634f3243ca32f8cad1c3d88f83ac546bc380089 22:55:00 % Total % Received % Xferd Average Speed Time Time Time Current 22:55:00 Dload Upload Total Spent Left Speed 22:55:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21245 --:--:-- --:--:-- --:--:-- 21245 22:55:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/368cd7a2f79fe1528dc850d86276d3450d488851 [Pipeline] } 22:55:00 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 22:55:02 + [ -d /w/workspace/foundry_device-virtual-go_PR-413/archives ] 22:55:02 + ls -al /w/workspace/foundry_device-virtual-go_PR-413/archives 22:55:02 total 16 22:55:02 drwxr-xr-x 3 root root 4096 May 29 22:44 . 22:55:02 drwxrwxr-x 10 jenkins jenkins 4096 May 29 22:44 .. 22:55:02 drwxr-xr-x 2 root root 4096 May 29 22:44 cost 22:55:02 -rw-r--r-- 1 root root 89 May 29 22:44 cost.csv 22:55:02 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-413/archives 22:55:02 + ls -al /w/workspace/foundry_device-virtual-go_PR-413/archives 22:55:02 total 16 22:55:02 drwxr-xr-x 3 jenkins jenkins 4096 May 29 22:44 . 22:55:02 drwxrwxr-x 10 jenkins jenkins 4096 May 29 22:44 .. 22:55:02 drwxr-xr-x 2 jenkins jenkins 4096 May 29 22:44 cost 22:55:02 -rw-r--r-- 1 jenkins jenkins 89 May 29 22:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:55:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:55:03 ---> package-listing.sh 22:55:03 ++ facter osfamily 22:55:03 ++ tr '[:upper:]' '[:lower:]' 22:55:03 + OS_FAMILY=debian 22:55:03 + workspace=/w/workspace/foundry_device-virtual-go_PR-413 22:55:03 + START_PACKAGES=/tmp/packages_start.txt 22:55:03 + END_PACKAGES=/tmp/packages_end.txt 22:55:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:55:03 + PACKAGES=/tmp/packages_start.txt 22:55:03 + '[' /w/workspace/foundry_device-virtual-go_PR-413 ']' 22:55:03 + PACKAGES=/tmp/packages_end.txt 22:55:03 + case "${OS_FAMILY}" in 22:55:03 + dpkg -l 22:55:03 + grep '^ii' 22:55:03 + '[' -f /tmp/packages_start.txt ']' 22:55:03 + '[' -f /tmp/packages_end.txt ']' 22:55:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:55:03 + '[' /w/workspace/foundry_device-virtual-go_PR-413 ']' 22:55:03 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-413/archives/ 22:55:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-413/archives/ [Pipeline] echo 22:55:03 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-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:55:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:55:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:04 prd-ubuntu20.04-docker-8c-8g-17184 does not seem to be running inside a container 22:55:04 $ 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-413/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-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:55:05 $ docker top f6777da2a3249c2fdcc37972028b746f61f44fa24c7f6c4c8384579096bf9d35 -eo pid,comm [Pipeline] { [Pipeline] sh 22:55:05 + touch /tmp/pre-build-complete [Pipeline] sh 22:55:05 + mkdir -p /var/log/sysstat [Pipeline] sh 22:55:06 + ls /var/log/sa-host 22:55:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:06 provisioning config files... 22:55:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config13697345300379818271tmp [Pipeline] { [Pipeline] echo 22:55:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:55:06 ---> create-netrc.sh [Pipeline] } 22:55:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:55:06 ---> python-tools-install.sh [Pipeline] echo 22:55:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:55:07 ---> sudo-logs.sh 22:55:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:55:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:55:07 ---> job-cost.sh 22:55:07 lf-activate-venv: SKIPPING 22:55:07 DEBUG: total: 0.2199999988079071 22:55:07 INFO: Retrieving Stack Cost... 22:55:08 INFO: Retrieving Pricing Info for: v3-standard-8 22:55:08 INFO: Archiving Costs [Pipeline] echo 22:55:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:55:08 ---> logs-deploy.sh 22:55:08 lf-activate-venv: SKIPPING 22:55:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-413/1 22:55:08 INFO: archiving workspace using pattern(s): 22:55:09 Archives upload complete. 22:55:09 INFO: archiving logs to Nexus