Pull request #368 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 vli11 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 8ed51eb9eaa0a405dde043671b4ac8557819634f rather than f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b Obtained Jenkinsfile from 8ed51eb9eaa0a405dde043671b4ac8557819634f 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-ssh9355565611064873916.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh6578254826668261043.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-368/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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1126881173393782344.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12916958208161567196.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-368/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-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10611697229608645851.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5922 in /w/workspace/foundry_device-virtual-go_PR-368 [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-368 # 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 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b Merge succeeded, producing f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b Checking out Revision f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b (PR-368) > 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/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b # 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 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b # timeout=10 Commit message: "fix: no change on CHANGELOG.md" > git rev-list --no-walk fe064901a62a67ca9ae1ee0798090cfe3af9ec79 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:39:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:39:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:39:10 ========================================================= 18:39:10 EdgeX Global Pipelines Version Info 18:39:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:39:10 ------------------- 18:39:10 stable info: 18:39:10 ------------------- 18:39:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:39:10 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 18:39:10 Message: update stable to v1.0.245 18:39:11 ------------------- 18:39:11 experimental info: 18:39:11 ------------------- 18:39:11 Commited By: **** collab-it+edgex@linuxfoundation.org 18:39:11 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 18:39:11 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo 18:39:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b [Pipeline] echo 18:39:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f8fcfb8 [Pipeline] echo 18:39:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:12 provisioning config files... 18:39:12 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config17457029199261440400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:12 ---> docker-login.sh 18:39:12 nexus3.edgexfoundry.org:10001 18:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:12 Configure a credential helper to remove this warning. See 18:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:12 18:39:12 Login Succeeded 18:39:12 nexus3.edgexfoundry.org:10002 18:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:12 Configure a credential helper to remove this warning. See 18:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:12 18:39:12 Login Succeeded 18:39:12 nexus3.edgexfoundry.org:10003 18:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:13 Configure a credential helper to remove this warning. See 18:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:13 18:39:13 Login Succeeded 18:39:13 nexus3.edgexfoundry.org:10004 18:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:13 Configure a credential helper to remove this warning. See 18:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:13 18:39:13 Login Succeeded 18:39:13 docker.io 18:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:13 Configure a credential helper to remove this warning. See 18:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:13 18:39:13 Login Succeeded 18:39:13 ---> docker-login.sh ends [Pipeline] } 18:39:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:39:13 + git rev-list -1 --merges f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b~1..f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b [Pipeline] echo 18:39:13 -----------> git rev-list -1 --merges f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b~1..f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b [false] [Pipeline] sh 18:39:14 + git log --format=format:%s -1 f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b [Pipeline] echo 18:39:14 ========================================================= 18:39:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:39:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:39:14 + git log --format=format:%s -1 f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b [Pipeline] echo 18:39:14 [semverPrep] GIT_COMMIT: f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b, Commit Message: fix: no change on CHANGELOG.md [Pipeline] echo 18:39:14 [semverPrep] This is not a build commit. [Pipeline] sh 18:39:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:39:14 + grep -v github /etc/ssh/ssh_known_hosts 18:39:14 + [ -e /tmp/ssh_known_hosts ] 18:39:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:39:14 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:39:14 sudo tee -a /etc/ssh/ssh_known_hosts 18:39:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:15 18:39:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:15 0.1.4: Pulling from edgex-devops/py-git-semver 18:39:15 b85a868b505f: Pulling fs layer 18:39:15 e2be974225ed: Pulling fs layer 18:39:15 339a4e72a1f5: Pulling fs layer 18:39:15 988bab9f4d93: Pulling fs layer 18:39:15 1469e6f7b9e6: Pulling fs layer 18:39:15 eaf3925da568: Pulling fs layer 18:39:15 bab4dde63d76: Pulling fs layer 18:39:15 bde34c3a00c8: Pulling fs layer 18:39:15 b352a97aabf1: Pulling fs layer 18:39:15 4872d77fe225: Pulling fs layer 18:39:15 5851b861e8e6: Pulling fs layer 18:39:15 b352a97aabf1: Waiting 18:39:15 4872d77fe225: Waiting 18:39:15 5851b861e8e6: Waiting 18:39:15 eaf3925da568: Waiting 18:39:15 bab4dde63d76: Waiting 18:39:15 bde34c3a00c8: Waiting 18:39:15 988bab9f4d93: Waiting 18:39:15 1469e6f7b9e6: Waiting 18:39:15 e2be974225ed: Download complete 18:39:15 988bab9f4d93: Download complete 18:39:15 1469e6f7b9e6: Verifying Checksum 18:39:15 1469e6f7b9e6: Download complete 18:39:15 eaf3925da568: Verifying Checksum 18:39:15 eaf3925da568: Download complete 18:39:15 339a4e72a1f5: Verifying Checksum 18:39:15 339a4e72a1f5: Download complete 18:39:15 bde34c3a00c8: Verifying Checksum 18:39:15 bde34c3a00c8: Download complete 18:39:15 b352a97aabf1: Download complete 18:39:15 4872d77fe225: Verifying Checksum 18:39:15 4872d77fe225: Download complete 18:39:15 5851b861e8e6: Download complete 18:39:15 b85a868b505f: Verifying Checksum 18:39:15 b85a868b505f: Download complete 18:39:16 bab4dde63d76: Verifying Checksum 18:39:16 bab4dde63d76: Download complete 18:39:17 b85a868b505f: Pull complete 18:39:17 e2be974225ed: Pull complete 18:39:17 339a4e72a1f5: Pull complete 18:39:17 988bab9f4d93: Pull complete 18:39:17 1469e6f7b9e6: Pull complete 18:39:17 eaf3925da568: Pull complete 18:39:19 bab4dde63d76: Pull complete 18:39:19 bde34c3a00c8: Pull complete 18:39:19 b352a97aabf1: Pull complete 18:39:19 4872d77fe225: Pull complete 18:39:19 5851b861e8e6: Pull complete 18:39:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:39:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:20 prd-ubuntu20.04-docker-8c-8g-5922 does not seem to be running inside a container 18:39:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 18:39:24 $ docker top 6128171c752d17dae1cf44b2cf76e0daecc74b7a0ed776ae5edd5cd7578f2178 -eo pid,comm 18:39:24 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). 18:39:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:24 [ssh-agent] Looking for ssh-agent implementation... 18:39:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:24 $ docker exec 6128171c752d17dae1cf44b2cf76e0daecc74b7a0ed776ae5edd5cd7578f2178 ssh-agent 18:39:24 SSH_AUTH_SOCK=/tmp/ssh-YS7qp9UQIR4e/agent.32 18:39:24 SSH_AGENT_PID=38 18:39:24 Running ssh-add (command line suppressed) 18:39:24 Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_7373125922630135315.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_7373125922630135315.key) 18:39:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:25 + git tag --points-at HEAD [Pipeline] } 18:39:25 $ docker exec --env ******** --env ******** 6128171c752d17dae1cf44b2cf76e0daecc74b7a0ed776ae5edd5cd7578f2178 ssh-agent -k 18:39:25 unset SSH_AUTH_SOCK; 18:39:25 unset SSH_AGENT_PID; 18:39:25 echo Agent pid 38 killed; 18:39:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:39:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:25 [ssh-agent] Looking for ssh-agent implementation... 18:39:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:25 $ docker exec 6128171c752d17dae1cf44b2cf76e0daecc74b7a0ed776ae5edd5cd7578f2178 ssh-agent 18:39:25 SSH_AUTH_SOCK=/tmp/ssh-1kFpWfwizCPa/agent.70 18:39:25 SSH_AGENT_PID=76 18:39:25 Running ssh-add (command line suppressed) 18:39:25 Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_13468217263916287333.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_13468217263916287333.key) 18:39:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:25 + git semver init 18:39:26 2023-03-27 18:39:26,112 [run_init] DEBUG init version:0.0.0 force:False 18:39:26 2023-03-27 18:39:26,113 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-368/.semver 18:39:26 2023-03-27 18:39:26,114 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-368/.semver 18:39:26 2023-03-27 18:39:26,114 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-368/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-368, universal_newlines=False, shell=None, istream=None) 18:39:27 2023-03-27 18:39:27,160 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-368/.git/info/exclude 18:39:27 2023-03-27 18:39:27,161 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 with force:False 18:39:27 2023-03-27 18:39:27,161 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 18:39:27 2023-03-27 18:39:27,165 [execute] INFO git cat-file --batch-check 18:39:27 2023-03-27 18:39:27,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 18:39:27 2023-03-27 18:39:27,171 [execute] INFO git cat-file --batch 18:39:27 2023-03-27 18:39:27,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 18:39:27 2023-03-27 18:39:27,175 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 18:39:27 0.0.0 [Pipeline] } 18:39:27 $ docker exec --env ******** --env ******** 6128171c752d17dae1cf44b2cf76e0daecc74b7a0ed776ae5edd5cd7578f2178 ssh-agent -k 18:39:27 unset SSH_AUTH_SOCK; 18:39:27 unset SSH_AGENT_PID; 18:39:27 echo Agent pid 76 killed; 18:39:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:28 + git semver [Pipeline] } 18:39:28 $ docker stop --time=1 6128171c752d17dae1cf44b2cf76e0daecc74b7a0ed776ae5edd5cd7578f2178 18:39:29 $ docker rm -f --volumes 6128171c752d17dae1cf44b2cf76e0daecc74b7a0ed776ae5edd5cd7578f2178 [Pipeline] // withDockerContainer [Pipeline] sh 18:39:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:39:30 Stashed 1 file(s) [Pipeline] echo 18:39:30 [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 18:39:30 provisioning config files... 18:39:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config6369877029646023470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:39:30 ---> docker-login.sh 18:39:30 nexus3.edgexfoundry.org:10001 18:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:30 Configure a credential helper to remove this warning. See 18:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:30 18:39:30 Login Succeeded 18:39:30 nexus3.edgexfoundry.org:10002 18:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:30 Configure a credential helper to remove this warning. See 18:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:30 18:39:30 Login Succeeded 18:39:30 nexus3.edgexfoundry.org:10003 18:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:30 Configure a credential helper to remove this warning. See 18:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:30 18:39:30 Login Succeeded 18:39:30 nexus3.edgexfoundry.org:10004 18:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:30 Configure a credential helper to remove this warning. See 18:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:30 18:39:30 Login Succeeded 18:39:30 docker.io 18:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:39:31 Configure a credential helper to remove this warning. See 18:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:39:31 18:39:31 Login Succeeded 18:39:31 ---> docker-login.sh ends [Pipeline] } 18:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:39:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:39:31 ========================================================= 18:39:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:39:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:31 + 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 . 18:39:31 Sending build context to Docker daemon 23.53MB 18:39:31 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:39:31 Step 2/12 : FROM ${BASE} AS builder 18:39:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:39:31 63b65145d645: Pulling fs layer 18:39:31 a2d21d5440eb: Pulling fs layer 18:39:31 935e6c44a52c: Pulling fs layer 18:39:31 94cc34f8dd06: Pulling fs layer 18:39:31 30dea6a524f1: Pulling fs layer 18:39:31 a2aff8979fd8: Pulling fs layer 18:39:31 6808be2612f2: Pulling fs layer 18:39:31 94cc34f8dd06: Waiting 18:39:31 30dea6a524f1: Waiting 18:39:31 a2aff8979fd8: Waiting 18:39:31 f25807f1079a: Pulling fs layer 18:39:31 6808be2612f2: Waiting 18:39:31 f25807f1079a: Waiting 18:39:31 a2d21d5440eb: Download complete 18:39:31 94cc34f8dd06: Verifying Checksum 18:39:31 94cc34f8dd06: Download complete 18:39:31 30dea6a524f1: Download complete 18:39:31 63b65145d645: Verifying Checksum 18:39:31 63b65145d645: Download complete 18:39:31 a2aff8979fd8: Verifying Checksum 18:39:31 a2aff8979fd8: Download complete 18:39:31 63b65145d645: Pull complete 18:39:32 a2d21d5440eb: Pull complete 18:39:32 f25807f1079a: Verifying Checksum 18:39:32 f25807f1079a: Download complete 18:39:32 935e6c44a52c: Download complete 18:39:32 6808be2612f2: Verifying Checksum 18:39:32 6808be2612f2: Download complete 18:39:35 935e6c44a52c: Pull complete 18:39:35 94cc34f8dd06: Pull complete 18:39:35 30dea6a524f1: Pull complete 18:39:35 a2aff8979fd8: Pull complete 18:39:37 6808be2612f2: Pull complete 18:39:38 f25807f1079a: Pull complete 18:39:38 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 18:39:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:39:38 ---> 3b553350e43f 18:39:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:39:42 ---> Running in c159b674dc7e 18:39:42 Removing intermediate container c159b674dc7e 18:39:42 ---> 2e7845a4a3e4 18:39:42 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:39:42 ---> Running in fdd163eaa7ad 18:39:43 Removing intermediate container fdd163eaa7ad 18:39:43 ---> 01c0819210a0 18:39:43 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:39:43 ---> Running in cc87c7e408fd 18:39:43 Removing intermediate container cc87c7e408fd 18:39:43 ---> e0ea9a3e5d47 18:39:43 Step 6/12 : WORKDIR /device-virtual-go 18:39:43 ---> Running in f8ee9546a382 18:39:43 Removing intermediate container f8ee9546a382 18:39:43 ---> 77a2e49bd1c7 18:39:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:43 ---> Running in cad521fa57ea 18:39:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:39:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:39:43 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:39:43 (2/4) Installing libedit (20221030.3.1-r0) 18:39:43 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:39:43 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:39:43 Executing busybox-1.35.0-r29.trigger 18:39:43 OK: 269 MiB in 57 packages 18:39:44 Removing intermediate container cad521fa57ea 18:39:44 ---> fce67bcf79a6 18:39:44 Step 8/12 : COPY go.mod vendor* ./ 18:39:44 ---> ef96cc5384fd 18:39:44 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:44 ---> Running in 78fe1e9a356a 18:39:45 Still waiting to schedule task 18:39:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:40:23 Removing intermediate container 78fe1e9a356a 18:40:23 ---> 6ee071acb570 18:40:23 Step 10/12 : COPY . . 18:40:23 ---> 7b69ac1e3214 18:40:23 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:40:23 ---> Running in 5b7ce106b2d5 18:40:23 Removing intermediate container 5b7ce106b2d5 18:40:23 ---> 72630851a06e 18:40:23 Step 12/12 : RUN $MAKE 18:40:23 ---> Running in cfc66e01ab05 18:40:23 noop 18:40:23 Removing intermediate container cfc66e01ab05 18:40:23 ---> 45f8764b52fa 18:40:23 Successfully built 45f8764b52fa 18:40:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:24 + docker inspect -f . ci-base-image-x86_64 18:40:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:24 prd-ubuntu20.04-docker-8c-8g-5922 does not seem to be running inside a container 18:40:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 18:40:24 $ docker top 5854e5b42367fd454dac091c1419183df3d82972faf325d9a74df0b9b154c0da -eo pid,comm [Pipeline] { [Pipeline] sh 18:40:24 + go version 18:40:24 go version go1.20.2 linux/amd64 [Pipeline] } 18:40:24 $ docker stop --time=1 5854e5b42367fd454dac091c1419183df3d82972faf325d9a74df0b9b154c0da 18:40:26 $ docker rm -f --volumes 5854e5b42367fd454dac091c1419183df3d82972faf325d9a74df0b9b154c0da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:26 + docker inspect -f . ci-base-image-x86_64 18:40:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:26 prd-ubuntu20.04-docker-8c-8g-5922 does not seem to be running inside a container 18:40:26 $ 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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 18:40:26 $ docker top e33d0eb70380ab673080a6727982213c064bd47cb2b7b6159ca61076c70bb2ec -eo pid,comm [Pipeline] { [Pipeline] sh 18:40:27 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] fileExists [Pipeline] sh 18:40:27 + make test 18:40:27 go test ./... -coverprofile=coverage.out 18:40:32 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:40:42 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:40:42 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.030s coverage: 65.7% of statements 18:40:47 go vet ./... 18:40:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:40:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:40:50 ./bin/test-attribution-txt.sh [Pipeline] echo 18:40:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:40:50 $ docker stop --time=1 e33d0eb70380ab673080a6727982213c064bd47cb2b7b6159ca61076c70bb2ec 18:40:54 $ docker rm -f --volumes e33d0eb70380ab673080a6727982213c064bd47cb2b7b6159ca61076c70bb2ec [Pipeline] // withDockerContainer [Pipeline] sh 18:40:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:40:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:40:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:40:55 + ls -al . 18:40:55 total 192 18:40:55 drwxrwxr-x 9 jenkins jenkins 4096 Mar 27 18:40 . 18:40:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 18:39 .. 18:40:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 18:39 .git 18:40:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 18:39 .github 18:40:55 -rw-rw-r-- 1 jenkins jenkins 337 Mar 27 18:39 .gitignore 18:40:55 -rw-rw-r-- 1 jenkins jenkins 41 Mar 27 18:39 .golangci.yml 18:40:55 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 18:39 .semver 18:40:55 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 27 18:39 Attribution.txt 18:40:55 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 27 18:39 CHANGELOG.md 18:40:55 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 27 18:39 Dockerfile 18:40:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 27 18:39 GOVERNANCE.md 18:40:55 -rw-rw-r-- 1 jenkins jenkins 660 Mar 27 18:39 Jenkinsfile 18:40:55 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 27 18:39 LICENSE 18:40:55 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 27 18:39 Makefile 18:40:55 -rw-rw-r-- 1 jenkins jenkins 623 Mar 27 18:39 OWNERS.md 18:40:55 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 27 18:39 README.md 18:40:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 18:39 VERSION 18:40:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 18:39 bin 18:40:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 18:39 cmd 18:40:55 -rw-r--r-- 1 jenkins jenkins 44311 Mar 27 18:40 coverage.out 18:40:55 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 27 18:39 go.mod 18:40:55 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 27 18:39 go.sum 18:40:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 18:39 internal 18:40:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 18:39 snap 18:40:55 -rw-rw-r-- 1 jenkins jenkins 235 Mar 27 18:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:56 + 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=f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b --label arch=amd64 --label version=0.0.0 . 18:40:56 Sending build context to Docker daemon 23.58MB 18:40:56 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:40:56 Step 2/25 : FROM ${BASE} AS builder 18:40:56 ---> 45f8764b52fa 18:40:56 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:40:56 ---> Running in b73f9b37c0f0 18:40:56 Removing intermediate container b73f9b37c0f0 18:40:56 ---> 9857aff7984d 18:40:56 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:40:56 ---> Running in 092ce98a8170 18:40:56 Removing intermediate container 092ce98a8170 18:40:56 ---> 1f641bffb09c 18:40:56 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:40:56 ---> Running in 9d459d3b9c40 18:40:56 Removing intermediate container 9d459d3b9c40 18:40:56 ---> a80407797cbf 18:40:56 Step 6/25 : WORKDIR /device-virtual-go 18:40:56 ---> Running in 73f4e559099c 18:40:56 Removing intermediate container 73f4e559099c 18:40:56 ---> ab442ee9d132 18:40:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:40:56 ---> Running in 13dc18c730c1 18:40:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:40:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:40:57 OK: 269 MiB in 57 packages 18:40:57 Removing intermediate container 13dc18c730c1 18:40:57 ---> 7ffcd704a656 18:40:57 Step 8/25 : COPY go.mod vendor* ./ 18:40:57 ---> 51c6c23438e9 18:40:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:57 ---> Running in 3272b7e37a84 18:40:58 Removing intermediate container 3272b7e37a84 18:40:58 ---> de8fdf7ead4f 18:40:58 Step 10/25 : COPY . . 18:40:59 ---> af98d28da24b 18:40:59 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:40:59 ---> Running in 372734dfa715 18:40:59 Removing intermediate container 372734dfa715 18:40:59 ---> 9c9e1dff9b75 18:40:59 Step 12/25 : RUN $MAKE 18:40:59 ---> Running in c14a5adbd445 18:40:59 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 18:41:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5923 in /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] { [Pipeline] ws 18:41:13 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 18:41:13 The recommended git tool is: git 18:41:17 Removing intermediate container c14a5adbd445 18:41:17 ---> 035403229856 18:41:17 Step 13/25 : FROM alpine:3.17 18:41:17 3.17: Pulling from library/alpine 18:41:17 63b65145d645: Already exists 18:41:18 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:41:18 Status: Downloaded newer image for alpine:3.17 18:41:18 ---> b2aa39c304c2 18:41:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:41:18 ---> Running in 2bb23dc2a024 18:41:18 Removing intermediate container 2bb23dc2a024 18:41:18 ---> 825ccede4d48 18:41:18 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:41:18 ---> Running in eae8836808dd 18:41:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:41:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:41:18 using credential edgex-jenkins-ssh 18:41:18 Cloning the remote Git repository 18:41:18 (1/1) Installing dumb-init (1.2.5-r2) 18:41:18 Executing busybox-1.35.0-r29.trigger 18:41:18 OK: 7 MiB in 16 packages 18:41:19 Removing intermediate container eae8836808dd 18:41:19 ---> e4053e5e8115 18:41:19 Step 16/25 : WORKDIR / 18:41:19 ---> Running in 1f5cec6aaae7 18:41:19 Removing intermediate container 1f5cec6aaae7 18:41:19 ---> f38ae5e376c0 18:41:19 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:41:19 ---> 515f24173ca8 18:41:19 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:41:19 ---> a59337bdd618 18:41:19 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:41:18 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 18:41:18 > git init /w/workspace/device-virtual-go/3 # timeout=10 18:41:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:41:18 > git --version # timeout=10 18:41:18 > git --version # 'git version 2.25.1' 18:41:18 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:41:20 ---> c84ee9706494 18:41:20 Step 20/25 : EXPOSE 59900 18:41:20 ---> Running in 5f02bbf14034 18:41:20 Removing intermediate container 5f02bbf14034 18:41:20 ---> d2247992a142 18:41:20 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:41:20 ---> Running in 150fca5d4edf 18:41:20 Removing intermediate container 150fca5d4edf 18:41:20 ---> b0b703f90268 18:41:20 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:41:20 ---> Running in 17c68160d2c3 18:41:20 Removing intermediate container 17c68160d2c3 18:41:20 ---> 0cdbd5eb1578 18:41:20 Step 23/25 : LABEL arch=amd64 18:41:20 ---> Running in 050d94edbef1 18:41:20 Removing intermediate container 050d94edbef1 18:41:20 ---> 63132633cba9 18:41:20 Step 24/25 : LABEL git_sha=f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b 18:41:20 ---> Running in 862b3d83a87f 18:41:20 Removing intermediate container 862b3d83a87f 18:41:20 ---> 81aa9f81b32d 18:41:20 Step 25/25 : LABEL version=0.0.0 18:41:20 ---> Running in 3dc2bfa3a2ef 18:41:20 Removing intermediate container 3dc2bfa3a2ef 18:41:20 ---> 749fa8dc4e05 18:41:20 [Warning] One or more build-args [ARCH] were not consumed 18:41:20 Successfully built 749fa8dc4e05 18:41:20 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 18:41:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:21 18:41:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:21 latest: Pulling from edgex-lftools-log-publisher 18:41:21 5eb5b503b376: Pulling fs layer 18:41:21 5c69ac0246d0: Pulling fs layer 18:41:21 ec43610c2a17: Pulling fs layer 18:41:21 3a2ae6a8a46f: Pulling fs layer 18:41:21 33b1e0a273af: Pulling fs layer 18:41:21 5d3b04190fa2: Pulling fs layer 18:41:21 2f39f015ded8: Pulling fs layer 18:41:21 5d3b04190fa2: Waiting 18:41:21 2f39f015ded8: Waiting 18:41:21 3a2ae6a8a46f: Waiting 18:41:21 33b1e0a273af: Waiting 18:41:21 5c69ac0246d0: Verifying Checksum 18:41:21 5c69ac0246d0: Download complete 18:41:21 3a2ae6a8a46f: Verifying Checksum 18:41:21 3a2ae6a8a46f: Download complete 18:41:21 33b1e0a273af: Verifying Checksum 18:41:21 33b1e0a273af: Download complete 18:41:21 ec43610c2a17: Verifying Checksum 18:41:21 ec43610c2a17: Download complete 18:41:21 5eb5b503b376: Verifying Checksum 18:41:21 5eb5b503b376: Download complete 18:41:21 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:41:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:41:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 18:41:22 2f39f015ded8: Download complete 18:41:22 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b 18:41:22 5eb5b503b376: Pull complete 18:41:22 Merge succeeded, producing f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b 18:41:22 Checking out Revision f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b (PR-368) 18:41:23 5c69ac0246d0: Pull complete 18:41:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 18:41:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:41:22 > git config core.sparsecheckout # timeout=10 18:41:22 > git checkout -f f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b # timeout=10 18:41:22 > git remote # timeout=10 18:41:22 > git config --get remote.origin.url # timeout=10 18:41:22 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:22 > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 18:41:22 > git rev-parse HEAD^{commit} # timeout=10 18:41:22 > git config core.sparsecheckout # timeout=10 18:41:22 > git checkout -f f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b # timeout=10 18:41:23 ec43610c2a17: Pull complete 18:41:23 3a2ae6a8a46f: Pull complete 18:41:23 33b1e0a273af: Pull complete 18:41:24 5d3b04190fa2: Pull complete 18:41:26 Commit message: "fix: no change on CHANGELOG.md" 18:41:26 18:41:26 GitHub has been notified of this commit’s build result 18:41:26 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:41:27 % Total % Received % Xferd Average Speed Time Time Time Current 18:41:27 Dload Upload Total Spent Left Speed 18:41:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86741 0 --:--:-- --:--:-- --:--:-- 87335 [Pipeline] sh 18:41:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:41:28 2f39f015ded8: Pull complete 18:41:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:41:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:28 prd-ubuntu20.04-docker-8c-8g-5922 does not seem to be running inside a container 18:41:28 $ 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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 18:41:28 + sudo tee /etc/docker/daemon.new 18:41:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:41:28 { 18:41:28 "registry-mirrors": [ 18:41:28 "https://nexus3.edgexfoundry.org:10001" 18:41:28 ], 18:41:28 "bip": "10.250.0.254/24", 18:41:28 "hosts": [ 18:41:28 "tcp://0.0.0.0:5555", 18:41:28 "unix:///var/run/docker.sock" 18:41:28 ], 18:41:28 "mtu": 1458, 18:41:28 "selinux-enabled": true, 18:41:28 "seccomp-profile": "/etc/docker/seccomp.json" 18:41:28 } 18:41:32 $ docker top 120aa89cdc78ccbc97993f7ba81f57cf4f7126862bec27762ae8d5c7f90c79a8 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 18:41:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:41:32 ---> job-cost.sh 18:41:32 lf-activate-venv: SKIPPING 18:41:32 INFO: No Stack... 18:41:33 + sudo service docker restart 18:41:33 INFO: Retrieving Pricing Info for: v3-standard-8 18:41:33 INFO: Archiving Costs [Pipeline] sh 18:41:34 + cat /w/workspace/foundry_device-virtual-go_PR-368/archives/cost.csv 18:41:34 + cut -d, -f6 [Pipeline] lock 18:41:34 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-3-stack-cost] 18:41:34 Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-3-stack-cost] did not exist. Created. 18:41:34 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:41:34 + echo total: 0.2199999988079071 [Pipeline] stash 18:41:34 Stashed 1 file(s) [Pipeline] } 18:41:34 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:41:34 $ docker stop --time=1 120aa89cdc78ccbc97993f7ba81f57cf4f7126862bec27762ae8d5c7f90c79a8 18:41:35 $ docker rm -f --volumes 120aa89cdc78ccbc97993f7ba81f57cf4f7126862bec27762ae8d5c7f90c79a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:51 provisioning config files... 18:41:51 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config15877991799080883436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:51 ---> docker-login.sh 18:41:51 nexus3.edgexfoundry.org:10001 18:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:52 Configure a credential helper to remove this warning. See 18:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:52 18:41:52 Login Succeeded 18:41:52 nexus3.edgexfoundry.org:10002 18:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:52 Configure a credential helper to remove this warning. See 18:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:52 18:41:52 Login Succeeded 18:41:52 nexus3.edgexfoundry.org:10003 18:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:53 Configure a credential helper to remove this warning. See 18:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:53 18:41:53 Login Succeeded 18:41:53 nexus3.edgexfoundry.org:10004 18:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:53 Configure a credential helper to remove this warning. See 18:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:53 18:41:53 Login Succeeded 18:41:53 docker.io 18:41:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:54 Configure a credential helper to remove this warning. See 18:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:54 18:41:54 Login Succeeded 18:41:54 ---> docker-login.sh ends [Pipeline] } 18:41:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:41:54 ========================================================= 18:41:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:41:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:54 + 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 . 18:41:55 Sending build context to Docker daemon 11.94MB 18:41:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:41:55 Step 2/12 : FROM ${BASE} AS builder 18:41:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:41:55 af6eaf76a39c: Pulling fs layer 18:41:55 55522c791124: Pulling fs layer 18:41:55 ce5c4a1c91eb: Pulling fs layer 18:41:55 169dfbe0d373: Pulling fs layer 18:41:55 e1ff8fa3b103: Pulling fs layer 18:41:55 52ebb69f0ebf: Pulling fs layer 18:41:55 5abe8eddf0d5: Pulling fs layer 18:41:55 169dfbe0d373: Waiting 18:41:55 e1ff8fa3b103: Waiting 18:41:55 52ebb69f0ebf: Waiting 18:41:55 5abe8eddf0d5: Waiting 18:41:55 55522c791124: Verifying Checksum 18:41:55 55522c791124: Download complete 18:41:55 169dfbe0d373: Verifying Checksum 18:41:55 169dfbe0d373: Download complete 18:41:55 e1ff8fa3b103: Verifying Checksum 18:41:55 e1ff8fa3b103: Download complete 18:41:55 af6eaf76a39c: Verifying Checksum 18:41:55 af6eaf76a39c: Download complete 18:41:56 af6eaf76a39c: Pull complete 18:41:56 5abe8eddf0d5: Verifying Checksum 18:41:56 5abe8eddf0d5: Download complete 18:41:57 55522c791124: Pull complete 18:41:57 ce5c4a1c91eb: Verifying Checksum 18:41:57 ce5c4a1c91eb: Download complete 18:41:57 52ebb69f0ebf: Verifying Checksum 18:41:57 52ebb69f0ebf: Download complete 18:42:07 ce5c4a1c91eb: Pull complete 18:42:07 169dfbe0d373: Pull complete 18:42:07 e1ff8fa3b103: Pull complete 18:42:13 52ebb69f0ebf: Pull complete 18:42:15 5abe8eddf0d5: Pull complete 18:42:15 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 18:42:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:42:15 ---> 6cb57ee374ae 18:42:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:42:16 ---> Running in e0884601754d 18:42:16 Removing intermediate container e0884601754d 18:42:16 ---> 47481735e142 18:42:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:42:17 ---> Running in e4ba2e3c2a67 18:42:17 Removing intermediate container e4ba2e3c2a67 18:42:17 ---> d37ae0bd90f6 18:42:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:42:17 ---> Running in 74861d67081c 18:42:17 Removing intermediate container 74861d67081c 18:42:17 ---> f006fdaffec7 18:42:17 Step 6/12 : WORKDIR /device-virtual-go 18:42:17 ---> Running in 7780dc986b17 18:42:17 Removing intermediate container 7780dc986b17 18:42:17 ---> 6c235d71364e 18:42:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:42:17 ---> Running in 35068ba79115 18:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:42:20 (1/4) Installing openssh-keygen (9.1_p1-r2) 18:42:20 (2/4) Installing libedit (20221030.3.1-r0) 18:42:20 (3/4) Installing openssh-client-common (9.1_p1-r2) 18:42:20 (4/4) Installing openssh-client-default (9.1_p1-r2) 18:42:20 Executing busybox-1.35.0-r29.trigger 18:42:20 OK: 268 MiB in 57 packages 18:42:21 Removing intermediate container 35068ba79115 18:42:21 ---> 9e109daa8431 18:42:21 Step 8/12 : COPY go.mod vendor* ./ 18:42:22 ---> 8da1c3f30734 18:42:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:22 ---> Running in e3ecba61eedb 18:43:29 Removing intermediate container e3ecba61eedb 18:43:29 ---> 732062295f6b 18:43:29 Step 10/12 : COPY . . 18:43:29 ---> 6e9d6adb2414 18:43:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:43:29 ---> Running in 2d839239d060 18:43:29 Removing intermediate container 2d839239d060 18:43:29 ---> f01f1414aa8d 18:43:29 Step 12/12 : RUN $MAKE 18:43:29 ---> Running in f372b4f1b262 18:43:29 noop 18:43:29 Removing intermediate container f372b4f1b262 18:43:29 ---> 129c086612e3 18:43:29 Successfully built 129c086612e3 18:43:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:30 + docker inspect -f . ci-base-image-arm64 18:43:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:30 prd-ubuntu20.04-docker-arm64-4c-16g-5923 does not seem to be running inside a container 18:43:30 $ 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 18:43:32 $ docker top b821cf884e80fd2a4962278e6743318d959d4530ac88bae5ab41af929c634beb -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:33 + go version 18:43:33 go version go1.20.2 linux/arm64 [Pipeline] } 18:43:33 $ docker stop --time=1 b821cf884e80fd2a4962278e6743318d959d4530ac88bae5ab41af929c634beb 18:43:35 $ docker rm -f --volumes b821cf884e80fd2a4962278e6743318d959d4530ac88bae5ab41af929c634beb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:35 + docker inspect -f . ci-base-image-arm64 18:43:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:35 prd-ubuntu20.04-docker-arm64-4c-16g-5923 does not seem to be running inside a container 18:43:35 $ 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 18:43:36 $ docker top 0079e502eaef78ca93edc4d4e77bd3ddaf301d62880f424b250176ebcc4e6a29 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh 18:43:37 + make test 18:43:37 go test ./... -coverprofile=coverage.out 18:44:09 ? github.com/edgexfoundry/device-virtual-go [no test files] 18:46:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 18:46:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.188s coverage: 65.7% of statements 18:46:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:46:01 go vet ./... 18:46:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:46:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:46:23 ./bin/test-attribution-txt.sh [Pipeline] echo 18:46:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:46:23 $ docker stop --time=1 0079e502eaef78ca93edc4d4e77bd3ddaf301d62880f424b250176ebcc4e6a29 18:46:25 $ docker rm -f --volumes 0079e502eaef78ca93edc4d4e77bd3ddaf301d62880f424b250176ebcc4e6a29 [Pipeline] // withDockerContainer [Pipeline] sh 18:46:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:46:26 Warning: overwriting stash ‘coverage-report’ 18:46:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:46:28 + ls -al . 18:46:28 total 188 18:46:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 18:43 . 18:46:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 18:41 .. 18:46:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 18:41 .git 18:46:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 18:41 .github 18:46:28 -rw-rw-r-- 1 jenkins jenkins 337 Mar 27 18:41 .gitignore 18:46:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 27 18:41 .golangci.yml 18:46:28 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 27 18:41 Attribution.txt 18:46:28 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 27 18:41 CHANGELOG.md 18:46:28 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 27 18:41 Dockerfile 18:46:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 27 18:41 GOVERNANCE.md 18:46:28 -rw-rw-r-- 1 jenkins jenkins 660 Mar 27 18:41 Jenkinsfile 18:46:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 27 18:41 LICENSE 18:46:28 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 27 18:41 Makefile 18:46:28 -rw-rw-r-- 1 jenkins jenkins 623 Mar 27 18:41 OWNERS.md 18:46:28 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 27 18:41 README.md 18:46:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 18:39 VERSION 18:46:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 18:41 bin 18:46:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 18:41 cmd 18:46:28 -rw-r--r-- 1 jenkins jenkins 44311 Mar 27 18:45 coverage.out 18:46:28 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 27 18:41 go.mod 18:46:28 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 27 18:41 go.sum 18:46:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 18:41 internal 18:46:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 18:41 snap 18:46:28 -rw-rw-r-- 1 jenkins jenkins 235 Mar 27 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:28 + 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=f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b --label arch=arm64 --label version=0.0.0 . 18:46:29 Sending build context to Docker daemon 11.99MB 18:46:29 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:46:29 Step 2/25 : FROM ${BASE} AS builder 18:46:29 ---> 129c086612e3 18:46:29 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:46:30 ---> Running in b284944d0481 18:46:30 Removing intermediate container b284944d0481 18:46:30 ---> 6e8e5008bcd7 18:46:30 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 18:46:30 ---> Running in 24cbc934679e 18:46:30 Removing intermediate container 24cbc934679e 18:46:30 ---> 16a604a9a11a 18:46:30 Step 5/25 : ARG ADD_BUILD_TAGS="" 18:46:31 ---> Running in d5c2cc0acf10 18:46:31 Removing intermediate container d5c2cc0acf10 18:46:31 ---> e8cc3155367f 18:46:31 Step 6/25 : WORKDIR /device-virtual-go 18:46:31 ---> Running in 1cdab1bd2cf0 18:46:32 Removing intermediate container 1cdab1bd2cf0 18:46:32 ---> 9e22203d9065 18:46:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:46:32 ---> Running in 36d4b800a94e 18:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:46:35 OK: 268 MiB in 57 packages 18:46:36 Removing intermediate container 36d4b800a94e 18:46:36 ---> 7c18185ccd32 18:46:36 Step 8/25 : COPY go.mod vendor* ./ 18:46:37 ---> b9e99afda4c4 18:46:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:37 ---> Running in ec6884669ca4 18:46:40 Removing intermediate container ec6884669ca4 18:46:40 ---> 7715c88e5ec3 18:46:40 Step 10/25 : COPY . . 18:46:41 ---> 24e7bef18402 18:46:41 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:46:41 ---> Running in 991514a2bf87 18:46:41 Removing intermediate container 991514a2bf87 18:46:41 ---> cc61b7b089a9 18:46:41 Step 12/25 : RUN $MAKE 18:46:41 ---> Running in aeb24372cbde 18:46:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 18:48:49 Removing intermediate container aeb24372cbde 18:48:49 ---> a3104edd3af0 18:48:49 Step 13/25 : FROM alpine:3.17 18:48:49 3.17: Pulling from library/alpine 18:48:49 af6eaf76a39c: Already exists 18:48:49 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 18:48:49 Status: Downloaded newer image for alpine:3.17 18:48:49 ---> d74e625d9115 18:48:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 18:48:49 ---> Running in caa7ed06d729 18:48:49 Removing intermediate container caa7ed06d729 18:48:49 ---> e565d15278ef 18:48:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 18:48:49 ---> Running in 768602ef47ec 18:48:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:48:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:48:51 (1/1) Installing dumb-init (1.2.5-r2) 18:48:51 Executing busybox-1.35.0-r29.trigger 18:48:51 OK: 8 MiB in 16 packages 18:48:52 Removing intermediate container 768602ef47ec 18:48:52 ---> aae1d9e24520 18:48:52 Step 16/25 : WORKDIR / 18:48:52 ---> Running in b8eb95b001cd 18:48:52 Removing intermediate container b8eb95b001cd 18:48:52 ---> fcd01c96fc1f 18:48:52 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 18:48:52 ---> 488e2ce44f91 18:48:52 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 18:48:53 ---> 87daad9fe322 18:48:53 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 18:48:54 ---> 1c0c7a14f864 18:48:54 Step 20/25 : EXPOSE 59900 18:48:54 ---> Running in a707f2fb5162 18:48:54 Removing intermediate container a707f2fb5162 18:48:54 ---> 227ed540da52 18:48:54 Step 21/25 : ENTRYPOINT ["/device-virtual"] 18:48:54 ---> Running in 64f6b487bce3 18:48:55 Removing intermediate container 64f6b487bce3 18:48:55 ---> ec7f97d006e6 18:48:55 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 18:48:55 ---> Running in c894bcce890e 18:48:55 Removing intermediate container c894bcce890e 18:48:55 ---> ab1571a8e059 18:48:55 Step 23/25 : LABEL arch=arm64 18:48:55 ---> Running in f7c14a455de4 18:48:55 Removing intermediate container f7c14a455de4 18:48:55 ---> d007b1e29f0c 18:48:55 Step 24/25 : LABEL git_sha=f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b 18:48:55 ---> Running in 4d9607028215 18:48:56 Removing intermediate container 4d9607028215 18:48:56 ---> f75ea67266ba 18:48:56 Step 25/25 : LABEL version=0.0.0 18:48:56 ---> Running in 3cb43b8e7469 18:48:56 Removing intermediate container 3cb43b8e7469 18:48:56 ---> 4300fa401095 18:48:56 [Warning] One or more build-args [ARCH] were not consumed 18:48:56 Successfully built 4300fa401095 18:48:56 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 18:48:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:56 18:48:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:48:57 arm64: Pulling from edgex-lftools-log-publisher 18:48:57 8998bd30e6a1: Pulling fs layer 18:48:57 04944245beec: Pulling fs layer 18:48:57 699f458cf7ca: Pulling fs layer 18:48:57 765212b225bb: Pulling fs layer 18:48:57 f23df028b6ca: Pulling fs layer 18:48:57 d65c8cfc05b1: Pulling fs layer 18:48:57 2437ff75d9bd: Pulling fs layer 18:48:57 f23df028b6ca: Waiting 18:48:57 765212b225bb: Waiting 18:48:57 d65c8cfc05b1: Waiting 18:48:57 2437ff75d9bd: Waiting 18:48:57 04944245beec: Verifying Checksum 18:48:57 04944245beec: Download complete 18:48:57 765212b225bb: Verifying Checksum 18:48:57 765212b225bb: Download complete 18:48:57 f23df028b6ca: Verifying Checksum 18:48:57 f23df028b6ca: Download complete 18:48:57 d65c8cfc05b1: Verifying Checksum 18:48:57 d65c8cfc05b1: Download complete 18:48:57 699f458cf7ca: Verifying Checksum 18:48:57 699f458cf7ca: Download complete 18:48:58 8998bd30e6a1: Verifying Checksum 18:48:58 8998bd30e6a1: Download complete 18:48:59 2437ff75d9bd: Verifying Checksum 18:48:59 2437ff75d9bd: Download complete 18:49:01 8998bd30e6a1: Pull complete 18:49:01 04944245beec: Pull complete 18:49:02 699f458cf7ca: Pull complete 18:49:03 765212b225bb: Pull complete 18:49:03 f23df028b6ca: Pull complete 18:49:04 d65c8cfc05b1: Pull complete 18:49:19 2437ff75d9bd: Pull complete 18:49:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:49:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:19 prd-ubuntu20.04-docker-arm64-4c-16g-5923 does not seem to be running inside a container 18:49:19 $ 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 18:49:21 $ docker top bd78e90968a1ca2729d3e90d74957b7cfd424faea1cd739c20c49da277de4e86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:22 ---> job-cost.sh 18:49:22 lf-activate-venv: SKIPPING 18:49:22 INFO: No Stack... 18:49:23 INFO: Retrieving Pricing Info for: v3-standard-4 18:49:24 INFO: Archiving Costs [Pipeline] sh 18:49:24 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 18:49:24 + cut -d, -f6 [Pipeline] lock 18:49:24 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-3-stack-cost] 18:49:24 Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-3-stack-cost] did not exist. Created. 18:49:24 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:49:24 /w/workspace/device-virtual-go/3@tmp/durable-961987c1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:49:25 + echo total: 0.10999999940395355 [Pipeline] stash 18:49:25 Warning: overwriting stash ‘stack-cost’ 18:49:25 Stashed 1 file(s) [Pipeline] } 18:49:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-3-stack-cost] [Pipeline] // lock [Pipeline] } 18:49:25 $ docker stop --time=1 bd78e90968a1ca2729d3e90d74957b7cfd424faea1cd739c20c49da277de4e86 18:49:26 $ docker rm -f --volumes bd78e90968a1ca2729d3e90d74957b7cfd424faea1cd739c20c49da277de4e86 [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 18:49:26 provisioning config files... 18:49:26 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config3934880803937565753tmp [Pipeline] { [Pipeline] sh 18:49:27 + set +x 18:49:27 + bash -s -- 18:49:27 + curl -s https://codecov.io/bash 18:49:27 18:49:27 _____ _ 18:49:27 / ____| | | 18:49:27 | | ___ __| | ___ ___ _____ __ 18:49:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:49:27 | |___| (_) | (_| | __/ (_| (_) \ V / 18:49:27 \_____\___/ \__,_|\___|\___\___/ \_/ 18:49:27 Bash-1.0.6 18:49:27 18:49:27 18:49:27 ==> git version 2.25.1 found 18:49:27 ==> 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 18:49:27 Release-Date: 2020-01-08 18:49:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:49:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:49:27 ==> Jenkins CI detected. 18:49:27 current dir:  /w/workspace/foundry_device-virtual-go_PR-368 18:49:27 project root: . 18:49:27 --> token set from env 18:49:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:49:27 ==> Running gcov in . (disable via -X gcov) 18:49:27 ==> Python coveragepy not found 18:49:27 ==> Searching for coverage reports in: 18:49:27 + . 18:49:27 -> Found 1 reports 18:49:27 ==> Detecting git/mercurial file structure 18:49:27 ==> Reading reports 18:49:27 + ./coverage.out bytes=44311 18:49:27 ==> Appending adjustments 18:49:27 https://docs.codecov.io/docs/fixing-reports 18:49:27 + Found adjustments 18:49:27 ==> Gzipping contents 18:49:27 8.0K /tmp/codecov.EXPmpx.gz 18:49:27 ==> Uploading reports 18:49:27 url: https://codecov.io 18:49:27 query: branch=PR-368&commit=f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= 18:49:27 -> Pinging Codecov 18:49:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-368&commit=f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= 18:49:27 -> Uploading to 18:49:27 https://storage.googleapis.com/codecov/v4/raw/2023-03-27/5E52B4B073DB2E39498172D8E973AA87/f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b/98c7aecb-c8a1-4070-9686-02fc8cf3244b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230327%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230327T184927Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad7004a1a6cd5dbe88c8ea02e44e66e4b3f76dc1268a6321ca4e91581d14a266 18:49:27 % Total % Received % Xferd Average Speed Time Time Time Current 18:49:27 Dload Upload Total Spent Left Speed 18:49:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5413 0 0 100 5413 0 21144 --:--:-- --:--:-- --:--:-- 21062 18:49:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/f8fcfb8d71385e9b68a2b49c4ea80080b130ee6b [Pipeline] } 18:49:28 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 18:49:28 + [ -d /w/workspace/foundry_device-virtual-go_PR-368/archives ] 18:49:28 + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives 18:49:28 total 16 18:49:28 drwxr-xr-x 3 root root 4096 Mar 27 18:41 . 18:49:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 27 18:41 .. 18:49:28 drwxr-xr-x 2 root root 4096 Mar 27 18:41 cost 18:49:28 -rw-r--r-- 1 root root 89 Mar 27 18:41 cost.csv 18:49:28 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-368/archives 18:49:28 + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives 18:49:28 total 16 18:49:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 18:41 . 18:49:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 27 18:41 .. 18:49:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 27 18:41 cost 18:49:28 -rw-r--r-- 1 jenkins jenkins 89 Mar 27 18:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:49:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:49:29 ---> package-listing.sh 18:49:29 ++ facter osfamily 18:49:29 ++ tr '[:upper:]' '[:lower:]' 18:49:30 + OS_FAMILY=debian 18:49:30 + workspace=/w/workspace/foundry_device-virtual-go_PR-368 18:49:30 + START_PACKAGES=/tmp/packages_start.txt 18:49:30 + END_PACKAGES=/tmp/packages_end.txt 18:49:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:49:30 + PACKAGES=/tmp/packages_start.txt 18:49:30 + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' 18:49:30 + PACKAGES=/tmp/packages_end.txt 18:49:30 + case "${OS_FAMILY}" in 18:49:30 + dpkg -l 18:49:30 + grep '^ii' 18:49:30 + '[' -f /tmp/packages_start.txt ']' 18:49:30 + '[' -f /tmp/packages_end.txt ']' 18:49:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:49:30 + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' 18:49:30 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-368/archives/ 18:49:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-368/archives/ [Pipeline] echo 18:49:30 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:49:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:49:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:31 prd-ubuntu20.04-docker-8c-8g-5922 does not seem to be running inside a container 18:49:31 $ 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-368/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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 18:49:31 $ docker top 02609713912f11364c09f6264f7c9409037f89bf4fdfc6c4664c06c6f457e3ef -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:31 + touch /tmp/pre-build-complete [Pipeline] sh 18:49:31 + mkdir -p /var/log/sysstat [Pipeline] sh 18:49:32 + ls /var/log/sa-host 18:49:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:32 provisioning config files... 18:49:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config12581414008907783538tmp [Pipeline] { [Pipeline] echo 18:49:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:49:32 ---> create-netrc.sh [Pipeline] } 18:49:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:49:32 ---> python-tools-install.sh [Pipeline] echo 18:49:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:49:33 ---> sudo-logs.sh 18:49:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:49:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:49:33 ---> job-cost.sh 18:49:33 lf-activate-venv: SKIPPING 18:49:33 DEBUG: total: 0.2199999988079071 18:49:33 INFO: Retrieving Stack Cost... 18:49:34 INFO: Retrieving Pricing Info for: v3-standard-8 18:49:34 INFO: Archiving Costs [Pipeline] echo 18:49:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:49:34 ---> logs-deploy.sh 18:49:34 lf-activate-venv: SKIPPING 18:49:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-368/3 18:49:34 INFO: archiving workspace using pattern(s): 18:49:35 Archives upload complete. 18:49:35 INFO: archiving logs to Nexus