Pull request #405 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 lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 6a38750bc4add47675d385a936d144912b5402aa+030a1c50f2b785b1102128f0ffb048d726030487 (2d8033f11761df79d366807104810b84c22cec79) 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-ssh5961909705265635694.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-ssh14672254269251659425.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-405/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-405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13192458781952863170.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-405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15256023212919946261.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-ssh1196794267897741964.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-405/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-405/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11116588928444088702.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14978 in /w/workspace/foundry_device-virtual-go_PR-405 [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-405 # 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/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 030a1c50f2b785b1102128f0ffb048d726030487 into PR head commit 6a38750bc4add47675d385a936d144912b5402aa Merge succeeded, producing 6a38750bc4add47675d385a936d144912b5402aa Checking out Revision 6a38750bc4add47675d385a936d144912b5402aa (PR-405) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a38750bc4add47675d385a936d144912b5402aa # 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 030a1c50f2b785b1102128f0ffb048d726030487 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a38750bc4add47675d385a936d144912b5402aa # timeout=10 Commit message: "docs: Add main branch Warning" 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:41:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:41:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:41:02 ========================================================= 22:41:02 EdgeX Global Pipelines Version Info 22:41:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:41:03 ------------------- 22:41:03 stable info: 22:41:03 ------------------- 22:41:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:41:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:41:03 Message: update stable to v1.0.249 22:41:04 ------------------- 22:41:04 experimental info: 22:41:04 ------------------- 22:41:04 Commited By: **** collab-it+edgex@linuxfoundation.org 22:41:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:41:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:41:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-405 [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-405 [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-405 [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a38750bc4add47675d385a936d144912b5402aa [Pipeline] echo 22:41:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a38750 [Pipeline] echo 22:41:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:41:06 provisioning config files... 22:41:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-405@tmp/config17173459421075466261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:06 ---> docker-login.sh 22:41:06 nexus3.edgexfoundry.org:10001 22:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:06 Configure a credential helper to remove this warning. See 22:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:06 22:41:06 Login Succeeded 22:41:06 nexus3.edgexfoundry.org:10002 22:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:06 Configure a credential helper to remove this warning. See 22:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:06 22:41:06 Login Succeeded 22:41:06 nexus3.edgexfoundry.org:10003 22:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:07 Configure a credential helper to remove this warning. See 22:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:07 22:41:07 Login Succeeded 22:41:07 nexus3.edgexfoundry.org:10004 22:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:07 Configure a credential helper to remove this warning. See 22:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:07 22:41:07 Login Succeeded 22:41:07 docker.io 22:41:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:07 Configure a credential helper to remove this warning. See 22:41:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:07 22:41:07 Login Succeeded 22:41:07 ---> docker-login.sh ends [Pipeline] } 22:41:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:41:07 + git rev-list -1 --merges 6a38750bc4add47675d385a936d144912b5402aa~1..6a38750bc4add47675d385a936d144912b5402aa [Pipeline] echo 22:41:08 -----------> git rev-list -1 --merges 6a38750bc4add47675d385a936d144912b5402aa~1..6a38750bc4add47675d385a936d144912b5402aa 6a38750bc4add47675d385a936d144912b5402aa [false] [Pipeline] sh 22:41:08 + git log --format=format:%s -1 6a38750bc4add47675d385a936d144912b5402aa [Pipeline] echo 22:41:08 ========================================================= 22:41:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:41:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:08 + git log --format=format:%s -1 6a38750bc4add47675d385a936d144912b5402aa [Pipeline] echo 22:41:08 [semverPrep] GIT_COMMIT: 6a38750bc4add47675d385a936d144912b5402aa, Commit Message: docs: Add main branch Warning [Pipeline] echo 22:41:08 [semverPrep] This is not a build commit. [Pipeline] sh 22:41:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:41:09 + grep -v github /etc/ssh/ssh_known_hosts 22:41:09 + [ -e /tmp/ssh_known_hosts ] 22:41:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:41:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:41:09 + sudo tee -a /etc/ssh/ssh_known_hosts 22:41:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:09 22:41:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:10 0.1.4: Pulling from edgex-devops/py-git-semver 22:41:10 b85a868b505f: Pulling fs layer 22:41:10 e2be974225ed: Pulling fs layer 22:41:10 339a4e72a1f5: Pulling fs layer 22:41:10 988bab9f4d93: Pulling fs layer 22:41:10 1469e6f7b9e6: Pulling fs layer 22:41:10 eaf3925da568: Pulling fs layer 22:41:10 1469e6f7b9e6: Waiting 22:41:10 988bab9f4d93: Waiting 22:41:10 bab4dde63d76: Pulling fs layer 22:41:10 bde34c3a00c8: Pulling fs layer 22:41:10 eaf3925da568: Waiting 22:41:10 b352a97aabf1: Pulling fs layer 22:41:10 bab4dde63d76: Waiting 22:41:10 bde34c3a00c8: Waiting 22:41:10 4872d77fe225: Pulling fs layer 22:41:10 5851b861e8e6: Pulling fs layer 22:41:10 b352a97aabf1: Waiting 22:41:10 5851b861e8e6: Waiting 22:41:10 e2be974225ed: Verifying Checksum 22:41:10 e2be974225ed: Download complete 22:41:10 988bab9f4d93: Verifying Checksum 22:41:10 988bab9f4d93: Download complete 22:41:10 1469e6f7b9e6: Verifying Checksum 22:41:10 1469e6f7b9e6: Download complete 22:41:10 eaf3925da568: Verifying Checksum 22:41:10 eaf3925da568: Download complete 22:41:10 339a4e72a1f5: Verifying Checksum 22:41:10 339a4e72a1f5: Download complete 22:41:10 bde34c3a00c8: Download complete 22:41:10 b352a97aabf1: Verifying Checksum 22:41:10 b352a97aabf1: Download complete 22:41:10 4872d77fe225: Verifying Checksum 22:41:10 4872d77fe225: Download complete 22:41:10 5851b861e8e6: Verifying Checksum 22:41:10 5851b861e8e6: Download complete 22:41:10 b85a868b505f: Verifying Checksum 22:41:10 b85a868b505f: Download complete 22:41:10 bab4dde63d76: Verifying Checksum 22:41:10 bab4dde63d76: Download complete 22:41:11 b85a868b505f: Pull complete 22:41:11 e2be974225ed: Pull complete 22:41:13 339a4e72a1f5: Pull complete 22:41:13 988bab9f4d93: Pull complete 22:41:13 1469e6f7b9e6: Pull complete 22:41:13 eaf3925da568: Pull complete 22:41:15 bab4dde63d76: Pull complete 22:41:15 bde34c3a00c8: Pull complete 22:41:15 b352a97aabf1: Pull complete 22:41:15 4872d77fe225: Pull complete 22:41:15 5851b861e8e6: Pull complete 22:41:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:41:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:41:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:41:15 prd-ubuntu20.04-docker-8c-8g-14978 does not seem to be running inside a container 22:41:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-405 -v /w/workspace/foundry_device-virtual-go_PR-405:/w/workspace/foundry_device-virtual-go_PR-405:rw,z -v /w/workspace/foundry_device-virtual-go_PR-405@tmp:/w/workspace/foundry_device-virtual-go_PR-405@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:41:17 $ docker top 1de563686e04130f965bcd1e164e7c2eff42faa7f74210561120dfaaa9146a4b -eo pid,comm 22:41:17 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:41:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:41:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:17 [ssh-agent] Looking for ssh-agent implementation... 22:41:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:17 $ docker exec 1de563686e04130f965bcd1e164e7c2eff42faa7f74210561120dfaaa9146a4b ssh-agent 22:41:17 SSH_AUTH_SOCK=/tmp/ssh-JlSQkWtsnxGN/agent.32 22:41:17 SSH_AGENT_PID=38 22:41:17 Running ssh-add (command line suppressed) 22:41:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-405@tmp/private_key_4455815211210567106.key (/w/workspace/foundry_device-virtual-go_PR-405@tmp/private_key_4455815211210567106.key) 22:41:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:18 + git tag --points-at HEAD [Pipeline] } 22:41:18 $ docker exec --env ******** --env ******** 1de563686e04130f965bcd1e164e7c2eff42faa7f74210561120dfaaa9146a4b ssh-agent -k 22:41:18 unset SSH_AUTH_SOCK; 22:41:18 unset SSH_AGENT_PID; 22:41:18 echo Agent pid 38 killed; 22:41:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:41:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:41:18 [ssh-agent] Looking for ssh-agent implementation... 22:41:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:41:18 $ docker exec 1de563686e04130f965bcd1e164e7c2eff42faa7f74210561120dfaaa9146a4b ssh-agent 22:41:18 SSH_AUTH_SOCK=/tmp/ssh-CNNS6Yz7f7fo/agent.70 22:41:18 SSH_AGENT_PID=76 22:41:18 Running ssh-add (command line suppressed) 22:41:19 Identity added: /w/workspace/foundry_device-virtual-go_PR-405@tmp/private_key_15847527656862564002.key (/w/workspace/foundry_device-virtual-go_PR-405@tmp/private_key_15847527656862564002.key) 22:41:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:41:19 + git semver init 22:41:19 2023-05-10 22:41:19,588 [run_init] DEBUG init version:0.0.0 force:False 22:41:19 2023-05-10 22:41:19,589 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-405/.semver 22:41:19 2023-05-10 22:41:19,589 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-405/.semver 22:41:19 2023-05-10 22:41:19,589 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-405/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-405, universal_newlines=False, shell=None, istream=None) 22:41:21 2023-05-10 22:41:20,610 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-405/.git/info/exclude 22:41:21 2023-05-10 22:41:20,610 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-405/.semver/PR-405 with force:False 22:41:21 2023-05-10 22:41:20,611 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-405/.semver/PR-405 22:41:21 2023-05-10 22:41:20,615 [execute] INFO git cat-file --batch-check 22:41:21 2023-05-10 22:41:20,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-405/.semver, universal_newlines=False, shell=None, istream=) 22:41:21 2023-05-10 22:41:20,622 [execute] INFO git cat-file --batch 22:41:21 2023-05-10 22:41:20,622 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-405/.semver, universal_newlines=False, shell=None, istream=) 22:41:21 2023-05-10 22:41:20,626 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-405/.semver/PR-405 22:41:21 0.0.0 [Pipeline] } 22:41:21 $ docker exec --env ******** --env ******** 1de563686e04130f965bcd1e164e7c2eff42faa7f74210561120dfaaa9146a4b ssh-agent -k 22:41:21 unset SSH_AUTH_SOCK; 22:41:21 unset SSH_AGENT_PID; 22:41:21 echo Agent pid 76 killed; 22:41:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:41:21 + git semver [Pipeline] } 22:41:21 $ docker stop --time=1 1de563686e04130f965bcd1e164e7c2eff42faa7f74210561120dfaaa9146a4b 22:41:23 $ docker rm -f --volumes 1de563686e04130f965bcd1e164e7c2eff42faa7f74210561120dfaaa9146a4b [Pipeline] // withDockerContainer [Pipeline] sh 22:41:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:41:23 Stashed 1 file(s) [Pipeline] echo 22:41:23 [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:41:24 provisioning config files... 22:41:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-405@tmp/config17560084511152952860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:41:24 ---> docker-login.sh 22:41:24 nexus3.edgexfoundry.org:10001 22:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:24 Configure a credential helper to remove this warning. See 22:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:24 22:41:24 Login Succeeded 22:41:24 nexus3.edgexfoundry.org:10002 22:41:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:24 Configure a credential helper to remove this warning. See 22:41:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:24 22:41:24 Login Succeeded 22:41:24 nexus3.edgexfoundry.org:10003 22:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:25 Configure a credential helper to remove this warning. See 22:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:25 22:41:25 Login Succeeded 22:41:25 nexus3.edgexfoundry.org:10004 22:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:25 Configure a credential helper to remove this warning. See 22:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:25 22:41:25 Login Succeeded 22:41:25 docker.io 22:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:41:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:41:25 Configure a credential helper to remove this warning. See 22:41:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:41:25 22:41:25 Login Succeeded 22:41:25 ---> docker-login.sh ends [Pipeline] } 22:41:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:41:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:41:25 ========================================================= 22:41:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:41:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:41:26 + 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:41:26 Sending build context to Docker daemon 23.66MB 22:41:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:41:26 Step 2/12 : FROM ${BASE} AS builder 22:41:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:41:26 f56be85fc22e: Pulling fs layer 22:41:26 85791d961cd3: Pulling fs layer 22:41:26 d694b5ae8c79: Pulling fs layer 22:41:26 9f32a84ed3da: Pulling fs layer 22:41:26 4d19c01a9841: Pulling fs layer 22:41:26 9325e15d5711: Pulling fs layer 22:41:26 556b6ee489ea: Pulling fs layer 22:41:26 c5a4b2cf53e6: Pulling fs layer 22:41:26 9f32a84ed3da: Waiting 22:41:26 4d19c01a9841: Waiting 22:41:26 9325e15d5711: Waiting 22:41:26 556b6ee489ea: Waiting 22:41:26 c5a4b2cf53e6: Waiting 22:41:26 85791d961cd3: Verifying Checksum 22:41:26 85791d961cd3: Download complete 22:41:26 9f32a84ed3da: Verifying Checksum 22:41:26 9f32a84ed3da: Download complete 22:41:26 4d19c01a9841: Verifying Checksum 22:41:26 4d19c01a9841: Download complete 22:41:26 f56be85fc22e: Verifying Checksum 22:41:26 f56be85fc22e: Download complete 22:41:26 9325e15d5711: Verifying Checksum 22:41:26 9325e15d5711: Download complete 22:41:26 f56be85fc22e: Pull complete 22:41:26 85791d961cd3: Pull complete 22:41:27 c5a4b2cf53e6: Verifying Checksum 22:41:27 c5a4b2cf53e6: Download complete 22:41:27 d694b5ae8c79: Verifying Checksum 22:41:27 d694b5ae8c79: Download complete 22:41:27 556b6ee489ea: Verifying Checksum 22:41:27 556b6ee489ea: Download complete 22:41:30 d694b5ae8c79: Pull complete 22:41:30 9f32a84ed3da: Pull complete 22:41:30 4d19c01a9841: Pull complete 22:41:30 9325e15d5711: Pull complete 22:41:32 556b6ee489ea: Pull complete 22:41:34 c5a4b2cf53e6: Pull complete 22:41:34 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:41:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:41:34 ---> c4be618373d6 22:41:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:41:36 ---> Running in 459117a738a6 22:41:36 Removing intermediate container 459117a738a6 22:41:36 ---> c84859163933 22:41:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:41:36 ---> Running in 195c7390105e 22:41:36 Removing intermediate container 195c7390105e 22:41:36 ---> 9f1eb50ebcf0 22:41:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:41:36 ---> Running in a00d68f1302f 22:41:37 Removing intermediate container a00d68f1302f 22:41:37 ---> dd62947bbf1d 22:41:37 Step 6/12 : WORKDIR /device-virtual-go 22:41:37 ---> Running in 0c9526e64adf 22:41:37 Removing intermediate container 0c9526e64adf 22:41:37 ---> 042a4d55e8c3 22:41:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:41:37 ---> Running in bb020350bf6f 22:41:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:41:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:41:37 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:41:37 (2/4) Installing libedit (20221030.3.1-r0) 22:41:37 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:41:37 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:41:37 Executing busybox-1.35.0-r29.trigger 22:41:37 OK: 269 MiB in 57 packages 22:41:38 Removing intermediate container bb020350bf6f 22:41:38 ---> 138d5fc4ea43 22:41:38 Step 8/12 : COPY go.mod vendor* ./ 22:41:38 ---> c9381d696cee 22:41:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:41:38 ---> Running in 857896675fde 22:41:39 Still waiting to schedule task 22:41:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:42:04 Removing intermediate container 857896675fde 22:42:04 ---> a03240e90870 22:42:04 Step 10/12 : COPY . . 22:42:04 ---> 43dd9743579f 22:42:04 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:42:04 ---> Running in 5e5769e16c7a 22:42:04 Removing intermediate container 5e5769e16c7a 22:42:04 ---> 13307cbce056 22:42:04 Step 12/12 : RUN $MAKE 22:42:04 ---> Running in 42706caa996f 22:42:04 noop 22:42:04 Removing intermediate container 42706caa996f 22:42:04 ---> 16f8cb7aabcf 22:42:04 Successfully built 16f8cb7aabcf 22:42:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:05 + docker inspect -f . ci-base-image-x86_64 22:42:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:05 prd-ubuntu20.04-docker-8c-8g-14978 does not seem to be running inside a container 22:42:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-405 -v /w/workspace/foundry_device-virtual-go_PR-405:/w/workspace/foundry_device-virtual-go_PR-405:rw,z -v /w/workspace/foundry_device-virtual-go_PR-405@tmp:/w/workspace/foundry_device-virtual-go_PR-405@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:42:05 $ docker top 8738f6e503b0275eb56ff01663ed7a9862126c74c398d2a6f0447949f71948c4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:06 + go version 22:42:06 go version go1.20.2 linux/amd64 [Pipeline] } 22:42:06 $ docker stop --time=1 8738f6e503b0275eb56ff01663ed7a9862126c74c398d2a6f0447949f71948c4 22:42:07 $ docker rm -f --volumes 8738f6e503b0275eb56ff01663ed7a9862126c74c398d2a6f0447949f71948c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:08 + docker inspect -f . ci-base-image-x86_64 22:42:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:42:08 prd-ubuntu20.04-docker-8c-8g-14978 does not seem to be running inside a container 22:42:08 $ 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-405 -v /w/workspace/foundry_device-virtual-go_PR-405:/w/workspace/foundry_device-virtual-go_PR-405:rw,z -v /w/workspace/foundry_device-virtual-go_PR-405@tmp:/w/workspace/foundry_device-virtual-go_PR-405@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:42:08 $ docker top 7c153542c33ddfe08fd4ce990a9216fab66abd560bab95f37914f821a8908111 -eo pid,comm [Pipeline] { [Pipeline] sh 22:42:09 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-405 [Pipeline] fileExists [Pipeline] sh 22:42:09 + make test 22:42:09 go test ./... -coverprofile=coverage.out 22:42:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:42:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:42:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements 22:42:31 go vet ./... 22:42:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:42:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:42:34 ./bin/test-attribution-txt.sh [Pipeline] echo 22:42:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:42:34 $ docker stop --time=1 7c153542c33ddfe08fd4ce990a9216fab66abd560bab95f37914f821a8908111 22:42:37 $ docker rm -f --volumes 7c153542c33ddfe08fd4ce990a9216fab66abd560bab95f37914f821a8908111 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:42:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:42:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:42:38 + ls -al . 22:42:38 total 192 22:42:38 drwxrwxr-x 9 jenkins jenkins 4096 May 10 22:42 . 22:42:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:40 .. 22:42:38 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:41 .git 22:42:38 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:40 .github 22:42:38 -rw-rw-r-- 1 jenkins jenkins 337 May 10 22:40 .gitignore 22:42:38 -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:40 .golangci.yml 22:42:38 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:41 .semver 22:42:38 -rw-rw-r-- 1 jenkins jenkins 8652 May 10 22:40 Attribution.txt 22:42:38 -rw-rw-r-- 1 jenkins jenkins 11367 May 10 22:40 CHANGELOG.md 22:42:38 -rw-rw-r-- 1 jenkins jenkins 1646 May 10 22:40 Dockerfile 22:42:38 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:40 GOVERNANCE.md 22:42:38 -rw-rw-r-- 1 jenkins jenkins 660 May 10 22:40 Jenkinsfile 22:42:38 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:40 LICENSE 22:42:38 -rw-rw-r-- 1 jenkins jenkins 1696 May 10 22:40 Makefile 22:42:38 -rw-rw-r-- 1 jenkins jenkins 623 May 10 22:40 OWNERS.md 22:42:38 -rw-rw-r-- 1 jenkins jenkins 4087 May 10 22:40 README.md 22:42:38 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:41 VERSION 22:42:38 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:40 bin 22:42:38 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:40 cmd 22:42:38 -rw-r--r-- 1 jenkins jenkins 43063 May 10 22:42 coverage.out 22:42:38 -rw-rw-r-- 1 jenkins jenkins 3209 May 10 22:40 go.mod 22:42:38 -rw-rw-r-- 1 jenkins jenkins 30994 May 10 22:40 go.sum 22:42:38 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:40 internal 22:42:38 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:40 snap 22:42:38 -rw-rw-r-- 1 jenkins jenkins 235 May 10 22:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:42:39 + 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=6a38750bc4add47675d385a936d144912b5402aa --label arch=amd64 --label version=0.0.0 . 22:42:39 Sending build context to Docker daemon 23.7MB 22:42:39 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:42:39 Step 2/25 : FROM ${BASE} AS builder 22:42:39 ---> 16f8cb7aabcf 22:42:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:42:39 ---> Running in a235dace24a6 22:42:39 Removing intermediate container a235dace24a6 22:42:39 ---> 4fac1aaee200 22:42:39 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:42:39 ---> Running in 435b5575ca42 22:42:39 Removing intermediate container 435b5575ca42 22:42:39 ---> c39b14b429c5 22:42:39 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:42:39 ---> Running in ff654d690408 22:42:39 Removing intermediate container ff654d690408 22:42:39 ---> c05cbee2ed5b 22:42:39 Step 6/25 : WORKDIR /device-virtual-go 22:42:39 ---> Running in cfdb72b14ad8 22:42:39 Removing intermediate container cfdb72b14ad8 22:42:39 ---> 18ae48385d08 22:42:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:39 ---> Running in cc4d65580d51 22:42:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:42:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:42:40 OK: 269 MiB in 57 packages 22:42:40 Removing intermediate container cc4d65580d51 22:42:40 ---> 3a4a4b2d23f1 22:42:40 Step 8/25 : COPY go.mod vendor* ./ 22:42:40 ---> d224830b0e4f 22:42:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:42:40 ---> Running in 0c050f91f71c 22:42:41 Removing intermediate container 0c050f91f71c 22:42:41 ---> 08238dffe9df 22:42:41 Step 10/25 : COPY . . 22:42:42 ---> b5daef5ab389 22:42:42 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:42:42 ---> Running in d64e474cbb76 22:42:42 Removing intermediate container d64e474cbb76 22:42:42 ---> 0fd0d9f37061 22:42:42 Step 12/25 : RUN $MAKE 22:42:42 ---> Running in c0ead5613e81 22:42:43 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:43:01 Removing intermediate container c0ead5613e81 22:43:01 ---> c47b5a4ec64d 22:43:01 Step 13/25 : FROM alpine:3.17 22:43:01 3.17: Pulling from library/alpine 22:43:01 f56be85fc22e: Already exists 22:43:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:43:01 Status: Downloaded newer image for alpine:3.17 22:43:01 ---> 9ed4aefc74f6 22:43:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:43:01 ---> Running in e55adfc5355c 22:43:01 Removing intermediate container e55adfc5355c 22:43:01 ---> 4211c01890a3 22:43:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:43:01 ---> Running in 8c0ade82b854 22:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:43:01 (1/1) Installing dumb-init (1.2.5-r2) 22:43:01 Executing busybox-1.35.0-r29.trigger 22:43:01 OK: 7 MiB in 16 packages 22:43:01 Removing intermediate container 8c0ade82b854 22:43:01 ---> 096791fd9d52 22:43:01 Step 16/25 : WORKDIR / 22:43:01 ---> Running in 967539e44c27 22:43:01 Removing intermediate container 967539e44c27 22:43:01 ---> 6f9916e85829 22:43:01 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:43:01 ---> 05cdebd25ed5 22:43:01 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:43:02 ---> 08cfd20ffbd9 22:43:02 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:43:02 ---> 1aebab50846b 22:43:02 Step 20/25 : EXPOSE 59900 22:43:02 ---> Running in d02d2da78ae1 22:43:02 Removing intermediate container d02d2da78ae1 22:43:02 ---> f3dfdd6c65d7 22:43:02 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:43:02 ---> Running in 2ec4da374f13 22:43:03 Removing intermediate container 2ec4da374f13 22:43:03 ---> cd9c6c4c88f4 22:43:03 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:43:03 ---> Running in 9d6f609ef44e 22:43:03 Removing intermediate container 9d6f609ef44e 22:43:03 ---> c5eae19adb54 22:43:03 Step 23/25 : LABEL arch=amd64 22:43:03 ---> Running in cc6dcb87f2a1 22:43:03 Removing intermediate container cc6dcb87f2a1 22:43:03 ---> 5aad5e6e675b 22:43:03 Step 24/25 : LABEL git_sha=6a38750bc4add47675d385a936d144912b5402aa 22:43:03 ---> Running in 17170db1bf8c 22:43:03 Removing intermediate container 17170db1bf8c 22:43:03 ---> 0ea52cc91168 22:43:03 Step 25/25 : LABEL version=0.0.0 22:43:03 ---> Running in 6a5f4a241573 22:43:03 Removing intermediate container 6a5f4a241573 22:43:03 ---> b16658ac0313 22:43:03 [Warning] One or more build-args [ARCH] were not consumed 22:43:03 Successfully built b16658ac0313 22:43:03 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:43:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:04 22:43:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:04 latest: Pulling from edgex-lftools-log-publisher 22:43:04 5eb5b503b376: Pulling fs layer 22:43:04 5c69ac0246d0: Pulling fs layer 22:43:04 ec43610c2a17: Pulling fs layer 22:43:04 3a2ae6a8a46f: Pulling fs layer 22:43:04 33b1e0a273af: Pulling fs layer 22:43:04 5d3b04190fa2: Pulling fs layer 22:43:04 2f39f015ded8: Pulling fs layer 22:43:04 3a2ae6a8a46f: Waiting 22:43:04 33b1e0a273af: Waiting 22:43:04 2f39f015ded8: Waiting 22:43:04 5d3b04190fa2: Waiting 22:43:04 5c69ac0246d0: Verifying Checksum 22:43:04 5c69ac0246d0: Download complete 22:43:04 3a2ae6a8a46f: Verifying Checksum 22:43:04 3a2ae6a8a46f: Download complete 22:43:04 33b1e0a273af: Verifying Checksum 22:43:04 33b1e0a273af: Download complete 22:43:04 5d3b04190fa2: Verifying Checksum 22:43:04 5d3b04190fa2: Download complete 22:43:04 ec43610c2a17: Verifying Checksum 22:43:04 ec43610c2a17: Download complete 22:43:04 5eb5b503b376: Verifying Checksum 22:43:04 5eb5b503b376: Download complete 22:43:05 2f39f015ded8: Download complete 22:43:05 5eb5b503b376: Pull complete 22:43:06 5c69ac0246d0: Pull complete 22:43:06 ec43610c2a17: Pull complete 22:43:06 3a2ae6a8a46f: Pull complete 22:43:06 33b1e0a273af: Pull complete 22:43:07 5d3b04190fa2: Pull complete 22:43:11 2f39f015ded8: Pull complete 22:43:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:43:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:43:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:43:11 prd-ubuntu20.04-docker-8c-8g-14978 does not seem to be running inside a container 22:43:11 $ 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-405 -v /w/workspace/foundry_device-virtual-go_PR-405:/w/workspace/foundry_device-virtual-go_PR-405:rw,z -v /w/workspace/foundry_device-virtual-go_PR-405@tmp:/w/workspace/foundry_device-virtual-go_PR-405@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:43:13 $ docker top f4a62572caef18ae3b1341d0ac58e02bb9a1d6fabe1260d5b12c1a13adb8fa36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:14 ---> job-cost.sh 22:43:14 lf-activate-venv: SKIPPING 22:43:14 INFO: No Stack... 22:43:14 INFO: Retrieving Pricing Info for: v3-standard-8 22:43:15 INFO: Archiving Costs [Pipeline] sh 22:43:15 + cat /w/workspace/foundry_device-virtual-go_PR-405/archives/cost.csv 22:43:15 + cut -d, -f6 [Pipeline] lock 22:43:15 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-405-1-stack-cost] 22:43:15 Resource [jenkins-edgexfoundry-device-virtual-go-PR-405-1-stack-cost] did not exist. Created. 22:43:15 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:43:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14979 in /w/workspace/foundry_device-virtual-go_PR-405 [Pipeline] { [Pipeline] ws 22:43:15 Running in /w/workspace/device-virtual-go/1 [Pipeline] { 22:43:15 + echo total: 0.2199999988079071 [Pipeline] stash 22:43:15 Stashed 1 file(s) [Pipeline] checkout 22:43:15 The recommended git tool is: git [Pipeline] } 22:43:15 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:43:16 $ docker stop --time=1 f4a62572caef18ae3b1341d0ac58e02bb9a1d6fabe1260d5b12c1a13adb8fa36 22:43:17 $ docker rm -f --volumes f4a62572caef18ae3b1341d0ac58e02bb9a1d6fabe1260d5b12c1a13adb8fa36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:22 using credential edgex-jenkins-ssh 22:43:22 Cloning the remote Git repository 22:43:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:43:22 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:43:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:43:22 > git --version # timeout=10 22:43:22 > git --version # 'git version 2.25.1' 22:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:43:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:43:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:43:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/405/head:refs/remotes/origin/PR-405 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:43:26 Merging remotes/origin/main commit 030a1c50f2b785b1102128f0ffb048d726030487 into PR head commit 6a38750bc4add47675d385a936d144912b5402aa 22:43:26 Merge succeeded, producing 6a38750bc4add47675d385a936d144912b5402aa 22:43:26 Checking out Revision 6a38750bc4add47675d385a936d144912b5402aa (PR-405) 22:43:26 > git config core.sparsecheckout # timeout=10 22:43:26 > git checkout -f 6a38750bc4add47675d385a936d144912b5402aa # timeout=10 22:43:26 > git remote # timeout=10 22:43:26 > git config --get remote.origin.url # timeout=10 22:43:26 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:26 > git merge 030a1c50f2b785b1102128f0ffb048d726030487 # timeout=10 22:43:26 > git rev-parse HEAD^{commit} # timeout=10 22:43:26 > git config core.sparsecheckout # timeout=10 22:43:26 > git checkout -f 6a38750bc4add47675d385a936d144912b5402aa # timeout=10 22:43:30 Commit message: "docs: Add main branch Warning" 22:43:30 > git --version # timeout=10 22:43:30 > git --version # 'git version 2.25.1' 22:43:30 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:43:31 % Total % Received % Xferd Average Speed Time Time Time Current 22:43:31 Dload Upload Total Spent Left Speed 22:43:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75005 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh 22:43:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:43:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:43:32 + sudo tee /etc/docker/daemon.new 22:43:32 { 22:43:32 "registry-mirrors": [ 22:43:32 "https://nexus3.edgexfoundry.org:10001" 22:43:32 ], 22:43:32 "bip": "10.250.0.254/24", 22:43:32 "hosts": [ 22:43:32 "tcp://0.0.0.0:5555", 22:43:32 "unix:///var/run/docker.sock" 22:43:32 ], 22:43:32 "mtu": 1458, 22:43:32 "selinux-enabled": true, 22:43:32 "seccomp-profile": "/etc/docker/seccomp.json" 22:43:32 } [Pipeline] sh 22:43:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:43:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:51 provisioning config files... 22:43:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17598890230725540765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:52 ---> docker-login.sh 22:43:52 nexus3.edgexfoundry.org:10001 22:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:52 Configure a credential helper to remove this warning. See 22:43:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:52 22:43:52 Login Succeeded 22:43:52 nexus3.edgexfoundry.org:10002 22:43:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:53 Configure a credential helper to remove this warning. See 22:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:53 22:43:53 Login Succeeded 22:43:53 nexus3.edgexfoundry.org:10003 22:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:53 Configure a credential helper to remove this warning. See 22:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:53 22:43:53 Login Succeeded 22:43:53 nexus3.edgexfoundry.org:10004 22:43:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:53 Configure a credential helper to remove this warning. See 22:43:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:53 22:43:53 Login Succeeded 22:43:53 docker.io 22:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:54 Configure a credential helper to remove this warning. See 22:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:54 22:43:54 Login Succeeded 22:43:54 ---> docker-login.sh ends [Pipeline] } 22:43:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:43:54 ========================================================= 22:43:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:43:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:55 + 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:43:55 Sending build context to Docker daemon 11.99MB 22:43:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:43:55 Step 2/12 : FROM ${BASE} AS builder 22:43:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:43:55 c41833b44d91: Pulling fs layer 22:43:55 ed15518f5707: Pulling fs layer 22:43:55 feae8fd75edb: Pulling fs layer 22:43:55 242c74f7c9fa: Pulling fs layer 22:43:55 3cdef696dda3: Pulling fs layer 22:43:55 2ced38df9373: Pulling fs layer 22:43:55 58f1dce35555: Pulling fs layer 22:43:55 242c74f7c9fa: Waiting 22:43:55 3cdef696dda3: Waiting 22:43:55 2ced38df9373: Waiting 22:43:55 58f1dce35555: Waiting 22:43:55 ed15518f5707: Verifying Checksum 22:43:55 ed15518f5707: Download complete 22:43:55 242c74f7c9fa: Download complete 22:43:55 3cdef696dda3: Verifying Checksum 22:43:55 3cdef696dda3: Download complete 22:43:55 c41833b44d91: Verifying Checksum 22:43:57 c41833b44d91: Pull complete 22:43:57 58f1dce35555: Verifying Checksum 22:43:57 58f1dce35555: Download complete 22:43:58 ed15518f5707: Pull complete 22:43:59 2ced38df9373: Verifying Checksum 22:43:59 2ced38df9373: Download complete 22:43:59 feae8fd75edb: Verifying Checksum 22:43:59 feae8fd75edb: Download complete 22:44:11 feae8fd75edb: Pull complete 22:44:11 242c74f7c9fa: Pull complete 22:44:11 3cdef696dda3: Pull complete 22:44:16 2ced38df9373: Pull complete 22:44:19 58f1dce35555: Pull complete 22:44:19 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:44:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:44:19 ---> fadd8f120f05 22:44:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:44:20 ---> Running in 5a882056798c 22:44:21 Removing intermediate container 5a882056798c 22:44:21 ---> da35c790465f 22:44:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:44:21 ---> Running in d733d0902855 22:44:21 Removing intermediate container d733d0902855 22:44:21 ---> dcf0308822c8 22:44:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:44:21 ---> Running in 241ecc3bd888 22:44:21 Removing intermediate container 241ecc3bd888 22:44:21 ---> 5dc367ee038a 22:44:21 Step 6/12 : WORKDIR /device-virtual-go 22:44:21 ---> Running in 03ebf9c16a7b 22:44:22 Removing intermediate container 03ebf9c16a7b 22:44:22 ---> 7d19f11e8430 22:44:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:22 ---> Running in 2088193a843d 22:44:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:44:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:44:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:44:25 (2/4) Installing libedit (20221030.3.1-r0) 22:44:25 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:44:25 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:44:25 Executing busybox-1.35.0-r29.trigger 22:44:25 OK: 268 MiB in 57 packages 22:44:29 Removing intermediate container 2088193a843d 22:44:29 ---> b1af37fffec2 22:44:29 Step 8/12 : COPY go.mod vendor* ./ 22:44:29 ---> 164335bf1cdc 22:44:29 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:29 ---> Running in ee3ccec507d1 22:45:37 Removing intermediate container ee3ccec507d1 22:45:37 ---> cef1f0fd4d54 22:45:37 Step 10/12 : COPY . . 22:45:37 ---> e9ec1e09dc26 22:45:37 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:37 ---> Running in 8d9b2f134ed1 22:45:37 Removing intermediate container 8d9b2f134ed1 22:45:37 ---> 545fbe09a928 22:45:37 Step 12/12 : RUN $MAKE 22:45:37 ---> Running in 4b9f253fb819 22:45:37 noop 22:45:37 Removing intermediate container 4b9f253fb819 22:45:37 ---> 0a6194733cba 22:45:37 Successfully built 0a6194733cba 22:45:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:37 + docker inspect -f . ci-base-image-arm64 22:45:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:38 prd-ubuntu20.04-docker-arm64-4c-16g-14979 does not seem to be running inside a container 22:45:38 $ 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:45:39 $ docker top 108d99be5b5ed6c7f75a0c44f8cfc879094a9183c27edb28213e0210baa0091f -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:40 + go version 22:45:40 go version go1.20.2 linux/arm64 [Pipeline] } 22:45:40 $ docker stop --time=1 108d99be5b5ed6c7f75a0c44f8cfc879094a9183c27edb28213e0210baa0091f 22:45:42 $ docker rm -f --volumes 108d99be5b5ed6c7f75a0c44f8cfc879094a9183c27edb28213e0210baa0091f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:42 + docker inspect -f . ci-base-image-arm64 22:45:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:43 prd-ubuntu20.04-docker-arm64-4c-16g-14979 does not seem to be running inside a container 22:45:43 $ 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:45:44 $ docker top a5a54bf8dcd7e8c231251ba81ffe0a9ce47c223326e1c17506c8c7fc5ea18357 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:45 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 22:45:45 + make test 22:45:45 go test ./... -coverprofile=coverage.out 22:46:18 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:48:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:48:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.087s coverage: 58.4% of statements 22:48:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:48:24 go vet ./... 22:48:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:48:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:48:51 ./bin/test-attribution-txt.sh [Pipeline] echo 22:48:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:48:52 $ docker stop --time=1 a5a54bf8dcd7e8c231251ba81ffe0a9ce47c223326e1c17506c8c7fc5ea18357 22:48:53 $ docker rm -f --volumes a5a54bf8dcd7e8c231251ba81ffe0a9ce47c223326e1c17506c8c7fc5ea18357 [Pipeline] // withDockerContainer [Pipeline] sh 22:48:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:48:55 Warning: overwriting stash ‘coverage-report’ 22:48:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:48:56 + ls -al . 22:48:56 total 188 22:48:56 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:45 . 22:48:56 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:43 .. 22:48:56 drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:43 .git 22:48:56 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:43 .github 22:48:56 -rw-rw-r-- 1 jenkins jenkins 337 May 10 22:43 .gitignore 22:48:56 -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:43 .golangci.yml 22:48:56 -rw-rw-r-- 1 jenkins jenkins 8652 May 10 22:43 Attribution.txt 22:48:56 -rw-rw-r-- 1 jenkins jenkins 11367 May 10 22:43 CHANGELOG.md 22:48:56 -rw-rw-r-- 1 jenkins jenkins 1646 May 10 22:43 Dockerfile 22:48:56 -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:43 GOVERNANCE.md 22:48:56 -rw-rw-r-- 1 jenkins jenkins 660 May 10 22:43 Jenkinsfile 22:48:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:43 LICENSE 22:48:56 -rw-rw-r-- 1 jenkins jenkins 1696 May 10 22:43 Makefile 22:48:56 -rw-rw-r-- 1 jenkins jenkins 623 May 10 22:43 OWNERS.md 22:48:56 -rw-rw-r-- 1 jenkins jenkins 4087 May 10 22:43 README.md 22:48:56 -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:41 VERSION 22:48:56 drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:43 bin 22:48:56 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:43 cmd 22:48:56 -rw-r--r-- 1 jenkins jenkins 43063 May 10 22:48 coverage.out 22:48:56 -rw-rw-r-- 1 jenkins jenkins 3209 May 10 22:43 go.mod 22:48:56 -rw-rw-r-- 1 jenkins jenkins 30994 May 10 22:43 go.sum 22:48:56 drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:43 internal 22:48:56 drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:43 snap 22:48:56 -rw-rw-r-- 1 jenkins jenkins 235 May 10 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:57 + 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=6a38750bc4add47675d385a936d144912b5402aa --label arch=arm64 --label version=0.0.0 . 22:48:57 Sending build context to Docker daemon 12.04MB 22:48:57 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:48:57 Step 2/25 : FROM ${BASE} AS builder 22:48:57 ---> 0a6194733cba 22:48:57 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:48:57 ---> Running in c7223a855359 22:48:58 Removing intermediate container c7223a855359 22:48:58 ---> ad7890569358 22:48:58 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:48:58 ---> Running in 162ccbea188c 22:48:58 Removing intermediate container 162ccbea188c 22:48:58 ---> e5ebc6c59aa7 22:48:58 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:48:58 ---> Running in 80c7dd05846b 22:48:59 Removing intermediate container 80c7dd05846b 22:48:59 ---> 502e8c785ffe 22:48:59 Step 6/25 : WORKDIR /device-virtual-go 22:48:59 ---> Running in 7be61bef9a92 22:48:59 Removing intermediate container 7be61bef9a92 22:48:59 ---> 4a7d1dede39f 22:48:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:48:59 ---> Running in 4fe732d52edb 22:49:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:49:02 OK: 268 MiB in 57 packages 22:49:03 Removing intermediate container 4fe732d52edb 22:49:03 ---> f4b0bdd5edb2 22:49:03 Step 8/25 : COPY go.mod vendor* ./ 22:49:03 ---> 8cfb27ad81b3 22:49:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:03 ---> Running in 07d78fb22b18 22:49:06 Removing intermediate container 07d78fb22b18 22:49:06 ---> 00d7180e9987 22:49:06 Step 10/25 : COPY . . 22:49:07 ---> ec67d95f481a 22:49:07 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:49:07 ---> Running in 1bbad5a12e83 22:49:07 Removing intermediate container 1bbad5a12e83 22:49:07 ---> 2ca2b736d695 22:49:07 Step 12/25 : RUN $MAKE 22:49:07 ---> Running in 2f1dceca4c6b 22:49:08 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:51:30 Removing intermediate container 2f1dceca4c6b 22:51:30 ---> 3f85f956decc 22:51:30 Step 13/25 : FROM alpine:3.17 22:51:30 3.17: Pulling from library/alpine 22:51:30 c41833b44d91: Already exists 22:51:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:51:30 Status: Downloaded newer image for alpine:3.17 22:51:30 ---> 51e60588ff2c 22:51:30 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:51:30 ---> Running in 9a281e68980a 22:51:30 Removing intermediate container 9a281e68980a 22:51:30 ---> d724f6937e19 22:51:30 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:51:30 ---> Running in 8698d56c07bd 22:51:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:51:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:51:30 (1/1) Installing dumb-init (1.2.5-r2) 22:51:30 Executing busybox-1.35.0-r29.trigger 22:51:30 OK: 8 MiB in 16 packages 22:51:30 Removing intermediate container 8698d56c07bd 22:51:30 ---> bf51cde1f862 22:51:30 Step 16/25 : WORKDIR / 22:51:30 ---> Running in 25747e831d50 22:51:30 Removing intermediate container 25747e831d50 22:51:30 ---> 78f14f549165 22:51:30 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:51:30 ---> 7bd5350b0e9c 22:51:30 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:51:30 ---> ed8058e4a7ed 22:51:30 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:51:31 ---> aed4de453c28 22:51:31 Step 20/25 : EXPOSE 59900 22:51:31 ---> Running in ab2807dbf089 22:51:32 Removing intermediate container ab2807dbf089 22:51:32 ---> 0e58b5ee873f 22:51:32 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:51:32 ---> Running in 39370c6810f7 22:51:32 Removing intermediate container 39370c6810f7 22:51:32 ---> 8299c90d6b1a 22:51:32 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:51:32 ---> Running in 1697e9cfee04 22:51:32 Removing intermediate container 1697e9cfee04 22:51:32 ---> b0bce3d0af65 22:51:32 Step 23/25 : LABEL arch=arm64 22:51:32 ---> Running in 45b2d65917e5 22:51:33 Removing intermediate container 45b2d65917e5 22:51:33 ---> 52c935ffecc0 22:51:33 Step 24/25 : LABEL git_sha=6a38750bc4add47675d385a936d144912b5402aa 22:51:33 ---> Running in 4b59a43999b7 22:51:33 Removing intermediate container 4b59a43999b7 22:51:33 ---> 3ee46106c038 22:51:33 Step 25/25 : LABEL version=0.0.0 22:51:33 ---> Running in a4e35bb4d80e 22:51:34 Removing intermediate container a4e35bb4d80e 22:51:34 ---> 6e1a54bbbb56 22:51:34 [Warning] One or more build-args [ARCH] were not consumed 22:51:34 Successfully built 6e1a54bbbb56 22:51:34 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:51:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:51:34 22:51:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:51:37 arm64: Pulling from edgex-lftools-log-publisher 22:51:37 8998bd30e6a1: Pulling fs layer 22:51:37 04944245beec: Pulling fs layer 22:51:37 699f458cf7ca: Pulling fs layer 22:51:37 765212b225bb: Pulling fs layer 22:51:37 f23df028b6ca: Pulling fs layer 22:51:37 d65c8cfc05b1: Pulling fs layer 22:51:37 2437ff75d9bd: Pulling fs layer 22:51:37 765212b225bb: Waiting 22:51:37 f23df028b6ca: Waiting 22:51:37 d65c8cfc05b1: Waiting 22:51:37 04944245beec: Verifying Checksum 22:51:37 04944245beec: Download complete 22:51:37 765212b225bb: Verifying Checksum 22:51:37 765212b225bb: Download complete 22:51:37 f23df028b6ca: Verifying Checksum 22:51:37 f23df028b6ca: Download complete 22:51:37 d65c8cfc05b1: Verifying Checksum 22:51:37 d65c8cfc05b1: Download complete 22:51:38 699f458cf7ca: Verifying Checksum 22:51:38 699f458cf7ca: Download complete 22:51:38 8998bd30e6a1: Verifying Checksum 22:51:38 8998bd30e6a1: Download complete 22:51:41 2437ff75d9bd: Verifying Checksum 22:51:41 2437ff75d9bd: Download complete 22:51:42 8998bd30e6a1: Pull complete 22:51:43 04944245beec: Pull complete 22:51:44 699f458cf7ca: Pull complete 22:51:44 765212b225bb: Pull complete 22:51:45 f23df028b6ca: Pull complete 22:51:45 d65c8cfc05b1: Pull complete 22:52:00 2437ff75d9bd: Pull complete 22:52:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:52:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:52:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:00 prd-ubuntu20.04-docker-arm64-4c-16g-14979 does not seem to be running inside a container 22:52:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-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:52:03 $ docker top b3be90b710485abab3ce9065376d0c391e44578e68db0555382c80de5f5b537b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:04 ---> job-cost.sh 22:52:04 lf-activate-venv: SKIPPING 22:52:04 INFO: No Stack... 22:52:05 INFO: Retrieving Pricing Info for: v3-standard-4 22:52:05 INFO: Archiving Costs [Pipeline] sh 22:52:06 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 22:52:06 + cut -d, -f6 [Pipeline] lock 22:52:06 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-405-1-stack-cost] 22:52:06 Resource [jenkins-edgexfoundry-device-virtual-go-PR-405-1-stack-cost] did not exist. Created. 22:52:06 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:52:07 /w/workspace/device-virtual-go/1@tmp/durable-4388c795/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:52:08 + echo total: 0.10999999940395355 [Pipeline] stash 22:52:08 Warning: overwriting stash ‘stack-cost’ 22:52:08 Stashed 1 file(s) [Pipeline] } 22:52:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-405-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:52:08 $ docker stop --time=1 b3be90b710485abab3ce9065376d0c391e44578e68db0555382c80de5f5b537b 22:52:09 $ docker rm -f --volumes b3be90b710485abab3ce9065376d0c391e44578e68db0555382c80de5f5b537b [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:52:10 provisioning config files... 22:52:10 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-405@tmp/config18398690912113382411tmp [Pipeline] { [Pipeline] sh 22:52:11 + set +x 22:52:11 + bash -s -- 22:52:11 + curl -s https://codecov.io/bash 22:52:11 22:52:11 _____ _ 22:52:11 / ____| | | 22:52:11 | | ___ __| | ___ ___ _____ __ 22:52:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:52:11 | |___| (_) | (_| | __/ (_| (_) \ V / 22:52:11 \_____\___/ \__,_|\___|\___\___/ \_/ 22:52:11 Bash-1.0.6 22:52:11 22:52:11 22:52:11 ==> git version 2.25.1 found 22:52:11 ==> 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:52:11 Release-Date: 2020-01-08 22:52:11 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:52:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:52:11 ==> Jenkins CI detected. 22:52:11 current dir:  /w/workspace/foundry_device-virtual-go_PR-405 22:52:11 project root: . 22:52:11 --> token set from env 22:52:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:52:11 ==> Running gcov in . (disable via -X gcov) 22:52:11 ==> Python coveragepy not found 22:52:11 ==> Searching for coverage reports in: 22:52:11 + . 22:52:11 -> Found 1 reports 22:52:11 ==> Detecting git/mercurial file structure 22:52:11 ==> Reading reports 22:52:11 + ./coverage.out bytes=43063 22:52:11 ==> Appending adjustments 22:52:11 https://docs.codecov.io/docs/fixing-reports 22:52:11 + Found adjustments 22:52:11 ==> Gzipping contents 22:52:11 8.0K /tmp/codecov.E3YGXW.gz 22:52:11 ==> Uploading reports 22:52:11 url: https://codecov.io 22:52:11 query: branch=PR-405&commit=6a38750bc4add47675d385a936d144912b5402aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-405%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=405&job=&cmd_args= 22:52:11 -> Pinging Codecov 22:52:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-405&commit=6a38750bc4add47675d385a936d144912b5402aa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-405%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=405&job=&cmd_args= 22:52:11 -> Uploading to 22:52:11 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/5E52B4B073DB2E39498172D8E973AA87/6a38750bc4add47675d385a936d144912b5402aa/d4048f38-10ee-4914-8fb7-6aabeb437933.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T225211Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f7500ad11f640d416c90a9f484128412f4c8b45e399b894072974b3f9c50715 22:52:11 % Total % Received % Xferd Average Speed Time Time Time Current 22:52:11 Dload Upload Total Spent Left Speed 22:52:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25043 --:--:-- --:--:-- --:--:-- 25043 22:52:12 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6a38750bc4add47675d385a936d144912b5402aa [Pipeline] } 22:52:12 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:52:13 + [ -d /w/workspace/foundry_device-virtual-go_PR-405/archives ] 22:52:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-405/archives 22:52:13 total 16 22:52:13 drwxr-xr-x 3 root root 4096 May 10 22:43 . 22:52:13 drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:43 .. 22:52:13 drwxr-xr-x 2 root root 4096 May 10 22:43 cost 22:52:13 -rw-r--r-- 1 root root 89 May 10 22:43 cost.csv 22:52:13 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-405/archives 22:52:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-405/archives 22:52:13 total 16 22:52:13 drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:43 . 22:52:13 drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:43 .. 22:52:13 drwxr-xr-x 2 jenkins jenkins 4096 May 10 22:43 cost 22:52:13 -rw-r--r-- 1 jenkins jenkins 89 May 10 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:52:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:52:15 ---> package-listing.sh 22:52:15 ++ facter osfamily 22:52:15 ++ tr '[:upper:]' '[:lower:]' 22:52:15 + OS_FAMILY=debian 22:52:15 + workspace=/w/workspace/foundry_device-virtual-go_PR-405 22:52:15 + START_PACKAGES=/tmp/packages_start.txt 22:52:15 + END_PACKAGES=/tmp/packages_end.txt 22:52:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:52:15 + PACKAGES=/tmp/packages_start.txt 22:52:15 + '[' /w/workspace/foundry_device-virtual-go_PR-405 ']' 22:52:15 + PACKAGES=/tmp/packages_end.txt 22:52:15 + case "${OS_FAMILY}" in 22:52:15 + dpkg -l 22:52:15 + grep '^ii' 22:52:15 + '[' -f /tmp/packages_start.txt ']' 22:52:15 + '[' -f /tmp/packages_end.txt ']' 22:52:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:52:15 + '[' /w/workspace/foundry_device-virtual-go_PR-405 ']' 22:52:15 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-405/archives/ 22:52:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-405/archives/ [Pipeline] echo 22:52:15 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-405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:52:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:52:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:16 prd-ubuntu20.04-docker-8c-8g-14978 does not seem to be running inside a container 22:52:16 $ 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-405/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-405 -v /w/workspace/foundry_device-virtual-go_PR-405:/w/workspace/foundry_device-virtual-go_PR-405:rw,z -v /w/workspace/foundry_device-virtual-go_PR-405@tmp:/w/workspace/foundry_device-virtual-go_PR-405@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:52:16 $ docker top 0fac8ca99b6fcf9d805034ac1b5ed7bd12ce3e5019e0a2494ebb055bc069cff5 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:17 + touch /tmp/pre-build-complete [Pipeline] sh 22:52:17 + mkdir -p /var/log/sysstat [Pipeline] sh 22:52:17 + ls /var/log/sa-host 22:52:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:17 provisioning config files... 22:52:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-405@tmp/config6244398866457839062tmp [Pipeline] { [Pipeline] echo 22:52:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:52:18 ---> create-netrc.sh [Pipeline] } 22:52:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:52:18 ---> python-tools-install.sh [Pipeline] echo 22:52:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:52:18 ---> sudo-logs.sh 22:52:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:52:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:52:19 ---> job-cost.sh 22:52:19 lf-activate-venv: SKIPPING 22:52:19 DEBUG: total: 0.2199999988079071 22:52:19 INFO: Retrieving Stack Cost... 22:52:19 INFO: Retrieving Pricing Info for: v3-standard-8 22:52:20 INFO: Archiving Costs [Pipeline] echo 22:52:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:52:20 ---> logs-deploy.sh 22:52:20 lf-activate-venv: SKIPPING 22:52:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-405/1 22:52:20 INFO: archiving workspace using pattern(s): 22:52:21 Archives upload complete. 22:52:21 INFO: archiving logs to Nexus