Pull request #323 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811+e07a2b47d6b01394d573ef881097266a6362f197 (745f198292ea07a931c30674cabd5314ce110939) 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-ssh14748837844691156559.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh7028936909716291198.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-323/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-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16688132680340269217.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-323/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6003171145612320150.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6193949305196595992.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-323/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-323/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16000230653694765733.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-908’ Running on prd-ubuntu20.04-docker-8c-8g-910 in /w/workspace/foundry_device-virtual-go_PR-323 [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-323 # 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 > 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/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e07a2b47d6b01394d573ef881097266a6362f197 into PR head commit 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 Merge succeeded, producing 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 Checking out Revision 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 (PR-323) > git config core.sparsecheckout # timeout=10 > git checkout -f 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # 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 e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:29:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:29:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:29:16 ========================================================= 17:29:16 EdgeX Global Pipelines Version Info 17:29:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:29:17 ------------------- 17:29:17 stable info: 17:29:17 ------------------- 17:29:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:29:17 Message: update stable to v1.0.244 17:29:17 ------------------- 17:29:17 experimental info: 17:29:17 ------------------- 17:29:17 Commited By: **** collab-it+edgex@linuxfoundation.org 17:29:17 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:29:17 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:29:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:29:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:29:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-323 [Pipeline] echo 17:29:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-323 [Pipeline] echo 17:29:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-323 [Pipeline] echo 17:29:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] echo 17:29:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b2ea23 [Pipeline] echo 17:29:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:19 provisioning config files... 17:29:19 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config12345357281968856038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:19 ---> docker-login.sh 17:29:19 nexus3.edgexfoundry.org:10001 17:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:20 Configure a credential helper to remove this warning. See 17:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:20 17:29:20 Login Succeeded 17:29:20 nexus3.edgexfoundry.org:10002 17:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:20 Configure a credential helper to remove this warning. See 17:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:20 17:29:20 Login Succeeded 17:29:20 nexus3.edgexfoundry.org:10003 17:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:20 Configure a credential helper to remove this warning. See 17:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:20 17:29:20 Login Succeeded 17:29:20 nexus3.edgexfoundry.org:10004 17:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:20 Configure a credential helper to remove this warning. See 17:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:20 17:29:20 Login Succeeded 17:29:20 docker.io 17:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:20 Configure a credential helper to remove this warning. See 17:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:20 17:29:20 Login Succeeded 17:29:20 ---> docker-login.sh ends [Pipeline] } 17:29:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:29:21 + git rev-list -1 --merges 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811~1..2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] echo 17:29:21 -----------> git rev-list -1 --merges 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811~1..2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [false] [Pipeline] sh 17:29:21 + git log --format=format:%s -1 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] echo 17:29:21 ========================================================= 17:29:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:29:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:22 + git log --format=format:%s -1 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] echo 17:29:22 [semverPrep] GIT_COMMIT: 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo 17:29:22 [semverPrep] This is not a build commit. [Pipeline] sh 17:29:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:29:22 + grep -v github /etc/ssh/ssh_known_hosts 17:29:22 + [ -e /tmp/ssh_known_hosts ] 17:29:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:29:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:29:22 + sudo tee -a /etc/ssh/ssh_known_hosts 17:29:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:23 17:29:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:23 0.1.4: Pulling from edgex-devops/py-git-semver 17:29:23 b85a868b505f: Pulling fs layer 17:29:23 e2be974225ed: Pulling fs layer 17:29:23 339a4e72a1f5: Pulling fs layer 17:29:23 988bab9f4d93: Pulling fs layer 17:29:23 1469e6f7b9e6: Pulling fs layer 17:29:23 eaf3925da568: Pulling fs layer 17:29:23 bab4dde63d76: Pulling fs layer 17:29:23 bde34c3a00c8: Pulling fs layer 17:29:23 b352a97aabf1: Pulling fs layer 17:29:23 4872d77fe225: Pulling fs layer 17:29:23 5851b861e8e6: Pulling fs layer 17:29:23 bab4dde63d76: Waiting 17:29:23 bde34c3a00c8: Waiting 17:29:23 b352a97aabf1: Waiting 17:29:23 4872d77fe225: Waiting 17:29:23 5851b861e8e6: Waiting 17:29:23 988bab9f4d93: Waiting 17:29:23 1469e6f7b9e6: Waiting 17:29:23 eaf3925da568: Waiting 17:29:23 e2be974225ed: Verifying Checksum 17:29:23 e2be974225ed: Download complete 17:29:23 988bab9f4d93: Verifying Checksum 17:29:23 988bab9f4d93: Download complete 17:29:23 1469e6f7b9e6: Verifying Checksum 17:29:23 1469e6f7b9e6: Download complete 17:29:23 339a4e72a1f5: Verifying Checksum 17:29:23 339a4e72a1f5: Download complete 17:29:23 bde34c3a00c8: Verifying Checksum 17:29:23 bde34c3a00c8: Download complete 17:29:23 b352a97aabf1: Download complete 17:29:23 4872d77fe225: Verifying Checksum 17:29:23 4872d77fe225: Download complete 17:29:23 5851b861e8e6: Verifying Checksum 17:29:23 5851b861e8e6: Download complete 17:29:23 b85a868b505f: Verifying Checksum 17:29:23 b85a868b505f: Download complete 17:29:24 bab4dde63d76: Verifying Checksum 17:29:24 bab4dde63d76: Download complete 17:29:24 b85a868b505f: Pull complete 17:29:25 e2be974225ed: Pull complete 17:29:25 339a4e72a1f5: Pull complete 17:29:25 988bab9f4d93: Pull complete 17:29:26 1469e6f7b9e6: Pull complete 17:29:26 eaf3925da568: Pull complete 17:29:27 bab4dde63d76: Pull complete 17:29:27 bde34c3a00c8: Pull complete 17:29:27 b352a97aabf1: Pull complete 17:29:28 4872d77fe225: Pull complete 17:29:28 5851b861e8e6: Pull complete 17:29:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:29:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:28 prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container 17:29:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:29:29 $ docker top 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f -eo pid,comm 17:29:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:29:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:29:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:29 [ssh-agent] Looking for ssh-agent implementation... 17:29:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:30 $ docker exec 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f ssh-agent 17:29:30 SSH_AUTH_SOCK=/tmp/ssh-wG08EXJTx0TX/agent.31 17:29:30 SSH_AGENT_PID=37 17:29:30 Running ssh-add (command line suppressed) 17:29:30 Identity added: /w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_16389794893426784880.key (/w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_16389794893426784880.key) 17:29:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:30 + git tag --points-at HEAD [Pipeline] } 17:29:30 $ docker exec --env ******** --env ******** 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f ssh-agent -k 17:29:30 unset SSH_AUTH_SOCK; 17:29:30 unset SSH_AGENT_PID; 17:29:30 echo Agent pid 37 killed; 17:29:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:30 [ssh-agent] Looking for ssh-agent implementation... 17:29:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:31 $ docker exec 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f ssh-agent 17:29:31 SSH_AUTH_SOCK=/tmp/ssh-JkH2IjfBVPoh/agent.69 17:29:31 SSH_AGENT_PID=75 17:29:31 Running ssh-add (command line suppressed) 17:29:31 Identity added: /w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_9647434480254910587.key (/w/workspace/foundry_device-virtual-go_PR-323@tmp/private_key_9647434480254910587.key) 17:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:31 + git semver init 17:29:31 2023-01-03 17:29:31,842 [run_init] DEBUG init version:0.0.0 force:False 17:29:31 2023-01-03 17:29:31,843 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-323/.semver 17:29:31 2023-01-03 17:29:31,843 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-323/.semver 17:29:31 2023-01-03 17:29:31,843 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-323/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-323, universal_newlines=False, shell=None, istream=None) 17:29:33 2023-01-03 17:29:32,922 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-323/.git/info/exclude 17:29:33 2023-01-03 17:29:32,923 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 with force:False 17:29:33 2023-01-03 17:29:32,923 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 17:29:33 2023-01-03 17:29:32,927 [execute] INFO git cat-file --batch-check 17:29:33 2023-01-03 17:29:32,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-323/.semver, universal_newlines=False, shell=None, istream=) 17:29:33 2023-01-03 17:29:32,933 [execute] INFO git cat-file --batch 17:29:33 2023-01-03 17:29:32,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-323/.semver, universal_newlines=False, shell=None, istream=) 17:29:33 2023-01-03 17:29:32,938 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-323/.semver/PR-323 17:29:33 0.0.0 [Pipeline] } 17:29:33 $ docker exec --env ******** --env ******** 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f ssh-agent -k 17:29:33 unset SSH_AUTH_SOCK; 17:29:33 unset SSH_AGENT_PID; 17:29:33 echo Agent pid 75 killed; 17:29:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:29:33 + git semver [Pipeline] } 17:29:34 $ docker stop --time=1 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f 17:29:35 $ docker rm -f --volumes 3c5b0463c0eb02b65d815ed8dee898ec175c4298ba805fac6df01c8cd1b9182f [Pipeline] // withDockerContainer [Pipeline] sh 17:29:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:29:36 Stashed 1 file(s) [Pipeline] echo 17:29:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:36 provisioning config files... 17:29:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config3081031591674328264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:37 ---> docker-login.sh 17:29:37 nexus3.edgexfoundry.org:10001 17:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:37 Configure a credential helper to remove this warning. See 17:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:37 17:29:37 Login Succeeded 17:29:37 nexus3.edgexfoundry.org:10002 17:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:37 Configure a credential helper to remove this warning. See 17:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:37 17:29:37 Login Succeeded 17:29:37 nexus3.edgexfoundry.org:10003 17:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:37 Configure a credential helper to remove this warning. See 17:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:37 17:29:37 Login Succeeded 17:29:37 nexus3.edgexfoundry.org:10004 17:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:37 Configure a credential helper to remove this warning. See 17:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:37 17:29:37 Login Succeeded 17:29:37 docker.io 17:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:37 Configure a credential helper to remove this warning. See 17:29:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:37 17:29:37 Login Succeeded 17:29:37 ---> docker-login.sh ends [Pipeline] } 17:29:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:37 ========================================================= 17:29:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:29:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:29:38 Sending build context to Docker daemon 23.37MB 17:29:38 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:29:38 Step 2/12 : FROM ${BASE} AS builder 17:29:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:38 213ec9aee27d: Pulling fs layer 17:29:38 4583459ba037: Pulling fs layer 17:29:38 93c1e223e6f2: Pulling fs layer 17:29:38 53926ce57604: Pulling fs layer 17:29:38 21b2b0c7a3f4: Pulling fs layer 17:29:38 22ff95d597cd: Pulling fs layer 17:29:38 12d6caf4c0d1: Pulling fs layer 17:29:38 96b7cbca73a9: Pulling fs layer 17:29:38 a7acece74701: Pulling fs layer 17:29:38 21b2b0c7a3f4: Waiting 17:29:38 22ff95d597cd: Waiting 17:29:38 12d6caf4c0d1: Waiting 17:29:38 53926ce57604: Waiting 17:29:38 96b7cbca73a9: Waiting 17:29:38 a7acece74701: Waiting 17:29:38 93c1e223e6f2: Verifying Checksum 17:29:38 93c1e223e6f2: Download complete 17:29:38 4583459ba037: Download complete 17:29:38 21b2b0c7a3f4: Verifying Checksum 17:29:38 21b2b0c7a3f4: Download complete 17:29:38 22ff95d597cd: Verifying Checksum 17:29:38 22ff95d597cd: Download complete 17:29:38 213ec9aee27d: Verifying Checksum 17:29:38 213ec9aee27d: Download complete 17:29:38 12d6caf4c0d1: Verifying Checksum 17:29:38 213ec9aee27d: Pull complete 17:29:38 4583459ba037: Pull complete 17:29:38 93c1e223e6f2: Pull complete 17:29:39 a7acece74701: Verifying Checksum 17:29:39 a7acece74701: Download complete 17:29:39 96b7cbca73a9: Verifying Checksum 17:29:39 96b7cbca73a9: Download complete 17:29:39 53926ce57604: Verifying Checksum 17:29:39 53926ce57604: Download complete 17:29:43 53926ce57604: Pull complete 17:29:43 21b2b0c7a3f4: Pull complete 17:29:43 22ff95d597cd: Pull complete 17:29:43 12d6caf4c0d1: Pull complete 17:29:45 96b7cbca73a9: Pull complete 17:29:45 a7acece74701: Pull complete 17:29:45 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:29:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:29:45 ---> db6d94c90886 17:29:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:29:47 ---> Running in 3987ebcbc86a 17:29:47 Removing intermediate container 3987ebcbc86a 17:29:47 ---> 6858ddf301b4 17:29:47 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:29:47 ---> Running in 649de48e005c 17:29:48 Removing intermediate container 649de48e005c 17:29:48 ---> 130a3b740477 17:29:48 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:29:48 ---> Running in cd4ff7332b09 17:29:48 Removing intermediate container cd4ff7332b09 17:29:48 ---> 0a3904b82238 17:29:48 Step 6/12 : WORKDIR /device-virtual-go 17:29:48 ---> Running in 5c4f577c6362 17:29:48 Removing intermediate container 5c4f577c6362 17:29:48 ---> 021bddb434fb 17:29:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:48 ---> Running in 58a663fef809 17:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:29:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:29:49 (2/4) Installing libedit (20210910.3.1-r0) 17:29:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:29:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:29:49 Executing busybox-1.35.0-r17.trigger 17:29:49 OK: 216 MiB in 55 packages 17:29:49 Removing intermediate container 58a663fef809 17:29:49 ---> 9a9df23498a0 17:29:49 Step 8/12 : COPY go.mod vendor* ./ 17:29:49 ---> 2f3e8deb2257 17:29:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:49 ---> Running in 27eaf767dc98 17:29:51 Still waiting to schedule task 17:29:51 ‘prd-ubuntu20.04-docker-arm64-4c-16g-909’ is offline 17:30:08 Removing intermediate container 27eaf767dc98 17:30:08 ---> 523ba324d361 17:30:08 Step 10/12 : COPY . . 17:30:08 ---> bccb2ff057e5 17:30:08 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:08 ---> Running in 467324f7e65e 17:30:08 Removing intermediate container 467324f7e65e 17:30:08 ---> 131e36275807 17:30:08 Step 12/12 : RUN $MAKE 17:30:08 ---> Running in 82f14370a96b 17:30:08 noop 17:30:08 Removing intermediate container 82f14370a96b 17:30:08 ---> c401218d3263 17:30:08 Successfully built c401218d3263 17:30:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:08 + docker inspect -f . ci-base-image-x86_64 17:30:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:08 prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container 17:30:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:09 $ docker top 13eb8eec17e00e696e5b1798e6b6acf99531ed1516f82f4706a55a3d0a825d85 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:09 + go version 17:30:09 go version go1.18.7 linux/amd64 [Pipeline] } 17:30:09 $ docker stop --time=1 13eb8eec17e00e696e5b1798e6b6acf99531ed1516f82f4706a55a3d0a825d85 17:30:10 $ docker rm -f --volumes 13eb8eec17e00e696e5b1798e6b6acf99531ed1516f82f4706a55a3d0a825d85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:11 + docker inspect -f . ci-base-image-x86_64 17:30:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:11 prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container 17:30:11 $ 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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:11 $ docker top b66a53242089826054698a340e71c4d535fc24985e381c897a49028ec521f330 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:12 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-323 [Pipeline] fileExists [Pipeline] sh 17:30:12 + make test 17:30:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:30:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:30:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:30:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 17:30:31 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:30:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:30:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:30:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:30:33 ./bin/test-attribution-txt.sh [Pipeline] echo 17:30:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:30:33 $ docker stop --time=1 b66a53242089826054698a340e71c4d535fc24985e381c897a49028ec521f330 17:30:35 $ docker rm -f --volumes b66a53242089826054698a340e71c4d535fc24985e381c897a49028ec521f330 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:30:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:36 + ls -al . 17:30:36 total 204 17:30:36 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 17:30 . 17:30:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:29 .. 17:30:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:30 .git 17:30:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:29 .github 17:30:36 -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 17:29 .gitignore 17:30:36 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 17:29 .golangci.yml 17:30:36 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:29 .semver 17:30:36 -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 17:29 Attribution.txt 17:30:36 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 17:29 CHANGELOG.md 17:30:36 -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 17:29 Dockerfile 17:30:36 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:29 GOVERNANCE.md 17:30:36 -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 17:29 Jenkinsfile 17:30:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 17:29 LICENSE 17:30:36 -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 17:29 Makefile 17:30:36 -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 17:29 OWNERS.md 17:30:36 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 17:29 README.md 17:30:36 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:29 VERSION 17:30:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:29 bin 17:30:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:29 cmd 17:30:36 -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 17:30 coverage.out 17:30:36 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 17:29 go.mod 17:30:36 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 17:29 go.sum 17:30:36 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:29 internal 17:30:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:29 snap 17:30:36 -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:37 + 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=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 --label arch=amd64 --label version=0.0.0 . 17:30:37 Sending build context to Docker daemon 23.42MB 17:30:37 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:30:37 Step 2/25 : FROM ${BASE} AS builder 17:30:37 ---> c401218d3263 17:30:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:30:37 ---> Running in 95232d7fd1a0 17:30:37 Removing intermediate container 95232d7fd1a0 17:30:37 ---> 3e56259225e6 17:30:37 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:30:37 ---> Running in 73014cca163d 17:30:37 Removing intermediate container 73014cca163d 17:30:37 ---> 86cf35b58754 17:30:37 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:30:37 ---> Running in 8357571307a6 17:30:37 Removing intermediate container 8357571307a6 17:30:37 ---> 1987ae70863a 17:30:37 Step 6/25 : WORKDIR /device-virtual-go 17:30:37 ---> Running in d8cdea8d0c5a 17:30:37 Removing intermediate container d8cdea8d0c5a 17:30:37 ---> 8cafa94c0a76 17:30:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:37 ---> Running in 21df2a8e14cf 17:30:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:38 OK: 216 MiB in 55 packages 17:30:38 Removing intermediate container 21df2a8e14cf 17:30:38 ---> 1da5b24a674d 17:30:38 Step 8/25 : COPY go.mod vendor* ./ 17:30:38 ---> eba2e925d82c 17:30:38 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:38 ---> Running in 2d78987c53bb 17:30:39 Removing intermediate container 2d78987c53bb 17:30:39 ---> fef096eb954e 17:30:39 Step 10/25 : COPY . . 17:30:39 ---> f32a54468cc0 17:30:39 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:39 ---> Running in a541d6ca3938 17:30:39 Removing intermediate container a541d6ca3938 17:30:39 ---> d11b1f25137e 17:30:39 Step 12/25 : RUN $MAKE 17:30:39 ---> Running in dcac045b1a19 17:30:40 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 17:31:02 Removing intermediate container dcac045b1a19 17:31:02 ---> f30e20e17d91 17:31:02 Step 13/25 : FROM alpine:3.16 17:31:02 3.16: Pulling from library/alpine 17:31:02 ca7dd9ec2225: Pulling fs layer 17:31:02 ca7dd9ec2225: Verifying Checksum 17:31:02 ca7dd9ec2225: Download complete 17:31:02 ca7dd9ec2225: Pull complete 17:31:02 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:31:02 Status: Downloaded newer image for alpine:3.16 17:31:02 ---> bfe296a52501 17:31:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:31:02 ---> Running in 449226de6954 17:31:02 Removing intermediate container 449226de6954 17:31:02 ---> f932ec7eec61 17:31:02 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 17:31:02 ---> Running in 947c0d856d20 17:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:31:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:31:02 (1/6) Installing dumb-init (1.2.5-r1) 17:31:02 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:31:02 (3/6) Installing libsodium (1.0.18-r0) 17:31:02 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:31:02 (5/6) Installing libzmq (4.3.4-r0) 17:31:02 (6/6) Installing zeromq (4.3.4-r0) 17:31:02 Executing busybox-1.35.0-r17.trigger 17:31:02 OK: 8 MiB in 20 packages 17:31:02 Removing intermediate container 947c0d856d20 17:31:02 ---> b03c2fc443d3 17:31:02 Step 16/25 : WORKDIR / 17:31:02 ---> Running in 6c2788fb8d54 17:31:02 Removing intermediate container 6c2788fb8d54 17:31:02 ---> e26d3d5218e4 17:31:02 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:31:02 ---> 86ed7eb010e8 17:31:02 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 17:31:02 ---> 302df8231569 17:31:02 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 17:31:03 ---> 1356837bbd87 17:31:03 Step 20/25 : EXPOSE 59900 17:31:03 ---> Running in c31d55c6fd70 17:31:03 Removing intermediate container c31d55c6fd70 17:31:03 ---> 12dad8e5432a 17:31:03 Step 21/25 : ENTRYPOINT ["/device-virtual"] 17:31:03 ---> Running in 6e4c685cb780 17:31:03 Removing intermediate container 6e4c685cb780 17:31:03 ---> 7fcfad5a71fb 17:31:03 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:31:03 ---> Running in ea96ec77802b 17:31:03 Removing intermediate container ea96ec77802b 17:31:03 ---> 371bdb131a85 17:31:03 Step 23/25 : LABEL arch=amd64 17:31:03 ---> Running in 759462d67e21 17:31:03 Removing intermediate container 759462d67e21 17:31:03 ---> 989aaf756225 17:31:03 Step 24/25 : LABEL git_sha=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 17:31:03 ---> Running in a82e739e4e0b 17:31:03 Removing intermediate container a82e739e4e0b 17:31:03 ---> 9efe6415bb75 17:31:03 Step 25/25 : LABEL version=0.0.0 17:31:03 ---> Running in 7ea9920f0daf 17:31:03 Removing intermediate container 7ea9920f0daf 17:31:03 ---> e0ff2f517c16 17:31:03 [Warning] One or more build-args [ARCH] were not consumed 17:31:03 Successfully built e0ff2f517c16 17:31:03 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 17:31:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:04 17:31:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:05 latest: Pulling from edgex-lftools-log-publisher 17:31:05 5eb5b503b376: Pulling fs layer 17:31:05 5c69ac0246d0: Pulling fs layer 17:31:05 ec43610c2a17: Pulling fs layer 17:31:05 3a2ae6a8a46f: Pulling fs layer 17:31:05 33b1e0a273af: Pulling fs layer 17:31:05 5d3b04190fa2: Pulling fs layer 17:31:05 2f39f015ded8: Pulling fs layer 17:31:05 3a2ae6a8a46f: Waiting 17:31:05 33b1e0a273af: Waiting 17:31:05 2f39f015ded8: Waiting 17:31:05 5d3b04190fa2: Waiting 17:31:05 5c69ac0246d0: Verifying Checksum 17:31:05 5c69ac0246d0: Download complete 17:31:05 3a2ae6a8a46f: Download complete 17:31:05 33b1e0a273af: Verifying Checksum 17:31:05 33b1e0a273af: Download complete 17:31:05 5d3b04190fa2: Verifying Checksum 17:31:05 5d3b04190fa2: Download complete 17:31:05 ec43610c2a17: Verifying Checksum 17:31:05 ec43610c2a17: Download complete 17:31:05 5eb5b503b376: Verifying Checksum 17:31:05 5eb5b503b376: Download complete 17:31:05 2f39f015ded8: Download complete 17:31:06 5eb5b503b376: Pull complete 17:31:06 5c69ac0246d0: Pull complete 17:31:06 ec43610c2a17: Pull complete 17:31:06 3a2ae6a8a46f: Pull complete 17:31:07 33b1e0a273af: Pull complete 17:31:07 5d3b04190fa2: Pull complete 17:31:11 2f39f015ded8: Pull complete 17:31:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:31:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:11 prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container 17:31:11 $ 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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:31:13 $ docker top f16c4a57723b07f59853ff8c328b9e175dda27337f860ab8d21d0157e511b1e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:14 ---> job-cost.sh 17:31:14 lf-activate-venv: SKIPPING 17:31:14 INFO: No Stack... 17:31:14 INFO: Retrieving Pricing Info for: v3-standard-8 17:31:14 INFO: Archiving Costs [Pipeline] sh 17:31:15 + cat /w/workspace/foundry_device-virtual-go_PR-323/archives/cost.csv 17:31:15 + cut -d, -f6 [Pipeline] lock 17:31:15 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] 17:31:15 Resource [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] did not exist. Created. 17:31:15 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:15 + echo total: 0.2199999988079071 [Pipeline] stash 17:31:15 Stashed 1 file(s) [Pipeline] } 17:31:15 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:31:15 $ docker stop --time=1 f16c4a57723b07f59853ff8c328b9e175dda27337f860ab8d21d0157e511b1e6 17:31:17 $ docker rm -f --volumes f16c4a57723b07f59853ff8c328b9e175dda27337f860ab8d21d0157e511b1e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:31:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-911 in /w/workspace/foundry_device-virtual-go_PR-323 [Pipeline] { [Pipeline] ws 17:31:27 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 17:31:27 The recommended git tool is: git 17:31:32 using credential edgex-jenkins-ssh 17:31:32 Cloning the remote Git repository 17:31:32 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 17:31:32 > git init /w/workspace/device-virtual-go/1 # timeout=10 17:31:33 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:31:33 > git --version # timeout=10 17:31:33 > git --version # 'git version 2.25.1' 17:31:33 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:31:35 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:31:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:31:36 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 17:31:36 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 17:31:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/323/head:refs/remotes/origin/PR-323 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:31:36 Merging remotes/origin/main commit e07a2b47d6b01394d573ef881097266a6362f197 into PR head commit 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 17:31:36 Merge succeeded, producing 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 17:31:36 Checking out Revision 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 (PR-323) 17:31:36 > git config core.sparsecheckout # timeout=10 17:31:36 > git checkout -f 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # timeout=10 17:31:36 > git remote # timeout=10 17:31:36 > git config --get remote.origin.url # timeout=10 17:31:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:31:36 > git merge e07a2b47d6b01394d573ef881097266a6362f197 # timeout=10 17:31:36 > git rev-parse HEAD^{commit} # timeout=10 17:31:36 > git config core.sparsecheckout # timeout=10 17:31:36 > git checkout -f 2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 # timeout=10 17:31:40 Commit message: "refactor!: Rename command line flags for the sake of consistency" 17:31:40 > git --version # timeout=10 17:31:40 > git --version # 'git version 2.25.1' 17:31:40 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:31:41 % Total % Received % Xferd Average Speed Time Time Time Current 17:31:41 Dload Upload Total Spent Left Speed 17:31:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 17:31:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:31:42 + sudo tee /etc/docker/daemon.new 17:31:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:31:42 { 17:31:42 "registry-mirrors": [ 17:31:42 "https://nexus3.edgexfoundry.org:10001" 17:31:42 ], 17:31:42 "bip": "10.250.0.254/24", 17:31:42 "hosts": [ 17:31:42 "tcp://0.0.0.0:5555", 17:31:42 "unix:///var/run/docker.sock" 17:31:42 ], 17:31:42 "mtu": 1458, 17:31:42 "selinux-enabled": true, 17:31:42 "seccomp-profile": "/etc/docker/seccomp.json" 17:31:42 } [Pipeline] sh 17:31:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:31:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:01 provisioning config files... 17:32:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1344639220294438857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:02 ---> docker-login.sh 17:32:02 nexus3.edgexfoundry.org:10001 17:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:02 Configure a credential helper to remove this warning. See 17:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:02 17:32:02 Login Succeeded 17:32:02 nexus3.edgexfoundry.org:10002 17:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:02 Configure a credential helper to remove this warning. See 17:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:02 17:32:02 Login Succeeded 17:32:03 nexus3.edgexfoundry.org:10003 17:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:03 Configure a credential helper to remove this warning. See 17:32:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:03 17:32:03 Login Succeeded 17:32:03 nexus3.edgexfoundry.org:10004 17:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:03 Configure a credential helper to remove this warning. See 17:32:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:03 17:32:03 Login Succeeded 17:32:03 docker.io 17:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:04 Configure a credential helper to remove this warning. See 17:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:04 17:32:04 Login Succeeded 17:32:04 ---> docker-login.sh ends [Pipeline] } 17:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:04 ========================================================= 17:32:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:32:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:32:05 Sending build context to Docker daemon 11.85MB 17:32:05 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:32:05 Step 2/12 : FROM ${BASE} AS builder 17:32:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:32:05 9b18e9b68314: Pulling fs layer 17:32:05 35d82f9e3411: Pulling fs layer 17:32:05 e16973657156: Pulling fs layer 17:32:05 fc693d55d65f: Pulling fs layer 17:32:05 7e9fc2657dce: Pulling fs layer 17:32:05 dda99020689f: Pulling fs layer 17:32:05 db1c61fa0a46: Pulling fs layer 17:32:05 891c053d2c06: Pulling fs layer 17:32:05 fc693d55d65f: Waiting 17:32:05 7e9fc2657dce: Waiting 17:32:05 dda99020689f: Waiting 17:32:05 db1c61fa0a46: Waiting 17:32:05 891c053d2c06: Waiting 17:32:05 e16973657156: Download complete 17:32:05 35d82f9e3411: Verifying Checksum 17:32:05 35d82f9e3411: Download complete 17:32:05 7e9fc2657dce: Verifying Checksum 17:32:05 7e9fc2657dce: Download complete 17:32:05 dda99020689f: Verifying Checksum 17:32:05 dda99020689f: Download complete 17:32:05 9b18e9b68314: Verifying Checksum 17:32:06 9b18e9b68314: Pull complete 17:32:07 891c053d2c06: Verifying Checksum 17:32:07 891c053d2c06: Download complete 17:32:07 35d82f9e3411: Pull complete 17:32:07 e16973657156: Pull complete 17:32:08 db1c61fa0a46: Verifying Checksum 17:32:08 db1c61fa0a46: Download complete 17:32:08 fc693d55d65f: Verifying Checksum 17:32:08 fc693d55d65f: Download complete 17:32:21 fc693d55d65f: Pull complete 17:32:21 7e9fc2657dce: Pull complete 17:32:21 dda99020689f: Pull complete 17:32:26 db1c61fa0a46: Pull complete 17:32:28 891c053d2c06: Pull complete 17:32:28 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:32:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:32:28 ---> f96f9c87975a 17:32:28 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:32:30 ---> Running in a9568bb93bc6 17:32:30 Removing intermediate container a9568bb93bc6 17:32:30 ---> f4d53d86efde 17:32:30 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:32:30 ---> Running in 04de6635fe44 17:32:30 Removing intermediate container 04de6635fe44 17:32:30 ---> be8cf9af013a 17:32:30 Step 5/12 : ARG ADD_BUILD_TAGS="" 17:32:30 ---> Running in 2c1fe7e16d85 17:32:31 Removing intermediate container 2c1fe7e16d85 17:32:31 ---> 996abee140b0 17:32:31 Step 6/12 : WORKDIR /device-virtual-go 17:32:31 ---> Running in 845bba83c730 17:32:31 Removing intermediate container 845bba83c730 17:32:31 ---> d7a14394dfd4 17:32:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:31 ---> Running in 95ceaf34d64f 17:32:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:32:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:32:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:32:34 (2/4) Installing libedit (20210910.3.1-r0) 17:32:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:32:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:32:34 Executing busybox-1.35.0-r17.trigger 17:32:34 OK: 226 MiB in 55 packages 17:32:35 Removing intermediate container 95ceaf34d64f 17:32:35 ---> 01ca1f45eabf 17:32:35 Step 8/12 : COPY go.mod vendor* ./ 17:32:35 ---> 5dfc7a0613a3 17:32:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:32:35 ---> Running in e067874ec7fc 17:33:32 Removing intermediate container e067874ec7fc 17:33:32 ---> b8da654e0163 17:33:32 Step 10/12 : COPY . . 17:33:32 ---> 58fea62e974e 17:33:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:32 ---> Running in 4124820543f7 17:33:32 Removing intermediate container 4124820543f7 17:33:32 ---> 3cee8b1ffc0a 17:33:32 Step 12/12 : RUN $MAKE 17:33:32 ---> Running in 542365c4a9b4 17:33:32 noop 17:33:32 Removing intermediate container 542365c4a9b4 17:33:32 ---> 09bd7f9bb967 17:33:32 Successfully built 09bd7f9bb967 17:33:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:32 + docker inspect -f . ci-base-image-arm64 17:33:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:32 prd-ubuntu20.04-docker-arm64-4c-16g-911 does not seem to be running inside a container 17:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:33:34 $ docker top 07018e83a37ccd73536173f873626a2c40daf612eb13edbc0638396414d54dd7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:35 + go version 17:33:35 go version go1.18.7 linux/arm64 [Pipeline] } 17:33:35 $ docker stop --time=1 07018e83a37ccd73536173f873626a2c40daf612eb13edbc0638396414d54dd7 17:33:36 $ docker rm -f --volumes 07018e83a37ccd73536173f873626a2c40daf612eb13edbc0638396414d54dd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:33:37 + docker inspect -f . ci-base-image-arm64 17:33:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:33:37 prd-ubuntu20.04-docker-arm64-4c-16g-911 does not seem to be running inside a container 17:33:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:33:39 $ docker top e5bf344451a639fcaa395e235e176acb075621504a6661b862d427c1759ff2ba -eo pid,comm [Pipeline] { [Pipeline] sh 17:33:39 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 17:33:40 + make test 17:33:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 17:33:42 ? github.com/edgexfoundry/device-virtual-go [no test files] 17:35:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 17:35:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.125s coverage: 65.7% of statements 17:35:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:35:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:35:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:35:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:35:22 ./bin/test-attribution-txt.sh [Pipeline] echo 17:35:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:35:22 $ docker stop --time=1 e5bf344451a639fcaa395e235e176acb075621504a6661b862d427c1759ff2ba 17:35:24 $ docker rm -f --volumes e5bf344451a639fcaa395e235e176acb075621504a6661b862d427c1759ff2ba [Pipeline] // withDockerContainer [Pipeline] sh 17:35:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:35:25 Warning: overwriting stash ‘coverage-report’ 17:35:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:35:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:35:26 + ls -al . 17:35:26 total 200 17:35:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:33 . 17:35:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:31 .. 17:35:26 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 17:31 .git 17:35:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:31 .github 17:35:26 -rw-rw-r-- 1 jenkins jenkins 337 Jan 3 17:31 .gitignore 17:35:26 -rw-rw-r-- 1 jenkins jenkins 41 Jan 3 17:31 .golangci.yml 17:35:26 -rw-rw-r-- 1 jenkins jenkins 8527 Jan 3 17:31 Attribution.txt 17:35:26 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 3 17:31 CHANGELOG.md 17:35:26 -rw-rw-r-- 1 jenkins jenkins 1691 Jan 3 17:31 Dockerfile 17:35:26 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 17:31 GOVERNANCE.md 17:35:26 -rw-rw-r-- 1 jenkins jenkins 660 Jan 3 17:31 Jenkinsfile 17:35:26 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 3 17:31 LICENSE 17:35:26 -rw-rw-r-- 1 jenkins jenkins 2457 Jan 3 17:31 Makefile 17:35:26 -rw-rw-r-- 1 jenkins jenkins 623 Jan 3 17:31 OWNERS.md 17:35:26 -rw-rw-r-- 1 jenkins jenkins 3578 Jan 3 17:31 README.md 17:35:26 -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 17:29 VERSION 17:35:26 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 17:31 bin 17:35:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:31 cmd 17:35:26 -rw-r--r-- 1 jenkins jenkins 44128 Jan 3 17:34 coverage.out 17:35:26 -rw-rw-r-- 1 jenkins jenkins 3340 Jan 3 17:31 go.mod 17:35:26 -rw-rw-r-- 1 jenkins jenkins 44412 Jan 3 17:31 go.sum 17:35:26 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 17:31 internal 17:35:26 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 17:31 snap 17:35:26 -rw-rw-r-- 1 jenkins jenkins 235 Jan 3 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:27 + 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=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 --label arch=arm64 --label version=0.0.0 . 17:35:27 Sending build context to Docker daemon 11.9MB 17:35:27 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 17:35:27 Step 2/25 : FROM ${BASE} AS builder 17:35:27 ---> 09bd7f9bb967 17:35:27 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:35:27 ---> Running in 63c04544e2d4 17:35:27 Removing intermediate container 63c04544e2d4 17:35:27 ---> 680068c84347 17:35:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:35:27 ---> Running in 259cc1ef5482 17:35:28 Removing intermediate container 259cc1ef5482 17:35:28 ---> 0f023092bbcf 17:35:28 Step 5/25 : ARG ADD_BUILD_TAGS="" 17:35:28 ---> Running in 1bdfdaced380 17:35:28 Removing intermediate container 1bdfdaced380 17:35:28 ---> aead4cc347b2 17:35:28 Step 6/25 : WORKDIR /device-virtual-go 17:35:28 ---> Running in 7652c8254343 17:35:29 Removing intermediate container 7652c8254343 17:35:29 ---> f7017dd09fed 17:35:29 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:35:29 ---> Running in b3ad90f91256 17:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:35:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:35:31 OK: 226 MiB in 55 packages 17:35:32 Removing intermediate container b3ad90f91256 17:35:32 ---> b7705a4dbf19 17:35:32 Step 8/25 : COPY go.mod vendor* ./ 17:35:32 ---> e2256b610c79 17:35:32 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:35:32 ---> Running in 79e4b5d5b114 17:35:34 Removing intermediate container 79e4b5d5b114 17:35:34 ---> 3b63ed89bc6b 17:35:34 Step 10/25 : COPY . . 17:35:35 ---> 15faaadc9adf 17:35:35 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:35:35 ---> Running in a5f4860c51a9 17:35:36 Removing intermediate container a5f4860c51a9 17:35:36 ---> d194d4c58067 17:35:36 Step 12/25 : RUN $MAKE 17:35:36 ---> Running in 25689b534fdb 17:35:37 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 17:38:14 Removing intermediate container 25689b534fdb 17:38:14 ---> 7b5ce684d84e 17:38:14 Step 13/25 : FROM alpine:3.16 17:38:14 3.16: Pulling from library/alpine 17:38:14 6875df1f5354: Pulling fs layer 17:38:14 6875df1f5354: Verifying Checksum 17:38:14 6875df1f5354: Download complete 17:38:14 6875df1f5354: Pull complete 17:38:14 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:38:14 Status: Downloaded newer image for alpine:3.16 17:38:14 ---> 2b4661558fb8 17:38:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 17:38:14 ---> Running in 0eb946f0e9a3 17:38:14 Removing intermediate container 0eb946f0e9a3 17:38:14 ---> 891152646ca0 17:38:14 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 17:38:14 ---> Running in 3ba3edda11cc 17:38:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:38:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:38:14 (1/6) Installing dumb-init (1.2.5-r1) 17:38:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:38:14 (3/6) Installing libsodium (1.0.18-r0) 17:38:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:38:14 (5/6) Installing libzmq (4.3.4-r0) 17:38:14 (6/6) Installing zeromq (4.3.4-r0) 17:38:14 Executing busybox-1.35.0-r17.trigger 17:38:14 OK: 8 MiB in 20 packages 17:38:14 Removing intermediate container 3ba3edda11cc 17:38:14 ---> f9be13f6b6fd 17:38:14 Step 16/25 : WORKDIR / 17:38:14 ---> Running in 7d2a59940d9a 17:38:14 Removing intermediate container 7d2a59940d9a 17:38:14 ---> 3077379755aa 17:38:14 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 17:38:14 ---> 12e83f15b821 17:38:14 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 17:38:14 ---> 79825c8f4e71 17:38:14 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 17:38:14 ---> 34cab4915494 17:38:14 Step 20/25 : EXPOSE 59900 17:38:14 ---> Running in 98675d2ebaa8 17:38:14 Removing intermediate container 98675d2ebaa8 17:38:14 ---> 74bd4f54222d 17:38:14 Step 21/25 : ENTRYPOINT ["/device-virtual"] 17:38:14 ---> Running in 38a1cb273102 17:38:14 Removing intermediate container 38a1cb273102 17:38:14 ---> 814b68df1ea1 17:38:14 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 17:38:14 ---> Running in 3dd9da9726d9 17:38:14 Removing intermediate container 3dd9da9726d9 17:38:14 ---> 872ee57a078b 17:38:14 Step 23/25 : LABEL arch=arm64 17:38:14 ---> Running in 43751ac87ac2 17:38:14 Removing intermediate container 43751ac87ac2 17:38:14 ---> 9431a918ea22 17:38:14 Step 24/25 : LABEL git_sha=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 17:38:14 ---> Running in 6fafc244641f 17:38:14 Removing intermediate container 6fafc244641f 17:38:14 ---> b218b0d4f6f1 17:38:14 Step 25/25 : LABEL version=0.0.0 17:38:14 ---> Running in 13da36d9e406 17:38:14 Removing intermediate container 13da36d9e406 17:38:14 ---> 770166b06b8f 17:38:14 [Warning] One or more build-args [ARCH] were not consumed 17:38:14 Successfully built 770166b06b8f 17:38:14 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 17:38:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:15 17:38:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:15 arm64: Pulling from edgex-lftools-log-publisher 17:38:15 8998bd30e6a1: Pulling fs layer 17:38:15 04944245beec: Pulling fs layer 17:38:15 699f458cf7ca: Pulling fs layer 17:38:15 765212b225bb: Pulling fs layer 17:38:15 f23df028b6ca: Pulling fs layer 17:38:15 d65c8cfc05b1: Pulling fs layer 17:38:15 2437ff75d9bd: Pulling fs layer 17:38:15 765212b225bb: Waiting 17:38:15 f23df028b6ca: Waiting 17:38:15 d65c8cfc05b1: Waiting 17:38:15 2437ff75d9bd: Waiting 17:38:15 04944245beec: Verifying Checksum 17:38:15 04944245beec: Download complete 17:38:15 765212b225bb: Verifying Checksum 17:38:15 765212b225bb: Download complete 17:38:15 f23df028b6ca: Download complete 17:38:15 d65c8cfc05b1: Verifying Checksum 17:38:15 d65c8cfc05b1: Download complete 17:38:15 699f458cf7ca: Verifying Checksum 17:38:15 699f458cf7ca: Download complete 17:38:16 8998bd30e6a1: Verifying Checksum 17:38:16 8998bd30e6a1: Download complete 17:38:18 2437ff75d9bd: Verifying Checksum 17:38:18 2437ff75d9bd: Download complete 17:38:20 8998bd30e6a1: Pull complete 17:38:20 04944245beec: Pull complete 17:38:21 699f458cf7ca: Pull complete 17:38:22 765212b225bb: Pull complete 17:38:22 f23df028b6ca: Pull complete 17:38:23 d65c8cfc05b1: Pull complete 17:38:38 2437ff75d9bd: Pull complete 17:38:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:38 prd-ubuntu20.04-docker-arm64-4c-16g-911 does not seem to be running inside a container 17:38:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:38:41 $ docker top 63b09836e101df5ff7f2903af3f6ae0d7409696478d0d081f8547309410a5971 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:42 ---> job-cost.sh 17:38:42 lf-activate-venv: SKIPPING 17:38:42 INFO: No Stack... 17:38:42 INFO: Retrieving Pricing Info for: v3-standard-4 17:38:43 INFO: Archiving Costs [Pipeline] sh 17:38:43 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 17:38:43 + cut -d, -f6 [Pipeline] lock 17:38:43 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] 17:38:43 Resource [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] did not exist. Created. 17:38:43 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:38:44 /w/workspace/device-virtual-go/1@tmp/durable-e13223fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:38:45 + echo total: 0.10999999940395355 [Pipeline] stash 17:38:45 Warning: overwriting stash ‘stack-cost’ 17:38:45 Stashed 1 file(s) [Pipeline] } 17:38:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-323-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:38:45 $ docker stop --time=1 63b09836e101df5ff7f2903af3f6ae0d7409696478d0d081f8547309410a5971 17:38:47 $ docker rm -f --volumes 63b09836e101df5ff7f2903af3f6ae0d7409696478d0d081f8547309410a5971 [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 17:38:48 provisioning config files... 17:38:48 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config17405518858052027505tmp [Pipeline] { [Pipeline] sh 17:38:48 + set +x 17:38:48 + curl -s https://codecov.io/bash 17:38:48 + bash -s -- 17:38:48 17:38:48 _____ _ 17:38:48 / ____| | | 17:38:48 | | ___ __| | ___ ___ _____ __ 17:38:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:38:48 | |___| (_) | (_| | __/ (_| (_) \ V / 17:38:48 \_____\___/ \__,_|\___|\___\___/ \_/ 17:38:48 Bash-1.0.6 17:38:48 17:38:48 17:38:48 ==> git version 2.25.1 found 17:38:48 ==> 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 17:38:48 Release-Date: 2020-01-08 17:38:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:38:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:38:48 ==> Jenkins CI detected. 17:38:48 current dir:  /w/workspace/foundry_device-virtual-go_PR-323 17:38:48 project root: . 17:38:48 --> token set from env 17:38:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:38:48 ==> Running gcov in . (disable via -X gcov) 17:38:48 ==> Python coveragepy not found 17:38:48 ==> Searching for coverage reports in: 17:38:48 + . 17:38:48 -> Found 1 reports 17:38:48 ==> Detecting git/mercurial file structure 17:38:48 ==> Reading reports 17:38:48 + ./coverage.out bytes=44128 17:38:48 ==> Appending adjustments 17:38:48 https://docs.codecov.io/docs/fixing-reports 17:38:48 + Found adjustments 17:38:48 ==> Gzipping contents 17:38:48 8.0K /tmp/codecov.JMCIJp.gz 17:38:48 ==> Uploading reports 17:38:48 url: https://codecov.io 17:38:48 query: branch=PR-323&commit=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-323%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=323&job=&cmd_args= 17:38:48 -> Pinging Codecov 17:38:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-323&commit=2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-323%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=323&job=&cmd_args= 17:38:49 -> Uploading to 17:38:49 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/5E52B4B073DB2E39498172D8E973AA87/2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811/1b8010c1-1165-4142-8824-91369c4e45a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T173848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=065725bb5c4339465b45b8bd83191263c453ba6d5eacaa25809ddcda1237c796 17:38:49 % Total % Received % Xferd Average Speed Time Time Time Current 17:38:49 Dload Upload Total Spent Left Speed 17:38:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5468 0 0 100 5468 0 26935 --:--:-- --:--:-- --:--:-- 26803 100 5468 0 0 100 5468 0 26162 --:--:-- --:--:-- --:--:-- 26038 17:38:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2b2ea2346abce6c5fdc4cd3ab91e4f3f83dcb811 [Pipeline] } 17:38:49 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 17:38:50 + [ -d /w/workspace/foundry_device-virtual-go_PR-323/archives ] 17:38:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-323/archives 17:38:50 total 16 17:38:50 drwxr-xr-x 3 root root 4096 Jan 3 17:31 . 17:38:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:31 .. 17:38:50 drwxr-xr-x 2 root root 4096 Jan 3 17:31 cost 17:38:50 -rw-r--r-- 1 root root 89 Jan 3 17:31 cost.csv 17:38:50 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-323/archives 17:38:50 + ls -al /w/workspace/foundry_device-virtual-go_PR-323/archives 17:38:50 total 16 17:38:50 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 17:31 . 17:38:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 17:31 .. 17:38:50 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 17:31 cost 17:38:50 -rw-r--r-- 1 jenkins jenkins 89 Jan 3 17:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:38:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:38:52 ---> package-listing.sh 17:38:52 ++ facter osfamily 17:38:52 ++ tr '[:upper:]' '[:lower:]' 17:38:52 + OS_FAMILY=debian 17:38:52 + workspace=/w/workspace/foundry_device-virtual-go_PR-323 17:38:52 + START_PACKAGES=/tmp/packages_start.txt 17:38:52 + END_PACKAGES=/tmp/packages_end.txt 17:38:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:38:52 + PACKAGES=/tmp/packages_start.txt 17:38:52 + '[' /w/workspace/foundry_device-virtual-go_PR-323 ']' 17:38:52 + PACKAGES=/tmp/packages_end.txt 17:38:52 + case "${OS_FAMILY}" in 17:38:52 + dpkg -l 17:38:52 + grep '^ii' 17:38:52 + '[' -f /tmp/packages_start.txt ']' 17:38:52 + '[' -f /tmp/packages_end.txt ']' 17:38:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:38:52 + '[' /w/workspace/foundry_device-virtual-go_PR-323 ']' 17:38:52 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-323/archives/ 17:38:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-323/archives/ [Pipeline] echo 17:38:52 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-323/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:38:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:38:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:53 prd-ubuntu20.04-docker-8c-8g-910 does not seem to be running inside a container 17:38:53 $ 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-323/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-323 -v /w/workspace/foundry_device-virtual-go_PR-323:/w/workspace/foundry_device-virtual-go_PR-323:rw,z -v /w/workspace/foundry_device-virtual-go_PR-323@tmp:/w/workspace/foundry_device-virtual-go_PR-323@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:38:53 $ docker top 9c86cdb5bf1961bb21b4819844a99e495f0f10c54200156273868cec1e640b2a -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:54 + touch /tmp/pre-build-complete [Pipeline] sh 17:38:54 + mkdir -p /var/log/sysstat [Pipeline] sh 17:38:54 + ls /var/log/sa-host 17:38:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:54 provisioning config files... 17:38:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-323@tmp/config3393348357519084138tmp [Pipeline] { [Pipeline] echo 17:38:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:38:55 ---> create-netrc.sh [Pipeline] } 17:38:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:38:55 ---> python-tools-install.sh [Pipeline] echo 17:38:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:38:56 ---> sudo-logs.sh 17:38:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:38:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:38:56 ---> job-cost.sh 17:38:56 lf-activate-venv: SKIPPING 17:38:56 DEBUG: total: 0.2199999988079071 17:38:56 INFO: Retrieving Stack Cost... 17:38:57 INFO: Retrieving Pricing Info for: v3-standard-8 17:38:57 INFO: Archiving Costs [Pipeline] echo 17:38:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:38:57 ---> logs-deploy.sh 17:38:57 lf-activate-venv: SKIPPING 17:38:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-323/1 17:38:57 INFO: archiving workspace using pattern(s): 17:38:58 Archives upload complete. 17:38:58 INFO: archiving logs to Nexus