Pull request #380 updated 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 weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 626db8e9a2222f123adcb85f9e159bc679c0b5f7 rather than 915c2b747b10fc14125918a43f6356e516e6e5ee Obtained Jenkinsfile from 626db8e9a2222f123adcb85f9e159bc679c0b5f7 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-ssh9341317250705579667.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh10733006137082313466.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-380/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1094527755339411620.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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 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-ssh15794372351986731298.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-380/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-380/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10729952613632935338.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8405 in /w/workspace/foundry_device-virtual-go_PR-380 [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-380 # 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/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit 915c2b747b10fc14125918a43f6356e516e6e5ee Merge succeeded, producing 915c2b747b10fc14125918a43f6356e516e6e5ee Checking out Revision 915c2b747b10fc14125918a43f6356e516e6e5ee (PR-380) > git config core.sparsecheckout # timeout=10 > git checkout -f 915c2b747b10fc14125918a43f6356e516e6e5ee # 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 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 915c2b747b10fc14125918a43f6356e516e6e5ee # timeout=10 Commit message: "fix: Update Discover func error message" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:00:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:00:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:00:06 ========================================================= 07:00:06 EdgeX Global Pipelines Version Info 07:00:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7c8505111f6f113d92a2c30437fe8275a6e7a1c1 # timeout=10 07:00:07 ------------------- 07:00:07 stable info: 07:00:07 ------------------- 07:00:07 Commited By: Bill Mahoney bill.mahoney@intel.com 07:00:07 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:00:07 Message: update stable to v1.0.248 07:00:07 ------------------- 07:00:07 experimental info: 07:00:07 ------------------- 07:00:07 Commited By: **** collab-it+edgex@linuxfoundation.org 07:00:07 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 07:00:07 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:00:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 915c2b747b10fc14125918a43f6356e516e6e5ee [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 915c2b7 [Pipeline] echo 07:00:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:00:08 provisioning config files... 07:00:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-380@tmp/config4443228652921939862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:08 ---> docker-login.sh 07:00:08 nexus3.edgexfoundry.org:10001 07:00:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:09 Configure a credential helper to remove this warning. See 07:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:09 07:00:09 Login Succeeded 07:00:09 nexus3.edgexfoundry.org:10002 07:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:09 Configure a credential helper to remove this warning. See 07:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:09 07:00:09 Login Succeeded 07:00:09 nexus3.edgexfoundry.org:10003 07:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:09 Configure a credential helper to remove this warning. See 07:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:09 07:00:09 Login Succeeded 07:00:09 nexus3.edgexfoundry.org:10004 07:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:09 Configure a credential helper to remove this warning. See 07:00:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:09 07:00:09 Login Succeeded 07:00:09 docker.io 07:00:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:12 Configure a credential helper to remove this warning. See 07:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:12 07:00:12 Login Succeeded 07:00:12 ---> docker-login.sh ends [Pipeline] } 07:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:00:12 + git rev-list -1 --merges 915c2b747b10fc14125918a43f6356e516e6e5ee~1..915c2b747b10fc14125918a43f6356e516e6e5ee [Pipeline] echo 07:00:12 -----------> git rev-list -1 --merges 915c2b747b10fc14125918a43f6356e516e6e5ee~1..915c2b747b10fc14125918a43f6356e516e6e5ee 915c2b747b10fc14125918a43f6356e516e6e5ee [false] [Pipeline] sh 07:00:12 + git log --format=format:%s -1 915c2b747b10fc14125918a43f6356e516e6e5ee [Pipeline] echo 07:00:12 ========================================================= 07:00:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:00:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:00:13 + git log --format=format:%s -1 915c2b747b10fc14125918a43f6356e516e6e5ee [Pipeline] echo 07:00:13 [semverPrep] GIT_COMMIT: 915c2b747b10fc14125918a43f6356e516e6e5ee, Commit Message: fix: Update Discover func error message [Pipeline] echo 07:00:13 [semverPrep] This is not a build commit. [Pipeline] sh 07:00:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:00:13 + grep -v github /etc/ssh/ssh_known_hosts 07:00:13 + [ -e /tmp/ssh_known_hosts ] 07:00:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:00:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:00:13 + sudo tee -a /etc/ssh/ssh_known_hosts 07:00:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:14 07:00:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:14 0.1.4: Pulling from edgex-devops/py-git-semver 07:00:14 b85a868b505f: Pulling fs layer 07:00:14 e2be974225ed: Pulling fs layer 07:00:14 339a4e72a1f5: Pulling fs layer 07:00:14 988bab9f4d93: Pulling fs layer 07:00:14 1469e6f7b9e6: Pulling fs layer 07:00:14 988bab9f4d93: Waiting 07:00:14 1469e6f7b9e6: Waiting 07:00:14 eaf3925da568: Pulling fs layer 07:00:14 bab4dde63d76: Pulling fs layer 07:00:14 bde34c3a00c8: Pulling fs layer 07:00:14 eaf3925da568: Waiting 07:00:14 bab4dde63d76: Waiting 07:00:14 bde34c3a00c8: Waiting 07:00:14 b352a97aabf1: Pulling fs layer 07:00:14 4872d77fe225: Pulling fs layer 07:00:14 5851b861e8e6: Pulling fs layer 07:00:14 b352a97aabf1: Waiting 07:00:14 4872d77fe225: Waiting 07:00:14 5851b861e8e6: Waiting 07:00:14 e2be974225ed: Verifying Checksum 07:00:14 e2be974225ed: Download complete 07:00:14 988bab9f4d93: Verifying Checksum 07:00:14 988bab9f4d93: Download complete 07:00:14 1469e6f7b9e6: Verifying Checksum 07:00:14 1469e6f7b9e6: Download complete 07:00:14 339a4e72a1f5: Verifying Checksum 07:00:14 339a4e72a1f5: Download complete 07:00:14 eaf3925da568: Download complete 07:00:14 bde34c3a00c8: Download complete 07:00:14 b352a97aabf1: Verifying Checksum 07:00:14 b352a97aabf1: Download complete 07:00:14 4872d77fe225: Download complete 07:00:14 5851b861e8e6: Verifying Checksum 07:00:14 5851b861e8e6: Download complete 07:00:14 b85a868b505f: Download complete 07:00:14 bab4dde63d76: Verifying Checksum 07:00:14 bab4dde63d76: Download complete 07:00:15 b85a868b505f: Pull complete 07:00:15 e2be974225ed: Pull complete 07:00:16 339a4e72a1f5: Pull complete 07:00:16 988bab9f4d93: Pull complete 07:00:16 1469e6f7b9e6: Pull complete 07:00:16 eaf3925da568: Pull complete 07:00:18 bab4dde63d76: Pull complete 07:00:18 bde34c3a00c8: Pull complete 07:00:18 b352a97aabf1: Pull complete 07:00:18 4872d77fe225: Pull complete 07:00:19 5851b861e8e6: Pull complete 07:00:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:00:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:00:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:19 prd-ubuntu20.04-docker-8c-8g-8405 does not seem to be running inside a container 07:00:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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-devops/py-git-semver:0.1.4 cat 07:00:21 $ docker top 590533faa9003a5e1c41d1dac790fada92c852ea99bef91645193af1c38ddb9b -eo pid,comm 07:00:21 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). 07:00:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:00:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:00:22 [ssh-agent] Looking for ssh-agent implementation... 07:00:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:00:22 $ docker exec 590533faa9003a5e1c41d1dac790fada92c852ea99bef91645193af1c38ddb9b ssh-agent 07:00:22 SSH_AUTH_SOCK=/tmp/ssh-IIA31BhKhirH/agent.33 07:00:22 SSH_AGENT_PID=39 07:00:22 Running ssh-add (command line suppressed) 07:00:22 Identity added: /w/workspace/foundry_device-virtual-go_PR-380@tmp/private_key_10251907794193494761.key (/w/workspace/foundry_device-virtual-go_PR-380@tmp/private_key_10251907794193494761.key) 07:00:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:00:22 + git tag --points-at HEAD [Pipeline] } 07:00:22 $ docker exec --env ******** --env ******** 590533faa9003a5e1c41d1dac790fada92c852ea99bef91645193af1c38ddb9b ssh-agent -k 07:00:22 unset SSH_AUTH_SOCK; 07:00:22 unset SSH_AGENT_PID; 07:00:22 echo Agent pid 39 killed; 07:00:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:00:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:00:22 [ssh-agent] Looking for ssh-agent implementation... 07:00:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:00:22 $ docker exec 590533faa9003a5e1c41d1dac790fada92c852ea99bef91645193af1c38ddb9b ssh-agent 07:00:22 SSH_AUTH_SOCK=/tmp/ssh-4WFFP7ETZJ8k/agent.72 07:00:22 SSH_AGENT_PID=78 07:00:23 Running ssh-add (command line suppressed) 07:00:23 Identity added: /w/workspace/foundry_device-virtual-go_PR-380@tmp/private_key_356857214969352101.key (/w/workspace/foundry_device-virtual-go_PR-380@tmp/private_key_356857214969352101.key) 07:00:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:00:23 + git semver init 07:00:23 2023-04-13 07:00:23,577 [run_init] DEBUG init version:0.0.0 force:False 07:00:23 2023-04-13 07:00:23,578 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-380/.semver 07:00:23 2023-04-13 07:00:23,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-380/.semver 07:00:23 2023-04-13 07:00:23,579 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-380/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-380, universal_newlines=False, shell=None, istream=None) 07:00:25 2023-04-13 07:00:24,628 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-380/.git/info/exclude 07:00:25 2023-04-13 07:00:24,628 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-380/.semver/PR-380 with force:False 07:00:25 2023-04-13 07:00:24,629 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-380/.semver/PR-380 07:00:25 2023-04-13 07:00:24,633 [execute] INFO git cat-file --batch-check 07:00:25 2023-04-13 07:00:24,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 07:00:25 2023-04-13 07:00:24,638 [execute] INFO git cat-file --batch 07:00:25 2023-04-13 07:00:24,639 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 07:00:25 2023-04-13 07:00:24,643 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-380/.semver/PR-380 07:00:25 0.0.0 [Pipeline] } 07:00:25 $ docker exec --env ******** --env ******** 590533faa9003a5e1c41d1dac790fada92c852ea99bef91645193af1c38ddb9b ssh-agent -k 07:00:25 unset SSH_AUTH_SOCK; 07:00:25 unset SSH_AGENT_PID; 07:00:25 echo Agent pid 78 killed; 07:00:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:00:25 + git semver [Pipeline] } 07:00:25 $ docker stop --time=1 590533faa9003a5e1c41d1dac790fada92c852ea99bef91645193af1c38ddb9b 07:00:26 $ docker rm -f --volumes 590533faa9003a5e1c41d1dac790fada92c852ea99bef91645193af1c38ddb9b [Pipeline] // withDockerContainer [Pipeline] sh 07:00:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:00:27 Stashed 1 file(s) [Pipeline] echo 07:00:27 [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 07:00:27 provisioning config files... 07:00:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-380@tmp/config14505629498891125959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:27 ---> docker-login.sh 07:00:27 nexus3.edgexfoundry.org:10001 07:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:27 Configure a credential helper to remove this warning. See 07:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:27 07:00:27 Login Succeeded 07:00:27 nexus3.edgexfoundry.org:10002 07:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:27 Configure a credential helper to remove this warning. See 07:00:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:27 07:00:27 Login Succeeded 07:00:27 nexus3.edgexfoundry.org:10003 07:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:28 Configure a credential helper to remove this warning. See 07:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:28 07:00:28 Login Succeeded 07:00:28 nexus3.edgexfoundry.org:10004 07:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:28 Configure a credential helper to remove this warning. See 07:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:28 07:00:28 Login Succeeded 07:00:28 docker.io 07:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:00:28 Configure a credential helper to remove this warning. See 07:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:00:28 07:00:28 Login Succeeded 07:00:28 ---> docker-login.sh ends [Pipeline] } 07:00:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:00:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:00:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:00:28 ========================================================= 07:00:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:00:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:28 + 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 . 07:00:28 Sending build context to Docker daemon 23.54MB 07:00:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:00:28 Step 2/12 : FROM ${BASE} AS builder 07:00:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:00:29 63b65145d645: Pulling fs layer 07:00:29 a2d21d5440eb: Pulling fs layer 07:00:29 935e6c44a52c: Pulling fs layer 07:00:29 94cc34f8dd06: Pulling fs layer 07:00:29 30dea6a524f1: Pulling fs layer 07:00:29 a2aff8979fd8: Pulling fs layer 07:00:29 6808be2612f2: Pulling fs layer 07:00:29 f25807f1079a: Pulling fs layer 07:00:29 30dea6a524f1: Waiting 07:00:29 a2aff8979fd8: Waiting 07:00:29 6808be2612f2: Waiting 07:00:29 f25807f1079a: Waiting 07:00:29 94cc34f8dd06: Waiting 07:00:29 a2d21d5440eb: Download complete 07:00:29 94cc34f8dd06: Verifying Checksum 07:00:29 94cc34f8dd06: Download complete 07:00:29 30dea6a524f1: Verifying Checksum 07:00:29 30dea6a524f1: Download complete 07:00:29 63b65145d645: Verifying Checksum 07:00:29 63b65145d645: Download complete 07:00:29 a2aff8979fd8: Verifying Checksum 07:00:29 a2aff8979fd8: Download complete 07:00:29 63b65145d645: Pull complete 07:00:29 a2d21d5440eb: Pull complete 07:00:29 f25807f1079a: Verifying Checksum 07:00:29 f25807f1079a: Download complete 07:00:29 935e6c44a52c: Verifying Checksum 07:00:29 935e6c44a52c: Download complete 07:00:29 6808be2612f2: Verifying Checksum 07:00:29 6808be2612f2: Download complete 07:00:33 935e6c44a52c: Pull complete 07:00:33 94cc34f8dd06: Pull complete 07:00:33 30dea6a524f1: Pull complete 07:00:33 a2aff8979fd8: Pull complete 07:00:35 6808be2612f2: Pull complete 07:00:36 f25807f1079a: Pull complete 07:00:36 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:00:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:00:36 ---> 3b553350e43f 07:00:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:00:40 ---> Running in 3bda38f25366 07:00:40 Removing intermediate container 3bda38f25366 07:00:40 ---> 8a28b74b16f9 07:00:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:00:40 ---> Running in e2128189562b 07:00:40 Removing intermediate container e2128189562b 07:00:40 ---> 2b0942e8cab6 07:00:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:00:40 ---> Running in 94088c873a6e 07:00:40 Removing intermediate container 94088c873a6e 07:00:40 ---> 0e1750f48138 07:00:40 Step 6/12 : WORKDIR /device-virtual-go 07:00:40 ---> Running in 8235a964734a 07:00:40 Removing intermediate container 8235a964734a 07:00:40 ---> bbb2b6eda4d4 07:00:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:00:40 ---> Running in bcf46bca4315 07:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:00:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:00:40 (2/4) Installing libedit (20221030.3.1-r0) 07:00:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:00:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:00:40 Executing busybox-1.35.0-r29.trigger 07:00:40 OK: 269 MiB in 57 packages 07:00:41 Removing intermediate container bcf46bca4315 07:00:41 ---> fcb625887a22 07:00:41 Step 8/12 : COPY go.mod vendor* ./ 07:00:41 ---> fdda623bf19f 07:00:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:00:41 ---> Running in 2a5a2bf2b45c 07:00:42 Still waiting to schedule task 07:00:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:01:13 Removing intermediate container 2a5a2bf2b45c 07:01:13 ---> abf7d24451d2 07:01:13 Step 10/12 : COPY . . 07:01:14 ---> a7965c4ebdeb 07:01:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:01:14 ---> Running in 9d9ecf425930 07:01:14 Removing intermediate container 9d9ecf425930 07:01:14 ---> aa19ddc888a0 07:01:14 Step 12/12 : RUN $MAKE 07:01:14 ---> Running in e37aa549ebca 07:01:14 noop 07:01:15 Removing intermediate container e37aa549ebca 07:01:15 ---> 8d0fbb5deb4c 07:01:15 Successfully built 8d0fbb5deb4c 07:01:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:15 + docker inspect -f . ci-base-image-x86_64 07:01:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:15 prd-ubuntu20.04-docker-8c-8g-8405 does not seem to be running inside a container 07:01:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:01:15 $ docker top c5a4d673a856f770473b7b85757d99129d77318635112b138e960f0560bf7aa0 -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:16 + go version 07:01:16 go version go1.20.2 linux/amd64 [Pipeline] } 07:01:16 $ docker stop --time=1 c5a4d673a856f770473b7b85757d99129d77318635112b138e960f0560bf7aa0 07:01:17 $ docker rm -f --volumes c5a4d673a856f770473b7b85757d99129d77318635112b138e960f0560bf7aa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:17 + docker inspect -f . ci-base-image-x86_64 07:01:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:17 prd-ubuntu20.04-docker-8c-8g-8405 does not seem to be running inside a container 07:01:17 $ 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-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:01:18 $ docker top 8fe294981aee06a19abd81aa6c6eb2a1b190225526db16aa68ea88b0fc87b13f -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:18 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-380 [Pipeline] fileExists [Pipeline] sh 07:01:18 + make test 07:01:18 go test ./... -coverprofile=coverage.out 07:01:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:01:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:01:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.7% of statements 07:01:37 go vet ./... 07:01:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:01:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:01:40 ./bin/test-attribution-txt.sh 07:01:40 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:01:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:01:40 $ docker stop --time=1 8fe294981aee06a19abd81aa6c6eb2a1b190225526db16aa68ea88b0fc87b13f 07:01:43 $ docker rm -f --volumes 8fe294981aee06a19abd81aa6c6eb2a1b190225526db16aa68ea88b0fc87b13f [Pipeline] // withDockerContainer [Pipeline] sh 07:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:01:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:01:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:01:44 + ls -al . 07:01:44 total 192 07:01:44 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:01 . 07:01:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:00 .. 07:01:44 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:00 .git 07:01:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:00 .github 07:01:44 -rw-rw-r-- 1 jenkins jenkins 337 Apr 13 07:00 .gitignore 07:01:44 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:00 .golangci.yml 07:01:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:00 .semver 07:01:44 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 13 07:00 Attribution.txt 07:01:44 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 13 07:00 CHANGELOG.md 07:01:44 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 13 07:00 Dockerfile 07:01:44 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:00 GOVERNANCE.md 07:01:44 -rw-rw-r-- 1 jenkins jenkins 660 Apr 13 07:00 Jenkinsfile 07:01:44 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:00 LICENSE 07:01:44 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 13 07:00 Makefile 07:01:44 -rw-rw-r-- 1 jenkins jenkins 623 Apr 13 07:00 OWNERS.md 07:01:44 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 13 07:00 README.md 07:01:44 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:00 VERSION 07:01:44 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:00 bin 07:01:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:00 cmd 07:01:44 -rw-r--r-- 1 jenkins jenkins 42970 Apr 13 07:01 coverage.out 07:01:44 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 13 07:00 go.mod 07:01:44 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 13 07:00 go.sum 07:01:44 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:00 internal 07:01:44 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:00 snap 07:01:44 -rw-rw-r-- 1 jenkins jenkins 235 Apr 13 07:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:45 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=915c2b747b10fc14125918a43f6356e516e6e5ee --label arch=amd64 --label version=0.0.0 . 07:01:45 Sending build context to Docker daemon 23.59MB 07:01:45 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:01:45 Step 2/25 : FROM ${BASE} AS builder 07:01:45 ---> 8d0fbb5deb4c 07:01:45 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:01:45 ---> Running in c7e1db7efb07 07:01:45 Removing intermediate container c7e1db7efb07 07:01:45 ---> b2dd3777a426 07:01:45 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:01:45 ---> Running in 187fb79002fc 07:01:45 Removing intermediate container 187fb79002fc 07:01:45 ---> 71ec6c22423e 07:01:45 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:01:45 ---> Running in 06d34cfcfcd5 07:01:45 Removing intermediate container 06d34cfcfcd5 07:01:45 ---> 21beab253a6a 07:01:45 Step 6/25 : WORKDIR /device-virtual-go 07:01:45 ---> Running in 7d97c7bcf8f9 07:01:46 Removing intermediate container 7d97c7bcf8f9 07:01:46 ---> 2640981b452e 07:01:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:01:46 ---> Running in 06ffad8b3553 07:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:01:46 OK: 269 MiB in 57 packages 07:01:46 Removing intermediate container 06ffad8b3553 07:01:46 ---> 2e41fbad27e0 07:01:46 Step 8/25 : COPY go.mod vendor* ./ 07:01:47 ---> 2e81d091e877 07:01:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:01:47 ---> Running in af63a5d0220a 07:01:47 Removing intermediate container af63a5d0220a 07:01:47 ---> 47b7bf6603d8 07:01:47 Step 10/25 : COPY . . 07:01:48 ---> a635bc137a8b 07:01:48 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:01:48 ---> Running in 86527786a8bf 07:01:48 Removing intermediate container 86527786a8bf 07:01:48 ---> 388e7a674c62 07:01:48 Step 12/25 : RUN $MAKE 07:01:48 ---> Running in 5035ea00d5df 07:01:48 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 07:02:06 Removing intermediate container 5035ea00d5df 07:02:06 ---> e9a152ef87ea 07:02:06 Step 13/25 : FROM alpine:3.17 07:02:07 3.17: Pulling from library/alpine 07:02:07 f56be85fc22e: Pulling fs layer 07:02:07 f56be85fc22e: Verifying Checksum 07:02:07 f56be85fc22e: Download complete 07:02:07 f56be85fc22e: Pull complete 07:02:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:02:07 Status: Downloaded newer image for alpine:3.17 07:02:07 ---> 9ed4aefc74f6 07:02:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:02:07 ---> Running in 006ae5491f4b 07:02:07 Removing intermediate container 006ae5491f4b 07:02:07 ---> 7ce1f9d09023 07:02:07 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:02:07 ---> Running in d023b66885e8 07:02:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:02:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:02:08 (1/1) Installing dumb-init (1.2.5-r2) 07:02:08 Executing busybox-1.35.0-r29.trigger 07:02:08 OK: 7 MiB in 16 packages 07:02:08 Removing intermediate container d023b66885e8 07:02:08 ---> 0360172b9ebe 07:02:08 Step 16/25 : WORKDIR / 07:02:08 ---> Running in d730f9f0b95e 07:02:08 Removing intermediate container d730f9f0b95e 07:02:08 ---> ee205aba816b 07:02:08 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:02:08 ---> 5f57210b67a6 07:02:08 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:02:08 ---> d80c761bff7c 07:02:08 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:02:09 ---> 522c065f36d2 07:02:09 Step 20/25 : EXPOSE 59900 07:02:09 ---> Running in e0b2fe50fc95 07:02:09 Removing intermediate container e0b2fe50fc95 07:02:09 ---> 1fb1e41eac74 07:02:09 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:02:09 ---> Running in 1d4bcc63b0da 07:02:09 Removing intermediate container 1d4bcc63b0da 07:02:09 ---> 20277989c09c 07:02:09 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:02:09 ---> Running in a5536273020f 07:02:09 Removing intermediate container a5536273020f 07:02:09 ---> 59b1fb23103b 07:02:09 Step 23/25 : LABEL arch=amd64 07:02:09 ---> Running in c5c563faecfb 07:02:10 Removing intermediate container c5c563faecfb 07:02:10 ---> 99108fa72bbb 07:02:10 Step 24/25 : LABEL git_sha=915c2b747b10fc14125918a43f6356e516e6e5ee 07:02:10 ---> Running in 7fc5a7663bcc 07:02:10 Removing intermediate container 7fc5a7663bcc 07:02:10 ---> 2467ff6805ae 07:02:10 Step 25/25 : LABEL version=0.0.0 07:02:10 ---> Running in a1934c7fff15 07:02:10 Removing intermediate container a1934c7fff15 07:02:10 ---> 86faeeed13a2 07:02:10 [Warning] One or more build-args [ARCH] were not consumed 07:02:10 Successfully built 86faeeed13a2 07:02:10 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 07:02:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:02:10 07:02:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:02:10 latest: Pulling from edgex-lftools-log-publisher 07:02:10 5eb5b503b376: Pulling fs layer 07:02:10 5c69ac0246d0: Pulling fs layer 07:02:10 ec43610c2a17: Pulling fs layer 07:02:10 3a2ae6a8a46f: Pulling fs layer 07:02:10 33b1e0a273af: Pulling fs layer 07:02:10 5d3b04190fa2: Pulling fs layer 07:02:10 2f39f015ded8: Pulling fs layer 07:02:10 33b1e0a273af: Waiting 07:02:10 5d3b04190fa2: Waiting 07:02:10 3a2ae6a8a46f: Waiting 07:02:10 2f39f015ded8: Waiting 07:02:10 5c69ac0246d0: Download complete 07:02:10 33b1e0a273af: Verifying Checksum 07:02:10 33b1e0a273af: Download complete 07:02:10 5d3b04190fa2: Verifying Checksum 07:02:10 5d3b04190fa2: Download complete 07:02:10 ec43610c2a17: Verifying Checksum 07:02:10 ec43610c2a17: Download complete 07:02:11 5eb5b503b376: Verifying Checksum 07:02:11 5eb5b503b376: Download complete 07:02:11 2f39f015ded8: Verifying Checksum 07:02:11 2f39f015ded8: Download complete 07:02:12 5eb5b503b376: Pull complete 07:02:12 5c69ac0246d0: Pull complete 07:02:12 ec43610c2a17: Pull complete 07:02:12 3a2ae6a8a46f: Pull complete 07:02:12 33b1e0a273af: Pull complete 07:02:13 5d3b04190fa2: Pull complete 07:02:17 2f39f015ded8: Pull complete 07:02:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:02:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:02:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:02:17 prd-ubuntu20.04-docker-8c-8g-8405 does not seem to be running inside a container 07:02:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:02:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8406 in /w/workspace/foundry_device-virtual-go_PR-380 07:02:20 $ docker top 27092b3510bea08ecb7bfa9f41941b2a6d4e3855d4d5392701b27b9f28542f4c -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 07:02:20 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 07:02:20 The recommended git tool is: git 07:02:20 ---> job-cost.sh 07:02:20 lf-activate-venv: SKIPPING 07:02:20 INFO: No Stack... 07:02:21 INFO: Retrieving Pricing Info for: v3-standard-8 07:02:21 INFO: Archiving Costs [Pipeline] sh 07:02:21 + cat /w/workspace/foundry_device-virtual-go_PR-380/archives/cost.csv 07:02:21 + cut -d, -f6 [Pipeline] lock 07:02:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-380-2-stack-cost] 07:02:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-380-2-stack-cost] did not exist. Created. 07:02:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-380-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:02:22 + echo total: 0.2199999988079071 [Pipeline] stash 07:02:22 Stashed 1 file(s) [Pipeline] } 07:02:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-380-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:02:22 $ docker stop --time=1 27092b3510bea08ecb7bfa9f41941b2a6d4e3855d4d5392701b27b9f28542f4c 07:02:23 $ docker rm -f --volumes 27092b3510bea08ecb7bfa9f41941b2a6d4e3855d4d5392701b27b9f28542f4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:02:25 using credential edgex-jenkins-ssh 07:02:25 Cloning the remote Git repository 07:02:25 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 07:02:25 > git init /w/workspace/device-virtual-go/2 # timeout=10 07:02:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:02:25 > git --version # timeout=10 07:02:25 > git --version # 'git version 2.25.1' 07:02:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:02:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:02:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 07:02:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 07:02:28 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:02:29 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit 915c2b747b10fc14125918a43f6356e516e6e5ee 07:02:29 Merge succeeded, producing 915c2b747b10fc14125918a43f6356e516e6e5ee 07:02:29 Checking out Revision 915c2b747b10fc14125918a43f6356e516e6e5ee (PR-380) 07:02:29 > git config core.sparsecheckout # timeout=10 07:02:29 > git checkout -f 915c2b747b10fc14125918a43f6356e516e6e5ee # timeout=10 07:02:29 > git remote # timeout=10 07:02:29 > git config --get remote.origin.url # timeout=10 07:02:29 using GIT_SSH to set credentials SSH Credentials for GitHub 07:02:29 > git merge 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 07:02:29 > git rev-parse HEAD^{commit} # timeout=10 07:02:29 > git config core.sparsecheckout # timeout=10 07:02:29 > git checkout -f 915c2b747b10fc14125918a43f6356e516e6e5ee # timeout=10 07:02:33 Commit message: "fix: Update Discover func error message" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:02:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:02:34 % Total % Received % Xferd Average Speed Time Time Time Current 07:02:34 Dload Upload Total Spent Left Speed 07:02:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11879 0 0 95032 0 --:--:-- --:--:-- --:--:-- 94277 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 07:02:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:02:35 + sudo tee /etc/docker/daemon.new 07:02:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:02:35 { 07:02:35 "registry-mirrors": [ 07:02:35 "https://nexus3.edgexfoundry.org:10001" 07:02:35 ], 07:02:35 "bip": "10.250.0.254/24", 07:02:35 "hosts": [ 07:02:35 "tcp://0.0.0.0:5555", 07:02:35 "unix:///var/run/docker.sock" 07:02:35 ], 07:02:35 "mtu": 1458, 07:02:35 "selinux-enabled": true, 07:02:35 "seccomp-profile": "/etc/docker/seccomp.json" 07:02:35 } [Pipeline] sh 07:02:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:02:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:02:54 provisioning config files... 07:02:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config11919898799027639713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:02:54 ---> docker-login.sh 07:02:54 nexus3.edgexfoundry.org:10001 07:02:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:55 Configure a credential helper to remove this warning. See 07:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:55 07:02:55 Login Succeeded 07:02:55 nexus3.edgexfoundry.org:10002 07:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:55 Configure a credential helper to remove this warning. See 07:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:55 07:02:55 Login Succeeded 07:02:55 nexus3.edgexfoundry.org:10003 07:02:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:55 Configure a credential helper to remove this warning. See 07:02:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:55 07:02:55 Login Succeeded 07:02:55 nexus3.edgexfoundry.org:10004 07:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:56 Configure a credential helper to remove this warning. See 07:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:56 07:02:56 Login Succeeded 07:02:56 docker.io 07:02:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:02:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:02:56 Configure a credential helper to remove this warning. See 07:02:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:02:56 07:02:56 Login Succeeded 07:02:56 ---> docker-login.sh ends [Pipeline] } 07:02:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:02:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:02:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:02:56 ========================================================= 07:02:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:02:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:02:57 + 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 . 07:02:57 Sending build context to Docker daemon 11.93MB 07:02:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:02:57 Step 2/12 : FROM ${BASE} AS builder 07:02:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:02:57 af6eaf76a39c: Pulling fs layer 07:02:57 55522c791124: Pulling fs layer 07:02:57 ce5c4a1c91eb: Pulling fs layer 07:02:57 169dfbe0d373: Pulling fs layer 07:02:57 e1ff8fa3b103: Pulling fs layer 07:02:57 52ebb69f0ebf: Pulling fs layer 07:02:57 5abe8eddf0d5: Pulling fs layer 07:02:57 169dfbe0d373: Waiting 07:02:57 e1ff8fa3b103: Waiting 07:02:57 52ebb69f0ebf: Waiting 07:02:57 5abe8eddf0d5: Waiting 07:02:57 55522c791124: Download complete 07:02:57 169dfbe0d373: Verifying Checksum 07:02:57 169dfbe0d373: Download complete 07:02:58 e1ff8fa3b103: Verifying Checksum 07:02:58 e1ff8fa3b103: Download complete 07:02:58 af6eaf76a39c: Download complete 07:02:59 af6eaf76a39c: Pull complete 07:02:59 5abe8eddf0d5: Verifying Checksum 07:02:59 5abe8eddf0d5: Download complete 07:02:59 55522c791124: Pull complete 07:03:00 ce5c4a1c91eb: Verifying Checksum 07:03:00 ce5c4a1c91eb: Download complete 07:03:00 52ebb69f0ebf: Download complete 07:03:10 ce5c4a1c91eb: Pull complete 07:03:10 169dfbe0d373: Pull complete 07:03:10 e1ff8fa3b103: Pull complete 07:03:17 52ebb69f0ebf: Pull complete 07:03:19 5abe8eddf0d5: Pull complete 07:03:19 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:03:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:03:19 ---> 6cb57ee374ae 07:03:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:03:20 ---> Running in 77a26d814be1 07:03:21 Removing intermediate container 77a26d814be1 07:03:21 ---> 2c36fb59f753 07:03:21 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 07:03:21 ---> Running in 3e859ebd0792 07:03:21 Removing intermediate container 3e859ebd0792 07:03:21 ---> 7e5d2c36e5f8 07:03:21 Step 5/12 : ARG ADD_BUILD_TAGS="" 07:03:21 ---> Running in 72f64700e7b0 07:03:21 Removing intermediate container 72f64700e7b0 07:03:21 ---> 79af07b55bcc 07:03:21 Step 6/12 : WORKDIR /device-virtual-go 07:03:21 ---> Running in b6bcc4d3bb16 07:03:22 Removing intermediate container b6bcc4d3bb16 07:03:22 ---> e13c02b580f7 07:03:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:03:22 ---> Running in 965f50ef03d5 07:03:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:03:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:03:25 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:03:25 (2/4) Installing libedit (20221030.3.1-r0) 07:03:25 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:03:25 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:03:25 Executing busybox-1.35.0-r29.trigger 07:03:25 OK: 268 MiB in 57 packages 07:03:25 Removing intermediate container 965f50ef03d5 07:03:25 ---> f8aa28815c68 07:03:25 Step 8/12 : COPY go.mod vendor* ./ 07:03:26 ---> b7b8978c840f 07:03:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:03:26 ---> Running in 138faa2a9efc 07:04:22 Removing intermediate container 138faa2a9efc 07:04:22 ---> ffec2bd393f3 07:04:22 Step 10/12 : COPY . . 07:04:22 ---> 7cbaa90d802d 07:04:22 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:04:22 ---> Running in 2335f388429f 07:04:23 Removing intermediate container 2335f388429f 07:04:23 ---> e6e61d7863d8 07:04:23 Step 12/12 : RUN $MAKE 07:04:23 ---> Running in fe7a593aad3d 07:04:24 noop 07:04:24 Removing intermediate container fe7a593aad3d 07:04:24 ---> 85fe3ebbd690 07:04:24 Successfully built 85fe3ebbd690 07:04:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:25 + docker inspect -f . ci-base-image-arm64 07:04:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:04:25 prd-ubuntu20.04-docker-arm64-4c-16g-8406 does not seem to be running inside a container 07:04:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 07:04:26 $ docker top b8567b3cb4110b0b561cc00cee534944312d3bafb3b9dcadd920d074fe214ad7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:04:27 + go version 07:04:27 go version go1.20.2 linux/arm64 [Pipeline] } 07:04:27 $ docker stop --time=1 b8567b3cb4110b0b561cc00cee534944312d3bafb3b9dcadd920d074fe214ad7 07:04:29 $ docker rm -f --volumes b8567b3cb4110b0b561cc00cee534944312d3bafb3b9dcadd920d074fe214ad7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:04:30 + docker inspect -f . ci-base-image-arm64 07:04:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:04:30 prd-ubuntu20.04-docker-arm64-4c-16g-8406 does not seem to be running inside a container 07:04:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 07:04:31 $ docker top adc19631427ee27ba160de3d15cd1ff455b23669a6db8277367a7db4576bb2ff -eo pid,comm [Pipeline] { [Pipeline] sh 07:04:31 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 07:04:32 + make test 07:04:32 go test ./... -coverprofile=coverage.out 07:05:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 07:06:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 07:06:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.091s coverage: 58.5% of statements 07:06:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:06:56 go vet ./... 07:07:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:07:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:07:18 ./bin/test-attribution-txt.sh 07:07:18 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 07:07:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:07:18 $ docker stop --time=1 adc19631427ee27ba160de3d15cd1ff455b23669a6db8277367a7db4576bb2ff 07:07:20 $ docker rm -f --volumes adc19631427ee27ba160de3d15cd1ff455b23669a6db8277367a7db4576bb2ff [Pipeline] // withDockerContainer [Pipeline] sh 07:07:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:07:21 Warning: overwriting stash ‘coverage-report’ 07:07:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:07:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:07:22 + ls -al . 07:07:22 total 188 07:07:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:04 . 07:07:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:02 .. 07:07:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:02 .git 07:07:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:02 .github 07:07:22 -rw-rw-r-- 1 jenkins jenkins 337 Apr 13 07:02 .gitignore 07:07:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:02 .golangci.yml 07:07:22 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 13 07:02 Attribution.txt 07:07:22 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 13 07:02 CHANGELOG.md 07:07:22 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 13 07:02 Dockerfile 07:07:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:02 GOVERNANCE.md 07:07:22 -rw-rw-r-- 1 jenkins jenkins 660 Apr 13 07:02 Jenkinsfile 07:07:22 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:02 LICENSE 07:07:22 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 13 07:02 Makefile 07:07:22 -rw-rw-r-- 1 jenkins jenkins 623 Apr 13 07:02 OWNERS.md 07:07:22 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 13 07:02 README.md 07:07:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:00 VERSION 07:07:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:02 bin 07:07:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:02 cmd 07:07:22 -rw-r--r-- 1 jenkins jenkins 42970 Apr 13 07:06 coverage.out 07:07:22 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 13 07:02 go.mod 07:07:22 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 13 07:02 go.sum 07:07:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:02 internal 07:07:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:02 snap 07:07:22 -rw-rw-r-- 1 jenkins jenkins 235 Apr 13 07:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:07:22 + 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=915c2b747b10fc14125918a43f6356e516e6e5ee --label arch=arm64 --label version=0.0.0 . 07:07:23 Sending build context to Docker daemon 11.98MB 07:07:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:07:23 Step 2/25 : FROM ${BASE} AS builder 07:07:23 ---> 85fe3ebbd690 07:07:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:07:23 ---> Running in 76fb652614e4 07:07:24 Removing intermediate container 76fb652614e4 07:07:24 ---> e8ec7e84bc6d 07:07:24 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 07:07:24 ---> Running in c1ea7241a20b 07:07:24 Removing intermediate container c1ea7241a20b 07:07:24 ---> 466d4e92d8bf 07:07:24 Step 5/25 : ARG ADD_BUILD_TAGS="" 07:07:24 ---> Running in 72afd169bc1e 07:07:25 Removing intermediate container 72afd169bc1e 07:07:25 ---> b7f5fde06ae7 07:07:25 Step 6/25 : WORKDIR /device-virtual-go 07:07:25 ---> Running in 7dabe09e5dbd 07:07:27 Removing intermediate container 7dabe09e5dbd 07:07:27 ---> 9a4bdfa3c1cc 07:07:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:07:27 ---> Running in ada5246755b2 07:07:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:07:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:07:30 OK: 268 MiB in 57 packages 07:07:32 Removing intermediate container ada5246755b2 07:07:32 ---> 4cead2e4702a 07:07:32 Step 8/25 : COPY go.mod vendor* ./ 07:07:32 ---> 8d0d3d2bf28a 07:07:32 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:07:32 ---> Running in 0a224123e367 07:07:38 Removing intermediate container 0a224123e367 07:07:38 ---> adc797d29ecd 07:07:38 Step 10/25 : COPY . . 07:07:40 ---> b26dea427c5d 07:07:40 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:07:40 ---> Running in 9198f719b17d 07:07:40 Removing intermediate container 9198f719b17d 07:07:40 ---> c9ca8f0012c1 07:07:40 Step 12/25 : RUN $MAKE 07:07:41 ---> Running in 32c49b1f8418 07:07:42 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 07:10:03 Removing intermediate container 32c49b1f8418 07:10:03 ---> 8dd7b6dd9d6d 07:10:03 Step 13/25 : FROM alpine:3.17 07:10:03 3.17: Pulling from library/alpine 07:10:03 c41833b44d91: Pulling fs layer 07:10:03 c41833b44d91: Verifying Checksum 07:10:03 c41833b44d91: Download complete 07:10:03 c41833b44d91: Pull complete 07:10:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:10:03 Status: Downloaded newer image for alpine:3.17 07:10:03 ---> 51e60588ff2c 07:10:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 07:10:03 ---> Running in 9a001b1d55ca 07:10:03 Removing intermediate container 9a001b1d55ca 07:10:03 ---> 73735c017d5e 07:10:03 Step 15/25 : RUN apk add --update --no-cache dumb-init 07:10:03 ---> Running in 57a721ddab1f 07:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:10:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:10:03 (1/1) Installing dumb-init (1.2.5-r2) 07:10:03 Executing busybox-1.35.0-r29.trigger 07:10:03 OK: 8 MiB in 16 packages 07:10:04 Removing intermediate container 57a721ddab1f 07:10:04 ---> d460b9055b11 07:10:04 Step 16/25 : WORKDIR / 07:10:04 ---> Running in f2f8c14c04cd 07:10:05 Removing intermediate container f2f8c14c04cd 07:10:05 ---> 0375a451551b 07:10:05 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 07:10:05 ---> 468fb41636c1 07:10:05 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 07:10:06 ---> b4f4c61114c9 07:10:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 07:10:07 ---> 9d1d521a3d73 07:10:07 Step 20/25 : EXPOSE 59900 07:10:07 ---> Running in efb1ebb4a024 07:10:08 Removing intermediate container efb1ebb4a024 07:10:08 ---> a53e6d07764b 07:10:08 Step 21/25 : ENTRYPOINT ["/device-virtual"] 07:10:08 ---> Running in 926eb9af86e9 07:10:08 Removing intermediate container 926eb9af86e9 07:10:08 ---> 5eacd4751095 07:10:08 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 07:10:08 ---> Running in 3f39b1beaf4a 07:10:08 Removing intermediate container 3f39b1beaf4a 07:10:08 ---> b1277ae8a07a 07:10:08 Step 23/25 : LABEL arch=arm64 07:10:09 ---> Running in 1d3dba2f22ea 07:10:09 Removing intermediate container 1d3dba2f22ea 07:10:09 ---> b21ca6a6553f 07:10:09 Step 24/25 : LABEL git_sha=915c2b747b10fc14125918a43f6356e516e6e5ee 07:10:09 ---> Running in f7094ad095e6 07:10:09 Removing intermediate container f7094ad095e6 07:10:09 ---> be993a935474 07:10:09 Step 25/25 : LABEL version=0.0.0 07:10:10 ---> Running in 44bcb7ece652 07:10:10 Removing intermediate container 44bcb7ece652 07:10:10 ---> 8e3368b7a776 07:10:10 [Warning] One or more build-args [ARCH] were not consumed 07:10:10 Successfully built 8e3368b7a776 07:10:10 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 07:10:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:10:10 07:10:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:10:11 arm64: Pulling from edgex-lftools-log-publisher 07:10:11 8998bd30e6a1: Pulling fs layer 07:10:11 04944245beec: Pulling fs layer 07:10:11 699f458cf7ca: Pulling fs layer 07:10:11 765212b225bb: Pulling fs layer 07:10:11 765212b225bb: Waiting 07:10:11 f23df028b6ca: Pulling fs layer 07:10:11 d65c8cfc05b1: Pulling fs layer 07:10:11 2437ff75d9bd: Pulling fs layer 07:10:11 f23df028b6ca: Waiting 07:10:11 d65c8cfc05b1: Waiting 07:10:11 2437ff75d9bd: Waiting 07:10:11 04944245beec: Verifying Checksum 07:10:11 04944245beec: Download complete 07:10:11 765212b225bb: Verifying Checksum 07:10:11 765212b225bb: Download complete 07:10:11 f23df028b6ca: Verifying Checksum 07:10:11 f23df028b6ca: Download complete 07:10:11 d65c8cfc05b1: Verifying Checksum 07:10:11 d65c8cfc05b1: Download complete 07:10:11 699f458cf7ca: Verifying Checksum 07:10:11 699f458cf7ca: Download complete 07:10:11 8998bd30e6a1: Verifying Checksum 07:10:11 8998bd30e6a1: Download complete 07:10:14 2437ff75d9bd: Verifying Checksum 07:10:14 2437ff75d9bd: Download complete 07:10:16 8998bd30e6a1: Pull complete 07:10:16 04944245beec: Pull complete 07:10:17 699f458cf7ca: Pull complete 07:10:18 765212b225bb: Pull complete 07:10:19 f23df028b6ca: Pull complete 07:10:19 d65c8cfc05b1: Pull complete 07:10:34 2437ff75d9bd: Pull complete 07:10:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:10:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:34 prd-ubuntu20.04-docker-arm64-4c-16g-8406 does not seem to be running inside a container 07:10:34 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:10:37 $ docker top 7c5877c8b8e834f6bdc0b594fcbacba89c588e2d1f1133144bbd1dadfad52674 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:38 ---> job-cost.sh 07:10:38 lf-activate-venv: SKIPPING 07:10:38 INFO: No Stack... 07:10:39 INFO: Retrieving Pricing Info for: v3-standard-4 07:10:39 INFO: Archiving Costs [Pipeline] sh 07:10:40 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 07:10:40 + cut -d, -f6 [Pipeline] lock 07:10:40 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-380-2-stack-cost] 07:10:40 Resource [jenkins-edgexfoundry-device-virtual-go-PR-380-2-stack-cost] did not exist. Created. 07:10:40 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-380-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:10:41 /w/workspace/device-virtual-go/2@tmp/durable-1f20114a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:10:41 + echo total: 0.10999999940395355 [Pipeline] stash 07:10:41 Warning: overwriting stash ‘stack-cost’ 07:10:41 Stashed 1 file(s) [Pipeline] } 07:10:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-380-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:10:41 $ docker stop --time=1 7c5877c8b8e834f6bdc0b594fcbacba89c588e2d1f1133144bbd1dadfad52674 07:10:43 $ docker rm -f --volumes 7c5877c8b8e834f6bdc0b594fcbacba89c588e2d1f1133144bbd1dadfad52674 [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 07:10:43 provisioning config files... 07:10:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-380@tmp/config16202921426254595622tmp [Pipeline] { [Pipeline] sh 07:10:43 + set +x 07:10:43 + curl -s https://codecov.io/bash 07:10:43 + bash -s -- 07:10:43 07:10:43 _____ _ 07:10:43 / ____| | | 07:10:43 | | ___ __| | ___ ___ _____ __ 07:10:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:10:43 | |___| (_) | (_| | __/ (_| (_) \ V / 07:10:43 \_____\___/ \__,_|\___|\___\___/ \_/ 07:10:43 Bash-1.0.6 07:10:43 07:10:43 07:10:43 ==> git version 2.25.1 found 07:10:43 ==> 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 07:10:43 Release-Date: 2020-01-08 07:10:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:10:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:10:43 ==> Jenkins CI detected. 07:10:43 current dir:  /w/workspace/foundry_device-virtual-go_PR-380 07:10:43 project root: . 07:10:43 --> token set from env 07:10:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:10:43 ==> Running gcov in . (disable via -X gcov) 07:10:43 ==> Python coveragepy not found 07:10:43 ==> Searching for coverage reports in: 07:10:43 + . 07:10:43 -> Found 1 reports 07:10:43 ==> Detecting git/mercurial file structure 07:10:44 ==> Reading reports 07:10:44 + ./coverage.out bytes=42970 07:10:44 ==> Appending adjustments 07:10:44 https://docs.codecov.io/docs/fixing-reports 07:10:44 + Found adjustments 07:10:44 ==> Gzipping contents 07:10:44 8.0K /tmp/codecov.89QWyK.gz 07:10:44 ==> Uploading reports 07:10:44 url: https://codecov.io 07:10:44 query: branch=PR-380&commit=915c2b747b10fc14125918a43f6356e516e6e5ee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-380%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=380&job=&cmd_args= 07:10:44 -> Pinging Codecov 07:10:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-380&commit=915c2b747b10fc14125918a43f6356e516e6e5ee&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-380%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=380&job=&cmd_args= 07:10:44 -> Uploading to 07:10:44 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/5E52B4B073DB2E39498172D8E973AA87/915c2b747b10fc14125918a43f6356e516e6e5ee/f275fa51-df36-4009-9ba2-fc5a12534c73.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T071044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c4b281aacbef9817dd8e8dc2e7cd8f473d18ebe6f420e7358f1e55a192704ad 07:10:44 % Total % Received % Xferd Average Speed Time Time Time Current 07:10:44 Dload Upload Total Spent Left Speed 07:10:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 23261 --:--:-- --:--:-- --:--:-- 23261 07:10:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/915c2b747b10fc14125918a43f6356e516e6e5ee [Pipeline] } 07:10:44 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 07:10:45 + [ -d /w/workspace/foundry_device-virtual-go_PR-380/archives ] 07:10:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-380/archives 07:10:45 total 16 07:10:45 drwxr-xr-x 3 root root 4096 Apr 13 07:02 . 07:10:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:02 .. 07:10:45 drwxr-xr-x 2 root root 4096 Apr 13 07:02 cost 07:10:45 -rw-r--r-- 1 root root 89 Apr 13 07:02 cost.csv 07:10:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-380/archives 07:10:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-380/archives 07:10:45 total 16 07:10:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:02 . 07:10:45 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:02 .. 07:10:45 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:02 cost 07:10:45 -rw-r--r-- 1 jenkins jenkins 89 Apr 13 07:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:10:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:10:46 ---> package-listing.sh 07:10:46 ++ facter osfamily 07:10:46 ++ tr '[:upper:]' '[:lower:]' 07:10:46 + OS_FAMILY=debian 07:10:46 + workspace=/w/workspace/foundry_device-virtual-go_PR-380 07:10:46 + START_PACKAGES=/tmp/packages_start.txt 07:10:46 + END_PACKAGES=/tmp/packages_end.txt 07:10:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:10:46 + PACKAGES=/tmp/packages_start.txt 07:10:46 + '[' /w/workspace/foundry_device-virtual-go_PR-380 ']' 07:10:46 + PACKAGES=/tmp/packages_end.txt 07:10:46 + case "${OS_FAMILY}" in 07:10:46 + dpkg -l 07:10:46 + grep '^ii' 07:10:46 + '[' -f /tmp/packages_start.txt ']' 07:10:46 + '[' -f /tmp/packages_end.txt ']' 07:10:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:10:46 + '[' /w/workspace/foundry_device-virtual-go_PR-380 ']' 07:10:46 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-380/archives/ 07:10:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-380/archives/ [Pipeline] echo 07:10:46 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-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:10:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:10:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:47 prd-ubuntu20.04-docker-8c-8g-8405 does not seem to be running inside a container 07:10:47 $ 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-380/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-380 -v /w/workspace/foundry_device-virtual-go_PR-380:/w/workspace/foundry_device-virtual-go_PR-380:rw,z -v /w/workspace/foundry_device-virtual-go_PR-380@tmp:/w/workspace/foundry_device-virtual-go_PR-380@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:10:47 $ docker top 117aa4fb24b8f4be0a0cda8f2052b5d4baa522a7ac7c5d608cbf3c09574cd39d -eo pid,comm [Pipeline] { [Pipeline] sh 07:10:48 + touch /tmp/pre-build-complete [Pipeline] sh 07:10:48 + mkdir -p /var/log/sysstat [Pipeline] sh 07:10:48 + ls /var/log/sa-host 07:10:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:49 provisioning config files... 07:10:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-380@tmp/config6381442587583908417tmp [Pipeline] { [Pipeline] echo 07:10:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:10:49 ---> create-netrc.sh [Pipeline] } 07:10:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:10:49 ---> python-tools-install.sh [Pipeline] echo 07:10:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:10:49 ---> sudo-logs.sh 07:10:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:10:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:10:50 ---> job-cost.sh 07:10:50 lf-activate-venv: SKIPPING 07:10:50 DEBUG: total: 0.2199999988079071 07:10:50 INFO: Retrieving Stack Cost... 07:10:50 INFO: Retrieving Pricing Info for: v3-standard-8 07:10:51 INFO: Archiving Costs [Pipeline] echo 07:10:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:10:51 ---> logs-deploy.sh 07:10:51 lf-activate-venv: SKIPPING 07:10:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-380/2 07:10:51 INFO: archiving workspace using pattern(s): 07:10:52 Archives upload complete. 07:10:52 INFO: archiving logs to Nexus