Pull request #373 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4d98899aab0c7c927e25cbe89fa42d73c353b84+5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 (9a26ba9f84b22c6ebf31161fe5b2c10280ce3b88) 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-ssh117004280876227556.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-ssh12381360840704782399.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-373/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-373/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6807692940065902026.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-ssh8201369885515061362.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-373/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-373/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16395008183344703962.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 ‘prd-ubuntu20.04-docker-8c-8g-6531’ Running on prd-ubuntu20.04-docker-8c-8g-6533 in /w/workspace/foundry_device-virtual-go_PR-373 [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-373 # 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/373/head:refs/remotes/origin/PR-373 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 into PR head commit b4d98899aab0c7c927e25cbe89fa42d73c353b84 Merge succeeded, producing b4d98899aab0c7c927e25cbe89fa42d73c353b84 Checking out Revision b4d98899aab0c7c927e25cbe89fa42d73c353b84 (PR-373) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:19:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b4d98899aab0c7c927e25cbe89fa42d73c353b84 # 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 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4d98899aab0c7c927e25cbe89fa42d73c353b84 # timeout=10 > git rev-list --no-walk ac60b7f8408ce7aebfdd91f3c264f40e3990ca6d # timeout=10 [Pipeline] withCredentials 05:19:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:19:06 ========================================================= 05:19:06 EdgeX Global Pipelines Version Info 05:19:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:19:07 ------------------- 05:19:07 stable info: 05:19:07 ------------------- 05:19:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:19:07 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 05:19:07 Message: update stable to v1.0.245 05:19:07 ------------------- 05:19:07 experimental info: 05:19:07 ------------------- 05:19:07 Commited By: **** collab-it+edgex@linuxfoundation.org 05:19:07 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 05:19:07 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 05:19:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-373 [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-373 [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-373 [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4d98899aab0c7c927e25cbe89fa42d73c353b84 [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4d9889 [Pipeline] echo 05:19:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:08 provisioning config files... 05:19:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-373@tmp/config15354326762106758807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:08 ---> docker-login.sh 05:19:08 nexus3.edgexfoundry.org:10001 05:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:08 Configure a credential helper to remove this warning. See 05:19:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:08 05:19:08 Login Succeeded 05:19:08 nexus3.edgexfoundry.org:10002 05:19:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:09 Configure a credential helper to remove this warning. See 05:19:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:09 05:19:09 Login Succeeded 05:19:09 nexus3.edgexfoundry.org:10003 05:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:09 Configure a credential helper to remove this warning. See 05:19:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:09 05:19:09 Login Succeeded 05:19:09 nexus3.edgexfoundry.org:10004 05:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:09 Configure a credential helper to remove this warning. See 05:19:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:09 05:19:09 Login Succeeded 05:19:09 docker.io 05:19:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:09 Configure a credential helper to remove this warning. See 05:19:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:09 05:19:09 Login Succeeded 05:19:09 ---> docker-login.sh ends [Pipeline] } 05:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:19:10 + git rev-list -1 --merges b4d98899aab0c7c927e25cbe89fa42d73c353b84~1..b4d98899aab0c7c927e25cbe89fa42d73c353b84 [Pipeline] echo 05:19:10 -----------> git rev-list -1 --merges b4d98899aab0c7c927e25cbe89fa42d73c353b84~1..b4d98899aab0c7c927e25cbe89fa42d73c353b84 b4d98899aab0c7c927e25cbe89fa42d73c353b84 [false] [Pipeline] sh 05:19:10 + git log --format=format:%s -1 b4d98899aab0c7c927e25cbe89fa42d73c353b84 [Pipeline] echo 05:19:10 ========================================================= 05:19:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:19:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:10 + git log --format=format:%s -1 b4d98899aab0c7c927e25cbe89fa42d73c353b84 [Pipeline] echo 05:19:10 [semverPrep] GIT_COMMIT: b4d98899aab0c7c927e25cbe89fa42d73c353b84, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 05:19:10 [semverPrep] This is not a build commit. [Pipeline] sh 05:19:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:19:11 + grep -v github /etc/ssh/ssh_known_hosts 05:19:11 + [ -e /tmp/ssh_known_hosts ] 05:19:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:19:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:19:11 + sudo tee -a /etc/ssh/ssh_known_hosts 05:19:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:11 05:19:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:11 0.1.4: Pulling from edgex-devops/py-git-semver 05:19:11 b85a868b505f: Pulling fs layer 05:19:11 e2be974225ed: Pulling fs layer 05:19:11 339a4e72a1f5: Pulling fs layer 05:19:11 988bab9f4d93: Pulling fs layer 05:19:11 1469e6f7b9e6: Pulling fs layer 05:19:11 eaf3925da568: Pulling fs layer 05:19:11 bab4dde63d76: Pulling fs layer 05:19:11 bde34c3a00c8: Pulling fs layer 05:19:11 b352a97aabf1: Pulling fs layer 05:19:11 4872d77fe225: Pulling fs layer 05:19:11 5851b861e8e6: Pulling fs layer 05:19:11 988bab9f4d93: Waiting 05:19:11 1469e6f7b9e6: Waiting 05:19:11 eaf3925da568: Waiting 05:19:11 bab4dde63d76: Waiting 05:19:11 bde34c3a00c8: Waiting 05:19:11 b352a97aabf1: Waiting 05:19:11 4872d77fe225: Waiting 05:19:11 5851b861e8e6: Waiting 05:19:11 e2be974225ed: Download complete 05:19:11 988bab9f4d93: Verifying Checksum 05:19:11 988bab9f4d93: Download complete 05:19:11 1469e6f7b9e6: Verifying Checksum 05:19:11 1469e6f7b9e6: Download complete 05:19:11 eaf3925da568: Verifying Checksum 05:19:11 eaf3925da568: Download complete 05:19:12 339a4e72a1f5: Download complete 05:19:12 bde34c3a00c8: Verifying Checksum 05:19:12 bde34c3a00c8: Download complete 05:19:12 b352a97aabf1: Download complete 05:19:12 4872d77fe225: Download complete 05:19:12 5851b861e8e6: Verifying Checksum 05:19:12 5851b861e8e6: Download complete 05:19:12 b85a868b505f: Verifying Checksum 05:19:12 b85a868b505f: Download complete 05:19:12 bab4dde63d76: Verifying Checksum 05:19:12 bab4dde63d76: Download complete 05:19:13 b85a868b505f: Pull complete 05:19:13 e2be974225ed: Pull complete 05:19:13 339a4e72a1f5: Pull complete 05:19:13 988bab9f4d93: Pull complete 05:19:14 1469e6f7b9e6: Pull complete 05:19:14 eaf3925da568: Pull complete 05:19:15 bab4dde63d76: Pull complete 05:19:15 bde34c3a00c8: Pull complete 05:19:15 b352a97aabf1: Pull complete 05:19:15 4872d77fe225: Pull complete 05:19:15 5851b861e8e6: Pull complete 05:19:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:19:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:16 prd-ubuntu20.04-docker-8c-8g-6533 does not seem to be running inside a container 05:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:19:18 $ docker top d25da0f22b780469ec253a0d4cc253777552d9c57a95e861a979e16c69a45781 -eo pid,comm 05:19:18 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). 05:19:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:18 [ssh-agent] Looking for ssh-agent implementation... 05:19:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:18 $ docker exec d25da0f22b780469ec253a0d4cc253777552d9c57a95e861a979e16c69a45781 ssh-agent 05:19:18 SSH_AUTH_SOCK=/tmp/ssh-bBPue4FvUqiQ/agent.32 05:19:18 SSH_AGENT_PID=38 05:19:18 Running ssh-add (command line suppressed) 05:19:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-373@tmp/private_key_9936077248482771920.key (/w/workspace/foundry_device-virtual-go_PR-373@tmp/private_key_9936077248482771920.key) 05:19:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:19 + git tag --points-at HEAD [Pipeline] } 05:19:19 $ docker exec --env ******** --env ******** d25da0f22b780469ec253a0d4cc253777552d9c57a95e861a979e16c69a45781 ssh-agent -k 05:19:19 unset SSH_AUTH_SOCK; 05:19:19 unset SSH_AGENT_PID; 05:19:19 echo Agent pid 38 killed; 05:19:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:19:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:19 [ssh-agent] Looking for ssh-agent implementation... 05:19:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:19 $ docker exec d25da0f22b780469ec253a0d4cc253777552d9c57a95e861a979e16c69a45781 ssh-agent 05:19:19 SSH_AUTH_SOCK=/tmp/ssh-vq1T9C2YBnHa/agent.70 05:19:19 SSH_AGENT_PID=76 05:19:19 Running ssh-add (command line suppressed) 05:19:19 Identity added: /w/workspace/foundry_device-virtual-go_PR-373@tmp/private_key_10830844496005025977.key (/w/workspace/foundry_device-virtual-go_PR-373@tmp/private_key_10830844496005025977.key) 05:19:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:19 + git semver init 05:19:20 2023-03-31 05:19:20,111 [run_init] DEBUG init version:0.0.0 force:False 05:19:20 2023-03-31 05:19:20,112 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-373/.semver 05:19:20 2023-03-31 05:19:20,113 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-373/.semver 05:19:20 2023-03-31 05:19:20,113 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-373/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-373, universal_newlines=False, shell=None, istream=None) 05:19:21 2023-03-31 05:19:21,238 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-373/.git/info/exclude 05:19:21 2023-03-31 05:19:21,238 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-373/.semver/PR-373 with force:False 05:19:21 2023-03-31 05:19:21,238 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-373/.semver/PR-373 05:19:21 2023-03-31 05:19:21,242 [execute] INFO git cat-file --batch-check 05:19:21 2023-03-31 05:19:21,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-373/.semver, universal_newlines=False, shell=None, istream=) 05:19:21 2023-03-31 05:19:21,248 [execute] INFO git cat-file --batch 05:19:21 2023-03-31 05:19:21,248 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-373/.semver, universal_newlines=False, shell=None, istream=) 05:19:21 2023-03-31 05:19:21,253 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-373/.semver/PR-373 05:19:21 0.0.0 [Pipeline] } 05:19:21 $ docker exec --env ******** --env ******** d25da0f22b780469ec253a0d4cc253777552d9c57a95e861a979e16c69a45781 ssh-agent -k 05:19:21 unset SSH_AUTH_SOCK; 05:19:21 unset SSH_AGENT_PID; 05:19:21 echo Agent pid 76 killed; 05:19:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:19:22 + git semver [Pipeline] } 05:19:22 $ docker stop --time=1 d25da0f22b780469ec253a0d4cc253777552d9c57a95e861a979e16c69a45781 05:19:23 $ docker rm -f --volumes d25da0f22b780469ec253a0d4cc253777552d9c57a95e861a979e16c69a45781 [Pipeline] // withDockerContainer [Pipeline] sh 05:19:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:19:24 Stashed 1 file(s) [Pipeline] echo 05:19:24 [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 05:19:24 provisioning config files... 05:19:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-373@tmp/config137054437156375555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:24 ---> docker-login.sh 05:19:24 nexus3.edgexfoundry.org:10001 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:24 Configure a credential helper to remove this warning. See 05:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:24 05:19:24 Login Succeeded 05:19:24 nexus3.edgexfoundry.org:10002 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:24 Configure a credential helper to remove this warning. See 05:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:24 05:19:24 Login Succeeded 05:19:24 nexus3.edgexfoundry.org:10003 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:24 Configure a credential helper to remove this warning. See 05:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:24 05:19:24 Login Succeeded 05:19:24 nexus3.edgexfoundry.org:10004 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:24 Configure a credential helper to remove this warning. See 05:19:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:24 05:19:24 Login Succeeded 05:19:24 docker.io 05:19:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:25 Configure a credential helper to remove this warning. See 05:19:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:25 05:19:25 Login Succeeded 05:19:25 ---> docker-login.sh ends [Pipeline] } 05:19:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:19:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:25 ========================================================= 05:19:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:19:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:25 + 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 . 05:19:25 Sending build context to Docker daemon 23.51MB 05:19:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:19:25 Step 2/12 : FROM ${BASE} AS builder 05:19:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:19:25 63b65145d645: Pulling fs layer 05:19:25 a2d21d5440eb: Pulling fs layer 05:19:25 935e6c44a52c: Pulling fs layer 05:19:25 94cc34f8dd06: Pulling fs layer 05:19:25 30dea6a524f1: Pulling fs layer 05:19:25 a2aff8979fd8: Pulling fs layer 05:19:25 6808be2612f2: Pulling fs layer 05:19:25 f25807f1079a: Pulling fs layer 05:19:25 94cc34f8dd06: Waiting 05:19:25 30dea6a524f1: Waiting 05:19:25 a2aff8979fd8: Waiting 05:19:25 6808be2612f2: Waiting 05:19:25 a2d21d5440eb: Download complete 05:19:25 94cc34f8dd06: Verifying Checksum 05:19:25 94cc34f8dd06: Download complete 05:19:25 30dea6a524f1: Verifying Checksum 05:19:25 30dea6a524f1: Download complete 05:19:25 63b65145d645: Verifying Checksum 05:19:25 63b65145d645: Download complete 05:19:25 a2aff8979fd8: Verifying Checksum 05:19:25 a2aff8979fd8: Download complete 05:19:25 63b65145d645: Pull complete 05:19:25 a2d21d5440eb: Pull complete 05:19:26 f25807f1079a: Verifying Checksum 05:19:26 f25807f1079a: Download complete 05:19:26 935e6c44a52c: Verifying Checksum 05:19:26 935e6c44a52c: Download complete 05:19:26 6808be2612f2: Verifying Checksum 05:19:29 935e6c44a52c: Pull complete 05:19:29 94cc34f8dd06: Pull complete 05:19:29 30dea6a524f1: Pull complete 05:19:29 a2aff8979fd8: Pull complete 05:19:31 6808be2612f2: Pull complete 05:19:32 f25807f1079a: Pull complete 05:19:32 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 05:19:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:19:32 ---> 3b553350e43f 05:19:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:19:35 ---> Running in 46a6c253cde4 05:19:35 Removing intermediate container 46a6c253cde4 05:19:35 ---> dc57f5f63c5d 05:19:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:19:35 ---> Running in 223e232e5315 05:19:35 Removing intermediate container 223e232e5315 05:19:35 ---> 5ed5fc06829b 05:19:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:19:35 ---> Running in 31045ecb4872 05:19:36 Removing intermediate container 31045ecb4872 05:19:36 ---> 74b344607830 05:19:36 Step 6/12 : WORKDIR /device-virtual-go 05:19:36 ---> Running in 13cccabf0ea3 05:19:36 Removing intermediate container 13cccabf0ea3 05:19:36 ---> c7935b93551c 05:19:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:19:36 ---> Running in 1c98817da413 05:19:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:19:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:19:36 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:19:36 (2/4) Installing libedit (20221030.3.1-r0) 05:19:36 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:19:36 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:19:36 Executing busybox-1.35.0-r29.trigger 05:19:36 OK: 269 MiB in 57 packages 05:19:37 Removing intermediate container 1c98817da413 05:19:37 ---> 770e9e40a265 05:19:37 Step 8/12 : COPY go.mod vendor* ./ 05:19:37 ---> 9f988b739134 05:19:37 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:37 ---> Running in 32a21f480b9f 05:19:39 Still waiting to schedule task 05:19:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6532’ is offline 05:19:59 Removing intermediate container 32a21f480b9f 05:19:59 ---> 655896dcc933 05:19:59 Step 10/12 : COPY . . 05:19:59 ---> 63ac9ac633de 05:19:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:19:59 ---> Running in f781a4f367be 05:19:59 Removing intermediate container f781a4f367be 05:19:59 ---> 97e59975dded 05:19:59 Step 12/12 : RUN $MAKE 05:19:59 ---> Running in 3e264ac32220 05:19:59 noop 05:19:59 Removing intermediate container 3e264ac32220 05:19:59 ---> 5a09e91fc10b 05:19:59 Successfully built 5a09e91fc10b 05:19:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:59 + docker inspect -f . ci-base-image-x86_64 05:19:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:59 prd-ubuntu20.04-docker-8c-8g-6533 does not seem to be running inside a container 05:19:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@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 ******** ci-base-image-x86_64 cat 05:20:00 $ docker top 7bec929bac9bec9f2b66c6c87cbfb17a20278277545197e8ce78beba8ca72ca5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:00 + go version 05:20:00 go version go1.20.2 linux/amd64 [Pipeline] } 05:20:00 $ docker stop --time=1 7bec929bac9bec9f2b66c6c87cbfb17a20278277545197e8ce78beba8ca72ca5 05:20:01 $ docker rm -f --volumes 7bec929bac9bec9f2b66c6c87cbfb17a20278277545197e8ce78beba8ca72ca5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:02 + docker inspect -f . ci-base-image-x86_64 05:20:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:02 prd-ubuntu20.04-docker-8c-8g-6533 does not seem to be running inside a container 05:20:02 $ 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-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@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 ******** ci-base-image-x86_64 cat 05:20:02 $ docker top f40961a16042fc1c60420ba9d37a6e5b1169a7484c08bd99947aad2e9bdcf8f4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:02 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-373 [Pipeline] fileExists [Pipeline] sh 05:20:03 + make test 05:20:03 go test ./... -coverprofile=coverage.out 05:20:07 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:20:17 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:20:17 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 59.5% of statements 05:20:21 go vet ./... 05:20:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:20:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:20:24 ./bin/test-attribution-txt.sh [Pipeline] echo 05:20:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:20:24 $ docker stop --time=1 f40961a16042fc1c60420ba9d37a6e5b1169a7484c08bd99947aad2e9bdcf8f4 05:20:27 $ docker rm -f --volumes f40961a16042fc1c60420ba9d37a6e5b1169a7484c08bd99947aad2e9bdcf8f4 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:20:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:20:28 + ls -al . 05:20:28 total 192 05:20:28 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 05:20 . 05:20:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:19 .. 05:20:28 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:19 .git 05:20:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:19 .github 05:20:28 -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 05:19 .gitignore 05:20:28 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 05:19 .golangci.yml 05:20:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:19 .semver 05:20:28 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 05:19 Attribution.txt 05:20:28 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 05:19 CHANGELOG.md 05:20:28 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 05:19 Dockerfile 05:20:28 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:19 GOVERNANCE.md 05:20:28 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 05:19 Jenkinsfile 05:20:28 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:19 LICENSE 05:20:28 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 05:19 Makefile 05:20:28 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 05:19 OWNERS.md 05:20:28 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 05:19 README.md 05:20:28 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 05:19 VERSION 05:20:28 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:19 bin 05:20:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:19 cmd 05:20:28 -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 05:20 coverage.out 05:20:28 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 05:19 go.mod 05:20:28 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 05:19 go.sum 05:20:28 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:19 internal 05:20:28 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:19 snap 05:20:28 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 05:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:28 + 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=b4d98899aab0c7c927e25cbe89fa42d73c353b84 --label arch=amd64 --label version=0.0.0 . 05:20:28 Sending build context to Docker daemon 23.56MB 05:20:28 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:20:28 Step 2/25 : FROM ${BASE} AS builder 05:20:28 ---> 5a09e91fc10b 05:20:28 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:20:29 ---> Running in 41cfd06caaf0 05:20:29 Removing intermediate container 41cfd06caaf0 05:20:29 ---> 15e0da91cb02 05:20:29 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:20:29 ---> Running in 58e31c008692 05:20:29 Removing intermediate container 58e31c008692 05:20:29 ---> fd26290719c1 05:20:29 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:20:29 ---> Running in ab0f354ae763 05:20:29 Removing intermediate container ab0f354ae763 05:20:29 ---> 46d8c2eca51b 05:20:29 Step 6/25 : WORKDIR /device-virtual-go 05:20:29 ---> Running in 22ff8a804f12 05:20:29 Removing intermediate container 22ff8a804f12 05:20:29 ---> fb985c2d2288 05:20:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:20:29 ---> Running in e05294ffc04a 05:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:20:30 OK: 269 MiB in 57 packages 05:20:30 Removing intermediate container e05294ffc04a 05:20:30 ---> 9075c6448669 05:20:30 Step 8/25 : COPY go.mod vendor* ./ 05:20:30 ---> 6c33446970a8 05:20:30 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:30 ---> Running in 4e8366b66659 05:20:31 Removing intermediate container 4e8366b66659 05:20:31 ---> 61df88e6bbe8 05:20:31 Step 10/25 : COPY . . 05:20:31 ---> 7d09bbac9810 05:20:31 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:20:31 ---> Running in 1107b16711ff 05:20:31 Removing intermediate container 1107b16711ff 05:20:31 ---> 6792078968b0 05:20:31 Step 12/25 : RUN $MAKE 05:20:31 ---> Running in d8c769f5e817 05:20:32 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 05:20:50 Removing intermediate container d8c769f5e817 05:20:50 ---> 0e8fa7e999c0 05:20:50 Step 13/25 : FROM alpine:3.17 05:20:50 3.17: Pulling from library/alpine 05:20:50 f56be85fc22e: Pulling fs layer 05:20:50 f56be85fc22e: Verifying Checksum 05:20:50 f56be85fc22e: Download complete 05:20:50 f56be85fc22e: Pull complete 05:20:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:20:50 Status: Downloaded newer image for alpine:3.17 05:20:50 ---> 9ed4aefc74f6 05:20:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:20:50 ---> Running in 10bde2e9b05b 05:20:50 Removing intermediate container 10bde2e9b05b 05:20:50 ---> b7c8a583f4b5 05:20:50 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:20:50 ---> Running in 8e5fad4a4c22 05:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:20:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:20:51 (1/1) Installing dumb-init (1.2.5-r2) 05:20:51 Executing busybox-1.35.0-r29.trigger 05:20:51 OK: 7 MiB in 16 packages 05:20:51 Removing intermediate container 8e5fad4a4c22 05:20:51 ---> bf21a1e9a504 05:20:51 Step 16/25 : WORKDIR / 05:20:51 ---> Running in 7d2043ffecc0 05:20:51 Removing intermediate container 7d2043ffecc0 05:20:51 ---> 8260cfe431ed 05:20:51 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:20:51 ---> a89f02685e19 05:20:51 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:20:51 ---> 6c5517045603 05:20:51 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:20:52 ---> 705eba22312b 05:20:52 Step 20/25 : EXPOSE 59900 05:20:52 ---> Running in 1d6b9264fb44 05:20:52 Removing intermediate container 1d6b9264fb44 05:20:52 ---> 43fc42a5a7a3 05:20:52 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:20:52 ---> Running in 59e88ead6254 05:20:53 Removing intermediate container 59e88ead6254 05:20:53 ---> 8c909f8b9df9 05:20:53 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:20:53 ---> Running in 8912f377ab6d 05:20:53 Removing intermediate container 8912f377ab6d 05:20:53 ---> dcec0b9e33c2 05:20:53 Step 23/25 : LABEL arch=amd64 05:20:53 ---> Running in 579ae65bb463 05:20:53 Removing intermediate container 579ae65bb463 05:20:53 ---> be0be17e0733 05:20:53 Step 24/25 : LABEL git_sha=b4d98899aab0c7c927e25cbe89fa42d73c353b84 05:20:53 ---> Running in ce7085448e4f 05:20:53 Removing intermediate container ce7085448e4f 05:20:53 ---> 635b0bbcff7f 05:20:53 Step 25/25 : LABEL version=0.0.0 05:20:53 ---> Running in 4ed2aeb87c88 05:20:53 Removing intermediate container 4ed2aeb87c88 05:20:53 ---> c7666c33b109 05:20:53 [Warning] One or more build-args [ARCH] were not consumed 05:20:53 Successfully built c7666c33b109 05:20:53 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 05:20:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:53 05:20:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:54 latest: Pulling from edgex-lftools-log-publisher 05:20:54 5eb5b503b376: Pulling fs layer 05:20:54 5c69ac0246d0: Pulling fs layer 05:20:54 ec43610c2a17: Pulling fs layer 05:20:54 3a2ae6a8a46f: Pulling fs layer 05:20:54 33b1e0a273af: Pulling fs layer 05:20:54 5d3b04190fa2: Pulling fs layer 05:20:54 2f39f015ded8: Pulling fs layer 05:20:54 5d3b04190fa2: Waiting 05:20:54 2f39f015ded8: Waiting 05:20:54 33b1e0a273af: Waiting 05:20:54 3a2ae6a8a46f: Waiting 05:20:54 5c69ac0246d0: Download complete 05:20:54 3a2ae6a8a46f: Verifying Checksum 05:20:54 3a2ae6a8a46f: Download complete 05:20:54 33b1e0a273af: Verifying Checksum 05:20:54 33b1e0a273af: Download complete 05:20:54 5d3b04190fa2: Verifying Checksum 05:20:54 5d3b04190fa2: Download complete 05:20:54 ec43610c2a17: Verifying Checksum 05:20:54 ec43610c2a17: Download complete 05:20:54 5eb5b503b376: Verifying Checksum 05:20:54 5eb5b503b376: Download complete 05:20:54 2f39f015ded8: Download complete 05:20:55 5eb5b503b376: Pull complete 05:20:55 5c69ac0246d0: Pull complete 05:20:56 ec43610c2a17: Pull complete 05:20:56 3a2ae6a8a46f: Pull complete 05:20:56 33b1e0a273af: Pull complete 05:20:56 5d3b04190fa2: Pull complete 05:21:00 2f39f015ded8: Pull complete 05:21:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:21:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:21:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:00 prd-ubuntu20.04-docker-8c-8g-6533 does not seem to be running inside a container 05:21:00 $ 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-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:21:04 $ docker top be07dcc2ece2c9fd75125668b0bfab4329c72e002b7a8d5c76dd62ff8c53539b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:05 ---> job-cost.sh 05:21:05 lf-activate-venv: SKIPPING 05:21:05 INFO: No Stack... 05:21:05 INFO: Retrieving Pricing Info for: v3-standard-8 05:21:05 INFO: Archiving Costs [Pipeline] sh 05:21:05 + cat /w/workspace/foundry_device-virtual-go_PR-373/archives/cost.csv 05:21:05 + cut -d, -f6 [Pipeline] lock 05:21:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-373-3-stack-cost] 05:21:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-373-3-stack-cost] did not exist. Created. 05:21:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-373-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:21:06 + echo total: 0.2199999988079071 [Pipeline] stash 05:21:06 Stashed 1 file(s) [Pipeline] } 05:21:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-373-3-stack-cost] [Pipeline] // lock [Pipeline] } 05:21:06 $ docker stop --time=1 be07dcc2ece2c9fd75125668b0bfab4329c72e002b7a8d5c76dd62ff8c53539b 05:21:07 $ docker rm -f --volumes be07dcc2ece2c9fd75125668b0bfab4329c72e002b7a8d5c76dd62ff8c53539b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:21:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6534 in /w/workspace/foundry_device-virtual-go_PR-373 [Pipeline] { [Pipeline] ws 05:21:17 Running in /w/workspace/device-virtual-go/3 [Pipeline] { [Pipeline] checkout 05:21:17 The recommended git tool is: git 05:21:22 using credential edgex-jenkins-ssh 05:21:22 Cloning the remote Git repository 05:21:22 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 05:21:22 > git init /w/workspace/device-virtual-go/3 # timeout=10 05:21:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:21:22 > git --version # timeout=10 05:21:22 > git --version # 'git version 2.25.1' 05:21:22 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:25 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:21:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:27 Merging remotes/origin/main commit 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 into PR head commit b4d98899aab0c7c927e25cbe89fa42d73c353b84 05:21:26 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 05:21:26 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 05:21:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/373/head:refs/remotes/origin/PR-373 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:21:27 > git config core.sparsecheckout # timeout=10 05:21:27 > git checkout -f b4d98899aab0c7c927e25cbe89fa42d73c353b84 # timeout=10 05:21:27 > git remote # timeout=10 05:21:27 Merge succeeded, producing b4d98899aab0c7c927e25cbe89fa42d73c353b84 05:21:27 Checking out Revision b4d98899aab0c7c927e25cbe89fa42d73c353b84 (PR-373) 05:21:27 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:21:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:21:28 % Total % Received % Xferd Average Speed Time Time Time Current 05:21:28 Dload Upload Total Spent Left Speed 05:21:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k 05:21:27 > git config --get remote.origin.url # timeout=10 05:21:27 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:27 > git merge 5b3a117d3f948b56f5091c16d5e74c3d7a6abbf9 # timeout=10 05:21:27 > git rev-parse HEAD^{commit} # timeout=10 05:21:27 > git config core.sparsecheckout # timeout=10 05:21:27 > git checkout -f b4d98899aab0c7c927e25cbe89fa42d73c353b84 # timeout=10 [Pipeline] sh 05:21:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:21:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 05:21:29 sudo tee /etc/docker/daemon.new 05:21:29 { 05:21:29 "registry-mirrors": [ 05:21:29 "https://nexus3.edgexfoundry.org:10001" 05:21:29 ], 05:21:29 "bip": "10.250.0.254/24", 05:21:29 "hosts": [ 05:21:29 "tcp://0.0.0.0:5555", 05:21:29 "unix:///var/run/docker.sock" 05:21:29 ], 05:21:29 "mtu": 1458, 05:21:29 "selinux-enabled": true, 05:21:29 "seccomp-profile": "/etc/docker/seccomp.json" 05:21:29 } [Pipeline] sh 05:21:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:21:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:48 provisioning config files... 05:21:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/3@tmp/config7666815745253250182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:48 ---> docker-login.sh 05:21:48 nexus3.edgexfoundry.org:10001 05:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:49 Configure a credential helper to remove this warning. See 05:21:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:49 05:21:49 Login Succeeded 05:21:49 nexus3.edgexfoundry.org:10002 05:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:49 Configure a credential helper to remove this warning. See 05:21:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:49 05:21:49 Login Succeeded 05:21:49 nexus3.edgexfoundry.org:10003 05:21:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:50 Configure a credential helper to remove this warning. See 05:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:50 05:21:50 Login Succeeded 05:21:50 nexus3.edgexfoundry.org:10004 05:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:50 Configure a credential helper to remove this warning. See 05:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:50 05:21:50 Login Succeeded 05:21:50 docker.io 05:21:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:50 Configure a credential helper to remove this warning. See 05:21:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:50 05:21:50 Login Succeeded 05:21:50 ---> docker-login.sh ends [Pipeline] } 05:21:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:21:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:21:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:21:51 ========================================================= 05:21:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:21:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:51 + 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 . 05:21:51 Sending build context to Docker daemon 11.92MB 05:21:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 05:21:51 Step 2/12 : FROM ${BASE} AS builder 05:21:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:21:52 af6eaf76a39c: Pulling fs layer 05:21:52 55522c791124: Pulling fs layer 05:21:52 ce5c4a1c91eb: Pulling fs layer 05:21:52 169dfbe0d373: Pulling fs layer 05:21:52 e1ff8fa3b103: Pulling fs layer 05:21:52 52ebb69f0ebf: Pulling fs layer 05:21:52 5abe8eddf0d5: Pulling fs layer 05:21:52 e1ff8fa3b103: Waiting 05:21:52 52ebb69f0ebf: Waiting 05:21:52 5abe8eddf0d5: Waiting 05:21:52 169dfbe0d373: Waiting 05:21:52 55522c791124: Verifying Checksum 05:21:52 55522c791124: Download complete 05:21:52 169dfbe0d373: Download complete 05:21:52 e1ff8fa3b103: Verifying Checksum 05:21:52 e1ff8fa3b103: Download complete 05:21:52 af6eaf76a39c: Verifying Checksum 05:21:52 af6eaf76a39c: Download complete 05:21:53 af6eaf76a39c: Pull complete 05:21:53 5abe8eddf0d5: Verifying Checksum 05:21:53 5abe8eddf0d5: Download complete 05:21:54 55522c791124: Pull complete 05:21:54 ce5c4a1c91eb: Verifying Checksum 05:21:54 ce5c4a1c91eb: Download complete 05:21:54 52ebb69f0ebf: Verifying Checksum 05:21:54 52ebb69f0ebf: Download complete 05:22:05 ce5c4a1c91eb: Pull complete 05:22:05 169dfbe0d373: Pull complete 05:22:05 e1ff8fa3b103: Pull complete 05:22:13 52ebb69f0ebf: Pull complete 05:22:14 5abe8eddf0d5: Pull complete 05:22:14 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 05:22:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:22:14 ---> 6cb57ee374ae 05:22:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:22:16 ---> Running in 07a71a691d51 05:22:16 Removing intermediate container 07a71a691d51 05:22:16 ---> 1f76e913f504 05:22:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 05:22:16 ---> Running in 4d4a4012a5c8 05:22:17 Removing intermediate container 4d4a4012a5c8 05:22:17 ---> dc50d4d02099 05:22:17 Step 5/12 : ARG ADD_BUILD_TAGS="" 05:22:17 ---> Running in b4405618ce97 05:22:17 Removing intermediate container b4405618ce97 05:22:17 ---> 934a15ac3cf3 05:22:17 Step 6/12 : WORKDIR /device-virtual-go 05:22:17 ---> Running in 4cce899cbedf 05:22:17 Removing intermediate container 4cce899cbedf 05:22:17 ---> cec540482112 05:22:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:22:17 ---> Running in 40d127253f4b 05:22:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:22:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:22:20 (1/4) Installing openssh-keygen (9.1_p1-r2) 05:22:20 (2/4) Installing libedit (20221030.3.1-r0) 05:22:20 (3/4) Installing openssh-client-common (9.1_p1-r2) 05:22:20 (4/4) Installing openssh-client-default (9.1_p1-r2) 05:22:20 Executing busybox-1.35.0-r29.trigger 05:22:20 OK: 268 MiB in 57 packages 05:22:21 Removing intermediate container 40d127253f4b 05:22:21 ---> ba2d7f33dd27 05:22:21 Step 8/12 : COPY go.mod vendor* ./ 05:22:22 ---> f528dea57fa0 05:22:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:22:22 ---> Running in df9711aba272 05:23:18 Removing intermediate container df9711aba272 05:23:18 ---> 1f3c97a7f80c 05:23:18 Step 10/12 : COPY . . 05:23:19 ---> 92b5424c6ed9 05:23:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:23:19 ---> Running in b94b1f9de246 05:23:20 Removing intermediate container b94b1f9de246 05:23:20 ---> 3743c24abf02 05:23:20 Step 12/12 : RUN $MAKE 05:23:20 ---> Running in 4bf84573002a 05:23:21 noop 05:23:22 Removing intermediate container 4bf84573002a 05:23:22 ---> 13b28ebb1063 05:23:22 Successfully built 13b28ebb1063 05:23:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:23 + docker inspect -f . ci-base-image-arm64 05:23:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:23 prd-ubuntu20.04-docker-arm64-4c-16g-6534 does not seem to be running inside a container 05:23:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:23:24 $ docker top b73906f14f8073a3f8c7705c4888e68f905563f94b58f9d0d93b79e4e9509a56 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:25 + go version 05:23:25 go version go1.20.2 linux/arm64 [Pipeline] } 05:23:25 $ docker stop --time=1 b73906f14f8073a3f8c7705c4888e68f905563f94b58f9d0d93b79e4e9509a56 05:23:27 $ docker rm -f --volumes b73906f14f8073a3f8c7705c4888e68f905563f94b58f9d0d93b79e4e9509a56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:27 + docker inspect -f . ci-base-image-arm64 05:23:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:27 prd-ubuntu20.04-docker-arm64-4c-16g-6534 does not seem to be running inside a container 05:23:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:23:29 $ docker top a4557471f14e036198e4d1ce993d3523acbd3c916db6c6fbaaee5fe930253d02 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:29 + git config --global --add safe.directory /w/workspace/device-virtual-go/3 [Pipeline] fileExists [Pipeline] sh 05:23:30 + make test 05:23:30 go test ./... -coverprofile=coverage.out 05:24:02 ? github.com/edgexfoundry/device-virtual-go [no test files] 05:25:54 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 05:25:54 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.150s coverage: 59.3% of statements 05:25:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:25:54 go vet ./... 05:26:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:26:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:26:16 ./bin/test-attribution-txt.sh [Pipeline] echo 05:26:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:26:16 $ docker stop --time=1 a4557471f14e036198e4d1ce993d3523acbd3c916db6c6fbaaee5fe930253d02 05:26:18 $ docker rm -f --volumes a4557471f14e036198e4d1ce993d3523acbd3c916db6c6fbaaee5fe930253d02 [Pipeline] // withDockerContainer [Pipeline] sh 05:26:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:26:19 Warning: overwriting stash ‘coverage-report’ 05:26:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:26:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:26:20 + ls -al . 05:26:20 total 188 05:26:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:23 . 05:26:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:21 .. 05:26:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 05:21 .git 05:26:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:21 .github 05:26:20 -rw-rw-r-- 1 jenkins jenkins 337 Mar 31 05:21 .gitignore 05:26:20 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 05:21 .golangci.yml 05:26:20 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 31 05:21 Attribution.txt 05:26:20 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 31 05:21 CHANGELOG.md 05:26:20 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 31 05:21 Dockerfile 05:26:20 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 05:21 GOVERNANCE.md 05:26:20 -rw-rw-r-- 1 jenkins jenkins 660 Mar 31 05:21 Jenkinsfile 05:26:20 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 05:21 LICENSE 05:26:20 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 31 05:21 Makefile 05:26:20 -rw-rw-r-- 1 jenkins jenkins 623 Mar 31 05:21 OWNERS.md 05:26:20 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 31 05:21 README.md 05:26:20 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 05:19 VERSION 05:26:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 05:21 bin 05:26:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:21 cmd 05:26:20 -rw-r--r-- 1 jenkins jenkins 42791 Mar 31 05:25 coverage.out 05:26:20 -rw-rw-r-- 1 jenkins jenkins 3206 Mar 31 05:21 go.mod 05:26:20 -rw-rw-r-- 1 jenkins jenkins 30819 Mar 31 05:21 go.sum 05:26:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 05:21 internal 05:26:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 05:21 snap 05:26:20 -rw-rw-r-- 1 jenkins jenkins 235 Mar 31 05:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:20 + 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=b4d98899aab0c7c927e25cbe89fa42d73c353b84 --label arch=arm64 --label version=0.0.0 . 05:26:21 Sending build context to Docker daemon 11.96MB 05:26:21 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 05:26:21 Step 2/25 : FROM ${BASE} AS builder 05:26:21 ---> 13b28ebb1063 05:26:21 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:26:21 ---> Running in afc2a2fdf431 05:26:22 Removing intermediate container afc2a2fdf431 05:26:22 ---> 49b136dbfcf7 05:26:22 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 05:26:22 ---> Running in b495f4c52cab 05:26:22 Removing intermediate container b495f4c52cab 05:26:22 ---> 20263d1db805 05:26:22 Step 5/25 : ARG ADD_BUILD_TAGS="" 05:26:22 ---> Running in b94e61087964 05:26:22 Removing intermediate container b94e61087964 05:26:22 ---> c0c80b00de58 05:26:22 Step 6/25 : WORKDIR /device-virtual-go 05:26:22 ---> Running in bb22a013c965 05:26:23 Removing intermediate container bb22a013c965 05:26:23 ---> 81d32651f80d 05:26:23 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:26:23 ---> Running in d96cd16165f5 05:26:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:26:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:26:25 OK: 268 MiB in 57 packages 05:26:27 Removing intermediate container d96cd16165f5 05:26:27 ---> c242f89c4e2f 05:26:27 Step 8/25 : COPY go.mod vendor* ./ 05:26:28 ---> 93f4873a25c5 05:26:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:26:28 ---> Running in 25296389ce67 05:26:32 Removing intermediate container 25296389ce67 05:26:32 ---> bf8d396b54b9 05:26:32 Step 10/25 : COPY . . 05:26:34 ---> 3f5ef3886aeb 05:26:34 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:26:34 ---> Running in 9256fc5dc459 05:26:34 Removing intermediate container 9256fc5dc459 05:26:34 ---> 7e99e9a59068 05:26:34 Step 12/25 : RUN $MAKE 05:26:34 ---> Running in ea2f084ab799 05:26:35 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 05:28:42 Removing intermediate container ea2f084ab799 05:28:42 ---> 4a553b69aa45 05:28:42 Step 13/25 : FROM alpine:3.17 05:28:42 3.17: Pulling from library/alpine 05:28:42 c41833b44d91: Pulling fs layer 05:28:42 c41833b44d91: Verifying Checksum 05:28:42 c41833b44d91: Download complete 05:28:42 c41833b44d91: Pull complete 05:28:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:28:42 Status: Downloaded newer image for alpine:3.17 05:28:42 ---> 51e60588ff2c 05:28:42 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 05:28:42 ---> Running in fb46b64a3277 05:28:42 Removing intermediate container fb46b64a3277 05:28:42 ---> 0224cf46b159 05:28:42 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:28:42 ---> Running in 3e5c5be10502 05:28:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:28:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:28:42 (1/1) Installing dumb-init (1.2.5-r2) 05:28:42 Executing busybox-1.35.0-r29.trigger 05:28:42 OK: 8 MiB in 16 packages 05:28:42 Removing intermediate container 3e5c5be10502 05:28:42 ---> f6aa406e85e0 05:28:42 Step 16/25 : WORKDIR / 05:28:42 ---> Running in 9d6c07ac9e7a 05:28:42 Removing intermediate container 9d6c07ac9e7a 05:28:42 ---> 7e602134b774 05:28:42 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 05:28:42 ---> 400e88de1d17 05:28:42 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 05:28:43 ---> f289f4a0a807 05:28:43 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 05:28:44 ---> f4e9696302fe 05:28:44 Step 20/25 : EXPOSE 59900 05:28:44 ---> Running in d5241b8b71ee 05:28:45 Removing intermediate container d5241b8b71ee 05:28:45 ---> 5b2ca374c5a6 05:28:45 Step 21/25 : ENTRYPOINT ["/device-virtual"] 05:28:45 ---> Running in 248d230db704 05:28:45 Removing intermediate container 248d230db704 05:28:45 ---> 1bea169bfb4d 05:28:45 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 05:28:45 ---> Running in ddee4ced5659 05:28:46 Removing intermediate container ddee4ced5659 05:28:46 ---> ff2245aea9b1 05:28:46 Step 23/25 : LABEL arch=arm64 05:28:46 ---> Running in fc3b47728d99 05:28:46 Removing intermediate container fc3b47728d99 05:28:46 ---> d7f0501edd86 05:28:46 Step 24/25 : LABEL git_sha=b4d98899aab0c7c927e25cbe89fa42d73c353b84 05:28:46 ---> Running in a6bb16757fce 05:28:46 Removing intermediate container a6bb16757fce 05:28:46 ---> dff14525343d 05:28:46 Step 25/25 : LABEL version=0.0.0 05:28:46 ---> Running in 8b8d0fd0cc6a 05:28:46 Removing intermediate container 8b8d0fd0cc6a 05:28:46 ---> 4eebd04c89bf 05:28:46 [Warning] One or more build-args [ARCH] were not consumed 05:28:46 Successfully built 4eebd04c89bf 05:28:46 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 05:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:28:47 05:28:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:28:47 arm64: Pulling from edgex-lftools-log-publisher 05:28:47 8998bd30e6a1: Pulling fs layer 05:28:47 04944245beec: Pulling fs layer 05:28:47 699f458cf7ca: Pulling fs layer 05:28:47 765212b225bb: Pulling fs layer 05:28:47 f23df028b6ca: Pulling fs layer 05:28:47 d65c8cfc05b1: Pulling fs layer 05:28:47 2437ff75d9bd: Pulling fs layer 05:28:47 765212b225bb: Waiting 05:28:47 f23df028b6ca: Waiting 05:28:47 d65c8cfc05b1: Waiting 05:28:47 2437ff75d9bd: Waiting 05:28:48 04944245beec: Verifying Checksum 05:28:48 04944245beec: Download complete 05:28:48 765212b225bb: Verifying Checksum 05:28:48 765212b225bb: Download complete 05:28:48 f23df028b6ca: Verifying Checksum 05:28:48 f23df028b6ca: Download complete 05:28:48 d65c8cfc05b1: Download complete 05:28:48 699f458cf7ca: Verifying Checksum 05:28:48 699f458cf7ca: Download complete 05:28:48 8998bd30e6a1: Verifying Checksum 05:28:48 8998bd30e6a1: Download complete 05:28:51 2437ff75d9bd: Download complete 05:28:52 8998bd30e6a1: Pull complete 05:28:53 04944245beec: Pull complete 05:28:54 699f458cf7ca: Pull complete 05:28:54 765212b225bb: Pull complete 05:28:55 f23df028b6ca: Pull complete 05:28:55 d65c8cfc05b1: Pull complete 05:29:11 2437ff75d9bd: Pull complete 05:29:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:29:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:12 prd-ubuntu20.04-docker-arm64-4c-16g-6534 does not seem to be running inside a container 05:29:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/3 -v /w/workspace/device-virtual-go/3:/w/workspace/device-virtual-go/3:rw,z -v /w/workspace/device-virtual-go/3@tmp:/w/workspace/device-virtual-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:29:14 $ docker top 56e7464f1e433d317959bbf1fc1eeafa0304d11dd6593a78dcc9ebff26b468a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:29:15 ---> job-cost.sh 05:29:15 lf-activate-venv: SKIPPING 05:29:15 INFO: No Stack... 05:29:15 INFO: Retrieving Pricing Info for: v3-standard-4 05:29:16 INFO: Archiving Costs [Pipeline] sh 05:29:16 + cat /w/workspace/device-virtual-go/3/archives/cost.csv 05:29:16 + cut -d, -f6 [Pipeline] lock 05:29:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-373-3-stack-cost] 05:29:17 Resource [jenkins-edgexfoundry-device-virtual-go-PR-373-3-stack-cost] did not exist. Created. 05:29:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-373-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:29:17 /w/workspace/device-virtual-go/3@tmp/durable-be3005f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:29:18 + echo total: 0.10999999940395355 [Pipeline] stash 05:29:18 Warning: overwriting stash ‘stack-cost’ 05:29:18 Stashed 1 file(s) [Pipeline] } 05:29:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-373-3-stack-cost] [Pipeline] // lock [Pipeline] } 05:29:18 $ docker stop --time=1 56e7464f1e433d317959bbf1fc1eeafa0304d11dd6593a78dcc9ebff26b468a0 05:29:19 $ docker rm -f --volumes 56e7464f1e433d317959bbf1fc1eeafa0304d11dd6593a78dcc9ebff26b468a0 [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 05:29:20 provisioning config files... 05:29:20 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-373@tmp/config8616660715660714116tmp [Pipeline] { [Pipeline] sh 05:29:20 + set +x 05:29:20 + curl -s https://codecov.io/bash 05:29:20 + bash -s -- 05:29:20 05:29:20 _____ _ 05:29:20 / ____| | | 05:29:20 | | ___ __| | ___ ___ _____ __ 05:29:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:29:20 | |___| (_) | (_| | __/ (_| (_) \ V / 05:29:20 \_____\___/ \__,_|\___|\___\___/ \_/ 05:29:20 Bash-1.0.6 05:29:20 05:29:20 05:29:20 ==> git version 2.25.1 found 05:29:20 ==> 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 05:29:20 Release-Date: 2020-01-08 05:29:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:29:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:29:20 ==> Jenkins CI detected. 05:29:20 current dir:  /w/workspace/foundry_device-virtual-go_PR-373 05:29:20 project root: . 05:29:20 --> token set from env 05:29:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:29:20 ==> Running gcov in . (disable via -X gcov) 05:29:20 ==> Python coveragepy not found 05:29:20 ==> Searching for coverage reports in: 05:29:20 + . 05:29:20 -> Found 1 reports 05:29:20 ==> Detecting git/mercurial file structure 05:29:20 ==> Reading reports 05:29:20 + ./coverage.out bytes=42791 05:29:20 ==> Appending adjustments 05:29:20 https://docs.codecov.io/docs/fixing-reports 05:29:20 + Found adjustments 05:29:20 ==> Gzipping contents 05:29:20 8.0K /tmp/codecov.pWApue.gz 05:29:20 ==> Uploading reports 05:29:20 url: https://codecov.io 05:29:20 query: branch=PR-373&commit=b4d98899aab0c7c927e25cbe89fa42d73c353b84&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-373%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=373&job=&cmd_args= 05:29:20 -> Pinging Codecov 05:29:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-373&commit=b4d98899aab0c7c927e25cbe89fa42d73c353b84&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-373%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=373&job=&cmd_args= 05:29:20 -> Uploading to 05:29:20 https://storage.googleapis.com/codecov/v4/raw/2023-03-31/5E52B4B073DB2E39498172D8E973AA87/b4d98899aab0c7c927e25cbe89fa42d73c353b84/3eec4fc2-8046-4b09-9b2f-1c0e9a59951d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230331T052920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2477163c995e9abdba591103007101070265fbdc56d9c84700b8ce7e81eab381 05:29:20 % Total % Received % Xferd Average Speed Time Time Time Current 05:29:20 Dload Upload Total Spent Left Speed 05:29:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5177 0 0 100 5177 0 19389 --:--:-- --:--:-- --:--:-- 19389 05:29:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b4d98899aab0c7c927e25cbe89fa42d73c353b84 [Pipeline] } 05:29:21 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 05:29:21 + [ -d /w/workspace/foundry_device-virtual-go_PR-373/archives ] 05:29:21 + ls -al /w/workspace/foundry_device-virtual-go_PR-373/archives 05:29:21 total 16 05:29:21 drwxr-xr-x 3 root root 4096 Mar 31 05:21 . 05:29:21 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 05:21 .. 05:29:21 drwxr-xr-x 2 root root 4096 Mar 31 05:21 cost 05:29:21 -rw-r--r-- 1 root root 89 Mar 31 05:21 cost.csv 05:29:21 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-373/archives 05:29:21 + ls -al /w/workspace/foundry_device-virtual-go_PR-373/archives 05:29:21 total 16 05:29:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 05:21 . 05:29:21 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 05:21 .. 05:29:21 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 05:21 cost 05:29:21 -rw-r--r-- 1 jenkins jenkins 89 Mar 31 05:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:29:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:29:23 ---> package-listing.sh 05:29:23 ++ facter osfamily 05:29:23 ++ tr '[:upper:]' '[:lower:]' 05:29:23 + OS_FAMILY=debian 05:29:23 + workspace=/w/workspace/foundry_device-virtual-go_PR-373 05:29:23 + START_PACKAGES=/tmp/packages_start.txt 05:29:23 + END_PACKAGES=/tmp/packages_end.txt 05:29:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:29:23 + PACKAGES=/tmp/packages_start.txt 05:29:23 + '[' /w/workspace/foundry_device-virtual-go_PR-373 ']' 05:29:23 + PACKAGES=/tmp/packages_end.txt 05:29:23 + case "${OS_FAMILY}" in 05:29:23 + dpkg -l 05:29:23 + grep '^ii' 05:29:23 + '[' -f /tmp/packages_start.txt ']' 05:29:23 + '[' -f /tmp/packages_end.txt ']' 05:29:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:29:23 + '[' /w/workspace/foundry_device-virtual-go_PR-373 ']' 05:29:23 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-373/archives/ 05:29:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-373/archives/ [Pipeline] echo 05:29:23 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-373/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:29:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:29:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:29:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:29:24 prd-ubuntu20.04-docker-8c-8g-6533 does not seem to be running inside a container 05:29:24 $ 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-373/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-373 -v /w/workspace/foundry_device-virtual-go_PR-373:/w/workspace/foundry_device-virtual-go_PR-373:rw,z -v /w/workspace/foundry_device-virtual-go_PR-373@tmp:/w/workspace/foundry_device-virtual-go_PR-373@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:29:24 $ docker top 4d48f25523c1cc65ce5f1ecfc9ab8aa4040ba817128ad659e806906d22dd56af -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:24 + touch /tmp/pre-build-complete [Pipeline] sh 05:29:25 + mkdir -p /var/log/sysstat [Pipeline] sh 05:29:25 + ls /var/log/sa-host 05:29:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:25 provisioning config files... 05:29:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-373@tmp/config14618432249658194131tmp [Pipeline] { [Pipeline] echo 05:29:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:29:25 ---> create-netrc.sh [Pipeline] } 05:29:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:29:26 ---> python-tools-install.sh [Pipeline] echo 05:29:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:29:26 ---> sudo-logs.sh 05:29:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:29:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:29:26 ---> job-cost.sh 05:29:26 lf-activate-venv: SKIPPING 05:29:26 DEBUG: total: 0.2199999988079071 05:29:26 INFO: Retrieving Stack Cost... 05:29:27 INFO: Retrieving Pricing Info for: v3-standard-8 05:29:27 INFO: Archiving Costs [Pipeline] echo 05:29:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:29:27 ---> logs-deploy.sh 05:29:27 lf-activate-venv: SKIPPING 05:29:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-373/3 05:29:27 INFO: archiving workspace using pattern(s): 05:29:28 Archives upload complete. 05:29:28 INFO: archiving logs to Nexus