Pull request #472 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 64d422d2d8215066b2913d000f26b599c062ccd4+fd38c4f9940e502c46e28314a76cae12c6b2822f (defb6eab90d3bc3f83b9850119aa29373c75ad39) 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-ssh9716386306449890397.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh7113948118497463629.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 590556114a56c6d90cc8043840e039c2f74196dc 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-472/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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16553069470821404110.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-472/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16372815201368132363.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh2456256270726925730.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-472/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-472/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10117749510844466172.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 590556114a56c6d90cc8043840e039c2f74196dc 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.21 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-1040 in /w/workspace/foundry_device-virtual-go_PR-472 [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-472 # 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 Merging remotes/origin/main commit fd38c4f9940e502c46e28314a76cae12c6b2822f into PR head commit 64d422d2d8215066b2913d000f26b599c062ccd4 Merge succeeded, producing 64d422d2d8215066b2913d000f26b599c062ccd4 Checking out Revision 64d422d2d8215066b2913d000f26b599c062ccd4 (PR-472) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 64d422d2d8215066b2913d000f26b599c062ccd4 # 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 fd38c4f9940e502c46e28314a76cae12c6b2822f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 64d422d2d8215066b2913d000f26b599c062ccd4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:22:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:22:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:22:36 ========================================================= 11:22:36 EdgeX Global Pipelines Version Info 11:22:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:22:37 ------------------- 11:22:37 stable info: 11:22:37 ------------------- 11:22:37 Commited By: Ginny Guan ginny@iotechsys.com 11:22:37 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 11:22:37 Message: update stable to v1.0.260 11:22:38 ------------------- 11:22:38 experimental info: 11:22:38 ------------------- 11:22:38 Commited By: Ginny Guan ginny@iotechsys.com 11:22:38 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 11:22:38 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:22:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:22:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-472 [Pipeline] echo 11:22:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-472 [Pipeline] echo 11:22:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-472 [Pipeline] echo 11:22:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 64d422d2d8215066b2913d000f26b599c062ccd4 [Pipeline] echo 11:22:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 64d422d [Pipeline] echo 11:22:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:22:40 provisioning config files... 11:22:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-472@tmp/config13408238181318241112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:22:40 ---> ****-login.sh 11:22:40 nexus3.edgexfoundry.org:10001 11:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:22:41 Configure a credential helper to remove this warning. See 11:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:22:41 11:22:41 Login Succeeded 11:22:41 nexus3.edgexfoundry.org:10002 11:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:22:41 Configure a credential helper to remove this warning. See 11:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:22:41 11:22:41 Login Succeeded 11:22:41 nexus3.edgexfoundry.org:10003 11:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:22:41 Configure a credential helper to remove this warning. See 11:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:22:41 11:22:41 Login Succeeded 11:22:41 nexus3.edgexfoundry.org:10004 11:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:22:41 Configure a credential helper to remove this warning. See 11:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:22:41 11:22:41 Login Succeeded 11:22:41 ****.io 11:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:22:41 Configure a credential helper to remove this warning. See 11:22:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:22:41 11:22:41 Login Succeeded 11:22:41 ---> ****-login.sh ends [Pipeline] } 11:22:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:22:42 + git rev-list -1 --merges 64d422d2d8215066b2913d000f26b599c062ccd4~1..64d422d2d8215066b2913d000f26b599c062ccd4 [Pipeline] echo 11:22:42 -----------> git rev-list -1 --merges 64d422d2d8215066b2913d000f26b599c062ccd4~1..64d422d2d8215066b2913d000f26b599c062ccd4 64d422d2d8215066b2913d000f26b599c062ccd4 [false] [Pipeline] sh 11:22:43 + git log --format=format:%s -1 64d422d2d8215066b2913d000f26b599c062ccd4 [Pipeline] echo 11:22:43 ========================================================= 11:22:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:22:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:22:43 + git log --format=format:%s -1 64d422d2d8215066b2913d000f26b599c062ccd4 [Pipeline] echo 11:22:43 [semverPrep] GIT_COMMIT: 64d422d2d8215066b2913d000f26b599c062ccd4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:22:43 [semverPrep] This is not a build commit. [Pipeline] sh 11:22:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:22:44 + grep -v github /etc/ssh/ssh_known_hosts 11:22:44 + [ -e /tmp/ssh_known_hosts ] 11:22:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:22:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:22:44 + sudo tee -a /etc/ssh/ssh_known_hosts 11:22:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:22:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:22:44 11:22:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:22:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:22:44 0.1.4: Pulling from edgex-devops/py-git-semver 11:22:44 b85a868b505f: Pulling fs layer 11:22:44 e2be974225ed: Pulling fs layer 11:22:44 339a4e72a1f5: Pulling fs layer 11:22:44 988bab9f4d93: Pulling fs layer 11:22:44 1469e6f7b9e6: Pulling fs layer 11:22:44 eaf3925da568: Pulling fs layer 11:22:44 bab4dde63d76: Pulling fs layer 11:22:44 bde34c3a00c8: Pulling fs layer 11:22:44 b352a97aabf1: Pulling fs layer 11:22:44 4872d77fe225: Pulling fs layer 11:22:44 5851b861e8e6: Pulling fs layer 11:22:44 bab4dde63d76: Waiting 11:22:44 bde34c3a00c8: Waiting 11:22:44 988bab9f4d93: Waiting 11:22:44 b352a97aabf1: Waiting 11:22:44 eaf3925da568: Waiting 11:22:44 5851b861e8e6: Waiting 11:22:44 1469e6f7b9e6: Waiting 11:22:44 e2be974225ed: Verifying Checksum 11:22:44 e2be974225ed: Download complete 11:22:44 988bab9f4d93: Download complete 11:22:44 1469e6f7b9e6: Verifying Checksum 11:22:44 1469e6f7b9e6: Download complete 11:22:44 339a4e72a1f5: Verifying Checksum 11:22:44 339a4e72a1f5: Download complete 11:22:45 eaf3925da568: Verifying Checksum 11:22:45 eaf3925da568: Download complete 11:22:45 bde34c3a00c8: Verifying Checksum 11:22:45 bde34c3a00c8: Download complete 11:22:45 b352a97aabf1: Download complete 11:22:45 4872d77fe225: Verifying Checksum 11:22:45 4872d77fe225: Download complete 11:22:45 5851b861e8e6: Verifying Checksum 11:22:45 5851b861e8e6: Download complete 11:22:45 b85a868b505f: Verifying Checksum 11:22:45 b85a868b505f: Download complete 11:22:45 bab4dde63d76: Verifying Checksum 11:22:45 bab4dde63d76: Download complete 11:22:46 b85a868b505f: Pull complete 11:22:46 e2be974225ed: Pull complete 11:22:47 339a4e72a1f5: Pull complete 11:22:47 988bab9f4d93: Pull complete 11:22:47 1469e6f7b9e6: Pull complete 11:22:47 eaf3925da568: Pull complete 11:22:49 bab4dde63d76: Pull complete 11:22:49 bde34c3a00c8: Pull complete 11:22:49 b352a97aabf1: Pull complete 11:22:49 4872d77fe225: Pull complete 11:22:49 5851b861e8e6: Pull complete 11:22:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:22:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:22:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:22:49 prd-ubuntu20.04-docker-8c-8g-1040 does not seem to be running inside a container 11:22:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-472 -v /w/workspace/foundry_device-virtual-go_PR-472:/w/workspace/foundry_device-virtual-go_PR-472:rw,z -v /w/workspace/foundry_device-virtual-go_PR-472@tmp:/w/workspace/foundry_device-virtual-go_PR-472@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:22:52 $ docker top d3837766b5edc94e086f6579aa34c3b5d2bae08007fb39c167d0b45cb71e6259 -eo pid,comm 11:22:52 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). 11:22:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:22:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:22:52 [ssh-agent] Looking for ssh-agent implementation... 11:22:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:22:52 $ docker exec d3837766b5edc94e086f6579aa34c3b5d2bae08007fb39c167d0b45cb71e6259 ssh-agent 11:22:52 SSH_AUTH_SOCK=/tmp/ssh-wFuv7aVUIcIC/agent.32 11:22:52 SSH_AGENT_PID=38 11:22:52 Running ssh-add (command line suppressed) 11:22:52 Identity added: /w/workspace/foundry_device-virtual-go_PR-472@tmp/private_key_10236168752752392301.key (/w/workspace/foundry_device-virtual-go_PR-472@tmp/private_key_10236168752752392301.key) 11:22:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:22:52 + git tag --points-at HEAD [Pipeline] } 11:22:52 $ docker exec --env ******** --env ******** d3837766b5edc94e086f6579aa34c3b5d2bae08007fb39c167d0b45cb71e6259 ssh-agent -k 11:22:53 unset SSH_AUTH_SOCK; 11:22:53 unset SSH_AGENT_PID; 11:22:53 echo Agent pid 38 killed; 11:22:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:22:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:22:53 [ssh-agent] Looking for ssh-agent implementation... 11:22:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:22:53 $ docker exec d3837766b5edc94e086f6579aa34c3b5d2bae08007fb39c167d0b45cb71e6259 ssh-agent 11:22:53 SSH_AUTH_SOCK=/tmp/ssh-aHFAV3CrCGe5/agent.71 11:22:53 SSH_AGENT_PID=77 11:22:53 Running ssh-add (command line suppressed) 11:22:53 Identity added: /w/workspace/foundry_device-virtual-go_PR-472@tmp/private_key_52904479161615895.key (/w/workspace/foundry_device-virtual-go_PR-472@tmp/private_key_52904479161615895.key) 11:22:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:22:53 + git semver init 11:22:54 2024-05-29 11:22:54,051 [run_init] DEBUG init version:0.0.0 force:False 11:22:54 2024-05-29 11:22:54,051 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-472/.semver 11:22:54 2024-05-29 11:22:54,052 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-472/.semver 11:22:54 2024-05-29 11:22:54,052 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-472/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-472, universal_newlines=False, shell=None, istream=None) 11:22:56 2024-05-29 11:22:55,957 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-472/.git/info/exclude 11:22:56 2024-05-29 11:22:55,958 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-472/.semver/PR-472 with force:False 11:22:56 2024-05-29 11:22:55,958 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-472/.semver/PR-472 11:22:56 2024-05-29 11:22:55,962 [execute] INFO git cat-file --batch-check 11:22:56 2024-05-29 11:22:55,962 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-472/.semver, universal_newlines=False, shell=None, istream=) 11:22:56 2024-05-29 11:22:55,968 [execute] INFO git cat-file --batch 11:22:56 2024-05-29 11:22:55,969 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-472/.semver, universal_newlines=False, shell=None, istream=) 11:22:56 2024-05-29 11:22:55,973 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-472/.semver/PR-472 11:22:56 0.0.0 [Pipeline] } 11:22:56 $ docker exec --env ******** --env ******** d3837766b5edc94e086f6579aa34c3b5d2bae08007fb39c167d0b45cb71e6259 ssh-agent -k 11:22:56 unset SSH_AUTH_SOCK; 11:22:56 unset SSH_AGENT_PID; 11:22:56 echo Agent pid 77 killed; 11:22:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:22:56 + git semver [Pipeline] } 11:22:56 $ docker stop --time=1 d3837766b5edc94e086f6579aa34c3b5d2bae08007fb39c167d0b45cb71e6259 11:22:58 $ docker rm -f --volumes d3837766b5edc94e086f6579aa34c3b5d2bae08007fb39c167d0b45cb71e6259 [Pipeline] // withDockerContainer [Pipeline] sh 11:22:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:22:58 Stashed 1 file(s) [Pipeline] echo 11:22:58 [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 11:22:59 provisioning config files... 11:22:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-472@tmp/config15130862203003336730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:23:00 ---> ****-login.sh 11:23:00 nexus3.edgexfoundry.org:10001 11:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:23:00 Configure a credential helper to remove this warning. See 11:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:23:00 11:23:00 Login Succeeded 11:23:00 nexus3.edgexfoundry.org:10002 11:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:23:00 Configure a credential helper to remove this warning. See 11:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:23:00 11:23:00 Login Succeeded 11:23:00 nexus3.edgexfoundry.org:10003 11:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:23:00 Configure a credential helper to remove this warning. See 11:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:23:00 11:23:00 Login Succeeded 11:23:00 nexus3.edgexfoundry.org:10004 11:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:23:00 Configure a credential helper to remove this warning. See 11:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:23:00 11:23:00 Login Succeeded 11:23:00 ****.io 11:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:23:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:23:00 Configure a credential helper to remove this warning. See 11:23:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:23:00 11:23:00 Login Succeeded 11:23:00 ---> ****-login.sh ends [Pipeline] } 11:23:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:23:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:23:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:23:00 ========================================================= 11:23:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:23:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:23:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:23:01 Sending build context to Docker daemon 37.49MB 11:23:01 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:23:01 Step 2/12 : FROM ${BASE} AS builder 11:23:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:23:01 619be1103602: Pulling fs layer 11:23:01 7862e08f4a3e: Pulling fs layer 11:23:01 5df492c9dc93: Pulling fs layer 11:23:01 7629e6793208: Pulling fs layer 11:23:01 4f4fb700ef54: Pulling fs layer 11:23:01 fb5054dd5b73: Pulling fs layer 11:23:01 eeca6798cff9: Pulling fs layer 11:23:01 aa269ceb94a6: Pulling fs layer 11:23:01 ada007ff1a6a: Pulling fs layer 11:23:01 7629e6793208: Waiting 11:23:01 4f4fb700ef54: Waiting 11:23:01 fb5054dd5b73: Waiting 11:23:01 eeca6798cff9: Waiting 11:23:01 aa269ceb94a6: Waiting 11:23:01 ada007ff1a6a: Waiting 11:23:01 7862e08f4a3e: Download complete 11:23:01 7629e6793208: Download complete 11:23:01 4f4fb700ef54: Verifying Checksum 11:23:01 4f4fb700ef54: Download complete 11:23:01 fb5054dd5b73: Verifying Checksum 11:23:01 fb5054dd5b73: Download complete 11:23:01 619be1103602: Verifying Checksum 11:23:01 619be1103602: Download complete 11:23:01 eeca6798cff9: Verifying Checksum 11:23:01 eeca6798cff9: Download complete 11:23:01 619be1103602: Pull complete 11:23:01 ada007ff1a6a: Verifying Checksum 11:23:01 ada007ff1a6a: Download complete 11:23:01 7862e08f4a3e: Pull complete 11:23:02 5df492c9dc93: Download complete 11:23:02 aa269ceb94a6: Verifying Checksum 11:23:02 aa269ceb94a6: Download complete 11:23:05 5df492c9dc93: Pull complete 11:23:05 7629e6793208: Pull complete 11:23:05 4f4fb700ef54: Pull complete 11:23:05 fb5054dd5b73: Pull complete 11:23:05 eeca6798cff9: Pull complete 11:23:07 aa269ceb94a6: Pull complete 11:23:07 ada007ff1a6a: Pull complete 11:23:07 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 11:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:23:08 ---> f489d0715acc 11:23:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:23:12 ---> Running in c75a1ba34426 11:23:12 Removing intermediate container c75a1ba34426 11:23:12 ---> b2f5888458aa 11:23:12 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:23:12 ---> Running in e82d3bc35025 11:23:12 Removing intermediate container e82d3bc35025 11:23:12 ---> d41a5f1e5edf 11:23:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:23:12 ---> Running in 13a297d3c2aa 11:23:12 Removing intermediate container 13a297d3c2aa 11:23:12 ---> e3d35e0c3447 11:23:12 Step 6/12 : WORKDIR /device-virtual-go 11:23:12 ---> Running in fc9a8b1a8ee0 11:23:12 Removing intermediate container fc9a8b1a8ee0 11:23:12 ---> d6dd1075f81a 11:23:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:23:12 ---> Running in ad1e77fefd28 11:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:23:13 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:23:13 (2/4) Installing libedit (20221030.3.1-r1) 11:23:13 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:23:13 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:23:13 Executing busybox-1.36.1-r5.trigger 11:23:13 OK: 268 MiB in 56 packages 11:23:13 Removing intermediate container ad1e77fefd28 11:23:13 ---> de547e60f2dc 11:23:13 Step 8/12 : COPY go.mod vendor* ./ 11:23:13 ---> db5c41294c78 11:23:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:23:13 ---> Running in 83c57af8adef 11:23:14 Still waiting to schedule task 11:23:14 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:24:00 Removing intermediate container 83c57af8adef 11:24:00 ---> 9da37875f91b 11:24:00 Step 10/12 : COPY . . 11:24:00 ---> 2a47654fdc2e 11:24:00 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:24:00 ---> Running in 7225ad8f5e1d 11:24:00 Removing intermediate container 7225ad8f5e1d 11:24:00 ---> daafe9ee89da 11:24:00 Step 12/12 : RUN $MAKE 11:24:00 ---> Running in e70fd2bf2f27 11:24:00 noop 11:24:00 Removing intermediate container e70fd2bf2f27 11:24:00 ---> 66aef1bcc2ef 11:24:00 Successfully built 66aef1bcc2ef 11:24:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:24:00 + docker inspect -f . ci-base-image-x86_64 11:24:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:24:00 prd-ubuntu20.04-docker-8c-8g-1040 does not seem to be running inside a container 11:24:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-472 -v /w/workspace/foundry_device-virtual-go_PR-472:/w/workspace/foundry_device-virtual-go_PR-472:rw,z -v /w/workspace/foundry_device-virtual-go_PR-472@tmp:/w/workspace/foundry_device-virtual-go_PR-472@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 ******** ci-base-image-x86_64 cat 11:24:01 $ docker top 5cbb31b8515b62bed69ed6d0369c522f9357b83020d70ce0c75fe08a9e426e43 -eo pid,comm [Pipeline] { [Pipeline] sh 11:24:01 + go version 11:24:01 go version go1.21.9 linux/amd64 [Pipeline] } 11:24:01 $ docker stop --time=1 5cbb31b8515b62bed69ed6d0369c522f9357b83020d70ce0c75fe08a9e426e43 11:24:03 $ docker rm -f --volumes 5cbb31b8515b62bed69ed6d0369c522f9357b83020d70ce0c75fe08a9e426e43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:24:03 + docker inspect -f . ci-base-image-x86_64 11:24:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:24:04 prd-ubuntu20.04-docker-8c-8g-1040 does not seem to be running inside a container 11:24:04 $ 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-472 -v /w/workspace/foundry_device-virtual-go_PR-472:/w/workspace/foundry_device-virtual-go_PR-472:rw,z -v /w/workspace/foundry_device-virtual-go_PR-472@tmp:/w/workspace/foundry_device-virtual-go_PR-472@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 ******** ci-base-image-x86_64 cat 11:24:04 $ docker top 92aa057ac6ac55ba9e27d565c4bdadb9bd07b085b1db77d1deefa135714132e6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:24:04 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-472 [Pipeline] fileExists [Pipeline] sh 11:24:05 + make test 11:24:05 go test ./... -coverprofile=coverage.out 11:24:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:24:24 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:24:24 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements 11:24:36 go vet ./... 11:24:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:24:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:24:41 ./bin/test-attribution-txt.sh 11:24:41 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:24:41 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:24:41 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:24:41 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:24:41 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:24:41 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:24:41 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:24:41 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:24:41 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:24:41 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:24:41 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:24:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:24:41 $ docker stop --time=1 92aa057ac6ac55ba9e27d565c4bdadb9bd07b085b1db77d1deefa135714132e6 11:24:44 $ docker rm -f --volumes 92aa057ac6ac55ba9e27d565c4bdadb9bd07b085b1db77d1deefa135714132e6 [Pipeline] // withDockerContainer [Pipeline] sh 11:24:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:24:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:24:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:24:46 + ls -al . 11:24:46 total 268 11:24:46 drwxrwxr-x 8 jenkins jenkins 4096 May 29 11:24 . 11:24:46 drwxrwxr-x 4 jenkins jenkins 4096 May 29 11:22 .. 11:24:46 drwxrwxr-x 8 jenkins jenkins 4096 May 29 11:24 .git 11:24:46 drwxrwxr-x 3 jenkins jenkins 4096 May 29 11:22 .github 11:24:46 -rw-rw-r-- 1 jenkins jenkins 272 May 29 11:22 .gitignore 11:24:46 -rw-rw-r-- 1 jenkins jenkins 41 May 29 11:22 .golangci.yml 11:24:46 drwxr-xr-x 3 jenkins jenkins 4096 May 29 11:22 .semver 11:24:46 -rw-rw-r-- 1 jenkins jenkins 9708 May 29 11:22 Attribution.txt 11:24:46 -rw-rw-r-- 1 jenkins jenkins 15941 May 29 11:22 CHANGELOG.md 11:24:46 -rw-rw-r-- 1 jenkins jenkins 1755 May 29 11:22 Dockerfile 11:24:46 -rw-rw-r-- 1 jenkins jenkins 677 May 29 11:22 GOVERNANCE.md 11:24:46 -rw-rw-r-- 1 jenkins jenkins 660 May 29 11:22 Jenkinsfile 11:24:46 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 11:22 LICENSE 11:24:46 -rw-rw-r-- 1 jenkins jenkins 1953 May 29 11:22 Makefile 11:24:46 -rw-rw-r-- 1 jenkins jenkins 623 May 29 11:22 OWNERS.md 11:24:46 -rw-rw-r-- 1 jenkins jenkins 4103 May 29 11:22 README.md 11:24:46 -rw-rw-r-- 1 jenkins jenkins 5 May 29 11:22 VERSION 11:24:46 drwxrwxr-x 2 jenkins jenkins 4096 May 29 11:22 bin 11:24:46 drwxrwxr-x 3 jenkins jenkins 4096 May 29 11:22 cmd 11:24:46 -rw-r--r-- 1 jenkins jenkins 43063 May 29 11:24 coverage.out 11:24:46 -rw-rw-r-- 1 jenkins jenkins 6979 May 29 11:22 go.mod 11:24:46 -rw-rw-r-- 1 jenkins jenkins 101544 May 29 11:22 go.sum 11:24:46 drwxrwxr-x 3 jenkins jenkins 4096 May 29 11:22 internal 11:24:46 -rw-rw-r-- 1 jenkins jenkins 235 May 29 11:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:24:46 + 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=64d422d2d8215066b2913d000f26b599c062ccd4 --label arch=amd64 --label version=0.0.0 . 11:24:46 Sending build context to Docker daemon 37.53MB 11:24:46 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:24:46 Step 2/26 : FROM ${BASE} AS builder 11:24:46 ---> 66aef1bcc2ef 11:24:46 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:24:47 ---> Running in 8e48fc4bc298 11:24:47 Removing intermediate container 8e48fc4bc298 11:24:47 ---> 01268300afd0 11:24:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:24:47 ---> Running in 9da5bd29602d 11:24:47 Removing intermediate container 9da5bd29602d 11:24:47 ---> 09c0839b241c 11:24:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:24:47 ---> Running in bf6629d2f10d 11:24:47 Removing intermediate container bf6629d2f10d 11:24:47 ---> 7d246747e00b 11:24:47 Step 6/26 : WORKDIR /device-virtual-go 11:24:47 ---> Running in 825c6dd578ce 11:24:47 Removing intermediate container 825c6dd578ce 11:24:47 ---> dfbbd71a81e5 11:24:47 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:24:47 ---> Running in b0617843c303 11:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:24:48 OK: 268 MiB in 56 packages 11:24:48 Removing intermediate container b0617843c303 11:24:48 ---> f77ad2de87cb 11:24:48 Step 8/26 : COPY go.mod vendor* ./ 11:24:49 ---> 9ca5a3aec6d7 11:24:49 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:24:49 ---> Running in b55b9bfc55f8 11:24:49 Removing intermediate container b55b9bfc55f8 11:24:49 ---> 72eb777b9129 11:24:49 Step 10/26 : COPY . . 11:24:50 ---> 7686f3663e0d 11:24:50 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:24:50 ---> Running in e98cee15073b 11:24:50 Removing intermediate container e98cee15073b 11:24:50 ---> 789cbe50f134 11:24:50 Step 12/26 : RUN $MAKE 11:24:50 ---> Running in 3171537c9969 11:24:51 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.16" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:24:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1041 in /w/workspace/foundry_device-virtual-go_PR-472 [Pipeline] { [Pipeline] ws 11:24:54 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:24:54 The recommended git tool is: git 11:25:02 using credential edgex-jenkins-ssh 11:25:02 Cloning the remote Git repository 11:25:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:25:02 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:25:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:25:02 > git --version # timeout=10 11:25:02 > git --version # 'git version 2.25.1' 11:25:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:25:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:25:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:25:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:25:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:25:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/472/head:refs/remotes/origin/PR-472 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:25:08 Merging remotes/origin/main commit fd38c4f9940e502c46e28314a76cae12c6b2822f into PR head commit 64d422d2d8215066b2913d000f26b599c062ccd4 11:25:08 Merge succeeded, producing 64d422d2d8215066b2913d000f26b599c062ccd4 11:25:08 Checking out Revision 64d422d2d8215066b2913d000f26b599c062ccd4 (PR-472) 11:25:09 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:25:09 > git --version # timeout=10 11:25:09 > git --version # 'git version 2.25.1' 11:25:09 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 11:25:08 > git config core.sparsecheckout # timeout=10 11:25:08 > git checkout -f 64d422d2d8215066b2913d000f26b599c062ccd4 # timeout=10 11:25:08 > git remote # timeout=10 11:25:08 > git config --get remote.origin.url # timeout=10 11:25:08 using GIT_SSH to set credentials SSH Credentials for GitHub 11:25:08 > git merge fd38c4f9940e502c46e28314a76cae12c6b2822f # timeout=10 11:25:08 > git rev-parse HEAD^{commit} # timeout=10 11:25:08 > git config core.sparsecheckout # timeout=10 11:25:08 > git checkout -f 64d422d2d8215066b2913d000f26b599c062ccd4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:25:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:25:14 % Total % Received % Xferd Average Speed Time Time Time Current 11:25:14 Dload Upload Total Spent Left Speed 11:25:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 11:25:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:25:15 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 11:25:15 /etc/docker/daemon.new 11:25:15 { 11:25:15 "registry-mirrors": [ 11:25:15 "https://nexus3.edgexfoundry.org:10001" 11:25:15 ], 11:25:15 "bip": "10.250.0.254/24", 11:25:15 "hosts": [ 11:25:15 "tcp://0.0.0.0:5555", 11:25:15 "unix:///var/run/docker.sock" 11:25:15 ], 11:25:15 "mtu": 1458, 11:25:15 "selinux-enabled": true, 11:25:15 "seccomp-profile": "/etc/docker/seccomp.json" 11:25:15 } [Pipeline] sh 11:25:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:25:16 + sudo service docker restart 11:25:23 Removing intermediate container 3171537c9969 11:25:23 ---> 2cca1167aa9d 11:25:23 Step 13/26 : FROM alpine:3.18 11:25:23 3.18: Pulling from library/alpine 11:25:23 619be1103602: Already exists 11:25:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:25:23 Status: Downloaded newer image for alpine:3.18 11:25:23 ---> d3782b16ccc9 11:25:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:25:23 ---> Running in 4bbdedf0c425 11:25:23 Removing intermediate container 4bbdedf0c425 11:25:23 ---> d40ca4196e59 11:25:23 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:25:23 ---> Running in 9d6bb361bdd5 11:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:25:23 (1/1) Installing dumb-init (1.2.5-r2) 11:25:23 Executing busybox-1.36.1-r5.trigger 11:25:23 OK: 7 MiB in 16 packages 11:25:23 Removing intermediate container 9d6bb361bdd5 11:25:23 ---> edaed6b732f8 11:25:23 Step 16/26 : RUN apk --no-cache upgrade 11:25:23 ---> Running in 167428c6d54d 11:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:25:23 Upgrading critical system libraries and apk-tools: 11:25:23 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:25:23 Executing busybox-1.36.1-r5.trigger 11:25:23 Continuing the upgrade transaction with new apk-tools: 11:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:25:23 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 11:25:23 Executing busybox-1.36.1-r6.post-upgrade 11:25:23 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 11:25:23 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:25:23 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 11:25:23 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 11:25:23 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 11:25:23 Executing busybox-1.36.1-r6.trigger 11:25:23 OK: 7 MiB in 16 packages 11:25:23 Removing intermediate container 167428c6d54d 11:25:23 ---> 6fcfbf83407a 11:25:23 Step 17/26 : WORKDIR / 11:25:23 ---> Running in f959bdbcbef8 11:25:23 Removing intermediate container f959bdbcbef8 11:25:23 ---> 2a47a9f3931c 11:25:23 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:25:23 ---> 2f698934f589 11:25:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:25:23 ---> a5cc3fadf6c7 11:25:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:25:23 ---> 0a9520381b8f 11:25:23 Step 21/26 : EXPOSE 59900 11:25:23 ---> Running in 9b0f0194e3dd 11:25:23 Removing intermediate container 9b0f0194e3dd 11:25:23 ---> 1f7a8b4aa94f 11:25:23 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:25:23 ---> Running in d0c5b7693d39 11:25:24 Removing intermediate container d0c5b7693d39 11:25:24 ---> 252b8d6d3521 11:25:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:25:24 ---> Running in 1c9e01041a85 11:25:24 Removing intermediate container 1c9e01041a85 11:25:24 ---> ab3116f20368 11:25:24 Step 24/26 : LABEL arch=amd64 11:25:24 ---> Running in 5d5d868ab911 11:25:24 Removing intermediate container 5d5d868ab911 11:25:24 ---> 8d0e34ec80ab 11:25:24 Step 25/26 : LABEL git_sha=64d422d2d8215066b2913d000f26b599c062ccd4 11:25:24 ---> Running in 41ea87056fdb 11:25:24 Removing intermediate container 41ea87056fdb 11:25:24 ---> 6b2ba189c84c 11:25:24 Step 26/26 : LABEL version=0.0.0 11:25:24 ---> Running in 5eb927707a54 11:25:24 Removing intermediate container 5eb927707a54 11:25:24 ---> c4590e59ffaf 11:25:24 [Warning] One or more build-args [ARCH] were not consumed 11:25:24 Successfully built c4590e59ffaf 11:25:24 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:25:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:25:25 11:25:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:25:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:25:25 latest: Pulling from edgex-lftools-log-publisher 11:25:25 5eb5b503b376: Pulling fs layer 11:25:25 5c69ac0246d0: Pulling fs layer 11:25:25 ec43610c2a17: Pulling fs layer 11:25:25 3a2ae6a8a46f: Pulling fs layer 11:25:25 33b1e0a273af: Pulling fs layer 11:25:25 5d3b04190fa2: Pulling fs layer 11:25:25 2f39f015ded8: Pulling fs layer 11:25:25 33b1e0a273af: Waiting 11:25:25 2f39f015ded8: Waiting 11:25:25 3a2ae6a8a46f: Waiting 11:25:25 5d3b04190fa2: Waiting 11:25:25 5c69ac0246d0: Verifying Checksum 11:25:25 5c69ac0246d0: Download complete 11:25:25 3a2ae6a8a46f: Verifying Checksum 11:25:25 3a2ae6a8a46f: Download complete 11:25:25 33b1e0a273af: Verifying Checksum 11:25:25 33b1e0a273af: Download complete 11:25:25 5d3b04190fa2: Verifying Checksum 11:25:25 5d3b04190fa2: Download complete 11:25:25 ec43610c2a17: Verifying Checksum 11:25:25 ec43610c2a17: Download complete 11:25:26 5eb5b503b376: Verifying Checksum 11:25:26 5eb5b503b376: Download complete 11:25:26 2f39f015ded8: Verifying Checksum 11:25:26 2f39f015ded8: Download complete 11:25:27 5eb5b503b376: Pull complete 11:25:27 5c69ac0246d0: Pull complete 11:25:28 ec43610c2a17: Pull complete 11:25:28 3a2ae6a8a46f: Pull complete 11:25:28 33b1e0a273af: Pull complete 11:25:28 5d3b04190fa2: Pull complete 11:25:32 2f39f015ded8: Pull complete 11:25:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:25:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:25:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:25:32 prd-ubuntu20.04-docker-8c-8g-1040 does not seem to be running inside a container 11:25:32 $ 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-472 -v /w/workspace/foundry_device-virtual-go_PR-472:/w/workspace/foundry_device-virtual-go_PR-472:rw,z -v /w/workspace/foundry_device-virtual-go_PR-472@tmp:/w/workspace/foundry_device-virtual-go_PR-472@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-lftools-log-publisher:latest cat 11:25:36 $ docker top d7a9122e146646fbfcbb3a5f868c44e7640ef42f75e775e468f0462ba73b2811 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 11:25:36 provisioning config files... 11:25:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config16288623512263371315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:25:36 ---> job-cost.sh 11:25:36 lf-activate-venv: SKIPPING 11:25:36 INFO: No Stack... 11:25:36 ---> ****-login.sh 11:25:36 nexus3.edgexfoundry.org:10001 11:25:37 INFO: Retrieving Pricing Info for: v3-standard-8 11:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:25:37 Configure a credential helper to remove this warning. See 11:25:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:25:37 11:25:37 Login Succeeded 11:25:37 nexus3.edgexfoundry.org:10002 11:25:37 INFO: Archiving Costs [Pipeline] sh 11:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:37 + cat /w/workspace/foundry_device-virtual-go_PR-472/archives/cost.csv 11:25:37 + cut -d, -f6 [Pipeline] lock 11:25:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-472-1-stack-cost] 11:25:37 Resource [jenkins-edgexfoundry-device-virtual-go-PR-472-1-stack-cost] did not exist. Created. 11:25:37 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:25:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:25:38 Configure a credential helper to remove this warning. See 11:25:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:25:38 11:25:38 Login Succeeded 11:25:38 nexus3.edgexfoundry.org:10003 11:25:38 + echo total: 0.2199999988079071 11:25:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:25:38 Configure a credential helper to remove this warning. See 11:25:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:25:38 11:25:38 Login Succeeded 11:25:38 nexus3.edgexfoundry.org:10004 [Pipeline] stash 11:25:38 Stashed 1 file(s) [Pipeline] } 11:25:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:25:38 $ docker stop --time=1 d7a9122e146646fbfcbb3a5f868c44e7640ef42f75e775e468f0462ba73b2811 11:25:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:25:38 Configure a credential helper to remove this warning. See 11:25:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:25:38 11:25:38 Login Succeeded 11:25:38 ****.io 11:25:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:25:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:25:39 Configure a credential helper to remove this warning. See 11:25:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:25:39 11:25:39 Login Succeeded 11:25:39 ---> ****-login.sh ends 11:25:39 $ docker rm -f --volumes d7a9122e146646fbfcbb3a5f868c44e7640ef42f75e775e468f0462ba73b2811 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 11:25:39 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 11:25:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:25:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:25:40 ========================================================= 11:25:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:25:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:25:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:25:41 Sending build context to Docker daemon 18.93MB 11:25:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:25:41 Step 2/12 : FROM ${BASE} AS builder 11:25:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:25:41 c6b39de5b339: Pulling fs layer 11:25:41 a69c41024577: Pulling fs layer 11:25:41 d6de4b400683: Pulling fs layer 11:25:41 35cb2a7552d0: Pulling fs layer 11:25:41 4f4fb700ef54: Pulling fs layer 11:25:41 464afbd9ba4c: Pulling fs layer 11:25:41 00f215d4a9da: Pulling fs layer 11:25:41 d496ad576159: Pulling fs layer 11:25:41 464afbd9ba4c: Waiting 11:25:41 00f215d4a9da: Waiting 11:25:41 35cb2a7552d0: Waiting 11:25:41 4f4fb700ef54: Waiting 11:25:41 d496ad576159: Waiting 11:25:41 a69c41024577: Verifying Checksum 11:25:41 a69c41024577: Download complete 11:25:41 35cb2a7552d0: Verifying Checksum 11:25:41 35cb2a7552d0: Download complete 11:25:41 4f4fb700ef54: Verifying Checksum 11:25:41 4f4fb700ef54: Download complete 11:25:41 464afbd9ba4c: Verifying Checksum 11:25:41 464afbd9ba4c: Download complete 11:25:41 c6b39de5b339: Verifying Checksum 11:25:41 c6b39de5b339: Download complete 11:25:42 d496ad576159: Verifying Checksum 11:25:42 d496ad576159: Download complete 11:25:42 c6b39de5b339: Pull complete 11:25:43 a69c41024577: Pull complete 11:25:43 d6de4b400683: Download complete 11:25:44 00f215d4a9da: Verifying Checksum 11:25:44 00f215d4a9da: Download complete 11:25:56 d6de4b400683: Pull complete 11:25:56 35cb2a7552d0: Pull complete 11:25:56 4f4fb700ef54: Pull complete 11:25:56 464afbd9ba4c: Pull complete 11:26:05 00f215d4a9da: Pull complete 11:26:06 d496ad576159: Pull complete 11:26:06 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 11:26:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:26:06 ---> f246e2811388 11:26:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:26:08 ---> Running in b29801775f82 11:26:08 Removing intermediate container b29801775f82 11:26:08 ---> a0a43915d6de 11:26:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:26:08 ---> Running in 4dea3d88c5f4 11:26:09 Removing intermediate container 4dea3d88c5f4 11:26:09 ---> e5b8f64c76ae 11:26:09 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:26:09 ---> Running in 73e4ba7c2bae 11:26:09 Removing intermediate container 73e4ba7c2bae 11:26:09 ---> ae29350b6b94 11:26:09 Step 6/12 : WORKDIR /device-virtual-go 11:26:09 ---> Running in c9038e0eda5f 11:26:10 Removing intermediate container c9038e0eda5f 11:26:10 ---> 9bdd1e0d6f57 11:26:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:26:10 ---> Running in 6169a344a937 11:26:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:26:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:26:13 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:26:13 (2/4) Installing libedit (20221030.3.1-r1) 11:26:13 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:26:13 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:26:13 Executing busybox-1.36.1-r5.trigger 11:26:13 OK: 271 MiB in 56 packages 11:26:14 Removing intermediate container 6169a344a937 11:26:14 ---> 387f83b9f5cb 11:26:14 Step 8/12 : COPY go.mod vendor* ./ 11:26:15 ---> 06f99c425171 11:26:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:26:15 ---> Running in 91ad88499383 11:28:06 Removing intermediate container 91ad88499383 11:28:06 ---> 74dbddae1865 11:28:06 Step 10/12 : COPY . . 11:28:06 ---> 4f9f3f1e307d 11:28:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:28:06 ---> Running in 1b3a0f2f0b73 11:28:06 Removing intermediate container 1b3a0f2f0b73 11:28:06 ---> 8119a553a792 11:28:06 Step 12/12 : RUN $MAKE 11:28:06 ---> Running in dfe62d8f3cc7 11:28:06 noop 11:28:06 Removing intermediate container dfe62d8f3cc7 11:28:06 ---> 420eecc7cfe1 11:28:06 Successfully built 420eecc7cfe1 11:28:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:07 + docker inspect -f . ci-base-image-arm64 11:28:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:07 prd-ubuntu20.04-docker-arm64-4c-16g-1041 does not seem to be running inside a container 11:28:07 $ 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 ******** ci-base-image-arm64 cat 11:28:08 $ docker top 6800c11d7bbd294e42e37269a7a638af1de6577e6eab83cb1b8a0a0cec90f9ef -eo pid,comm [Pipeline] { [Pipeline] sh 11:28:09 + go version 11:28:09 go version go1.21.9 linux/arm64 [Pipeline] } 11:28:09 $ docker stop --time=1 6800c11d7bbd294e42e37269a7a638af1de6577e6eab83cb1b8a0a0cec90f9ef 11:28:11 $ docker rm -f --volumes 6800c11d7bbd294e42e37269a7a638af1de6577e6eab83cb1b8a0a0cec90f9ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:12 + docker inspect -f . ci-base-image-arm64 11:28:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:12 prd-ubuntu20.04-docker-arm64-4c-16g-1041 does not seem to be running inside a container 11:28:12 $ 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 ******** ci-base-image-arm64 cat 11:28:13 $ docker top ffdea83a1f9c1e0939d659fc1efd8d3ef883d3a53a45ff43dbfa2f10ba15df72 -eo pid,comm [Pipeline] { [Pipeline] sh 11:28:14 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:28:15 + make test 11:28:15 go test ./... -coverprofile=coverage.out 11:28:21 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:31:28 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:31:28 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.087s coverage: 58.4% of statements 11:31:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:31:29 go vet ./... 11:32:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:32:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:32:16 ./bin/test-attribution-txt.sh 11:32:16 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:32:16 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:32:16 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:32:16 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:32:16 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:32:16 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:32:16 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:32:16 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:32:16 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:32:16 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:32:16 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:32:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:32:16 $ docker stop --time=1 ffdea83a1f9c1e0939d659fc1efd8d3ef883d3a53a45ff43dbfa2f10ba15df72 11:32:18 $ docker rm -f --volumes ffdea83a1f9c1e0939d659fc1efd8d3ef883d3a53a45ff43dbfa2f10ba15df72 [Pipeline] // withDockerContainer [Pipeline] sh 11:32:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:32:19 Warning: overwriting stash ‘coverage-report’ 11:32:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:32:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:32:21 + ls -al . 11:32:21 total 264 11:32:21 drwxrwxr-x 7 jenkins jenkins 4096 May 29 11:28 . 11:32:21 drwxrwxr-x 4 jenkins jenkins 4096 May 29 11:25 .. 11:32:21 drwxrwxr-x 8 jenkins jenkins 4096 May 29 11:25 .git 11:32:21 drwxrwxr-x 3 jenkins jenkins 4096 May 29 11:25 .github 11:32:21 -rw-rw-r-- 1 jenkins jenkins 272 May 29 11:25 .gitignore 11:32:21 -rw-rw-r-- 1 jenkins jenkins 41 May 29 11:25 .golangci.yml 11:32:21 -rw-rw-r-- 1 jenkins jenkins 9708 May 29 11:25 Attribution.txt 11:32:21 -rw-rw-r-- 1 jenkins jenkins 15941 May 29 11:25 CHANGELOG.md 11:32:21 -rw-rw-r-- 1 jenkins jenkins 1755 May 29 11:25 Dockerfile 11:32:21 -rw-rw-r-- 1 jenkins jenkins 677 May 29 11:25 GOVERNANCE.md 11:32:21 -rw-rw-r-- 1 jenkins jenkins 660 May 29 11:25 Jenkinsfile 11:32:21 -rw-rw-r-- 1 jenkins jenkins 11340 May 29 11:25 LICENSE 11:32:21 -rw-rw-r-- 1 jenkins jenkins 1953 May 29 11:25 Makefile 11:32:21 -rw-rw-r-- 1 jenkins jenkins 623 May 29 11:25 OWNERS.md 11:32:21 -rw-rw-r-- 1 jenkins jenkins 4103 May 29 11:25 README.md 11:32:21 -rw-rw-r-- 1 jenkins jenkins 5 May 29 11:22 VERSION 11:32:21 drwxrwxr-x 2 jenkins jenkins 4096 May 29 11:25 bin 11:32:21 drwxrwxr-x 3 jenkins jenkins 4096 May 29 11:25 cmd 11:32:21 -rw-r--r-- 1 jenkins jenkins 43063 May 29 11:31 coverage.out 11:32:21 -rw-rw-r-- 1 jenkins jenkins 6979 May 29 11:25 go.mod 11:32:21 -rw-rw-r-- 1 jenkins jenkins 101544 May 29 11:25 go.sum 11:32:21 drwxrwxr-x 3 jenkins jenkins 4096 May 29 11:25 internal 11:32:21 -rw-rw-r-- 1 jenkins jenkins 235 May 29 11:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:21 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=64d422d2d8215066b2913d000f26b599c062ccd4 --label arch=arm64 --label version=0.0.0 . 11:32:22 Sending build context to Docker daemon 18.97MB 11:32:22 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:32:22 Step 2/26 : FROM ${BASE} AS builder 11:32:22 ---> 420eecc7cfe1 11:32:22 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:32:22 ---> Running in e363e47d446b 11:32:22 Removing intermediate container e363e47d446b 11:32:22 ---> f5f41e57b44a 11:32:22 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:32:22 ---> Running in 5d3d91e5f082 11:32:22 Removing intermediate container 5d3d91e5f082 11:32:22 ---> 29bca01b38f6 11:32:22 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:32:23 ---> Running in 97ed913f6cbd 11:32:23 Removing intermediate container 97ed913f6cbd 11:32:23 ---> 044479c2ceb3 11:32:23 Step 6/26 : WORKDIR /device-virtual-go 11:32:23 ---> Running in 45b1ccaa2a18 11:32:23 Removing intermediate container 45b1ccaa2a18 11:32:23 ---> 4677dabd3074 11:32:23 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:32:23 ---> Running in 0601a8081a44 11:32:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:32:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:32:26 OK: 271 MiB in 56 packages 11:32:26 Removing intermediate container 0601a8081a44 11:32:26 ---> 1e875784c0f8 11:32:26 Step 8/26 : COPY go.mod vendor* ./ 11:32:27 ---> c8af9195a04e 11:32:27 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:32:27 ---> Running in 19025d7931a9 11:32:30 Removing intermediate container 19025d7931a9 11:32:30 ---> 1c060dc36ec3 11:32:30 Step 10/26 : COPY . . 11:32:31 ---> 41982367ca5e 11:32:31 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:32:31 ---> Running in 0a210f9d832d 11:32:31 Removing intermediate container 0a210f9d832d 11:32:31 ---> b93b125486cf 11:32:31 Step 12/26 : RUN $MAKE 11:32:31 ---> Running in 3b2b8b0ac39b 11:32:32 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.16" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:35:54 Removing intermediate container 3b2b8b0ac39b 11:35:54 ---> 5c699f5165ec 11:35:54 Step 13/26 : FROM alpine:3.18 11:35:54 3.18: Pulling from library/alpine 11:35:54 c6b39de5b339: Already exists 11:35:54 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:35:54 Status: Downloaded newer image for alpine:3.18 11:35:54 ---> 33abbf032149 11:35:54 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:35:54 ---> Running in 07e1adf0e3f4 11:35:54 Removing intermediate container 07e1adf0e3f4 11:35:54 ---> a9939a41dcac 11:35:54 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:35:54 ---> Running in 2246875b57bf 11:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:35:54 (1/1) Installing dumb-init (1.2.5-r2) 11:35:54 Executing busybox-1.36.1-r5.trigger 11:35:54 OK: 8 MiB in 16 packages 11:35:54 Removing intermediate container 2246875b57bf 11:35:54 ---> 71f32a6a91c0 11:35:54 Step 16/26 : RUN apk --no-cache upgrade 11:35:54 ---> Running in 7089157b5320 11:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:35:54 Upgrading critical system libraries and apk-tools: 11:35:54 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:35:54 Executing busybox-1.36.1-r5.trigger 11:35:54 Continuing the upgrade transaction with new apk-tools: 11:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:35:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:35:54 (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) 11:35:54 Executing busybox-1.36.1-r6.post-upgrade 11:35:54 (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) 11:35:54 (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:35:54 (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) 11:35:54 (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) 11:35:54 (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) 11:35:54 Executing busybox-1.36.1-r6.trigger 11:35:54 OK: 8 MiB in 16 packages 11:35:55 Removing intermediate container 7089157b5320 11:35:55 ---> 09d23d314c29 11:35:55 Step 17/26 : WORKDIR / 11:35:55 ---> Running in 8d59a3063025 11:35:55 Removing intermediate container 8d59a3063025 11:35:55 ---> e4d994c83d55 11:35:55 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:35:56 ---> 049f1afe6c86 11:35:56 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:35:56 ---> ea6f5e61d3b0 11:35:56 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:35:58 ---> e31930421aa8 11:35:58 Step 21/26 : EXPOSE 59900 11:35:58 ---> Running in 780671c26664 11:35:58 Removing intermediate container 780671c26664 11:35:58 ---> 31d23a4bad59 11:35:58 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:35:58 ---> Running in 608a59a003b2 11:35:59 Removing intermediate container 608a59a003b2 11:35:59 ---> cef14f59ab07 11:35:59 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:35:59 ---> Running in 94b9e079a7dd 11:35:59 Removing intermediate container 94b9e079a7dd 11:35:59 ---> 5e4dccb60963 11:35:59 Step 24/26 : LABEL arch=arm64 11:35:59 ---> Running in 63b359e35e75 11:36:00 Removing intermediate container 63b359e35e75 11:36:00 ---> cd3bb8ab616d 11:36:00 Step 25/26 : LABEL git_sha=64d422d2d8215066b2913d000f26b599c062ccd4 11:36:00 ---> Running in ef3280d33499 11:36:00 Removing intermediate container ef3280d33499 11:36:00 ---> 24c13f535dc0 11:36:00 Step 26/26 : LABEL version=0.0.0 11:36:00 ---> Running in 695c1bd84ee9 11:36:00 Removing intermediate container 695c1bd84ee9 11:36:00 ---> 2be5d162c28f 11:36:00 [Warning] One or more build-args [ARCH] were not consumed 11:36:00 Successfully built 2be5d162c28f 11:36:00 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:36:01 11:36:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:36:02 arm64: Pulling from edgex-lftools-log-publisher 11:36:02 8998bd30e6a1: Pulling fs layer 11:36:02 04944245beec: Pulling fs layer 11:36:02 699f458cf7ca: Pulling fs layer 11:36:02 765212b225bb: Pulling fs layer 11:36:02 f23df028b6ca: Pulling fs layer 11:36:02 d65c8cfc05b1: Pulling fs layer 11:36:02 2437ff75d9bd: Pulling fs layer 11:36:02 d65c8cfc05b1: Waiting 11:36:02 765212b225bb: Waiting 11:36:02 2437ff75d9bd: Waiting 11:36:02 f23df028b6ca: Waiting 11:36:02 04944245beec: Verifying Checksum 11:36:02 04944245beec: Download complete 11:36:02 765212b225bb: Verifying Checksum 11:36:02 765212b225bb: Download complete 11:36:02 f23df028b6ca: Verifying Checksum 11:36:02 f23df028b6ca: Download complete 11:36:02 d65c8cfc05b1: Verifying Checksum 11:36:02 d65c8cfc05b1: Download complete 11:36:02 699f458cf7ca: Verifying Checksum 11:36:02 699f458cf7ca: Download complete 11:36:03 8998bd30e6a1: Verifying Checksum 11:36:03 8998bd30e6a1: Download complete 11:36:05 2437ff75d9bd: Verifying Checksum 11:36:05 2437ff75d9bd: Download complete 11:36:07 8998bd30e6a1: Pull complete 11:36:07 04944245beec: Pull complete 11:36:09 699f458cf7ca: Pull complete 11:36:09 765212b225bb: Pull complete 11:36:10 f23df028b6ca: Pull complete 11:36:10 d65c8cfc05b1: Pull complete 11:36:28 2437ff75d9bd: Pull complete 11:36:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:36:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:29 prd-ubuntu20.04-docker-arm64-4c-16g-1041 does not seem to be running inside a container 11:36:29 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:36:31 $ docker top dac082ac445a962d184ab58c1d98a27abc89733980699b9c153bb19070ea96ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:36:32 ---> job-cost.sh 11:36:32 lf-activate-venv: SKIPPING 11:36:32 INFO: No Stack... 11:36:33 INFO: Retrieving Pricing Info for: v3-standard-4 11:36:34 INFO: Archiving Costs [Pipeline] sh 11:36:34 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:36:34 + cut -d, -f6 [Pipeline] lock 11:36:35 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-472-1-stack-cost] 11:36:35 Resource [jenkins-edgexfoundry-device-virtual-go-PR-472-1-stack-cost] did not exist. Created. 11:36:35 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-472-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:36:35 /w/workspace/device-virtual-go/1@tmp/durable-1c6359e5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:36:36 + echo total: 0.10999999940395355 [Pipeline] stash 11:36:36 Warning: overwriting stash ‘stack-cost’ 11:36:36 Stashed 1 file(s) [Pipeline] } 11:36:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-472-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:36:36 $ docker stop --time=1 dac082ac445a962d184ab58c1d98a27abc89733980699b9c153bb19070ea96ef 11:36:38 $ docker rm -f --volumes dac082ac445a962d184ab58c1d98a27abc89733980699b9c153bb19070ea96ef [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 11:36:39 provisioning config files... 11:36:39 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-472@tmp/config14927419925738568244tmp [Pipeline] { [Pipeline] sh 11:36:39 + set +x 11:36:39 + + bash -s -- 11:36:39 curl -s https://codecov.io/bash 11:36:39 11:36:39 _____ _ 11:36:39 / ____| | | 11:36:39 | | ___ __| | ___ ___ _____ __ 11:36:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:36:39 | |___| (_) | (_| | __/ (_| (_) \ V / 11:36:39 \_____\___/ \__,_|\___|\___\___/ \_/ 11:36:39 Bash-1.0.6 11:36:39 11:36:39 11:36:39 ==> git version 2.25.1 found 11:36:39 ==> 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 11:36:39 Release-Date: 2020-01-08 11:36:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:36:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:36:39 ==> Jenkins CI detected. 11:36:39 current dir:  /w/workspace/foundry_device-virtual-go_PR-472 11:36:39 project root: . 11:36:39 --> token set from env 11:36:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:36:39 ==> Running gcov in . (disable via -X gcov) 11:36:39 ==> Python coveragepy not found 11:36:39 ==> Searching for coverage reports in: 11:36:39 + . 11:36:39 -> Found 1 reports 11:36:39 ==> Detecting git/mercurial file structure 11:36:39 ==> Reading reports 11:36:40 + ./coverage.out bytes=43063 11:36:40 ==> Appending adjustments 11:36:40 https://docs.codecov.io/docs/fixing-reports 11:36:40 + Found adjustments 11:36:40 ==> Gzipping contents 11:36:40 8.0K /tmp/codecov.6wgtfD.gz 11:36:40 ==> Uploading reports 11:36:40 url: https://codecov.io 11:36:40 query: branch=PR-472&commit=64d422d2d8215066b2913d000f26b599c062ccd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=472&job=&cmd_args= 11:36:40 -> Pinging Codecov 11:36:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-472&commit=64d422d2d8215066b2913d000f26b599c062ccd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-472%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=472&job=&cmd_args= 11:36:40 -> Uploading to 11:36:40 https://storage.googleapis.com/codecov/v4/raw/2024-05-29/5E52B4B073DB2E39498172D8E973AA87/64d422d2d8215066b2913d000f26b599c062ccd4/e1a4e59f-09dd-4734-8bfe-0cbb44390840.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240529%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240529T113640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71b9e5d6b3e9f128fa68bb750627359fa4d9d92ad7e8045c83ca5409241e1c3c 11:36:40 % Total % Received % Xferd Average Speed Time Time Time Current 11:36:40 Dload Upload Total Spent Left Speed 11:36:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 21450 --:--:-- --:--:-- --:--:-- 21450 11:36:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/64d422d2d8215066b2913d000f26b599c062ccd4 [Pipeline] } 11:36:40 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:36:42 + [ -d /w/workspace/foundry_device-virtual-go_PR-472/archives ] 11:36:42 + ls -al /w/workspace/foundry_device-virtual-go_PR-472/archives 11:36:42 total 16 11:36:42 drwxr-xr-x 3 root root 4096 May 29 11:25 . 11:36:42 drwxrwxr-x 9 jenkins jenkins 4096 May 29 11:25 .. 11:36:42 drwxr-xr-x 2 root root 4096 May 29 11:25 cost 11:36:42 -rw-r--r-- 1 root root 89 May 29 11:25 cost.csv 11:36:42 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-472/archives 11:36:42 + ls -al /w/workspace/foundry_device-virtual-go_PR-472/archives 11:36:42 total 16 11:36:42 drwxr-xr-x 3 jenkins jenkins 4096 May 29 11:25 . 11:36:42 drwxrwxr-x 9 jenkins jenkins 4096 May 29 11:25 .. 11:36:42 drwxr-xr-x 2 jenkins jenkins 4096 May 29 11:25 cost 11:36:42 -rw-r--r-- 1 jenkins jenkins 89 May 29 11:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:36:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:36:44 ---> package-listing.sh 11:36:44 ++ facter osfamily 11:36:44 ++ tr '[:upper:]' '[:lower:]' 11:36:44 + OS_FAMILY=debian 11:36:44 + workspace=/w/workspace/foundry_device-virtual-go_PR-472 11:36:44 + START_PACKAGES=/tmp/packages_start.txt 11:36:44 + END_PACKAGES=/tmp/packages_end.txt 11:36:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:36:44 + PACKAGES=/tmp/packages_start.txt 11:36:44 + '[' /w/workspace/foundry_device-virtual-go_PR-472 ']' 11:36:44 + PACKAGES=/tmp/packages_end.txt 11:36:44 + case "${OS_FAMILY}" in 11:36:44 + dpkg -l 11:36:44 + grep '^ii' 11:36:44 + '[' -f /tmp/packages_start.txt ']' 11:36:44 + '[' -f /tmp/packages_end.txt ']' 11:36:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:36:44 + '[' /w/workspace/foundry_device-virtual-go_PR-472 ']' 11:36:44 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-472/archives/ 11:36:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-472/archives/ [Pipeline] echo 11:36:44 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-472/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:36:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:45 prd-ubuntu20.04-docker-8c-8g-1040 does not seem to be running inside a container 11:36:45 $ 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-472/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-472 -v /w/workspace/foundry_device-virtual-go_PR-472:/w/workspace/foundry_device-virtual-go_PR-472:rw,z -v /w/workspace/foundry_device-virtual-go_PR-472@tmp:/w/workspace/foundry_device-virtual-go_PR-472@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:36:45 $ docker top 717d14ec7e0274ae121ac0bf36b5621f5b15213fc9b2f4e467b790aeff49f94d -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:46 + touch /tmp/pre-build-complete [Pipeline] sh 11:36:46 + mkdir -p /var/log/sysstat [Pipeline] sh 11:36:46 + ls /var/log/sa-host 11:36:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:36:47 provisioning config files... 11:36:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-472@tmp/config6151200836362339302tmp [Pipeline] { [Pipeline] echo 11:36:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:36:47 ---> create-netrc.sh [Pipeline] } 11:36:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:36:48 ---> python-tools-install.sh [Pipeline] echo 11:36:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:36:48 ---> sudo-logs.sh 11:36:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:36:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:36:49 ---> job-cost.sh 11:36:49 lf-activate-venv: SKIPPING 11:36:49 DEBUG: total: 0.2199999988079071 11:36:49 INFO: Retrieving Stack Cost... 11:36:49 INFO: Retrieving Pricing Info for: v3-standard-8 11:36:49 INFO: Archiving Costs [Pipeline] echo 11:36:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:36:50 ---> logs-deploy.sh 11:36:50 lf-activate-venv: SKIPPING 11:36:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-472/1 11:36:50 INFO: archiving workspace using pattern(s): 11:36:51 Archives upload complete. 11:36:51 INFO: archiving logs to Nexus