Pull request #374 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at b76ffb3f756266f027a45c1155223ddd586b2bad rather than d35a6d71fe87111dd6dc7ce2834c0e8400498827 Obtained Jenkinsfile from b76ffb3f756266f027a45c1155223ddd586b2bad 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-ssh15840620600460479781.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-ssh9727909995507539859.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-374/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-374/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17704621683423231667.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-ssh13361658790822725728.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-374/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-374/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16832013340841943875.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6522 in /w/workspace/foundry_device-virtual-go_PR-374 [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-374 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit d35a6d71fe87111dd6dc7ce2834c0e8400498827 Merge succeeded, producing d35a6d71fe87111dd6dc7ce2834c0e8400498827 Checking out Revision d35a6d71fe87111dd6dc7ce2834c0e8400498827 (PR-374) > git config core.sparsecheckout # timeout=10 > git checkout -f d35a6d71fe87111dd6dc7ce2834c0e8400498827 # 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 b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d35a6d71fe87111dd6dc7ce2834c0e8400498827 # timeout=10 Commit message: "feat: Refactor random value generation function" First time build. Skipping changelog. > git rev-list --no-walk 345e6c0b679594b631ff321ae3f80b2f877a2670 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:47:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:47:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:47:13 ========================================================= 01:47:13 EdgeX Global Pipelines Version Info 01:47:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:47:14 ------------------- 01:47:14 stable info: 01:47:14 ------------------- 01:47:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:47:14 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 01:47:14 Message: update stable to v1.0.245 01:47:14 ------------------- 01:47:14 experimental info: 01:47:14 ------------------- 01:47:14 Commited By: **** collab-it+edgex@linuxfoundation.org 01:47:14 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 01:47:14 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-374 [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-374 [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-374 [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d35a6d7 [Pipeline] echo 01:47:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:15 provisioning config files... 01:47:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config9071491146697490853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:15 ---> docker-login.sh 01:47:15 nexus3.edgexfoundry.org:10001 01:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:15 Configure a credential helper to remove this warning. See 01:47:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:15 01:47:15 Login Succeeded 01:47:15 nexus3.edgexfoundry.org:10002 01:47:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:16 Configure a credential helper to remove this warning. See 01:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:16 01:47:16 Login Succeeded 01:47:16 nexus3.edgexfoundry.org:10003 01:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:16 Configure a credential helper to remove this warning. See 01:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:16 01:47:16 Login Succeeded 01:47:16 nexus3.edgexfoundry.org:10004 01:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:16 Configure a credential helper to remove this warning. See 01:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:16 01:47:16 Login Succeeded 01:47:16 docker.io 01:47:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:16 Configure a credential helper to remove this warning. See 01:47:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:16 01:47:16 Login Succeeded 01:47:16 ---> docker-login.sh ends [Pipeline] } 01:47:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:47:17 + git rev-list -1 --merges d35a6d71fe87111dd6dc7ce2834c0e8400498827~1..d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] echo 01:47:17 -----------> git rev-list -1 --merges d35a6d71fe87111dd6dc7ce2834c0e8400498827~1..d35a6d71fe87111dd6dc7ce2834c0e8400498827 d35a6d71fe87111dd6dc7ce2834c0e8400498827 [false] [Pipeline] sh 01:47:17 + git log --format=format:%s -1 d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] echo 01:47:17 ========================================================= 01:47:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:47:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:17 + git log --format=format:%s -1 d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] echo 01:47:17 [semverPrep] GIT_COMMIT: d35a6d71fe87111dd6dc7ce2834c0e8400498827, Commit Message: feat: Refactor random value generation function [Pipeline] echo 01:47:17 [semverPrep] This is not a build commit. [Pipeline] sh 01:47:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:18 + grep -v github /etc/ssh/ssh_known_hosts 01:47:18 + [ -e /tmp/ssh_known_hosts ] 01:47:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:47:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:47:18 + sudo tee -a /etc/ssh/ssh_known_hosts 01:47:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:18 01:47:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:19 0.1.4: Pulling from edgex-devops/py-git-semver 01:47:19 b85a868b505f: Pulling fs layer 01:47:19 e2be974225ed: Pulling fs layer 01:47:19 339a4e72a1f5: Pulling fs layer 01:47:19 988bab9f4d93: Pulling fs layer 01:47:19 1469e6f7b9e6: Pulling fs layer 01:47:19 eaf3925da568: Pulling fs layer 01:47:19 bab4dde63d76: Pulling fs layer 01:47:19 bde34c3a00c8: Pulling fs layer 01:47:19 b352a97aabf1: Pulling fs layer 01:47:19 4872d77fe225: Pulling fs layer 01:47:19 5851b861e8e6: Pulling fs layer 01:47:19 1469e6f7b9e6: Waiting 01:47:19 eaf3925da568: Waiting 01:47:19 bab4dde63d76: Waiting 01:47:19 4872d77fe225: Waiting 01:47:19 5851b861e8e6: Waiting 01:47:19 bde34c3a00c8: Waiting 01:47:19 988bab9f4d93: Waiting 01:47:19 b352a97aabf1: Waiting 01:47:19 e2be974225ed: Download complete 01:47:19 988bab9f4d93: Download complete 01:47:19 339a4e72a1f5: Verifying Checksum 01:47:19 339a4e72a1f5: Download complete 01:47:19 1469e6f7b9e6: Verifying Checksum 01:47:19 1469e6f7b9e6: Download complete 01:47:19 eaf3925da568: Verifying Checksum 01:47:19 eaf3925da568: Download complete 01:47:19 bde34c3a00c8: Download complete 01:47:19 b352a97aabf1: Verifying Checksum 01:47:19 b352a97aabf1: Download complete 01:47:19 4872d77fe225: Download complete 01:47:19 5851b861e8e6: Download complete 01:47:19 b85a868b505f: Verifying Checksum 01:47:19 b85a868b505f: Download complete 01:47:19 bab4dde63d76: Verifying Checksum 01:47:19 bab4dde63d76: Download complete 01:47:20 b85a868b505f: Pull complete 01:47:20 e2be974225ed: Pull complete 01:47:21 339a4e72a1f5: Pull complete 01:47:21 988bab9f4d93: Pull complete 01:47:21 1469e6f7b9e6: Pull complete 01:47:21 eaf3925da568: Pull complete 01:47:23 bab4dde63d76: Pull complete 01:47:24 bde34c3a00c8: Pull complete 01:47:24 b352a97aabf1: Pull complete 01:47:24 4872d77fe225: Pull complete 01:47:24 5851b861e8e6: Pull complete 01:47:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:47:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:24 prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container 01:47:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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 01:47:28 $ docker top 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 -eo pid,comm 01:47:28 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). 01:47:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:28 [ssh-agent] Looking for ssh-agent implementation... 01:47:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:28 $ docker exec 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 ssh-agent 01:47:29 SSH_AUTH_SOCK=/tmp/ssh-llYT7NhzsSjD/agent.33 01:47:29 SSH_AGENT_PID=40 01:47:29 Running ssh-add (command line suppressed) 01:47:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_8369266290361955524.key (/w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_8369266290361955524.key) 01:47:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:29 + git tag --points-at HEAD [Pipeline] } 01:47:29 $ docker exec --env ******** --env ******** 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 ssh-agent -k 01:47:29 unset SSH_AUTH_SOCK; 01:47:29 unset SSH_AGENT_PID; 01:47:29 echo Agent pid 40 killed; 01:47:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:47:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:29 [ssh-agent] Looking for ssh-agent implementation... 01:47:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:29 $ docker exec 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 ssh-agent 01:47:29 SSH_AUTH_SOCK=/tmp/ssh-SnY4S94yuDT3/agent.72 01:47:29 SSH_AGENT_PID=78 01:47:29 Running ssh-add (command line suppressed) 01:47:29 Identity added: /w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_989346310061936737.key (/w/workspace/foundry_device-virtual-go_PR-374@tmp/private_key_989346310061936737.key) 01:47:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:30 + git semver init 01:47:30 2023-03-31 01:47:30,443 [run_init] DEBUG init version:0.0.0 force:False 01:47:30 2023-03-31 01:47:30,444 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-374/.semver 01:47:30 2023-03-31 01:47:30,444 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-374/.semver 01:47:30 2023-03-31 01:47:30,444 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-374/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-374, universal_newlines=False, shell=None, istream=None) 01:47:31 2023-03-31 01:47:31,702 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-374/.git/info/exclude 01:47:31 2023-03-31 01:47:31,703 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 with force:False 01:47:31 2023-03-31 01:47:31,703 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 01:47:31 2023-03-31 01:47:31,707 [execute] INFO git cat-file --batch-check 01:47:31 2023-03-31 01:47:31,708 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) 01:47:31 2023-03-31 01:47:31,714 [execute] INFO git cat-file --batch 01:47:31 2023-03-31 01:47:31,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-374/.semver, universal_newlines=False, shell=None, istream=) 01:47:31 2023-03-31 01:47:31,720 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-374/.semver/PR-374 01:47:31 0.0.0 [Pipeline] } 01:47:31 $ docker exec --env ******** --env ******** 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 ssh-agent -k 01:47:32 unset SSH_AUTH_SOCK; 01:47:32 unset SSH_AGENT_PID; 01:47:32 echo Agent pid 78 killed; 01:47:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:32 + git semver [Pipeline] } 01:47:32 $ docker stop --time=1 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 01:47:33 $ docker rm -f --volumes 0b707a1ec6475e44157f2c2e95f014c220ba8bd396f405067d62dbb4c6ccac49 [Pipeline] // withDockerContainer [Pipeline] sh 01:47:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:47:34 Stashed 1 file(s) [Pipeline] echo 01:47:34 [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 01:47:34 provisioning config files... 01:47:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config13099474686543511499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:34 ---> docker-login.sh 01:47:34 nexus3.edgexfoundry.org:10001 01:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:34 Configure a credential helper to remove this warning. See 01:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:34 01:47:34 Login Succeeded 01:47:34 nexus3.edgexfoundry.org:10002 01:47:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:34 Configure a credential helper to remove this warning. See 01:47:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:34 01:47:34 Login Succeeded 01:47:34 nexus3.edgexfoundry.org:10003 01:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:35 Configure a credential helper to remove this warning. See 01:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:35 01:47:35 Login Succeeded 01:47:35 nexus3.edgexfoundry.org:10004 01:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:35 Configure a credential helper to remove this warning. See 01:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:35 01:47:35 Login Succeeded 01:47:35 docker.io 01:47:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:47:35 Configure a credential helper to remove this warning. See 01:47:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:47:35 01:47:35 Login Succeeded 01:47:35 ---> docker-login.sh ends [Pipeline] } 01:47:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:47:35 ========================================================= 01:47:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:47:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:36 + 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 . 01:47:36 Sending build context to Docker daemon 23.57MB 01:47:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:47:36 Step 2/12 : FROM ${BASE} AS builder 01:47:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:47:36 63b65145d645: Pulling fs layer 01:47:36 a2d21d5440eb: Pulling fs layer 01:47:36 935e6c44a52c: Pulling fs layer 01:47:36 94cc34f8dd06: Pulling fs layer 01:47:36 30dea6a524f1: Pulling fs layer 01:47:36 a2aff8979fd8: Pulling fs layer 01:47:36 94cc34f8dd06: Waiting 01:47:36 30dea6a524f1: Waiting 01:47:36 6808be2612f2: Pulling fs layer 01:47:36 f25807f1079a: Pulling fs layer 01:47:36 a2aff8979fd8: Waiting 01:47:36 6808be2612f2: Waiting 01:47:36 a2d21d5440eb: Verifying Checksum 01:47:36 a2d21d5440eb: Download complete 01:47:36 94cc34f8dd06: Download complete 01:47:36 30dea6a524f1: Verifying Checksum 01:47:36 30dea6a524f1: Download complete 01:47:36 63b65145d645: Verifying Checksum 01:47:36 63b65145d645: Download complete 01:47:36 a2aff8979fd8: Verifying Checksum 01:47:36 a2aff8979fd8: Download complete 01:47:36 63b65145d645: Pull complete 01:47:36 a2d21d5440eb: Pull complete 01:47:36 f25807f1079a: Verifying Checksum 01:47:36 f25807f1079a: Download complete 01:47:37 935e6c44a52c: Verifying Checksum 01:47:37 935e6c44a52c: Download complete 01:47:37 6808be2612f2: Download complete 01:47:41 935e6c44a52c: Pull complete 01:47:41 94cc34f8dd06: Pull complete 01:47:41 30dea6a524f1: Pull complete 01:47:41 a2aff8979fd8: Pull complete 01:47:43 6808be2612f2: Pull complete 01:47:44 f25807f1079a: Pull complete 01:47:44 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 01:47:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:47:44 ---> 3b553350e43f 01:47:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:47:49 Still waiting to schedule task 01:47:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6519’ is offline 01:47:52 ---> Running in 06196343b2f9 01:47:52 Removing intermediate container 06196343b2f9 01:47:52 ---> 34e980189cb5 01:47:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:47:52 ---> Running in 0f8dee1a31f8 01:47:52 Removing intermediate container 0f8dee1a31f8 01:47:52 ---> b53dd52e610e 01:47:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:47:52 ---> Running in 1f9238a159f3 01:47:52 Removing intermediate container 1f9238a159f3 01:47:52 ---> 770fcc95b91d 01:47:52 Step 6/12 : WORKDIR /device-virtual-go 01:47:52 ---> Running in 3bce3be27289 01:47:52 Removing intermediate container 3bce3be27289 01:47:52 ---> 19d54a7a440c 01:47:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:47:52 ---> Running in 951153e35b39 01:47:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:47:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:47:53 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:47:53 (2/4) Installing libedit (20221030.3.1-r0) 01:47:53 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:47:53 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:47:53 Executing busybox-1.35.0-r29.trigger 01:47:53 OK: 269 MiB in 57 packages 01:47:53 Removing intermediate container 951153e35b39 01:47:53 ---> a76577d49a43 01:47:53 Step 8/12 : COPY go.mod vendor* ./ 01:47:53 ---> 954ae96cc2e8 01:47:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:54 ---> Running in 07e6130011cd 01:48:33 Removing intermediate container 07e6130011cd 01:48:33 ---> 2ff280e86656 01:48:33 Step 10/12 : COPY . . 01:48:33 ---> e7181c6d4661 01:48:33 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:48:33 ---> Running in 84e03fdb4760 01:48:33 Removing intermediate container 84e03fdb4760 01:48:33 ---> c9088dd0bb7b 01:48:33 Step 12/12 : RUN $MAKE 01:48:33 ---> Running in d96cf6bd2627 01:48:33 noop 01:48:33 Removing intermediate container d96cf6bd2627 01:48:33 ---> 673d5eadce61 01:48:33 Successfully built 673d5eadce61 01:48:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:33 + docker inspect -f . ci-base-image-x86_64 01:48:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:33 prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container 01:48:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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 01:48:33 $ docker top 1ae971779576327f1e968499b891f7b9b78125a75d2d64fb2ae39ca4da0093ea -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:34 + go version 01:48:34 go version go1.20.2 linux/amd64 [Pipeline] } 01:48:34 $ docker stop --time=1 1ae971779576327f1e968499b891f7b9b78125a75d2d64fb2ae39ca4da0093ea 01:48:35 $ docker rm -f --volumes 1ae971779576327f1e968499b891f7b9b78125a75d2d64fb2ae39ca4da0093ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:35 + docker inspect -f . ci-base-image-x86_64 01:48:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:35 prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container 01:48:35 $ 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-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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 01:48:36 $ docker top 67d27a86e368444fc09641eba904e35276cf644cdb702f6017400887e8465554 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:36 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-374 [Pipeline] fileExists [Pipeline] sh 01:48:36 + make test 01:48:36 go test ./... -coverprofile=coverage.out 01:48:42 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:48:50 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:48:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.035s coverage: 61.6% of statements 01:48:56 go vet ./... 01:48:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:48:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:48:59 ./bin/test-attribution-txt.sh [Pipeline] echo 01:48:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:48:59 $ docker stop --time=1 67d27a86e368444fc09641eba904e35276cf644cdb702f6017400887e8465554 01:49:03 $ docker rm -f --volumes 67d27a86e368444fc09641eba904e35276cf644cdb702f6017400887e8465554 [Pipeline] // withDockerContainer [Pipeline] sh 01:49:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:49:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:05 + ls -al . 01:49:05 total 192 01:49:05 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 01:48 . 01:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 01:47 .. 01:49:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 01:47 .git 01:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:47 .github 01:49:05 -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 01:47 .gitignore 01:49:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 01:47 .golangci.yml 01:49:05 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 01:47 .semver 01:49:05 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 01:47 Attribution.txt 01:49:05 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 01:47 CHANGELOG.md 01:49:05 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 01:47 Dockerfile 01:49:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 01:47 GOVERNANCE.md 01:49:05 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 01:47 Jenkinsfile 01:49:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 01:47 LICENSE 01:49:05 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 01:47 Makefile 01:49:05 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 01:47 OWNERS.md 01:49:05 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 01:47 README.md 01:49:05 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 01:47 VERSION 01:49:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 01:47 bin 01:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:47 cmd 01:49:05 -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 01:48 coverage.out 01:49:05 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 01:47 go.mod 01:49:05 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 01:47 go.sum 01:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:47 internal 01:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 01:47 snap 01:49:05 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:05 + 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=d35a6d71fe87111dd6dc7ce2834c0e8400498827 --label arch=amd64 --label version=0.0.0 . 01:49:05 Sending build context to Docker daemon 23.61MB 01:49:05 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:49:05 Step 2/25 : FROM ${BASE} AS builder 01:49:05 ---> 673d5eadce61 01:49:05 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:49:06 ---> Running in a9c5c5bec5aa 01:49:06 Removing intermediate container a9c5c5bec5aa 01:49:06 ---> 0507a1595390 01:49:06 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:49:06 ---> Running in c074c0bf4559 01:49:06 Removing intermediate container c074c0bf4559 01:49:06 ---> f2a844599387 01:49:06 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:49:06 ---> Running in 17614a47292f 01:49:06 Removing intermediate container 17614a47292f 01:49:06 ---> 5c234b522bfd 01:49:06 Step 6/25 : WORKDIR /device-virtual-go 01:49:06 ---> Running in 430b901e9308 01:49:06 Removing intermediate container 430b901e9308 01:49:06 ---> df9365a87751 01:49:06 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:06 ---> Running in d29330a8c1e7 01:49:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:49:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:49:07 OK: 269 MiB in 57 packages 01:49:07 Removing intermediate container d29330a8c1e7 01:49:07 ---> d44585410938 01:49:07 Step 8/25 : COPY go.mod vendor* ./ 01:49:07 ---> ebd1e1707630 01:49:07 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:07 ---> Running in ad2a643f6fab 01:49:08 Removing intermediate container ad2a643f6fab 01:49:08 ---> 1594868bd340 01:49:08 Step 10/25 : COPY . . 01:49:09 ---> df890f71ac6f 01:49:09 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:09 ---> Running in c362e1562f33 01:49:09 Removing intermediate container c362e1562f33 01:49:09 ---> e71d284ae164 01:49:09 Step 12/25 : RUN $MAKE 01:49:09 ---> Running in d9e62be1e103 01:49:09 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 01:49:31 Removing intermediate container d9e62be1e103 01:49:31 ---> 9f701dd7e464 01:49:31 Step 13/25 : FROM alpine:3.17 01:49:31 3.17: Pulling from library/alpine 01:49:31 f56be85fc22e: Pulling fs layer 01:49:31 f56be85fc22e: Verifying Checksum 01:49:31 f56be85fc22e: Download complete 01:49:31 f56be85fc22e: Pull complete 01:49:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:49:31 Status: Downloaded newer image for alpine:3.17 01:49:31 ---> 9ed4aefc74f6 01:49:31 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:49:31 ---> Running in 7c6ba416eaa2 01:49:31 Removing intermediate container 7c6ba416eaa2 01:49:31 ---> c697683d64f0 01:49:31 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:49:31 ---> Running in f386037b9ed8 01:49:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:49:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:49:31 (1/1) Installing dumb-init (1.2.5-r2) 01:49:31 Executing busybox-1.35.0-r29.trigger 01:49:31 OK: 7 MiB in 16 packages 01:49:31 Removing intermediate container f386037b9ed8 01:49:31 ---> 629a84407f38 01:49:31 Step 16/25 : WORKDIR / 01:49:31 ---> Running in c7c257a043a5 01:49:31 Removing intermediate container c7c257a043a5 01:49:31 ---> c2c47ca02a41 01:49:31 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:49:31 ---> 1ba9a23622b6 01:49:31 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 01:49:31 ---> 5f6d2e191644 01:49:31 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 01:49:31 ---> e3e5941b19b2 01:49:31 Step 20/25 : EXPOSE 59900 01:49:31 ---> Running in ea5b9dcd41ae 01:49:31 Removing intermediate container ea5b9dcd41ae 01:49:31 ---> 95369b879027 01:49:31 Step 21/25 : ENTRYPOINT ["/device-virtual"] 01:49:31 ---> Running in 895595162f84 01:49:31 Removing intermediate container 895595162f84 01:49:31 ---> 02c2d551b7e7 01:49:31 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:49:31 ---> Running in 1f6c40cd593e 01:49:31 Removing intermediate container 1f6c40cd593e 01:49:31 ---> d3cf3c42a04a 01:49:31 Step 23/25 : LABEL arch=amd64 01:49:31 ---> Running in be05ecc42c01 01:49:31 Removing intermediate container be05ecc42c01 01:49:31 ---> 4e097c875324 01:49:31 Step 24/25 : LABEL git_sha=d35a6d71fe87111dd6dc7ce2834c0e8400498827 01:49:31 ---> Running in 47fc848f70f2 01:49:31 Removing intermediate container 47fc848f70f2 01:49:31 ---> d295dff7b5d2 01:49:31 Step 25/25 : LABEL version=0.0.0 01:49:31 ---> Running in 86439bcffa2c 01:49:31 Removing intermediate container 86439bcffa2c 01:49:31 ---> d477c175a16c 01:49:31 [Warning] One or more build-args [ARCH] were not consumed 01:49:31 Successfully built d477c175a16c 01:49:31 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 01:49:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:32 01:49:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:32 latest: Pulling from edgex-lftools-log-publisher 01:49:32 5eb5b503b376: Pulling fs layer 01:49:32 5c69ac0246d0: Pulling fs layer 01:49:32 ec43610c2a17: Pulling fs layer 01:49:32 3a2ae6a8a46f: Pulling fs layer 01:49:32 33b1e0a273af: Pulling fs layer 01:49:32 5d3b04190fa2: Pulling fs layer 01:49:32 2f39f015ded8: Pulling fs layer 01:49:32 3a2ae6a8a46f: Waiting 01:49:32 33b1e0a273af: Waiting 01:49:32 5d3b04190fa2: Waiting 01:49:32 5c69ac0246d0: Verifying Checksum 01:49:32 5c69ac0246d0: Download complete 01:49:32 3a2ae6a8a46f: Verifying Checksum 01:49:32 3a2ae6a8a46f: Download complete 01:49:32 33b1e0a273af: Verifying Checksum 01:49:32 33b1e0a273af: Download complete 01:49:32 5d3b04190fa2: Verifying Checksum 01:49:32 5d3b04190fa2: Download complete 01:49:32 ec43610c2a17: Verifying Checksum 01:49:32 ec43610c2a17: Download complete 01:49:32 5eb5b503b376: Verifying Checksum 01:49:32 5eb5b503b376: Download complete 01:49:33 2f39f015ded8: Download complete 01:49:33 5eb5b503b376: Pull complete 01:49:33 5c69ac0246d0: Pull complete 01:49:34 ec43610c2a17: Pull complete 01:49:34 3a2ae6a8a46f: Pull complete 01:49:34 33b1e0a273af: Pull complete 01:49:34 5d3b04190fa2: Pull complete 01:49:38 2f39f015ded8: Pull complete 01:49:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:49:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:39 prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container 01:49:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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 01:49:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6523 in /w/workspace/foundry_device-virtual-go_PR-374 01:49:43 $ docker top 6724764ef31f8971b1cc3d21ca82a46248ddb93258b3bf7deb5ed38e1937d1c7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 01:49:43 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 01:49:43 The recommended git tool is: git 01:49:43 ---> job-cost.sh 01:49:43 lf-activate-venv: SKIPPING 01:49:43 INFO: No Stack... 01:49:44 INFO: Retrieving Pricing Info for: v3-standard-8 01:49:44 INFO: Archiving Costs [Pipeline] sh 01:49:45 + + cat /w/workspace/foundry_device-virtual-go_PR-374/archives/cost.csv 01:49:45 cut -d, -f6 [Pipeline] lock 01:49:45 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] 01:49:45 Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] did not exist. Created. 01:49:45 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:49:45 + echo total: 0.2199999988079071 [Pipeline] stash 01:49:45 Stashed 1 file(s) [Pipeline] } 01:49:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [Pipeline] // lock [Pipeline] } 01:49:45 $ docker stop --time=1 6724764ef31f8971b1cc3d21ca82a46248ddb93258b3bf7deb5ed38e1937d1c7 01:49:46 $ docker rm -f --volumes 6724764ef31f8971b1cc3d21ca82a46248ddb93258b3bf7deb5ed38e1937d1c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:49:48 using credential edgex-jenkins-ssh 01:49:48 Cloning the remote Git repository 01:49:49 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 01:49:49 > git init /w/workspace/device-virtual-go/5 # timeout=10 01:49:49 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:49:49 > git --version # timeout=10 01:49:49 > git --version # 'git version 2.25.1' 01:49:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:49:51 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:49:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:49:53 Merging remotes/origin/main commit b76ffb3f756266f027a45c1155223ddd586b2bad into PR head commit d35a6d71fe87111dd6dc7ce2834c0e8400498827 01:49:53 Merge succeeded, producing d35a6d71fe87111dd6dc7ce2834c0e8400498827 01:49:53 Checking out Revision d35a6d71fe87111dd6dc7ce2834c0e8400498827 (PR-374) 01:49:52 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 01:49:52 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 01:49:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/374/head:refs/remotes/origin/PR-374 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:49:53 > git config core.sparsecheckout # timeout=10 01:49:53 > git checkout -f d35a6d71fe87111dd6dc7ce2834c0e8400498827 # timeout=10 01:49:53 > git remote # timeout=10 01:49:53 > git config --get remote.origin.url # timeout=10 01:49:53 using GIT_SSH to set credentials SSH Credentials for GitHub 01:49:53 > git merge b76ffb3f756266f027a45c1155223ddd586b2bad # timeout=10 01:49:53 > git rev-parse HEAD^{commit} # timeout=10 01:49:53 > git config core.sparsecheckout # timeout=10 01:49:53 > git checkout -f d35a6d71fe87111dd6dc7ce2834c0e8400498827 # timeout=10 01:49:56 Commit message: "feat: Refactor random value generation function" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:49:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:49:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:49:57 Dload Upload Total Spent Left Speed 01:49:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 01:49:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:49:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:49:58 + sudo tee /etc/docker/daemon.new 01:49:58 { 01:49:58 "registry-mirrors": [ 01:49:58 "https://nexus3.edgexfoundry.org:10001" 01:49:58 ], 01:49:58 "bip": "10.250.0.254/24", 01:49:58 "hosts": [ 01:49:58 "tcp://0.0.0.0:5555", 01:49:58 "unix:///var/run/docker.sock" 01:49:58 ], 01:49:58 "mtu": 1458, 01:49:58 "selinux-enabled": true, 01:49:58 "seccomp-profile": "/etc/docker/seccomp.json" 01:49:58 } [Pipeline] sh 01:49:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:49:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:17 provisioning config files... 01:50:17 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config3063173901116508267tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:18 ---> docker-login.sh 01:50:18 nexus3.edgexfoundry.org:10001 01:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:18 Configure a credential helper to remove this warning. See 01:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:18 01:50:18 Login Succeeded 01:50:18 nexus3.edgexfoundry.org:10002 01:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:18 Configure a credential helper to remove this warning. See 01:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:18 01:50:18 Login Succeeded 01:50:18 nexus3.edgexfoundry.org:10003 01:50:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:19 Configure a credential helper to remove this warning. See 01:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:19 01:50:19 Login Succeeded 01:50:19 nexus3.edgexfoundry.org:10004 01:50:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:19 Configure a credential helper to remove this warning. See 01:50:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:19 01:50:19 Login Succeeded 01:50:19 docker.io 01:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:20 Configure a credential helper to remove this warning. See 01:50:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:20 01:50:20 Login Succeeded 01:50:20 ---> docker-login.sh ends [Pipeline] } 01:50:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:50:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:20 ========================================================= 01:50:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:50:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:20 + 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 . 01:50:21 Sending build context to Docker daemon 11.98MB 01:50:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:50:21 Step 2/12 : FROM ${BASE} AS builder 01:50:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:50:21 af6eaf76a39c: Pulling fs layer 01:50:21 55522c791124: Pulling fs layer 01:50:21 ce5c4a1c91eb: Pulling fs layer 01:50:21 169dfbe0d373: Pulling fs layer 01:50:21 e1ff8fa3b103: Pulling fs layer 01:50:21 52ebb69f0ebf: Pulling fs layer 01:50:21 5abe8eddf0d5: Pulling fs layer 01:50:21 169dfbe0d373: Waiting 01:50:21 e1ff8fa3b103: Waiting 01:50:21 52ebb69f0ebf: Waiting 01:50:21 5abe8eddf0d5: Waiting 01:50:21 55522c791124: Verifying Checksum 01:50:21 55522c791124: Download complete 01:50:21 169dfbe0d373: Verifying Checksum 01:50:21 169dfbe0d373: Download complete 01:50:21 e1ff8fa3b103: Verifying Checksum 01:50:21 e1ff8fa3b103: Download complete 01:50:21 af6eaf76a39c: Verifying Checksum 01:50:21 af6eaf76a39c: Download complete 01:50:22 af6eaf76a39c: Pull complete 01:50:22 5abe8eddf0d5: Verifying Checksum 01:50:22 5abe8eddf0d5: Download complete 01:50:23 55522c791124: Pull complete 01:50:24 ce5c4a1c91eb: Download complete 01:50:24 52ebb69f0ebf: Verifying Checksum 01:50:24 52ebb69f0ebf: Download complete 01:50:36 ce5c4a1c91eb: Pull complete 01:50:36 169dfbe0d373: Pull complete 01:50:36 e1ff8fa3b103: Pull complete 01:50:43 52ebb69f0ebf: Pull complete 01:50:45 5abe8eddf0d5: Pull complete 01:50:45 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 01:50:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:50:45 ---> 6cb57ee374ae 01:50:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:50:47 ---> Running in ee5f386cab45 01:50:47 Removing intermediate container ee5f386cab45 01:50:47 ---> ab789ac14836 01:50:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:50:47 ---> Running in c4f36a133e3e 01:50:47 Removing intermediate container c4f36a133e3e 01:50:47 ---> ea75445006d6 01:50:47 Step 5/12 : ARG ADD_BUILD_TAGS="" 01:50:48 ---> Running in 72ad28d7cb47 01:50:48 Removing intermediate container 72ad28d7cb47 01:50:48 ---> 78df9cff3b21 01:50:48 Step 6/12 : WORKDIR /device-virtual-go 01:50:48 ---> Running in 0665c90ca700 01:50:48 Removing intermediate container 0665c90ca700 01:50:48 ---> d7360cc211af 01:50:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:50:48 ---> Running in 41d5d2b2ad3c 01:50:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:50:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:50:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:50:51 (2/4) Installing libedit (20221030.3.1-r0) 01:50:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:50:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:50:51 Executing busybox-1.35.0-r29.trigger 01:50:51 OK: 268 MiB in 57 packages 01:50:52 Removing intermediate container 41d5d2b2ad3c 01:50:52 ---> 918f85cfcb34 01:50:52 Step 8/12 : COPY go.mod vendor* ./ 01:50:53 ---> 23f418dc0096 01:50:53 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:50:53 ---> Running in a04b646aa580 01:52:01 Removing intermediate container a04b646aa580 01:52:01 ---> c8acf584f392 01:52:01 Step 10/12 : COPY . . 01:52:01 ---> eba589d8c20e 01:52:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:52:01 ---> Running in 82f851063801 01:52:01 Removing intermediate container 82f851063801 01:52:01 ---> 45d1b24274c0 01:52:01 Step 12/12 : RUN $MAKE 01:52:01 ---> Running in 7ac8d9b845f8 01:52:01 noop 01:52:01 Removing intermediate container 7ac8d9b845f8 01:52:01 ---> 99a59aa3b395 01:52:01 Successfully built 99a59aa3b395 01:52:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:01 + docker inspect -f . ci-base-image-arm64 01:52:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:01 prd-ubuntu20.04-docker-arm64-4c-16g-6523 does not seem to be running inside a container 01:52:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 01:52:03 $ docker top 6f7729000145716efe8878a51007ea7fa27aa67a190ee89ee2c12026bfcd4ad0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:03 + go version 01:52:03 go version go1.20.2 linux/arm64 [Pipeline] } 01:52:03 $ docker stop --time=1 6f7729000145716efe8878a51007ea7fa27aa67a190ee89ee2c12026bfcd4ad0 01:52:05 $ docker rm -f --volumes 6f7729000145716efe8878a51007ea7fa27aa67a190ee89ee2c12026bfcd4ad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:06 + docker inspect -f . ci-base-image-arm64 01:52:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:06 prd-ubuntu20.04-docker-arm64-4c-16g-6523 does not seem to be running inside a container 01:52:06 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 01:52:07 $ docker top 81f29fbd81b3790975e5c3dd902a81501a1f9efa6d8df25484c530ab57682416 -eo pid,comm [Pipeline] { [Pipeline] sh 01:52:08 + git config --global --add safe.directory /w/workspace/device-virtual-go/5 [Pipeline] fileExists [Pipeline] sh 01:52:08 + make test 01:52:08 go test ./... -coverprofile=coverage.out 01:52:41 ? github.com/edgexfoundry/device-virtual-go [no test files] 01:54:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 01:54:32 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.129s coverage: 61.4% of statements 01:54:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:54:32 go vet ./... 01:55:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:55:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:55:05 ./bin/test-attribution-txt.sh [Pipeline] echo 01:55:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:55:05 $ docker stop --time=1 81f29fbd81b3790975e5c3dd902a81501a1f9efa6d8df25484c530ab57682416 01:55:07 $ docker rm -f --volumes 81f29fbd81b3790975e5c3dd902a81501a1f9efa6d8df25484c530ab57682416 [Pipeline] // withDockerContainer [Pipeline] sh 01:55:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:55:08 Warning: overwriting stash ‘coverage-report’ 01:55:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:55:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:55:09 + ls -al . 01:55:09 total 188 01:55:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 01:52 . 01:55:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 01:49 .. 01:55:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 01:49 .git 01:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:49 .github 01:55:09 -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 01:49 .gitignore 01:55:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 01:49 .golangci.yml 01:55:09 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 01:49 Attribution.txt 01:55:09 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 01:49 CHANGELOG.md 01:55:09 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 01:49 Dockerfile 01:55:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 01:49 GOVERNANCE.md 01:55:09 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 01:49 Jenkinsfile 01:55:09 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 01:49 LICENSE 01:55:09 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 01:49 Makefile 01:55:09 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 01:49 OWNERS.md 01:55:09 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 01:49 README.md 01:55:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 01:47 VERSION 01:55:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 01:49 bin 01:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:49 cmd 01:55:09 -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 01:54 coverage.out 01:55:09 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 01:49 go.mod 01:55:09 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 01:49 go.sum 01:55:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 01:49 internal 01:55:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 01:49 snap 01:55:09 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 01:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:10 + 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=d35a6d71fe87111dd6dc7ce2834c0e8400498827 --label arch=arm64 --label version=0.0.0 . 01:55:10 Sending build context to Docker daemon 12.03MB 01:55:10 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:55:10 Step 2/25 : FROM ${BASE} AS builder 01:55:10 ---> 99a59aa3b395 01:55:10 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:55:10 ---> Running in 0db9dea7728d 01:55:11 Removing intermediate container 0db9dea7728d 01:55:11 ---> 0cf5619431d4 01:55:11 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 01:55:11 ---> Running in 3bfdc808fd35 01:55:11 Removing intermediate container 3bfdc808fd35 01:55:11 ---> cc659038914b 01:55:11 Step 5/25 : ARG ADD_BUILD_TAGS="" 01:55:11 ---> Running in 92b6b66338a4 01:55:12 Removing intermediate container 92b6b66338a4 01:55:12 ---> 11d8b5605ea2 01:55:12 Step 6/25 : WORKDIR /device-virtual-go 01:55:12 ---> Running in 587e3ccb30a9 01:55:12 Removing intermediate container 587e3ccb30a9 01:55:12 ---> 78798fe93a36 01:55:12 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:55:12 ---> Running in 7dfb37d6249e 01:55:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:55:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:55:15 OK: 268 MiB in 57 packages 01:55:17 Removing intermediate container 7dfb37d6249e 01:55:17 ---> d63956da67b1 01:55:17 Step 8/25 : COPY go.mod vendor* ./ 01:55:18 ---> a400b0e2b6fa 01:55:18 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:18 ---> Running in 78967fe15480 01:55:20 Removing intermediate container 78967fe15480 01:55:20 ---> f603dd7a567f 01:55:20 Step 10/25 : COPY . . 01:55:22 ---> 85bb2ae0877c 01:55:22 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:55:22 ---> Running in a2076efa38f9 01:55:22 Removing intermediate container a2076efa38f9 01:55:22 ---> d84aa5a1ae19 01:55:22 Step 12/25 : RUN $MAKE 01:55:22 ---> Running in 3121958151c0 01:55:23 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 01:57:30 Removing intermediate container 3121958151c0 01:57:30 ---> a1b31f34778a 01:57:30 Step 13/25 : FROM alpine:3.17 01:57:30 3.17: Pulling from library/alpine 01:57:30 c41833b44d91: Pulling fs layer 01:57:30 c41833b44d91: Verifying Checksum 01:57:30 c41833b44d91: Download complete 01:57:30 c41833b44d91: Pull complete 01:57:30 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:57:30 Status: Downloaded newer image for alpine:3.17 01:57:30 ---> 51e60588ff2c 01:57:30 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 01:57:30 ---> Running in 04e8cfac61f5 01:57:30 Removing intermediate container 04e8cfac61f5 01:57:30 ---> 255a974d268a 01:57:30 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:57:30 ---> Running in f917d34e415d 01:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:57:30 (1/1) Installing dumb-init (1.2.5-r2) 01:57:30 Executing busybox-1.35.0-r29.trigger 01:57:30 OK: 8 MiB in 16 packages 01:57:31 Removing intermediate container f917d34e415d 01:57:31 ---> de04ba24ac0d 01:57:31 Step 16/25 : WORKDIR / 01:57:31 ---> Running in bba8b120e7ee 01:57:32 Removing intermediate container bba8b120e7ee 01:57:32 ---> 1b1c19a748ad 01:57:32 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 01:57:32 ---> 5c7768aea857 01:57:32 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 01:57:33 ---> bb6ed4823788 01:57:33 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 01:57:34 ---> 02bff959092e 01:57:34 Step 20/25 : EXPOSE 59900 01:57:34 ---> Running in 21aa865df48b 01:57:34 Removing intermediate container 21aa865df48b 01:57:34 ---> 36e8665fd114 01:57:34 Step 21/25 : ENTRYPOINT ["/device-virtual"] 01:57:34 ---> Running in 2aea9abd8d7a 01:57:34 Removing intermediate container 2aea9abd8d7a 01:57:34 ---> e48c8e6754cd 01:57:34 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 01:57:35 ---> Running in 6db9b7272626 01:57:35 Removing intermediate container 6db9b7272626 01:57:35 ---> acd88ad29039 01:57:35 Step 23/25 : LABEL arch=arm64 01:57:35 ---> Running in a13dabef240b 01:57:35 Removing intermediate container a13dabef240b 01:57:35 ---> 1f03850c5d0f 01:57:35 Step 24/25 : LABEL git_sha=d35a6d71fe87111dd6dc7ce2834c0e8400498827 01:57:35 ---> Running in 5db98a4354fd 01:57:36 Removing intermediate container 5db98a4354fd 01:57:36 ---> b91ae255c608 01:57:36 Step 25/25 : LABEL version=0.0.0 01:57:36 ---> Running in c0c37a298686 01:57:36 Removing intermediate container c0c37a298686 01:57:36 ---> 6287bdfbff01 01:57:36 [Warning] One or more build-args [ARCH] were not consumed 01:57:36 Successfully built 6287bdfbff01 01:57:36 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 01:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:37 01:57:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:39 arm64: Pulling from edgex-lftools-log-publisher 01:57:39 8998bd30e6a1: Pulling fs layer 01:57:39 04944245beec: Pulling fs layer 01:57:39 699f458cf7ca: Pulling fs layer 01:57:39 765212b225bb: Pulling fs layer 01:57:39 f23df028b6ca: Pulling fs layer 01:57:39 d65c8cfc05b1: Pulling fs layer 01:57:39 2437ff75d9bd: Pulling fs layer 01:57:39 f23df028b6ca: Waiting 01:57:39 2437ff75d9bd: Waiting 01:57:39 d65c8cfc05b1: Waiting 01:57:39 765212b225bb: Waiting 01:57:39 04944245beec: Verifying Checksum 01:57:39 04944245beec: Download complete 01:57:39 765212b225bb: Verifying Checksum 01:57:39 765212b225bb: Download complete 01:57:39 f23df028b6ca: Verifying Checksum 01:57:39 f23df028b6ca: Download complete 01:57:39 d65c8cfc05b1: Verifying Checksum 01:57:39 d65c8cfc05b1: Download complete 01:57:39 699f458cf7ca: Verifying Checksum 01:57:39 699f458cf7ca: Download complete 01:57:39 8998bd30e6a1: Verifying Checksum 01:57:39 8998bd30e6a1: Download complete 01:57:42 2437ff75d9bd: Verifying Checksum 01:57:42 2437ff75d9bd: Download complete 01:57:43 8998bd30e6a1: Pull complete 01:57:44 04944245beec: Pull complete 01:57:45 699f458cf7ca: Pull complete 01:57:45 765212b225bb: Pull complete 01:57:46 f23df028b6ca: Pull complete 01:57:46 d65c8cfc05b1: Pull complete 01:58:01 2437ff75d9bd: Pull complete 01:58:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:58:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:58:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:01 prd-ubuntu20.04-docker-arm64-4c-16g-6523 does not seem to be running inside a container 01:58:02 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 01:58:04 $ docker top 8102fecab0be168c4325fd695df76c5ce19439b8631fbfdb1723cca38d3c7d4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:05 ---> job-cost.sh 01:58:05 lf-activate-venv: SKIPPING 01:58:05 INFO: No Stack... 01:58:05 INFO: Retrieving Pricing Info for: v3-standard-4 01:58:06 INFO: Archiving Costs [Pipeline] sh 01:58:07 + cat /w/workspace/device-virtual-go/5/archives/cost.csv 01:58:07 + cut -d, -f6 [Pipeline] lock 01:58:07 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] 01:58:07 Resource [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] did not exist. Created. 01:58:07 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:58:08 /w/workspace/device-virtual-go/5@tmp/durable-7e350998/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:58:08 + echo total: 0.10999999940395355 [Pipeline] stash 01:58:08 Warning: overwriting stash ‘stack-cost’ 01:58:08 Stashed 1 file(s) [Pipeline] } 01:58:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-374-5-stack-cost] [Pipeline] // lock [Pipeline] } 01:58:08 $ docker stop --time=1 8102fecab0be168c4325fd695df76c5ce19439b8631fbfdb1723cca38d3c7d4a 01:58:10 $ docker rm -f --volumes 8102fecab0be168c4325fd695df76c5ce19439b8631fbfdb1723cca38d3c7d4a [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 01:58:10 provisioning config files... 01:58:10 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config13110540397607659587tmp [Pipeline] { [Pipeline] sh 01:58:11 + set +x 01:58:11 + curl -s https://codecov.io/bash 01:58:11 + bash -s -- 01:58:11 01:58:11 _____ _ 01:58:11 / ____| | | 01:58:11 | | ___ __| | ___ ___ _____ __ 01:58:11 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:58:11 | |___| (_) | (_| | __/ (_| (_) \ V / 01:58:11 \_____\___/ \__,_|\___|\___\___/ \_/ 01:58:11 Bash-1.0.6 01:58:11 01:58:11 01:58:11 ==> git version 2.25.1 found 01:58:11 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:58:11 Release-Date: 2020-01-08 01:58:11 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:58:11 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:58:11 ==> Jenkins CI detected. 01:58:11 current dir:  /w/workspace/foundry_device-virtual-go_PR-374 01:58:11 project root: . 01:58:11 --> token set from env 01:58:11 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:58:11 ==> Running gcov in . (disable via -X gcov) 01:58:11 ==> Python coveragepy not found 01:58:11 ==> Searching for coverage reports in: 01:58:11 + . 01:58:11 -> Found 1 reports 01:58:11 ==> Detecting git/mercurial file structure 01:58:11 ==> Reading reports 01:58:11 + ./coverage.out bytes=42791 01:58:11 ==> Appending adjustments 01:58:11 https://docs.codecov.io/docs/fixing-reports 01:58:11 + Found adjustments 01:58:11 ==> Gzipping contents 01:58:11 8.0K /tmp/codecov.7gr8x6.gz 01:58:11 ==> Uploading reports 01:58:11 url: https://codecov.io 01:58:11 query: branch=PR-374&commit=d35a6d71fe87111dd6dc7ce2834c0e8400498827&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-374%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=374&job=&cmd_args= 01:58:11 -> Pinging Codecov 01:58:11 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-374&commit=d35a6d71fe87111dd6dc7ce2834c0e8400498827&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-374%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=374&job=&cmd_args= 01:58:11 -> Uploading to 01:58:11 https://storage.googleapis.com/codecov/v4/raw/2023-03-31/5E52B4B073DB2E39498172D8E973AA87/d35a6d71fe87111dd6dc7ce2834c0e8400498827/796931e4-115f-4bfb-9f13-4a41fc5db36e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230331T015811Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0ebb4828192fb430f5ccdc0a479f378b977d184d60926c903a8d300b57249dc 01:58:11 % Total % Received % Xferd Average Speed Time Time Time Current 01:58:11 Dload Upload Total Spent Left Speed 01:58:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5152 0 0 100 5152 0 17765 --:--:-- --:--:-- --:--:-- 17704 100 5152 0 0 100 5152 0 17765 --:--:-- --:--:-- --:--:-- 17704 01:58:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d35a6d71fe87111dd6dc7ce2834c0e8400498827 [Pipeline] } 01:58:11 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 01:58:12 + [ -d /w/workspace/foundry_device-virtual-go_PR-374/archives ] 01:58:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives 01:58:12 total 16 01:58:12 drwxr-xr-x 3 root root 4096 Mar 31 01:49 . 01:58:12 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 01:49 .. 01:58:12 drwxr-xr-x 2 root root 4096 Mar 31 01:49 cost 01:58:12 -rw-r--r-- 1 root root 89 Mar 31 01:49 cost.csv 01:58:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-374/archives 01:58:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-374/archives 01:58:12 total 16 01:58:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 01:49 . 01:58:12 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 01:49 .. 01:58:12 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 01:49 cost 01:58:12 -rw-r--r-- 1 jenkins jenkins 89 Mar 31 01:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:58:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:58:13 ---> package-listing.sh 01:58:13 ++ facter osfamily 01:58:13 ++ tr '[:upper:]' '[:lower:]' 01:58:13 + OS_FAMILY=debian 01:58:13 + workspace=/w/workspace/foundry_device-virtual-go_PR-374 01:58:13 + START_PACKAGES=/tmp/packages_start.txt 01:58:13 + END_PACKAGES=/tmp/packages_end.txt 01:58:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:58:13 + PACKAGES=/tmp/packages_start.txt 01:58:13 + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' 01:58:13 + PACKAGES=/tmp/packages_end.txt 01:58:13 + case "${OS_FAMILY}" in 01:58:13 + dpkg -l 01:58:13 + grep '^ii' 01:58:13 + '[' -f /tmp/packages_start.txt ']' 01:58:13 + '[' -f /tmp/packages_end.txt ']' 01:58:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:58:13 + '[' /w/workspace/foundry_device-virtual-go_PR-374 ']' 01:58:13 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-374/archives/ 01:58:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-374/archives/ [Pipeline] echo 01:58:13 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-374/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:58:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:14 prd-ubuntu20.04-docker-8c-8g-6522 does not seem to be running inside a container 01:58:14 $ 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-374/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-374 -v /w/workspace/foundry_device-virtual-go_PR-374:/w/workspace/foundry_device-virtual-go_PR-374:rw,z -v /w/workspace/foundry_device-virtual-go_PR-374@tmp:/w/workspace/foundry_device-virtual-go_PR-374@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 01:58:15 $ docker top de423e7010a0a8bdbdd2b65e00b9d48d381003617ee88c8f29da287e4ec6599c -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:15 + touch /tmp/pre-build-complete [Pipeline] sh 01:58:15 + mkdir -p /var/log/sysstat [Pipeline] sh 01:58:15 + ls /var/log/sa-host 01:58:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:16 provisioning config files... 01:58:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-374@tmp/config12812003510843285584tmp [Pipeline] { [Pipeline] echo 01:58:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:58:16 ---> create-netrc.sh [Pipeline] } 01:58:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:58:16 ---> python-tools-install.sh [Pipeline] echo 01:58:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:58:17 ---> sudo-logs.sh 01:58:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:58:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:58:17 ---> job-cost.sh 01:58:17 lf-activate-venv: SKIPPING 01:58:17 DEBUG: total: 0.2199999988079071 01:58:17 INFO: Retrieving Stack Cost... 01:58:17 INFO: Retrieving Pricing Info for: v3-standard-8 01:58:18 INFO: Archiving Costs [Pipeline] echo 01:58:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:58:18 ---> logs-deploy.sh 01:58:18 lf-activate-venv: SKIPPING 01:58:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-374/5 01:58:18 INFO: archiving workspace using pattern(s): 01:58:19 Archives upload complete. 01:58:19 INFO: archiving logs to Nexus