Pull request #382 opened 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 hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 8d469254db39376f479be39397838c47013e6269+626db8e9a2222f123adcb85f9e159bc679c0b5f7 (977633d47684094c42c244cb910ad191b5e97c6e) 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-ssh11285680742671847949.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-ssh12265933838689481578.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12535903084657145738.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7965417781820028279.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh1283948326434867824.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8804242285752409840.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8702 in /w/workspace/foundry_device-virtual-go_PR-382 [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-382 # 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 8d469254db39376f479be39397838c47013e6269 Merge succeeded, producing 8d469254db39376f479be39397838c47013e6269 Checking out Revision 8d469254db39376f479be39397838c47013e6269 (PR-382) > 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/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8d469254db39376f479be39397838c47013e6269 # 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 8d469254db39376f479be39397838c47013e6269 # timeout=10 Commit message: "build(deps): bump device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:36:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:36:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:36:15 ========================================================= 08:36:15 EdgeX Global Pipelines Version Info 08:36:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:36:16 ------------------- 08:36:16 stable info: 08:36:16 ------------------- 08:36:16 Commited By: Bill Mahoney bill.mahoney@intel.com 08:36:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 08:36:16 Message: update stable to v1.0.248 08:36:16 ------------------- 08:36:16 experimental info: 08:36:16 ------------------- 08:36:16 Commited By: **** collab-it+edgex@linuxfoundation.org 08:36:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 08:36:16 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:36:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8d469254db39376f479be39397838c47013e6269 [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8d46925 [Pipeline] echo 08:36:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:36:18 provisioning config files... 08:36:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-382@tmp/config11003913434730226917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:19 ---> docker-login.sh 08:36:19 nexus3.edgexfoundry.org:10001 08:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:19 Configure a credential helper to remove this warning. See 08:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:19 08:36:19 Login Succeeded 08:36:19 nexus3.edgexfoundry.org:10002 08:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:19 Configure a credential helper to remove this warning. See 08:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:19 08:36:19 Login Succeeded 08:36:19 nexus3.edgexfoundry.org:10003 08:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:19 Configure a credential helper to remove this warning. See 08:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:19 08:36:19 Login Succeeded 08:36:19 nexus3.edgexfoundry.org:10004 08:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:19 Configure a credential helper to remove this warning. See 08:36:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:19 08:36:19 Login Succeeded 08:36:19 docker.io 08:36:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:20 Configure a credential helper to remove this warning. See 08:36:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:20 08:36:20 Login Succeeded 08:36:20 ---> docker-login.sh ends [Pipeline] } 08:36:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:36:20 + git rev-list -1 --merges 8d469254db39376f479be39397838c47013e6269~1..8d469254db39376f479be39397838c47013e6269 [Pipeline] echo 08:36:20 -----------> git rev-list -1 --merges 8d469254db39376f479be39397838c47013e6269~1..8d469254db39376f479be39397838c47013e6269 8d469254db39376f479be39397838c47013e6269 [false] [Pipeline] sh 08:36:21 + git log --format=format:%s -1 8d469254db39376f479be39397838c47013e6269 [Pipeline] echo 08:36:21 ========================================================= 08:36:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:36:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:36:21 + git log --format=format:%s -1 8d469254db39376f479be39397838c47013e6269 [Pipeline] echo 08:36:21 [semverPrep] GIT_COMMIT: 8d469254db39376f479be39397838c47013e6269, Commit Message: build(deps): bump device-sdk-go [Pipeline] echo 08:36:21 [semverPrep] This is not a build commit. [Pipeline] sh 08:36:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:36:22 + grep -v github /etc/ssh/ssh_known_hosts 08:36:22 + [ -e /tmp/ssh_known_hosts ] 08:36:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:36:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:36:22 + sudo tee -a /etc/ssh/ssh_known_hosts 08:36:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:36:22 08:36:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:36:22 0.1.4: Pulling from edgex-devops/py-git-semver 08:36:22 b85a868b505f: Pulling fs layer 08:36:22 e2be974225ed: Pulling fs layer 08:36:22 339a4e72a1f5: Pulling fs layer 08:36:22 988bab9f4d93: Pulling fs layer 08:36:22 1469e6f7b9e6: Pulling fs layer 08:36:22 eaf3925da568: Pulling fs layer 08:36:22 bab4dde63d76: Pulling fs layer 08:36:22 bde34c3a00c8: Pulling fs layer 08:36:22 b352a97aabf1: Pulling fs layer 08:36:22 4872d77fe225: Pulling fs layer 08:36:22 5851b861e8e6: Pulling fs layer 08:36:22 bab4dde63d76: Waiting 08:36:22 bde34c3a00c8: Waiting 08:36:22 b352a97aabf1: Waiting 08:36:22 4872d77fe225: Waiting 08:36:22 5851b861e8e6: Waiting 08:36:22 988bab9f4d93: Waiting 08:36:22 1469e6f7b9e6: Waiting 08:36:22 eaf3925da568: Waiting 08:36:22 e2be974225ed: Verifying Checksum 08:36:22 e2be974225ed: Download complete 08:36:22 988bab9f4d93: Download complete 08:36:22 1469e6f7b9e6: Verifying Checksum 08:36:22 1469e6f7b9e6: Download complete 08:36:22 339a4e72a1f5: Verifying Checksum 08:36:22 339a4e72a1f5: Download complete 08:36:23 eaf3925da568: Verifying Checksum 08:36:23 eaf3925da568: Download complete 08:36:23 bde34c3a00c8: Verifying Checksum 08:36:23 bde34c3a00c8: Download complete 08:36:23 b352a97aabf1: Verifying Checksum 08:36:23 b352a97aabf1: Download complete 08:36:23 4872d77fe225: Verifying Checksum 08:36:23 4872d77fe225: Download complete 08:36:23 5851b861e8e6: Verifying Checksum 08:36:23 5851b861e8e6: Download complete 08:36:23 b85a868b505f: Download complete 08:36:23 bab4dde63d76: Verifying Checksum 08:36:24 b85a868b505f: Pull complete 08:36:24 e2be974225ed: Pull complete 08:36:24 339a4e72a1f5: Pull complete 08:36:24 988bab9f4d93: Pull complete 08:36:25 1469e6f7b9e6: Pull complete 08:36:25 eaf3925da568: Pull complete 08:36:27 bab4dde63d76: Pull complete 08:36:27 bde34c3a00c8: Pull complete 08:36:27 b352a97aabf1: Pull complete 08:36:27 4872d77fe225: Pull complete 08:36:27 5851b861e8e6: Pull complete 08:36:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:36:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:36:27 prd-ubuntu20.04-docker-8c-8g-8702 does not seem to be running inside a container 08:36:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:36:29 $ docker top 9b8c00383062325543bb29cd54378e56fe9305897569f3b67be6f5fedb83c966 -eo pid,comm 08:36:29 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). 08:36:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:36:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:36:29 [ssh-agent] Looking for ssh-agent implementation... 08:36:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:36:30 $ docker exec 9b8c00383062325543bb29cd54378e56fe9305897569f3b67be6f5fedb83c966 ssh-agent 08:36:30 SSH_AUTH_SOCK=/tmp/ssh-im25Z7xCF0o5/agent.31 08:36:30 SSH_AGENT_PID=37 08:36:30 Running ssh-add (command line suppressed) 08:36:30 Identity added: /w/workspace/foundry_device-virtual-go_PR-382@tmp/private_key_13679488259961220456.key (/w/workspace/foundry_device-virtual-go_PR-382@tmp/private_key_13679488259961220456.key) 08:36:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:36:30 + git tag --points-at HEAD [Pipeline] } 08:36:30 $ docker exec --env ******** --env ******** 9b8c00383062325543bb29cd54378e56fe9305897569f3b67be6f5fedb83c966 ssh-agent -k 08:36:30 unset SSH_AUTH_SOCK; 08:36:30 unset SSH_AGENT_PID; 08:36:30 echo Agent pid 37 killed; 08:36:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:36:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:36:30 [ssh-agent] Looking for ssh-agent implementation... 08:36:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:36:31 $ docker exec 9b8c00383062325543bb29cd54378e56fe9305897569f3b67be6f5fedb83c966 ssh-agent 08:36:31 SSH_AUTH_SOCK=/tmp/ssh-TZfI9CL10AxZ/agent.69 08:36:31 SSH_AGENT_PID=75 08:36:31 Running ssh-add (command line suppressed) 08:36:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-382@tmp/private_key_11537136480503778824.key (/w/workspace/foundry_device-virtual-go_PR-382@tmp/private_key_11537136480503778824.key) 08:36:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:36:31 + git semver init 08:36:31 2023-04-17 08:36:31,799 [run_init] DEBUG init version:0.0.0 force:False 08:36:31 2023-04-17 08:36:31,800 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-382/.semver 08:36:31 2023-04-17 08:36:31,800 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-382/.semver 08:36:31 2023-04-17 08:36:31,801 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-382/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-382, universal_newlines=False, shell=None, istream=None) 08:36:32 2023-04-17 08:36:32,834 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-382/.git/info/exclude 08:36:32 2023-04-17 08:36:32,835 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-382/.semver/PR-382 with force:False 08:36:32 2023-04-17 08:36:32,835 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-382/.semver/PR-382 08:36:33 2023-04-17 08:36:32,842 [execute] INFO git cat-file --batch-check 08:36:33 2023-04-17 08:36:32,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) 08:36:33 2023-04-17 08:36:32,850 [execute] INFO git cat-file --batch 08:36:33 2023-04-17 08:36:32,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) 08:36:33 2023-04-17 08:36:32,856 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-382/.semver/PR-382 08:36:33 0.0.0 [Pipeline] } 08:36:33 $ docker exec --env ******** --env ******** 9b8c00383062325543bb29cd54378e56fe9305897569f3b67be6f5fedb83c966 ssh-agent -k 08:36:33 unset SSH_AUTH_SOCK; 08:36:33 unset SSH_AGENT_PID; 08:36:33 echo Agent pid 75 killed; 08:36:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:36:33 + git semver [Pipeline] } 08:36:33 $ docker stop --time=1 9b8c00383062325543bb29cd54378e56fe9305897569f3b67be6f5fedb83c966 08:36:35 $ docker rm -f --volumes 9b8c00383062325543bb29cd54378e56fe9305897569f3b67be6f5fedb83c966 [Pipeline] // withDockerContainer [Pipeline] sh 08:36:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:36:36 Stashed 1 file(s) [Pipeline] echo 08:36:36 [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 08:36:38 provisioning config files... 08:36:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-382@tmp/config13544476670572601542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:36:38 ---> docker-login.sh 08:36:38 nexus3.edgexfoundry.org:10001 08:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:38 Configure a credential helper to remove this warning. See 08:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:38 08:36:38 Login Succeeded 08:36:38 nexus3.edgexfoundry.org:10002 08:36:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:38 Configure a credential helper to remove this warning. See 08:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:38 08:36:38 Login Succeeded 08:36:38 nexus3.edgexfoundry.org:10003 08:36:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:39 Configure a credential helper to remove this warning. See 08:36:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:39 08:36:39 Login Succeeded 08:36:39 nexus3.edgexfoundry.org:10004 08:36:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:39 Configure a credential helper to remove this warning. See 08:36:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:39 08:36:39 Login Succeeded 08:36:39 docker.io 08:36:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:36:39 Configure a credential helper to remove this warning. See 08:36:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:36:39 08:36:39 Login Succeeded 08:36:39 ---> docker-login.sh ends [Pipeline] } 08:36:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:36:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:36:40 ========================================================= 08:36:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:36:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:36:41 + 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 . 08:36:41 Sending build context to Docker daemon 23.56MB 08:36:41 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:36:41 Step 2/12 : FROM ${BASE} AS builder 08:36:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:36:41 63b65145d645: Pulling fs layer 08:36:41 a2d21d5440eb: Pulling fs layer 08:36:41 935e6c44a52c: Pulling fs layer 08:36:41 94cc34f8dd06: Pulling fs layer 08:36:41 30dea6a524f1: Pulling fs layer 08:36:41 94cc34f8dd06: Waiting 08:36:41 a2aff8979fd8: Pulling fs layer 08:36:41 6808be2612f2: Pulling fs layer 08:36:41 f25807f1079a: Pulling fs layer 08:36:41 30dea6a524f1: Waiting 08:36:41 a2aff8979fd8: Waiting 08:36:41 f25807f1079a: Waiting 08:36:41 a2d21d5440eb: Verifying Checksum 08:36:41 a2d21d5440eb: Download complete 08:36:41 94cc34f8dd06: Download complete 08:36:41 30dea6a524f1: Download complete 08:36:41 63b65145d645: Verifying Checksum 08:36:41 63b65145d645: Download complete 08:36:41 a2aff8979fd8: Verifying Checksum 08:36:41 a2aff8979fd8: Download complete 08:36:41 63b65145d645: Pull complete 08:36:41 a2d21d5440eb: Pull complete 08:36:41 f25807f1079a: Verifying Checksum 08:36:41 f25807f1079a: Download complete 08:36:42 935e6c44a52c: Verifying Checksum 08:36:42 935e6c44a52c: Download complete 08:36:42 6808be2612f2: Verifying Checksum 08:36:42 6808be2612f2: Download complete 08:36:45 935e6c44a52c: Pull complete 08:36:45 94cc34f8dd06: Pull complete 08:36:45 30dea6a524f1: Pull complete 08:36:45 a2aff8979fd8: Pull complete 08:36:48 6808be2612f2: Pull complete 08:36:49 f25807f1079a: Pull complete 08:36:49 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:36:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:36:49 ---> 3b553350e43f 08:36:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:36:52 ---> Running in 72a3bad626b5 08:36:52 Removing intermediate container 72a3bad626b5 08:36:52 ---> 76e135368c5f 08:36:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:36:52 ---> Running in ba039aea5db3 08:36:52 Removing intermediate container ba039aea5db3 08:36:52 ---> 2ac7dd2a412d 08:36:52 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:36:52 ---> Running in e46bc2ca0797 08:36:52 Still waiting to schedule task 08:36:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:36:53 Removing intermediate container e46bc2ca0797 08:36:53 ---> d744cc7d7050 08:36:53 Step 6/12 : WORKDIR /device-virtual-go 08:36:53 ---> Running in c5a6f95b7a46 08:36:53 Removing intermediate container c5a6f95b7a46 08:36:53 ---> d27b14606e91 08:36:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:36:53 ---> Running in 70f094658135 08:36:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:36:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:36:53 (1/4) Installing openssh-keygen (9.1_p1-r2) 08:36:53 (2/4) Installing libedit (20221030.3.1-r0) 08:36:53 (3/4) Installing openssh-client-common (9.1_p1-r2) 08:36:53 (4/4) Installing openssh-client-default (9.1_p1-r2) 08:36:53 Executing busybox-1.35.0-r29.trigger 08:36:53 OK: 269 MiB in 57 packages 08:36:54 Removing intermediate container 70f094658135 08:36:54 ---> 68b60af695e8 08:36:54 Step 8/12 : COPY go.mod vendor* ./ 08:36:54 ---> 9e96d7f681e1 08:36:54 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:36:54 ---> Running in 1672af994004 08:37:40 Removing intermediate container 1672af994004 08:37:40 ---> 1f0838fb8e33 08:37:40 Step 10/12 : COPY . . 08:37:40 ---> a1a11ccc0b4a 08:37:40 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:37:40 ---> Running in bf5098955b63 08:37:40 Removing intermediate container bf5098955b63 08:37:40 ---> 826e2891252f 08:37:40 Step 12/12 : RUN $MAKE 08:37:40 ---> Running in 6973881fedb9 08:37:40 noop 08:37:40 Removing intermediate container 6973881fedb9 08:37:40 ---> d81fe4fe3243 08:37:40 Successfully built d81fe4fe3243 08:37:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:42 + docker inspect -f . ci-base-image-x86_64 08:37:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:42 prd-ubuntu20.04-docker-8c-8g-8702 does not seem to be running inside a container 08:37:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:37:42 $ docker top 5470001c93ec08c4a6b7d919cef383bdd2378a26ed6e75665c23ea4bdf86d831 -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:43 + go version 08:37:43 go version go1.20.2 linux/amd64 [Pipeline] } 08:37:43 $ docker stop --time=1 5470001c93ec08c4a6b7d919cef383bdd2378a26ed6e75665c23ea4bdf86d831 08:37:44 $ docker rm -f --volumes 5470001c93ec08c4a6b7d919cef383bdd2378a26ed6e75665c23ea4bdf86d831 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:37:46 + docker inspect -f . ci-base-image-x86_64 08:37:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:37:47 prd-ubuntu20.04-docker-8c-8g-8702 does not seem to be running inside a container 08:37:47 $ 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-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:37:47 $ docker top 109b9f957310c18e0f26dadb1c3540adb75c684ac3b4f364e37ef9f9b9214816 -eo pid,comm [Pipeline] { [Pipeline] sh 08:37:48 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-382 [Pipeline] fileExists [Pipeline] sh 08:37:48 + make test 08:37:48 go test ./... -coverprofile=coverage.out 08:37:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:38:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:38:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 08:38:12 go vet ./... 08:38:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:38:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:38:15 ./bin/test-attribution-txt.sh 08:38:15 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 08:38:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:38:15 $ docker stop --time=1 109b9f957310c18e0f26dadb1c3540adb75c684ac3b4f364e37ef9f9b9214816 08:38:18 $ docker rm -f --volumes 109b9f957310c18e0f26dadb1c3540adb75c684ac3b4f364e37ef9f9b9214816 [Pipeline] // withDockerContainer [Pipeline] sh 08:38:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:38:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:38:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:38:20 + ls -al . 08:38:20 total 192 08:38:20 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 08:37 . 08:38:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 08:36 .. 08:38:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 08:36 .git 08:38:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 08:36 .github 08:38:20 -rw-rw-r-- 1 jenkins jenkins 337 Apr 17 08:36 .gitignore 08:38:20 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 08:36 .golangci.yml 08:38:20 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 08:36 .semver 08:38:20 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 17 08:36 Attribution.txt 08:38:20 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 17 08:36 CHANGELOG.md 08:38:20 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 17 08:36 Dockerfile 08:38:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 08:36 GOVERNANCE.md 08:38:20 -rw-rw-r-- 1 jenkins jenkins 660 Apr 17 08:36 Jenkinsfile 08:38:20 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 08:36 LICENSE 08:38:20 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 17 08:36 Makefile 08:38:20 -rw-rw-r-- 1 jenkins jenkins 623 Apr 17 08:36 OWNERS.md 08:38:20 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 17 08:36 README.md 08:38:20 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 08:36 VERSION 08:38:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 08:36 bin 08:38:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 08:36 cmd 08:38:20 -rw-r--r-- 1 jenkins jenkins 43063 Apr 17 08:38 coverage.out 08:38:20 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 17 08:36 go.mod 08:38:20 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 17 08:36 go.sum 08:38:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 08:36 internal 08:38:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 08:36 snap 08:38:20 -rw-rw-r-- 1 jenkins jenkins 235 Apr 17 08:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:20 + 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=8d469254db39376f479be39397838c47013e6269 --label arch=amd64 --label version=0.0.0 . 08:38:20 Sending build context to Docker daemon 23.6MB 08:38:20 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:38:20 Step 2/25 : FROM ${BASE} AS builder 08:38:20 ---> d81fe4fe3243 08:38:20 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:38:20 ---> Running in 673d6b17173d 08:38:20 Removing intermediate container 673d6b17173d 08:38:20 ---> a965fc6cf761 08:38:20 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:38:21 ---> Running in 00fe4bfe3752 08:38:21 Removing intermediate container 00fe4bfe3752 08:38:21 ---> 633bc1415127 08:38:21 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:38:21 ---> Running in 39410b424327 08:38:21 Removing intermediate container 39410b424327 08:38:21 ---> e51ab181e90f 08:38:21 Step 6/25 : WORKDIR /device-virtual-go 08:38:21 ---> Running in f94f3ad913ee 08:38:21 Removing intermediate container f94f3ad913ee 08:38:21 ---> a4d1f0bfa3ea 08:38:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:38:21 ---> Running in 9ee95ff2f0b5 08:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:38:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:38:21 OK: 269 MiB in 57 packages 08:38:22 Removing intermediate container 9ee95ff2f0b5 08:38:22 ---> 81efce05d1e2 08:38:22 Step 8/25 : COPY go.mod vendor* ./ 08:38:22 ---> ae9548300b5c 08:38:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:38:22 ---> Running in 995aa3e144f0 08:38:23 Removing intermediate container 995aa3e144f0 08:38:23 ---> 385ad11af9f4 08:38:23 Step 10/25 : COPY . . 08:38:23 ---> d3bd76814a2d 08:38:23 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:38:23 ---> Running in b3ee4685b292 08:38:23 Removing intermediate container b3ee4685b292 08:38:23 ---> 63aef400b224 08:38:23 Step 12/25 : RUN $MAKE 08:38:23 ---> Running in 0f4d4d594854 08:38:24 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 08:38:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8703 in /w/workspace/foundry_device-virtual-go_PR-382 [Pipeline] { [Pipeline] ws 08:38:27 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 08:38:27 The recommended git tool is: git 08:38:32 using credential edgex-jenkins-ssh 08:38:32 Cloning the remote Git repository 08:38:32 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 08:38:32 > git init /w/workspace/device-virtual-go/1 # timeout=10 08:38:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:38:32 > git --version # timeout=10 08:38:33 > git --version # 'git version 2.25.1' 08:38:33 using GIT_SSH to set credentials SSH Credentials for GitHub 08:38:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:38:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:38:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:38:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 08:38:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 08:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:38:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:38:36 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit 8d469254db39376f479be39397838c47013e6269 08:38:37 Merge succeeded, producing 8d469254db39376f479be39397838c47013e6269 08:38:37 Checking out Revision 8d469254db39376f479be39397838c47013e6269 (PR-382) 08:38:36 > git config core.sparsecheckout # timeout=10 08:38:36 > git checkout -f 8d469254db39376f479be39397838c47013e6269 # timeout=10 08:38:36 > git remote # timeout=10 08:38:36 > git config --get remote.origin.url # timeout=10 08:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 08:38:36 > git merge 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 08:38:36 > git rev-parse HEAD^{commit} # timeout=10 08:38:37 > git config core.sparsecheckout # timeout=10 08:38:37 > git checkout -f 8d469254db39376f479be39397838c47013e6269 # timeout=10 08:38:40 Commit message: "build(deps): bump device-sdk-go" 08:38:40 > git --version # timeout=10 08:38:40 > git --version # 'git version 2.25.1' 08:38:40 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:38:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:38:41 % Total % Received % Xferd Average Speed Time Time Time Current 08:38:41 Dload Upload Total Spent Left Speed 08:38:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 08:38:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:38:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:38:42 + sudo tee /etc/docker/daemon.new 08:38:42 { 08:38:42 "registry-mirrors": [ 08:38:42 "https://nexus3.edgexfoundry.org:10001" 08:38:42 ], 08:38:42 "bip": "10.250.0.254/24", 08:38:42 "hosts": [ 08:38:42 "tcp://0.0.0.0:5555", 08:38:42 "unix:///var/run/docker.sock" 08:38:42 ], 08:38:42 "mtu": 1458, 08:38:42 "selinux-enabled": true, 08:38:42 "seccomp-profile": "/etc/docker/seccomp.json" 08:38:42 } [Pipeline] sh 08:38:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:38:43 + sudo service docker restart 08:38:46 Removing intermediate container 0f4d4d594854 08:38:46 ---> 220f138b9764 08:38:46 Step 13/25 : FROM alpine:3.17 08:38:46 3.17: Pulling from library/alpine 08:38:46 f56be85fc22e: Pulling fs layer 08:38:46 f56be85fc22e: Verifying Checksum 08:38:46 f56be85fc22e: Download complete 08:38:46 f56be85fc22e: Pull complete 08:38:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:38:46 Status: Downloaded newer image for alpine:3.17 08:38:46 ---> 9ed4aefc74f6 08:38:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:38:46 ---> Running in 1f0fd4077380 08:38:46 Removing intermediate container 1f0fd4077380 08:38:46 ---> d0bb35396468 08:38:46 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:38:46 ---> Running in 98c3b109444e 08:38:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:38:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:38:46 (1/1) Installing dumb-init (1.2.5-r2) 08:38:46 Executing busybox-1.35.0-r29.trigger 08:38:46 OK: 7 MiB in 16 packages 08:38:46 Removing intermediate container 98c3b109444e 08:38:46 ---> 192ed8f8ef31 08:38:46 Step 16/25 : WORKDIR / 08:38:46 ---> Running in 2963d4b69990 08:38:46 Removing intermediate container 2963d4b69990 08:38:46 ---> de4fd0d36178 08:38:46 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:38:46 ---> 09134a931eb2 08:38:46 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:38:46 ---> 6c4cab92feea 08:38:46 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:38:46 ---> 44d6f38fda48 08:38:46 Step 20/25 : EXPOSE 59900 08:38:46 ---> Running in 6bf1a6d07510 08:38:46 Removing intermediate container 6bf1a6d07510 08:38:46 ---> 4f63999da40e 08:38:46 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:38:46 ---> Running in 3e5dd009091c 08:38:46 Removing intermediate container 3e5dd009091c 08:38:46 ---> 20cfe8109dcc 08:38:46 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:38:46 ---> Running in 02fa039bd098 08:38:46 Removing intermediate container 02fa039bd098 08:38:46 ---> 2ae3425dc3c0 08:38:46 Step 23/25 : LABEL arch=amd64 08:38:46 ---> Running in be18bd55e20f 08:38:46 Removing intermediate container be18bd55e20f 08:38:46 ---> 58b689b0f9f2 08:38:46 Step 24/25 : LABEL git_sha=8d469254db39376f479be39397838c47013e6269 08:38:46 ---> Running in 8c832bfa1c96 08:38:46 Removing intermediate container 8c832bfa1c96 08:38:46 ---> 10d0b728285b 08:38:46 Step 25/25 : LABEL version=0.0.0 08:38:46 ---> Running in b39bdc0cefbc 08:38:46 Removing intermediate container b39bdc0cefbc 08:38:46 ---> d675cc613fde 08:38:46 [Warning] One or more build-args [ARCH] were not consumed 08:38:46 Successfully built d675cc613fde 08:38:46 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 08:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:47 08:38:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:38:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:47 latest: Pulling from edgex-lftools-log-publisher 08:38:47 5eb5b503b376: Pulling fs layer 08:38:47 5c69ac0246d0: Pulling fs layer 08:38:47 ec43610c2a17: Pulling fs layer 08:38:47 3a2ae6a8a46f: Pulling fs layer 08:38:47 33b1e0a273af: Pulling fs layer 08:38:47 5d3b04190fa2: Pulling fs layer 08:38:47 2f39f015ded8: Pulling fs layer 08:38:47 33b1e0a273af: Waiting 08:38:47 5d3b04190fa2: Waiting 08:38:47 3a2ae6a8a46f: Waiting 08:38:47 2f39f015ded8: Waiting 08:38:47 5c69ac0246d0: Download complete 08:38:47 3a2ae6a8a46f: Verifying Checksum 08:38:47 3a2ae6a8a46f: Download complete 08:38:47 33b1e0a273af: Verifying Checksum 08:38:47 33b1e0a273af: Download complete 08:38:47 ec43610c2a17: Verifying Checksum 08:38:47 ec43610c2a17: Download complete 08:38:47 5d3b04190fa2: Download complete 08:38:48 5eb5b503b376: Verifying Checksum 08:38:48 5eb5b503b376: Download complete 08:38:48 2f39f015ded8: Download complete 08:38:49 5eb5b503b376: Pull complete 08:38:49 5c69ac0246d0: Pull complete 08:38:49 ec43610c2a17: Pull complete 08:38:49 3a2ae6a8a46f: Pull complete 08:38:49 33b1e0a273af: Pull complete 08:38:50 5d3b04190fa2: Pull complete 08:38:54 2f39f015ded8: Pull complete 08:38:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:38:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:38:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:38:54 prd-ubuntu20.04-docker-8c-8g-8702 does not seem to be running inside a container 08:38:54 $ 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-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:38:57 $ docker top d3db2047aaaf1c71aa4c3d2feb1b2715bd0d343e0894c99f1f07a648431eb5c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:38:58 ---> job-cost.sh 08:38:58 lf-activate-venv: SKIPPING 08:38:58 INFO: No Stack... 08:38:58 INFO: Retrieving Pricing Info for: v3-standard-8 08:38:59 INFO: Archiving Costs [Pipeline] sh 08:38:59 + cat /w/workspace/foundry_device-virtual-go_PR-382/archives/cost.csv 08:38:59 + cut -d, -f6 [Pipeline] lock 08:38:59 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-382-1-stack-cost] 08:38:59 Resource [jenkins-edgexfoundry-device-virtual-go-PR-382-1-stack-cost] did not exist. Created. 08:38:59 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:39:00 + echo total: 0.2199999988079071 [Pipeline] stash 08:39:00 Stashed 1 file(s) [Pipeline] } 08:39:00 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:39:00 $ docker stop --time=1 d3db2047aaaf1c71aa4c3d2feb1b2715bd0d343e0894c99f1f07a648431eb5c4 08:39:01 $ docker rm -f --volumes d3db2047aaaf1c71aa4c3d2feb1b2715bd0d343e0894c99f1f07a648431eb5c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:39:01 provisioning config files... 08:39:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1133872566821361833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:39:02 ---> docker-login.sh 08:39:02 nexus3.edgexfoundry.org:10001 08:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:02 Configure a credential helper to remove this warning. See 08:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:02 08:39:02 Login Succeeded 08:39:02 nexus3.edgexfoundry.org:10002 08:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:03 Configure a credential helper to remove this warning. See 08:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:03 08:39:03 Login Succeeded 08:39:03 nexus3.edgexfoundry.org:10003 08:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:03 Configure a credential helper to remove this warning. See 08:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:03 08:39:03 Login Succeeded 08:39:03 nexus3.edgexfoundry.org:10004 08:39:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:03 Configure a credential helper to remove this warning. See 08:39:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:03 08:39:03 Login Succeeded 08:39:03 docker.io 08:39:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:39:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:39:04 Configure a credential helper to remove this warning. See 08:39:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:39:04 08:39:04 Login Succeeded 08:39:04 ---> docker-login.sh ends [Pipeline] } 08:39:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:39:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:39:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:39:04 ========================================================= 08:39:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 08:39:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:39:05 + 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 . 08:39:05 Sending build context to Docker daemon 11.95MB 08:39:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:39:05 Step 2/12 : FROM ${BASE} AS builder 08:39:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:39:05 af6eaf76a39c: Pulling fs layer 08:39:05 55522c791124: Pulling fs layer 08:39:05 ce5c4a1c91eb: Pulling fs layer 08:39:05 169dfbe0d373: Pulling fs layer 08:39:05 e1ff8fa3b103: Pulling fs layer 08:39:05 52ebb69f0ebf: Pulling fs layer 08:39:05 5abe8eddf0d5: Pulling fs layer 08:39:05 e1ff8fa3b103: Waiting 08:39:05 52ebb69f0ebf: Waiting 08:39:05 5abe8eddf0d5: Waiting 08:39:05 169dfbe0d373: Waiting 08:39:05 55522c791124: Verifying Checksum 08:39:05 55522c791124: Download complete 08:39:05 169dfbe0d373: Download complete 08:39:05 e1ff8fa3b103: Verifying Checksum 08:39:05 e1ff8fa3b103: Download complete 08:39:05 af6eaf76a39c: Verifying Checksum 08:39:06 af6eaf76a39c: Pull complete 08:39:07 5abe8eddf0d5: Verifying Checksum 08:39:07 5abe8eddf0d5: Download complete 08:39:07 55522c791124: Pull complete 08:39:08 ce5c4a1c91eb: Download complete 08:39:08 52ebb69f0ebf: Verifying Checksum 08:39:08 52ebb69f0ebf: Download complete 08:39:18 ce5c4a1c91eb: Pull complete 08:39:18 169dfbe0d373: Pull complete 08:39:18 e1ff8fa3b103: Pull complete 08:39:25 52ebb69f0ebf: Pull complete 08:39:30 5abe8eddf0d5: Pull complete 08:39:30 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 08:39:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 08:39:30 ---> 6cb57ee374ae 08:39:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:39:31 ---> Running in a47ff290070e 08:39:32 Removing intermediate container a47ff290070e 08:39:32 ---> c4b860eb00be 08:39:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:39:32 ---> Running in 709b0b6b4591 08:39:32 Removing intermediate container 709b0b6b4591 08:39:32 ---> 612bbe7a4f19 08:39:32 Step 5/12 : ARG ADD_BUILD_TAGS="" 08:39:32 ---> Running in b04671e6910a 08:39:32 Removing intermediate container b04671e6910a 08:39:32 ---> 307b3dc1cbbc 08:39:32 Step 6/12 : WORKDIR /device-virtual-go 08:39:32 ---> Running in 39bdcb672f5d 08:39:33 Removing intermediate container 39bdcb672f5d 08:39:33 ---> 6fb1858dcde7 08:39:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:39:33 ---> Running in dd7744564337 08:39:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:39:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:39:36 (1/4) Installing openssh-keygen (9.1_p1-r2) 08:39:36 (2/4) Installing libedit (20221030.3.1-r0) 08:39:36 (3/4) Installing openssh-client-common (9.1_p1-r2) 08:39:36 (4/4) Installing openssh-client-default (9.1_p1-r2) 08:39:36 Executing busybox-1.35.0-r29.trigger 08:39:36 OK: 268 MiB in 57 packages 08:39:37 Removing intermediate container dd7744564337 08:39:37 ---> 9b10743a4834 08:39:37 Step 8/12 : COPY go.mod vendor* ./ 08:39:38 ---> b71d06af8e64 08:39:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:39:38 ---> Running in e216c5820642 08:40:34 Removing intermediate container e216c5820642 08:40:34 ---> f41ba1cc3070 08:40:34 Step 10/12 : COPY . . 08:40:36 ---> 299c7d060f14 08:40:36 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:40:36 ---> Running in d1bddad7125d 08:40:36 Removing intermediate container d1bddad7125d 08:40:36 ---> 414b9ffa3289 08:40:36 Step 12/12 : RUN $MAKE 08:40:36 ---> Running in 88dbb7d89965 08:40:37 noop 08:40:38 Removing intermediate container 88dbb7d89965 08:40:38 ---> f5537d4769d7 08:40:38 Successfully built f5537d4769d7 08:40:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:39 + docker inspect -f . ci-base-image-arm64 08:40:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:39 prd-ubuntu20.04-docker-arm64-4c-16g-8703 does not seem to be running inside a container 08:40:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:40:40 $ docker top e7de2202507330266cd10d98865039b414fac813610a044d892abae71f818417 -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:41 + go version 08:40:41 go version go1.20.2 linux/arm64 [Pipeline] } 08:40:41 $ docker stop --time=1 e7de2202507330266cd10d98865039b414fac813610a044d892abae71f818417 08:40:42 $ docker rm -f --volumes e7de2202507330266cd10d98865039b414fac813610a044d892abae71f818417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:43 + docker inspect -f . ci-base-image-arm64 08:40:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:44 prd-ubuntu20.04-docker-arm64-4c-16g-8703 does not seem to be running inside a container 08:40:44 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:40:45 $ docker top e343fda2b1c5a6fecfdeeade5000210d5b0ce54fdb724a5b5114dea5b08b7fd9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:40:46 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 08:40:46 + make test 08:40:46 go test ./... -coverprofile=coverage.out 08:41:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 08:43:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 08:43:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.088s coverage: 58.4% of statements 08:43:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:43:10 go vet ./... 08:43:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:43:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:43:32 ./bin/test-attribution-txt.sh 08:43:32 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 08:43:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:43:32 $ docker stop --time=1 e343fda2b1c5a6fecfdeeade5000210d5b0ce54fdb724a5b5114dea5b08b7fd9 08:43:35 $ docker rm -f --volumes e343fda2b1c5a6fecfdeeade5000210d5b0ce54fdb724a5b5114dea5b08b7fd9 [Pipeline] // withDockerContainer [Pipeline] sh 08:43:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:43:36 Warning: overwriting stash ‘coverage-report’ 08:43:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:43:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:43:38 + ls -al . 08:43:38 total 188 08:43:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 08:40 . 08:43:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 08:38 .. 08:43:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 08:38 .git 08:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 08:38 .github 08:43:38 -rw-rw-r-- 1 jenkins jenkins 337 Apr 17 08:38 .gitignore 08:43:38 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 08:38 .golangci.yml 08:43:38 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 17 08:38 Attribution.txt 08:43:38 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 17 08:38 CHANGELOG.md 08:43:38 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 17 08:38 Dockerfile 08:43:38 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 08:38 GOVERNANCE.md 08:43:38 -rw-rw-r-- 1 jenkins jenkins 660 Apr 17 08:38 Jenkinsfile 08:43:38 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 08:38 LICENSE 08:43:38 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 17 08:38 Makefile 08:43:38 -rw-rw-r-- 1 jenkins jenkins 623 Apr 17 08:38 OWNERS.md 08:43:38 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 17 08:38 README.md 08:43:38 -rw-rw-r-- 1 jenkins jenkins 5 Apr 17 08:36 VERSION 08:43:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 08:38 bin 08:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 08:38 cmd 08:43:38 -rw-r--r-- 1 jenkins jenkins 43063 Apr 17 08:42 coverage.out 08:43:38 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 17 08:38 go.mod 08:43:38 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 17 08:38 go.sum 08:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 08:38 internal 08:43:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 08:38 snap 08:43:38 -rw-rw-r-- 1 jenkins jenkins 235 Apr 17 08:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:43:38 + 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=8d469254db39376f479be39397838c47013e6269 --label arch=arm64 --label version=0.0.0 . 08:43:39 Sending build context to Docker daemon 12MB 08:43:39 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 08:43:39 Step 2/25 : FROM ${BASE} AS builder 08:43:39 ---> f5537d4769d7 08:43:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:43:39 ---> Running in e2d12b27bedc 08:43:39 Removing intermediate container e2d12b27bedc 08:43:39 ---> b76f93efe009 08:43:39 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 08:43:40 ---> Running in 534eb3892d51 08:43:40 Removing intermediate container 534eb3892d51 08:43:40 ---> d4b4d0fe603f 08:43:40 Step 5/25 : ARG ADD_BUILD_TAGS="" 08:43:40 ---> Running in ee088fd95c3f 08:43:40 Removing intermediate container ee088fd95c3f 08:43:40 ---> b31b3f5e5bca 08:43:40 Step 6/25 : WORKDIR /device-virtual-go 08:43:40 ---> Running in ade426a0e217 08:43:40 Removing intermediate container ade426a0e217 08:43:40 ---> 63d6970f01cc 08:43:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:43:41 ---> Running in b95c5bca0b5f 08:43:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:43:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:43:45 OK: 268 MiB in 57 packages 08:43:45 Removing intermediate container b95c5bca0b5f 08:43:45 ---> 7c64c0788753 08:43:45 Step 8/25 : COPY go.mod vendor* ./ 08:43:46 ---> 87e0ca9224b5 08:43:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:43:47 ---> Running in a6116c10b7a6 08:43:51 Removing intermediate container a6116c10b7a6 08:43:51 ---> 204be5bc42c9 08:43:51 Step 10/25 : COPY . . 08:43:53 ---> 1a5de9d43ddd 08:43:53 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:43:53 ---> Running in 96336a57d20b 08:43:53 Removing intermediate container 96336a57d20b 08:43:53 ---> 92d4c68a76d2 08:43:53 Step 12/25 : RUN $MAKE 08:43:53 ---> Running in 490a16c30679 08:43:55 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 08:46:01 Removing intermediate container 490a16c30679 08:46:01 ---> 6f571bdaab67 08:46:01 Step 13/25 : FROM alpine:3.17 08:46:01 3.17: Pulling from library/alpine 08:46:01 c41833b44d91: Pulling fs layer 08:46:01 c41833b44d91: Download complete 08:46:01 c41833b44d91: Pull complete 08:46:01 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:46:01 Status: Downloaded newer image for alpine:3.17 08:46:01 ---> 51e60588ff2c 08:46:01 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 08:46:01 ---> Running in db79311d7cbb 08:46:01 Removing intermediate container db79311d7cbb 08:46:01 ---> 2e4ee6bde227 08:46:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 08:46:01 ---> Running in b06e328999e8 08:46:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:46:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:46:01 (1/1) Installing dumb-init (1.2.5-r2) 08:46:01 Executing busybox-1.35.0-r29.trigger 08:46:01 OK: 8 MiB in 16 packages 08:46:01 Removing intermediate container b06e328999e8 08:46:01 ---> 2b20daa1e1d2 08:46:01 Step 16/25 : WORKDIR / 08:46:01 ---> Running in e89a6fe87c50 08:46:02 Removing intermediate container e89a6fe87c50 08:46:02 ---> 2897b50f96da 08:46:02 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 08:46:02 ---> c5b0116dd543 08:46:02 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 08:46:03 ---> aa7aece671c1 08:46:03 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 08:46:04 ---> 4b5649ce7fbd 08:46:04 Step 20/25 : EXPOSE 59900 08:46:04 ---> Running in b1728c989802 08:46:04 Removing intermediate container b1728c989802 08:46:04 ---> c8c5b2cbacc7 08:46:04 Step 21/25 : ENTRYPOINT ["/device-virtual"] 08:46:04 ---> Running in f6c229b4a0a9 08:46:05 Removing intermediate container f6c229b4a0a9 08:46:05 ---> 17460a973c82 08:46:05 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 08:46:05 ---> Running in d89ab88c1a2f 08:46:05 Removing intermediate container d89ab88c1a2f 08:46:05 ---> d166cc3a46f4 08:46:05 Step 23/25 : LABEL arch=arm64 08:46:05 ---> Running in da6bf83ab144 08:46:05 Removing intermediate container da6bf83ab144 08:46:05 ---> a4110e825d4f 08:46:05 Step 24/25 : LABEL git_sha=8d469254db39376f479be39397838c47013e6269 08:46:05 ---> Running in 04edfc412e63 08:46:05 Removing intermediate container 04edfc412e63 08:46:05 ---> 0ec5511dd8b8 08:46:05 Step 25/25 : LABEL version=0.0.0 08:46:05 ---> Running in fbd769d5d6fd 08:46:06 Removing intermediate container fbd769d5d6fd 08:46:06 ---> 68271f1a6e46 08:46:06 [Warning] One or more build-args [ARCH] were not consumed 08:46:06 Successfully built 68271f1a6e46 08:46:06 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 08:46:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:46:07 08:46:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:46:07 arm64: Pulling from edgex-lftools-log-publisher 08:46:07 8998bd30e6a1: Pulling fs layer 08:46:07 04944245beec: Pulling fs layer 08:46:07 699f458cf7ca: Pulling fs layer 08:46:07 765212b225bb: Pulling fs layer 08:46:07 f23df028b6ca: Pulling fs layer 08:46:07 d65c8cfc05b1: Pulling fs layer 08:46:07 2437ff75d9bd: Pulling fs layer 08:46:07 f23df028b6ca: Waiting 08:46:07 d65c8cfc05b1: Waiting 08:46:07 2437ff75d9bd: Waiting 08:46:07 765212b225bb: Waiting 08:46:07 04944245beec: Verifying Checksum 08:46:07 04944245beec: Download complete 08:46:07 765212b225bb: Verifying Checksum 08:46:07 765212b225bb: Download complete 08:46:07 f23df028b6ca: Verifying Checksum 08:46:07 f23df028b6ca: Download complete 08:46:07 d65c8cfc05b1: Verifying Checksum 08:46:07 d65c8cfc05b1: Download complete 08:46:07 699f458cf7ca: Verifying Checksum 08:46:07 699f458cf7ca: Download complete 08:46:08 8998bd30e6a1: Verifying Checksum 08:46:08 8998bd30e6a1: Download complete 08:46:10 2437ff75d9bd: Verifying Checksum 08:46:10 2437ff75d9bd: Download complete 08:46:11 8998bd30e6a1: Pull complete 08:46:15 04944245beec: Pull complete 08:46:16 699f458cf7ca: Pull complete 08:46:16 765212b225bb: Pull complete 08:46:17 f23df028b6ca: Pull complete 08:46:17 d65c8cfc05b1: Pull complete 08:46:29 2437ff75d9bd: Pull complete 08:46:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:46:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:46:30 prd-ubuntu20.04-docker-arm64-4c-16g-8703 does not seem to be running inside a container 08:46:30 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:46:32 $ docker top 7990b8a42fb8f03c1580dba6e854e13e85f0dfca8e17fa62695cfd6857695b18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:32 ---> job-cost.sh 08:46:33 lf-activate-venv: SKIPPING 08:46:33 INFO: No Stack... 08:46:33 INFO: Retrieving Pricing Info for: v3-standard-4 08:46:34 INFO: Archiving Costs [Pipeline] sh 08:46:34 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 08:46:34 + cut -d, -f6 [Pipeline] lock 08:46:34 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-382-1-stack-cost] 08:46:34 Resource [jenkins-edgexfoundry-device-virtual-go-PR-382-1-stack-cost] did not exist. Created. 08:46:34 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-382-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:46:35 /w/workspace/device-virtual-go/1@tmp/durable-a2ca4db7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:46:35 + echo total: 0.10999999940395355 [Pipeline] stash 08:46:35 Warning: overwriting stash ‘stack-cost’ 08:46:35 Stashed 1 file(s) [Pipeline] } 08:46:35 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-382-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:46:35 $ docker stop --time=1 7990b8a42fb8f03c1580dba6e854e13e85f0dfca8e17fa62695cfd6857695b18 08:46:37 $ docker rm -f --volumes 7990b8a42fb8f03c1580dba6e854e13e85f0dfca8e17fa62695cfd6857695b18 [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 08:46:38 provisioning config files... 08:46:38 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-382@tmp/config7133850913339877275tmp [Pipeline] { [Pipeline] sh 08:46:38 + set +x 08:46:38 + curl -s https://codecov.io/bash 08:46:38 + bash -s -- 08:46:38 08:46:38 _____ _ 08:46:38 / ____| | | 08:46:38 | | ___ __| | ___ ___ _____ __ 08:46:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:46:38 | |___| (_) | (_| | __/ (_| (_) \ V / 08:46:38 \_____\___/ \__,_|\___|\___\___/ \_/ 08:46:38 Bash-1.0.6 08:46:38 08:46:38 08:46:38 ==> git version 2.25.1 found 08:46:38 ==> 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 08:46:38 Release-Date: 2020-01-08 08:46:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:46:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:46:38 ==> Jenkins CI detected. 08:46:38 current dir:  /w/workspace/foundry_device-virtual-go_PR-382 08:46:38 project root: . 08:46:38 --> token set from env 08:46:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:46:38 ==> Running gcov in . (disable via -X gcov) 08:46:38 ==> Python coveragepy not found 08:46:38 ==> Searching for coverage reports in: 08:46:38 + . 08:46:38 -> Found 1 reports 08:46:38 ==> Detecting git/mercurial file structure 08:46:38 ==> Reading reports 08:46:38 + ./coverage.out bytes=43063 08:46:38 ==> Appending adjustments 08:46:38 https://docs.codecov.io/docs/fixing-reports 08:46:38 + Found adjustments 08:46:38 ==> Gzipping contents 08:46:38 8.0K /tmp/codecov.AhpIP1.gz 08:46:38 ==> Uploading reports 08:46:38 url: https://codecov.io 08:46:38 query: branch=PR-382&commit=8d469254db39376f479be39397838c47013e6269&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-382%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=382&job=&cmd_args= 08:46:38 -> Pinging Codecov 08:46:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-382&commit=8d469254db39376f479be39397838c47013e6269&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-382%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=382&job=&cmd_args= 08:46:38 -> Uploading to 08:46:38 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/5E52B4B073DB2E39498172D8E973AA87/8d469254db39376f479be39397838c47013e6269/ad637abb-826e-40a1-9d87-a0f88a14bb48.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T084638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=942f1f676d477ace825c965d10c29b8f3c6fd09567503ff92420f181fa685546 08:46:38 % Total % Received % Xferd Average Speed Time Time Time Current 08:46:38 Dload Upload Total Spent Left Speed 08:46:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 22837 --:--:-- --:--:-- --:--:-- 22837 08:46:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/8d469254db39376f479be39397838c47013e6269 [Pipeline] } 08:46:39 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 08:46:40 + [ -d /w/workspace/foundry_device-virtual-go_PR-382/archives ] 08:46:40 + ls -al /w/workspace/foundry_device-virtual-go_PR-382/archives 08:46:40 total 16 08:46:40 drwxr-xr-x 3 root root 4096 Apr 17 08:38 . 08:46:40 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 08:38 .. 08:46:40 drwxr-xr-x 2 root root 4096 Apr 17 08:38 cost 08:46:40 -rw-r--r-- 1 root root 89 Apr 17 08:38 cost.csv 08:46:40 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-382/archives 08:46:40 + ls -al /w/workspace/foundry_device-virtual-go_PR-382/archives 08:46:40 total 16 08:46:40 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 08:38 . 08:46:40 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 08:38 .. 08:46:40 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 08:38 cost 08:46:40 -rw-r--r-- 1 jenkins jenkins 89 Apr 17 08:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:46:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:46:42 ---> package-listing.sh 08:46:42 ++ tr '[:upper:]' '[:lower:]' 08:46:42 ++ facter osfamily 08:46:42 + OS_FAMILY=debian 08:46:42 + workspace=/w/workspace/foundry_device-virtual-go_PR-382 08:46:42 + START_PACKAGES=/tmp/packages_start.txt 08:46:42 + END_PACKAGES=/tmp/packages_end.txt 08:46:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:46:42 + PACKAGES=/tmp/packages_start.txt 08:46:42 + '[' /w/workspace/foundry_device-virtual-go_PR-382 ']' 08:46:42 + PACKAGES=/tmp/packages_end.txt 08:46:42 + case "${OS_FAMILY}" in 08:46:42 + dpkg -l 08:46:42 + grep '^ii' 08:46:42 + '[' -f /tmp/packages_start.txt ']' 08:46:42 + '[' -f /tmp/packages_end.txt ']' 08:46:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:46:42 + '[' /w/workspace/foundry_device-virtual-go_PR-382 ']' 08:46:42 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-382/archives/ 08:46:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-382/archives/ [Pipeline] echo 08:46:42 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-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:46:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:46:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:46:43 prd-ubuntu20.04-docker-8c-8g-8702 does not seem to be running inside a container 08:46:43 $ 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-382/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-382 -v /w/workspace/foundry_device-virtual-go_PR-382:/w/workspace/foundry_device-virtual-go_PR-382:rw,z -v /w/workspace/foundry_device-virtual-go_PR-382@tmp:/w/workspace/foundry_device-virtual-go_PR-382@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:46:43 $ docker top 9086d3b9b7397987b4361cdcd74abd6e4958f555fc18bd5a450fba3cd5d112a1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:46:44 + touch /tmp/pre-build-complete [Pipeline] sh 08:46:44 + mkdir -p /var/log/sysstat [Pipeline] sh 08:46:44 + ls /var/log/sa-host 08:46:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:45 provisioning config files... 08:46:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-382@tmp/config5645115462777249405tmp [Pipeline] { [Pipeline] echo 08:46:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:46:45 ---> create-netrc.sh [Pipeline] } 08:46:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:46:45 ---> python-tools-install.sh [Pipeline] echo 08:46:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:46:46 ---> sudo-logs.sh 08:46:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:46:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:46:46 ---> job-cost.sh 08:46:46 lf-activate-venv: SKIPPING 08:46:46 DEBUG: total: 0.2199999988079071 08:46:46 INFO: Retrieving Stack Cost... 08:46:46 INFO: Retrieving Pricing Info for: v3-standard-8 08:46:47 INFO: Archiving Costs [Pipeline] echo 08:46:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:46:47 ---> logs-deploy.sh 08:46:47 lf-activate-venv: SKIPPING 08:46:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-382/1 08:46:47 INFO: archiving workspace using pattern(s): 08:46:49 Archives upload complete. 08:46:49 INFO: archiving logs to Nexus