Pull request #466 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e32178465052c5ce0d68229f73b84986c7692132+df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 (b550421f3ac7b2cbc2b9c974b8951328f2bb4b72) 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-ssh4565604438076241296.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-ssh15524337309492390762.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-466/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-466/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9265403121070036882.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-466/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15890337133233936715.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-ssh14862427979007137231.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-466/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-466/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6946684351231386157.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-557 in /w/workspace/foundry_device-virtual-go_PR-466 [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-466 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 into PR head commit e32178465052c5ce0d68229f73b84986c7692132 Merge succeeded, producing e32178465052c5ce0d68229f73b84986c7692132 Checking out Revision e32178465052c5ce0d68229f73b84986c7692132 (PR-466) 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 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/466/head:refs/remotes/origin/PR-466 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e32178465052c5ce0d68229f73b84986c7692132 # 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 df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e32178465052c5ce0d68229f73b84986c7692132 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:40:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:40:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:40:11 ========================================================= 11:40:11 EdgeX Global Pipelines Version Info 11:40:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:40:12 ------------------- 11:40:12 stable info: 11:40:12 ------------------- 11:40:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:40:12 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:40:12 Message: update stable to v1.0.258 11:40:13 ------------------- 11:40:13 experimental info: 11:40:13 ------------------- 11:40:13 Commited By: **** collab-it+edgex@linuxfoundation.org 11:40:13 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:40:13 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:40:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-466 [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-466 [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-466 [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e32178465052c5ce0d68229f73b84986c7692132 [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e321784 [Pipeline] echo 11:40:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:40:15 provisioning config files... 11:40:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-466@tmp/config17248797746491087253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:15 ---> ****-login.sh 11:40:15 nexus3.edgexfoundry.org:10001 11:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:15 Configure a credential helper to remove this warning. See 11:40:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:15 11:40:15 Login Succeeded 11:40:15 nexus3.edgexfoundry.org:10002 11:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:15 Configure a credential helper to remove this warning. See 11:40:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:15 11:40:15 Login Succeeded 11:40:15 nexus3.edgexfoundry.org:10003 11:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:16 Configure a credential helper to remove this warning. See 11:40:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:16 11:40:16 Login Succeeded 11:40:16 nexus3.edgexfoundry.org:10004 11:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:16 Configure a credential helper to remove this warning. See 11:40:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:16 11:40:16 Login Succeeded 11:40:16 ****.io 11:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:16 Configure a credential helper to remove this warning. See 11:40:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:16 11:40:16 Login Succeeded 11:40:16 ---> ****-login.sh ends [Pipeline] } 11:40:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:40:17 + git rev-list -1 --merges e32178465052c5ce0d68229f73b84986c7692132~1..e32178465052c5ce0d68229f73b84986c7692132 [Pipeline] echo 11:40:17 -----------> git rev-list -1 --merges e32178465052c5ce0d68229f73b84986c7692132~1..e32178465052c5ce0d68229f73b84986c7692132 e32178465052c5ce0d68229f73b84986c7692132 [false] [Pipeline] sh 11:40:17 + git log --format=format:%s -1 e32178465052c5ce0d68229f73b84986c7692132 [Pipeline] echo 11:40:17 ========================================================= 11:40:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:40:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:40:18 + git log --format=format:%s -1 e32178465052c5ce0d68229f73b84986c7692132 [Pipeline] echo 11:40:18 [semverPrep] GIT_COMMIT: e32178465052c5ce0d68229f73b84986c7692132, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:40:18 [semverPrep] This is not a build commit. [Pipeline] sh 11:40:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:40:18 + grep -v github /etc/ssh/ssh_known_hosts 11:40:18 + [ -e /tmp/ssh_known_hosts ] 11:40:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:40:18 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:40:18 sudo tee -a /etc/ssh/ssh_known_hosts 11:40:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:19 11:40:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:19 0.1.4: Pulling from edgex-devops/py-git-semver 11:40:19 b85a868b505f: Pulling fs layer 11:40:19 e2be974225ed: Pulling fs layer 11:40:19 339a4e72a1f5: Pulling fs layer 11:40:19 988bab9f4d93: Pulling fs layer 11:40:19 1469e6f7b9e6: Pulling fs layer 11:40:19 eaf3925da568: Pulling fs layer 11:40:19 bab4dde63d76: Pulling fs layer 11:40:19 bde34c3a00c8: Pulling fs layer 11:40:19 b352a97aabf1: Pulling fs layer 11:40:19 4872d77fe225: Pulling fs layer 11:40:19 5851b861e8e6: Pulling fs layer 11:40:19 988bab9f4d93: Waiting 11:40:19 bab4dde63d76: Waiting 11:40:19 4872d77fe225: Waiting 11:40:19 bde34c3a00c8: Waiting 11:40:19 b352a97aabf1: Waiting 11:40:19 1469e6f7b9e6: Waiting 11:40:19 5851b861e8e6: Waiting 11:40:19 eaf3925da568: Waiting 11:40:19 e2be974225ed: Download complete 11:40:19 988bab9f4d93: Verifying Checksum 11:40:19 988bab9f4d93: Download complete 11:40:19 339a4e72a1f5: Verifying Checksum 11:40:19 339a4e72a1f5: Download complete 11:40:19 eaf3925da568: Verifying Checksum 11:40:19 eaf3925da568: Download complete 11:40:19 1469e6f7b9e6: Verifying Checksum 11:40:19 1469e6f7b9e6: Download complete 11:40:19 bde34c3a00c8: Download complete 11:40:19 b352a97aabf1: Verifying Checksum 11:40:19 b352a97aabf1: Download complete 11:40:19 4872d77fe225: Verifying Checksum 11:40:19 4872d77fe225: Download complete 11:40:19 5851b861e8e6: Download complete 11:40:19 b85a868b505f: Verifying Checksum 11:40:19 b85a868b505f: Download complete 11:40:20 bab4dde63d76: Verifying Checksum 11:40:20 bab4dde63d76: Download complete 11:40:20 b85a868b505f: Pull complete 11:40:20 e2be974225ed: Pull complete 11:40:21 339a4e72a1f5: Pull complete 11:40:21 988bab9f4d93: Pull complete 11:40:21 1469e6f7b9e6: Pull complete 11:40:21 eaf3925da568: Pull complete 11:40:23 bab4dde63d76: Pull complete 11:40:23 bde34c3a00c8: Pull complete 11:40:23 b352a97aabf1: Pull complete 11:40:23 4872d77fe225: Pull complete 11:40:23 5851b861e8e6: Pull complete 11:40:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:40:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:40:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:40:24 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 11:40:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-466 -v /w/workspace/foundry_device-virtual-go_PR-466:/w/workspace/foundry_device-virtual-go_PR-466:rw,z -v /w/workspace/foundry_device-virtual-go_PR-466@tmp:/w/workspace/foundry_device-virtual-go_PR-466@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:40:27 $ docker top 10afd9b5ff0f787b9b830b0efeace08e0533a933e1a5abf72c424ddb6b4b079b -eo pid,comm 11:40:27 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:40:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:40:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:40:27 [ssh-agent] Looking for ssh-agent implementation... 11:40:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:40:27 $ docker exec 10afd9b5ff0f787b9b830b0efeace08e0533a933e1a5abf72c424ddb6b4b079b ssh-agent 11:40:27 SSH_AUTH_SOCK=/tmp/ssh-oveUm9lK0hBa/agent.32 11:40:27 SSH_AGENT_PID=39 11:40:27 Running ssh-add (command line suppressed) 11:40:27 Identity added: /w/workspace/foundry_device-virtual-go_PR-466@tmp/private_key_3853647721175350720.key (/w/workspace/foundry_device-virtual-go_PR-466@tmp/private_key_3853647721175350720.key) 11:40:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:40:28 + git tag --points-at HEAD [Pipeline] } 11:40:28 $ docker exec --env ******** --env ******** 10afd9b5ff0f787b9b830b0efeace08e0533a933e1a5abf72c424ddb6b4b079b ssh-agent -k 11:40:28 unset SSH_AUTH_SOCK; 11:40:28 unset SSH_AGENT_PID; 11:40:28 echo Agent pid 39 killed; 11:40:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:40:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:40:28 [ssh-agent] Looking for ssh-agent implementation... 11:40:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:40:28 $ docker exec 10afd9b5ff0f787b9b830b0efeace08e0533a933e1a5abf72c424ddb6b4b079b ssh-agent 11:40:28 SSH_AUTH_SOCK=/tmp/ssh-3rVCrXZivPRt/agent.72 11:40:28 SSH_AGENT_PID=78 11:40:28 Running ssh-add (command line suppressed) 11:40:28 Identity added: /w/workspace/foundry_device-virtual-go_PR-466@tmp/private_key_2123036839284186641.key (/w/workspace/foundry_device-virtual-go_PR-466@tmp/private_key_2123036839284186641.key) 11:40:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:40:29 + git semver init 11:40:29 2024-03-21 11:40:29,279 [run_init] DEBUG init version:0.0.0 force:False 11:40:29 2024-03-21 11:40:29,280 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-466/.semver 11:40:29 2024-03-21 11:40:29,280 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-466/.semver 11:40:29 2024-03-21 11:40:29,280 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-466/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-466, universal_newlines=False, shell=None, istream=None) 11:40:30 2024-03-21 11:40:30,643 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-466/.git/info/exclude 11:40:30 2024-03-21 11:40:30,644 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-466/.semver/PR-466 with force:False 11:40:30 2024-03-21 11:40:30,644 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-466/.semver/PR-466 11:40:30 2024-03-21 11:40:30,648 [execute] INFO git cat-file --batch-check 11:40:30 2024-03-21 11:40:30,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-466/.semver, universal_newlines=False, shell=None, istream=) 11:40:30 2024-03-21 11:40:30,654 [execute] INFO git cat-file --batch 11:40:30 2024-03-21 11:40:30,654 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-466/.semver, universal_newlines=False, shell=None, istream=) 11:40:30 2024-03-21 11:40:30,659 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-466/.semver/PR-466 11:40:30 0.0.0 [Pipeline] } 11:40:30 $ docker exec --env ******** --env ******** 10afd9b5ff0f787b9b830b0efeace08e0533a933e1a5abf72c424ddb6b4b079b ssh-agent -k 11:40:30 unset SSH_AUTH_SOCK; 11:40:30 unset SSH_AGENT_PID; 11:40:30 echo Agent pid 78 killed; 11:40:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:40:31 + git semver [Pipeline] } 11:40:31 $ docker stop --time=1 10afd9b5ff0f787b9b830b0efeace08e0533a933e1a5abf72c424ddb6b4b079b 11:40:33 $ docker rm -f --volumes 10afd9b5ff0f787b9b830b0efeace08e0533a933e1a5abf72c424ddb6b4b079b [Pipeline] // withDockerContainer [Pipeline] sh 11:40:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:40:34 Stashed 1 file(s) [Pipeline] echo 11:40:34 [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:40:34 provisioning config files... 11:40:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-466@tmp/config16441425509445467351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:40:35 ---> ****-login.sh 11:40:35 nexus3.edgexfoundry.org:10001 11:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:35 Configure a credential helper to remove this warning. See 11:40:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:35 11:40:35 Login Succeeded 11:40:35 nexus3.edgexfoundry.org:10002 11:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:35 Configure a credential helper to remove this warning. See 11:40:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:35 11:40:35 Login Succeeded 11:40:35 nexus3.edgexfoundry.org:10003 11:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:35 Configure a credential helper to remove this warning. See 11:40:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:35 11:40:35 Login Succeeded 11:40:35 nexus3.edgexfoundry.org:10004 11:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:35 Configure a credential helper to remove this warning. See 11:40:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:35 11:40:35 Login Succeeded 11:40:35 ****.io 11:40:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:40:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:40:35 Configure a credential helper to remove this warning. See 11:40:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:40:35 11:40:35 Login Succeeded 11:40:35 ---> ****-login.sh ends [Pipeline] } 11:40:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:40:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:40:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:40:36 ========================================================= 11:40:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:40:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:40:36 + 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:40:36 Sending build context to Docker daemon 31.8MB 11:40:36 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:40:36 Step 2/12 : FROM ${BASE} AS builder 11:40:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:40:36 7264a8db6415: Pulling fs layer 11:40:36 c4d48a809fc2: Pulling fs layer 11:40:36 4f1c88b9dad5: Pulling fs layer 11:40:36 ad3a456e5733: Pulling fs layer 11:40:36 69c7f0334f64: Pulling fs layer 11:40:36 1f1c1a5573a3: Pulling fs layer 11:40:36 ce7588e14bc9: Pulling fs layer 11:40:36 b5e4710f87ac: Pulling fs layer 11:40:36 69c7f0334f64: Waiting 11:40:36 1f1c1a5573a3: Waiting 11:40:36 ce7588e14bc9: Waiting 11:40:36 b5e4710f87ac: Waiting 11:40:36 ad3a456e5733: Waiting 11:40:36 c4d48a809fc2: Verifying Checksum 11:40:36 c4d48a809fc2: Download complete 11:40:36 ad3a456e5733: Verifying Checksum 11:40:36 ad3a456e5733: Download complete 11:40:36 69c7f0334f64: Verifying Checksum 11:40:36 69c7f0334f64: Download complete 11:40:36 7264a8db6415: Verifying Checksum 11:40:36 7264a8db6415: Download complete 11:40:36 1f1c1a5573a3: Verifying Checksum 11:40:36 1f1c1a5573a3: Download complete 11:40:37 7264a8db6415: Pull complete 11:40:37 c4d48a809fc2: Pull complete 11:40:37 b5e4710f87ac: Verifying Checksum 11:40:37 b5e4710f87ac: Download complete 11:40:37 4f1c88b9dad5: Verifying Checksum 11:40:37 4f1c88b9dad5: Download complete 11:40:37 ce7588e14bc9: Verifying Checksum 11:40:37 ce7588e14bc9: Download complete 11:40:41 4f1c88b9dad5: Pull complete 11:40:41 ad3a456e5733: Pull complete 11:40:41 69c7f0334f64: Pull complete 11:40:41 1f1c1a5573a3: Pull complete 11:40:43 ce7588e14bc9: Pull complete 11:40:44 b5e4710f87ac: Pull complete 11:40:44 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 11:40:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:40:44 ---> 88b5674ff536 11:40:44 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:40:49 Still waiting to schedule task 11:40:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:40:50 ---> Running in 2676a943ba4b 11:40:50 Removing intermediate container 2676a943ba4b 11:40:50 ---> aa9e86b35f9e 11:40:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:40:50 ---> Running in 7002a5278a05 11:40:50 Removing intermediate container 7002a5278a05 11:40:50 ---> 62e385a07906 11:40:50 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:40:50 ---> Running in 427f90e3ffb5 11:40:50 Removing intermediate container 427f90e3ffb5 11:40:50 ---> 40b923acac24 11:40:50 Step 6/12 : WORKDIR /device-virtual-go 11:40:50 ---> Running in 9fb28d9f264a 11:40:50 Removing intermediate container 9fb28d9f264a 11:40:50 ---> 6571ff3d2364 11:40:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:40:50 ---> Running in 87af181f04c2 11:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:40:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:40:50 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:40:50 (2/4) Installing libedit (20221030.3.1-r1) 11:40:50 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:40:50 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:40:50 Executing busybox-1.36.1-r5.trigger 11:40:50 OK: 268 MiB in 56 packages 11:40:51 Removing intermediate container 87af181f04c2 11:40:51 ---> c9030a91f25d 11:40:51 Step 8/12 : COPY go.mod vendor* ./ 11:40:51 ---> d933ef6c6d45 11:40:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:40:51 ---> Running in 952ebc31c702 11:41:59 Removing intermediate container 952ebc31c702 11:41:59 ---> 8aa47787e576 11:41:59 Step 10/12 : COPY . . 11:41:59 ---> 650ef6086866 11:41:59 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:41:59 ---> Running in 891e34be3613 11:41:59 Removing intermediate container 891e34be3613 11:41:59 ---> 8b15c1d3ce77 11:41:59 Step 12/12 : RUN $MAKE 11:41:59 ---> Running in 796b2ba9914d 11:41:59 noop 11:41:59 Removing intermediate container 796b2ba9914d 11:41:59 ---> 6f3365739346 11:41:59 Successfully built 6f3365739346 11:41:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:59 + docker inspect -f . ci-base-image-x86_64 11:41:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:41:59 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 11:41:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-466 -v /w/workspace/foundry_device-virtual-go_PR-466:/w/workspace/foundry_device-virtual-go_PR-466:rw,z -v /w/workspace/foundry_device-virtual-go_PR-466@tmp:/w/workspace/foundry_device-virtual-go_PR-466@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-x86_64 cat 11:42:00 $ docker top c2eb6b0fc81b952fedfdce55843f8e08c5ec7c6858f3dae65167a0a7a67679f9 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:00 + go version 11:42:00 go version go1.21.0 linux/amd64 [Pipeline] } 11:42:00 $ docker stop --time=1 c2eb6b0fc81b952fedfdce55843f8e08c5ec7c6858f3dae65167a0a7a67679f9 11:42:02 $ docker rm -f --volumes c2eb6b0fc81b952fedfdce55843f8e08c5ec7c6858f3dae65167a0a7a67679f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:02 + docker inspect -f . ci-base-image-x86_64 11:42:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:03 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 11:42:03 $ 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-466 -v /w/workspace/foundry_device-virtual-go_PR-466:/w/workspace/foundry_device-virtual-go_PR-466:rw,z -v /w/workspace/foundry_device-virtual-go_PR-466@tmp:/w/workspace/foundry_device-virtual-go_PR-466@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-x86_64 cat 11:42:03 $ docker top 8ecbf55a76a0191a916e90c5943df284c394bded37cbf58bc31d0c3b29fc08ca -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:03 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-466 [Pipeline] fileExists [Pipeline] sh 11:42:04 + make test 11:42:04 go test ./... -coverprofile=coverage.out 11:42:06 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:42:21 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:42:21 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.016s coverage: 58.6% of statements 11:42:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-558 in /w/workspace/foundry_device-virtual-go_PR-466 [Pipeline] { [Pipeline] ws 11:42:23 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:42:23 The recommended git tool is: git 11:42:28 using credential edgex-jenkins-ssh 11:42:28 Cloning the remote Git repository 11:42:28 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:42:28 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:42:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:42:29 > git --version # timeout=10 11:42:29 > git --version # 'git version 2.25.1' 11:42:29 using GIT_SSH to set credentials SSH Credentials for GitHub 11:42:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:42:31 go vet ./... 11:42:31 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:42:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:42:32 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:42:33 Merging remotes/origin/main commit df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 into PR head commit e32178465052c5ce0d68229f73b84986c7692132 11:42:33 Merge succeeded, producing e32178465052c5ce0d68229f73b84986c7692132 11:42:33 Checking out Revision e32178465052c5ce0d68229f73b84986c7692132 (PR-466) 11:42:33 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:42:32 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:42:32 using GIT_SSH to set credentials SSH Credentials for GitHub 11:42:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/466/head:refs/remotes/origin/PR-466 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:42:33 > git config core.sparsecheckout # timeout=10 11:42:33 > git checkout -f e32178465052c5ce0d68229f73b84986c7692132 # timeout=10 11:42:33 > git remote # timeout=10 11:42:33 > git config --get remote.origin.url # timeout=10 11:42:33 using GIT_SSH to set credentials SSH Credentials for GitHub 11:42:33 > git merge df5aa1d7f6fffdd9d81c4747e3b6b7dceeb93db2 # timeout=10 11:42:33 > git rev-parse HEAD^{commit} # timeout=10 11:42:33 > git config core.sparsecheckout # timeout=10 11:42:33 > git checkout -f e32178465052c5ce0d68229f73b84986c7692132 # timeout=10 11:42:34 > git --version # timeout=10 11:42:34 > git --version # 'git version 2.25.1' 11:42:34 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 11:42:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:42:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:42:35 ./bin/test-attribution-txt.sh 11:42:35 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:42:35 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:42:35 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:42:35 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:42:35 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:42:35 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:42:35 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:42:35 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:42:35 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:42:35 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 11:42:35 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:42:35 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:42:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:42:35 $ docker stop --time=1 8ecbf55a76a0191a916e90c5943df284c394bded37cbf58bc31d0c3b29fc08ca 11:42:42 $ docker rm -f --volumes 8ecbf55a76a0191a916e90c5943df284c394bded37cbf58bc31d0c3b29fc08ca [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 11:42:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash 11:42:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 11:42:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:42:44 % Total % Received % Xferd Average Speed Time Time Time Current 11:42:44 Dload Upload Total Spent Left Speed 11:42:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 113k 0 --:--:-- --:--:-- --:--:-- 113k [Pipeline] sh [Pipeline] sh 11:42:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:42:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:42:44 + sudo tee /etc/docker/daemon.new 11:42:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:42:44 { 11:42:44 "registry-mirrors": [ 11:42:44 "https://nexus3.edgexfoundry.org:10001" 11:42:44 ], 11:42:44 "bip": "10.250.0.254/24", 11:42:44 "hosts": [ 11:42:44 "tcp://0.0.0.0:5555", 11:42:44 "unix:///var/run/docker.sock" 11:42:44 ], 11:42:44 "mtu": 1458, 11:42:44 "selinux-enabled": true, 11:42:44 "seccomp-profile": "/etc/docker/seccomp.json" 11:42:44 } [Pipeline] sh 11:42:45 + ls -al . 11:42:45 total 268 11:42:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 11:42 . 11:42:45 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 11:40 .. 11:42:45 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 11:42 .git 11:42:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 11:40 .github 11:42:45 -rw-rw-r-- 1 jenkins jenkins 272 Mar 21 11:40 .gitignore 11:42:45 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 11:40 .golangci.yml 11:42:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 11:40 .semver 11:42:45 -rw-rw-r-- 1 jenkins jenkins 9708 Mar 21 11:40 Attribution.txt 11:42:45 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 21 11:40 CHANGELOG.md 11:42:45 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 21 11:40 Dockerfile 11:42:45 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 11:40 GOVERNANCE.md 11:42:45 -rw-rw-r-- 1 jenkins jenkins 660 Mar 21 11:40 Jenkinsfile 11:42:45 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 11:40 LICENSE 11:42:45 -rw-rw-r-- 1 jenkins jenkins 1953 Mar 21 11:40 Makefile 11:42:45 -rw-rw-r-- 1 jenkins jenkins 623 Mar 21 11:40 OWNERS.md 11:42:45 -rw-rw-r-- 1 jenkins jenkins 4103 Mar 21 11:40 README.md 11:42:45 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 11:40 VERSION 11:42:45 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 11:40 bin 11:42:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 11:40 cmd 11:42:45 -rw-r--r-- 1 jenkins jenkins 43063 Mar 21 11:42 coverage.out 11:42:45 -rw-rw-r-- 1 jenkins jenkins 6985 Mar 21 11:40 go.mod 11:42:45 -rw-rw-r-- 1 jenkins jenkins 101177 Mar 21 11:40 go.sum 11:42:45 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 11:40 internal 11:42:45 -rw-rw-r-- 1 jenkins jenkins 235 Mar 21 11:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:42:45 + 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=e32178465052c5ce0d68229f73b84986c7692132 --label arch=amd64 --label version=0.0.0 . 11:42:45 Sending build context to Docker daemon 31.84MB 11:42:45 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:42:45 Step 2/26 : FROM ${BASE} AS builder 11:42:45 ---> 6f3365739346 11:42:45 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:42:45 + sudo service docker restart 11:42:46 ---> Running in dfbe002e755e 11:42:47 Removing intermediate container dfbe002e755e 11:42:47 ---> 89c647e5c16a 11:42:47 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:42:47 ---> Running in 7d77c6c8fc25 11:42:47 Removing intermediate container 7d77c6c8fc25 11:42:47 ---> 0d438520a6ec 11:42:47 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:42:48 ---> Running in 9e4e2de9e421 11:42:48 Removing intermediate container 9e4e2de9e421 11:42:48 ---> 3b62dd1b2893 11:42:48 Step 6/26 : WORKDIR /device-virtual-go 11:42:49 ---> Running in 7462d7dd00f0 11:42:49 Removing intermediate container 7462d7dd00f0 11:42:49 ---> d24c734c5ea5 11:42:49 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:42:50 ---> Running in 9d7b643d05e0 11:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:42:51 OK: 268 MiB in 56 packages 11:42:51 Removing intermediate container 9d7b643d05e0 11:42:51 ---> d99ce8e71bc1 11:42:51 Step 8/26 : COPY go.mod vendor* ./ 11:42:51 ---> 9be847b3628b 11:42:51 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:42:51 ---> Running in dd61f7bffd6d 11:42:52 Removing intermediate container dd61f7bffd6d 11:42:52 ---> 195a7faa2e02 11:42:52 Step 10/26 : COPY . . 11:42:53 ---> 24063c206c51 11:42:53 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:42:53 ---> Running in 4bc52745244c 11:42:53 Removing intermediate container 4bc52745244c 11:42:53 ---> dd1641cd029c 11:42:53 Step 12/26 : RUN $MAKE 11:42:53 ---> Running in baaf4898dc50 11:42: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.12" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:43:03 provisioning config files... 11:43:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config10378361884209409835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:04 ---> ****-login.sh 11:43:04 nexus3.edgexfoundry.org:10001 11:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:05 Configure a credential helper to remove this warning. See 11:43:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:05 11:43:05 Login Succeeded 11:43:05 nexus3.edgexfoundry.org:10002 11:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:05 Configure a credential helper to remove this warning. See 11:43:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:05 11:43:05 Login Succeeded 11:43:05 nexus3.edgexfoundry.org:10003 11:43:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:05 Configure a credential helper to remove this warning. See 11:43:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:05 11:43:05 Login Succeeded 11:43:05 nexus3.edgexfoundry.org:10004 11:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:06 Configure a credential helper to remove this warning. See 11:43:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:06 11:43:06 Login Succeeded 11:43:06 ****.io 11:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:43:06 Configure a credential helper to remove this warning. See 11:43:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:43:06 11:43:06 Login Succeeded 11:43:06 ---> ****-login.sh ends [Pipeline] } 11:43:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:43:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:43:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 11:43:07 ========================================================= 11:43:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:43:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:07 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:43:08 Sending build context to Docker daemon 16.07MB 11:43:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:43:08 Step 2/12 : FROM ${BASE} AS builder 11:43:08 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:43:08 9fda8d8052c6: Pulling fs layer 11:43:08 5d54e960e981: Pulling fs layer 11:43:08 c4a7e357bf2a: Pulling fs layer 11:43:08 f0e02332f6b5: Pulling fs layer 11:43:08 872ee5b61b7b: Pulling fs layer 11:43:08 0c6a40ed1a82: Pulling fs layer 11:43:08 94ae7d8d031c: Pulling fs layer 11:43:08 872ee5b61b7b: Waiting 11:43:08 0c6a40ed1a82: Waiting 11:43:08 94ae7d8d031c: Waiting 11:43:08 f0e02332f6b5: Waiting 11:43:08 5d54e960e981: Verifying Checksum 11:43:08 5d54e960e981: Download complete 11:43:08 f0e02332f6b5: Verifying Checksum 11:43:08 f0e02332f6b5: Download complete 11:43:08 872ee5b61b7b: Verifying Checksum 11:43:08 872ee5b61b7b: Download complete 11:43:08 9fda8d8052c6: Verifying Checksum 11:43:08 9fda8d8052c6: Download complete 11:43:08 94ae7d8d031c: Verifying Checksum 11:43:08 94ae7d8d031c: Download complete 11:43:09 9fda8d8052c6: Pull complete 11:43:10 5d54e960e981: Pull complete 11:43:10 c4a7e357bf2a: Verifying Checksum 11:43:10 c4a7e357bf2a: Download complete 11:43:11 0c6a40ed1a82: Download complete 11:43:20 Removing intermediate container baaf4898dc50 11:43:20 ---> 53c048977afb 11:43:20 Step 13/26 : FROM alpine:3.18 11:43:20 3.18: Pulling from library/alpine 11:43:21 619be1103602: Pulling fs layer 11:43:21 619be1103602: Verifying Checksum 11:43:21 619be1103602: Download complete 11:43:21 619be1103602: Pull complete 11:43:21 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:43:21 Status: Downloaded newer image for alpine:3.18 11:43:21 ---> d3782b16ccc9 11:43:21 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:43:21 ---> Running in a9cec0871574 11:43:21 Removing intermediate container a9cec0871574 11:43:21 ---> 4a0a7d6feca3 11:43:21 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:43:21 ---> Running in 13abb551f5b8 11:43:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:43:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:43:22 (1/1) Installing dumb-init (1.2.5-r2) 11:43:22 Executing busybox-1.36.1-r5.trigger 11:43:22 OK: 7 MiB in 16 packages 11:43:22 Removing intermediate container 13abb551f5b8 11:43:22 ---> d9f5ecbec145 11:43:22 Step 16/26 : RUN apk --no-cache upgrade 11:43:22 ---> Running in 7315bf0a8b86 11:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:43:23 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:43:23 OK: 7 MiB in 16 packages 11:43:23 c4a7e357bf2a: Pull complete 11:43:23 f0e02332f6b5: Pull complete 11:43:23 872ee5b61b7b: Pull complete 11:43:23 Removing intermediate container 7315bf0a8b86 11:43:23 ---> c89faaa1fe1a 11:43:23 Step 17/26 : WORKDIR / 11:43:23 ---> Running in dd2aaac27728 11:43:23 Removing intermediate container dd2aaac27728 11:43:23 ---> 096f0c53ef1a 11:43:23 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:43:23 ---> 1ae17afe30b1 11:43:23 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:43:23 ---> 5592f02cb740 11:43:23 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:43:24 ---> fd95b0aa447d 11:43:24 Step 21/26 : EXPOSE 59900 11:43:24 ---> Running in f402414ce01e 11:43:24 Removing intermediate container f402414ce01e 11:43:24 ---> f8822ed763f0 11:43:24 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:43:24 ---> Running in 6683aac975c7 11:43:24 Removing intermediate container 6683aac975c7 11:43:24 ---> b48759394c37 11:43:24 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:43:24 ---> Running in 568f55964a72 11:43:25 Removing intermediate container 568f55964a72 11:43:25 ---> fb59605c51ba 11:43:25 Step 24/26 : LABEL arch=amd64 11:43:25 ---> Running in e6b5c031ec4d 11:43:25 Removing intermediate container e6b5c031ec4d 11:43:25 ---> 52e0c6d52a04 11:43:25 Step 25/26 : LABEL git_sha=e32178465052c5ce0d68229f73b84986c7692132 11:43:25 ---> Running in 342ff1ef72e3 11:43:25 Removing intermediate container 342ff1ef72e3 11:43:25 ---> e018a1d2fb4e 11:43:25 Step 26/26 : LABEL version=0.0.0 11:43:25 ---> Running in 8ce75633e4b5 11:43:25 Removing intermediate container 8ce75633e4b5 11:43:25 ---> 9441963c182c 11:43:25 [Warning] One or more build-args [ARCH] were not consumed 11:43:25 Successfully built 9441963c182c 11:43:25 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:43:26 11:43:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:43:26 latest: Pulling from edgex-lftools-log-publisher 11:43:26 5eb5b503b376: Pulling fs layer 11:43:26 5c69ac0246d0: Pulling fs layer 11:43:26 ec43610c2a17: Pulling fs layer 11:43:26 3a2ae6a8a46f: Pulling fs layer 11:43:26 33b1e0a273af: Pulling fs layer 11:43:26 5d3b04190fa2: Pulling fs layer 11:43:26 2f39f015ded8: Pulling fs layer 11:43:26 33b1e0a273af: Waiting 11:43:26 5d3b04190fa2: Waiting 11:43:26 2f39f015ded8: Waiting 11:43:26 3a2ae6a8a46f: Waiting 11:43:26 5c69ac0246d0: Verifying Checksum 11:43:26 5c69ac0246d0: Download complete 11:43:26 3a2ae6a8a46f: Verifying Checksum 11:43:26 3a2ae6a8a46f: Download complete 11:43:26 33b1e0a273af: Verifying Checksum 11:43:26 33b1e0a273af: Download complete 11:43:26 5d3b04190fa2: Verifying Checksum 11:43:26 5d3b04190fa2: Download complete 11:43:26 ec43610c2a17: Verifying Checksum 11:43:26 ec43610c2a17: Download complete 11:43:26 5eb5b503b376: Verifying Checksum 11:43:26 5eb5b503b376: Download complete 11:43:27 2f39f015ded8: Download complete 11:43:28 5eb5b503b376: Pull complete 11:43:28 5c69ac0246d0: Pull complete 11:43:28 ec43610c2a17: Pull complete 11:43:28 3a2ae6a8a46f: Pull complete 11:43:29 33b1e0a273af: Pull complete 11:43:29 5d3b04190fa2: Pull complete 11:43:31 0c6a40ed1a82: Pull complete 11:43:32 94ae7d8d031c: Pull complete 11:43:32 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 11:43:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:43:32 ---> 86de565de09d 11:43:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:43:33 2f39f015ded8: Pull complete 11:43:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:43:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:33 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 11:43:33 $ 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-466 -v /w/workspace/foundry_device-virtual-go_PR-466:/w/workspace/foundry_device-virtual-go_PR-466:rw,z -v /w/workspace/foundry_device-virtual-go_PR-466@tmp:/w/workspace/foundry_device-virtual-go_PR-466@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:43:34 ---> Running in 16aae060ce4d 11:43:34 Removing intermediate container 16aae060ce4d 11:43:34 ---> 077ca8b3c67a 11:43:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:43:34 ---> Running in ae353c040d69 11:43:35 Removing intermediate container ae353c040d69 11:43:35 ---> ceec32ef4d1c 11:43:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:43:35 ---> Running in dc5c90f28dc4 11:43:35 Removing intermediate container dc5c90f28dc4 11:43:35 ---> d3864c7fbc12 11:43:35 Step 6/12 : WORKDIR /device-virtual-go 11:43:35 ---> Running in 2a402a7bfc00 11:43:36 Removing intermediate container 2a402a7bfc00 11:43:36 ---> 5801e1b09503 11:43:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:43:36 ---> Running in 00c340e70575 11:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:43:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:43:38 (1/4) Installing openssh-keygen (9.3_p2-r1) 11:43:38 (2/4) Installing libedit (20221030.3.1-r1) 11:43:38 (3/4) Installing openssh-client-common (9.3_p2-r1) 11:43:38 (4/4) Installing openssh-client-default (9.3_p2-r1) 11:43:38 Executing busybox-1.36.1-r5.trigger 11:43:38 OK: 271 MiB in 56 packages 11:43:39 Removing intermediate container 00c340e70575 11:43:39 ---> 2dd5fad0a31d 11:43:39 Step 8/12 : COPY go.mod vendor* ./ 11:43:40 ---> a529f8d22790 11:43:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:43:40 ---> Running in 561a3a6b5355 11:43:42 $ docker top 9b8a350318e8c48ea0afbc316f7de64f8f97d03956cf53af1df5c945916ef75c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:43 ---> job-cost.sh 11:43:43 lf-activate-venv: SKIPPING 11:43:43 INFO: No Stack... 11:43:43 INFO: Retrieving Pricing Info for: v3-standard-8 11:43:43 INFO: Archiving Costs [Pipeline] sh 11:43:44 + cat /w/workspace/foundry_device-virtual-go_PR-466/archives/cost.csv 11:43:44 + cut -d, -f6 [Pipeline] lock 11:43:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-466-1-stack-cost] 11:43:44 Resource [jenkins-edgexfoundry-device-virtual-go-PR-466-1-stack-cost] did not exist. Created. 11:43:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-466-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:43:44 + echo total: 0.2199999988079071 [Pipeline] stash 11:43:44 Stashed 1 file(s) [Pipeline] } 11:43:44 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-466-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:43:44 $ docker stop --time=1 9b8a350318e8c48ea0afbc316f7de64f8f97d03956cf53af1df5c945916ef75c 11:43:46 $ docker rm -f --volumes 9b8a350318e8c48ea0afbc316f7de64f8f97d03956cf53af1df5c945916ef75c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:45:46 Removing intermediate container 561a3a6b5355 11:45:46 ---> d6fe7a671ea5 11:45:46 Step 10/12 : COPY . . 11:45:46 ---> 9b8a1c4bfd3a 11:45:46 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:45:46 ---> Running in bb760ad4da5d 11:45:46 Removing intermediate container bb760ad4da5d 11:45:46 ---> 4a8321209a74 11:45:46 Step 12/12 : RUN $MAKE 11:45:46 ---> Running in 72c3a6ebadb7 11:45:46 noop 11:45:46 Removing intermediate container 72c3a6ebadb7 11:45:46 ---> c50587dbf684 11:45:46 Successfully built c50587dbf684 11:45:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:47 + docker inspect -f . ci-base-image-arm64 11:45:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:45:47 prd-ubuntu20.04-docker-arm64-4c-16g-558 does not seem to be running inside a container 11:45:47 $ 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:45:48 $ docker top 4f8dfc4175aa600cd6a5a4434603c639b37d4b5842f536a65663e9c9182df733 -eo pid,comm [Pipeline] { [Pipeline] sh 11:45:49 + go version 11:45:49 go version go1.21.0 linux/arm64 [Pipeline] } 11:45:49 $ docker stop --time=1 4f8dfc4175aa600cd6a5a4434603c639b37d4b5842f536a65663e9c9182df733 11:45:51 $ docker rm -f --volumes 4f8dfc4175aa600cd6a5a4434603c639b37d4b5842f536a65663e9c9182df733 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:45:52 + docker inspect -f . ci-base-image-arm64 11:45:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:45:52 prd-ubuntu20.04-docker-arm64-4c-16g-558 does not seem to be running inside a container 11:45:52 $ 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:45:53 $ docker top aae220744a1b0dceec85f9f02916769625c3f4c3dd7c8bee46ac14f1fc63c152 -eo pid,comm [Pipeline] { [Pipeline] sh 11:45:54 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:45:54 + make test 11:45:54 go test ./... -coverprofile=coverage.out 11:46:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:48:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:48:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.069s coverage: 58.4% of statements 11:48:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:48:22 go vet ./... 11:48:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:48:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:48:54 ./bin/test-attribution-txt.sh 11:48:54 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 11:48:54 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 11:48:54 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 11:48:54 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 11:48:54 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 11:48:54 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 11:48:54 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 11:48:54 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 11:48:54 An attribution for golang.org/x/term is missing from Attribution.txt, please add 11:48:54 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 11:48:54 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 11:48:54 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 11:48:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 11:48:54 $ docker stop --time=1 aae220744a1b0dceec85f9f02916769625c3f4c3dd7c8bee46ac14f1fc63c152 11:48:56 $ docker rm -f --volumes aae220744a1b0dceec85f9f02916769625c3f4c3dd7c8bee46ac14f1fc63c152 [Pipeline] // withDockerContainer [Pipeline] sh 11:48:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:48:57 Warning: overwriting stash ‘coverage-report’ 11:48:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:48:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:48:59 + ls -al . 11:48:59 total 264 11:48:59 drwxrwxr-x 7 jenkins jenkins 4096 Mar 21 11:45 . 11:48:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 11:42 .. 11:48:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 11:42 .git 11:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 11:42 .github 11:48:59 -rw-rw-r-- 1 jenkins jenkins 272 Mar 21 11:42 .gitignore 11:48:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 11:42 .golangci.yml 11:48:59 -rw-rw-r-- 1 jenkins jenkins 9708 Mar 21 11:42 Attribution.txt 11:48:59 -rw-rw-r-- 1 jenkins jenkins 15941 Mar 21 11:42 CHANGELOG.md 11:48:59 -rw-rw-r-- 1 jenkins jenkins 1755 Mar 21 11:42 Dockerfile 11:48:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 11:42 GOVERNANCE.md 11:48:59 -rw-rw-r-- 1 jenkins jenkins 660 Mar 21 11:42 Jenkinsfile 11:48:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 11:42 LICENSE 11:48:59 -rw-rw-r-- 1 jenkins jenkins 1953 Mar 21 11:42 Makefile 11:48:59 -rw-rw-r-- 1 jenkins jenkins 623 Mar 21 11:42 OWNERS.md 11:48:59 -rw-rw-r-- 1 jenkins jenkins 4103 Mar 21 11:42 README.md 11:48:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 11:40 VERSION 11:48:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 11:42 bin 11:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 11:42 cmd 11:48:59 -rw-r--r-- 1 jenkins jenkins 43063 Mar 21 11:48 coverage.out 11:48:59 -rw-rw-r-- 1 jenkins jenkins 6985 Mar 21 11:42 go.mod 11:48:59 -rw-rw-r-- 1 jenkins jenkins 101177 Mar 21 11:42 go.sum 11:48:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 11:42 internal 11:48:59 -rw-rw-r-- 1 jenkins jenkins 235 Mar 21 11:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:48:59 + 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=e32178465052c5ce0d68229f73b84986c7692132 --label arch=arm64 --label version=0.0.0 . 11:49:00 Sending build context to Docker daemon 16.12MB 11:49:00 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 11:49:00 Step 2/26 : FROM ${BASE} AS builder 11:49:00 ---> c50587dbf684 11:49:00 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:49:00 ---> Running in 789f09725d56 11:49:00 Removing intermediate container 789f09725d56 11:49:00 ---> 7deb4ac5d901 11:49:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 11:49:00 ---> Running in ddd4a7b578dd 11:49:01 Removing intermediate container ddd4a7b578dd 11:49:01 ---> e75a1b6b4651 11:49:01 Step 5/26 : ARG ADD_BUILD_TAGS="" 11:49:01 ---> Running in c27bda0f1f35 11:49:01 Removing intermediate container c27bda0f1f35 11:49:01 ---> 61fa30abadd3 11:49:01 Step 6/26 : WORKDIR /device-virtual-go 11:49:01 ---> Running in aea87102cd6a 11:49:01 Removing intermediate container aea87102cd6a 11:49:01 ---> cdd6f0b3acaf 11:49:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:49:01 ---> Running in 5c65a27af7f8 11:49:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:49:04 OK: 271 MiB in 56 packages 11:49:05 Removing intermediate container 5c65a27af7f8 11:49:05 ---> 08a0503acc4d 11:49:05 Step 8/26 : COPY go.mod vendor* ./ 11:49:05 ---> 19762acb6373 11:49:05 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:49:05 ---> Running in f33803a86a7e 11:49:08 Removing intermediate container f33803a86a7e 11:49:08 ---> d0f5fdf6d03c 11:49:08 Step 10/26 : COPY . . 11:49:09 ---> 8b188371607d 11:49:09 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:49:09 ---> Running in 85c8f87cac82 11:49:09 Removing intermediate container 85c8f87cac82 11:49:09 ---> 3a3e3ec18a1a 11:49:09 Step 12/26 : RUN $MAKE 11:49:09 ---> Running in 5d3b269a892f 11:49:10 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.12" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:51:47 Removing intermediate container 5d3b269a892f 11:51:47 ---> 76e19932573a 11:51:47 Step 13/26 : FROM alpine:3.18 11:51:47 3.18: Pulling from library/alpine 11:51:47 c6b39de5b339: Pulling fs layer 11:51:47 c6b39de5b339: Download complete 11:51:47 c6b39de5b339: Pull complete 11:51:47 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 11:51:47 Status: Downloaded newer image for alpine:3.18 11:51:47 ---> 33abbf032149 11:51:47 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:51:47 ---> Running in 77b4099f7bdd 11:51:47 Removing intermediate container 77b4099f7bdd 11:51:47 ---> 514fea444a7c 11:51:47 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:51:47 ---> Running in ef0a2ead35d0 11:51:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:51:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:51:47 (1/1) Installing dumb-init (1.2.5-r2) 11:51:47 Executing busybox-1.36.1-r5.trigger 11:51:47 OK: 8 MiB in 16 packages 11:51:47 Removing intermediate container ef0a2ead35d0 11:51:47 ---> 1b1e065212e0 11:51:47 Step 16/26 : RUN apk --no-cache upgrade 11:51:47 ---> Running in f05f94164a36 11:51:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:51:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:51:47 (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 11:51:47 OK: 8 MiB in 16 packages 11:51:47 Removing intermediate container f05f94164a36 11:51:47 ---> 38c31faf5ff2 11:51:47 Step 17/26 : WORKDIR / 11:51:47 ---> Running in f4520ed43c71 11:51:47 Removing intermediate container f4520ed43c71 11:51:47 ---> d9541f539eff 11:51:47 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:51:47 ---> 49461ac47974 11:51:47 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 11:51:47 ---> ad5e98d25d01 11:51:47 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 11:51:47 ---> 822af8a61c8d 11:51:47 Step 21/26 : EXPOSE 59900 11:51:47 ---> Running in 0915ec8ef637 11:51:47 Removing intermediate container 0915ec8ef637 11:51:47 ---> f822dc5b6434 11:51:47 Step 22/26 : ENTRYPOINT ["/device-virtual"] 11:51:47 ---> Running in d7d1eb94d0a3 11:51:47 Removing intermediate container d7d1eb94d0a3 11:51:47 ---> 099826f5ac66 11:51:47 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:51:47 ---> Running in 8f4f2002f3a3 11:51:47 Removing intermediate container 8f4f2002f3a3 11:51:47 ---> ad7320d3eb30 11:51:47 Step 24/26 : LABEL arch=arm64 11:51:47 ---> Running in d58d86c1d8c5 11:51:47 Removing intermediate container d58d86c1d8c5 11:51:47 ---> c41c83945305 11:51:47 Step 25/26 : LABEL git_sha=e32178465052c5ce0d68229f73b84986c7692132 11:51:47 ---> Running in 27d1cac01da4 11:51:48 Removing intermediate container 27d1cac01da4 11:51:48 ---> 816b50705cff 11:51:48 Step 26/26 : LABEL version=0.0.0 11:51:48 ---> Running in 69f54b649102 11:51:48 Removing intermediate container 69f54b649102 11:51:48 ---> 698a192ca5d2 11:51:48 [Warning] One or more build-args [ARCH] were not consumed 11:51:48 Successfully built 698a192ca5d2 11:51:48 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:49 11:51:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:51:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:51:49 arm64: Pulling from edgex-lftools-log-publisher 11:51:49 8998bd30e6a1: Pulling fs layer 11:51:49 04944245beec: Pulling fs layer 11:51:49 699f458cf7ca: Pulling fs layer 11:51:49 765212b225bb: Pulling fs layer 11:51:49 f23df028b6ca: Pulling fs layer 11:51:49 d65c8cfc05b1: Pulling fs layer 11:51:49 2437ff75d9bd: Pulling fs layer 11:51:49 765212b225bb: Waiting 11:51:49 f23df028b6ca: Waiting 11:51:49 d65c8cfc05b1: Waiting 11:51:49 2437ff75d9bd: Waiting 11:51:49 04944245beec: Verifying Checksum 11:51:49 04944245beec: Download complete 11:51:49 765212b225bb: Download complete 11:51:49 f23df028b6ca: Verifying Checksum 11:51:49 f23df028b6ca: Download complete 11:51:49 d65c8cfc05b1: Download complete 11:51:50 699f458cf7ca: Verifying Checksum 11:51:50 699f458cf7ca: Download complete 11:51:50 8998bd30e6a1: Verifying Checksum 11:51:50 8998bd30e6a1: Download complete 11:51:53 2437ff75d9bd: Verifying Checksum 11:51:53 2437ff75d9bd: Download complete 11:51:55 8998bd30e6a1: Pull complete 11:51:55 04944245beec: Pull complete 11:51:57 699f458cf7ca: Pull complete 11:51:57 765212b225bb: Pull complete 11:51:58 f23df028b6ca: Pull complete 11:51:58 d65c8cfc05b1: Pull complete 11:52:16 2437ff75d9bd: Pull complete 11:52:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:52:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:52:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:17 prd-ubuntu20.04-docker-arm64-4c-16g-558 does not seem to be running inside a container 11:52:17 $ 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:52:19 $ docker top 2af4c865c8facd73a6d2eb9ff2987ae558f6590f8bfd8475f6f6959508bd41ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:52:20 ---> job-cost.sh 11:52:20 lf-activate-venv: SKIPPING 11:52:20 INFO: No Stack... 11:52:20 INFO: Retrieving Pricing Info for: v3-standard-4 11:52:21 INFO: Archiving Costs [Pipeline] sh 11:52:22 + cut -d, -f6 11:52:22 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 11:52:22 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-466-1-stack-cost] 11:52:22 Resource [jenkins-edgexfoundry-device-virtual-go-PR-466-1-stack-cost] did not exist. Created. 11:52:22 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-466-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:52:23 /w/workspace/device-virtual-go/1@tmp/durable-4bc65372/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:52:23 + echo total: 0.10999999940395355 [Pipeline] stash 11:52:23 Warning: overwriting stash ‘stack-cost’ 11:52:23 Stashed 1 file(s) [Pipeline] } 11:52:23 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-466-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:52:23 $ docker stop --time=1 2af4c865c8facd73a6d2eb9ff2987ae558f6590f8bfd8475f6f6959508bd41ca 11:52:25 $ docker rm -f --volumes 2af4c865c8facd73a6d2eb9ff2987ae558f6590f8bfd8475f6f6959508bd41ca [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:52:26 provisioning config files... 11:52:26 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-466@tmp/config3327743246516047045tmp [Pipeline] { [Pipeline] sh 11:52:26 + set +x 11:52:26 + curl -s https://codecov.io/bash 11:52:26 + bash -s -- 11:52:26 11:52:26 _____ _ 11:52:26 / ____| | | 11:52:26 | | ___ __| | ___ ___ _____ __ 11:52:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:52:26 | |___| (_) | (_| | __/ (_| (_) \ V / 11:52:26 \_____\___/ \__,_|\___|\___\___/ \_/ 11:52:26 Bash-1.0.6 11:52:26 11:52:26 11:52:26 ==> git version 2.25.1 found 11:52:26 ==> 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:52:26 Release-Date: 2020-01-08 11:52:26 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:52:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:52:26 ==> Jenkins CI detected. 11:52:26 current dir:  /w/workspace/foundry_device-virtual-go_PR-466 11:52:26 project root: . 11:52:26 --> token set from env 11:52:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:52:26 ==> Running gcov in . (disable via -X gcov) 11:52:27 ==> Python coveragepy not found 11:52:27 ==> Searching for coverage reports in: 11:52:27 + . 11:52:27 -> Found 1 reports 11:52:27 ==> Detecting git/mercurial file structure 11:52:27 ==> Reading reports 11:52:27 + ./coverage.out bytes=43063 11:52:27 ==> Appending adjustments 11:52:27 https://docs.codecov.io/docs/fixing-reports 11:52:27 + Found adjustments 11:52:27 ==> Gzipping contents 11:52:27 8.0K /tmp/codecov.4AqVMH.gz 11:52:27 ==> Uploading reports 11:52:27 url: https://codecov.io 11:52:27 query: branch=PR-466&commit=e32178465052c5ce0d68229f73b84986c7692132&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-466%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=466&job=&cmd_args= 11:52:27 -> Pinging Codecov 11:52:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-466&commit=e32178465052c5ce0d68229f73b84986c7692132&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-466%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=466&job=&cmd_args= 11:52:27 -> Uploading to 11:52:27 https://storage.googleapis.com/codecov/v4/raw/2024-03-21/5E52B4B073DB2E39498172D8E973AA87/e32178465052c5ce0d68229f73b84986c7692132/1764bb03-e3e3-4c3a-a7bc-98eb9e76206f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T115227Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56b50277602c2fd63c2ca9477fdaa83202e15a1f51d66fb3ee4b698c59e05a42 11:52:27 % Total % Received % Xferd Average Speed Time Time Time Current 11:52:27 Dload Upload Total Spent Left Speed 11:52:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 24500 --:--:-- --:--:-- --:--:-- 24380 100 4998 0 0 100 4998 0 20483 --:--:-- --:--:-- --:--:-- 20400 11:52:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/e32178465052c5ce0d68229f73b84986c7692132 [Pipeline] } 11:52:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:52:29 + [ -d /w/workspace/foundry_device-virtual-go_PR-466/archives ] 11:52:29 + ls -al /w/workspace/foundry_device-virtual-go_PR-466/archives 11:52:29 total 16 11:52:29 drwxr-xr-x 3 root root 4096 Mar 21 11:43 . 11:52:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 11:43 .. 11:52:29 drwxr-xr-x 2 root root 4096 Mar 21 11:43 cost 11:52:29 -rw-r--r-- 1 root root 89 Mar 21 11:43 cost.csv 11:52:29 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-466/archives 11:52:29 + ls -al /w/workspace/foundry_device-virtual-go_PR-466/archives 11:52:29 total 16 11:52:29 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 11:43 . 11:52:29 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 11:43 .. 11:52:29 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 11:43 cost 11:52:29 -rw-r--r-- 1 jenkins jenkins 89 Mar 21 11:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:52:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:52:30 ---> package-listing.sh 11:52:30 ++ facter osfamily 11:52:30 ++ tr '[:upper:]' '[:lower:]' 11:52:31 + OS_FAMILY=debian 11:52:31 + workspace=/w/workspace/foundry_device-virtual-go_PR-466 11:52:31 + START_PACKAGES=/tmp/packages_start.txt 11:52:31 + END_PACKAGES=/tmp/packages_end.txt 11:52:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:52:31 + PACKAGES=/tmp/packages_start.txt 11:52:31 + '[' /w/workspace/foundry_device-virtual-go_PR-466 ']' 11:52:31 + PACKAGES=/tmp/packages_end.txt 11:52:31 + case "${OS_FAMILY}" in 11:52:31 + dpkg -l 11:52:31 + grep '^ii' 11:52:31 + '[' -f /tmp/packages_start.txt ']' 11:52:31 + '[' -f /tmp/packages_end.txt ']' 11:52:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:52:31 + '[' /w/workspace/foundry_device-virtual-go_PR-466 ']' 11:52:31 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-466/archives/ 11:52:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-466/archives/ [Pipeline] echo 11:52:31 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-466/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:52:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:52:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:52:32 prd-ubuntu20.04-docker-8c-8g-557 does not seem to be running inside a container 11:52:32 $ 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-466/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-466 -v /w/workspace/foundry_device-virtual-go_PR-466:/w/workspace/foundry_device-virtual-go_PR-466:rw,z -v /w/workspace/foundry_device-virtual-go_PR-466@tmp:/w/workspace/foundry_device-virtual-go_PR-466@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:52:32 $ docker top 02c86dda04a588bb02eb26802f335fd1723f5b8fe2fb129004ff2894f7de7dba -eo pid,comm [Pipeline] { [Pipeline] sh 11:52:32 + touch /tmp/pre-build-complete [Pipeline] sh 11:52:33 + mkdir -p /var/log/sysstat [Pipeline] sh 11:52:33 + ls /var/log/sa-host 11:52:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:52:33 provisioning config files... 11:52:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-466@tmp/config18423977247644870209tmp [Pipeline] { [Pipeline] echo 11:52:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:52:34 ---> create-netrc.sh [Pipeline] } 11:52:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:52:34 ---> python-tools-install.sh [Pipeline] echo 11:52:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:52:35 ---> sudo-logs.sh 11:52:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:52:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:52:35 ---> job-cost.sh 11:52:35 lf-activate-venv: SKIPPING 11:52:35 DEBUG: total: 0.2199999988079071 11:52:35 INFO: Retrieving Stack Cost... 11:52:35 INFO: Retrieving Pricing Info for: v3-standard-8 11:52:35 INFO: Archiving Costs [Pipeline] echo 11:52:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:52:36 ---> logs-deploy.sh 11:52:36 lf-activate-venv: SKIPPING 11:52:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-466/1 11:52:36 INFO: archiving workspace using pattern(s): 11:52:37 Archives upload complete. 11:52:37 INFO: archiving logs to Nexus