Pull request #317 updated 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 ejlee3 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 213c59a90fa2a9f25f91c2628b566ab82c721a2b rather than 1baba3f0330e43e27ddf533a45f96232cf710628 Obtained Jenkinsfile from 213c59a90fa2a9f25f91c2628b566ab82c721a2b 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-ssh6446205784886039828.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh10794490848993871467.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-317/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12827217421675423725.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh15379845428040944609.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-317/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9650452600145951736.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Running on prd-ubuntu20.04-docker-8c-8g-117314 in /w/workspace/foundry_device-virtual-go_PR-317 [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-317 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit 1baba3f0330e43e27ddf533a45f96232cf710628 Merge succeeded, producing 1baba3f0330e43e27ddf533a45f96232cf710628 Checking out Revision 1baba3f0330e43e27ddf533a45f96232cf710628 (PR-317) > git config core.sparsecheckout # timeout=10 > git checkout -f 1baba3f0330e43e27ddf533a45f96232cf710628 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1baba3f0330e43e27ddf533a45f96232cf710628 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git rev-list --no-walk b442787d94312e06e4a88d8e9302be5c07189cfc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:36:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:36:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:36:21 ========================================================= 20:36:21 EdgeX Global Pipelines Version Info 20:36:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:36:21 ------------------- 20:36:21 stable info: 20:36:21 ------------------- 20:36:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:36:21 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:36:21 Message: update stable to v1.0.243 20:36:22 ------------------- 20:36:22 experimental info: 20:36:22 ------------------- 20:36:22 Commited By: **** collab-it+edgex@linuxfoundation.org 20:36:22 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:36:22 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:36:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1baba3f [Pipeline] echo 20:36:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:23 provisioning config files... 20:36:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config2235955069915693125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:23 ---> docker-login.sh 20:36:23 nexus3.edgexfoundry.org:10001 20:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:23 Configure a credential helper to remove this warning. See 20:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:23 20:36:23 Login Succeeded 20:36:23 nexus3.edgexfoundry.org:10002 20:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:23 Configure a credential helper to remove this warning. See 20:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:23 20:36:23 Login Succeeded 20:36:23 nexus3.edgexfoundry.org:10003 20:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:23 Configure a credential helper to remove this warning. See 20:36:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:23 20:36:23 Login Succeeded 20:36:23 nexus3.edgexfoundry.org:10004 20:36:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:24 Configure a credential helper to remove this warning. See 20:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:24 20:36:24 Login Succeeded 20:36:24 docker.io 20:36:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:24 Configure a credential helper to remove this warning. See 20:36:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:24 20:36:24 Login Succeeded 20:36:24 ---> docker-login.sh ends [Pipeline] } 20:36:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:36:24 + git rev-list -1 --merges 1baba3f0330e43e27ddf533a45f96232cf710628~1..1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] echo 20:36:24 -----------> git rev-list -1 --merges 1baba3f0330e43e27ddf533a45f96232cf710628~1..1baba3f0330e43e27ddf533a45f96232cf710628 1baba3f0330e43e27ddf533a45f96232cf710628 [false] [Pipeline] sh 20:36:25 + git log --format=format:%s -1 1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] echo 20:36:25 ========================================================= 20:36:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:36:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:25 + git log --format=format:%s -1 1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] echo 20:36:25 [semverPrep] GIT_COMMIT: 1baba3f0330e43e27ddf533a45f96232cf710628, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 20:36:25 [semverPrep] This is not a build commit. [Pipeline] sh 20:36:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:25 + grep -v github /etc/ssh/ssh_known_hosts 20:36:25 + [ -e /tmp/ssh_known_hosts ] 20:36:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:36:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:36:25 + sudo tee -a /etc/ssh/ssh_known_hosts 20:36:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:26 20:36:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:26 0.1.4: Pulling from edgex-devops/py-git-semver 20:36:26 b85a868b505f: Pulling fs layer 20:36:26 e2be974225ed: Pulling fs layer 20:36:26 339a4e72a1f5: Pulling fs layer 20:36:26 988bab9f4d93: Pulling fs layer 20:36:26 1469e6f7b9e6: Pulling fs layer 20:36:26 eaf3925da568: Pulling fs layer 20:36:26 bab4dde63d76: Pulling fs layer 20:36:26 bde34c3a00c8: Pulling fs layer 20:36:26 b352a97aabf1: Pulling fs layer 20:36:26 4872d77fe225: Pulling fs layer 20:36:26 5851b861e8e6: Pulling fs layer 20:36:26 988bab9f4d93: Waiting 20:36:26 1469e6f7b9e6: Waiting 20:36:26 eaf3925da568: Waiting 20:36:26 bab4dde63d76: Waiting 20:36:26 bde34c3a00c8: Waiting 20:36:26 b352a97aabf1: Waiting 20:36:26 4872d77fe225: Waiting 20:36:26 5851b861e8e6: Waiting 20:36:26 e2be974225ed: Verifying Checksum 20:36:26 e2be974225ed: Download complete 20:36:26 988bab9f4d93: Verifying Checksum 20:36:26 988bab9f4d93: Download complete 20:36:26 339a4e72a1f5: Verifying Checksum 20:36:26 339a4e72a1f5: Download complete 20:36:26 1469e6f7b9e6: Verifying Checksum 20:36:26 1469e6f7b9e6: Download complete 20:36:26 bde34c3a00c8: Verifying Checksum 20:36:26 bde34c3a00c8: Download complete 20:36:26 b352a97aabf1: Download complete 20:36:26 4872d77fe225: Verifying Checksum 20:36:26 4872d77fe225: Download complete 20:36:26 5851b861e8e6: Download complete 20:36:26 b85a868b505f: Verifying Checksum 20:36:26 b85a868b505f: Download complete 20:36:27 bab4dde63d76: Verifying Checksum 20:36:27 bab4dde63d76: Download complete 20:36:27 b85a868b505f: Pull complete 20:36:28 e2be974225ed: Pull complete 20:36:28 339a4e72a1f5: Pull complete 20:36:28 988bab9f4d93: Pull complete 20:36:28 1469e6f7b9e6: Pull complete 20:36:29 eaf3925da568: Pull complete 20:36:30 bab4dde63d76: Pull complete 20:36:30 bde34c3a00c8: Pull complete 20:36:30 b352a97aabf1: Pull complete 20:36:30 4872d77fe225: Pull complete 20:36:30 5851b861e8e6: Pull complete 20:36:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:36:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:31 prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container 20:36:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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-devops/py-git-semver:0.1.4 cat 20:36:33 $ docker top b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 -eo pid,comm 20:36:33 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). 20:36:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:33 [ssh-agent] Looking for ssh-agent implementation... 20:36:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:34 $ docker exec b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 ssh-agent 20:36:34 SSH_AUTH_SOCK=/tmp/ssh-qpZ41wj1fRXq/agent.33 20:36:34 SSH_AGENT_PID=39 20:36:34 Running ssh-add (command line suppressed) 20:36:34 Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_15413355823274726813.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_15413355823274726813.key) 20:36:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:34 + git tag --points-at HEAD [Pipeline] } 20:36:34 $ docker exec --env ******** --env ******** b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 ssh-agent -k 20:36:34 unset SSH_AUTH_SOCK; 20:36:34 unset SSH_AGENT_PID; 20:36:34 echo Agent pid 39 killed; 20:36:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:36:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:34 [ssh-agent] Looking for ssh-agent implementation... 20:36:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:34 $ docker exec b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 ssh-agent 20:36:34 SSH_AUTH_SOCK=/tmp/ssh-qPkS48WpSNwV/agent.71 20:36:34 SSH_AGENT_PID=77 20:36:34 Running ssh-add (command line suppressed) 20:36:35 Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_5926480516313307460.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_5926480516313307460.key) 20:36:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:35 + git semver init 20:36:35 2022-10-26 20:36:35,554 [run_init] DEBUG init version:0.0.0 force:False 20:36:35 2022-10-26 20:36:35,554 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver 20:36:35 2022-10-26 20:36:35,555 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-317/.semver 20:36:35 2022-10-26 20:36:35,555 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-317/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-317, universal_newlines=False, shell=None, istream=None) 20:36:37 2022-10-26 20:36:36,714 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude 20:36:37 2022-10-26 20:36:36,715 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 with force:False 20:36:37 2022-10-26 20:36:36,715 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 20:36:37 2022-10-26 20:36:36,719 [execute] INFO git cat-file --batch-check 20:36:37 2022-10-26 20:36:36,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 20:36:37 2022-10-26 20:36:36,726 [execute] INFO git cat-file --batch 20:36:37 2022-10-26 20:36:36,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 20:36:37 2022-10-26 20:36:36,731 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 20:36:37 0.0.0 [Pipeline] } 20:36:37 $ docker exec --env ******** --env ******** b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 ssh-agent -k 20:36:37 unset SSH_AUTH_SOCK; 20:36:37 unset SSH_AGENT_PID; 20:36:37 echo Agent pid 77 killed; 20:36:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:37 + git semver [Pipeline] } 20:36:37 $ docker stop --time=1 b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 20:36:39 $ docker rm -f b41b37eedd1a4a26b79697a4ccd2803b3dc8eb353ed9f8a69fd9d35c0dc5b221 [Pipeline] // withDockerContainer [Pipeline] sh 20:36:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:36:39 Stashed 1 file(s) [Pipeline] echo 20:36:39 [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 20:36:39 provisioning config files... 20:36:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config8241868402726326937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:39 ---> docker-login.sh 20:36:39 nexus3.edgexfoundry.org:10001 20:36:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:39 Configure a credential helper to remove this warning. See 20:36:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:39 20:36:39 Login Succeeded 20:36:39 nexus3.edgexfoundry.org:10002 20:36:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:39 Configure a credential helper to remove this warning. See 20:36:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:39 20:36:39 Login Succeeded 20:36:39 nexus3.edgexfoundry.org:10003 20:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:40 Configure a credential helper to remove this warning. See 20:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:40 20:36:40 Login Succeeded 20:36:40 nexus3.edgexfoundry.org:10004 20:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:40 Configure a credential helper to remove this warning. See 20:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:40 20:36:40 Login Succeeded 20:36:40 docker.io 20:36:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:40 Configure a credential helper to remove this warning. See 20:36:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:40 20:36:40 Login Succeeded 20:36:40 ---> docker-login.sh ends [Pipeline] } 20:36:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:40 ========================================================= 20:36:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:36:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:36:41 Sending build context to Docker daemon 23.27MB 20:36:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:36:41 Step 2/12 : FROM ${BASE} AS builder 20:36:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:36:41 213ec9aee27d: Pulling fs layer 20:36:41 4583459ba037: Pulling fs layer 20:36:41 93c1e223e6f2: Pulling fs layer 20:36:41 53926ce57604: Pulling fs layer 20:36:41 21b2b0c7a3f4: Pulling fs layer 20:36:41 30f14e443154: Pulling fs layer 20:36:41 801331c1e519: Pulling fs layer 20:36:41 99cc6dd402b0: Pulling fs layer 20:36:41 7d9ed39f4882: Pulling fs layer 20:36:41 21b2b0c7a3f4: Waiting 20:36:41 53926ce57604: Waiting 20:36:41 30f14e443154: Waiting 20:36:41 801331c1e519: Waiting 20:36:41 99cc6dd402b0: Waiting 20:36:41 7d9ed39f4882: Waiting 20:36:41 93c1e223e6f2: Verifying Checksum 20:36:41 93c1e223e6f2: Download complete 20:36:41 4583459ba037: Verifying Checksum 20:36:41 4583459ba037: Download complete 20:36:41 21b2b0c7a3f4: Verifying Checksum 20:36:41 30f14e443154: Verifying Checksum 20:36:41 30f14e443154: Download complete 20:36:41 213ec9aee27d: Verifying Checksum 20:36:41 213ec9aee27d: Download complete 20:36:41 801331c1e519: Download complete 20:36:41 213ec9aee27d: Pull complete 20:36:41 4583459ba037: Pull complete 20:36:41 93c1e223e6f2: Pull complete 20:36:41 7d9ed39f4882: Verifying Checksum 20:36:41 7d9ed39f4882: Download complete 20:36:41 99cc6dd402b0: Verifying Checksum 20:36:41 99cc6dd402b0: Download complete 20:36:42 53926ce57604: Verifying Checksum 20:36:42 53926ce57604: Download complete 20:36:45 53926ce57604: Pull complete 20:36:45 21b2b0c7a3f4: Pull complete 20:36:45 30f14e443154: Pull complete 20:36:45 801331c1e519: Pull complete 20:36:47 99cc6dd402b0: Pull complete 20:36:48 7d9ed39f4882: Pull complete 20:36:48 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:36:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:36:48 ---> 1dedd983c030 20:36:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:36:53 ---> Running in abdae093c1da 20:36:53 Removing intermediate container abdae093c1da 20:36:53 ---> 14f24b09fdbc 20:36:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:36:53 ---> Running in 06d88238b63f 20:36:53 Removing intermediate container 06d88238b63f 20:36:53 ---> 2846aeb5714a 20:36:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:36:53 ---> Running in 14f967677d23 20:36:53 Removing intermediate container 14f967677d23 20:36:53 ---> 6ddd41171889 20:36:53 Step 6/12 : WORKDIR /device-virtual-go 20:36:53 ---> Running in 9813fbdaac5a 20:36:53 Removing intermediate container 9813fbdaac5a 20:36:53 ---> 452940b0c7f4 20:36:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:53 ---> Running in b5ac490712b1 20:36:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:36:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:36:54 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:36:54 (2/4) Installing libedit (20210910.3.1-r0) 20:36:54 Still waiting to schedule task 20:36:54 ‘prd-ubuntu20.04-docker-8c-8g-117291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:36:54 ‘prd-ubuntu20.04-docker-8c-8g-117310’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:36:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117298’ is offline 20:36:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117316’ is offline 20:36:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117317’ is offline 20:36:54 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:36:54 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:36:54 Executing busybox-1.35.0-r17.trigger 20:36:54 OK: 216 MiB in 55 packages 20:36:55 Removing intermediate container b5ac490712b1 20:36:55 ---> ca0756ad20ea 20:36:55 Step 8/12 : COPY go.mod vendor* ./ 20:36:55 ---> 4a9527b3c48d 20:36:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:55 ---> Running in 9ba7c5663b1d 20:37:17 Removing intermediate container 9ba7c5663b1d 20:37:17 ---> 11f2b6ce7f03 20:37:17 Step 10/12 : COPY . . 20:37:18 ---> 03610e38f587 20:37:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:37:18 ---> Running in 667e05178347 20:37:18 Removing intermediate container 667e05178347 20:37:18 ---> 9ebcbf57a9ae 20:37:18 Step 12/12 : RUN $MAKE 20:37:18 ---> Running in 5eddfeed0e49 20:37:19 noop 20:37:19 Removing intermediate container 5eddfeed0e49 20:37:19 ---> 6d66bfb5fec9 20:37:19 Successfully built 6d66bfb5fec9 20:37:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:20 + docker inspect -f . ci-base-image-x86_64 20:37:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:20 prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container 20:37:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:37:20 $ docker top d3f5180ad50f293dc0cf32603cfbab6c33ec9da30618b992e5e24bd2bba24e05 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:21 + go version 20:37:21 go version go1.18.7 linux/amd64 [Pipeline] } 20:37:21 $ docker stop --time=1 d3f5180ad50f293dc0cf32603cfbab6c33ec9da30618b992e5e24bd2bba24e05 20:37:22 $ docker rm -f d3f5180ad50f293dc0cf32603cfbab6c33ec9da30618b992e5e24bd2bba24e05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:22 + docker inspect -f . ci-base-image-x86_64 20:37:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:22 prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container 20:37:22 $ 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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:37:23 $ docker top 99897f74b181b428f0146180f926297d59e7965642c98c0a4cf16f22c3b66c29 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:23 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh 20:37:23 + make test 20:37:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:37:24 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:37:32 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:37:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.046s coverage: 65.7% of statements 20:37:41 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." 20:37:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:37:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:37:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:37:43 ./bin/test-attribution-txt.sh [Pipeline] echo 20:37:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:37:43 $ docker stop --time=1 99897f74b181b428f0146180f926297d59e7965642c98c0a4cf16f22c3b66c29 20:37:45 $ docker rm -f 99897f74b181b428f0146180f926297d59e7965642c98c0a4cf16f22c3b66c29 [Pipeline] // withDockerContainer [Pipeline] sh 20:37:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:37:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:37:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:37:46 + ls -al . 20:37:46 total 204 20:37:46 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:37 . 20:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:36 .. 20:37:46 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:37 .git 20:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 .github 20:37:46 -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 20:36 .gitignore 20:37:46 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:36 .golangci.yml 20:37:46 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:36 .semver 20:37:46 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 20:36 Attribution.txt 20:37:46 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 20:36 CHANGELOG.md 20:37:46 -rw-rw-r-- 1 jenkins jenkins 1709 Oct 26 20:36 Dockerfile 20:37:46 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:36 GOVERNANCE.md 20:37:46 -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 20:36 Jenkinsfile 20:37:46 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:36 LICENSE 20:37:46 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 20:36 Makefile 20:37:46 -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 20:36 OWNERS.md 20:37:46 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 20:36 README.md 20:37:46 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:36 VERSION 20:37:46 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:36 bin 20:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 cmd 20:37:46 -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 20:37 coverage.out 20:37:46 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 20:36 go.mod 20:37:46 -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 20:36 go.sum 20:37:46 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:36 internal 20:37:46 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:36 snap 20:37:46 -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:47 + 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=1baba3f0330e43e27ddf533a45f96232cf710628 --label arch=amd64 --label version=0.0.0 . 20:37:47 Sending build context to Docker daemon 23.31MB 20:37:47 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:37:47 Step 2/25 : FROM ${BASE} AS builder 20:37:47 ---> 6d66bfb5fec9 20:37:47 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:37:47 ---> Running in f84430fb6464 20:37:47 Removing intermediate container f84430fb6464 20:37:47 ---> 533fbd1517b1 20:37:47 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:37:47 ---> Running in 8952195805cd 20:37:47 Removing intermediate container 8952195805cd 20:37:47 ---> a9effba514ae 20:37:47 Step 5/25 : ARG ADD_BUILD_TAGS="" 20:37:47 ---> Running in 737353754f52 20:37:47 Removing intermediate container 737353754f52 20:37:47 ---> dae2412926c4 20:37:47 Step 6/25 : WORKDIR /device-virtual-go 20:37:47 ---> Running in 9ae479a11c0e 20:37:47 Removing intermediate container 9ae479a11c0e 20:37:47 ---> 015e2c74c2f1 20:37:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:37:47 ---> Running in c3cb2fc048b2 20:37:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:37:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:37:48 OK: 216 MiB in 55 packages 20:37:48 Removing intermediate container c3cb2fc048b2 20:37:48 ---> 5135e8de433a 20:37:48 Step 8/25 : COPY go.mod vendor* ./ 20:37:48 ---> e86d6226cbb7 20:37:48 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:37:48 ---> Running in f58b1d9f6266 20:37:49 Removing intermediate container f58b1d9f6266 20:37:49 ---> 524eeacb229d 20:37:49 Step 10/25 : COPY . . 20:37:49 ---> 4c0c4f66a96a 20:37:49 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:37:50 ---> Running in 011adbacca0a 20:37:50 Removing intermediate container 011adbacca0a 20:37:50 ---> c26d4a46533b 20:37:50 Step 12/25 : RUN $MAKE 20:37:50 ---> Running in 9981c7268151 20:37:50 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 20:38:12 Removing intermediate container 9981c7268151 20:38:12 ---> 498a35006bfd 20:38:12 Step 13/25 : FROM alpine:3.16 20:38:12 3.16: Pulling from library/alpine 20:38:12 213ec9aee27d: Already exists 20:38:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:38:12 Status: Downloaded newer image for alpine:3.16 20:38:12 ---> 9c6f07244728 20:38:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:38:12 ---> Running in f3f4dd39a084 20:38:12 Removing intermediate container f3f4dd39a084 20:38:12 ---> 924932c4a441 20:38:12 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 20:38:12 ---> Running in 4ae44fe7b706 20:38:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:38:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:38:12 (1/6) Installing dumb-init (1.2.5-r1) 20:38:12 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:38:12 (3/6) Installing libsodium (1.0.18-r0) 20:38:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:38:12 (5/6) Installing libzmq (4.3.4-r0) 20:38:12 (6/6) Installing zeromq (4.3.4-r0) 20:38:12 Executing busybox-1.35.0-r17.trigger 20:38:12 OK: 8 MiB in 20 packages 20:38:13 Removing intermediate container 4ae44fe7b706 20:38:13 ---> caccd0638aea 20:38:13 Step 16/25 : WORKDIR / 20:38:13 ---> Running in 0ee8aebdc1a1 20:38:13 Removing intermediate container 0ee8aebdc1a1 20:38:13 ---> 95c2e1d97cb9 20:38:13 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:38:13 ---> 174e62223e1a 20:38:13 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 20:38:13 ---> 62b0f07c437b 20:38:13 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 20:38:14 ---> 4d2d89f1333e 20:38:14 Step 20/25 : EXPOSE 59900 20:38:14 ---> Running in 1b4a5fcf5f44 20:38:14 Removing intermediate container 1b4a5fcf5f44 20:38:14 ---> 36d252b36d95 20:38:14 Step 21/25 : ENTRYPOINT ["/device-virtual"] 20:38:14 ---> Running in b2408b2458d0 20:38:14 Removing intermediate container b2408b2458d0 20:38:14 ---> e613c317625c 20:38:14 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:38:14 ---> Running in 941ec313c6f0 20:38:14 Removing intermediate container 941ec313c6f0 20:38:14 ---> dea554aeb76e 20:38:14 Step 23/25 : LABEL arch=amd64 20:38:14 ---> Running in 8e9b47ff3118 20:38:14 Removing intermediate container 8e9b47ff3118 20:38:14 ---> bff758dab776 20:38:14 Step 24/25 : LABEL git_sha=1baba3f0330e43e27ddf533a45f96232cf710628 20:38:14 ---> Running in 38aa16b857b0 20:38:14 Removing intermediate container 38aa16b857b0 20:38:14 ---> 9cfb5efa9476 20:38:14 Step 25/25 : LABEL version=0.0.0 20:38:14 ---> Running in d4828bda31b5 20:38:14 Removing intermediate container d4828bda31b5 20:38:14 ---> 78941489ffcc 20:38:14 [Warning] One or more build-args [ARCH] were not consumed 20:38:14 Successfully built 78941489ffcc 20:38:14 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 20:38:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:15 20:38:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:15 latest: Pulling from edgex-lftools-log-publisher 20:38:15 5eb5b503b376: Pulling fs layer 20:38:15 5c69ac0246d0: Pulling fs layer 20:38:15 ec43610c2a17: Pulling fs layer 20:38:15 3a2ae6a8a46f: Pulling fs layer 20:38:15 33b1e0a273af: Pulling fs layer 20:38:15 5d3b04190fa2: Pulling fs layer 20:38:15 2f39f015ded8: Pulling fs layer 20:38:15 33b1e0a273af: Waiting 20:38:15 5d3b04190fa2: Waiting 20:38:15 2f39f015ded8: Waiting 20:38:15 3a2ae6a8a46f: Waiting 20:38:15 5c69ac0246d0: Download complete 20:38:15 3a2ae6a8a46f: Verifying Checksum 20:38:15 3a2ae6a8a46f: Download complete 20:38:15 33b1e0a273af: Verifying Checksum 20:38:15 33b1e0a273af: Download complete 20:38:15 5d3b04190fa2: Download complete 20:38:15 ec43610c2a17: Download complete 20:38:15 5eb5b503b376: Verifying Checksum 20:38:15 5eb5b503b376: Download complete 20:38:16 2f39f015ded8: Download complete 20:38:17 5eb5b503b376: Pull complete 20:38:17 5c69ac0246d0: Pull complete 20:38:17 ec43610c2a17: Pull complete 20:38:17 3a2ae6a8a46f: Pull complete 20:38:18 33b1e0a273af: Pull complete 20:38:18 5d3b04190fa2: Pull complete 20:38:22 2f39f015ded8: Pull complete 20:38:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:38:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:22 prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container 20:38:22 $ 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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:38:26 $ docker top 3913adf3e5eaa386c2ca71269cb285e00050e808c054812287c910f67c07cb96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:27 ---> job-cost.sh 20:38:27 lf-activate-venv: SKIPPING 20:38:27 INFO: No Stack... 20:38:27 INFO: Retrieving Pricing Info for: v3-standard-8 20:38:27 INFO: Archiving Costs [Pipeline] sh 20:38:27 + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv 20:38:27 + cut -d, -f6 [Pipeline] lock 20:38:27 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] 20:38:27 Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] did not exist. Created. 20:38:27 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:38:28 + echo total: 0.2199999988079071 [Pipeline] stash 20:38:28 Stashed 1 file(s) [Pipeline] } 20:38:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:38:28 $ docker stop --time=1 3913adf3e5eaa386c2ca71269cb285e00050e808c054812287c910f67c07cb96 20:38:29 $ docker rm -f 3913adf3e5eaa386c2ca71269cb285e00050e808c054812287c910f67c07cb96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:38:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117319 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws 20:38:47 Running in /w/workspace/device-virtual-go/5 [Pipeline] { [Pipeline] checkout 20:38:47 The recommended git tool is: git 20:38:59 using credential edgex-jenkins-ssh 20:38:59 Cloning the remote Git repository 20:38:59 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:38:59 > git init /w/workspace/device-virtual-go/5 # timeout=10 20:38:59 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:38:59 > git --version # timeout=10 20:38:59 > git --version # 'git version 2.25.1' 20:38:59 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:59 Verifying host key using known hosts file 20:39:00 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:39:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:39:02 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:39:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:39:04 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit 1baba3f0330e43e27ddf533a45f96232cf710628 20:39:05 Merge succeeded, producing 1baba3f0330e43e27ddf533a45f96232cf710628 20:39:05 Checking out Revision 1baba3f0330e43e27ddf533a45f96232cf710628 (PR-317) 20:39:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:39:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:39:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:39:04 Verifying host key using known hosts file 20:39:04 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:39:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/317/head:refs/remotes/origin/PR-317 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:39:04 > git config core.sparsecheckout # timeout=10 20:39:04 > git checkout -f 1baba3f0330e43e27ddf533a45f96232cf710628 # timeout=10 20:39:04 > git remote # timeout=10 20:39:04 > git config --get remote.origin.url # timeout=10 20:39:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:39:04 Verifying host key using known hosts file 20:39:04 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:39:05 > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 20:39:05 > git rev-parse HEAD^{commit} # timeout=10 20:39:05 > git config core.sparsecheckout # timeout=10 20:39:05 > git checkout -f 1baba3f0330e43e27ddf533a45f96232cf710628 # timeout=10 20:39:08 Commit message: "build: Latest go-mods, config and Dockerfile fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:39:09 % Total % Received % Xferd Average Speed Time Time Time Current 20:39:09 Dload Upload Total Spent Left Speed 20:39:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 175k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh 20:39:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:39:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:39:10 + sudo tee /etc/docker/daemon.new 20:39:10 { 20:39:10 "registry-mirrors": [ 20:39:10 "https://nexus3.edgexfoundry.org:10001" 20:39:10 ], 20:39:10 "bip": "10.250.0.254/24", 20:39:10 "hosts": [ 20:39:10 "tcp://0.0.0.0:5555", 20:39:10 "unix:///var/run/docker.sock" 20:39:10 ], 20:39:10 "mtu": 1458, 20:39:10 "selinux-enabled": true, 20:39:10 "seccomp-profile": "/etc/docker/seccomp.json" 20:39:10 } [Pipeline] sh 20:39:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:39:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:29 provisioning config files... 20:39:29 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/5@tmp/config2231653145791608229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:30 ---> docker-login.sh 20:39:30 nexus3.edgexfoundry.org:10001 20:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:30 Configure a credential helper to remove this warning. See 20:39:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:30 20:39:30 Login Succeeded 20:39:30 nexus3.edgexfoundry.org:10002 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 nexus3.edgexfoundry.org:10003 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:31 Configure a credential helper to remove this warning. See 20:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:31 20:39:31 Login Succeeded 20:39:31 nexus3.edgexfoundry.org:10004 20:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:32 Configure a credential helper to remove this warning. See 20:39:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:32 20:39:32 Login Succeeded 20:39:32 docker.io 20:39:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:39:32 Configure a credential helper to remove this warning. See 20:39:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:39:32 20:39:32 Login Succeeded 20:39:32 ---> docker-login.sh ends [Pipeline] } 20:39:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:39:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:39:33 ========================================================= 20:39:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:39:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:33 + 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 . 20:39:33 Sending build context to Docker daemon 11.8MB 20:39:33 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:39:33 Step 2/12 : FROM ${BASE} AS builder 20:39:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:39:33 9b18e9b68314: Pulling fs layer 20:39:33 d32db5db7311: Pulling fs layer 20:39:33 d0c4b47475fc: Pulling fs layer 20:39:33 5831b945b038: Pulling fs layer 20:39:33 86bbec2aaacd: Pulling fs layer 20:39:33 e10730c5d714: Pulling fs layer 20:39:33 5dd5c2283517: Pulling fs layer 20:39:33 d5ac0230b979: Pulling fs layer 20:39:33 e10730c5d714: Waiting 20:39:33 5dd5c2283517: Waiting 20:39:33 5831b945b038: Waiting 20:39:33 d5ac0230b979: Waiting 20:39:33 86bbec2aaacd: Waiting 20:39:33 d0c4b47475fc: Verifying Checksum 20:39:33 d0c4b47475fc: Download complete 20:39:33 d32db5db7311: Verifying Checksum 20:39:33 d32db5db7311: Download complete 20:39:34 86bbec2aaacd: Verifying Checksum 20:39:34 86bbec2aaacd: Download complete 20:39:34 e10730c5d714: Verifying Checksum 20:39:34 e10730c5d714: Download complete 20:39:34 9b18e9b68314: Download complete 20:39:35 9b18e9b68314: Pull complete 20:39:35 d5ac0230b979: Verifying Checksum 20:39:35 d5ac0230b979: Download complete 20:39:35 d32db5db7311: Pull complete 20:39:36 d0c4b47475fc: Pull complete 20:39:36 5dd5c2283517: Download complete 20:39:37 5831b945b038: Verifying Checksum 20:39:37 5831b945b038: Download complete 20:39:49 5831b945b038: Pull complete 20:39:50 86bbec2aaacd: Pull complete 20:39:50 e10730c5d714: Pull complete 20:39:57 5dd5c2283517: Pull complete 20:39:59 d5ac0230b979: Pull complete 20:39:59 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:39:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:39:59 ---> 59b3b1a385d4 20:39:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:40:00 ---> Running in b8a9fb8b84cf 20:40:00 Removing intermediate container b8a9fb8b84cf 20:40:00 ---> 1cf4b2492dbc 20:40:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:40:01 ---> Running in 6901e6f8b69a 20:40:02 Removing intermediate container 6901e6f8b69a 20:40:02 ---> c255e00580bb 20:40:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:40:03 ---> Running in badb918074c6 20:40:03 Removing intermediate container badb918074c6 20:40:03 ---> 1f4861060752 20:40:03 Step 6/12 : WORKDIR /device-virtual-go 20:40:03 ---> Running in f6ae90487de1 20:40:03 Removing intermediate container f6ae90487de1 20:40:03 ---> 3df8e20cad8c 20:40:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:03 ---> Running in a411af7cb62f 20:40:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:40:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:40:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:40:06 (2/4) Installing libedit (20210910.3.1-r0) 20:40:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:40:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:40:06 Executing busybox-1.35.0-r17.trigger 20:40:06 OK: 226 MiB in 55 packages 20:40:07 Removing intermediate container a411af7cb62f 20:40:07 ---> 77ec7695a464 20:40:07 Step 8/12 : COPY go.mod vendor* ./ 20:40:08 ---> 37583d5dc3e1 20:40:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:08 ---> Running in 9384b20b4628 20:41:16 Removing intermediate container 9384b20b4628 20:41:16 ---> ddf664a34793 20:41:16 Step 10/12 : COPY . . 20:41:16 ---> b2d3c3871053 20:41:16 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:41:16 ---> Running in 165f3ae6f496 20:41:16 Removing intermediate container 165f3ae6f496 20:41:16 ---> cb43ee3f0d65 20:41:16 Step 12/12 : RUN $MAKE 20:41:16 ---> Running in 60f34fb0e7ca 20:41:16 noop 20:41:16 Removing intermediate container 60f34fb0e7ca 20:41:16 ---> 21e01a19f396 20:41:16 Successfully built 21e01a19f396 20:41:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:16 + docker inspect -f . ci-base-image-arm64 20:41:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:17 prd-ubuntu20.04-docker-arm64-4c-16g-117319 does not seem to be running inside a container 20:41:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:41:18 $ docker top 147336bf59e7f985dd31bb47dd6d68628deed6295228066c08fdfcdd78229984 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:19 + go version 20:41:19 go version go1.18.7 linux/arm64 [Pipeline] } 20:41:19 $ docker stop --time=1 147336bf59e7f985dd31bb47dd6d68628deed6295228066c08fdfcdd78229984 20:41:21 $ docker rm -f 147336bf59e7f985dd31bb47dd6d68628deed6295228066c08fdfcdd78229984 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:21 + docker inspect -f . ci-base-image-arm64 20:41:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:22 prd-ubuntu20.04-docker-arm64-4c-16g-117319 does not seem to be running inside a container 20:41:22 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:41:23 $ docker top 44490c4da09b373981e68e7e30a406bb231f6490477bb27567c6c04579fba1e7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:24 + git config --global --add safe.directory /w/workspace/device-virtual-go/5 [Pipeline] fileExists [Pipeline] sh 20:41:25 + make test 20:41:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:41:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:43:18 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:43:18 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.150s coverage: 65.7% of statements 20:43:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:43:18 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:43:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:43:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:43:33 ./bin/test-attribution-txt.sh [Pipeline] echo 20:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:43:34 $ docker stop --time=1 44490c4da09b373981e68e7e30a406bb231f6490477bb27567c6c04579fba1e7 20:43:35 $ docker rm -f 44490c4da09b373981e68e7e30a406bb231f6490477bb27567c6c04579fba1e7 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:37 Warning: overwriting stash ‘coverage-report’ 20:43:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:43:38 + ls -al . 20:43:38 total 200 20:43:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:41 . 20:43:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:38 .. 20:43:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:39 .git 20:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:39 .github 20:43:38 -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 20:39 .gitignore 20:43:38 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:39 .golangci.yml 20:43:38 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 20:39 Attribution.txt 20:43:38 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 20:39 CHANGELOG.md 20:43:38 -rw-rw-r-- 1 jenkins jenkins 1709 Oct 26 20:39 Dockerfile 20:43:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:39 GOVERNANCE.md 20:43:38 -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 20:39 Jenkinsfile 20:43:38 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:39 LICENSE 20:43:38 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 20:39 Makefile 20:43:38 -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 20:39 OWNERS.md 20:43:38 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 20:39 README.md 20:43:38 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:36 VERSION 20:43:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:39 bin 20:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:39 cmd 20:43:38 -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 20:43 coverage.out 20:43:38 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 20:39 go.mod 20:43:38 -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 20:39 go.sum 20:43:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:39 internal 20:43:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:39 snap 20:43:38 -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 20:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:38 + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1baba3f0330e43e27ddf533a45f96232cf710628 --label arch=arm64 --label version=0.0.0 . 20:43:38 Sending build context to Docker daemon 11.84MB 20:43:39 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:43:39 Step 2/25 : FROM ${BASE} AS builder 20:43:39 ---> 21e01a19f396 20:43:39 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:43:39 ---> Running in 7ab0d5b804c7 20:43:39 Removing intermediate container 7ab0d5b804c7 20:43:39 ---> 168aeeab8dd0 20:43:39 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 20:43:39 ---> Running in b1ea57364961 20:43:40 Removing intermediate container b1ea57364961 20:43:40 ---> faef1cef6a79 20:43:40 Step 5/25 : ARG ADD_BUILD_TAGS="" 20:43:40 ---> Running in 43e524226047 20:43:40 Removing intermediate container 43e524226047 20:43:40 ---> 76a6a3a17244 20:43:40 Step 6/25 : WORKDIR /device-virtual-go 20:43:40 ---> Running in 5ccaa278a3f5 20:43:40 Removing intermediate container 5ccaa278a3f5 20:43:40 ---> 64d5dba129d2 20:43:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:41 ---> Running in e5ca5691be81 20:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:43:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:43:43 OK: 226 MiB in 55 packages 20:43:44 Removing intermediate container e5ca5691be81 20:43:44 ---> 9a47216323ad 20:43:44 Step 8/25 : COPY go.mod vendor* ./ 20:43:45 ---> b3d0da110a71 20:43:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:45 ---> Running in 41b9555e7b90 20:43:48 Removing intermediate container 41b9555e7b90 20:43:48 ---> bb847a5c1d04 20:43:48 Step 10/25 : COPY . . 20:43:49 ---> e90b4ec08eed 20:43:49 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:49 ---> Running in d49fce0c5697 20:43:49 Removing intermediate container d49fce0c5697 20:43:49 ---> 3e1ec92d2841 20:43:49 Step 12/25 : RUN $MAKE 20:43:49 ---> Running in 59d85368f217 20:43:50 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 20:46:43 Removing intermediate container 59d85368f217 20:46:43 ---> 6b2cb6b27ddd 20:46:43 Step 13/25 : FROM alpine:3.16 20:46:43 3.16: Pulling from library/alpine 20:46:43 9b18e9b68314: Already exists 20:46:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:46:43 Status: Downloaded newer image for alpine:3.16 20:46:43 ---> a6215f271958 20:46:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:46:43 ---> Running in c402151376df 20:46:43 Removing intermediate container c402151376df 20:46:43 ---> 777f394f4d91 20:46:43 Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init 20:46:43 ---> Running in 968328de3b4b 20:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:46:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:46:43 (1/6) Installing dumb-init (1.2.5-r1) 20:46:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:46:43 (3/6) Installing libsodium (1.0.18-r0) 20:46:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:46:43 (5/6) Installing libzmq (4.3.4-r0) 20:46:43 (6/6) Installing zeromq (4.3.4-r0) 20:46:43 Executing busybox-1.35.0-r17.trigger 20:46:43 OK: 8 MiB in 20 packages 20:46:43 Removing intermediate container 968328de3b4b 20:46:43 ---> 723d87a88727 20:46:43 Step 16/25 : WORKDIR / 20:46:43 ---> Running in 3bd3b414ce6e 20:46:43 Removing intermediate container 3bd3b414ce6e 20:46:43 ---> fa39d7bf38c4 20:46:43 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:46:43 ---> 4bc16b2a800c 20:46:43 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 20:46:43 ---> 9c36483949de 20:46:43 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 20:46:43 ---> 5618d9423ce5 20:46:43 Step 20/25 : EXPOSE 59900 20:46:43 ---> Running in ba335413ee3a 20:46:43 Removing intermediate container ba335413ee3a 20:46:43 ---> 4043f02b6629 20:46:43 Step 21/25 : ENTRYPOINT ["/device-virtual"] 20:46:43 ---> Running in ca06642b2ce8 20:46:43 Removing intermediate container ca06642b2ce8 20:46:43 ---> 150cf522a957 20:46:43 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:46:43 ---> Running in 014584ecb863 20:46:43 Removing intermediate container 014584ecb863 20:46:43 ---> 6f7fddbb7584 20:46:43 Step 23/25 : LABEL arch=arm64 20:46:43 ---> Running in e7a2577d86eb 20:46:43 Removing intermediate container e7a2577d86eb 20:46:43 ---> 55506fa96fe4 20:46:43 Step 24/25 : LABEL git_sha=1baba3f0330e43e27ddf533a45f96232cf710628 20:46:43 ---> Running in 3f2aaa876d57 20:46:43 Removing intermediate container 3f2aaa876d57 20:46:43 ---> 5f25079de47e 20:46:43 Step 25/25 : LABEL version=0.0.0 20:46:43 ---> Running in 5186cae9fe69 20:46:43 Removing intermediate container 5186cae9fe69 20:46:43 ---> e8d9f052abe2 20:46:43 [Warning] One or more build-args [ARCH] were not consumed 20:46:43 Successfully built e8d9f052abe2 20:46:43 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 20:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:43 20:46:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:43 arm64: Pulling from edgex-lftools-log-publisher 20:46:43 8998bd30e6a1: Pulling fs layer 20:46:43 04944245beec: Pulling fs layer 20:46:43 699f458cf7ca: Pulling fs layer 20:46:43 765212b225bb: Pulling fs layer 20:46:43 f23df028b6ca: Pulling fs layer 20:46:43 d65c8cfc05b1: Pulling fs layer 20:46:43 2437ff75d9bd: Pulling fs layer 20:46:43 f23df028b6ca: Waiting 20:46:43 d65c8cfc05b1: Waiting 20:46:43 2437ff75d9bd: Waiting 20:46:43 765212b225bb: Waiting 20:46:44 04944245beec: Verifying Checksum 20:46:44 04944245beec: Download complete 20:46:44 765212b225bb: Verifying Checksum 20:46:44 765212b225bb: Download complete 20:46:44 f23df028b6ca: Download complete 20:46:44 d65c8cfc05b1: Verifying Checksum 20:46:44 d65c8cfc05b1: Download complete 20:46:44 699f458cf7ca: Verifying Checksum 20:46:44 8998bd30e6a1: Verifying Checksum 20:46:44 8998bd30e6a1: Download complete 20:46:47 2437ff75d9bd: Verifying Checksum 20:46:47 2437ff75d9bd: Download complete 20:46:48 8998bd30e6a1: Pull complete 20:46:49 04944245beec: Pull complete 20:46:50 699f458cf7ca: Pull complete 20:46:50 765212b225bb: Pull complete 20:46:51 f23df028b6ca: Pull complete 20:46:51 d65c8cfc05b1: Pull complete 20:47:06 2437ff75d9bd: Pull complete 20:47:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:47:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:47:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:06 prd-ubuntu20.04-docker-arm64-4c-16g-117319 does not seem to be running inside a container 20:47:06 $ 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/5 -v /w/workspace/device-virtual-go/5:/w/workspace/device-virtual-go/5:rw,z -v /w/workspace/device-virtual-go/5@tmp:/w/workspace/device-virtual-go/5@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:47:09 $ docker top 3b394956392d691c236c0b650b29c83fb2890b64969faacb1266c2f1d28986b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:10 ---> job-cost.sh 20:47:10 lf-activate-venv: SKIPPING 20:47:10 INFO: No Stack... 20:47:10 INFO: Retrieving Pricing Info for: v3-standard-4 20:47:11 INFO: Archiving Costs [Pipeline] sh 20:47:12 + cat /w/workspace/device-virtual-go/5/archives/cost.csv 20:47:12 + cut -d, -f6 [Pipeline] lock 20:47:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] 20:47:12 Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] did not exist. Created. 20:47:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:13 /w/workspace/device-virtual-go/5@tmp/durable-257215d9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:47:13 + echo total: 0.10999999940395355 [Pipeline] stash 20:47:13 Warning: overwriting stash ‘stack-cost’ 20:47:13 Stashed 1 file(s) [Pipeline] } 20:47:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-5-stack-cost] [Pipeline] // lock [Pipeline] } 20:47:13 $ docker stop --time=1 3b394956392d691c236c0b650b29c83fb2890b64969faacb1266c2f1d28986b1 20:47:15 $ docker rm -f 3b394956392d691c236c0b650b29c83fb2890b64969faacb1266c2f1d28986b1 [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 20:47:15 provisioning config files... 20:47:15 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config14355156618227892267tmp [Pipeline] { [Pipeline] sh 20:47:16 + set +x 20:47:16 + curl -s https://codecov.io/bash 20:47:16 + bash -s -- 20:47:16 20:47:16 _____ _ 20:47:16 / ____| | | 20:47:16 | | ___ __| | ___ ___ _____ __ 20:47:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:47:16 | |___| (_) | (_| | __/ (_| (_) \ V / 20:47:16 \_____\___/ \__,_|\___|\___\___/ \_/ 20:47:16 Bash-1.0.6 20:47:16 20:47:16 20:47:16 ==> git version 2.25.1 found 20:47:16 ==> 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 20:47:16 Release-Date: 2020-01-08 20:47:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:47:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:47:16 ==> Jenkins CI detected. 20:47:16 current dir:  /w/workspace/foundry_device-virtual-go_PR-317 20:47:16 project root: . 20:47:16 --> token set from env 20:47:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:47:16 ==> Running gcov in . (disable via -X gcov) 20:47:16 ==> Python coveragepy not found 20:47:16 ==> Searching for coverage reports in: 20:47:16 + . 20:47:16 -> Found 1 reports 20:47:16 ==> Detecting git/mercurial file structure 20:47:16 ==> Reading reports 20:47:16 + ./coverage.out bytes=44128 20:47:16 ==> Appending adjustments 20:47:16 https://docs.codecov.io/docs/fixing-reports 20:47:16 + Found adjustments 20:47:16 ==> Gzipping contents 20:47:16 8.0K /tmp/codecov.4Zt7cK.gz 20:47:16 ==> Uploading reports 20:47:16 url: https://codecov.io 20:47:16 query: branch=PR-317&commit=1baba3f0330e43e27ddf533a45f96232cf710628&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= 20:47:16 -> Pinging Codecov 20:47:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-317&commit=1baba3f0330e43e27ddf533a45f96232cf710628&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= 20:47:16 -> Uploading to 20:47:16 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/5E52B4B073DB2E39498172D8E973AA87/1baba3f0330e43e27ddf533a45f96232cf710628/1fced7d7-2e90-40ff-899d-be457aff0b59.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T204716Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3d16affbb8f3d78a9072afcec11b2f73906d6a84d267d2a9fad78de7ba81d0f 20:47:16 % Total % Received % Xferd Average Speed Time Time Time Current 20:47:16 Dload Upload Total Spent Left Speed 20:47:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5478 0 0 100 5478 0 24900 --:--:-- --:--:-- --:--:-- 24900 20:47:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/1baba3f0330e43e27ddf533a45f96232cf710628 [Pipeline] } 20:47:16 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 20:47:17 + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] 20:47:17 + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives 20:47:17 total 16 20:47:17 drwxr-xr-x 3 root root 4096 Oct 26 20:38 . 20:47:17 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:38 .. 20:47:17 drwxr-xr-x 2 root root 4096 Oct 26 20:38 cost 20:47:17 -rw-r--r-- 1 root root 89 Oct 26 20:38 cost.csv 20:47:17 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives 20:47:17 + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives 20:47:17 total 16 20:47:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:38 . 20:47:17 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:38 .. 20:47:17 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:38 cost 20:47:17 -rw-r--r-- 1 jenkins jenkins 89 Oct 26 20:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:47:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:47:18 ---> package-listing.sh 20:47:18 ++ facter osfamily 20:47:18 ++ tr '[:upper:]' '[:lower:]' 20:47:18 + OS_FAMILY=debian 20:47:18 + workspace=/w/workspace/foundry_device-virtual-go_PR-317 20:47:18 + START_PACKAGES=/tmp/packages_start.txt 20:47:18 + END_PACKAGES=/tmp/packages_end.txt 20:47:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:47:18 + PACKAGES=/tmp/packages_start.txt 20:47:18 + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' 20:47:18 + PACKAGES=/tmp/packages_end.txt 20:47:18 + case "${OS_FAMILY}" in 20:47:18 + dpkg -l 20:47:18 + grep '^ii' 20:47:18 + '[' -f /tmp/packages_start.txt ']' 20:47:18 + '[' -f /tmp/packages_end.txt ']' 20:47:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:47:18 + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' 20:47:18 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ 20:47:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-317/archives/ [Pipeline] echo 20:47:18 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-317/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:47:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:19 prd-ubuntu20.04-docker-8c-8g-117314 does not seem to be running inside a container 20:47:19 $ 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-317/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-317 -v /w/workspace/foundry_device-virtual-go_PR-317:/w/workspace/foundry_device-virtual-go_PR-317:rw,z -v /w/workspace/foundry_device-virtual-go_PR-317@tmp:/w/workspace/foundry_device-virtual-go_PR-317@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:47:20 $ docker top f27d95245cc27c59a4e195bf56d567d70ff61bc7e3295d8478855f19807b04a5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:20 + touch /tmp/pre-build-complete [Pipeline] sh 20:47:20 + mkdir -p /var/log/sysstat [Pipeline] sh 20:47:21 + ls /var/log/sa-host 20:47:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:21 provisioning config files... 20:47:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config8318430920579773275tmp [Pipeline] { [Pipeline] echo 20:47:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:47:21 ---> create-netrc.sh [Pipeline] } 20:47:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:47:21 ---> python-tools-install.sh [Pipeline] echo 20:47:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:47:22 ---> sudo-logs.sh 20:47:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:47:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:47:22 ---> job-cost.sh 20:47:22 lf-activate-venv: SKIPPING 20:47:22 DEBUG: total: 0.2199999988079071 20:47:22 INFO: Retrieving Stack Cost... 20:47:22 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:23 INFO: Archiving Costs [Pipeline] echo 20:47:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:47:23 ---> logs-deploy.sh 20:47:23 lf-activate-venv: SKIPPING 20:47:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/5 20:47:23 INFO: archiving workspace using pattern(s): 20:47:24 Archives upload complete. 20:47:24 INFO: archiving logs to Nexus 20:47:25 ---> uname -a: 20:47:25 Linux prd-ubuntu20-04-docker-8c-8g-117314 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:47:25 20:47:25 20:47:25 ---> lscpu: 20:47:25 Architecture: x86_64 20:47:25 CPU op-mode(s): 32-bit, 64-bit 20:47:25 Byte Order: Little Endian 20:47:25 Address sizes: 40 bits physical, 48 bits virtual 20:47:25 CPU(s): 8 20:47:25 On-line CPU(s) list: 0-7 20:47:25 Thread(s) per core: 1 20:47:25 Core(s) per socket: 1 20:47:25 Socket(s): 8 20:47:25 NUMA node(s): 1 20:47:25 Vendor ID: AuthenticAMD 20:47:25 CPU family: 23 20:47:25 Model: 49 20:47:25 Model name: AMD EPYC-Rome Processor 20:47:25 Stepping: 0 20:47:25 CPU MHz: 2799.988 20:47:25 BogoMIPS: 5599.97 20:47:25 Virtualization: AMD-V 20:47:25 Hypervisor vendor: KVM 20:47:25 Virtualization type: full 20:47:25 L1d cache: 256 KiB 20:47:25 L1i cache: 256 KiB 20:47:25 L2 cache: 4 MiB 20:47:25 L3 cache: 128 MiB 20:47:25 NUMA node0 CPU(s): 0-7 20:47:25 Vulnerability Itlb multihit: Not affected 20:47:25 Vulnerability L1tf: Not affected 20:47:25 Vulnerability Mds: Not affected 20:47:25 Vulnerability Meltdown: Not affected 20:47:25 Vulnerability Mmio stale data: Not affected 20:47:25 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:47:25 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:47:25 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:47:25 Vulnerability Srbds: Not affected 20:47:25 Vulnerability Tsx async abort: Not affected 20:47:25 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:47:25 20:47:25 20:47:25 ---> nproc: 20:47:25 8 20:47:25 20:47:25