Pull request #413 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 jumpingliu for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 8f55b196a710e15398781abdc7fd66bab52d29c1 rather than 1a2c59e634b71e6f4c6755708ce73846145a415b Obtained Jenkinsfile from 8f55b196a710e15398781abdc7fd66bab52d29c1 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10445049837854316197.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4828468066004222766.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-413/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-413/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11353951964039099527.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh4373797561270719536.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-413/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-413/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12524804670055550141.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17208 in /w/workspace/foundry_device-virtual-go_PR-413 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-413 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8f55b196a710e15398781abdc7fd66bab52d29c1 into PR head commit 1a2c59e634b71e6f4c6755708ce73846145a415b Merge succeeded, producing 1a2c59e634b71e6f4c6755708ce73846145a415b Checking out Revision 1a2c59e634b71e6f4c6755708ce73846145a415b (PR-413) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a2c59e634b71e6f4c6755708ce73846145a415b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a2c59e634b71e6f4c6755708ce73846145a415b # timeout=10 Commit message: "docs: Replace slack chat with github discussion" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:42:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:42:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:42:15 ========================================================= 23:42:15 EdgeX Global Pipelines Version Info 23:42:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:42:16 ------------------- 23:42:16 stable info: 23:42:16 ------------------- 23:42:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:42:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:42:16 Message: update stable to v1.0.249 > git rev-list --no-walk 3e5b6e915cf2c8b929b53f3ea63789e240414aa8 # timeout=10 23:42:16 ------------------- 23:42:16 experimental info: 23:42:16 ------------------- 23:42:16 Commited By: **** collab-it+edgex@linuxfoundation.org 23:42:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:42:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:42:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:42:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:42:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:42:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:42:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-413 [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-413 [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-413 [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a2c59e634b71e6f4c6755708ce73846145a415b [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a2c59e [Pipeline] echo 23:42:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:17 provisioning config files... 23:42:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config18380924208081269405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:17 ---> docker-login.sh 23:42:17 nexus3.edgexfoundry.org:10001 23:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:18 Configure a credential helper to remove this warning. See 23:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:18 23:42:18 Login Succeeded 23:42:18 nexus3.edgexfoundry.org:10002 23:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:18 Configure a credential helper to remove this warning. See 23:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:18 23:42:18 Login Succeeded 23:42:18 nexus3.edgexfoundry.org:10003 23:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:18 Configure a credential helper to remove this warning. See 23:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:18 23:42:18 Login Succeeded 23:42:18 nexus3.edgexfoundry.org:10004 23:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:18 Configure a credential helper to remove this warning. See 23:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:18 23:42:18 Login Succeeded 23:42:18 docker.io 23:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:18 Configure a credential helper to remove this warning. See 23:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:18 23:42:18 Login Succeeded 23:42:18 ---> docker-login.sh ends [Pipeline] } 23:42:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:42:18 + git rev-list -1 --merges 1a2c59e634b71e6f4c6755708ce73846145a415b~1..1a2c59e634b71e6f4c6755708ce73846145a415b [Pipeline] echo 23:42:19 -----------> git rev-list -1 --merges 1a2c59e634b71e6f4c6755708ce73846145a415b~1..1a2c59e634b71e6f4c6755708ce73846145a415b 1a2c59e634b71e6f4c6755708ce73846145a415b [false] [Pipeline] sh 23:42:19 + git log --format=format:%s -1 1a2c59e634b71e6f4c6755708ce73846145a415b [Pipeline] echo 23:42:19 ========================================================= 23:42:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:42:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:19 + git log --format=format:%s -1 1a2c59e634b71e6f4c6755708ce73846145a415b [Pipeline] echo 23:42:19 [semverPrep] GIT_COMMIT: 1a2c59e634b71e6f4c6755708ce73846145a415b, Commit Message: docs: Replace slack chat with github discussion [Pipeline] echo 23:42:19 [semverPrep] This is not a build commit. [Pipeline] sh 23:42:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:42:20 + grep -v github /etc/ssh/ssh_known_hosts 23:42:20 + [ -e /tmp/ssh_known_hosts ] 23:42:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:42:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:42:20 + sudo tee -a /etc/ssh/ssh_known_hosts 23:42:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:20 23:42:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:20 0.1.4: Pulling from edgex-devops/py-git-semver 23:42:20 b85a868b505f: Pulling fs layer 23:42:20 e2be974225ed: Pulling fs layer 23:42:20 339a4e72a1f5: Pulling fs layer 23:42:20 988bab9f4d93: Pulling fs layer 23:42:20 1469e6f7b9e6: Pulling fs layer 23:42:20 eaf3925da568: Pulling fs layer 23:42:20 bab4dde63d76: Pulling fs layer 23:42:20 bde34c3a00c8: Pulling fs layer 23:42:20 b352a97aabf1: Pulling fs layer 23:42:20 4872d77fe225: Pulling fs layer 23:42:20 5851b861e8e6: Pulling fs layer 23:42:20 eaf3925da568: Waiting 23:42:20 988bab9f4d93: Waiting 23:42:20 1469e6f7b9e6: Waiting 23:42:20 4872d77fe225: Waiting 23:42:20 5851b861e8e6: Waiting 23:42:20 b352a97aabf1: Waiting 23:42:20 bde34c3a00c8: Waiting 23:42:20 bab4dde63d76: Waiting 23:42:20 e2be974225ed: Download complete 23:42:20 988bab9f4d93: Verifying Checksum 23:42:20 988bab9f4d93: Download complete 23:42:20 1469e6f7b9e6: Verifying Checksum 23:42:20 1469e6f7b9e6: Download complete 23:42:20 eaf3925da568: Download complete 23:42:20 339a4e72a1f5: Verifying Checksum 23:42:20 339a4e72a1f5: Download complete 23:42:20 bde34c3a00c8: Download complete 23:42:20 b352a97aabf1: Verifying Checksum 23:42:20 b352a97aabf1: Download complete 23:42:20 4872d77fe225: Verifying Checksum 23:42:20 4872d77fe225: Download complete 23:42:20 5851b861e8e6: Verifying Checksum 23:42:20 5851b861e8e6: Download complete 23:42:20 b85a868b505f: Verifying Checksum 23:42:20 b85a868b505f: Download complete 23:42:21 bab4dde63d76: Verifying Checksum 23:42:21 bab4dde63d76: Download complete 23:42:22 b85a868b505f: Pull complete 23:42:22 e2be974225ed: Pull complete 23:42:22 339a4e72a1f5: Pull complete 23:42:22 988bab9f4d93: Pull complete 23:42:22 1469e6f7b9e6: Pull complete 23:42:22 eaf3925da568: Pull complete 23:42:24 bab4dde63d76: Pull complete 23:42:24 bde34c3a00c8: Pull complete 23:42:24 b352a97aabf1: Pull complete 23:42:24 4872d77fe225: Pull complete 23:42:25 5851b861e8e6: Pull complete 23:42:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:42:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:25 prd-ubuntu20.04-docker-8c-8g-17208 does not seem to be running inside a container 23:42:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:42:26 $ docker top c8ce6e64241b8ef7aeeebf1aa75f00c7680ff9df66b595a6145f1950b7d0e7a4 -eo pid,comm 23:42:26 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). 23:42:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:42:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:26 [ssh-agent] Looking for ssh-agent implementation... 23:42:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:26 $ docker exec c8ce6e64241b8ef7aeeebf1aa75f00c7680ff9df66b595a6145f1950b7d0e7a4 ssh-agent 23:42:26 SSH_AUTH_SOCK=/tmp/ssh-cibwRm36fvq6/agent.32 23:42:26 SSH_AGENT_PID=38 23:42:26 Running ssh-add (command line suppressed) 23:42:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_7406168789608679351.key (/w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_7406168789608679351.key) 23:42:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:27 + git tag --points-at HEAD [Pipeline] } 23:42:27 $ docker exec --env ******** --env ******** c8ce6e64241b8ef7aeeebf1aa75f00c7680ff9df66b595a6145f1950b7d0e7a4 ssh-agent -k 23:42:27 unset SSH_AUTH_SOCK; 23:42:27 unset SSH_AGENT_PID; 23:42:27 echo Agent pid 38 killed; 23:42:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:42:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:27 [ssh-agent] Looking for ssh-agent implementation... 23:42:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:27 $ docker exec c8ce6e64241b8ef7aeeebf1aa75f00c7680ff9df66b595a6145f1950b7d0e7a4 ssh-agent 23:42:27 SSH_AUTH_SOCK=/tmp/ssh-53SB8Gu5ad8Q/agent.70 23:42:27 SSH_AGENT_PID=76 23:42:27 Running ssh-add (command line suppressed) 23:42:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_6152265453844422288.key (/w/workspace/foundry_device-virtual-go_PR-413@tmp/private_key_6152265453844422288.key) 23:42:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:28 + git semver init 23:42:28 2023-05-29 23:42:28,317 [run_init] DEBUG init version:0.0.0 force:False 23:42:28 2023-05-29 23:42:28,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-413/.semver 23:42:28 2023-05-29 23:42:28,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-413/.semver 23:42:28 2023-05-29 23:42:28,318 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-413/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-413, universal_newlines=False, shell=None, istream=None) 23:42:29 2023-05-29 23:42:29,314 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-413/.git/info/exclude 23:42:29 2023-05-29 23:42:29,315 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 with force:False 23:42:29 2023-05-29 23:42:29,315 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 23:42:29 2023-05-29 23:42:29,320 [execute] INFO git cat-file --batch-check 23:42:29 2023-05-29 23:42:29,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 23:42:29 2023-05-29 23:42:29,328 [execute] INFO git cat-file --batch 23:42:29 2023-05-29 23:42:29,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-413/.semver, universal_newlines=False, shell=None, istream=) 23:42:29 2023-05-29 23:42:29,333 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-413/.semver/PR-413 23:42:29 0.0.0 [Pipeline] } 23:42:29 $ docker exec --env ******** --env ******** c8ce6e64241b8ef7aeeebf1aa75f00c7680ff9df66b595a6145f1950b7d0e7a4 ssh-agent -k 23:42:29 unset SSH_AUTH_SOCK; 23:42:29 unset SSH_AGENT_PID; 23:42:29 echo Agent pid 76 killed; 23:42:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:42:29 + git semver [Pipeline] } 23:42:30 $ docker stop --time=1 c8ce6e64241b8ef7aeeebf1aa75f00c7680ff9df66b595a6145f1950b7d0e7a4 23:42:31 $ docker rm -f --volumes c8ce6e64241b8ef7aeeebf1aa75f00c7680ff9df66b595a6145f1950b7d0e7a4 [Pipeline] // withDockerContainer [Pipeline] sh 23:42:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:42:32 Stashed 1 file(s) [Pipeline] echo 23:42:32 [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 23:42:32 provisioning config files... 23:42:32 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config6590744161010358883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:32 ---> docker-login.sh 23:42:32 nexus3.edgexfoundry.org:10001 23:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:32 Configure a credential helper to remove this warning. See 23:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:32 23:42:32 Login Succeeded 23:42:32 nexus3.edgexfoundry.org:10002 23:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:32 Configure a credential helper to remove this warning. See 23:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:32 23:42:32 Login Succeeded 23:42:32 nexus3.edgexfoundry.org:10003 23:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:32 Configure a credential helper to remove this warning. See 23:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:32 23:42:32 Login Succeeded 23:42:32 nexus3.edgexfoundry.org:10004 23:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:32 Configure a credential helper to remove this warning. See 23:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:32 23:42:32 Login Succeeded 23:42:32 docker.io 23:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:33 Configure a credential helper to remove this warning. See 23:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:33 23:42:33 Login Succeeded 23:42:33 ---> docker-login.sh ends [Pipeline] } 23:42:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:42:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:33 ========================================================= 23:42:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:42:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:33 + 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 . 23:42:33 Sending build context to Docker daemon 23.69MB 23:42:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:42:33 Step 2/12 : FROM ${BASE} AS builder 23:42:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:42:33 f56be85fc22e: Pulling fs layer 23:42:33 85791d961cd3: Pulling fs layer 23:42:33 d694b5ae8c79: Pulling fs layer 23:42:33 9f32a84ed3da: Pulling fs layer 23:42:33 4d19c01a9841: Pulling fs layer 23:42:33 9325e15d5711: Pulling fs layer 23:42:33 556b6ee489ea: Pulling fs layer 23:42:33 c5a4b2cf53e6: Pulling fs layer 23:42:33 556b6ee489ea: Waiting 23:42:33 c5a4b2cf53e6: Waiting 23:42:33 4d19c01a9841: Waiting 23:42:33 9325e15d5711: Waiting 23:42:33 9f32a84ed3da: Waiting 23:42:33 85791d961cd3: Download complete 23:42:33 9f32a84ed3da: Download complete 23:42:33 4d19c01a9841: Download complete 23:42:33 f56be85fc22e: Verifying Checksum 23:42:33 f56be85fc22e: Download complete 23:42:33 9325e15d5711: Verifying Checksum 23:42:33 9325e15d5711: Download complete 23:42:34 f56be85fc22e: Pull complete 23:42:34 85791d961cd3: Pull complete 23:42:34 c5a4b2cf53e6: Verifying Checksum 23:42:34 c5a4b2cf53e6: Download complete 23:42:34 d694b5ae8c79: Verifying Checksum 23:42:34 d694b5ae8c79: Download complete 23:42:34 556b6ee489ea: Verifying Checksum 23:42:34 556b6ee489ea: Download complete 23:42:37 d694b5ae8c79: Pull complete 23:42:37 9f32a84ed3da: Pull complete 23:42:37 4d19c01a9841: Pull complete 23:42:37 9325e15d5711: Pull complete 23:42:39 556b6ee489ea: Pull complete 23:42:40 c5a4b2cf53e6: Pull complete 23:42:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:42:40 ---> c4be618373d6 23:42:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:42:42 ---> Running in 467d88e6765e 23:42:42 Removing intermediate container 467d88e6765e 23:42:42 ---> 23221f72ee33 23:42:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:42:42 ---> Running in 20136c02ad20 23:42:42 Removing intermediate container 20136c02ad20 23:42:42 ---> 1e3009eb0983 23:42:42 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:42:42 ---> Running in b06d1ce42aad 23:42:42 Removing intermediate container b06d1ce42aad 23:42:42 ---> 252909a8788c 23:42:42 Step 6/12 : WORKDIR /device-virtual-go 23:42:43 ---> Running in d8f120abf292 23:42:43 Removing intermediate container d8f120abf292 23:42:43 ---> 6e0e82a5e490 23:42:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:43 ---> Running in 66670503c81e 23:42:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:42:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:42:43 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:42:43 (2/4) Installing libedit (20221030.3.1-r0) 23:42:43 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:42:43 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:42:43 Executing busybox-1.35.0-r29.trigger 23:42:43 OK: 269 MiB in 57 packages 23:42:44 Removing intermediate container 66670503c81e 23:42:44 ---> e31c0d709d28 23:42:44 Step 8/12 : COPY go.mod vendor* ./ 23:42:44 ---> 3a79f741edf9 23:42:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:44 ---> Running in 86d7048514c7 23:42:47 Still waiting to schedule task 23:42:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:43:06 Removing intermediate container 86d7048514c7 23:43:06 ---> 42ae0929def7 23:43:06 Step 10/12 : COPY . . 23:43:06 ---> 4a46f08c45c8 23:43:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:06 ---> Running in ac2d36d50844 23:43:06 Removing intermediate container ac2d36d50844 23:43:06 ---> cd9eb53b1502 23:43:06 Step 12/12 : RUN $MAKE 23:43:06 ---> Running in e30896525298 23:43:06 noop 23:43:06 Removing intermediate container e30896525298 23:43:06 ---> 68f8d63592f6 23:43:06 Successfully built 68f8d63592f6 23:43:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:06 + docker inspect -f . ci-base-image-x86_64 23:43:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:06 prd-ubuntu20.04-docker-8c-8g-17208 does not seem to be running inside a container 23:43:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:43:07 $ docker top 340e1ff9b59cef6387b49f6625c0154a1f7d56394120ff2ccc68528d2a42d2fd -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:07 + go version 23:43:07 go version go1.20.2 linux/amd64 [Pipeline] } 23:43:07 $ docker stop --time=1 340e1ff9b59cef6387b49f6625c0154a1f7d56394120ff2ccc68528d2a42d2fd 23:43:08 $ docker rm -f --volumes 340e1ff9b59cef6387b49f6625c0154a1f7d56394120ff2ccc68528d2a42d2fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:09 + docker inspect -f . ci-base-image-x86_64 23:43:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:09 prd-ubuntu20.04-docker-8c-8g-17208 does not seem to be running inside a container 23:43:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:43:09 $ docker top 496d5b525a3989b39680986ca1129cc9a9b2f52b5524e75e62109a6649499329 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:10 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-413 [Pipeline] fileExists [Pipeline] sh 23:43:10 + make test 23:43:10 go test ./... -coverprofile=coverage.out 23:43:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:43:23 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:43:23 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 23:43:29 go vet ./... 23:43:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:43:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:43:32 ./bin/test-attribution-txt.sh [Pipeline] echo 23:43:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:43:32 $ docker stop --time=1 496d5b525a3989b39680986ca1129cc9a9b2f52b5524e75e62109a6649499329 23:43:35 $ docker rm -f --volumes 496d5b525a3989b39680986ca1129cc9a9b2f52b5524e75e62109a6649499329 [Pipeline] // withDockerContainer [Pipeline] sh 23:43:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:43:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:43:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:43:37 + ls -al . 23:43:37 total 196 23:43:37 drwxrwxr-x 9 jenkins jenkins 4096 May 29 23:43 . 23:43:37 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:42 .. 23:43:37 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:42 .git 23:43:37 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:42 .github 23:43:37 -rw-rw-r-- 1 jenkins jenkins 337 May 29 23:42 .gitignore 23:43:37 -rw-rw-r-- 1 jenkins jenkins 41 May 29 23:42 .golangci.yml 23:43:37 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:42 .semver 23:43:37 -rw-rw-r-- 1 jenkins jenkins 8652 May 29 23:42 Attribution.txt 23:43:37 -rw-rw-r-- 1 jenkins jenkins 11367 May 29 23:42 CHANGELOG.md 23:43:37 -rw-rw-r-- 1 jenkins jenkins 1646 May 29 23:42 Dockerfile 23:43:37 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:42 GOVERNANCE.md 23:43:37 -rw-rw-r-- 1 jenkins jenkins 660 May 29 23:42 Jenkinsfile 23:43:37 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 23:42 LICENSE 23:43:37 -rw-rw-r-- 1 jenkins jenkins 1696 May 29 23:42 Makefile 23:43:37 -rw-rw-r-- 1 jenkins jenkins 623 May 29 23:42 OWNERS.md 23:43:37 -rw-rw-r-- 1 jenkins jenkins 4111 May 29 23:42 README.md 23:43:37 -rw-rw-r-- 1 jenkins jenkins 5 May 29 23:42 VERSION 23:43:37 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:42 bin 23:43:37 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:42 cmd 23:43:37 -rw-r--r-- 1 jenkins jenkins 43063 May 29 23:43 coverage.out 23:43:37 -rw-rw-r-- 1 jenkins jenkins 3161 May 29 23:42 go.mod 23:43:37 -rw-rw-r-- 1 jenkins jenkins 30898 May 29 23:42 go.sum 23:43:37 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:42 internal 23:43:37 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:42 snap 23:43:37 -rw-rw-r-- 1 jenkins jenkins 235 May 29 23:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:37 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=1a2c59e634b71e6f4c6755708ce73846145a415b --label arch=amd64 --label version=0.0.0 . 23:43:37 Sending build context to Docker daemon 23.73MB 23:43:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:43:37 Step 2/25 : FROM ${BASE} AS builder 23:43:37 ---> 68f8d63592f6 23:43:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:43:38 ---> Running in e7fd2816080c 23:43:38 Removing intermediate container e7fd2816080c 23:43:38 ---> a3473e691e81 23:43:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:43:38 ---> Running in e12ee289cdc0 23:43:38 Removing intermediate container e12ee289cdc0 23:43:38 ---> b3335f892ac7 23:43:38 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:43:38 ---> Running in a4484ac0b8d8 23:43:38 Removing intermediate container a4484ac0b8d8 23:43:38 ---> 09b5ed9efffd 23:43:38 Step 6/25 : WORKDIR /device-virtual-go 23:43:38 ---> Running in 65cdc31e4128 23:43:38 Removing intermediate container 65cdc31e4128 23:43:38 ---> 6cc658712041 23:43:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:38 ---> Running in 1b960c49e61b 23:43:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:43:39 OK: 269 MiB in 57 packages 23:43:40 Removing intermediate container 1b960c49e61b 23:43:40 ---> 2c072ee98c7a 23:43:40 Step 8/25 : COPY go.mod vendor* ./ 23:43:40 ---> 746239f86704 23:43:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:40 ---> Running in dd2bc585e1c0 23:43:40 Removing intermediate container dd2bc585e1c0 23:43:40 ---> 1959f799419c 23:43:40 Step 10/25 : COPY . . 23:43:41 ---> 568139768901 23:43:41 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:41 ---> Running in d476e8c4bff6 23:43:41 Removing intermediate container d476e8c4bff6 23:43:41 ---> ab25a546497f 23:43:41 Step 12/25 : RUN $MAKE 23:43:41 ---> Running in 2716ca80fcc1 23:43:41 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 23:43:59 Removing intermediate container 2716ca80fcc1 23:43:59 ---> dfd3d565b6df 23:43:59 Step 13/25 : FROM alpine:3.17 23:44:00 3.17: Pulling from library/alpine 23:44:00 f56be85fc22e: Already exists 23:44:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:44:00 Status: Downloaded newer image for alpine:3.17 23:44:00 ---> 9ed4aefc74f6 23:44:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:44:00 ---> Running in 5fba0054d9d5 23:44:00 Removing intermediate container 5fba0054d9d5 23:44:00 ---> e5f57d57ca17 23:44:00 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:44:00 ---> Running in 6e9a6e3debd6 23:44:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:44:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:44:01 (1/1) Installing dumb-init (1.2.5-r2) 23:44:01 Executing busybox-1.35.0-r29.trigger 23:44:01 OK: 7 MiB in 16 packages 23:44:01 Removing intermediate container 6e9a6e3debd6 23:44:01 ---> d5862ce67c80 23:44:01 Step 16/25 : WORKDIR / 23:44:01 ---> Running in ef8b0e8f05c6 23:44:01 Removing intermediate container ef8b0e8f05c6 23:44:01 ---> 072dddd705d1 23:44:01 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:44:02 ---> 57436bbd6ac1 23:44:02 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:44:02 ---> 4efd23e12649 23:44:02 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:44:03 ---> b0d085b6414d 23:44:03 Step 20/25 : EXPOSE 59900 23:44:03 ---> Running in bad6a877bdd0 23:44:03 Removing intermediate container bad6a877bdd0 23:44:03 ---> 80ca498c780f 23:44:03 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:44:03 ---> Running in 188e424ddc9d 23:44:03 Removing intermediate container 188e424ddc9d 23:44:03 ---> 42e522a91aba 23:44:03 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:44:03 ---> Running in 2d3adbb3e3df 23:44:03 Removing intermediate container 2d3adbb3e3df 23:44:03 ---> 66f9d23b50ff 23:44:03 Step 23/25 : LABEL arch=amd64 23:44:03 ---> Running in a135217edc22 23:44:03 Removing intermediate container a135217edc22 23:44:03 ---> 98088105abfa 23:44:03 Step 24/25 : LABEL git_sha=1a2c59e634b71e6f4c6755708ce73846145a415b 23:44:03 ---> Running in f1d1a9cbbf9d 23:44:03 Removing intermediate container f1d1a9cbbf9d 23:44:03 ---> 827666830fc8 23:44:03 Step 25/25 : LABEL version=0.0.0 23:44:03 ---> Running in 0547a524099b 23:44:03 Removing intermediate container 0547a524099b 23:44:03 ---> 9ea60f7f643e 23:44:03 [Warning] One or more build-args [ARCH] were not consumed 23:44:03 Successfully built 9ea60f7f643e 23:44:03 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:03 23:44:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:04 latest: Pulling from edgex-lftools-log-publisher 23:44:04 5eb5b503b376: Pulling fs layer 23:44:04 5c69ac0246d0: Pulling fs layer 23:44:04 ec43610c2a17: Pulling fs layer 23:44:04 3a2ae6a8a46f: Pulling fs layer 23:44:04 33b1e0a273af: Pulling fs layer 23:44:04 5d3b04190fa2: Pulling fs layer 23:44:04 3a2ae6a8a46f: Waiting 23:44:04 33b1e0a273af: Waiting 23:44:04 2f39f015ded8: Pulling fs layer 23:44:04 2f39f015ded8: Waiting 23:44:04 5d3b04190fa2: Waiting 23:44:04 5c69ac0246d0: Verifying Checksum 23:44:04 5c69ac0246d0: Download complete 23:44:04 3a2ae6a8a46f: Download complete 23:44:04 33b1e0a273af: Verifying Checksum 23:44:04 33b1e0a273af: Download complete 23:44:04 5d3b04190fa2: Verifying Checksum 23:44:04 5d3b04190fa2: Download complete 23:44:04 ec43610c2a17: Verifying Checksum 23:44:04 ec43610c2a17: Download complete 23:44:04 5eb5b503b376: Verifying Checksum 23:44:04 5eb5b503b376: Download complete 23:44:05 2f39f015ded8: Download complete 23:44:05 5eb5b503b376: Pull complete 23:44:05 5c69ac0246d0: Pull complete 23:44:06 ec43610c2a17: Pull complete 23:44:06 3a2ae6a8a46f: Pull complete 23:44:06 33b1e0a273af: Pull complete 23:44:06 5d3b04190fa2: Pull complete 23:44:10 2f39f015ded8: Pull complete 23:44:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:44:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:44:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:44:11 prd-ubuntu20.04-docker-8c-8g-17208 does not seem to be running inside a container 23:44:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:44:13 $ docker top 09336c76092be6ac9e2dcbfba98ab682fac81b31244fc9d597151302498e3f8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:13 ---> job-cost.sh 23:44:13 lf-activate-venv: SKIPPING 23:44:13 INFO: No Stack... 23:44:14 INFO: Retrieving Pricing Info for: v3-standard-8 23:44:14 INFO: Archiving Costs [Pipeline] sh 23:44:14 + cat /w/workspace/foundry_device-virtual-go_PR-413/archives/cost.csv 23:44:14 + cut -d, -f6 [Pipeline] lock 23:44:14 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-413-3-stack-cost] 23:44:14 Resource [jenkins-edgexfoundry-device-virtual-go-PR-413-3-stack-cost] did not exist. Created. 23:44:14 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-413-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:44:15 + echo total: 0.2199999988079071 [Pipeline] stash 23:44:15 Stashed 1 file(s) [Pipeline] } 23:44:15 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-413-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:44:15 $ docker stop --time=1 09336c76092be6ac9e2dcbfba98ab682fac81b31244fc9d597151302498e3f8c 23:44:16 $ docker rm -f --volumes 09336c76092be6ac9e2dcbfba98ab682fac81b31244fc9d597151302498e3f8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:45:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17211 in /w/workspace/foundry_device-virtual-go_PR-413 [Pipeline] { [Pipeline] ws 23:45:53 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 23:45:53 The recommended git tool is: git 23:45:59 using credential edgex-jenkins-ssh 23:45:59 Cloning the remote Git repository 23:45:59 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:46:00 > git init /w/workspace/device-virtual-go/3 # timeout=10 23:46:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:46:00 > git --version # timeout=10 23:46:00 > git --version # 'git version 2.25.1' 23:46:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:02 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:46:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:46:04 Merging remotes/origin/main commit 8f55b196a710e15398781abdc7fd66bab52d29c1 into PR head commit 1a2c59e634b71e6f4c6755708ce73846145a415b 23:46:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:46:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:46:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/413/head:refs/remotes/origin/PR-413 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:46:04 > git config core.sparsecheckout # timeout=10 23:46:04 > git checkout -f 1a2c59e634b71e6f4c6755708ce73846145a415b # timeout=10 23:46:05 Merge succeeded, producing 1a2c59e634b71e6f4c6755708ce73846145a415b 23:46:05 Checking out Revision 1a2c59e634b71e6f4c6755708ce73846145a415b (PR-413) 23:46:04 > git remote # timeout=10 23:46:05 > git config --get remote.origin.url # timeout=10 23:46:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:46:05 > git merge 8f55b196a710e15398781abdc7fd66bab52d29c1 # timeout=10 23:46:05 > git rev-parse HEAD^{commit} # timeout=10 23:46:05 > git config core.sparsecheckout # timeout=10 23:46:05 > git checkout -f 1a2c59e634b71e6f4c6755708ce73846145a415b # timeout=10 23:46:08 Commit message: "docs: Replace slack chat with github discussion" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:46:09 % Total % Received % Xferd Average Speed Time Time Time Current 23:46:09 Dload Upload Total Spent Left Speed 23:46:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70060 0 --:--:-- --:--:-- --:--:-- 70447 [Pipeline] sh 23:46:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:46:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:46:10 + sudo tee /etc/docker/daemon.new 23:46:10 { 23:46:10 "registry-mirrors": [ 23:46:10 "https://nexus3.edgexfoundry.org:10001" 23:46:10 ], 23:46:10 "bip": "10.250.0.254/24", 23:46:10 "hosts": [ 23:46:10 "tcp://0.0.0.0:5555", 23:46:10 "unix:///var/run/docker.sock" 23:46:10 ], 23:46:10 "mtu": 1458, 23:46:10 "selinux-enabled": true, 23:46:10 "seccomp-profile": "/etc/docker/seccomp.json" 23:46:10 } [Pipeline] sh 23:46:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:46:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:46:29 provisioning config files... 23:46:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config16513692899363288921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:46:30 ---> docker-login.sh 23:46:30 nexus3.edgexfoundry.org:10001 23:46:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:30 Configure a credential helper to remove this warning. See 23:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:30 23:46:30 Login Succeeded 23:46:30 nexus3.edgexfoundry.org:10002 23:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:31 Configure a credential helper to remove this warning. See 23:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:31 23:46:31 Login Succeeded 23:46:31 nexus3.edgexfoundry.org:10003 23:46:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:31 Configure a credential helper to remove this warning. See 23:46:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:31 23:46:31 Login Succeeded 23:46:31 nexus3.edgexfoundry.org:10004 23:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:32 Configure a credential helper to remove this warning. See 23:46:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:32 23:46:32 Login Succeeded 23:46:32 docker.io 23:46:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:46:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:46:32 Configure a credential helper to remove this warning. See 23:46:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:46:32 23:46:32 Login Succeeded 23:46:32 ---> docker-login.sh ends [Pipeline] } 23:46:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:46:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:46:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:46:33 ========================================================= 23:46:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:46:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:33 + 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 . 23:46:33 Sending build context to Docker daemon 12.01MB 23:46:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:46:33 Step 2/12 : FROM ${BASE} AS builder 23:46:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:46:33 c41833b44d91: Pulling fs layer 23:46:33 ed15518f5707: Pulling fs layer 23:46:33 feae8fd75edb: Pulling fs layer 23:46:33 242c74f7c9fa: Pulling fs layer 23:46:33 3cdef696dda3: Pulling fs layer 23:46:33 2ced38df9373: Pulling fs layer 23:46:33 58f1dce35555: Pulling fs layer 23:46:33 3cdef696dda3: Waiting 23:46:33 2ced38df9373: Waiting 23:46:33 242c74f7c9fa: Waiting 23:46:33 58f1dce35555: Waiting 23:46:34 ed15518f5707: Verifying Checksum 23:46:34 ed15518f5707: Download complete 23:46:34 242c74f7c9fa: Verifying Checksum 23:46:34 242c74f7c9fa: Download complete 23:46:34 3cdef696dda3: Verifying Checksum 23:46:34 3cdef696dda3: Download complete 23:46:34 c41833b44d91: Download complete 23:46:35 c41833b44d91: Pull complete 23:46:35 58f1dce35555: Verifying Checksum 23:46:35 58f1dce35555: Download complete 23:46:35 ed15518f5707: Pull complete 23:46:36 feae8fd75edb: Verifying Checksum 23:46:36 feae8fd75edb: Download complete 23:46:36 2ced38df9373: Verifying Checksum 23:46:46 feae8fd75edb: Pull complete 23:46:47 242c74f7c9fa: Pull complete 23:46:47 3cdef696dda3: Pull complete 23:46:54 2ced38df9373: Pull complete 23:46:56 58f1dce35555: Pull complete 23:46:56 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:46:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:46:56 ---> fadd8f120f05 23:46:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:46:58 ---> Running in fcc71ba6f395 23:46:58 Removing intermediate container fcc71ba6f395 23:46:58 ---> 52f2d2b8ede0 23:46:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:46:58 ---> Running in 244adf61e68d 23:46:58 Removing intermediate container 244adf61e68d 23:46:58 ---> e791baaa8563 23:46:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:46:58 ---> Running in 712542fbec49 23:46:59 Removing intermediate container 712542fbec49 23:46:59 ---> 937bf0196a08 23:46:59 Step 6/12 : WORKDIR /device-virtual-go 23:46:59 ---> Running in cd4cf7c0674a 23:46:59 Removing intermediate container cd4cf7c0674a 23:46:59 ---> a3604eaa9238 23:46:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:46:59 ---> Running in ce6a24632018 23:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:47:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:47:03 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:47:03 (2/4) Installing libedit (20221030.3.1-r0) 23:47:03 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:47:03 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:47:03 Executing busybox-1.35.0-r29.trigger 23:47:03 OK: 268 MiB in 57 packages 23:47:04 Removing intermediate container ce6a24632018 23:47:04 ---> d54390602542 23:47:04 Step 8/12 : COPY go.mod vendor* ./ 23:47:04 ---> f0071ed7fec5 23:47:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:47:04 ---> Running in 39cf229e6d07 23:48:26 Removing intermediate container 39cf229e6d07 23:48:26 ---> 40d86e0c9c2e 23:48:26 Step 10/12 : COPY . . 23:48:26 ---> 43eec73b69a7 23:48:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:48:26 ---> Running in 434e239096a8 23:48:26 Removing intermediate container 434e239096a8 23:48:26 ---> f3162db8dece 23:48:26 Step 12/12 : RUN $MAKE 23:48:26 ---> Running in 7f8c1352a12a 23:48:26 noop 23:48:26 Removing intermediate container 7f8c1352a12a 23:48:26 ---> 2296f6c34d92 23:48:26 Successfully built 2296f6c34d92 23:48:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:26 + docker inspect -f . ci-base-image-arm64 23:48:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:27 prd-ubuntu20.04-docker-arm64-4c-16g-17211 does not seem to be running inside a container 23:48:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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-arm64 cat 23:48:28 $ docker top d18e61e65f3b5ac8a4478c89c12bf85e161878b66d90716b0eba97455fbcca7e -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:29 + go version 23:48:29 go version go1.20.2 linux/arm64 [Pipeline] } 23:48:29 $ docker stop --time=1 d18e61e65f3b5ac8a4478c89c12bf85e161878b66d90716b0eba97455fbcca7e 23:48:31 $ docker rm -f --volumes d18e61e65f3b5ac8a4478c89c12bf85e161878b66d90716b0eba97455fbcca7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:31 + docker inspect -f . ci-base-image-arm64 23:48:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:31 prd-ubuntu20.04-docker-arm64-4c-16g-17211 does not seem to be running inside a container 23:48:32 $ 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/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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-arm64 cat 23:48:33 $ docker top 4f9b23889952a12f1cf5d2368b2232548b270a319f05971883636935fcc36201 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:34 + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh 23:48:34 + make test 23:48:34 go test ./... -coverprofile=coverage.out 23:49:13 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:51:50 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:51:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.094s coverage: 58.4% of statements 23:51:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:51:50 go vet ./... 23:52:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:52:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:52:12 ./bin/test-attribution-txt.sh [Pipeline] echo 23:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:52:12 $ docker stop --time=1 4f9b23889952a12f1cf5d2368b2232548b270a319f05971883636935fcc36201 23:52:16 $ docker rm -f --volumes 4f9b23889952a12f1cf5d2368b2232548b270a319f05971883636935fcc36201 [Pipeline] // withDockerContainer [Pipeline] sh 23:52:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:52:17 Warning: overwriting stash ‘coverage-report’ 23:52:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:52:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:52:19 + ls -al . 23:52:19 total 192 23:52:19 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:48 . 23:52:19 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:46 .. 23:52:19 drwxrwxr-x 8 jenkins jenkins 4096 May 29 23:46 .git 23:52:19 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:46 .github 23:52:19 -rw-rw-r-- 1 jenkins jenkins 337 May 29 23:46 .gitignore 23:52:19 -rw-rw-r-- 1 jenkins jenkins 41 May 29 23:46 .golangci.yml 23:52:19 -rw-rw-r-- 1 jenkins jenkins 8652 May 29 23:46 Attribution.txt 23:52:19 -rw-rw-r-- 1 jenkins jenkins 11367 May 29 23:46 CHANGELOG.md 23:52:19 -rw-rw-r-- 1 jenkins jenkins 1646 May 29 23:46 Dockerfile 23:52:19 -rw-rw-r-- 1 jenkins jenkins 677 May 29 23:46 GOVERNANCE.md 23:52:19 -rw-rw-r-- 1 jenkins jenkins 660 May 29 23:46 Jenkinsfile 23:52:19 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 23:46 LICENSE 23:52:19 -rw-rw-r-- 1 jenkins jenkins 1696 May 29 23:46 Makefile 23:52:19 -rw-rw-r-- 1 jenkins jenkins 623 May 29 23:46 OWNERS.md 23:52:19 -rw-rw-r-- 1 jenkins jenkins 4111 May 29 23:46 README.md 23:52:19 -rw-rw-r-- 1 jenkins jenkins 5 May 29 23:42 VERSION 23:52:19 drwxrwxr-x 2 jenkins jenkins 4096 May 29 23:46 bin 23:52:19 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:46 cmd 23:52:19 -rw-r--r-- 1 jenkins jenkins 43063 May 29 23:51 coverage.out 23:52:19 -rw-rw-r-- 1 jenkins jenkins 3161 May 29 23:46 go.mod 23:52:19 -rw-rw-r-- 1 jenkins jenkins 30898 May 29 23:46 go.sum 23:52:19 drwxrwxr-x 3 jenkins jenkins 4096 May 29 23:46 internal 23:52:19 drwxrwxr-x 4 jenkins jenkins 4096 May 29 23:46 snap 23:52:19 -rw-rw-r-- 1 jenkins jenkins 235 May 29 23:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:19 + 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=1a2c59e634b71e6f4c6755708ce73846145a415b --label arch=arm64 --label version=0.0.0 . 23:52:20 Sending build context to Docker daemon 12.06MB 23:52:20 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:52:20 Step 2/25 : FROM ${BASE} AS builder 23:52:20 ---> 2296f6c34d92 23:52:20 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:52:20 ---> Running in b025d4eb5182 23:52:20 Removing intermediate container b025d4eb5182 23:52:20 ---> 21bf69cb9ffa 23:52:20 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 23:52:20 ---> Running in 25bc18517772 23:52:21 Removing intermediate container 25bc18517772 23:52:21 ---> 8fc71512161a 23:52:21 Step 5/25 : ARG ADD_BUILD_TAGS="" 23:52:21 ---> Running in 4eab51c95156 23:52:21 Removing intermediate container 4eab51c95156 23:52:21 ---> 300b1fd66f06 23:52:21 Step 6/25 : WORKDIR /device-virtual-go 23:52:21 ---> Running in 8d3654a02c5f 23:52:21 Removing intermediate container 8d3654a02c5f 23:52:21 ---> 2191c3df3d47 23:52:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:52:21 ---> Running in 17cf934a4e45 23:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:52:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:52:25 OK: 268 MiB in 57 packages 23:52:26 Removing intermediate container 17cf934a4e45 23:52:26 ---> 59bfcb9a17c7 23:52:26 Step 8/25 : COPY go.mod vendor* ./ 23:52:26 ---> 3c625eb7d815 23:52:26 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:26 ---> Running in 85a75c61176a 23:52:31 Removing intermediate container 85a75c61176a 23:52:31 ---> 30ceb509581e 23:52:31 Step 10/25 : COPY . . 23:52:32 ---> 85cf8df2e6b0 23:52:32 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:52:32 ---> Running in cd2b5e64a5ca 23:52:33 Removing intermediate container cd2b5e64a5ca 23:52:33 ---> 6a50609ae3f0 23:52:33 Step 12/25 : RUN $MAKE 23:52:33 ---> Running in 8486d97e3bd5 23:52:34 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 23:55:10 Removing intermediate container 8486d97e3bd5 23:55:10 ---> 792e6f458332 23:55:10 Step 13/25 : FROM alpine:3.17 23:55:10 3.17: Pulling from library/alpine 23:55:10 c41833b44d91: Already exists 23:55:10 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:55:10 Status: Downloaded newer image for alpine:3.17 23:55:10 ---> 51e60588ff2c 23:55:10 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:55:10 ---> Running in f09a6af4a84a 23:55:10 Removing intermediate container f09a6af4a84a 23:55:10 ---> aefe1a16f738 23:55:10 Step 15/25 : RUN apk add --update --no-cache dumb-init 23:55:10 ---> Running in aafb893d550c 23:55:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:55:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:55:10 (1/1) Installing dumb-init (1.2.5-r2) 23:55:10 Executing busybox-1.35.0-r29.trigger 23:55:10 OK: 8 MiB in 16 packages 23:55:10 Removing intermediate container aafb893d550c 23:55:10 ---> 6d937467b943 23:55:10 Step 16/25 : WORKDIR / 23:55:10 ---> Running in 3fe48ec24e48 23:55:10 Removing intermediate container 3fe48ec24e48 23:55:10 ---> baa4739c051f 23:55:10 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:55:10 ---> 85a406480265 23:55:10 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 23:55:10 ---> 10ad34c6719b 23:55:10 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 23:55:13 ---> 39d265a29df1 23:55:13 Step 20/25 : EXPOSE 59900 23:55:13 ---> Running in 0ae2581cb35b 23:55:13 Removing intermediate container 0ae2581cb35b 23:55:13 ---> f1f4a91c1684 23:55:13 Step 21/25 : ENTRYPOINT ["/device-virtual"] 23:55:13 ---> Running in 354adff63bd1 23:55:13 Removing intermediate container 354adff63bd1 23:55:13 ---> 94c87a07d7c3 23:55:13 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:55:13 ---> Running in 642001a81cd1 23:55:14 Removing intermediate container 642001a81cd1 23:55:14 ---> 3ebab780151d 23:55:14 Step 23/25 : LABEL arch=arm64 23:55:14 ---> Running in db73a6d7b168 23:55:14 Removing intermediate container db73a6d7b168 23:55:14 ---> 60daf2868bdb 23:55:14 Step 24/25 : LABEL git_sha=1a2c59e634b71e6f4c6755708ce73846145a415b 23:55:14 ---> Running in c322cbedf4c1 23:55:15 Removing intermediate container c322cbedf4c1 23:55:15 ---> 5763fbea5038 23:55:15 Step 25/25 : LABEL version=0.0.0 23:55:15 ---> Running in 7d555c30840e 23:55:15 Removing intermediate container 7d555c30840e 23:55:15 ---> 731a6a51c6a5 23:55:15 [Warning] One or more build-args [ARCH] were not consumed 23:55:15 Successfully built 731a6a51c6a5 23:55:15 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 23:55:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:55:16 23:55:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:55:16 arm64: Pulling from edgex-lftools-log-publisher 23:55:16 8998bd30e6a1: Pulling fs layer 23:55:16 04944245beec: Pulling fs layer 23:55:16 699f458cf7ca: Pulling fs layer 23:55:16 765212b225bb: Pulling fs layer 23:55:16 f23df028b6ca: Pulling fs layer 23:55:16 d65c8cfc05b1: Pulling fs layer 23:55:16 2437ff75d9bd: Pulling fs layer 23:55:16 f23df028b6ca: Waiting 23:55:16 d65c8cfc05b1: Waiting 23:55:16 2437ff75d9bd: Waiting 23:55:16 765212b225bb: Waiting 23:55:16 04944245beec: Verifying Checksum 23:55:16 04944245beec: Download complete 23:55:16 765212b225bb: Verifying Checksum 23:55:16 765212b225bb: Download complete 23:55:16 f23df028b6ca: Verifying Checksum 23:55:16 f23df028b6ca: Download complete 23:55:16 d65c8cfc05b1: Verifying Checksum 23:55:16 d65c8cfc05b1: Download complete 23:55:16 699f458cf7ca: Verifying Checksum 23:55:16 699f458cf7ca: Download complete 23:55:17 8998bd30e6a1: Verifying Checksum 23:55:17 8998bd30e6a1: Download complete 23:55:19 2437ff75d9bd: Verifying Checksum 23:55:19 2437ff75d9bd: Download complete 23:55:21 8998bd30e6a1: Pull complete 23:55:22 04944245beec: Pull complete 23:55:23 699f458cf7ca: Pull complete 23:55:23 765212b225bb: Pull complete 23:55:24 f23df028b6ca: Pull complete 23:55:24 d65c8cfc05b1: Pull complete 23:55:39 2437ff75d9bd: Pull complete 23:55:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:55:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:55:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:39 prd-ubuntu20.04-docker-arm64-4c-16g-17211 does not seem to be running inside a container 23:55:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@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:arm64 cat 23:55:42 $ docker top 40f9b62da710d5b8ed0d380ce4346d259798705fe6ddbba92d60108da40c8452 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:43 ---> job-cost.sh 23:55:43 lf-activate-venv: SKIPPING 23:55:43 INFO: No Stack... 23:55:44 INFO: Retrieving Pricing Info for: v3-standard-4 23:55:44 INFO: Archiving Costs [Pipeline] sh 23:55:45 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 23:55:45 + cut -d, -f6 [Pipeline] lock 23:55:45 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-413-3-stack-cost] 23:55:45 Resource [jenkins-edgexfoundry-device-virtual-go-PR-413-3-stack-cost] did not exist. Created. 23:55:45 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-413-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:55:46 /w/workspace/device-virtual-go/3@tmp/durable-01547b42/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:55:46 + echo total: 0.10999999940395355 [Pipeline] stash 23:55:46 Warning: overwriting stash ‘stack-cost’ 23:55:46 Stashed 1 file(s) [Pipeline] } 23:55:47 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-413-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:55:47 $ docker stop --time=1 40f9b62da710d5b8ed0d380ce4346d259798705fe6ddbba92d60108da40c8452 23:55:48 $ docker rm -f --volumes 40f9b62da710d5b8ed0d380ce4346d259798705fe6ddbba92d60108da40c8452 [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 23:55:49 provisioning config files... 23:55:49 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config15155431939417622953tmp [Pipeline] { [Pipeline] sh 23:55:49 + set +x 23:55:49 + bash -s -- 23:55:49 + curl -s https://codecov.io/bash 23:55:49 23:55:49 _____ _ 23:55:49 / ____| | | 23:55:49 | | ___ __| | ___ ___ _____ __ 23:55:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:55:49 | |___| (_) | (_| | __/ (_| (_) \ V / 23:55:49 \_____\___/ \__,_|\___|\___\___/ \_/ 23:55:49 Bash-1.0.6 23:55:49 23:55:49 23:55:49 ==> git version 2.25.1 found 23:55:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:55:49 Release-Date: 2020-01-08 23:55:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:55:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:55:49 ==> Jenkins CI detected. 23:55:49 current dir:  /w/workspace/foundry_device-virtual-go_PR-413 23:55:49 project root: . 23:55:49 --> token set from env 23:55:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:55:49 ==> Running gcov in . (disable via -X gcov) 23:55:49 ==> Python coveragepy not found 23:55:49 ==> Searching for coverage reports in: 23:55:49 + . 23:55:49 -> Found 1 reports 23:55:49 ==> Detecting git/mercurial file structure 23:55:49 ==> Reading reports 23:55:49 + ./coverage.out bytes=43063 23:55:49 ==> Appending adjustments 23:55:49 https://docs.codecov.io/docs/fixing-reports 23:55:49 + Found adjustments 23:55:49 ==> Gzipping contents 23:55:49 8.0K /tmp/codecov.SzCzPk.gz 23:55:49 ==> Uploading reports 23:55:49 url: https://codecov.io 23:55:49 query: branch=PR-413&commit=1a2c59e634b71e6f4c6755708ce73846145a415b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-413%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=413&job=&cmd_args= 23:55:49 -> Pinging Codecov 23:55:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-413&commit=1a2c59e634b71e6f4c6755708ce73846145a415b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-413%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=413&job=&cmd_args= 23:55:49 -> Uploading to 23:55:49 https://storage.googleapis.com/codecov/v4/raw/2023-05-29/5E52B4B073DB2E39498172D8E973AA87/1a2c59e634b71e6f4c6755708ce73846145a415b/ec420804-53e9-4bcb-a337-27aa03da4903.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230529%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230529T235549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=96802edd8a4d12457ccbccae62bca07653facb625e41ec2b87300544a1f95c7a 23:55:49 % Total % Received % Xferd Average Speed Time Time Time Current 23:55:49 Dload Upload Total Spent Left Speed 23:55:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 24224 --:--:-- --:--:-- --:--:-- 24224 23:55:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1a2c59e634b71e6f4c6755708ce73846145a415b [Pipeline] } 23:55:49 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 23:55:50 + [ -d /w/workspace/foundry_device-virtual-go_PR-413/archives ] 23:55:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-413/archives 23:55:50 total 16 23:55:50 drwxr-xr-x 3 root root 4096 May 29 23:44 . 23:55:50 drwxrwxr-x 10 jenkins jenkins 4096 May 29 23:44 .. 23:55:50 drwxr-xr-x 2 root root 4096 May 29 23:44 cost 23:55:50 -rw-r--r-- 1 root root 89 May 29 23:44 cost.csv 23:55:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-413/archives 23:55:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-413/archives 23:55:50 total 16 23:55:50 drwxr-xr-x 3 jenkins jenkins 4096 May 29 23:44 . 23:55:50 drwxrwxr-x 10 jenkins jenkins 4096 May 29 23:44 .. 23:55:50 drwxr-xr-x 2 jenkins jenkins 4096 May 29 23:44 cost 23:55:50 -rw-r--r-- 1 jenkins jenkins 89 May 29 23:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:55:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:55:51 ---> package-listing.sh 23:55:51 ++ facter osfamily 23:55:51 ++ tr '[:upper:]' '[:lower:]' 23:55:52 + OS_FAMILY=debian 23:55:52 + workspace=/w/workspace/foundry_device-virtual-go_PR-413 23:55:52 + START_PACKAGES=/tmp/packages_start.txt 23:55:52 + END_PACKAGES=/tmp/packages_end.txt 23:55:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:55:52 + PACKAGES=/tmp/packages_start.txt 23:55:52 + '[' /w/workspace/foundry_device-virtual-go_PR-413 ']' 23:55:52 + PACKAGES=/tmp/packages_end.txt 23:55:52 + case "${OS_FAMILY}" in 23:55:52 + dpkg -l 23:55:52 + grep '^ii' 23:55:52 + '[' -f /tmp/packages_start.txt ']' 23:55:52 + '[' -f /tmp/packages_end.txt ']' 23:55:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:55:52 + '[' /w/workspace/foundry_device-virtual-go_PR-413 ']' 23:55:52 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-413/archives/ 23:55:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-413/archives/ [Pipeline] echo 23:55:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:55:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:52 prd-ubuntu20.04-docker-8c-8g-17208 does not seem to be running inside a container 23:55:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-413/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-413 -v /w/workspace/foundry_device-virtual-go_PR-413:/w/workspace/foundry_device-virtual-go_PR-413:rw,z -v /w/workspace/foundry_device-virtual-go_PR-413@tmp:/w/workspace/foundry_device-virtual-go_PR-413@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:55:53 $ docker top 32808744ac2b86b6537bfe0b1988eb4495982f829e4508f72ca5e6e069721ae7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:53 + touch /tmp/pre-build-complete [Pipeline] sh 23:55:53 + mkdir -p /var/log/sysstat [Pipeline] sh 23:55:54 + ls /var/log/sa-host 23:55:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:54 provisioning config files... 23:55:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-413@tmp/config14507752375231963107tmp [Pipeline] { [Pipeline] echo 23:55:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:55:54 ---> create-netrc.sh [Pipeline] } 23:55:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:55:54 ---> python-tools-install.sh [Pipeline] echo 23:55:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:55:55 ---> sudo-logs.sh 23:55:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:55:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:55:55 ---> job-cost.sh 23:55:55 lf-activate-venv: SKIPPING 23:55:55 DEBUG: total: 0.2199999988079071 23:55:55 INFO: Retrieving Stack Cost... 23:55:55 INFO: Retrieving Pricing Info for: v3-standard-8 23:55:56 INFO: Archiving Costs [Pipeline] echo 23:55:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:55:56 ---> logs-deploy.sh 23:55:56 lf-activate-venv: SKIPPING 23:55:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-413/3 23:55:56 INFO: archiving workspace using pattern(s): 23:55:57 Archives upload complete. 23:55:57 INFO: archiving logs to Nexus