Pull request #470 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e8e27f2c24b954fe903df5a2e85b791fc4c9775+14494e7562879e41062c7461f1813d33e0fc95a7 (eb0cf53b650309c96c8658306a4be318fa88cf78) 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-ssh17337046891329083621.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh12460093915181475662.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-470/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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1554786568901493872.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-470/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10333993667874885998.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh14754110651395441991.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-470/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-470/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2671100732710762300.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-282 in /w/workspace/foundry_device-virtual-go_PR-470 [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-470 # 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 14494e7562879e41062c7461f1813d33e0fc95a7 into PR head commit 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 Merge succeeded, producing 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 Checking out Revision 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 (PR-470) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 # 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 14494e7562879e41062c7461f1813d33e0fc95a7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:27:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:27:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:27:21 ========================================================= 11:27:21 EdgeX Global Pipelines Version Info 11:27:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:27:22 ------------------- 11:27:22 stable info: 11:27:22 ------------------- 11:27:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:27:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:27:22 Message: update stable to v1.0.258 11:27:23 ------------------- 11:27:23 experimental info: 11:27:23 ------------------- 11:27:23 Commited By: **** collab-it+edgex@linuxfoundation.org 11:27:23 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:27:23 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:27:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:27:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:27:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:27:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:27:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:27:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:27:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:27:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:27:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-470 [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-470 [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-470 [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e8e27f [Pipeline] echo 11:27:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:27:47 provisioning config files... 11:27:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-470@tmp/config9807861753867619990tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:27:48 ---> ****-login.sh 11:27:48 nexus3.edgexfoundry.org:10001 11:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:48 Configure a credential helper to remove this warning. See 11:27:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:48 11:27:48 Login Succeeded 11:27:48 nexus3.edgexfoundry.org:10002 11:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:48 Configure a credential helper to remove this warning. See 11:27:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:48 11:27:48 Login Succeeded 11:27:48 nexus3.edgexfoundry.org:10003 11:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:48 Configure a credential helper to remove this warning. See 11:27:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:48 11:27:48 Login Succeeded 11:27:48 nexus3.edgexfoundry.org:10004 11:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:48 Configure a credential helper to remove this warning. See 11:27:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:48 11:27:48 Login Succeeded 11:27:48 ****.io 11:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:27:49 Configure a credential helper to remove this warning. See 11:27:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:27:49 11:27:49 Login Succeeded 11:27:49 ---> ****-login.sh ends [Pipeline] } 11:27:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:27:50 + git rev-list -1 --merges 3e8e27f2c24b954fe903df5a2e85b791fc4c9775~1..3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] echo 11:27:50 -----------> git rev-list -1 --merges 3e8e27f2c24b954fe903df5a2e85b791fc4c9775~1..3e8e27f2c24b954fe903df5a2e85b791fc4c9775 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [false] [Pipeline] sh 11:27:50 + git log --format=format:%s -1 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] echo 11:27:50 ========================================================= 11:27:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:27:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:27:50 + git log --format=format:%s -1 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] echo 11:27:50 [semverPrep] GIT_COMMIT: 3e8e27f2c24b954fe903df5a2e85b791fc4c9775, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:27:51 [semverPrep] This is not a build commit. [Pipeline] sh 11:27:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:27:51 + grep -v github /etc/ssh/ssh_known_hosts 11:27:51 + [ -e /tmp/ssh_known_hosts ] 11:27:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:27:51 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:27:51 sudo tee -a /etc/ssh/ssh_known_hosts 11:27:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:27:51 11:27:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:27:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:27:52 0.1.4: Pulling from edgex-devops/py-git-semver 11:27:52 b85a868b505f: Pulling fs layer 11:27:52 e2be974225ed: Pulling fs layer 11:27:52 339a4e72a1f5: Pulling fs layer 11:27:52 988bab9f4d93: Pulling fs layer 11:27:52 1469e6f7b9e6: Pulling fs layer 11:27:52 eaf3925da568: Pulling fs layer 11:27:52 bab4dde63d76: Pulling fs layer 11:27:52 bde34c3a00c8: Pulling fs layer 11:27:52 b352a97aabf1: Pulling fs layer 11:27:52 4872d77fe225: Pulling fs layer 11:27:52 5851b861e8e6: Pulling fs layer 11:27:52 1469e6f7b9e6: Waiting 11:27:52 bab4dde63d76: Waiting 11:27:52 eaf3925da568: Waiting 11:27:52 988bab9f4d93: Waiting 11:27:52 b352a97aabf1: Waiting 11:27:52 4872d77fe225: Waiting 11:27:52 5851b861e8e6: Waiting 11:27:52 bde34c3a00c8: Waiting 11:27:52 e2be974225ed: Verifying Checksum 11:27:52 e2be974225ed: Download complete 11:27:52 988bab9f4d93: Verifying Checksum 11:27:52 988bab9f4d93: Download complete 11:27:52 1469e6f7b9e6: Verifying Checksum 11:27:52 1469e6f7b9e6: Download complete 11:27:52 eaf3925da568: Verifying Checksum 11:27:52 eaf3925da568: Download complete 11:27:52 339a4e72a1f5: Verifying Checksum 11:27:52 339a4e72a1f5: Download complete 11:27:52 bde34c3a00c8: Download complete 11:27:52 b352a97aabf1: Verifying Checksum 11:27:52 b352a97aabf1: Download complete 11:27:52 4872d77fe225: Verifying Checksum 11:27:52 4872d77fe225: Download complete 11:27:52 5851b861e8e6: Verifying Checksum 11:27:52 5851b861e8e6: Download complete 11:27:52 b85a868b505f: Verifying Checksum 11:27:52 b85a868b505f: Download complete 11:27:52 bab4dde63d76: Verifying Checksum 11:27:52 bab4dde63d76: Download complete 11:27:53 b85a868b505f: Pull complete 11:27:54 e2be974225ed: Pull complete 11:27:54 339a4e72a1f5: Pull complete 11:27:54 988bab9f4d93: Pull complete 11:27:54 1469e6f7b9e6: Pull complete 11:27:54 eaf3925da568: Pull complete 11:27:56 bab4dde63d76: Pull complete 11:27:56 bde34c3a00c8: Pull complete 11:27:56 b352a97aabf1: Pull complete 11:27:56 4872d77fe225: Pull complete 11:27:56 5851b861e8e6: Pull complete 11:27:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:27:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:27:57 prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container 11:27:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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:27:59 $ docker top 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec -eo pid,comm 11:27:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:27:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:28:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:00 [ssh-agent] Looking for ssh-agent implementation... 11:28:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:00 $ docker exec 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec ssh-agent 11:28:00 SSH_AUTH_SOCK=/tmp/ssh-CxJr0B0fc0BI/agent.32 11:28:00 SSH_AGENT_PID=38 11:28:00 Running ssh-add (command line suppressed) 11:28:00 Identity added: /w/workspace/foundry_device-virtual-go_PR-470@tmp/private_key_15488744858903503970.key (/w/workspace/foundry_device-virtual-go_PR-470@tmp/private_key_15488744858903503970.key) 11:28:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:00 + git tag --points-at HEAD [Pipeline] } 11:28:00 $ docker exec --env ******** --env ******** 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec ssh-agent -k 11:28:00 unset SSH_AUTH_SOCK; 11:28:00 unset SSH_AGENT_PID; 11:28:00 echo Agent pid 38 killed; 11:28:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:28:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:28:01 [ssh-agent] Looking for ssh-agent implementation... 11:28:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:28:01 $ docker exec 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec ssh-agent 11:28:01 SSH_AUTH_SOCK=/tmp/ssh-iT3uhKVfjZkO/agent.72 11:28:01 SSH_AGENT_PID=78 11:28:01 Running ssh-add (command line suppressed) 11:28:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-470@tmp/private_key_14104167994222471386.key (/w/workspace/foundry_device-virtual-go_PR-470@tmp/private_key_14104167994222471386.key) 11:28:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:28:01 + git semver init 11:28:02 2024-05-16 11:28:02,005 [run_init] DEBUG init version:0.0.0 force:False 11:28:02 2024-05-16 11:28:02,006 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-470/.semver 11:28:02 2024-05-16 11:28:02,007 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-470/.semver 11:28:02 2024-05-16 11:28:02,007 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-470/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-470, universal_newlines=False, shell=None, istream=None) 11:28:04 2024-05-16 11:28:03,516 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-470/.git/info/exclude 11:28:04 2024-05-16 11:28:03,517 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-470/.semver/PR-470 with force:False 11:28:04 2024-05-16 11:28:03,517 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-470/.semver/PR-470 11:28:04 2024-05-16 11:28:03,521 [execute] INFO git cat-file --batch-check 11:28:04 2024-05-16 11:28:03,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-470/.semver, universal_newlines=False, shell=None, istream=) 11:28:04 2024-05-16 11:28:03,528 [execute] INFO git cat-file --batch 11:28:04 2024-05-16 11:28:03,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-470/.semver, universal_newlines=False, shell=None, istream=) 11:28:04 2024-05-16 11:28:03,533 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-470/.semver/PR-470 11:28:04 0.0.0 [Pipeline] } 11:28:04 $ docker exec --env ******** --env ******** 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec ssh-agent -k 11:28:04 unset SSH_AUTH_SOCK; 11:28:04 unset SSH_AGENT_PID; 11:28:04 echo Agent pid 78 killed; 11:28:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:28:04 + git semver [Pipeline] } 11:28:04 $ docker stop --time=1 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec 11:28:06 $ docker rm -f --volumes 8e7bd40af943c4da6ada451d4dbbcd6afe248e34da41f6c4550e83ff5caaa6ec [Pipeline] // withDockerContainer [Pipeline] sh 11:28:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:28:06 Stashed 1 file(s) [Pipeline] echo 11:28:06 [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:28:08 provisioning config files... 11:28:08 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-470@tmp/config13576454124188809433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:28:08 ---> ****-login.sh 11:28:08 nexus3.edgexfoundry.org:10001 11:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:08 Configure a credential helper to remove this warning. See 11:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:08 11:28:08 Login Succeeded 11:28:08 nexus3.edgexfoundry.org:10002 11:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:08 Configure a credential helper to remove this warning. See 11:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:08 11:28:08 Login Succeeded 11:28:08 nexus3.edgexfoundry.org:10003 11:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:08 Configure a credential helper to remove this warning. See 11:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:08 11:28:08 Login Succeeded 11:28:08 nexus3.edgexfoundry.org:10004 11:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:08 Configure a credential helper to remove this warning. See 11:28:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:08 11:28:08 Login Succeeded 11:28:08 ****.io 11:28:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:09 Configure a credential helper to remove this warning. See 11:28:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:09 11:28:09 Login Succeeded 11:28:09 ---> ****-login.sh ends [Pipeline] } 11:28:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:28:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:28:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:28:09 ========================================================= 11:28:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:28:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:10 + 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:28:10 Sending build context to Docker daemon 37.67MB 11:28:10 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:28:10 Step 2/12 : FROM ${BASE} AS builder 11:28:10 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:28:10 619be1103602: Pulling fs layer 11:28:10 7862e08f4a3e: Pulling fs layer 11:28:10 5df492c9dc93: Pulling fs layer 11:28:10 7629e6793208: Pulling fs layer 11:28:10 4f4fb700ef54: Pulling fs layer 11:28:10 fb5054dd5b73: Pulling fs layer 11:28:10 eeca6798cff9: Pulling fs layer 11:28:10 aa269ceb94a6: Pulling fs layer 11:28:10 ada007ff1a6a: Pulling fs layer 11:28:10 eeca6798cff9: Waiting 11:28:10 aa269ceb94a6: Waiting 11:28:10 7629e6793208: Waiting 11:28:10 ada007ff1a6a: Waiting 11:28:10 4f4fb700ef54: Waiting 11:28:10 7862e08f4a3e: Download complete 11:28:10 7629e6793208: Verifying Checksum 11:28:10 7629e6793208: Download complete 11:28:10 4f4fb700ef54: Verifying Checksum 11:28:10 4f4fb700ef54: Download complete 11:28:10 fb5054dd5b73: Verifying Checksum 11:28:10 fb5054dd5b73: Download complete 11:28:10 619be1103602: Verifying Checksum 11:28:10 619be1103602: Download complete 11:28:10 eeca6798cff9: Verifying Checksum 11:28:10 eeca6798cff9: Download complete 11:28:10 619be1103602: Pull complete 11:28:10 ada007ff1a6a: Verifying Checksum 11:28:10 ada007ff1a6a: Download complete 11:28:10 7862e08f4a3e: Pull complete 11:28:10 5df492c9dc93: Verifying Checksum 11:28:10 5df492c9dc93: Download complete 11:28:11 aa269ceb94a6: Verifying Checksum 11:28:11 aa269ceb94a6: Download complete 11:28:13 5df492c9dc93: Pull complete 11:28:13 7629e6793208: Pull complete 11:28:13 4f4fb700ef54: Pull complete 11:28:13 fb5054dd5b73: Pull complete 11:28:14 eeca6798cff9: Pull complete 11:28:16 aa269ceb94a6: Pull complete 11:28:16 ada007ff1a6a: Pull complete 11:28:16 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 11:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:28:16 ---> f489d0715acc 11:28:16 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:28:20 ---> Running in fe83ce67333d 11:28:20 Removing intermediate container fe83ce67333d 11:28:20 ---> 6839066e2c4c 11:28:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:28:20 ---> Running in 9e0a71379d85 11:28:20 Removing intermediate container 9e0a71379d85 11:28:20 ---> 636c3d8c7bad 11:28:20 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:28:20 ---> Running in 54abfbd8064e 11:28:20 Removing intermediate container 54abfbd8064e 11:28:20 ---> c4c1f647b79b 11:28:20 Step 6/12 : WORKDIR /device-virtual-go 11:28:20 ---> Running in cd74f9bded70 11:28:20 Removing intermediate container cd74f9bded70 11:28:20 ---> aed8c42346be 11:28:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:28:20 ---> Running in 5d1f187f83cc 11:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:28:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:28:21 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:28:21 (2/4) Installing libedit (20221030.3.1-r1) 11:28:21 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:28:21 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:28:21 Executing busybox-1.36.1-r5.trigger 11:28:21 OK: 268 MiB in 56 packages 11:28:22 Removing intermediate container 5d1f187f83cc 11:28:22 ---> 8d63eba13e65 11:28:22 Step 8/12 : COPY go.mod vendor* ./ 11:28:22 ---> 131a8563894b 11:28:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:28:22 ---> Running in b550de201db8 11:28:22 Still waiting to schedule task 11:28:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:29:09 Removing intermediate container b550de201db8 11:29:09 ---> 823952144b56 11:29:09 Step 10/12 : COPY . . 11:29:09 ---> 1200c0cb567b 11:29:09 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:29:09 ---> Running in 65b99c43d2a8 11:29:09 Removing intermediate container 65b99c43d2a8 11:29:09 ---> ba1dc783536f 11:29:09 Step 12/12 : RUN $MAKE 11:29:09 ---> Running in 53f7f962f5d2 11:29:09 noop 11:29:09 Removing intermediate container 53f7f962f5d2 11:29:09 ---> f53e1fe0f6ca 11:29:09 Successfully built f53e1fe0f6ca 11:29:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:09 + docker inspect -f . ci-base-image-x86_64 11:29:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:09 prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container 11:29:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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:29:10 $ docker top d83f4c71c50a4a795f721dc2758d86dacb1a9b531520c84fabe5c43c40941554 -eo pid,comm [Pipeline] { [Pipeline] sh 11:29:10 + go version 11:29:10 go version go1.21.9 linux/amd64 [Pipeline] } 11:29:10 $ docker stop --time=1 d83f4c71c50a4a795f721dc2758d86dacb1a9b531520c84fabe5c43c40941554 11:29:11 $ docker rm -f --volumes d83f4c71c50a4a795f721dc2758d86dacb1a9b531520c84fabe5c43c40941554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:12 + docker inspect -f . ci-base-image-x86_64 11:29:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:12 prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container 11:29:12 $ 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-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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:29:13 $ docker top 7a7580a225cd52a7b66d5b4bcf8c585a76f13429ab30aaa0258e3781cba7540c -eo pid,comm [Pipeline] { [Pipeline] sh 11:29:13 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-470 [Pipeline] fileExists [Pipeline] sh 11:29:14 + make test 11:29:14 go test ./... -coverprofile=coverage.out 11:29:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:29:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:29:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 11:29:40 go vet ./... 11:29:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:29:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:29:45 ./bin/test-attribution-txt.sh 11:29:45 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:29:45 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:29:45 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:29:45 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:29:45 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:29:45 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:29:45 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:29:45 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:29:45 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:29:45 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 11:29:45 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:29:45 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:29:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:29:45 $ docker stop --time=1 7a7580a225cd52a7b66d5b4bcf8c585a76f13429ab30aaa0258e3781cba7540c 11:29:48 $ docker rm -f --volumes 7a7580a225cd52a7b66d5b4bcf8c585a76f13429ab30aaa0258e3781cba7540c [Pipeline] // withDockerContainer [Pipeline] sh 11:29:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:29:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:29:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:29:50 + ls -al . 11:29:50 total 268 11:29:50 drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:29 . 11:29:50 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:27 .. 11:29:50 drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:29 .git 11:29:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:27 .github 11:29:50 -rw-rw-r-- 1 jenkins jenkins 272 May 16 11:27 .gitignore 11:29:50 -rw-rw-r-- 1 jenkins jenkins 41 May 16 11:27 .golangci.yml 11:29:50 drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:28 .semver 11:29:50 -rw-rw-r-- 1 jenkins jenkins 9708 May 16 11:27 Attribution.txt 11:29:50 -rw-rw-r-- 1 jenkins jenkins 15941 May 16 11:27 CHANGELOG.md 11:29:50 -rw-rw-r-- 1 jenkins jenkins 1755 May 16 11:27 Dockerfile 11:29:50 -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:27 GOVERNANCE.md 11:29:50 -rw-rw-r-- 1 jenkins jenkins 660 May 16 11:27 Jenkinsfile 11:29:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 11:27 LICENSE 11:29:50 -rw-rw-r-- 1 jenkins jenkins 1953 May 16 11:27 Makefile 11:29:50 -rw-rw-r-- 1 jenkins jenkins 623 May 16 11:27 OWNERS.md 11:29:50 -rw-rw-r-- 1 jenkins jenkins 4103 May 16 11:27 README.md 11:29:50 -rw-rw-r-- 1 jenkins jenkins 5 May 16 11:28 VERSION 11:29:50 drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:27 bin 11:29:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:27 cmd 11:29:50 -rw-r--r-- 1 jenkins jenkins 43063 May 16 11:29 coverage.out 11:29:50 -rw-rw-r-- 1 jenkins jenkins 6985 May 16 11:27 go.mod 11:29:50 -rw-rw-r-- 1 jenkins jenkins 101177 May 16 11:27 go.sum 11:29:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:27 internal 11:29:50 -rw-rw-r-- 1 jenkins jenkins 235 May 16 11:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:51 + 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=3e8e27f2c24b954fe903df5a2e85b791fc4c9775 --label arch=amd64 --label version=0.0.0 . 11:29:51 Sending build context to Docker daemon 37.72MB 11:29:51 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:29:51 Step 2/26 : FROM ${BASE} AS builder 11:29:51 ---> f53e1fe0f6ca 11:29:51 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:29:51 ---> Running in 094918a9067f 11:29:51 Removing intermediate container 094918a9067f 11:29:51 ---> ffa3747772cc 11:29:51 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:29:51 ---> Running in 9beaa9b137c6 11:29:51 Removing intermediate container 9beaa9b137c6 11:29:51 ---> 572fceae9bf5 11:29:51 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:29:51 ---> Running in 32c58ddfaf5e 11:29:51 Removing intermediate container 32c58ddfaf5e 11:29:51 ---> 63c3627404d0 11:29:51 Step 6/26 : WORKDIR /device-virtual-go 11:29:51 ---> Running in 144e52a7ce96 11:29:51 Removing intermediate container 144e52a7ce96 11:29:51 ---> 71aee87f1642 11:29:51 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:29:51 ---> Running in 215fbde84476 11:29:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:29:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:29:52 OK: 268 MiB in 56 packages 11:29:53 Removing intermediate container 215fbde84476 11:29:53 ---> 9d3ae497033b 11:29:53 Step 8/26 : COPY go.mod vendor* ./ 11:29:53 ---> 2b3e1e1150a3 11:29:53 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:29:53 ---> Running in 197b2e74fd23 11:29:53 Removing intermediate container 197b2e74fd23 11:29:53 ---> fed03e147274 11:29:53 Step 10/26 : COPY . . 11:29:54 ---> 70403f0cdcd6 11:29:54 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:29:54 ---> Running in 5ceeb5bf7b13 11:29:54 Removing intermediate container 5ceeb5bf7b13 11:29:54 ---> bbfacd41ce31 11:29:54 Step 12/26 : RUN $MAKE 11:29:54 ---> Running in 156c10440868 11:29:54 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.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:29:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-283 in /w/workspace/foundry_device-virtual-go_PR-470 [Pipeline] { [Pipeline] ws 11:29:57 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:29:57 The recommended git tool is: git 11:30:02 using credential edgex-jenkins-ssh 11:30:02 Cloning the remote Git repository 11:30:02 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:30:02 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:30:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:30:02 > git --version # timeout=10 11:30:02 > git --version # 'git version 2.25.1' 11:30:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:30:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:30:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:30:07 Merging remotes/origin/main commit 14494e7562879e41062c7461f1813d33e0fc95a7 into PR head commit 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 11:30:07 Merge succeeded, producing 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 11:30:07 Checking out Revision 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 (PR-470) 11:30:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:30:07 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:30:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/470/head:refs/remotes/origin/PR-470 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:30:07 > git config core.sparsecheckout # timeout=10 11:30:07 > git checkout -f 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 # timeout=10 11:30:07 > git remote # timeout=10 11:30:07 > git config --get remote.origin.url # timeout=10 11:30:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:07 > git merge 14494e7562879e41062c7461f1813d33e0fc95a7 # timeout=10 11:30:07 > git rev-parse HEAD^{commit} # timeout=10 11:30:07 > git config core.sparsecheckout # timeout=10 11:30:07 > git checkout -f 3e8e27f2c24b954fe903df5a2e85b791fc4c9775 # timeout=10 11:30:08 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:30:08 > git --version # timeout=10 11:30:08 > git --version # 'git version 2.25.1' 11:30:08 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:30:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:30:13 % Total % Received % Xferd Average Speed Time Time Time Current 11:30:13 Dload Upload Total Spent Left Speed 11:30:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 121k 0 --:--:-- --:--:-- --:--:-- 121k [Pipeline] sh 11:30:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:30:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:30:14 + sudo tee /etc/docker/daemon.new 11:30:14 { 11:30:14 "registry-mirrors": [ 11:30:14 "https://nexus3.edgexfoundry.org:10001" 11:30:14 ], 11:30:14 "bip": "10.250.0.254/24", 11:30:14 "hosts": [ 11:30:14 "tcp://0.0.0.0:5555", 11:30:14 "unix:///var/run/docker.sock" 11:30:14 ], 11:30:14 "mtu": 1458, 11:30:14 "selinux-enabled": true, 11:30:14 "seccomp-profile": "/etc/docker/seccomp.json" 11:30:14 } [Pipeline] sh 11:30:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:30:14 + sudo service docker restart 11:30:27 Removing intermediate container 156c10440868 11:30:27 ---> 4ce389557dd1 11:30:27 Step 13/26 : FROM alpine:3.18 11:30:27 3.18: Pulling from library/alpine 11:30:27 619be1103602: Already exists 11:30:27 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:30:27 Status: Downloaded newer image for alpine:3.18 11:30:27 ---> d3782b16ccc9 11:30:27 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:30:27 ---> Running in c851fad2b5d5 11:30:27 Removing intermediate container c851fad2b5d5 11:30:27 ---> 02e93c35f950 11:30:27 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:30:27 ---> Running in a4f97ae91037 11:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:30:27 (1/1) Installing dumb-init (1.2.5-r2) 11:30:27 Executing busybox-1.36.1-r5.trigger 11:30:27 OK: 7 MiB in 16 packages 11:30:27 Removing intermediate container a4f97ae91037 11:30:27 ---> 60137d94c2af 11:30:27 Step 16/26 : RUN apk --no-cache upgrade 11:30:27 ---> Running in 1e2571de7c9b 11:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:30:27 Upgrading critical system libraries and apk-tools: 11:30:27 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:30:27 Executing busybox-1.36.1-r5.trigger 11:30:27 Continuing the upgrade transaction with new apk-tools: 11:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:30:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:30:27 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:30:27 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 11:30:27 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 11:30:27 OK: 7 MiB in 16 packages 11:30:27 Removing intermediate container 1e2571de7c9b 11:30:27 ---> 01010f142aac 11:30:27 Step 17/26 : WORKDIR / 11:30:27 ---> Running in e0f7bf48cf60 11:30:27 Removing intermediate container e0f7bf48cf60 11:30:27 ---> aa36c60e9b4a 11:30:27 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:30:27 ---> 63d77afb80e0 11:30:27 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:30:27 ---> 2d7f438cd210 11:30:27 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:30:27 ---> 39e6d143f0ea 11:30:27 Step 21/26 : EXPOSE 59900 11:30:27 ---> Running in f34ff9ec47dc 11:30:27 Removing intermediate container f34ff9ec47dc 11:30:27 ---> 0aac449ce454 11:30:27 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:30:27 ---> Running in 8d5641c9a2ac 11:30:27 Removing intermediate container 8d5641c9a2ac 11:30:27 ---> e2002f18bf4e 11:30:27 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:30:27 ---> Running in 22c4f69da7d7 11:30:27 Removing intermediate container 22c4f69da7d7 11:30:27 ---> 6e8ef44cb887 11:30:27 Step 24/26 : LABEL arch=amd64 11:30:27 ---> Running in a09a786cdf7e 11:30:27 Removing intermediate container a09a786cdf7e 11:30:27 ---> bcdab03a90c8 11:30:27 Step 25/26 : LABEL git_sha=3e8e27f2c24b954fe903df5a2e85b791fc4c9775 11:30:27 ---> Running in 05b2cbdbef74 11:30:27 Removing intermediate container 05b2cbdbef74 11:30:27 ---> d88671dcea6f 11:30:27 Step 26/26 : LABEL version=0.0.0 11:30:27 ---> Running in 6f366939435b 11:30:27 Removing intermediate container 6f366939435b 11:30:27 ---> c8f1fb4428ff 11:30:27 [Warning] One or more build-args [ARCH] were not consumed 11:30:27 Successfully built c8f1fb4428ff 11:30:27 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:30:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:30:28 11:30:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:30:29 latest: Pulling from edgex-lftools-log-publisher 11:30:29 5eb5b503b376: Pulling fs layer 11:30:29 5c69ac0246d0: Pulling fs layer 11:30:29 ec43610c2a17: Pulling fs layer 11:30:29 3a2ae6a8a46f: Pulling fs layer 11:30:29 33b1e0a273af: Pulling fs layer 11:30:29 5d3b04190fa2: Pulling fs layer 11:30:29 2f39f015ded8: Pulling fs layer 11:30:29 33b1e0a273af: Waiting 11:30:29 5d3b04190fa2: Waiting 11:30:29 2f39f015ded8: Waiting 11:30:29 3a2ae6a8a46f: Waiting 11:30:29 5c69ac0246d0: Verifying Checksum 11:30:29 5c69ac0246d0: Download complete 11:30:29 3a2ae6a8a46f: Download complete 11:30:29 33b1e0a273af: Verifying Checksum 11:30:29 33b1e0a273af: Download complete 11:30:29 ec43610c2a17: Verifying Checksum 11:30:29 ec43610c2a17: Download complete 11:30:29 5d3b04190fa2: Verifying Checksum 11:30:29 5d3b04190fa2: Download complete 11:30:29 5eb5b503b376: Verifying Checksum 11:30:29 5eb5b503b376: Download complete 11:30:30 2f39f015ded8: Download complete 11:30:30 5eb5b503b376: Pull complete 11:30:30 5c69ac0246d0: Pull complete 11:30:31 ec43610c2a17: Pull complete 11:30:31 3a2ae6a8a46f: Pull complete 11:30:31 33b1e0a273af: Pull complete 11:30:31 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:30:33 provisioning config files... 11:30:33 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config6725374033479895402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:30:33 ---> ****-login.sh 11:30:33 nexus3.edgexfoundry.org:10001 11:30:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:30:34 Configure a credential helper to remove this warning. See 11:30:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:30:34 11:30:34 Login Succeeded 11:30:34 nexus3.edgexfoundry.org:10002 11:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:30:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:30:34 Configure a credential helper to remove this warning. See 11:30:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:30:34 11:30:34 Login Succeeded 11:30:34 nexus3.edgexfoundry.org:10003 11:30:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:30:35 Configure a credential helper to remove this warning. See 11:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:30:35 11:30:35 Login Succeeded 11:30:35 nexus3.edgexfoundry.org:10004 11:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:30:35 Configure a credential helper to remove this warning. See 11:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:30:35 11:30:35 Login Succeeded 11:30:35 ****.io 11:30:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:30:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:30:35 Configure a credential helper to remove this warning. See 11:30:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:30:35 11:30:35 Login Succeeded 11:30:35 ---> ****-login.sh ends [Pipeline] } 11:30:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:30:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:30:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:30:36 ========================================================= 11:30:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:30:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:36 2f39f015ded8: Pull complete 11:30:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:30:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:30:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:30:37 + 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 . [Pipeline] // withEnv [Pipeline] withDockerContainer 11:30:37 prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container 11:30:37 $ 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-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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:30:37 Sending build context to Docker daemon 19.02MB 11:30:37 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:30:37 Step 2/12 : FROM ${BASE} AS builder 11:30:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:30:37 c6b39de5b339: Pulling fs layer 11:30:37 a69c41024577: Pulling fs layer 11:30:37 d6de4b400683: Pulling fs layer 11:30:37 35cb2a7552d0: Pulling fs layer 11:30:37 4f4fb700ef54: Pulling fs layer 11:30:37 35cb2a7552d0: Waiting 11:30:37 464afbd9ba4c: Pulling fs layer 11:30:37 00f215d4a9da: Pulling fs layer 11:30:37 d496ad576159: Pulling fs layer 11:30:37 4f4fb700ef54: Waiting 11:30:37 464afbd9ba4c: Waiting 11:30:37 00f215d4a9da: Waiting 11:30:37 d496ad576159: Waiting 11:30:37 a69c41024577: Verifying Checksum 11:30:37 a69c41024577: Download complete 11:30:37 35cb2a7552d0: Verifying Checksum 11:30:37 35cb2a7552d0: Download complete 11:30:37 4f4fb700ef54: Verifying Checksum 11:30:37 4f4fb700ef54: Download complete 11:30:37 464afbd9ba4c: Verifying Checksum 11:30:37 464afbd9ba4c: Download complete 11:30:37 c6b39de5b339: Verifying Checksum 11:30:37 c6b39de5b339: Download complete 11:30:38 d496ad576159: Verifying Checksum 11:30:38 d496ad576159: Download complete 11:30:38 c6b39de5b339: Pull complete 11:30:39 a69c41024577: Pull complete 11:30:39 d6de4b400683: Verifying Checksum 11:30:39 d6de4b400683: Download complete 11:30:40 $ docker top b8e6cbe9f856f774ddc810b533b22140e5bda9892eee39d39e3eac95d9a29c55 -eo pid,comm [Pipeline] { 11:30:40 00f215d4a9da: Verifying Checksum 11:30:40 00f215d4a9da: Download complete [Pipeline] libraryResource [Pipeline] sh 11:30:41 ---> job-cost.sh 11:30:41 lf-activate-venv: SKIPPING 11:30:41 INFO: No Stack... 11:30:41 INFO: Retrieving Pricing Info for: v3-standard-8 11:30:41 INFO: Archiving Costs [Pipeline] sh 11:30:41 + cat /w/workspace/foundry_device-virtual-go_PR-470/archives/cost.csv 11:30:41 + cut -d, -f6 [Pipeline] lock 11:30:41 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] 11:30:41 Resource [jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] did not exist. Created. 11:30:41 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:30:42 + echo total: 0.2199999988079071 [Pipeline] stash 11:30:42 Stashed 1 file(s) [Pipeline] } 11:30:42 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:30:42 $ docker stop --time=1 b8e6cbe9f856f774ddc810b533b22140e5bda9892eee39d39e3eac95d9a29c55 11:30:43 $ docker rm -f --volumes b8e6cbe9f856f774ddc810b533b22140e5bda9892eee39d39e3eac95d9a29c55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:30:52 d6de4b400683: Pull complete 11:30:52 35cb2a7552d0: Pull complete 11:30:52 4f4fb700ef54: Pull complete 11:30:52 464afbd9ba4c: Pull complete 11:31:01 00f215d4a9da: Pull complete 11:31:03 d496ad576159: Pull complete 11:31:03 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 11:31:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:31:03 ---> f246e2811388 11:31:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:31:04 ---> Running in d3f998d3d806 11:31:04 Removing intermediate container d3f998d3d806 11:31:04 ---> f33ab8cb4d23 11:31:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:31:05 ---> Running in 2360f25b7507 11:31:05 Removing intermediate container 2360f25b7507 11:31:05 ---> aa94b155ce7f 11:31:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:31:05 ---> Running in df8f4715e752 11:31:05 Removing intermediate container df8f4715e752 11:31:05 ---> caec9f8e8784 11:31:05 Step 6/12 : WORKDIR /device-virtual-go 11:31:05 ---> Running in c360325275de 11:31:05 Removing intermediate container c360325275de 11:31:05 ---> f9ea9a0569f0 11:31:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:31:06 ---> Running in e7a7e1fa9330 11:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:31:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:31:08 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:31:08 (2/4) Installing libedit (20221030.3.1-r1) 11:31:08 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:31:08 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:31:08 Executing busybox-1.36.1-r5.trigger 11:31:08 OK: 271 MiB in 56 packages 11:31:09 Removing intermediate container e7a7e1fa9330 11:31:09 ---> e889d78454e3 11:31:09 Step 8/12 : COPY go.mod vendor* ./ 11:31:10 ---> 1fe84da88a39 11:31:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:31:10 ---> Running in efd99b8ef88d 11:33:01 Removing intermediate container efd99b8ef88d 11:33:01 ---> 2ca3a8d9d04e 11:33:01 Step 10/12 : COPY . . 11:33:01 ---> 344a1fed791a 11:33:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:33:01 ---> Running in 22f2efa9f9ee 11:33:01 Removing intermediate container 22f2efa9f9ee 11:33:01 ---> 4fb94cf1b99e 11:33:01 Step 12/12 : RUN $MAKE 11:33:01 ---> Running in b9ef7b6c0d2f 11:33:01 noop 11:33:01 Removing intermediate container b9ef7b6c0d2f 11:33:01 ---> d2ef590071d7 11:33:01 Successfully built d2ef590071d7 11:33:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:02 + docker inspect -f . ci-base-image-arm64 11:33:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:02 prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container 11:33:02 $ 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 ******** ci-base-image-arm64 cat 11:33:03 $ docker top 6edd7375124238490b39bca2a2a94195303f9a9c7c1837343d5d48d05001c7d8 -eo pid,comm [Pipeline] { [Pipeline] sh 11:33:04 + go version 11:33:04 go version go1.21.9 linux/arm64 [Pipeline] } 11:33:04 $ docker stop --time=1 6edd7375124238490b39bca2a2a94195303f9a9c7c1837343d5d48d05001c7d8 11:33:06 $ docker rm -f --volumes 6edd7375124238490b39bca2a2a94195303f9a9c7c1837343d5d48d05001c7d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:07 + docker inspect -f . ci-base-image-arm64 11:33:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:07 prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container 11:33:07 $ 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 ******** ci-base-image-arm64 cat 11:33:08 $ docker top f0a58b15ad92eb0817df6706b4de9aae551e06828f9fea47848093f18423eeb5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:33:09 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:33:09 + make test 11:33:09 go test ./... -coverprofile=coverage.out 11:33:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:36:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:36:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.091s coverage: 58.4% of statements 11:36:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:36:51 go vet ./... 11:37:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:37:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:37:30 ./bin/test-attribution-txt.sh 11:37:30 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:37:30 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:37:30 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:37:30 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:37:30 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:37:30 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:37:30 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:37:30 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:37:30 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:37:30 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 11:37:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:37:30 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:37:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:37:30 $ docker stop --time=1 f0a58b15ad92eb0817df6706b4de9aae551e06828f9fea47848093f18423eeb5 11:37:32 $ docker rm -f --volumes f0a58b15ad92eb0817df6706b4de9aae551e06828f9fea47848093f18423eeb5 [Pipeline] // withDockerContainer [Pipeline] sh 11:37:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:37:34 Warning: overwriting stash ‘coverage-report’ 11:37:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:37:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:37:35 + ls -al . 11:37:35 total 264 11:37:35 drwxrwxr-x 7 jenkins jenkins 4096 May 16 11:33 . 11:37:35 drwxrwxr-x 4 jenkins jenkins 4096 May 16 11:30 .. 11:37:35 drwxrwxr-x 8 jenkins jenkins 4096 May 16 11:30 .git 11:37:35 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:30 .github 11:37:35 -rw-rw-r-- 1 jenkins jenkins 272 May 16 11:30 .gitignore 11:37:35 -rw-rw-r-- 1 jenkins jenkins 41 May 16 11:30 .golangci.yml 11:37:35 -rw-rw-r-- 1 jenkins jenkins 9708 May 16 11:30 Attribution.txt 11:37:35 -rw-rw-r-- 1 jenkins jenkins 15941 May 16 11:30 CHANGELOG.md 11:37:35 -rw-rw-r-- 1 jenkins jenkins 1755 May 16 11:30 Dockerfile 11:37:35 -rw-rw-r-- 1 jenkins jenkins 677 May 16 11:30 GOVERNANCE.md 11:37:35 -rw-rw-r-- 1 jenkins jenkins 660 May 16 11:30 Jenkinsfile 11:37:35 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 11:30 LICENSE 11:37:35 -rw-rw-r-- 1 jenkins jenkins 1953 May 16 11:30 Makefile 11:37:35 -rw-rw-r-- 1 jenkins jenkins 623 May 16 11:30 OWNERS.md 11:37:35 -rw-rw-r-- 1 jenkins jenkins 4103 May 16 11:30 README.md 11:37:35 -rw-rw-r-- 1 jenkins jenkins 5 May 16 11:28 VERSION 11:37:35 drwxrwxr-x 2 jenkins jenkins 4096 May 16 11:30 bin 11:37:35 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:30 cmd 11:37:35 -rw-r--r-- 1 jenkins jenkins 43063 May 16 11:36 coverage.out 11:37:35 -rw-rw-r-- 1 jenkins jenkins 6985 May 16 11:30 go.mod 11:37:35 -rw-rw-r-- 1 jenkins jenkins 101177 May 16 11:30 go.sum 11:37:35 drwxrwxr-x 3 jenkins jenkins 4096 May 16 11:30 internal 11:37:35 -rw-rw-r-- 1 jenkins jenkins 235 May 16 11:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:36 + 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=3e8e27f2c24b954fe903df5a2e85b791fc4c9775 --label arch=arm64 --label version=0.0.0 . 11:37:36 Sending build context to Docker daemon 19.07MB 11:37:36 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:37:36 Step 2/26 : FROM ${BASE} AS builder 11:37:36 ---> d2ef590071d7 11:37:36 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:37:36 ---> Running in 9c45e089846f 11:37:37 Removing intermediate container 9c45e089846f 11:37:37 ---> 039d1a21e7ab 11:37:37 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:37:37 ---> Running in 4268a7ca551f 11:37:37 Removing intermediate container 4268a7ca551f 11:37:37 ---> 5d8bcc6b1464 11:37:37 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:37:37 ---> Running in 63307bc5206c 11:37:38 Removing intermediate container 63307bc5206c 11:37:38 ---> 5bc778e53e97 11:37:38 Step 6/26 : WORKDIR /device-virtual-go 11:37:38 ---> Running in da8c7a8ccd03 11:37:38 Removing intermediate container da8c7a8ccd03 11:37:38 ---> dbc985df74fe 11:37:38 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:37:38 ---> Running in e3779dde5580 11:37:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:37:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:37:40 OK: 271 MiB in 56 packages 11:37:41 Removing intermediate container e3779dde5580 11:37:41 ---> 72760e31a0f7 11:37:41 Step 8/26 : COPY go.mod vendor* ./ 11:37:42 ---> bf907fb48071 11:37:42 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:37:42 ---> Running in 550d0ca76b16 11:37:44 Removing intermediate container 550d0ca76b16 11:37:44 ---> fe923aee2b94 11:37:44 Step 10/26 : COPY . . 11:37:46 ---> 22ec37cfc498 11:37:46 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:37:46 ---> Running in ef9d63ed20ff 11:37:46 Removing intermediate container ef9d63ed20ff 11:37:46 ---> ae27fb717703 11:37:46 Step 12/26 : RUN $MAKE 11:37:46 ---> Running in 15ec82f2297e 11:37:47 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.13" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:41:09 Removing intermediate container 15ec82f2297e 11:41:09 ---> 6a56c0d4a93e 11:41:09 Step 13/26 : FROM alpine:3.18 11:41:09 3.18: Pulling from library/alpine 11:41:09 c6b39de5b339: Already exists 11:41:09 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:41:09 Status: Downloaded newer image for alpine:3.18 11:41:09 ---> 33abbf032149 11:41:09 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:41:09 ---> Running in e884cef584ea 11:41:09 Removing intermediate container e884cef584ea 11:41:09 ---> d482a168a558 11:41:09 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:41:09 ---> Running in a4564fcf48dc 11:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:41:09 (1/1) Installing dumb-init (1.2.5-r2) 11:41:09 Executing busybox-1.36.1-r5.trigger 11:41:09 OK: 8 MiB in 16 packages 11:41:09 Removing intermediate container a4564fcf48dc 11:41:09 ---> 07f54ccbb657 11:41:09 Step 16/26 : RUN apk --no-cache upgrade 11:41:09 ---> Running in e605073632e4 11:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:41:09 Upgrading critical system libraries and apk-tools: 11:41:09 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 11:41:09 Executing busybox-1.36.1-r5.trigger 11:41:09 Continuing the upgrade transaction with new apk-tools: 11:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:41:09 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:41:09 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 11:41:09 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 11:41:09 OK: 8 MiB in 16 packages 11:41:09 Removing intermediate container e605073632e4 11:41:09 ---> 75a762bbcc17 11:41:09 Step 17/26 : WORKDIR / 11:41:09 ---> Running in ecd77336b60d 11:41:09 Removing intermediate container ecd77336b60d 11:41:09 ---> 654f7df07c13 11:41:09 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:41:09 ---> 29dc16da6c24 11:41:09 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:41:09 ---> e6efdf808c90 11:41:09 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:41:09 ---> 46e277398b0b 11:41:09 Step 21/26 : EXPOSE 59900 11:41:09 ---> Running in a730ff23a6ce 11:41:09 Removing intermediate container a730ff23a6ce 11:41:09 ---> bdc733915a9b 11:41:09 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:41:09 ---> Running in b4bdd996af73 11:41:09 Removing intermediate container b4bdd996af73 11:41:09 ---> 4ad024d0f7f3 11:41:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:41:09 ---> Running in 5f3f94a9ba1d 11:41:10 Removing intermediate container 5f3f94a9ba1d 11:41:10 ---> 16384de1ce1e 11:41:10 Step 24/26 : LABEL arch=arm64 11:41:10 ---> Running in e2a9ba501459 11:41:10 Removing intermediate container e2a9ba501459 11:41:10 ---> 9633e4c48610 11:41:10 Step 25/26 : LABEL git_sha=3e8e27f2c24b954fe903df5a2e85b791fc4c9775 11:41:10 ---> Running in 9fa11282d16c 11:41:10 Removing intermediate container 9fa11282d16c 11:41:10 ---> 31937cdce5fe 11:41:10 Step 26/26 : LABEL version=0.0.0 11:41:10 ---> Running in 3390ea0585d5 11:41:11 Removing intermediate container 3390ea0585d5 11:41:11 ---> 5d795f8dc1ca 11:41:11 [Warning] One or more build-args [ARCH] were not consumed 11:41:11 Successfully built 5d795f8dc1ca 11:41:11 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:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:41:12 11:41:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:41:12 arm64: Pulling from edgex-lftools-log-publisher 11:41:12 8998bd30e6a1: Pulling fs layer 11:41:12 04944245beec: Pulling fs layer 11:41:12 699f458cf7ca: Pulling fs layer 11:41:12 765212b225bb: Pulling fs layer 11:41:12 f23df028b6ca: Pulling fs layer 11:41:12 d65c8cfc05b1: Pulling fs layer 11:41:12 2437ff75d9bd: Pulling fs layer 11:41:12 f23df028b6ca: Waiting 11:41:12 d65c8cfc05b1: Waiting 11:41:12 2437ff75d9bd: Waiting 11:41:12 765212b225bb: Waiting 11:41:12 04944245beec: Verifying Checksum 11:41:12 04944245beec: Download complete 11:41:12 765212b225bb: Verifying Checksum 11:41:12 765212b225bb: Download complete 11:41:12 f23df028b6ca: Verifying Checksum 11:41:12 f23df028b6ca: Download complete 11:41:12 d65c8cfc05b1: Verifying Checksum 11:41:12 d65c8cfc05b1: Download complete 11:41:13 699f458cf7ca: Verifying Checksum 11:41:13 699f458cf7ca: Download complete 11:41:13 8998bd30e6a1: Download complete 11:41:15 2437ff75d9bd: Verifying Checksum 11:41:15 2437ff75d9bd: Download complete 11:41:17 8998bd30e6a1: Pull complete 11:41:18 04944245beec: Pull complete 11:41:20 699f458cf7ca: Pull complete 11:41:20 765212b225bb: Pull complete 11:41:20 f23df028b6ca: Pull complete 11:41:21 d65c8cfc05b1: Pull complete 11:41:39 2437ff75d9bd: Pull complete 11:41:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:41:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:41:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:39 prd-ubuntu20.04-docker-arm64-4c-16g-283 does not seem to be running inside a container 11:41:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:41:42 $ docker top e9df423d9b8b8c9ff41e13698abac35ca964053732d2137e6ee8bf6a86a23b60 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:41:43 ---> job-cost.sh 11:41:43 lf-activate-venv: SKIPPING 11:41:43 INFO: No Stack... 11:41:43 INFO: Retrieving Pricing Info for: v3-standard-4 11:41:44 INFO: Archiving Costs [Pipeline] sh 11:41:45 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:41:45 + cut -d, -f6 [Pipeline] lock 11:41:45 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] 11:41:45 Resource [jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] did not exist. Created. 11:41:45 Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:41:46 /w/workspace/device-virtual-go/1@tmp/durable-2ea5970c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:41:46 + echo total: 0.10999999940395355 [Pipeline] stash 11:41:46 Warning: overwriting stash ‘stack-cost’ 11:41:47 Stashed 1 file(s) [Pipeline] } 11:41:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-470-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:41:47 $ docker stop --time=1 e9df423d9b8b8c9ff41e13698abac35ca964053732d2137e6ee8bf6a86a23b60 11:41:48 $ docker rm -f --volumes e9df423d9b8b8c9ff41e13698abac35ca964053732d2137e6ee8bf6a86a23b60 [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:41:49 provisioning config files... 11:41:49 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-470@tmp/config11814932961245188390tmp [Pipeline] { [Pipeline] sh 11:41:50 + set +x 11:41:50 + bash -s -- 11:41:50 + curl -s https://codecov.io/bash 11:41:50 11:41:50 _____ _ 11:41:50 / ____| | | 11:41:50 | | ___ __| | ___ ___ _____ __ 11:41:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:41:50 | |___| (_) | (_| | __/ (_| (_) \ V / 11:41:50 \_____\___/ \__,_|\___|\___\___/ \_/ 11:41:50 Bash-1.0.6 11:41:50 11:41:50 11:41:50 ==> git version 2.25.1 found 11:41:50 ==> 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:41:50 Release-Date: 2020-01-08 11:41:50 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:41:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:41:50 ==> Jenkins CI detected. 11:41:50 current dir:  /w/workspace/foundry_device-virtual-go_PR-470 11:41:50 project root: . 11:41:50 --> token set from env 11:41:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:41:50 ==> Running gcov in . (disable via -X gcov) 11:41:50 ==> Python coveragepy not found 11:41:50 ==> Searching for coverage reports in: 11:41:50 + . 11:41:50 -> Found 1 reports 11:41:50 ==> Detecting git/mercurial file structure 11:41:50 ==> Reading reports 11:41:50 + ./coverage.out bytes=43063 11:41:50 ==> Appending adjustments 11:41:50 https://docs.codecov.io/docs/fixing-reports 11:41:50 + Found adjustments 11:41:50 ==> Gzipping contents 11:41:50 8.0K /tmp/codecov.abC9DI.gz 11:41:50 ==> Uploading reports 11:41:50 url: https://codecov.io 11:41:50 query: branch=PR-470&commit=3e8e27f2c24b954fe903df5a2e85b791fc4c9775&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=470&job=&cmd_args= 11:41:50 -> Pinging Codecov 11:41:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-470&commit=3e8e27f2c24b954fe903df5a2e85b791fc4c9775&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-470%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=470&job=&cmd_args= 11:41:50 -> Uploading to 11:41:50 https://storage.googleapis.com/codecov/v4/raw/2024-05-16/5E52B4B073DB2E39498172D8E973AA87/3e8e27f2c24b954fe903df5a2e85b791fc4c9775/2f7dbab1-f117-45d9-ba7f-b2d266d8c35b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240516%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240516T114150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d1aba64321bc0c9bd0bd9bc9f1723fe1e754be7b4c05b64290bc3b5df9868fe 11:41:50 % Total % Received % Xferd Average Speed Time Time Time Current 11:41:50 Dload Upload Total Spent Left Speed 11:41:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 22615 --:--:-- --:--:-- --:--:-- 22513 100 4998 0 0 100 4998 0 20652 --:--:-- --:--:-- --:--:-- 20567 11:41:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/3e8e27f2c24b954fe903df5a2e85b791fc4c9775 [Pipeline] } 11:41:50 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:41:53 + [ -d /w/workspace/foundry_device-virtual-go_PR-470/archives ] 11:41:53 + ls -al /w/workspace/foundry_device-virtual-go_PR-470/archives 11:41:53 total 16 11:41:53 drwxr-xr-x 3 root root 4096 May 16 11:30 . 11:41:53 drwxrwxr-x 9 jenkins jenkins 4096 May 16 11:30 .. 11:41:53 drwxr-xr-x 2 root root 4096 May 16 11:30 cost 11:41:53 -rw-r--r-- 1 root root 89 May 16 11:30 cost.csv 11:41:53 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-470/archives 11:41:53 + ls -al /w/workspace/foundry_device-virtual-go_PR-470/archives 11:41:53 total 16 11:41:53 drwxr-xr-x 3 jenkins jenkins 4096 May 16 11:30 . 11:41:53 drwxrwxr-x 9 jenkins jenkins 4096 May 16 11:30 .. 11:41:53 drwxr-xr-x 2 jenkins jenkins 4096 May 16 11:30 cost 11:41:53 -rw-r--r-- 1 jenkins jenkins 89 May 16 11:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:41:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:41:54 ---> package-listing.sh 11:41:54 ++ facter osfamily 11:41:54 ++ tr '[:upper:]' '[:lower:]' 11:41:54 + OS_FAMILY=debian 11:41:54 + workspace=/w/workspace/foundry_device-virtual-go_PR-470 11:41:54 + START_PACKAGES=/tmp/packages_start.txt 11:41:54 + END_PACKAGES=/tmp/packages_end.txt 11:41:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:41:54 + PACKAGES=/tmp/packages_start.txt 11:41:54 + '[' /w/workspace/foundry_device-virtual-go_PR-470 ']' 11:41:54 + PACKAGES=/tmp/packages_end.txt 11:41:54 + case "${OS_FAMILY}" in 11:41:54 + dpkg -l 11:41:54 + grep '^ii' 11:41:54 + '[' -f /tmp/packages_start.txt ']' 11:41:54 + '[' -f /tmp/packages_end.txt ']' 11:41:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:41:54 + '[' /w/workspace/foundry_device-virtual-go_PR-470 ']' 11:41:54 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-470/archives/ 11:41:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-470/archives/ [Pipeline] echo 11:41:54 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-470/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:41:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:41:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:55 prd-ubuntu20.04-docker-8c-8g-282 does not seem to be running inside a container 11:41:56 $ 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-470/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-470 -v /w/workspace/foundry_device-virtual-go_PR-470:/w/workspace/foundry_device-virtual-go_PR-470:rw,z -v /w/workspace/foundry_device-virtual-go_PR-470@tmp:/w/workspace/foundry_device-virtual-go_PR-470@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:41:56 $ docker top 41616e024c8bae6287a456cdc394d4a5ba4937ff5bf761dacca783fadfaf84f7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:41:56 + touch /tmp/pre-build-complete [Pipeline] sh 11:41:56 + mkdir -p /var/log/sysstat [Pipeline] sh 11:41:57 + ls /var/log/sa-host 11:41:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:41:57 provisioning config files... 11:41:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-470@tmp/config10467369502476115152tmp [Pipeline] { [Pipeline] echo 11:41:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:41:57 ---> create-netrc.sh [Pipeline] } 11:41:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:41:58 ---> python-tools-install.sh [Pipeline] echo 11:41:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:41:58 ---> sudo-logs.sh 11:41:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:41:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:41:59 ---> job-cost.sh 11:41:59 lf-activate-venv: SKIPPING 11:41:59 DEBUG: total: 0.2199999988079071 11:41:59 INFO: Retrieving Stack Cost... 11:41:59 INFO: Retrieving Pricing Info for: v3-standard-8 11:42:00 INFO: Archiving Costs [Pipeline] echo 11:42:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:42:00 ---> logs-deploy.sh 11:42:00 lf-activate-venv: SKIPPING 11:42:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-470/1 11:42:00 INFO: archiving workspace using pattern(s): 11:42:01 Archives upload complete. 11:42:01 INFO: archiving logs to Nexus