Pull request #388 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0+afca5dd35944e70aeaf084f770d24917f4059b9f (f79857a5d1039f29959fa82453c3bce036e460fa) 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-ssh843308280855009918.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8736947936158263458.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-388/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-388/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6374846690806174980.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1628060509866999143.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-388/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-388/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15075223612141402693.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9302 in /w/workspace/foundry_device-virtual-go_PR-388 [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-388 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit afca5dd35944e70aeaf084f770d24917f4059b9f into PR head commit 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 Merge succeeded, producing 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 Checking out Revision 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 (PR-388) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > 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/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 # 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 afca5dd35944e70aeaf084f770d24917f4059b9f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 # timeout=10 > git rev-list --no-walk f12b1023e89ed6cefa92fcdfc09c8c7ded3ad308 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:53:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:53:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:53:20 ========================================================= 14:53:20 EdgeX Global Pipelines Version Info 14:53:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:53:21 ------------------- 14:53:21 stable info: 14:53:21 ------------------- 14:53:21 Commited By: Bill Mahoney bill.mahoney@intel.com 14:53:21 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 14:53:21 Message: update stable to v1.0.248 14:53:21 ------------------- 14:53:21 experimental info: 14:53:21 ------------------- 14:53:21 Commited By: **** collab-it+edgex@linuxfoundation.org 14:53:21 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 14:53:21 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:53:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-388 [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-388 [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-388 [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ed091c [Pipeline] echo 14:53:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:53:22 provisioning config files... 14:53:22 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-388@tmp/config5853287559348104854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:53:22 ---> docker-login.sh 14:53:22 nexus3.edgexfoundry.org:10001 14:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:22 Configure a credential helper to remove this warning. See 14:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:22 14:53:22 Login Succeeded 14:53:22 nexus3.edgexfoundry.org:10002 14:53:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:22 Configure a credential helper to remove this warning. See 14:53:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:22 14:53:22 Login Succeeded 14:53:22 nexus3.edgexfoundry.org:10003 14:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:23 Configure a credential helper to remove this warning. See 14:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:23 14:53:23 Login Succeeded 14:53:23 nexus3.edgexfoundry.org:10004 14:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:23 Configure a credential helper to remove this warning. See 14:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:23 14:53:23 Login Succeeded 14:53:23 docker.io 14:53:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:23 Configure a credential helper to remove this warning. See 14:53:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:23 14:53:23 Login Succeeded 14:53:23 ---> docker-login.sh ends [Pipeline] } 14:53:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:53:23 + git rev-list -1 --merges 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0~1..9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 [Pipeline] echo 14:53:23 -----------> git rev-list -1 --merges 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0~1..9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 [false] [Pipeline] sh 14:53:24 + git log --format=format:%s -1 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 [Pipeline] echo 14:53:24 ========================================================= 14:53:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:53:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:53:24 + git log --format=format:%s -1 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 [Pipeline] echo 14:53:24 [semverPrep] GIT_COMMIT: 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 14:53:24 [semverPrep] This is not a build commit. [Pipeline] sh 14:53:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:53:24 + grep -v github /etc/ssh/ssh_known_hosts 14:53:24 + [ -e /tmp/ssh_known_hosts ] 14:53:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:53:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:53:24 + sudo tee -a /etc/ssh/ssh_known_hosts 14:53:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:53:25 14:53:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:53:25 0.1.4: Pulling from edgex-devops/py-git-semver 14:53:25 b85a868b505f: Pulling fs layer 14:53:25 e2be974225ed: Pulling fs layer 14:53:25 339a4e72a1f5: Pulling fs layer 14:53:25 988bab9f4d93: Pulling fs layer 14:53:25 1469e6f7b9e6: Pulling fs layer 14:53:25 eaf3925da568: Pulling fs layer 14:53:25 bab4dde63d76: Pulling fs layer 14:53:25 bde34c3a00c8: Pulling fs layer 14:53:25 b352a97aabf1: Pulling fs layer 14:53:25 4872d77fe225: Pulling fs layer 14:53:25 5851b861e8e6: Pulling fs layer 14:53:25 988bab9f4d93: Waiting 14:53:25 1469e6f7b9e6: Waiting 14:53:25 eaf3925da568: Waiting 14:53:25 bab4dde63d76: Waiting 14:53:25 bde34c3a00c8: Waiting 14:53:25 5851b861e8e6: Waiting 14:53:25 e2be974225ed: Verifying Checksum 14:53:25 e2be974225ed: Download complete 14:53:25 988bab9f4d93: Download complete 14:53:25 1469e6f7b9e6: Verifying Checksum 14:53:25 1469e6f7b9e6: Download complete 14:53:25 eaf3925da568: Verifying Checksum 14:53:25 eaf3925da568: Download complete 14:53:25 339a4e72a1f5: Verifying Checksum 14:53:25 339a4e72a1f5: Download complete 14:53:25 bde34c3a00c8: Verifying Checksum 14:53:25 b352a97aabf1: Verifying Checksum 14:53:25 b352a97aabf1: Download complete 14:53:25 4872d77fe225: Verifying Checksum 14:53:25 4872d77fe225: Download complete 14:53:25 5851b861e8e6: Verifying Checksum 14:53:25 5851b861e8e6: Download complete 14:53:25 b85a868b505f: Download complete 14:53:26 bab4dde63d76: Verifying Checksum 14:53:26 bab4dde63d76: Download complete 14:53:27 b85a868b505f: Pull complete 14:53:27 e2be974225ed: Pull complete 14:53:27 339a4e72a1f5: Pull complete 14:53:27 988bab9f4d93: Pull complete 14:53:28 1469e6f7b9e6: Pull complete 14:53:28 eaf3925da568: Pull complete 14:53:29 bab4dde63d76: Pull complete 14:53:29 bde34c3a00c8: Pull complete 14:53:29 b352a97aabf1: Pull complete 14:53:29 4872d77fe225: Pull complete 14:53:29 5851b861e8e6: Pull complete 14:53:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:53:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:53:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:53:30 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 14:53:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-388 -v /w/workspace/foundry_device-virtual-go_PR-388:/w/workspace/foundry_device-virtual-go_PR-388:rw,z -v /w/workspace/foundry_device-virtual-go_PR-388@tmp:/w/workspace/foundry_device-virtual-go_PR-388@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 14:53:35 $ docker top b765c8a480780bfdd095bb8b18628fe462b87887db988ecf9e2bda02fef07782 -eo pid,comm 14:53:35 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). 14:53:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:53:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:53:35 [ssh-agent] Looking for ssh-agent implementation... 14:53:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:53:35 $ docker exec b765c8a480780bfdd095bb8b18628fe462b87887db988ecf9e2bda02fef07782 ssh-agent 14:53:35 SSH_AUTH_SOCK=/tmp/ssh-RLkvmXoVERP8/agent.33 14:53:35 SSH_AGENT_PID=39 14:53:35 Running ssh-add (command line suppressed) 14:53:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-388@tmp/private_key_15861111091689584633.key (/w/workspace/foundry_device-virtual-go_PR-388@tmp/private_key_15861111091689584633.key) 14:53:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:53:36 + git tag --points-at HEAD [Pipeline] } 14:53:36 $ docker exec --env ******** --env ******** b765c8a480780bfdd095bb8b18628fe462b87887db988ecf9e2bda02fef07782 ssh-agent -k 14:53:36 unset SSH_AUTH_SOCK; 14:53:36 unset SSH_AGENT_PID; 14:53:36 echo Agent pid 39 killed; 14:53:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:53:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:53:36 [ssh-agent] Looking for ssh-agent implementation... 14:53:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:53:36 $ docker exec b765c8a480780bfdd095bb8b18628fe462b87887db988ecf9e2bda02fef07782 ssh-agent 14:53:36 SSH_AUTH_SOCK=/tmp/ssh-IKzUtvj9Ewcs/agent.71 14:53:36 SSH_AGENT_PID=77 14:53:36 Running ssh-add (command line suppressed) 14:53:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-388@tmp/private_key_5442230440397985019.key (/w/workspace/foundry_device-virtual-go_PR-388@tmp/private_key_5442230440397985019.key) 14:53:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:53:37 + git semver init 14:53:37 2023-04-21 14:53:37,463 [run_init] DEBUG init version:0.0.0 force:False 14:53:37 2023-04-21 14:53:37,465 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-388/.semver 14:53:37 2023-04-21 14:53:37,466 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-388/.semver 14:53:37 2023-04-21 14:53:37,467 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-388/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-388, universal_newlines=False, shell=None, istream=None) 14:53:38 2023-04-21 14:53:38,718 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-388/.git/info/exclude 14:53:38 2023-04-21 14:53:38,719 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-388/.semver/PR-388 with force:False 14:53:38 2023-04-21 14:53:38,719 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-388/.semver/PR-388 14:53:38 2023-04-21 14:53:38,723 [execute] INFO git cat-file --batch-check 14:53:38 2023-04-21 14:53:38,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-388/.semver, universal_newlines=False, shell=None, istream=) 14:53:38 2023-04-21 14:53:38,728 [execute] INFO git cat-file --batch 14:53:38 2023-04-21 14:53:38,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-388/.semver, universal_newlines=False, shell=None, istream=) 14:53:38 2023-04-21 14:53:38,734 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-388/.semver/PR-388 14:53:38 0.0.0 [Pipeline] } 14:53:38 $ docker exec --env ******** --env ******** b765c8a480780bfdd095bb8b18628fe462b87887db988ecf9e2bda02fef07782 ssh-agent -k 14:53:38 unset SSH_AUTH_SOCK; 14:53:38 unset SSH_AGENT_PID; 14:53:38 echo Agent pid 77 killed; 14:53:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:53:39 + git semver [Pipeline] } 14:53:39 $ docker stop --time=1 b765c8a480780bfdd095bb8b18628fe462b87887db988ecf9e2bda02fef07782 14:53:40 $ docker rm -f --volumes b765c8a480780bfdd095bb8b18628fe462b87887db988ecf9e2bda02fef07782 [Pipeline] // withDockerContainer [Pipeline] sh 14:53:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:53:41 Stashed 1 file(s) [Pipeline] echo 14:53:41 [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 14:53:41 provisioning config files... 14:53:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-388@tmp/config1032593424180828733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:53:41 ---> docker-login.sh 14:53:41 nexus3.edgexfoundry.org:10001 14:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:41 Configure a credential helper to remove this warning. See 14:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:41 14:53:41 Login Succeeded 14:53:41 nexus3.edgexfoundry.org:10002 14:53:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:41 Configure a credential helper to remove this warning. See 14:53:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:41 14:53:41 Login Succeeded 14:53:41 nexus3.edgexfoundry.org:10003 14:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:42 Configure a credential helper to remove this warning. See 14:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:42 14:53:42 Login Succeeded 14:53:42 nexus3.edgexfoundry.org:10004 14:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:42 Configure a credential helper to remove this warning. See 14:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:42 14:53:42 Login Succeeded 14:53:42 docker.io 14:53:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:53:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:53:42 Configure a credential helper to remove this warning. See 14:53:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:53:42 14:53:42 Login Succeeded 14:53:42 ---> docker-login.sh ends [Pipeline] } 14:53:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:53:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:53:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:53:42 ========================================================= 14:53:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 14:53:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:53:42 + 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 . 14:53:42 Sending build context to Docker daemon 23.58MB 14:53:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:53:42 Step 2/12 : FROM ${BASE} AS builder 14:53:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 14:53:42 63b65145d645: Pulling fs layer 14:53:42 a2d21d5440eb: Pulling fs layer 14:53:42 935e6c44a52c: Pulling fs layer 14:53:42 94cc34f8dd06: Pulling fs layer 14:53:42 30dea6a524f1: Pulling fs layer 14:53:42 a2aff8979fd8: Pulling fs layer 14:53:42 6808be2612f2: Pulling fs layer 14:53:42 f25807f1079a: Pulling fs layer 14:53:42 a2aff8979fd8: Waiting 14:53:42 94cc34f8dd06: Waiting 14:53:42 f25807f1079a: Waiting 14:53:42 30dea6a524f1: Waiting 14:53:42 6808be2612f2: Waiting 14:53:43 a2d21d5440eb: Verifying Checksum 14:53:43 a2d21d5440eb: Download complete 14:53:43 94cc34f8dd06: Verifying Checksum 14:53:43 94cc34f8dd06: Download complete 14:53:43 30dea6a524f1: Verifying Checksum 14:53:43 30dea6a524f1: Download complete 14:53:43 63b65145d645: Verifying Checksum 14:53:43 63b65145d645: Download complete 14:53:43 a2aff8979fd8: Verifying Checksum 14:53:43 a2aff8979fd8: Download complete 14:53:43 63b65145d645: Pull complete 14:53:43 a2d21d5440eb: Pull complete 14:53:43 f25807f1079a: Verifying Checksum 14:53:43 f25807f1079a: Download complete 14:53:43 935e6c44a52c: Verifying Checksum 14:53:43 935e6c44a52c: Download complete 14:53:43 6808be2612f2: Verifying Checksum 14:53:43 6808be2612f2: Download complete 14:53:47 935e6c44a52c: Pull complete 14:53:47 94cc34f8dd06: Pull complete 14:53:47 30dea6a524f1: Pull complete 14:53:47 a2aff8979fd8: Pull complete 14:53:49 6808be2612f2: Pull complete 14:53:50 f25807f1079a: Pull complete 14:53:50 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 14:53:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 14:53:50 ---> 3b553350e43f 14:53:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:53:56 Still waiting to schedule task 14:53:56 ‘prd-centos7-blackbox-4c-2g-8594’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:53:56 ‘prd-centos7-blackbox-4c-2g-8595’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:53:56 ‘prd-ubuntu18.04-docker-8c-8g-9292’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:53:56 ‘prd-ubuntu18.04-docker-8c-8g-9293’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:53:56 ‘prd-ubuntu20.04-docker-8c-8g-9303’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:53:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9304’ is offline 14:53:58 ---> Running in cc1ef47fc543 14:53:58 Removing intermediate container cc1ef47fc543 14:53:58 ---> 0de9856322ad 14:53:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:53:58 ---> Running in e14af7400cd3 14:53:58 Removing intermediate container e14af7400cd3 14:53:58 ---> 175a4700be10 14:53:58 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:53:58 ---> Running in 9040556b8425 14:53:58 Removing intermediate container 9040556b8425 14:53:58 ---> 164f2b998181 14:53:58 Step 6/12 : WORKDIR /device-virtual-go 14:53:58 ---> Running in 45121a8fef55 14:53:58 Removing intermediate container 45121a8fef55 14:53:58 ---> 82d68944ffbd 14:53:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:53:58 ---> Running in 1ea7347dfe7f 14:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:53:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:53:59 (2/4) Installing libedit (20221030.3.1-r0) 14:53:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:53:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:53:59 Executing busybox-1.35.0-r29.trigger 14:53:59 OK: 269 MiB in 57 packages 14:54:00 Removing intermediate container 1ea7347dfe7f 14:54:00 ---> 375913e5f7ad 14:54:00 Step 8/12 : COPY go.mod vendor* ./ 14:54:00 ---> b4ccb14ce8e7 14:54:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:54:00 ---> Running in 34a165caabbb 14:54:57 Removing intermediate container 34a165caabbb 14:54:57 ---> 1981db3199d6 14:54:57 Step 10/12 : COPY . . 14:54:57 ---> ee1f10176a4f 14:54:57 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:54:57 ---> Running in 4bbdde4c4be3 14:54:57 Removing intermediate container 4bbdde4c4be3 14:54:57 ---> 865ef1b8ccc5 14:54:57 Step 12/12 : RUN $MAKE 14:54:57 ---> Running in 87f6d216dbb3 14:54:57 noop 14:54:57 Removing intermediate container 87f6d216dbb3 14:54:57 ---> 6944e474c536 14:54:57 Successfully built 6944e474c536 14:54:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:54:57 + docker inspect -f . ci-base-image-x86_64 14:54:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:54:57 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 14:54:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-388 -v /w/workspace/foundry_device-virtual-go_PR-388:/w/workspace/foundry_device-virtual-go_PR-388:rw,z -v /w/workspace/foundry_device-virtual-go_PR-388@tmp:/w/workspace/foundry_device-virtual-go_PR-388@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 14:54:57 $ docker top 090490594ddd99e555ab4a3aa33db5bd063db4a6ee63a1af7a69fa346b58843c -eo pid,comm [Pipeline] { [Pipeline] sh 14:54:58 + go version 14:54:58 go version go1.20.2 linux/amd64 [Pipeline] } 14:54:58 $ docker stop --time=1 090490594ddd99e555ab4a3aa33db5bd063db4a6ee63a1af7a69fa346b58843c 14:54:59 $ docker rm -f --volumes 090490594ddd99e555ab4a3aa33db5bd063db4a6ee63a1af7a69fa346b58843c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:54:59 + docker inspect -f . ci-base-image-x86_64 14:54:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:55:00 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 14:55:00 $ 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-388 -v /w/workspace/foundry_device-virtual-go_PR-388:/w/workspace/foundry_device-virtual-go_PR-388:rw,z -v /w/workspace/foundry_device-virtual-go_PR-388@tmp:/w/workspace/foundry_device-virtual-go_PR-388@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 14:55:00 $ docker top 8ccac9c34795b14cefa4aabd2432a41640c90ec5058170bd427ae2f65954a51b -eo pid,comm [Pipeline] { [Pipeline] sh 14:55:00 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-388 [Pipeline] fileExists [Pipeline] sh 14:55:01 + make test 14:55:01 go test ./... -coverprofile=coverage.out 14:55:05 ? github.com/edgexfoundry/device-virtual-go [no test files] 14:55:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 14:55:15 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements 14:55:20 go vet ./... 14:55:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:55:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:55:23 ./bin/test-attribution-txt.sh [Pipeline] echo 14:55:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:55:23 $ docker stop --time=1 8ccac9c34795b14cefa4aabd2432a41640c90ec5058170bd427ae2f65954a51b 14:55:28 $ docker rm -f --volumes 8ccac9c34795b14cefa4aabd2432a41640c90ec5058170bd427ae2f65954a51b [Pipeline] // withDockerContainer [Pipeline] sh 14:55:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:55:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:55:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:55:29 + ls -al . 14:55:29 total 192 14:55:29 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 14:55 . 14:55:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:53 .. 14:55:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:53 .git 14:55:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:53 .github 14:55:29 -rw-rw-r-- 1 jenkins jenkins 337 Apr 21 14:53 .gitignore 14:55:29 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 14:53 .golangci.yml 14:55:29 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 14:53 .semver 14:55:29 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 21 14:53 Attribution.txt 14:55:29 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 21 14:53 CHANGELOG.md 14:55:29 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 21 14:53 Dockerfile 14:55:29 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 14:53 GOVERNANCE.md 14:55:29 -rw-rw-r-- 1 jenkins jenkins 660 Apr 21 14:53 Jenkinsfile 14:55:29 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 14:53 LICENSE 14:55:29 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 21 14:53 Makefile 14:55:29 -rw-rw-r-- 1 jenkins jenkins 623 Apr 21 14:53 OWNERS.md 14:55:29 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 21 14:53 README.md 14:55:29 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 14:53 VERSION 14:55:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:53 bin 14:55:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:53 cmd 14:55:29 -rw-r--r-- 1 jenkins jenkins 43063 Apr 21 14:55 coverage.out 14:55:29 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 21 14:53 go.mod 14:55:29 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 21 14:53 go.sum 14:55:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:53 internal 14:55:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:53 snap 14:55:29 -rw-rw-r-- 1 jenkins jenkins 235 Apr 21 14:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:55:30 + 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=9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 --label arch=amd64 --label version=0.0.0 . 14:55:30 Sending build context to Docker daemon 23.62MB 14:55:30 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 14:55:30 Step 2/25 : FROM ${BASE} AS builder 14:55:30 ---> 6944e474c536 14:55:30 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:55:30 ---> Running in 55aab91a484c 14:55:30 Removing intermediate container 55aab91a484c 14:55:30 ---> 7ee5e0017df3 14:55:30 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 14:55:30 ---> Running in a45d2bbdaa94 14:55:30 Removing intermediate container a45d2bbdaa94 14:55:30 ---> e85ba186ff14 14:55:30 Step 5/25 : ARG ADD_BUILD_TAGS="" 14:55:30 ---> Running in c2500e80f7a0 14:55:30 Removing intermediate container c2500e80f7a0 14:55:30 ---> ea99cc3e1624 14:55:30 Step 6/25 : WORKDIR /device-virtual-go 14:55:30 ---> Running in b50169f5cfd3 14:55:30 Removing intermediate container b50169f5cfd3 14:55:30 ---> ce3470919508 14:55:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:55:30 ---> Running in 502ea03df58d 14:55:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:55:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:55:31 OK: 269 MiB in 57 packages 14:55:31 Removing intermediate container 502ea03df58d 14:55:31 ---> 9ae8a6e78ff6 14:55:31 Step 8/25 : COPY go.mod vendor* ./ 14:55:31 ---> 2e1c68d6e275 14:55:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:55:31 ---> Running in f07616b029ff 14:55:32 Removing intermediate container f07616b029ff 14:55:32 ---> 65fadcfd6ad8 14:55:32 Step 10/25 : COPY . . 14:55:33 ---> 655d12d76690 14:55:33 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:55:33 ---> Running in 700f4205819f 14:55:33 Removing intermediate container 700f4205819f 14:55:33 ---> de554b9a2bcd 14:55:33 Step 12/25 : RUN $MAKE 14:55:33 ---> Running in 7bc28209445c 14:55:33 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 14:56:00 Removing intermediate container 7bc28209445c 14:56:00 ---> 4e6f9db360a6 14:56:00 Step 13/25 : FROM alpine:3.17 14:56:00 3.17: Pulling from library/alpine 14:56:00 f56be85fc22e: Pulling fs layer 14:56:00 f56be85fc22e: Verifying Checksum 14:56:00 f56be85fc22e: Download complete 14:56:00 f56be85fc22e: Pull complete 14:56:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 14:56:00 Status: Downloaded newer image for alpine:3.17 14:56:00 ---> 9ed4aefc74f6 14:56:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 14:56:00 ---> Running in 0471313771b3 14:56:00 Removing intermediate container 0471313771b3 14:56:00 ---> a0b627c035bb 14:56:00 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:56:00 ---> Running in 702c4a94e0ed 14:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 14:56:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 14:56:00 (1/1) Installing dumb-init (1.2.5-r2) 14:56:00 Executing busybox-1.35.0-r29.trigger 14:56:00 OK: 7 MiB in 16 packages 14:56:00 Removing intermediate container 702c4a94e0ed 14:56:00 ---> 9c6f25fbc564 14:56:00 Step 16/25 : WORKDIR / 14:56:00 ---> Running in c6e15d5df8aa 14:56:00 Removing intermediate container c6e15d5df8aa 14:56:00 ---> 8f7c75b84656 14:56:00 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 14:56:00 ---> f21453865bed 14:56:00 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 14:56:00 ---> d779b9bf97ff 14:56:00 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 14:56:00 ---> 2d4a41ce389c 14:56:00 Step 20/25 : EXPOSE 59900 14:56:00 ---> Running in 5ca456bc50ed 14:56:00 Removing intermediate container 5ca456bc50ed 14:56:00 ---> bafe588d5cf1 14:56:00 Step 21/25 : ENTRYPOINT ["/device-virtual"] 14:56:00 ---> Running in bb3ac0e8de2c 14:56:00 Removing intermediate container bb3ac0e8de2c 14:56:00 ---> 99fc5c6109a3 14:56:00 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 14:56:00 ---> Running in 22379762a7fa 14:56:00 Removing intermediate container 22379762a7fa 14:56:00 ---> 87ca9ef020a4 14:56:00 Step 23/25 : LABEL arch=amd64 14:56:00 ---> Running in 15b740402e3e 14:56:00 Removing intermediate container 15b740402e3e 14:56:00 ---> 76a484e3c66b 14:56:00 Step 24/25 : LABEL git_sha=9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 14:56:00 ---> Running in 6c491d3886a3 14:56:00 Removing intermediate container 6c491d3886a3 14:56:00 ---> 1828c39bd0e0 14:56:00 Step 25/25 : LABEL version=0.0.0 14:56:00 ---> Running in b8efcf006702 14:56:00 Removing intermediate container b8efcf006702 14:56:00 ---> 35bb55cbbdc5 14:56:00 [Warning] One or more build-args [ARCH] were not consumed 14:56:00 Successfully built 35bb55cbbdc5 14:56:00 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 14:56:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:00 14:56:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:56:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:01 latest: Pulling from edgex-lftools-log-publisher 14:56:01 5eb5b503b376: Pulling fs layer 14:56:01 5c69ac0246d0: Pulling fs layer 14:56:01 ec43610c2a17: Pulling fs layer 14:56:01 3a2ae6a8a46f: Pulling fs layer 14:56:01 33b1e0a273af: Pulling fs layer 14:56:01 5d3b04190fa2: Pulling fs layer 14:56:01 2f39f015ded8: Pulling fs layer 14:56:01 5d3b04190fa2: Waiting 14:56:01 33b1e0a273af: Waiting 14:56:01 2f39f015ded8: Waiting 14:56:01 5c69ac0246d0: Verifying Checksum 14:56:01 5c69ac0246d0: Download complete 14:56:01 3a2ae6a8a46f: Verifying Checksum 14:56:01 3a2ae6a8a46f: Download complete 14:56:01 33b1e0a273af: Verifying Checksum 14:56:01 33b1e0a273af: Download complete 14:56:01 5d3b04190fa2: Download complete 14:56:01 ec43610c2a17: Verifying Checksum 14:56:01 ec43610c2a17: Download complete 14:56:01 5eb5b503b376: Verifying Checksum 14:56:01 5eb5b503b376: Download complete 14:56:01 2f39f015ded8: Download complete 14:56:02 5eb5b503b376: Pull complete 14:56:02 5c69ac0246d0: Pull complete 14:56:03 ec43610c2a17: Pull complete 14:56:03 3a2ae6a8a46f: Pull complete 14:56:03 33b1e0a273af: Pull complete 14:56:03 5d3b04190fa2: Pull complete 14:56:07 2f39f015ded8: Pull complete 14:56:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:56:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:56:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:56:07 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 14:56:07 $ 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-388 -v /w/workspace/foundry_device-virtual-go_PR-388:/w/workspace/foundry_device-virtual-go_PR-388:rw,z -v /w/workspace/foundry_device-virtual-go_PR-388@tmp:/w/workspace/foundry_device-virtual-go_PR-388@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 14:56:16 $ docker top f8baad6c6b2954c718a0ff13a464227d00b4f9641672ad5d929b2860da5e9bb5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:56:16 ---> job-cost.sh 14:56:16 lf-activate-venv: SKIPPING 14:56:16 INFO: No Stack... 14:56:17 INFO: Retrieving Pricing Info for: v3-standard-8 14:56:17 INFO: Archiving Costs [Pipeline] sh 14:56:17 + cut -d, -f6 14:56:17 + cat /w/workspace/foundry_device-virtual-go_PR-388/archives/cost.csv [Pipeline] lock 14:56:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-388-2-stack-cost] 14:56:17 Resource [jenkins-edgexfoundry-device-virtual-go-PR-388-2-stack-cost] did not exist. Created. 14:56:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-388-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:56:18 + echo total: 0.2199999988079071 [Pipeline] stash 14:56:18 Stashed 1 file(s) [Pipeline] } 14:56:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-388-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:56:18 $ docker stop --time=1 f8baad6c6b2954c718a0ff13a464227d00b4f9641672ad5d929b2860da5e9bb5 14:56:19 $ docker rm -f --volumes f8baad6c6b2954c718a0ff13a464227d00b4f9641672ad5d929b2860da5e9bb5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:56:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9307 in /w/workspace/foundry_device-virtual-go_PR-388 [Pipeline] { [Pipeline] ws 14:56:56 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 14:56:57 The recommended git tool is: git 14:57:03 using credential edgex-jenkins-ssh 14:57:03 Cloning the remote Git repository 14:57:03 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 14:57:04 > git init /w/workspace/device-virtual-go/2 # timeout=10 14:57:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:57:04 > git --version # timeout=10 14:57:04 > git --version # 'git version 2.25.1' 14:57:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:57:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:57:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:57:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:57:08 Merging remotes/origin/main commit afca5dd35944e70aeaf084f770d24917f4059b9f into PR head commit 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 14:57:08 Merge succeeded, producing 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 14:57:08 Checking out Revision 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 (PR-388) 14:57:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 14:57:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 14:57:07 using GIT_SSH to set credentials SSH Credentials for GitHub 14:57:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/388/head:refs/remotes/origin/PR-388 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:57:08 > git config core.sparsecheckout # timeout=10 14:57:08 > git checkout -f 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 # timeout=10 14:57:08 > git remote # timeout=10 14:57:08 > git config --get remote.origin.url # timeout=10 14:57:08 using GIT_SSH to set credentials SSH Credentials for GitHub 14:57:08 > git merge afca5dd35944e70aeaf084f770d24917f4059b9f # timeout=10 14:57:08 > git rev-parse HEAD^{commit} # timeout=10 14:57:08 > git config core.sparsecheckout # timeout=10 14:57:08 > git checkout -f 9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 # timeout=10 14:57:09 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 14:57:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:57:10 % Total % Received % Xferd Average Speed Time Time Time Current 14:57:10 Dload Upload Total Spent Left Speed 14:57:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 14:57:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:57:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:57:11 + sudo tee /etc/docker/daemon.new 14:57:11 { 14:57:11 "registry-mirrors": [ 14:57:11 "https://nexus3.edgexfoundry.org:10001" 14:57:11 ], 14:57:11 "bip": "10.250.0.254/24", 14:57:11 "hosts": [ 14:57:11 "tcp://0.0.0.0:5555", 14:57:11 "unix:///var/run/docker.sock" 14:57:11 ], 14:57:11 "mtu": 1458, 14:57:11 "selinux-enabled": true, 14:57:11 "seccomp-profile": "/etc/docker/seccomp.json" 14:57:11 } [Pipeline] sh 14:57:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:57:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:57:30 provisioning config files... 14:57:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config14044463354366301875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:57:30 ---> docker-login.sh 14:57:30 nexus3.edgexfoundry.org:10001 14:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:31 Configure a credential helper to remove this warning. See 14:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:31 14:57:31 Login Succeeded 14:57:31 nexus3.edgexfoundry.org:10002 14:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:32 Configure a credential helper to remove this warning. See 14:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:32 14:57:32 Login Succeeded 14:57:32 nexus3.edgexfoundry.org:10003 14:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:32 Configure a credential helper to remove this warning. See 14:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:32 14:57:32 Login Succeeded 14:57:32 nexus3.edgexfoundry.org:10004 14:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:32 Configure a credential helper to remove this warning. See 14:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:32 14:57:32 Login Succeeded 14:57:32 docker.io 14:57:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:57:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:57:33 Configure a credential helper to remove this warning. See 14:57:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:57:33 14:57:33 Login Succeeded 14:57:33 ---> docker-login.sh ends [Pipeline] } 14:57:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:57:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:57:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:57:33 ========================================================= 14:57:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 14:57:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:57:34 + 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 . 14:57:34 Sending build context to Docker daemon 11.94MB 14:57:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 14:57:34 Step 2/12 : FROM ${BASE} AS builder 14:57:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:57:34 af6eaf76a39c: Pulling fs layer 14:57:34 55522c791124: Pulling fs layer 14:57:34 ce5c4a1c91eb: Pulling fs layer 14:57:34 169dfbe0d373: Pulling fs layer 14:57:34 e1ff8fa3b103: Pulling fs layer 14:57:34 52ebb69f0ebf: Pulling fs layer 14:57:34 5abe8eddf0d5: Pulling fs layer 14:57:34 169dfbe0d373: Waiting 14:57:34 e1ff8fa3b103: Waiting 14:57:34 52ebb69f0ebf: Waiting 14:57:34 5abe8eddf0d5: Waiting 14:57:34 55522c791124: Download complete 14:57:34 169dfbe0d373: Verifying Checksum 14:57:34 169dfbe0d373: Download complete 14:57:34 e1ff8fa3b103: Verifying Checksum 14:57:34 e1ff8fa3b103: Download complete 14:57:35 af6eaf76a39c: Verifying Checksum 14:57:35 af6eaf76a39c: Download complete 14:57:36 af6eaf76a39c: Pull complete 14:57:36 5abe8eddf0d5: Verifying Checksum 14:57:36 5abe8eddf0d5: Download complete 14:57:36 55522c791124: Pull complete 14:57:37 ce5c4a1c91eb: Verifying Checksum 14:57:37 ce5c4a1c91eb: Download complete 14:57:37 52ebb69f0ebf: Verifying Checksum 14:57:37 52ebb69f0ebf: Download complete 14:57:50 ce5c4a1c91eb: Pull complete 14:57:50 169dfbe0d373: Pull complete 14:57:50 e1ff8fa3b103: Pull complete 14:57:57 52ebb69f0ebf: Pull complete 14:57:59 5abe8eddf0d5: Pull complete 14:57:59 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 14:57:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 14:57:59 ---> 6cb57ee374ae 14:57:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:58:01 ---> Running in 765f933b73de 14:58:01 Removing intermediate container 765f933b73de 14:58:01 ---> be3938c54dda 14:58:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 14:58:01 ---> Running in af6324a5a00b 14:58:02 Removing intermediate container af6324a5a00b 14:58:02 ---> 13a4ff47b486 14:58:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 14:58:02 ---> Running in b0cce0be6e5b 14:58:02 Removing intermediate container b0cce0be6e5b 14:58:02 ---> bd049258b005 14:58:02 Step 6/12 : WORKDIR /device-virtual-go 14:58:02 ---> Running in 28906c9e0049 14:58:03 Removing intermediate container 28906c9e0049 14:58:03 ---> 59d6cce3ae10 14:58:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:58:03 ---> Running in bbbd5d18be52 14:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 14:58:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 14:58:06 (1/4) Installing openssh-keygen (9.1_p1-r2) 14:58:06 (2/4) Installing libedit (20221030.3.1-r0) 14:58:06 (3/4) Installing openssh-client-common (9.1_p1-r2) 14:58:06 (4/4) Installing openssh-client-default (9.1_p1-r2) 14:58:06 Executing busybox-1.35.0-r29.trigger 14:58:06 OK: 268 MiB in 57 packages 14:58:07 Removing intermediate container bbbd5d18be52 14:58:07 ---> db9b899fc8e6 14:58:07 Step 8/12 : COPY go.mod vendor* ./ 14:58:07 ---> 5afbd424e926 14:58:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:58:08 ---> Running in 96edbb999712 14:59:29 Removing intermediate container 96edbb999712 14:59:29 ---> bd22c79df0ed 14:59:29 Step 10/12 : COPY . . 14:59:29 ---> ec4830f7a42d 14:59:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:59:29 ---> Running in ee7db30fff92 14:59:29 Removing intermediate container ee7db30fff92 14:59:29 ---> 94223651bb20 14:59:29 Step 12/12 : RUN $MAKE 14:59:29 ---> Running in 495073c377d8 14:59:29 noop 14:59:29 Removing intermediate container 495073c377d8 14:59:29 ---> f4f76058850c 14:59:29 Successfully built f4f76058850c 14:59:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:30 + docker inspect -f . ci-base-image-arm64 14:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:30 prd-ubuntu20.04-docker-arm64-4c-16g-9307 does not seem to be running inside a container 14:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:59:31 $ docker top 32241efc51ceadd91e183e9bf9fc1fba07fe4962f65b7a73e99e2bdc4858e389 -eo pid,comm [Pipeline] { [Pipeline] sh 14:59:32 + go version 14:59:32 go version go1.20.2 linux/arm64 [Pipeline] } 14:59:32 $ docker stop --time=1 32241efc51ceadd91e183e9bf9fc1fba07fe4962f65b7a73e99e2bdc4858e389 14:59:34 $ docker rm -f --volumes 32241efc51ceadd91e183e9bf9fc1fba07fe4962f65b7a73e99e2bdc4858e389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:35 + docker inspect -f . ci-base-image-arm64 14:59:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:35 prd-ubuntu20.04-docker-arm64-4c-16g-9307 does not seem to be running inside a container 14:59:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:59:36 $ docker top 935829cdbcb67fb200dd90cfafcc6d62139ba03e8a6e24f5dfc99cad10df1368 -eo pid,comm [Pipeline] { [Pipeline] sh 14:59:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 14:59:38 + make test 14:59:38 go test ./... -coverprofile=coverage.out 15:00:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:02:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:02:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.097s coverage: 58.4% of statements 15:02:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:02:38 go vet ./... 15:03:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:03:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:03:01 ./bin/test-attribution-txt.sh [Pipeline] echo 15:03:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:03:01 $ docker stop --time=1 935829cdbcb67fb200dd90cfafcc6d62139ba03e8a6e24f5dfc99cad10df1368 15:03:03 $ docker rm -f --volumes 935829cdbcb67fb200dd90cfafcc6d62139ba03e8a6e24f5dfc99cad10df1368 [Pipeline] // withDockerContainer [Pipeline] sh 15:03:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:03:04 Warning: overwriting stash ‘coverage-report’ 15:03:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:03:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:03:05 + ls -al . 15:03:05 total 188 15:03:05 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:59 . 15:03:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:57 .. 15:03:05 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 14:57 .git 15:03:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:57 .github 15:03:05 -rw-rw-r-- 1 jenkins jenkins 337 Apr 21 14:57 .gitignore 15:03:05 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 14:57 .golangci.yml 15:03:05 -rw-rw-r-- 1 jenkins jenkins 8652 Apr 21 14:57 Attribution.txt 15:03:05 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 21 14:57 CHANGELOG.md 15:03:05 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 21 14:57 Dockerfile 15:03:05 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 14:57 GOVERNANCE.md 15:03:05 -rw-rw-r-- 1 jenkins jenkins 660 Apr 21 14:57 Jenkinsfile 15:03:05 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 14:57 LICENSE 15:03:05 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 21 14:57 Makefile 15:03:05 -rw-rw-r-- 1 jenkins jenkins 623 Apr 21 14:57 OWNERS.md 15:03:05 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 21 14:57 README.md 15:03:05 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 14:53 VERSION 15:03:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 14:57 bin 15:03:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:57 cmd 15:03:05 -rw-r--r-- 1 jenkins jenkins 43063 Apr 21 15:02 coverage.out 15:03:05 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 21 14:57 go.mod 15:03:05 -rw-rw-r-- 1 jenkins jenkins 31109 Apr 21 14:57 go.sum 15:03:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 14:57 internal 15:03:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 14:57 snap 15:03:05 -rw-rw-r-- 1 jenkins jenkins 235 Apr 21 14:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:05 + 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=9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 --label arch=arm64 --label version=0.0.0 . 15:03:06 Sending build context to Docker daemon 11.99MB 15:03:06 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:03:06 Step 2/25 : FROM ${BASE} AS builder 15:03:06 ---> f4f76058850c 15:03:06 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:03:06 ---> Running in cc8465daf098 15:03:06 Removing intermediate container cc8465daf098 15:03:06 ---> a0ab8f38b91a 15:03:06 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:03:06 ---> Running in 481f10192b16 15:03:07 Removing intermediate container 481f10192b16 15:03:07 ---> 4b5c6d402a8c 15:03:07 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:03:07 ---> Running in 71ca1d45bdd9 15:03:07 Removing intermediate container 71ca1d45bdd9 15:03:07 ---> a2540d46c99e 15:03:07 Step 6/25 : WORKDIR /device-virtual-go 15:03:07 ---> Running in 48b695739046 15:03:08 Removing intermediate container 48b695739046 15:03:08 ---> a7e150557a9a 15:03:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:03:08 ---> Running in 98d2484e9ec2 15:03:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:03:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:03:11 OK: 268 MiB in 57 packages 15:03:11 Removing intermediate container 98d2484e9ec2 15:03:11 ---> 48ba2210d607 15:03:11 Step 8/25 : COPY go.mod vendor* ./ 15:03:12 ---> 2db5f76ed93e 15:03:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:03:12 ---> Running in 90f1861180ea 15:03:14 Removing intermediate container 90f1861180ea 15:03:14 ---> 60d5a3725446 15:03:14 Step 10/25 : COPY . . 15:03:16 ---> 130038bf73ff 15:03:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:03:16 ---> Running in a82a74663fda 15:03:16 Removing intermediate container a82a74663fda 15:03:16 ---> 20bbda55ccfd 15:03:16 Step 12/25 : RUN $MAKE 15:03:16 ---> Running in 696b5f43de3a 15:03:17 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 15:05:39 Removing intermediate container 696b5f43de3a 15:05:39 ---> 15710f465374 15:05:39 Step 13/25 : FROM alpine:3.17 15:05:39 3.17: Pulling from library/alpine 15:05:39 c41833b44d91: Pulling fs layer 15:05:39 c41833b44d91: Verifying Checksum 15:05:39 c41833b44d91: Download complete 15:05:39 c41833b44d91: Pull complete 15:05:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:05:39 Status: Downloaded newer image for alpine:3.17 15:05:39 ---> 51e60588ff2c 15:05:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:05:39 ---> Running in 68f007fb9e36 15:05:40 Removing intermediate container 68f007fb9e36 15:05:40 ---> 510e18ee1427 15:05:40 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:05:40 ---> Running in 49179e0381e1 15:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:05:43 (1/1) Installing dumb-init (1.2.5-r2) 15:05:43 Executing busybox-1.35.0-r29.trigger 15:05:43 OK: 8 MiB in 16 packages 15:05:44 Removing intermediate container 49179e0381e1 15:05:44 ---> 33d09cd2ce10 15:05:44 Step 16/25 : WORKDIR / 15:05:44 ---> Running in 5140396cd28d 15:05:44 Removing intermediate container 5140396cd28d 15:05:44 ---> 4284c72788d2 15:05:44 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:05:45 ---> 03e99b3f788e 15:05:45 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:05:45 ---> 8b16abd9db8b 15:05:45 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:05:47 ---> 890c67b36cb5 15:05:47 Step 20/25 : EXPOSE 59900 15:05:47 ---> Running in c2946b5ff573 15:05:47 Removing intermediate container c2946b5ff573 15:05:47 ---> 5e7ecd67e4b9 15:05:47 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:05:47 ---> Running in abc12a85602b 15:05:47 Removing intermediate container abc12a85602b 15:05:47 ---> a5cc75ee9c87 15:05:47 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:05:47 ---> Running in 4e9ed9fbc424 15:05:48 Removing intermediate container 4e9ed9fbc424 15:05:48 ---> d55b0f348f0d 15:05:48 Step 23/25 : LABEL arch=arm64 15:05:48 ---> Running in 46d62deb6b93 15:05:48 Removing intermediate container 46d62deb6b93 15:05:48 ---> 4467b0996ae5 15:05:48 Step 24/25 : LABEL git_sha=9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 15:05:48 ---> Running in e59da58a65e6 15:05:49 Removing intermediate container e59da58a65e6 15:05:49 ---> e2c544ea9ed9 15:05:49 Step 25/25 : LABEL version=0.0.0 15:05:49 ---> Running in cb33494ef354 15:05:49 Removing intermediate container cb33494ef354 15:05:49 ---> 706e806a5de0 15:05:49 [Warning] One or more build-args [ARCH] were not consumed 15:05:49 Successfully built 706e806a5de0 15:05:49 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 15:05:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:05:50 15:05:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:05:50 arm64: Pulling from edgex-lftools-log-publisher 15:05:50 8998bd30e6a1: Pulling fs layer 15:05:50 04944245beec: Pulling fs layer 15:05:50 699f458cf7ca: Pulling fs layer 15:05:50 765212b225bb: Pulling fs layer 15:05:50 f23df028b6ca: Pulling fs layer 15:05:50 d65c8cfc05b1: Pulling fs layer 15:05:50 2437ff75d9bd: Pulling fs layer 15:05:50 765212b225bb: Waiting 15:05:50 f23df028b6ca: Waiting 15:05:50 d65c8cfc05b1: Waiting 15:05:50 2437ff75d9bd: Waiting 15:05:50 04944245beec: Verifying Checksum 15:05:50 04944245beec: Download complete 15:05:50 765212b225bb: Verifying Checksum 15:05:50 765212b225bb: Download complete 15:05:50 f23df028b6ca: Verifying Checksum 15:05:50 f23df028b6ca: Download complete 15:05:50 d65c8cfc05b1: Verifying Checksum 15:05:50 d65c8cfc05b1: Download complete 15:05:50 699f458cf7ca: Verifying Checksum 15:05:50 699f458cf7ca: Download complete 15:05:51 8998bd30e6a1: Download complete 15:05:53 2437ff75d9bd: Verifying Checksum 15:05:53 2437ff75d9bd: Download complete 15:05:55 8998bd30e6a1: Pull complete 15:05:55 04944245beec: Pull complete 15:05:57 699f458cf7ca: Pull complete 15:05:57 765212b225bb: Pull complete 15:05:58 f23df028b6ca: Pull complete 15:05:58 d65c8cfc05b1: Pull complete 15:06:13 2437ff75d9bd: Pull complete 15:06:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:06:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:06:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:13 prd-ubuntu20.04-docker-arm64-4c-16g-9307 does not seem to be running inside a container 15:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:06:16 $ docker top d0fa1c553f79d74c792236e0548af5ebec54bb9d03c6dd93714693781e3feede -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:06:17 ---> job-cost.sh 15:06:17 lf-activate-venv: SKIPPING 15:06:17 INFO: No Stack... 15:06:17 INFO: Retrieving Pricing Info for: v3-standard-4 15:06:18 INFO: Archiving Costs [Pipeline] sh 15:06:18 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 15:06:18 + cut -d, -f6 [Pipeline] lock 15:06:18 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-388-2-stack-cost] 15:06:18 Resource [jenkins-edgexfoundry-device-virtual-go-PR-388-2-stack-cost] did not exist. Created. 15:06:18 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-388-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:06:19 /w/workspace/device-virtual-go/2@tmp/durable-9a1f2b68/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:06:19 + echo total: 0.10999999940395355 [Pipeline] stash 15:06:20 Warning: overwriting stash ‘stack-cost’ 15:06:20 Stashed 1 file(s) [Pipeline] } 15:06:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-388-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:06:20 $ docker stop --time=1 d0fa1c553f79d74c792236e0548af5ebec54bb9d03c6dd93714693781e3feede 15:06:21 $ docker rm -f --volumes d0fa1c553f79d74c792236e0548af5ebec54bb9d03c6dd93714693781e3feede [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 15:06:21 provisioning config files... 15:06:21 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-388@tmp/config499132926023676800tmp [Pipeline] { [Pipeline] sh 15:06:22 + set +x 15:06:22 + curl -s https://codecov.io/bash 15:06:22 + bash -s -- 15:06:22 15:06:22 _____ _ 15:06:22 / ____| | | 15:06:22 | | ___ __| | ___ ___ _____ __ 15:06:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:06:22 | |___| (_) | (_| | __/ (_| (_) \ V / 15:06:22 \_____\___/ \__,_|\___|\___\___/ \_/ 15:06:22 Bash-1.0.6 15:06:22 15:06:22 15:06:22 ==> git version 2.25.1 found 15:06:22 ==> 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 15:06:22 Release-Date: 2020-01-08 15:06:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:06:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:06:22 ==> Jenkins CI detected. 15:06:22 current dir:  /w/workspace/foundry_device-virtual-go_PR-388 15:06:22 project root: . 15:06:22 --> token set from env 15:06:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:06:22 ==> Running gcov in . (disable via -X gcov) 15:06:22 ==> Python coveragepy not found 15:06:22 ==> Searching for coverage reports in: 15:06:22 + . 15:06:22 -> Found 1 reports 15:06:22 ==> Detecting git/mercurial file structure 15:06:22 ==> Reading reports 15:06:22 + ./coverage.out bytes=43063 15:06:22 ==> Appending adjustments 15:06:22 https://docs.codecov.io/docs/fixing-reports 15:06:22 + Found adjustments 15:06:22 ==> Gzipping contents 15:06:22 8.0K /tmp/codecov.FgbPPM.gz 15:06:22 ==> Uploading reports 15:06:22 url: https://codecov.io 15:06:22 query: branch=PR-388&commit=9ed091cfedd5391a69a87b93ace4c3c5bd3013a0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-388%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=388&job=&cmd_args= 15:06:22 -> Pinging Codecov 15:06:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-388&commit=9ed091cfedd5391a69a87b93ace4c3c5bd3013a0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-388%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=388&job=&cmd_args= 15:06:22 -> Uploading to 15:06:22 https://storage.googleapis.com/codecov/v4/raw/2023-04-21/5E52B4B073DB2E39498172D8E973AA87/9ed091cfedd5391a69a87b93ace4c3c5bd3013a0/4fc2df70-337a-4725-b8ee-52d1fd68e730.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230421T150622Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff3b73c9db50ccae2cc65cca45440857d9d778acae68e2ea8f7d9bb1faa76c21 15:06:22 % Total % Received % Xferd Average Speed Time Time Time Current 15:06:22 Dload Upload Total Spent Left Speed 15:06:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 23889 --:--:-- --:--:-- --:--:-- 23889 15:06:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9ed091cfedd5391a69a87b93ace4c3c5bd3013a0 [Pipeline] } 15:06:22 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 15:06:23 + [ -d /w/workspace/foundry_device-virtual-go_PR-388/archives ] 15:06:23 + ls -al /w/workspace/foundry_device-virtual-go_PR-388/archives 15:06:23 total 16 15:06:23 drwxr-xr-x 3 root root 4096 Apr 21 14:56 . 15:06:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 14:56 .. 15:06:23 drwxr-xr-x 2 root root 4096 Apr 21 14:56 cost 15:06:23 -rw-r--r-- 1 root root 89 Apr 21 14:56 cost.csv 15:06:23 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-388/archives 15:06:23 + ls -al /w/workspace/foundry_device-virtual-go_PR-388/archives 15:06:23 total 16 15:06:23 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 14:56 . 15:06:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 14:56 .. 15:06:23 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 14:56 cost 15:06:23 -rw-r--r-- 1 jenkins jenkins 89 Apr 21 14:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:06:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:06:24 ---> package-listing.sh 15:06:24 ++ facter osfamily 15:06:24 ++ tr '[:upper:]' '[:lower:]' 15:06:24 + OS_FAMILY=debian 15:06:24 + workspace=/w/workspace/foundry_device-virtual-go_PR-388 15:06:24 + START_PACKAGES=/tmp/packages_start.txt 15:06:24 + END_PACKAGES=/tmp/packages_end.txt 15:06:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:06:24 + PACKAGES=/tmp/packages_start.txt 15:06:24 + '[' /w/workspace/foundry_device-virtual-go_PR-388 ']' 15:06:24 + PACKAGES=/tmp/packages_end.txt 15:06:24 + case "${OS_FAMILY}" in 15:06:24 + dpkg -l 15:06:24 + grep '^ii' 15:06:24 + '[' -f /tmp/packages_start.txt ']' 15:06:24 + '[' -f /tmp/packages_end.txt ']' 15:06:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:06:24 + '[' /w/workspace/foundry_device-virtual-go_PR-388 ']' 15:06:24 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-388/archives/ 15:06:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-388/archives/ [Pipeline] echo 15:06:24 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-388/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:06:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:06:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:25 prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container 15:06:25 $ 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-388/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-388 -v /w/workspace/foundry_device-virtual-go_PR-388:/w/workspace/foundry_device-virtual-go_PR-388:rw,z -v /w/workspace/foundry_device-virtual-go_PR-388@tmp:/w/workspace/foundry_device-virtual-go_PR-388@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 15:06:26 $ docker top 94bda76a702242d9e4d78ed57f23b2f6df1b291cacf761a1306fb76201081f86 -eo pid,comm [Pipeline] { [Pipeline] sh 15:06:26 + touch /tmp/pre-build-complete [Pipeline] sh 15:06:26 + mkdir -p /var/log/sysstat [Pipeline] sh 15:06:26 + ls /var/log/sa-host 15:06:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:06:27 provisioning config files... 15:06:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-388@tmp/config12786478615761073956tmp [Pipeline] { [Pipeline] echo 15:06:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:06:27 ---> create-netrc.sh [Pipeline] } 15:06:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:06:27 ---> python-tools-install.sh [Pipeline] echo 15:06:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:06:27 ---> sudo-logs.sh 15:06:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:06:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:06:28 ---> job-cost.sh 15:06:28 lf-activate-venv: SKIPPING 15:06:28 DEBUG: total: 0.2199999988079071 15:06:28 INFO: Retrieving Stack Cost... 15:06:28 INFO: Retrieving Pricing Info for: v3-standard-8 15:06:29 INFO: Archiving Costs [Pipeline] echo 15:06:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:06:29 ---> logs-deploy.sh 15:06:29 lf-activate-venv: SKIPPING 15:06:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-388/2 15:06:29 INFO: archiving workspace using pattern(s): 15:06:30 Archives upload complete. 15:06:30 INFO: archiving logs to Nexus