Pull request #384 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2+626db8e9a2222f123adcb85f9e159bc679c0b5f7 (353c3850a5d07d63265896305e01187062eda4d3) 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-ssh12694542309824039813.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-ssh12915483481994891282.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-384/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-384/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4773305128052641654.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-ssh16984083304183554457.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-384/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-384/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh714809840094165721.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 ‘prd-ubuntu20.04-docker-8c-8g-8727’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8729 in /w/workspace/foundry_device-virtual-go_PR-384 [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-384 # 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 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 Merge succeeded, producing 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 Checking out Revision 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 (PR-384) > 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/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 # 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 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 # timeout=10 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:52:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:52:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:52:46 ========================================================= 15:52:46 EdgeX Global Pipelines Version Info 15:52:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6c62725b64536254025a5781a0ebe04c79386b6c # timeout=10 15:52:47 ------------------- 15:52:47 stable info: 15:52:47 ------------------- 15:52:47 Commited By: Bill Mahoney bill.mahoney@intel.com 15:52:47 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:52:47 Message: update stable to v1.0.248 15:52:47 ------------------- 15:52:47 experimental info: 15:52:47 ------------------- 15:52:47 Commited By: **** collab-it+edgex@linuxfoundation.org 15:52:47 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 15:52:47 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:52:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-384 [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-384 [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-384 [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cb2db5 [Pipeline] echo 15:52:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:48 provisioning config files... 15:52:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-384@tmp/config11694825414582566105tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:48 ---> docker-login.sh 15:52:48 nexus3.edgexfoundry.org:10001 15:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:48 Configure a credential helper to remove this warning. See 15:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:48 15:52:48 Login Succeeded 15:52:48 nexus3.edgexfoundry.org:10002 15:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:48 Configure a credential helper to remove this warning. See 15:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:48 15:52:48 Login Succeeded 15:52:48 nexus3.edgexfoundry.org:10003 15:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:49 Configure a credential helper to remove this warning. See 15:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:49 15:52:49 Login Succeeded 15:52:49 nexus3.edgexfoundry.org:10004 15:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:49 Configure a credential helper to remove this warning. See 15:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:49 15:52:49 Login Succeeded 15:52:49 docker.io 15:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:49 Configure a credential helper to remove this warning. See 15:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:49 15:52:49 Login Succeeded 15:52:49 ---> docker-login.sh ends [Pipeline] } 15:52:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:52:49 + git rev-list -1 --merges 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2~1..6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 [Pipeline] echo 15:52:49 -----------> git rev-list -1 --merges 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2~1..6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 [false] [Pipeline] sh 15:52:50 + git log --format=format:%s -1 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 [Pipeline] echo 15:52:50 ========================================================= 15:52:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:52:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:50 + git log --format=format:%s -1 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 [Pipeline] echo 15:52:50 [semverPrep] GIT_COMMIT: 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config [Pipeline] echo 15:52:50 [semverPrep] This is not a build commit. [Pipeline] sh 15:52:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:52:50 + grep -v github /etc/ssh/ssh_known_hosts 15:52:50 + [ -e /tmp/ssh_known_hosts ] 15:52:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:52:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:52:50 + sudo tee -a /etc/ssh/ssh_known_hosts 15:52:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:51 15:52:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:51 0.1.4: Pulling from edgex-devops/py-git-semver 15:52:51 b85a868b505f: Pulling fs layer 15:52:51 e2be974225ed: Pulling fs layer 15:52:51 339a4e72a1f5: Pulling fs layer 15:52:51 988bab9f4d93: Pulling fs layer 15:52:51 1469e6f7b9e6: Pulling fs layer 15:52:51 eaf3925da568: Pulling fs layer 15:52:51 bab4dde63d76: Pulling fs layer 15:52:51 bde34c3a00c8: Pulling fs layer 15:52:51 b352a97aabf1: Pulling fs layer 15:52:51 4872d77fe225: Pulling fs layer 15:52:51 5851b861e8e6: Pulling fs layer 15:52:51 bde34c3a00c8: Waiting 15:52:51 988bab9f4d93: Waiting 15:52:51 eaf3925da568: Waiting 15:52:51 b352a97aabf1: Waiting 15:52:51 5851b861e8e6: Waiting 15:52:51 4872d77fe225: Waiting 15:52:51 bab4dde63d76: Waiting 15:52:51 1469e6f7b9e6: Waiting 15:52:51 e2be974225ed: Verifying Checksum 15:52:51 e2be974225ed: Download complete 15:52:51 988bab9f4d93: Verifying Checksum 15:52:51 988bab9f4d93: Download complete 15:52:51 1469e6f7b9e6: Verifying Checksum 15:52:51 1469e6f7b9e6: Download complete 15:52:51 339a4e72a1f5: Verifying Checksum 15:52:51 339a4e72a1f5: Download complete 15:52:51 eaf3925da568: Download complete 15:52:51 bde34c3a00c8: Download complete 15:52:51 b352a97aabf1: Verifying Checksum 15:52:51 b352a97aabf1: Download complete 15:52:51 4872d77fe225: Download complete 15:52:51 5851b861e8e6: Verifying Checksum 15:52:51 5851b861e8e6: Download complete 15:52:51 b85a868b505f: Verifying Checksum 15:52:51 b85a868b505f: Download complete 15:52:52 bab4dde63d76: Verifying Checksum 15:52:52 bab4dde63d76: Download complete 15:52:53 b85a868b505f: Pull complete 15:52:53 e2be974225ed: Pull complete 15:52:53 339a4e72a1f5: Pull complete 15:52:53 988bab9f4d93: Pull complete 15:52:54 1469e6f7b9e6: Pull complete 15:52:54 eaf3925da568: Pull complete 15:52:55 bab4dde63d76: Pull complete 15:52:55 bde34c3a00c8: Pull complete 15:52:55 b352a97aabf1: Pull complete 15:52:55 4872d77fe225: Pull complete 15:52:55 5851b861e8e6: Pull complete 15:52:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:52:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:52:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:56 prd-ubuntu20.04-docker-8c-8g-8729 does not seem to be running inside a container 15:52:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-384 -v /w/workspace/foundry_device-virtual-go_PR-384:/w/workspace/foundry_device-virtual-go_PR-384:rw,z -v /w/workspace/foundry_device-virtual-go_PR-384@tmp:/w/workspace/foundry_device-virtual-go_PR-384@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-devops/py-git-semver:0.1.4 cat 15:52:59 $ docker top 4ea01fb1610c1321c734e3bb554d6695eae8e79f9ddf6fa633259afa07afef38 -eo pid,comm 15:52:59 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). 15:52:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:52:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:52:59 [ssh-agent] Looking for ssh-agent implementation... 15:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:00 $ docker exec 4ea01fb1610c1321c734e3bb554d6695eae8e79f9ddf6fa633259afa07afef38 ssh-agent 15:53:00 SSH_AUTH_SOCK=/tmp/ssh-gxYe1G9ooTKO/agent.31 15:53:00 SSH_AGENT_PID=37 15:53:00 Running ssh-add (command line suppressed) 15:53:00 Identity added: /w/workspace/foundry_device-virtual-go_PR-384@tmp/private_key_10550721088543249802.key (/w/workspace/foundry_device-virtual-go_PR-384@tmp/private_key_10550721088543249802.key) 15:53:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:00 + git tag --points-at HEAD [Pipeline] } 15:53:00 $ docker exec --env ******** --env ******** 4ea01fb1610c1321c734e3bb554d6695eae8e79f9ddf6fa633259afa07afef38 ssh-agent -k 15:53:00 unset SSH_AUTH_SOCK; 15:53:00 unset SSH_AGENT_PID; 15:53:00 echo Agent pid 37 killed; 15:53:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:53:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:53:00 [ssh-agent] Looking for ssh-agent implementation... 15:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:53:00 $ docker exec 4ea01fb1610c1321c734e3bb554d6695eae8e79f9ddf6fa633259afa07afef38 ssh-agent 15:53:00 SSH_AUTH_SOCK=/tmp/ssh-r433pVuvmQWB/agent.70 15:53:00 SSH_AGENT_PID=76 15:53:00 Running ssh-add (command line suppressed) 15:53:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-384@tmp/private_key_7562369426355697390.key (/w/workspace/foundry_device-virtual-go_PR-384@tmp/private_key_7562369426355697390.key) 15:53:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:53:01 + git semver init 15:53:01 2023-04-17 15:53:01,559 [run_init] DEBUG init version:0.0.0 force:False 15:53:01 2023-04-17 15:53:01,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-384/.semver 15:53:01 2023-04-17 15:53:01,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-384/.semver 15:53:01 2023-04-17 15:53:01,561 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-384/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-384, universal_newlines=False, shell=None, istream=None) 15:53:03 2023-04-17 15:53:02,706 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-384/.git/info/exclude 15:53:03 2023-04-17 15:53:02,706 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-384/.semver/PR-384 with force:False 15:53:03 2023-04-17 15:53:02,706 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-384/.semver/PR-384 15:53:03 2023-04-17 15:53:02,710 [execute] INFO git cat-file --batch-check 15:53:03 2023-04-17 15:53:02,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-384/.semver, universal_newlines=False, shell=None, istream=) 15:53:03 2023-04-17 15:53:02,716 [execute] INFO git cat-file --batch 15:53:03 2023-04-17 15:53:02,717 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-384/.semver, universal_newlines=False, shell=None, istream=) 15:53:03 2023-04-17 15:53:02,722 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-384/.semver/PR-384 15:53:03 0.0.0 [Pipeline] } 15:53:03 $ docker exec --env ******** --env ******** 4ea01fb1610c1321c734e3bb554d6695eae8e79f9ddf6fa633259afa07afef38 ssh-agent -k 15:53:03 unset SSH_AUTH_SOCK; 15:53:03 unset SSH_AGENT_PID; 15:53:03 echo Agent pid 76 killed; 15:53:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:53:03 + git semver [Pipeline] } 15:53:03 $ docker stop --time=1 4ea01fb1610c1321c734e3bb554d6695eae8e79f9ddf6fa633259afa07afef38 15:53:05 $ docker rm -f --volumes 4ea01fb1610c1321c734e3bb554d6695eae8e79f9ddf6fa633259afa07afef38 [Pipeline] // withDockerContainer [Pipeline] sh 15:53:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:53:05 Stashed 1 file(s) [Pipeline] echo 15:53:05 [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 15:53:05 provisioning config files... 15:53:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-384@tmp/config14559128946392141217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:53:05 ---> docker-login.sh 15:53:05 nexus3.edgexfoundry.org:10001 15:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:05 Configure a credential helper to remove this warning. See 15:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:05 15:53:05 Login Succeeded 15:53:05 nexus3.edgexfoundry.org:10002 15:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:05 Configure a credential helper to remove this warning. See 15:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:05 15:53:05 Login Succeeded 15:53:05 nexus3.edgexfoundry.org:10003 15:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:06 Configure a credential helper to remove this warning. See 15:53:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:06 15:53:06 Login Succeeded 15:53:06 nexus3.edgexfoundry.org:10004 15:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:06 Configure a credential helper to remove this warning. See 15:53:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:06 15:53:06 Login Succeeded 15:53:06 docker.io 15:53:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:53:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:53:06 Configure a credential helper to remove this warning. See 15:53:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:53:06 15:53:06 Login Succeeded 15:53:06 ---> docker-login.sh ends [Pipeline] } 15:53:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:53:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:53:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:53:06 ========================================================= 15:53:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:53:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:06 + 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 . 15:53:06 Sending build context to Docker daemon 23.55MB 15:53:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:53:06 Step 2/12 : FROM ${BASE} AS builder 15:53:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:53:06 63b65145d645: Pulling fs layer 15:53:06 a2d21d5440eb: Pulling fs layer 15:53:06 935e6c44a52c: Pulling fs layer 15:53:06 94cc34f8dd06: Pulling fs layer 15:53:06 30dea6a524f1: Pulling fs layer 15:53:06 a2aff8979fd8: Pulling fs layer 15:53:06 6808be2612f2: Pulling fs layer 15:53:06 f25807f1079a: Pulling fs layer 15:53:06 94cc34f8dd06: Waiting 15:53:06 30dea6a524f1: Waiting 15:53:06 a2aff8979fd8: Waiting 15:53:06 6808be2612f2: Waiting 15:53:06 f25807f1079a: Waiting 15:53:07 a2d21d5440eb: Verifying Checksum 15:53:07 a2d21d5440eb: Download complete 15:53:07 94cc34f8dd06: Verifying Checksum 15:53:07 94cc34f8dd06: Download complete 15:53:07 30dea6a524f1: Verifying Checksum 15:53:07 30dea6a524f1: Download complete 15:53:07 63b65145d645: Verifying Checksum 15:53:07 63b65145d645: Download complete 15:53:07 a2aff8979fd8: Verifying Checksum 15:53:07 a2aff8979fd8: Download complete 15:53:07 63b65145d645: Pull complete 15:53:07 a2d21d5440eb: Pull complete 15:53:07 f25807f1079a: Verifying Checksum 15:53:07 f25807f1079a: Download complete 15:53:07 935e6c44a52c: Verifying Checksum 15:53:07 935e6c44a52c: Download complete 15:53:07 6808be2612f2: Verifying Checksum 15:53:07 6808be2612f2: Download complete 15:53:11 935e6c44a52c: Pull complete 15:53:11 94cc34f8dd06: Pull complete 15:53:11 30dea6a524f1: Pull complete 15:53:11 a2aff8979fd8: Pull complete 15:53:13 6808be2612f2: Pull complete 15:53:13 f25807f1079a: Pull complete 15:53:13 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 15:53:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:53:13 ---> 3b553350e43f 15:53:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:53:18 ---> Running in 629f580bd092 15:53:18 Removing intermediate container 629f580bd092 15:53:18 ---> aeee4d0adbe1 15:53:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:53:18 ---> Running in 6f16544b363f 15:53:18 Removing intermediate container 6f16544b363f 15:53:18 ---> ec6adf12a39d 15:53:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:53:18 ---> Running in 49b04a31f6d8 15:53:18 Removing intermediate container 49b04a31f6d8 15:53:18 ---> 499f14b85dff 15:53:18 Step 6/12 : WORKDIR /device-virtual-go 15:53:18 ---> Running in 650ecda0df09 15:53:18 Removing intermediate container 650ecda0df09 15:53:18 ---> d93a278b1f1e 15:53:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:53:18 ---> Running in a2531976a8cb 15:53:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:53:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:53:19 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:53:19 (2/4) Installing libedit (20221030.3.1-r0) 15:53:19 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:53:19 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:53:19 Executing busybox-1.35.0-r29.trigger 15:53:19 OK: 269 MiB in 57 packages 15:53:19 Removing intermediate container a2531976a8cb 15:53:19 ---> a6481a931ec0 15:53:19 Step 8/12 : COPY go.mod vendor* ./ 15:53:19 ---> 256b435bec7c 15:53:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:19 ---> Running in 83889ce27f12 15:53:20 Still waiting to schedule task 15:53:20 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8728’ is offline 15:53:52 Removing intermediate container 83889ce27f12 15:53:52 ---> 7f5a62069194 15:53:52 Step 10/12 : COPY . . 15:53:52 ---> 12ba4749da05 15:53:52 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:53:52 ---> Running in d8c4f5a34c95 15:53:52 Removing intermediate container d8c4f5a34c95 15:53:52 ---> cbaefef75384 15:53:52 Step 12/12 : RUN $MAKE 15:53:52 ---> Running in fbf408055cc5 15:53:52 noop 15:53:52 Removing intermediate container fbf408055cc5 15:53:52 ---> 5fec9446c760 15:53:52 Successfully built 5fec9446c760 15:53:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:52 + docker inspect -f . ci-base-image-x86_64 15:53:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:52 prd-ubuntu20.04-docker-8c-8g-8729 does not seem to be running inside a container 15:53:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-384 -v /w/workspace/foundry_device-virtual-go_PR-384:/w/workspace/foundry_device-virtual-go_PR-384:rw,z -v /w/workspace/foundry_device-virtual-go_PR-384@tmp:/w/workspace/foundry_device-virtual-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:53:52 $ docker top 42fa61fa008dfaa1ab7f74a10e19febab194524f6b62f7bce7ffdf4ebd6a706d -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:53 + go version 15:53:53 go version go1.20.2 linux/amd64 [Pipeline] } 15:53:53 $ docker stop --time=1 42fa61fa008dfaa1ab7f74a10e19febab194524f6b62f7bce7ffdf4ebd6a706d 15:53:54 $ docker rm -f --volumes 42fa61fa008dfaa1ab7f74a10e19febab194524f6b62f7bce7ffdf4ebd6a706d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:53:54 + docker inspect -f . ci-base-image-x86_64 15:53:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:53:54 prd-ubuntu20.04-docker-8c-8g-8729 does not seem to be running inside a container 15:53:54 $ 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-384 -v /w/workspace/foundry_device-virtual-go_PR-384:/w/workspace/foundry_device-virtual-go_PR-384:rw,z -v /w/workspace/foundry_device-virtual-go_PR-384@tmp:/w/workspace/foundry_device-virtual-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:53:55 $ docker top dc3ed3b4a9091113b0581a2c8e54c50e4df5f2c62f4c7fac152e087c6e1ac7c0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:53:55 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-384 [Pipeline] fileExists [Pipeline] sh 15:53:55 + make test 15:53:55 go test ./... -coverprofile=coverage.out 15:54:01 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:54:09 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:54:09 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.7% of statements 15:54:15 go vet ./... 15:54:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:54:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:54:18 ./bin/test-attribution-txt.sh 15:54:18 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 15:54:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:54:18 $ docker stop --time=1 dc3ed3b4a9091113b0581a2c8e54c50e4df5f2c62f4c7fac152e087c6e1ac7c0 15:54:22 $ docker rm -f --volumes dc3ed3b4a9091113b0581a2c8e54c50e4df5f2c62f4c7fac152e087c6e1ac7c0 [Pipeline] // withDockerContainer [Pipeline] sh 15:54:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:54:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:54:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:54:23 + ls -al . 15:54:23 total 192 15:54:23 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 15:53 . 15:54:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 15:52 .. 15:54:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 15:53 .git 15:54:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 15:52 .github 15:54:23 -rw-rw-r-- 1 jenkins jenkins 337 Apr 17 15:52 .gitignore 15:54:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 15:52 .golangci.yml 15:54:23 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 15:53 .semver 15:54:23 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 17 15:52 Attribution.txt 15:54:23 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 17 15:52 CHANGELOG.md 15:54:23 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 17 15:52 Dockerfile 15:54:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 15:52 GOVERNANCE.md 15:54:23 -rw-rw-r-- 1 jenkins jenkins 660 Apr 17 15:52 Jenkinsfile 15:54:23 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 15:52 LICENSE 15:54:23 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 17 15:52 Makefile 15:54:23 -rw-rw-r-- 1 jenkins jenkins 623 Apr 17 15:52 OWNERS.md 15:54:23 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 17 15:52 README.md 15:54:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 15:53 VERSION 15:54:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 15:52 bin 15:54:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 15:52 cmd 15:54:23 -rw-r--r-- 1 jenkins jenkins 42970 Apr 17 15:54 coverage.out 15:54:23 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 17 15:52 go.mod 15:54:23 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 17 15:52 go.sum 15:54:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 15:52 internal 15:54:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 15:52 snap 15:54:23 -rw-rw-r-- 1 jenkins jenkins 235 Apr 17 15:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:23 + 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=6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 --label arch=amd64 --label version=0.0.0 . 15:54:23 Sending build context to Docker daemon 23.59MB 15:54:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 15:54:23 Step 2/25 : FROM ${BASE} AS builder 15:54:23 ---> 5fec9446c760 15:54:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:54:24 ---> Running in 4174ca484962 15:54:24 Removing intermediate container 4174ca484962 15:54:24 ---> dc7ed09423de 15:54:24 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:54:24 ---> Running in b049ed4d8ade 15:54:24 Removing intermediate container b049ed4d8ade 15:54:24 ---> f9580babd604 15:54:24 Step 5/25 : ARG ADD_BUILD_TAGS="" 15:54:24 ---> Running in f7fc98f5ba03 15:54:24 Removing intermediate container f7fc98f5ba03 15:54:24 ---> 590c56db95a8 15:54:24 Step 6/25 : WORKDIR /device-virtual-go 15:54:24 ---> Running in 2c4d3510ae2a 15:54:24 Removing intermediate container 2c4d3510ae2a 15:54:24 ---> 9c58bc0d04ae 15:54:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:54:24 ---> Running in 00e7051764cc 15:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:54:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:54:25 OK: 269 MiB in 57 packages 15:54:25 Removing intermediate container 00e7051764cc 15:54:25 ---> 743ebff11e16 15:54:25 Step 8/25 : COPY go.mod vendor* ./ 15:54:25 ---> 5b643906f6e1 15:54:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:54:25 ---> Running in dc4e54fe503f 15:54:26 Removing intermediate container dc4e54fe503f 15:54:26 ---> 1ee8a975436b 15:54:26 Step 10/25 : COPY . . 15:54:27 ---> 13e915d21695 15:54:27 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:54:27 ---> Running in 8bf9ac0b8352 15:54:27 Removing intermediate container 8bf9ac0b8352 15:54:27 ---> 8ddbf1ea5c96 15:54:27 Step 12/25 : RUN $MAKE 15:54:27 ---> Running in 87ed09027034 15:54:27 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:54:49 Removing intermediate container 87ed09027034 15:54:49 ---> 8a52ebd58900 15:54:49 Step 13/25 : FROM alpine:3.17 15:54:49 3.17: Pulling from library/alpine 15:54:49 f56be85fc22e: Pulling fs layer 15:54:49 f56be85fc22e: Download complete 15:54:49 f56be85fc22e: Pull complete 15:54:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 15:54:49 Status: Downloaded newer image for alpine:3.17 15:54:49 ---> 9ed4aefc74f6 15:54:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 15:54:49 ---> Running in 6256cfeec374 15:54:49 Removing intermediate container 6256cfeec374 15:54:49 ---> f01abdd1f599 15:54:49 Step 15/25 : RUN apk add --update --no-cache dumb-init 15:54:49 ---> Running in 1a6fdce9fe55 15:54:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:54:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:54:49 (1/1) Installing dumb-init (1.2.5-r2) 15:54:49 Executing busybox-1.35.0-r29.trigger 15:54:49 OK: 7 MiB in 16 packages 15:54:49 Removing intermediate container 1a6fdce9fe55 15:54:49 ---> 5538226646a5 15:54:49 Step 16/25 : WORKDIR / 15:54:49 ---> Running in 1de3687d5a86 15:54:49 Removing intermediate container 1de3687d5a86 15:54:49 ---> 537431e928c7 15:54:49 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 15:54:49 ---> 64d3e3091f1d 15:54:49 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 15:54:49 ---> 285f33774d07 15:54:49 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 15:54:49 ---> 09eaf2d8da60 15:54:49 Step 20/25 : EXPOSE 59900 15:54:49 ---> Running in e7ddbaddf6dd 15:54:49 Removing intermediate container e7ddbaddf6dd 15:54:49 ---> 9e31b2f10c16 15:54:49 Step 21/25 : ENTRYPOINT ["/device-virtual"] 15:54:49 ---> Running in 0306018f2486 15:54:49 Removing intermediate container 0306018f2486 15:54:49 ---> 8e3ad16023bb 15:54:49 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 15:54:49 ---> Running in 265ce693c0a4 15:54:49 Removing intermediate container 265ce693c0a4 15:54:49 ---> 666d311d894a 15:54:49 Step 23/25 : LABEL arch=amd64 15:54:49 ---> Running in 46dadfb80d6c 15:54:49 Removing intermediate container 46dadfb80d6c 15:54:49 ---> 0623ed5c9ba7 15:54:49 Step 24/25 : LABEL git_sha=6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 15:54:49 ---> Running in cf0ab1268ef5 15:54:49 Removing intermediate container cf0ab1268ef5 15:54:49 ---> 52dc3928ddda 15:54:49 Step 25/25 : LABEL version=0.0.0 15:54:49 ---> Running in 3084e1de5f40 15:54:49 Removing intermediate container 3084e1de5f40 15:54:49 ---> a0a988777079 15:54:49 [Warning] One or more build-args [ARCH] were not consumed 15:54:49 Successfully built a0a988777079 15:54:49 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 15:54:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:50 15:54:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:50 latest: Pulling from edgex-lftools-log-publisher 15:54:50 5eb5b503b376: Pulling fs layer 15:54:50 5c69ac0246d0: Pulling fs layer 15:54:50 ec43610c2a17: Pulling fs layer 15:54:50 3a2ae6a8a46f: Pulling fs layer 15:54:50 33b1e0a273af: Pulling fs layer 15:54:50 5d3b04190fa2: Pulling fs layer 15:54:50 2f39f015ded8: Pulling fs layer 15:54:50 3a2ae6a8a46f: Waiting 15:54:50 33b1e0a273af: Waiting 15:54:50 5d3b04190fa2: Waiting 15:54:50 2f39f015ded8: Waiting 15:54:50 5c69ac0246d0: Download complete 15:54:50 ec43610c2a17: Verifying Checksum 15:54:50 ec43610c2a17: Download complete 15:54:50 5d3b04190fa2: Verifying Checksum 15:54:50 5d3b04190fa2: Download complete 15:54:50 33b1e0a273af: Verifying Checksum 15:54:50 33b1e0a273af: Download complete 15:54:50 5eb5b503b376: Verifying Checksum 15:54:50 5eb5b503b376: Download complete 15:54:51 2f39f015ded8: Download complete 15:54:51 5eb5b503b376: Pull complete 15:54:51 5c69ac0246d0: Pull complete 15:54:52 ec43610c2a17: Pull complete 15:54:52 3a2ae6a8a46f: Pull complete 15:54:52 33b1e0a273af: Pull complete 15:54:52 5d3b04190fa2: Pull complete 15:54:56 2f39f015ded8: Pull complete 15:54:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:54:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:54:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:57 prd-ubuntu20.04-docker-8c-8g-8729 does not seem to be running inside a container 15:54:57 $ 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-384 -v /w/workspace/foundry_device-virtual-go_PR-384:/w/workspace/foundry_device-virtual-go_PR-384:rw,z -v /w/workspace/foundry_device-virtual-go_PR-384@tmp:/w/workspace/foundry_device-virtual-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:55:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8730 in /w/workspace/foundry_device-virtual-go_PR-384 15:55:01 $ docker top 657954412da86992de05724a5a1cf64d168a94d75f2c73362a70756b3d2c7074 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 15:55:01 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 15:55:01 The recommended git tool is: git 15:55:01 ---> job-cost.sh 15:55:01 lf-activate-venv: SKIPPING 15:55:01 INFO: No Stack... 15:55:02 INFO: Retrieving Pricing Info for: v3-standard-8 15:55:02 INFO: Archiving Costs [Pipeline] sh 15:55:02 + cat /w/workspace/foundry_device-virtual-go_PR-384/archives/cost.csv 15:55:02 + cut -d, -f6 [Pipeline] lock 15:55:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-384-2-stack-cost] 15:55:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-384-2-stack-cost] did not exist. Created. 15:55:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-384-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:03 + echo total: 0.2199999988079071 [Pipeline] stash 15:55:03 Stashed 1 file(s) [Pipeline] } 15:55:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-384-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:03 $ docker stop --time=1 657954412da86992de05724a5a1cf64d168a94d75f2c73362a70756b3d2c7074 15:55:04 $ docker rm -f --volumes 657954412da86992de05724a5a1cf64d168a94d75f2c73362a70756b3d2c7074 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:55:07 using credential edgex-jenkins-ssh 15:55:07 Cloning the remote Git repository 15:55:06 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 15:55:07 > git init /w/workspace/device-virtual-go/2 # timeout=10 15:55:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:55:07 > git --version # timeout=10 15:55:07 > git --version # 'git version 2.25.1' 15:55:07 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:55:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:55:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:55:13 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 15:55:13 Merge succeeded, producing 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 15:55:13 Checking out Revision 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 (PR-384) 15:55:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 15:55:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 15:55:12 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/384/head:refs/remotes/origin/PR-384 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:55:13 > git config core.sparsecheckout # timeout=10 15:55:13 > git checkout -f 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 # timeout=10 15:55:13 > git remote # timeout=10 15:55:13 > git config --get remote.origin.url # timeout=10 15:55:13 using GIT_SSH to set credentials SSH Credentials for GitHub 15:55:13 > git merge 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 15:55:13 > git rev-parse HEAD^{commit} # timeout=10 15:55:13 > git config core.sparsecheckout # timeout=10 15:55:13 > git checkout -f 6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 # timeout=10 15:55:16 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:55:17 % Total % Received % Xferd Average Speed Time Time Time Current 15:55:17 Dload Upload Total Spent Left Speed 15:55:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 15:55:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:55:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:55:18 + sudo tee /etc/docker/daemon.new 15:55:18 { 15:55:18 "registry-mirrors": [ 15:55:18 "https://nexus3.edgexfoundry.org:10001" 15:55:18 ], 15:55:18 "bip": "10.250.0.254/24", 15:55:18 "hosts": [ 15:55:18 "tcp://0.0.0.0:5555", 15:55:18 "unix:///var/run/docker.sock" 15:55:18 ], 15:55:18 "mtu": 1458, 15:55:18 "selinux-enabled": true, 15:55:18 "seccomp-profile": "/etc/docker/seccomp.json" 15:55:18 } [Pipeline] sh 15:55:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:55:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:55:37 provisioning config files... 15:55:37 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config8289431460638661576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:38 ---> docker-login.sh 15:55:38 nexus3.edgexfoundry.org:10001 15:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:38 Configure a credential helper to remove this warning. See 15:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:38 15:55:38 Login Succeeded 15:55:38 nexus3.edgexfoundry.org:10002 15:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:38 Configure a credential helper to remove this warning. See 15:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:38 15:55:38 Login Succeeded 15:55:39 nexus3.edgexfoundry.org:10003 15:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:39 Configure a credential helper to remove this warning. See 15:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:39 15:55:39 Login Succeeded 15:55:39 nexus3.edgexfoundry.org:10004 15:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:39 Configure a credential helper to remove this warning. See 15:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:39 15:55:39 Login Succeeded 15:55:39 docker.io 15:55:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:40 Configure a credential helper to remove this warning. See 15:55:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:40 15:55:40 Login Succeeded 15:55:40 ---> docker-login.sh ends [Pipeline] } 15:55:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:40 ========================================================= 15:55:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:55:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:40 + 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 . 15:55:41 Sending build context to Docker daemon 11.94MB 15:55:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 15:55:41 Step 2/12 : FROM ${BASE} AS builder 15:55:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:55:41 af6eaf76a39c: Pulling fs layer 15:55:41 55522c791124: Pulling fs layer 15:55:41 ce5c4a1c91eb: Pulling fs layer 15:55:41 169dfbe0d373: Pulling fs layer 15:55:41 e1ff8fa3b103: Pulling fs layer 15:55:41 52ebb69f0ebf: Pulling fs layer 15:55:41 5abe8eddf0d5: Pulling fs layer 15:55:41 169dfbe0d373: Waiting 15:55:41 e1ff8fa3b103: Waiting 15:55:41 52ebb69f0ebf: Waiting 15:55:41 5abe8eddf0d5: Waiting 15:55:41 55522c791124: Verifying Checksum 15:55:41 55522c791124: Download complete 15:55:41 169dfbe0d373: Verifying Checksum 15:55:41 169dfbe0d373: Download complete 15:55:41 e1ff8fa3b103: Download complete 15:55:41 af6eaf76a39c: Verifying Checksum 15:55:41 af6eaf76a39c: Download complete 15:55:42 5abe8eddf0d5: Verifying Checksum 15:55:42 5abe8eddf0d5: Download complete 15:55:42 af6eaf76a39c: Pull complete 15:55:43 55522c791124: Pull complete 15:55:43 52ebb69f0ebf: Verifying Checksum 15:55:43 52ebb69f0ebf: Download complete 15:55:43 ce5c4a1c91eb: Verifying Checksum 15:55:43 ce5c4a1c91eb: Download complete 15:55:56 ce5c4a1c91eb: Pull complete 15:55:56 169dfbe0d373: Pull complete 15:55:56 e1ff8fa3b103: Pull complete 15:56:01 52ebb69f0ebf: Pull complete 15:56:04 5abe8eddf0d5: Pull complete 15:56:04 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 15:56:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:56:04 ---> 6cb57ee374ae 15:56:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 15:56:05 ---> Running in 1252d55aa407 15:56:05 Removing intermediate container 1252d55aa407 15:56:05 ---> 9a7d4816cc61 15:56:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:56:05 ---> Running in b8896d00ad16 15:56:06 Removing intermediate container b8896d00ad16 15:56:06 ---> ffcf3c58ea1b 15:56:06 Step 5/12 : ARG ADD_BUILD_TAGS="" 15:56:06 ---> Running in eadf52549d9a 15:56:06 Removing intermediate container eadf52549d9a 15:56:06 ---> 38cf6734b443 15:56:06 Step 6/12 : WORKDIR /device-virtual-go 15:56:06 ---> Running in 860cfbb59a25 15:56:06 Removing intermediate container 860cfbb59a25 15:56:06 ---> 48fcdf310c0d 15:56:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:56:06 ---> Running in 28a3e03856f7 15:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:56:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 15:56:09 (2/4) Installing libedit (20221030.3.1-r0) 15:56:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 15:56:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 15:56:09 Executing busybox-1.35.0-r29.trigger 15:56:09 OK: 268 MiB in 57 packages 15:56:10 Removing intermediate container 28a3e03856f7 15:56:10 ---> f858cf9c7fe9 15:56:10 Step 8/12 : COPY go.mod vendor* ./ 15:56:11 ---> 3ed8bbb2a789 15:56:11 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:56:11 ---> Running in 4b261295cc58 15:57:19 Removing intermediate container 4b261295cc58 15:57:19 ---> e91ab8822c52 15:57:19 Step 10/12 : COPY . . 15:57:19 ---> 6006c93d575e 15:57:19 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:57:19 ---> Running in 978d44f60f3a 15:57:19 Removing intermediate container 978d44f60f3a 15:57:19 ---> 310705ea82e8 15:57:19 Step 12/12 : RUN $MAKE 15:57:19 ---> Running in d028663b6759 15:57:19 noop 15:57:19 Removing intermediate container d028663b6759 15:57:19 ---> 1af219ed2f23 15:57:19 Successfully built 1af219ed2f23 15:57:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:19 + docker inspect -f . ci-base-image-arm64 15:57:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:19 prd-ubuntu20.04-docker-arm64-4c-16g-8730 does not seem to be running inside a container 15:57:20 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:57:21 $ docker top 4647c009a919f83953f9c363ca47b7d2e4f3b6df54d5f6d7c41e404130f28e76 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:22 + go version 15:57:22 go version go1.20.2 linux/arm64 [Pipeline] } 15:57:22 $ docker stop --time=1 4647c009a919f83953f9c363ca47b7d2e4f3b6df54d5f6d7c41e404130f28e76 15:57:23 $ docker rm -f --volumes 4647c009a919f83953f9c363ca47b7d2e4f3b6df54d5f6d7c41e404130f28e76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:24 + docker inspect -f . ci-base-image-arm64 15:57:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:24 prd-ubuntu20.04-docker-arm64-4c-16g-8730 does not seem to be running inside a container 15:57:24 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:57:25 $ docker top 58032c468ee69874090e2f98d1821582863709e598b7d8b395815f161dee8d08 -eo pid,comm [Pipeline] { [Pipeline] sh 15:57:26 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 15:57:26 + make test 15:57:26 go test ./... -coverprofile=coverage.out 15:57:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 15:59:50 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 15:59:50 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.083s coverage: 58.5% of statements 15:59:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:59:50 go vet ./... 16:00:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:00:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:00:17 ./bin/test-attribution-txt.sh 16:00:17 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 16:00:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:00:17 $ docker stop --time=1 58032c468ee69874090e2f98d1821582863709e598b7d8b395815f161dee8d08 16:00:18 $ docker rm -f --volumes 58032c468ee69874090e2f98d1821582863709e598b7d8b395815f161dee8d08 [Pipeline] // withDockerContainer [Pipeline] sh 16:00:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:00:20 Warning: overwriting stash ‘coverage-report’ 16:00:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:00:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:00:21 + ls -al . 16:00:21 total 188 16:00:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 15:57 . 16:00:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 15:55 .. 16:00:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 15:55 .git 16:00:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 15:55 .github 16:00:21 -rw-rw-r-- 1 jenkins jenkins 337 Apr 17 15:55 .gitignore 16:00:21 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 15:55 .golangci.yml 16:00:21 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 17 15:55 Attribution.txt 16:00:21 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 17 15:55 CHANGELOG.md 16:00:21 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 17 15:55 Dockerfile 16:00:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 15:55 GOVERNANCE.md 16:00:21 -rw-rw-r-- 1 jenkins jenkins 660 Apr 17 15:55 Jenkinsfile 16:00:21 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 15:55 LICENSE 16:00:21 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 17 15:55 Makefile 16:00:21 -rw-rw-r-- 1 jenkins jenkins 623 Apr 17 15:55 OWNERS.md 16:00:21 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 17 15:55 README.md 16:00:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 15:53 VERSION 16:00:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 15:55 bin 16:00:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 15:55 cmd 16:00:21 -rw-r--r-- 1 jenkins jenkins 42970 Apr 17 15:59 coverage.out 16:00:21 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 17 15:55 go.mod 16:00:21 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 17 15:55 go.sum 16:00:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 15:55 internal 16:00:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 15:55 snap 16:00:21 -rw-rw-r-- 1 jenkins jenkins 235 Apr 17 15:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:21 + 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=6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 --label arch=arm64 --label version=0.0.0 . 16:00:23 Sending build context to Docker daemon 11.98MB 16:00:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:00:23 Step 2/25 : FROM ${BASE} AS builder 16:00:23 ---> 1af219ed2f23 16:00:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:00:23 ---> Running in cd006775d096 16:00:23 Removing intermediate container cd006775d096 16:00:23 ---> dce32c9f6d71 16:00:23 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:00:23 ---> Running in d1d184d9bfdb 16:00:25 Removing intermediate container d1d184d9bfdb 16:00:25 ---> 61370a55432c 16:00:25 Step 5/25 : ARG ADD_BUILD_TAGS="" 16:00:25 ---> Running in 7ec900af2266 16:00:25 Removing intermediate container 7ec900af2266 16:00:25 ---> 1d5687a38cc8 16:00:25 Step 6/25 : WORKDIR /device-virtual-go 16:00:25 ---> Running in 30735c4e107f 16:00:25 Removing intermediate container 30735c4e107f 16:00:25 ---> 4c2fba85dc88 16:00:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:00:26 ---> Running in 0ac68173f0fb 16:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:00:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:00:29 OK: 268 MiB in 57 packages 16:00:32 Removing intermediate container 0ac68173f0fb 16:00:32 ---> 378e213cf651 16:00:32 Step 8/25 : COPY go.mod vendor* ./ 16:00:33 ---> c17125c53970 16:00:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:00:33 ---> Running in db165d818367 16:00:37 Removing intermediate container db165d818367 16:00:37 ---> 05b1778dc8b8 16:00:37 Step 10/25 : COPY . . 16:00:37 ---> 62b3cc05d892 16:00:37 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:00:37 ---> Running in e63b76a1d3ca 16:00:38 Removing intermediate container e63b76a1d3ca 16:00:38 ---> 5987ebc562df 16:00:38 Step 12/25 : RUN $MAKE 16:00:38 ---> Running in c188466bbb28 16:00:39 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 16:02:46 Removing intermediate container c188466bbb28 16:02:46 ---> 192c548e22be 16:02:46 Step 13/25 : FROM alpine:3.17 16:02:46 3.17: Pulling from library/alpine 16:02:46 c41833b44d91: Pulling fs layer 16:02:46 c41833b44d91: Verifying Checksum 16:02:46 c41833b44d91: Download complete 16:02:46 c41833b44d91: Pull complete 16:02:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:02:46 Status: Downloaded newer image for alpine:3.17 16:02:46 ---> 51e60588ff2c 16:02:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 16:02:46 ---> Running in 6834bac60462 16:02:46 Removing intermediate container 6834bac60462 16:02:46 ---> 125a5ca482f1 16:02:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 16:02:46 ---> Running in cadf66728483 16:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:02:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:02:46 (1/1) Installing dumb-init (1.2.5-r2) 16:02:46 Executing busybox-1.35.0-r29.trigger 16:02:46 OK: 8 MiB in 16 packages 16:02:46 Removing intermediate container cadf66728483 16:02:46 ---> d28eaba3659d 16:02:46 Step 16/25 : WORKDIR / 16:02:46 ---> Running in f2da34481a12 16:02:46 Removing intermediate container f2da34481a12 16:02:46 ---> 7dc9906a8a11 16:02:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 16:02:46 ---> 91951c940dee 16:02:46 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 16:02:46 ---> a0ecda8a6804 16:02:46 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 16:02:46 ---> 70357d7e5e40 16:02:46 Step 20/25 : EXPOSE 59900 16:02:46 ---> Running in 1812c68e38be 16:02:46 Removing intermediate container 1812c68e38be 16:02:46 ---> 3a2018743e6f 16:02:46 Step 21/25 : ENTRYPOINT ["/device-virtual"] 16:02:46 ---> Running in 6de8a5b11a2e 16:02:47 Removing intermediate container 6de8a5b11a2e 16:02:47 ---> e0b82c193faf 16:02:47 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 16:02:47 ---> Running in 317368265a61 16:02:47 Removing intermediate container 317368265a61 16:02:47 ---> 96693bc2c146 16:02:47 Step 23/25 : LABEL arch=arm64 16:02:47 ---> Running in ea44ce3ca2c1 16:02:47 Removing intermediate container ea44ce3ca2c1 16:02:47 ---> 2340017df4fd 16:02:47 Step 24/25 : LABEL git_sha=6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 16:02:47 ---> Running in 7e11428247d6 16:02:48 Removing intermediate container 7e11428247d6 16:02:48 ---> cdd1e588d69d 16:02:48 Step 25/25 : LABEL version=0.0.0 16:02:48 ---> Running in 2685c67d486c 16:02:48 Removing intermediate container 2685c67d486c 16:02:48 ---> 45d306e421d2 16:02:48 [Warning] One or more build-args [ARCH] were not consumed 16:02:48 Successfully built 45d306e421d2 16:02:48 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 16:02:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:49 16:02:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:49 arm64: Pulling from edgex-lftools-log-publisher 16:02:49 8998bd30e6a1: Pulling fs layer 16:02:49 04944245beec: Pulling fs layer 16:02:49 699f458cf7ca: Pulling fs layer 16:02:49 765212b225bb: Pulling fs layer 16:02:49 f23df028b6ca: Pulling fs layer 16:02:49 d65c8cfc05b1: Pulling fs layer 16:02:49 2437ff75d9bd: Pulling fs layer 16:02:49 f23df028b6ca: Waiting 16:02:49 d65c8cfc05b1: Waiting 16:02:49 2437ff75d9bd: Waiting 16:02:49 765212b225bb: Waiting 16:02:49 04944245beec: Verifying Checksum 16:02:49 04944245beec: Download complete 16:02:49 765212b225bb: Verifying Checksum 16:02:49 765212b225bb: Download complete 16:02:49 f23df028b6ca: Verifying Checksum 16:02:49 f23df028b6ca: Download complete 16:02:49 d65c8cfc05b1: Download complete 16:02:49 699f458cf7ca: Verifying Checksum 16:02:49 699f458cf7ca: Download complete 16:02:50 8998bd30e6a1: Verifying Checksum 16:02:50 8998bd30e6a1: Download complete 16:02:52 2437ff75d9bd: Verifying Checksum 16:02:52 2437ff75d9bd: Download complete 16:02:54 8998bd30e6a1: Pull complete 16:02:54 04944245beec: Pull complete 16:02:55 699f458cf7ca: Pull complete 16:02:56 765212b225bb: Pull complete 16:02:57 f23df028b6ca: Pull complete 16:02:57 d65c8cfc05b1: Pull complete 16:03:12 2437ff75d9bd: Pull complete 16:03:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:03:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:03:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:12 prd-ubuntu20.04-docker-arm64-4c-16g-8730 does not seem to be running inside a container 16:03:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:03:14 $ docker top d900bdca8a5df53d74171a923d393b3a3d40b457d5153fdb8140518160f59075 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:15 ---> job-cost.sh 16:03:15 lf-activate-venv: SKIPPING 16:03:15 INFO: No Stack... 16:03:15 INFO: Retrieving Pricing Info for: v3-standard-4 16:03:16 INFO: Archiving Costs [Pipeline] sh 16:03:17 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 16:03:17 + cut -d, -f6 [Pipeline] lock 16:03:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-384-2-stack-cost] 16:03:17 Resource [jenkins-edgexfoundry-device-virtual-go-PR-384-2-stack-cost] did not exist. Created. 16:03:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-384-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:03:17 /w/workspace/device-virtual-go/2@tmp/durable-049bcde0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:03:17 + echo total: 0.10999999940395355 [Pipeline] stash 16:03:17 Warning: overwriting stash ‘stack-cost’ 16:03:17 Stashed 1 file(s) [Pipeline] } 16:03:17 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-384-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:03:18 $ docker stop --time=1 d900bdca8a5df53d74171a923d393b3a3d40b457d5153fdb8140518160f59075 16:03:19 $ docker rm -f --volumes d900bdca8a5df53d74171a923d393b3a3d40b457d5153fdb8140518160f59075 [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 16:03:19 provisioning config files... 16:03:19 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-384@tmp/config17040730912740339101tmp [Pipeline] { [Pipeline] sh 16:03:20 + set +x 16:03:20 + + curl -s https://codecov.io/bashbash 16:03:20 -s -- 16:03:20 16:03:20 _____ _ 16:03:20 / ____| | | 16:03:20 | | ___ __| | ___ ___ _____ __ 16:03:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:03:20 | |___| (_) | (_| | __/ (_| (_) \ V / 16:03:20 \_____\___/ \__,_|\___|\___\___/ \_/ 16:03:20 Bash-1.0.6 16:03:20 16:03:20 16:03:20 ==> git version 2.25.1 found 16:03:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:03:20 Release-Date: 2020-01-08 16:03:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:03:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:03:20 ==> Jenkins CI detected. 16:03:20 current dir:  /w/workspace/foundry_device-virtual-go_PR-384 16:03:20 project root: . 16:03:20 --> token set from env 16:03:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:03:20 ==> Running gcov in . (disable via -X gcov) 16:03:20 ==> Python coveragepy not found 16:03:20 ==> Searching for coverage reports in: 16:03:20 + . 16:03:20 -> Found 1 reports 16:03:20 ==> Detecting git/mercurial file structure 16:03:20 ==> Reading reports 16:03:20 + ./coverage.out bytes=42970 16:03:20 ==> Appending adjustments 16:03:20 https://docs.codecov.io/docs/fixing-reports 16:03:20 + Found adjustments 16:03:20 ==> Gzipping contents 16:03:20 8.0K /tmp/codecov.cRqUdN.gz 16:03:20 ==> Uploading reports 16:03:20 url: https://codecov.io 16:03:20 query: branch=PR-384&commit=6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-384%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=384&job=&cmd_args= 16:03:20 -> Pinging Codecov 16:03:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-384&commit=6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-384%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=384&job=&cmd_args= 16:03:20 -> Uploading to 16:03:20 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/5E52B4B073DB2E39498172D8E973AA87/6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2/d23f9086-0e86-40ac-80b8-c3764e7ea644.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T160320Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ff23cad2f9ceb79801f2ec1625c8754d600a5f5ce84f03474f4d76027d2a6cb 16:03:20 % Total % Received % Xferd Average Speed Time Time Time Current 16:03:20 Dload Upload Total Spent Left Speed 16:03:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 22550 --:--:-- --:--:-- --:--:-- 22452 100 5164 0 0 100 5164 0 20991 --:--:-- --:--:-- --:--:-- 20906 16:03:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6cb2db53a0605a7fc69ed553fd5d0dc7c90fd1d2 [Pipeline] } 16:03:20 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 16:03:21 + [ -d /w/workspace/foundry_device-virtual-go_PR-384/archives ] 16:03:21 + ls -al /w/workspace/foundry_device-virtual-go_PR-384/archives 16:03:21 total 16 16:03:21 drwxr-xr-x 3 root root 4096 Apr 17 15:55 . 16:03:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 15:55 .. 16:03:21 drwxr-xr-x 2 root root 4096 Apr 17 15:55 cost 16:03:21 -rw-r--r-- 1 root root 89 Apr 17 15:55 cost.csv 16:03:21 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-384/archives 16:03:21 + ls -al /w/workspace/foundry_device-virtual-go_PR-384/archives 16:03:21 total 16 16:03:21 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 15:55 . 16:03:21 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 15:55 .. 16:03:21 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 15:55 cost 16:03:21 -rw-r--r-- 1 jenkins jenkins 89 Apr 17 15:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:03:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:03:22 ---> package-listing.sh 16:03:22 ++ facter osfamily 16:03:22 ++ tr '[:upper:]' '[:lower:]' 16:03:23 + OS_FAMILY=debian 16:03:23 + workspace=/w/workspace/foundry_device-virtual-go_PR-384 16:03:23 + START_PACKAGES=/tmp/packages_start.txt 16:03:23 + END_PACKAGES=/tmp/packages_end.txt 16:03:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:03:23 + PACKAGES=/tmp/packages_start.txt 16:03:23 + '[' /w/workspace/foundry_device-virtual-go_PR-384 ']' 16:03:23 + PACKAGES=/tmp/packages_end.txt 16:03:23 + case "${OS_FAMILY}" in 16:03:23 + dpkg -l 16:03:23 + grep '^ii' 16:03:23 + '[' -f /tmp/packages_start.txt ']' 16:03:23 + '[' -f /tmp/packages_end.txt ']' 16:03:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:03:23 + '[' /w/workspace/foundry_device-virtual-go_PR-384 ']' 16:03:23 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-384/archives/ 16:03:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-384/archives/ [Pipeline] echo 16:03:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-384/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:03:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:23 prd-ubuntu20.04-docker-8c-8g-8729 does not seem to be running inside a container 16:03:23 $ 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-384/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-384 -v /w/workspace/foundry_device-virtual-go_PR-384:/w/workspace/foundry_device-virtual-go_PR-384:rw,z -v /w/workspace/foundry_device-virtual-go_PR-384@tmp:/w/workspace/foundry_device-virtual-go_PR-384@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:03:23 $ docker top 686ece5dd4ef9e318a6ab7b74b82604a1962d686329ee9139e4b77cb20c4251e -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:24 + touch /tmp/pre-build-complete [Pipeline] sh 16:03:24 + mkdir -p /var/log/sysstat [Pipeline] sh 16:03:24 + ls /var/log/sa-host 16:03:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:24 provisioning config files... 16:03:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-384@tmp/config8149087238680928987tmp [Pipeline] { [Pipeline] echo 16:03:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:03:25 ---> create-netrc.sh [Pipeline] } 16:03:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:03:25 ---> python-tools-install.sh [Pipeline] echo 16:03:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:03:25 ---> sudo-logs.sh 16:03:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:03:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:03:26 ---> job-cost.sh 16:03:26 lf-activate-venv: SKIPPING 16:03:26 DEBUG: total: 0.2199999988079071 16:03:26 INFO: Retrieving Stack Cost... 16:03:26 INFO: Retrieving Pricing Info for: v3-standard-8 16:03:26 INFO: Archiving Costs [Pipeline] echo 16:03:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:03:27 ---> logs-deploy.sh 16:03:27 lf-activate-venv: SKIPPING 16:03:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-384/2 16:03:27 INFO: archiving workspace using pattern(s): 16:03:27 Archives upload complete. 16:03:27 INFO: archiving logs to Nexus