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 b442787d94312e06e4a88d8e9302be5c07189cfc 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-ssh8343230141327145413.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-ssh8169378131138900841.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-ssh9784583853939283540.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-ssh7596510750647397267.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-ssh17762137964256095943.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-117292 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 b442787d94312e06e4a88d8e9302be5c07189cfc Merge succeeded, producing b442787d94312e06e4a88d8e9302be5c07189cfc Checking out Revision b442787d94312e06e4a88d8e9302be5c07189cfc (PR-317) > git config core.sparsecheckout # timeout=10 > git checkout -f b442787d94312e06e4a88d8e9302be5c07189cfc # 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 b442787d94312e06e4a88d8e9302be5c07189cfc # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:12:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:12:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:12:40 ========================================================= 20:12:40 EdgeX Global Pipelines Version Info 20:12:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:12:41 ------------------- 20:12:41 stable info: 20:12:41 ------------------- 20:12:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:12:41 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:12:41 Message: update stable to v1.0.243 > git rev-list --no-walk d9aa0f2e4f0f638f73d89afc540500486731f321 # timeout=10 20:12:42 ------------------- 20:12:42 experimental info: 20:12:42 ------------------- 20:12:42 Commited By: **** collab-it+edgex@linuxfoundation.org 20:12:42 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:12:42 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-317 [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-317 [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-317 [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b442787 [Pipeline] echo 20:12:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:42 provisioning config files... 20:12:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config12155674884839929284tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:42 ---> docker-login.sh 20:12:42 nexus3.edgexfoundry.org:10001 20:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:43 Configure a credential helper to remove this warning. See 20:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:43 20:12:43 Login Succeeded 20:12:43 nexus3.edgexfoundry.org:10002 20:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:43 Configure a credential helper to remove this warning. See 20:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:43 20:12:43 Login Succeeded 20:12:43 nexus3.edgexfoundry.org:10003 20:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:43 Configure a credential helper to remove this warning. See 20:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:43 20:12:43 Login Succeeded 20:12:43 nexus3.edgexfoundry.org:10004 20:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:43 Configure a credential helper to remove this warning. See 20:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:43 20:12:43 Login Succeeded 20:12:43 docker.io 20:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:44 Configure a credential helper to remove this warning. See 20:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:44 20:12:44 Login Succeeded 20:12:44 ---> docker-login.sh ends [Pipeline] } 20:12:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:12:44 + git rev-list -1 --merges b442787d94312e06e4a88d8e9302be5c07189cfc~1..b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] echo 20:12:44 -----------> git rev-list -1 --merges b442787d94312e06e4a88d8e9302be5c07189cfc~1..b442787d94312e06e4a88d8e9302be5c07189cfc b442787d94312e06e4a88d8e9302be5c07189cfc [false] [Pipeline] sh 20:12:44 + git log --format=format:%s -1 b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] echo 20:12:44 ========================================================= 20:12:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:12:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:12:45 + git log --format=format:%s -1 b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] echo 20:12:45 [semverPrep] GIT_COMMIT: b442787d94312e06e4a88d8e9302be5c07189cfc, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 20:12:45 [semverPrep] This is not a build commit. [Pipeline] sh 20:12:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:12:45 + grep -v github /etc/ssh/ssh_known_hosts 20:12:45 + [ -e /tmp/ssh_known_hosts ] 20:12:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:12:45 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:12:45 sudo tee -a /etc/ssh/ssh_known_hosts 20:12:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:12:45 20:12:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:12:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:12:46 0.1.4: Pulling from edgex-devops/py-git-semver 20:12:46 b85a868b505f: Pulling fs layer 20:12:46 e2be974225ed: Pulling fs layer 20:12:46 339a4e72a1f5: Pulling fs layer 20:12:46 988bab9f4d93: Pulling fs layer 20:12:46 1469e6f7b9e6: Pulling fs layer 20:12:46 eaf3925da568: Pulling fs layer 20:12:46 bab4dde63d76: Pulling fs layer 20:12:46 bde34c3a00c8: Pulling fs layer 20:12:46 b352a97aabf1: Pulling fs layer 20:12:46 4872d77fe225: Pulling fs layer 20:12:46 5851b861e8e6: Pulling fs layer 20:12:46 988bab9f4d93: Waiting 20:12:46 bde34c3a00c8: Waiting 20:12:46 eaf3925da568: Waiting 20:12:46 b352a97aabf1: Waiting 20:12:46 bab4dde63d76: Waiting 20:12:46 4872d77fe225: Waiting 20:12:46 5851b861e8e6: Waiting 20:12:46 1469e6f7b9e6: Waiting 20:12:46 e2be974225ed: Verifying Checksum 20:12:46 e2be974225ed: Download complete 20:12:46 1469e6f7b9e6: Verifying Checksum 20:12:46 1469e6f7b9e6: Download complete 20:12:46 eaf3925da568: Download complete 20:12:46 339a4e72a1f5: Verifying Checksum 20:12:46 339a4e72a1f5: Download complete 20:12:46 bde34c3a00c8: Download complete 20:12:46 b352a97aabf1: Download complete 20:12:46 4872d77fe225: Download complete 20:12:46 5851b861e8e6: Verifying Checksum 20:12:46 5851b861e8e6: Download complete 20:12:46 b85a868b505f: Verifying Checksum 20:12:46 b85a868b505f: Download complete 20:12:47 bab4dde63d76: Verifying Checksum 20:12:47 bab4dde63d76: Download complete 20:12:47 b85a868b505f: Pull complete 20:12:48 e2be974225ed: Pull complete 20:12:48 339a4e72a1f5: Pull complete 20:12:48 988bab9f4d93: Pull complete 20:12:49 1469e6f7b9e6: Pull complete 20:12:49 eaf3925da568: Pull complete 20:12:51 bab4dde63d76: Pull complete 20:12:51 bde34c3a00c8: Pull complete 20:12:51 b352a97aabf1: Pull complete 20:12:51 4872d77fe225: Pull complete 20:12:51 5851b861e8e6: Pull complete 20:12:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:12:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:12:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:12:51 prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container 20:12:51 $ 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:12:52 $ docker top b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b -eo pid,comm 20:12:53 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:12:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:12:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:12:53 [ssh-agent] Looking for ssh-agent implementation... 20:12:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:12:53 $ docker exec b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b ssh-agent 20:12:53 SSH_AUTH_SOCK=/tmp/ssh-tq8sHemwf5P3/agent.33 20:12:53 SSH_AGENT_PID=39 20:12:53 Running ssh-add (command line suppressed) 20:12:53 Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_1148669711261555526.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_1148669711261555526.key) 20:12:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:12:53 + git tag --points-at HEAD [Pipeline] } 20:12:53 $ docker exec --env ******** --env ******** b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b ssh-agent -k 20:12:53 unset SSH_AUTH_SOCK; 20:12:53 unset SSH_AGENT_PID; 20:12:53 echo Agent pid 39 killed; 20:12:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:12:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:12:53 [ssh-agent] Looking for ssh-agent implementation... 20:12:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:12:53 $ docker exec b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b ssh-agent 20:12:54 SSH_AUTH_SOCK=/tmp/ssh-3W3xihej3AQM/agent.71 20:12:54 SSH_AGENT_PID=77 20:12:54 Running ssh-add (command line suppressed) 20:12:54 Identity added: /w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_18317255215096171096.key (/w/workspace/foundry_device-virtual-go_PR-317@tmp/private_key_18317255215096171096.key) 20:12:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:12:54 + git semver init 20:12:54 2022-10-26 20:12:54,758 [run_init] DEBUG init version:0.0.0 force:False 20:12:54 2022-10-26 20:12:54,759 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-317/.semver 20:12:54 2022-10-26 20:12:54,760 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-317/.semver 20:12:54 2022-10-26 20:12:54,760 [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:12:56 2022-10-26 20:12:55,924 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-317/.git/info/exclude 20:12:56 2022-10-26 20:12:55,924 [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:12:56 2022-10-26 20:12:55,925 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 20:12:56 2022-10-26 20:12:55,929 [execute] INFO git cat-file --batch-check 20:12:56 2022-10-26 20:12:55,930 [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:12:56 2022-10-26 20:12:55,936 [execute] INFO git cat-file --batch 20:12:56 2022-10-26 20:12:55,937 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-317/.semver, universal_newlines=False, shell=None, istream=) 20:12:56 2022-10-26 20:12:55,942 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-317/.semver/PR-317 20:12:56 0.0.0 [Pipeline] } 20:12:56 $ docker exec --env ******** --env ******** b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b ssh-agent -k 20:12:56 unset SSH_AUTH_SOCK; 20:12:56 unset SSH_AGENT_PID; 20:12:56 echo Agent pid 77 killed; 20:12:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:12:56 + git semver [Pipeline] } 20:12:56 $ docker stop --time=1 b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b 20:12:58 $ docker rm -f b023a4bc661e75e3352ddd96fceeeef4d595d22d4e41d2b1e6bd8e8fc7fe900b [Pipeline] // withDockerContainer [Pipeline] sh 20:12:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:12:58 Stashed 1 file(s) [Pipeline] echo 20:12:58 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:59 provisioning config files... 20:12:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config14179663666485634252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:12:59 ---> docker-login.sh 20:12:59 nexus3.edgexfoundry.org:10001 20:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:59 Configure a credential helper to remove this warning. See 20:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:59 20:12:59 Login Succeeded 20:12:59 nexus3.edgexfoundry.org:10002 20:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:59 Configure a credential helper to remove this warning. See 20:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:59 20:12:59 Login Succeeded 20:12:59 nexus3.edgexfoundry.org:10003 20:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:59 Configure a credential helper to remove this warning. See 20:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:59 20:12:59 Login Succeeded 20:12:59 nexus3.edgexfoundry.org:10004 20:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:12:59 Configure a credential helper to remove this warning. See 20:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:12:59 20:12:59 Login Succeeded 20:12:59 docker.io 20:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:00 Configure a credential helper to remove this warning. See 20:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:00 20:13:00 Login Succeeded 20:13:00 ---> docker-login.sh ends [Pipeline] } 20:13:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:13:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:13:00 ========================================================= 20:13:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:13:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:00 + 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:13:00 Sending build context to Docker daemon 23.27MB 20:13:00 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:13:00 Step 2/12 : FROM ${BASE} AS builder 20:13:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:13:00 213ec9aee27d: Pulling fs layer 20:13:00 4583459ba037: Pulling fs layer 20:13:00 93c1e223e6f2: Pulling fs layer 20:13:00 53926ce57604: Pulling fs layer 20:13:00 21b2b0c7a3f4: Pulling fs layer 20:13:00 30f14e443154: Pulling fs layer 20:13:00 801331c1e519: Pulling fs layer 20:13:00 99cc6dd402b0: Pulling fs layer 20:13:00 7d9ed39f4882: Pulling fs layer 20:13:00 801331c1e519: Waiting 20:13:00 99cc6dd402b0: Waiting 20:13:00 7d9ed39f4882: Waiting 20:13:00 21b2b0c7a3f4: Waiting 20:13:00 30f14e443154: Waiting 20:13:00 93c1e223e6f2: Download complete 20:13:00 4583459ba037: Verifying Checksum 20:13:00 4583459ba037: Download complete 20:13:00 21b2b0c7a3f4: Verifying Checksum 20:13:00 21b2b0c7a3f4: Download complete 20:13:00 213ec9aee27d: Verifying Checksum 20:13:00 213ec9aee27d: Download complete 20:13:00 801331c1e519: Download complete 20:13:01 213ec9aee27d: Pull complete 20:13:01 4583459ba037: Pull complete 20:13:01 93c1e223e6f2: Pull complete 20:13:01 7d9ed39f4882: Verifying Checksum 20:13:01 7d9ed39f4882: Download complete 20:13:01 53926ce57604: Download complete 20:13:01 99cc6dd402b0: Verifying Checksum 20:13:01 99cc6dd402b0: Download complete 20:13:05 53926ce57604: Pull complete 20:13:05 21b2b0c7a3f4: Pull complete 20:13:05 30f14e443154: Pull complete 20:13:05 801331c1e519: Pull complete 20:13:08 99cc6dd402b0: Pull complete 20:13:08 7d9ed39f4882: Pull complete 20:13:08 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:13:08 ---> 1dedd983c030 20:13:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:13:10 ---> Running in 3806eff737ed 20:13:10 Removing intermediate container 3806eff737ed 20:13:10 ---> d94d32b1ba74 20:13:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:13:10 ---> Running in bb0fba9d5f43 20:13:10 Removing intermediate container bb0fba9d5f43 20:13:10 ---> 418309b25f19 20:13:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:13:10 ---> Running in 2a0dbf3129a4 20:13:11 Removing intermediate container 2a0dbf3129a4 20:13:11 ---> 4ffacdbf93bf 20:13:11 Step 6/12 : WORKDIR /device-virtual-go 20:13:11 ---> Running in f7d67c695c52 20:13:11 Removing intermediate container f7d67c695c52 20:13:11 ---> be03704addaa 20:13:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:11 ---> Running in 9704e89c605b 20:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:13:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:13:11 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:13:11 (2/4) Installing libedit (20210910.3.1-r0) 20:13:11 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:13:11 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:13:11 Executing busybox-1.35.0-r17.trigger 20:13:11 OK: 216 MiB in 55 packages 20:13:12 Removing intermediate container 9704e89c605b 20:13:12 ---> 05cbbe3f35c0 20:13:12 Step 8/12 : COPY go.mod vendor* ./ 20:13:12 ---> 304ca250e0f5 20:13:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:13:12 ---> Running in c8a0d37b928a 20:13:14 Still waiting to schedule task 20:13:14 ‘prd-ubuntu20.04-docker-8c-8g-117271’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:13:14 ‘prd-ubuntu20.04-docker-8c-8g-117291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 20:13:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117281’ is offline 20:13:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117284’ is offline 20:13:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117294’ is offline 20:13:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-117295’ is offline 20:13:30 Removing intermediate container c8a0d37b928a 20:13:30 ---> a051fc027cff 20:13:30 Step 10/12 : COPY . . 20:13:30 ---> 7278d7698577 20:13:30 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:13:30 ---> Running in 21963d6158aa 20:13:30 Removing intermediate container 21963d6158aa 20:13:30 ---> 0a3d8b55c262 20:13:30 Step 12/12 : RUN $MAKE 20:13:30 ---> Running in 353cb7202557 20:13:30 noop 20:13:30 Removing intermediate container 353cb7202557 20:13:30 ---> 71b97d75bda4 20:13:30 Successfully built 71b97d75bda4 20:13:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:31 + docker inspect -f . ci-base-image-x86_64 20:13:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:31 prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container 20:13:31 $ 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:13:31 $ docker top 7620190a6d94e0459aa6c636b7769b1cb850a93b50b79bb3c87436a0c95f5d5f -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:31 + go version 20:13:31 go version go1.18.7 linux/amd64 [Pipeline] } 20:13:31 $ docker stop --time=1 7620190a6d94e0459aa6c636b7769b1cb850a93b50b79bb3c87436a0c95f5d5f 20:13:33 $ docker rm -f 7620190a6d94e0459aa6c636b7769b1cb850a93b50b79bb3c87436a0c95f5d5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:33 + docker inspect -f . ci-base-image-x86_64 20:13:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:33 prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container 20:13:33 $ 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:13:34 $ docker top 9ae05c5be4781d9bd9a0754ec34faf80e8c565f55a2e745fb271210ec6183cc7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:13:34 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] fileExists [Pipeline] sh 20:13:34 + make test 20:13:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:13:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:13:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:13:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 20:13:51 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:13:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:13:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:13:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:13:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:13:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:13:55 $ docker stop --time=1 9ae05c5be4781d9bd9a0754ec34faf80e8c565f55a2e745fb271210ec6183cc7 20:13:57 $ docker rm -f 9ae05c5be4781d9bd9a0754ec34faf80e8c565f55a2e745fb271210ec6183cc7 [Pipeline] // withDockerContainer [Pipeline] sh 20:13:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:13:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:13:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:13:58 + ls -al . 20:13:58 total 204 20:13:58 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:13 . 20:13:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:12 .. 20:13:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:13 .git 20:13:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:12 .github 20:13:58 -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 20:12 .gitignore 20:13:58 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:12 .golangci.yml 20:13:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:12 .semver 20:13:58 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 20:12 Attribution.txt 20:13:58 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 20:12 CHANGELOG.md 20:13:58 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 20:12 Dockerfile 20:13:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:12 GOVERNANCE.md 20:13:58 -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 20:12 Jenkinsfile 20:13:58 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:12 LICENSE 20:13:58 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 20:12 Makefile 20:13:58 -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 20:12 OWNERS.md 20:13:58 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 20:12 README.md 20:13:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:12 VERSION 20:13:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:12 bin 20:13:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:12 cmd 20:13:58 -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 20:13 coverage.out 20:13:58 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 20:12 go.mod 20:13:58 -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 20:12 go.sum 20:13:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:12 internal 20:13:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:12 snap 20:13:58 -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:58 + 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=b442787d94312e06e4a88d8e9302be5c07189cfc --label arch=amd64 --label version=0.0.0 . 20:13:58 Sending build context to Docker daemon 23.31MB 20:13:58 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:13:58 Step 2/26 : FROM ${BASE} AS builder 20:13:58 ---> 71b97d75bda4 20:13:58 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:13:59 ---> Running in 51a24902f512 20:13:59 Removing intermediate container 51a24902f512 20:13:59 ---> 222538be880e 20:13:59 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:13:59 ---> Running in 18e574fdcb40 20:13:59 Removing intermediate container 18e574fdcb40 20:13:59 ---> 4d7c20ccb16b 20:13:59 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:13:59 ---> Running in c41b77709318 20:13:59 Removing intermediate container c41b77709318 20:13:59 ---> 4f7a5f46c6eb 20:13:59 Step 6/26 : WORKDIR /device-virtual-go 20:13:59 ---> Running in 428ddcff3295 20:13:59 Removing intermediate container 428ddcff3295 20:13:59 ---> 73214041b82b 20:13:59 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:13:59 ---> Running in acdd1c908874 20:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:13:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:14:00 OK: 216 MiB in 55 packages 20:14:00 Removing intermediate container acdd1c908874 20:14:00 ---> a3d0ab5182cf 20:14:00 Step 8/26 : COPY go.mod vendor* ./ 20:14:00 ---> 8b404becf40e 20:14:00 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:00 ---> Running in cf2ae3627c38 20:14:01 Removing intermediate container cf2ae3627c38 20:14:01 ---> 198feb9945e9 20:14:01 Step 10/26 : COPY . . 20:14:01 ---> 84e08c04d118 20:14:01 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:14:01 ---> Running in 3a46c0b007af 20:14:02 Removing intermediate container 3a46c0b007af 20:14:02 ---> 472a23fe2cdf 20:14:02 Step 12/26 : RUN $MAKE 20:14:02 ---> Running in 7ef1e6d48aae 20:14:02 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:14:24 Removing intermediate container 7ef1e6d48aae 20:14:24 ---> cb4cb3744ee5 20:14:24 Step 13/26 : FROM alpine:3.16 20:14:24 3.16: Pulling from library/alpine 20:14:24 213ec9aee27d: Already exists 20:14:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:14:24 Status: Downloaded newer image for alpine:3.16 20:14:24 ---> 9c6f07244728 20:14:24 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:14:24 ---> Running in 475e01109b13 20:14:24 Removing intermediate container 475e01109b13 20:14:24 ---> f86f446f91a8 20:14:24 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:24 ---> Running in 40f6742f51d3 20:14:24 Removing intermediate container 40f6742f51d3 20:14:24 ---> 38d76f1440ed 20:14:24 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:14:24 ---> Running in 39e9646fdbff 20:14:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:14:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:14:24 (1/6) Installing dumb-init (1.2.5-r1) 20:14:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:14:24 (3/6) Installing libsodium (1.0.18-r0) 20:14:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:14:25 (5/6) Installing libzmq (4.3.4-r0) 20:14:26 (6/6) Installing zeromq (4.3.4-r0) 20:14:26 Executing busybox-1.35.0-r17.trigger 20:14:26 OK: 8 MiB in 20 packages 20:14:26 Removing intermediate container 39e9646fdbff 20:14:26 ---> 74b9ba8b9f63 20:14:26 Step 17/26 : WORKDIR / 20:14:27 ---> Running in 03f16d65a893 20:14:27 Removing intermediate container 03f16d65a893 20:14:27 ---> dac6383219e0 20:14:27 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:14:27 ---> 41c6f67b23ec 20:14:27 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:14:27 ---> cbe2ec6b141e 20:14:27 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:14:27 ---> f56195539b89 20:14:27 Step 21/26 : EXPOSE 59900 20:14:27 ---> Running in 18ae8f7374bc 20:14:28 Removing intermediate container 18ae8f7374bc 20:14:28 ---> 217fbda8568f 20:14:28 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:14:28 ---> Running in 1f59c02ba79a 20:14:28 Removing intermediate container 1f59c02ba79a 20:14:28 ---> f21b8ebd3694 20:14:28 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:14:28 ---> Running in 4fa371ac2bd4 20:14:28 Removing intermediate container 4fa371ac2bd4 20:14:28 ---> 608be0864e1a 20:14:28 Step 24/26 : LABEL arch=amd64 20:14:28 ---> Running in 459e120b6f33 20:14:28 Removing intermediate container 459e120b6f33 20:14:28 ---> 67f68705f7ae 20:14:28 Step 25/26 : LABEL git_sha=b442787d94312e06e4a88d8e9302be5c07189cfc 20:14:28 ---> Running in add09e0c834b 20:14:28 Removing intermediate container add09e0c834b 20:14:28 ---> a834df9cc78d 20:14:28 Step 26/26 : LABEL version=0.0.0 20:14:28 ---> Running in 857d70df2351 20:14:28 Removing intermediate container 857d70df2351 20:14:28 ---> 47996dd0cd78 20:14:28 [Warning] One or more build-args [ARCH] were not consumed 20:14:28 Successfully built 47996dd0cd78 20:14:28 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:14:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:29 20:14:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:29 latest: Pulling from edgex-lftools-log-publisher 20:14:29 5eb5b503b376: Pulling fs layer 20:14:29 5c69ac0246d0: Pulling fs layer 20:14:29 ec43610c2a17: Pulling fs layer 20:14:29 3a2ae6a8a46f: Pulling fs layer 20:14:29 33b1e0a273af: Pulling fs layer 20:14:29 5d3b04190fa2: Pulling fs layer 20:14:29 2f39f015ded8: Pulling fs layer 20:14:29 33b1e0a273af: Waiting 20:14:29 3a2ae6a8a46f: Waiting 20:14:29 5d3b04190fa2: Waiting 20:14:29 5c69ac0246d0: Verifying Checksum 20:14:29 5c69ac0246d0: Download complete 20:14:29 3a2ae6a8a46f: Verifying Checksum 20:14:29 33b1e0a273af: Verifying Checksum 20:14:29 33b1e0a273af: Download complete 20:14:29 5d3b04190fa2: Verifying Checksum 20:14:29 5d3b04190fa2: Download complete 20:14:29 ec43610c2a17: Verifying Checksum 20:14:29 ec43610c2a17: Download complete 20:14:29 5eb5b503b376: Verifying Checksum 20:14:29 5eb5b503b376: Download complete 20:14:30 2f39f015ded8: Download complete 20:14:30 5eb5b503b376: Pull complete 20:14:31 5c69ac0246d0: Pull complete 20:14:31 ec43610c2a17: Pull complete 20:14:31 3a2ae6a8a46f: Pull complete 20:14:31 33b1e0a273af: Pull complete 20:14:31 5d3b04190fa2: Pull complete 20:14:36 2f39f015ded8: Pull complete 20:14:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:14:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:36 prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container 20:14:36 $ 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:14:37 $ docker top c5ac3edd2becba129df49ecd4c8f50d476a8c4526057086be344c95c9a9f95bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:38 ---> job-cost.sh 20:14:38 lf-activate-venv: SKIPPING 20:14:38 INFO: No Stack... 20:14:38 INFO: Retrieving Pricing Info for: v3-standard-8 20:14:38 INFO: Archiving Costs [Pipeline] sh 20:14:39 + cat /w/workspace/foundry_device-virtual-go_PR-317/archives/cost.csv 20:14:39 + cut -d, -f6 [Pipeline] lock 20:14:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] 20:14:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] did not exist. Created. 20:14:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:39 + echo total: 0.2199999988079071 [Pipeline] stash 20:14:39 Stashed 1 file(s) [Pipeline] } 20:14:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:14:39 $ docker stop --time=1 c5ac3edd2becba129df49ecd4c8f50d476a8c4526057086be344c95c9a9f95bc 20:14:40 $ docker rm -f c5ac3edd2becba129df49ecd4c8f50d476a8c4526057086be344c95c9a9f95bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:15:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117297 in /w/workspace/foundry_device-virtual-go_PR-317 [Pipeline] { [Pipeline] ws 20:15:02 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 20:15:02 The recommended git tool is: git 20:15:08 using credential edgex-jenkins-ssh 20:15:08 Cloning the remote Git repository 20:15:08 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:15:09 > git init /w/workspace/device-virtual-go/4 # timeout=10 20:15:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:15:09 > git --version # timeout=10 20:15:09 > git --version # 'git version 2.25.1' 20:15:09 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:09 Verifying host key using known hosts file 20:15:09 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:15:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:11 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:15:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:15:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:15:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:15:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:13 Merging remotes/origin/main commit 213c59a90fa2a9f25f91c2628b566ab82c721a2b into PR head commit b442787d94312e06e4a88d8e9302be5c07189cfc 20:15:13 Merge succeeded, producing b442787d94312e06e4a88d8e9302be5c07189cfc 20:15:13 Checking out Revision b442787d94312e06e4a88d8e9302be5c07189cfc (PR-317) 20:15:12 Verifying host key using known hosts file 20:15:12 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:15:13 > 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:15:13 > git config core.sparsecheckout # timeout=10 20:15:13 > git checkout -f b442787d94312e06e4a88d8e9302be5c07189cfc # timeout=10 20:15:13 > git remote # timeout=10 20:15:13 > git config --get remote.origin.url # timeout=10 20:15:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:15:13 Verifying host key using known hosts file 20:15:13 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:15:13 > git merge 213c59a90fa2a9f25f91c2628b566ab82c721a2b # timeout=10 20:15:13 > git rev-parse HEAD^{commit} # timeout=10 20:15:13 > git config core.sparsecheckout # timeout=10 20:15:13 > git checkout -f b442787d94312e06e4a88d8e9302be5c07189cfc # timeout=10 20:15:17 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:15:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:15:18 % Total % Received % Xferd Average Speed Time Time Time Current 20:15:18 Dload Upload Total Spent Left Speed 20:15:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 20:15:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:15:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:15:19 + sudo tee /etc/docker/daemon.new 20:15:19 { 20:15:19 "registry-mirrors": [ 20:15:19 "https://nexus3.edgexfoundry.org:10001" 20:15:19 ], 20:15:19 "bip": "10.250.0.254/24", 20:15:19 "hosts": [ 20:15:19 "tcp://0.0.0.0:5555", 20:15:19 "unix:///var/run/docker.sock" 20:15:19 ], 20:15:19 "mtu": 1458, 20:15:19 "selinux-enabled": true, 20:15:19 "seccomp-profile": "/etc/docker/seccomp.json" 20:15:19 } [Pipeline] sh 20:15:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:15:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:38 provisioning config files... 20:15:38 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config16668899674213975136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:39 ---> docker-login.sh 20:15:39 nexus3.edgexfoundry.org:10001 20:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:39 Configure a credential helper to remove this warning. See 20:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:39 20:15:39 Login Succeeded 20:15:40 nexus3.edgexfoundry.org:10002 20:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:40 Configure a credential helper to remove this warning. See 20:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:40 20:15:40 Login Succeeded 20:15:40 nexus3.edgexfoundry.org:10003 20:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:40 Configure a credential helper to remove this warning. See 20:15:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:40 20:15:40 Login Succeeded 20:15:40 nexus3.edgexfoundry.org:10004 20:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:41 Configure a credential helper to remove this warning. See 20:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:41 20:15:41 Login Succeeded 20:15:41 docker.io 20:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:41 Configure a credential helper to remove this warning. See 20:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:41 20:15:41 Login Succeeded 20:15:41 ---> docker-login.sh ends [Pipeline] } 20:15:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:41 ========================================================= 20:15:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:15:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:15:42 + 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:15:42 Sending build context to Docker daemon 11.8MB 20:15:42 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:15:42 Step 2/12 : FROM ${BASE} AS builder 20:15:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:15:42 9b18e9b68314: Pulling fs layer 20:15:42 d32db5db7311: Pulling fs layer 20:15:42 d0c4b47475fc: Pulling fs layer 20:15:42 5831b945b038: Pulling fs layer 20:15:42 86bbec2aaacd: Pulling fs layer 20:15:42 e10730c5d714: Pulling fs layer 20:15:42 5dd5c2283517: Pulling fs layer 20:15:42 d5ac0230b979: Pulling fs layer 20:15:42 e10730c5d714: Waiting 20:15:42 5dd5c2283517: Waiting 20:15:42 d5ac0230b979: Waiting 20:15:42 86bbec2aaacd: Waiting 20:15:42 d0c4b47475fc: Verifying Checksum 20:15:42 d0c4b47475fc: Download complete 20:15:42 d32db5db7311: Verifying Checksum 20:15:42 d32db5db7311: Download complete 20:15:42 86bbec2aaacd: Verifying Checksum 20:15:42 86bbec2aaacd: Download complete 20:15:43 e10730c5d714: Verifying Checksum 20:15:43 e10730c5d714: Download complete 20:15:43 9b18e9b68314: Verifying Checksum 20:15:43 9b18e9b68314: Download complete 20:15:44 9b18e9b68314: Pull complete 20:15:44 d5ac0230b979: Verifying Checksum 20:15:44 d5ac0230b979: Download complete 20:15:44 d32db5db7311: Pull complete 20:15:44 d0c4b47475fc: Pull complete 20:15:45 5dd5c2283517: Verifying Checksum 20:15:45 5dd5c2283517: Download complete 20:15:46 5831b945b038: Verifying Checksum 20:15:46 5831b945b038: Download complete 20:16:01 5831b945b038: Pull complete 20:16:01 86bbec2aaacd: Pull complete 20:16:01 e10730c5d714: Pull complete 20:16:06 5dd5c2283517: Pull complete 20:16:08 d5ac0230b979: Pull complete 20:16:08 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:16:08 ---> 59b3b1a385d4 20:16:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:16:10 ---> Running in dd700dd31bc5 20:16:10 Removing intermediate container dd700dd31bc5 20:16:10 ---> fe422092159a 20:16:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:16:10 ---> Running in 01252213ddcd 20:16:10 Removing intermediate container 01252213ddcd 20:16:10 ---> d4afc1740b27 20:16:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 20:16:10 ---> Running in e3c6d6f00d11 20:16:11 Removing intermediate container e3c6d6f00d11 20:16:11 ---> 4457a226c085 20:16:11 Step 6/12 : WORKDIR /device-virtual-go 20:16:11 ---> Running in 1ea830551d39 20:16:11 Removing intermediate container 1ea830551d39 20:16:11 ---> 0b731aba75eb 20:16:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:16:12 ---> Running in 84712bc36727 20:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:16:14 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:16:14 (2/4) Installing libedit (20210910.3.1-r0) 20:16:14 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:16:14 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:16:14 Executing busybox-1.35.0-r17.trigger 20:16:14 OK: 226 MiB in 55 packages 20:16:15 Removing intermediate container 84712bc36727 20:16:15 ---> 26280a22a687 20:16:15 Step 8/12 : COPY go.mod vendor* ./ 20:16:16 ---> 474772fd4d72 20:16:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:16:16 ---> Running in 5a728a7f96ee 20:17:13 Removing intermediate container 5a728a7f96ee 20:17:13 ---> 9fc448a81f59 20:17:13 Step 10/12 : COPY . . 20:17:14 ---> cc8a083d2ffc 20:17:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:14 ---> Running in b8c7b24b95ea 20:17:15 Removing intermediate container b8c7b24b95ea 20:17:15 ---> cfb84c743b8d 20:17:15 Step 12/12 : RUN $MAKE 20:17:15 ---> Running in f43e7926713a 20:17:16 noop 20:17:17 Removing intermediate container f43e7926713a 20:17:17 ---> 17dc7a850329 20:17:17 Successfully built 17dc7a850329 20:17:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:17 + docker inspect -f . ci-base-image-arm64 20:17:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:17 prd-ubuntu20.04-docker-arm64-4c-16g-117297 does not seem to be running inside a container 20:17:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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:17:19 $ docker top 0bb2bc387da50e8f5e970827eff45b13205e6d011ebd837414b6664e3260d08b -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:20 + go version 20:17:20 go version go1.18.7 linux/arm64 [Pipeline] } 20:17:20 $ docker stop --time=1 0bb2bc387da50e8f5e970827eff45b13205e6d011ebd837414b6664e3260d08b 20:17:21 $ docker rm -f 0bb2bc387da50e8f5e970827eff45b13205e6d011ebd837414b6664e3260d08b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:22 + docker inspect -f . ci-base-image-arm64 20:17:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:23 prd-ubuntu20.04-docker-arm64-4c-16g-117297 does not seem to be running inside a container 20:17:23 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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:17:24 $ docker top 15e98cea6cd3998aeef7095a43141f9787fbb919e7f866d0d6df1adb8bc5c521 -eo pid,comm [Pipeline] { [Pipeline] sh 20:17:25 + git config --global --add safe.directory /w/workspace/device-virtual-go/4 [Pipeline] fileExists [Pipeline] sh 20:17:26 + make test 20:17:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:17:27 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:19:19 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:19:19 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.178s coverage: 65.7% of statements 20:19:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:19:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:19:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:19:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:19:53 ./bin/test-attribution-txt.sh [Pipeline] echo 20:19:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:19:53 $ docker stop --time=1 15e98cea6cd3998aeef7095a43141f9787fbb919e7f866d0d6df1adb8bc5c521 20:19:55 $ docker rm -f 15e98cea6cd3998aeef7095a43141f9787fbb919e7f866d0d6df1adb8bc5c521 [Pipeline] // withDockerContainer [Pipeline] sh 20:19:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:57 Warning: overwriting stash ‘coverage-report’ 20:19:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:19:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:19:58 + ls -al . 20:19:58 total 200 20:19:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:17 . 20:19:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:15 .. 20:19:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:15 .git 20:19:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:15 .github 20:19:58 -rw-rw-r-- 1 jenkins jenkins 337 Oct 26 20:15 .gitignore 20:19:58 -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:15 .golangci.yml 20:19:58 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 26 20:15 Attribution.txt 20:19:58 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 26 20:15 CHANGELOG.md 20:19:58 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 26 20:15 Dockerfile 20:19:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:15 GOVERNANCE.md 20:19:58 -rw-rw-r-- 1 jenkins jenkins 660 Oct 26 20:15 Jenkinsfile 20:19:58 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:15 LICENSE 20:19:58 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 26 20:15 Makefile 20:19:58 -rw-rw-r-- 1 jenkins jenkins 623 Oct 26 20:15 OWNERS.md 20:19:58 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 26 20:15 README.md 20:19:58 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:12 VERSION 20:19:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:15 bin 20:19:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:15 cmd 20:19:58 -rw-r--r-- 1 jenkins jenkins 44128 Oct 26 20:19 coverage.out 20:19:58 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 26 20:15 go.mod 20:19:58 -rw-rw-r-- 1 jenkins jenkins 44543 Oct 26 20:15 go.sum 20:19:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:15 internal 20:19:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:15 snap 20:19:58 -rw-rw-r-- 1 jenkins jenkins 235 Oct 26 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:58 + 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=b442787d94312e06e4a88d8e9302be5c07189cfc --label arch=arm64 --label version=0.0.0 . 20:19:59 Sending build context to Docker daemon 11.84MB 20:19:59 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:19:59 Step 2/26 : FROM ${BASE} AS builder 20:19:59 ---> 17dc7a850329 20:19:59 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:19:59 ---> Running in f5780d4b4147 20:20:00 Removing intermediate container f5780d4b4147 20:20:00 ---> fb705bac0aae 20:20:00 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 20:20:00 ---> Running in e04d6ff7aae8 20:20:00 Removing intermediate container e04d6ff7aae8 20:20:00 ---> 531731d77b60 20:20:00 Step 5/26 : ARG ADD_BUILD_TAGS="" 20:20:00 ---> Running in c802cf4cdefd 20:20:01 Removing intermediate container c802cf4cdefd 20:20:01 ---> cf41dd94a266 20:20:01 Step 6/26 : WORKDIR /device-virtual-go 20:20:01 ---> Running in a1002d5beae4 20:20:01 Removing intermediate container a1002d5beae4 20:20:01 ---> 20d4bacec5da 20:20:01 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:20:01 ---> Running in 36c167771202 20:20:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:20:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:20:04 OK: 226 MiB in 55 packages 20:20:06 Removing intermediate container 36c167771202 20:20:06 ---> da22d58907fd 20:20:06 Step 8/26 : COPY go.mod vendor* ./ 20:20:06 ---> 395b4e316957 20:20:06 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:20:06 ---> Running in 3d0308785ded 20:20:10 Removing intermediate container 3d0308785ded 20:20:10 ---> e6bb7a8799ca 20:20:10 Step 10/26 : COPY . . 20:20:12 ---> 22a3739baa48 20:20:12 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:20:12 ---> Running in 779051e02d60 20:20:13 Removing intermediate container 779051e02d60 20:20:13 ---> f175ab794bbd 20:20:13 Step 12/26 : RUN $MAKE 20:20:13 ---> Running in 01f2a6e6b2ac 20:20:15 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:23:07 Removing intermediate container 01f2a6e6b2ac 20:23:07 ---> 417abe6e317b 20:23:07 Step 13/26 : FROM alpine:3.16 20:23:07 3.16: Pulling from library/alpine 20:23:07 9b18e9b68314: Already exists 20:23:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:23:07 Status: Downloaded newer image for alpine:3.16 20:23:07 ---> a6215f271958 20:23:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:23:07 ---> Running in 0b9cc755a576 20:23:07 Removing intermediate container 0b9cc755a576 20:23:07 ---> 15490beb1cbd 20:23:07 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:23:07 ---> Running in 010f6980eea6 20:23:07 Removing intermediate container 010f6980eea6 20:23:07 ---> 09412ba31f94 20:23:07 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 20:23:07 ---> Running in 284ce2f3b9f3 20:23:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:23:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:23:07 (1/6) Installing dumb-init (1.2.5-r1) 20:23:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:23:07 (3/6) Installing libsodium (1.0.18-r0) 20:23:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:23:07 (5/6) Installing libzmq (4.3.4-r0) 20:23:07 (6/6) Installing zeromq (4.3.4-r0) 20:23:07 Executing busybox-1.35.0-r17.trigger 20:23:07 OK: 8 MiB in 20 packages 20:23:07 Removing intermediate container 284ce2f3b9f3 20:23:07 ---> c4496805fd7e 20:23:07 Step 17/26 : WORKDIR / 20:23:07 ---> Running in aea566a96c41 20:23:07 Removing intermediate container aea566a96c41 20:23:07 ---> 888cdf57f64e 20:23:07 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:23:07 ---> a5ed943f5e5d 20:23:07 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 20:23:07 ---> 5d67607b07e7 20:23:07 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 20:23:08 ---> 7699ea40c91f 20:23:08 Step 21/26 : EXPOSE 59900 20:23:08 ---> Running in a9ac31875841 20:23:08 Removing intermediate container a9ac31875841 20:23:08 ---> a50344861238 20:23:08 Step 22/26 : ENTRYPOINT ["/device-virtual"] 20:23:08 ---> Running in ede859242012 20:23:09 Removing intermediate container ede859242012 20:23:09 ---> 8e02bf72044c 20:23:09 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:23:09 ---> Running in e3360500c7aa 20:23:09 Removing intermediate container e3360500c7aa 20:23:09 ---> 07ef4e114933 20:23:09 Step 24/26 : LABEL arch=arm64 20:23:09 ---> Running in 5259a255362c 20:23:10 Removing intermediate container 5259a255362c 20:23:10 ---> 36e4c9ab9535 20:23:10 Step 25/26 : LABEL git_sha=b442787d94312e06e4a88d8e9302be5c07189cfc 20:23:10 ---> Running in 443bccf25fbe 20:23:10 Removing intermediate container 443bccf25fbe 20:23:10 ---> 9375a12f335e 20:23:10 Step 26/26 : LABEL version=0.0.0 20:23:10 ---> Running in 0ae6f6fc519d 20:23:10 Removing intermediate container 0ae6f6fc519d 20:23:10 ---> 27040671182e 20:23:10 [Warning] One or more build-args [ARCH] were not consumed 20:23:10 Successfully built 27040671182e 20:23:10 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:23:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:11 20:23:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:11 arm64: Pulling from edgex-lftools-log-publisher 20:23:11 8998bd30e6a1: Pulling fs layer 20:23:11 04944245beec: Pulling fs layer 20:23:11 699f458cf7ca: Pulling fs layer 20:23:11 765212b225bb: Pulling fs layer 20:23:11 f23df028b6ca: Pulling fs layer 20:23:11 d65c8cfc05b1: Pulling fs layer 20:23:11 2437ff75d9bd: Pulling fs layer 20:23:11 f23df028b6ca: Waiting 20:23:11 d65c8cfc05b1: Waiting 20:23:11 2437ff75d9bd: Waiting 20:23:11 765212b225bb: Waiting 20:23:11 04944245beec: Verifying Checksum 20:23:11 04944245beec: Download complete 20:23:11 765212b225bb: Verifying Checksum 20:23:11 765212b225bb: Download complete 20:23:11 f23df028b6ca: Verifying Checksum 20:23:11 f23df028b6ca: Download complete 20:23:12 d65c8cfc05b1: Verifying Checksum 20:23:12 d65c8cfc05b1: Download complete 20:23:12 699f458cf7ca: Verifying Checksum 20:23:12 699f458cf7ca: Download complete 20:23:12 8998bd30e6a1: Verifying Checksum 20:23:12 8998bd30e6a1: Download complete 20:23:15 2437ff75d9bd: Verifying Checksum 20:23:15 2437ff75d9bd: Download complete 20:23:16 8998bd30e6a1: Pull complete 20:23:17 04944245beec: Pull complete 20:23:18 699f458cf7ca: Pull complete 20:23:18 765212b225bb: Pull complete 20:23:19 f23df028b6ca: Pull complete 20:23:19 d65c8cfc05b1: Pull complete 20:23:34 2437ff75d9bd: Pull complete 20:23:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:23:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:34 prd-ubuntu20.04-docker-arm64-4c-16g-117297 does not seem to be running inside a container 20:23:34 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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:23:37 $ docker top 61214ed74a168d16640e752b2299e02a843aba12e3cd1a5a59216e2d6cfcb695 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:38 ---> job-cost.sh 20:23:38 lf-activate-venv: SKIPPING 20:23:38 INFO: No Stack... 20:23:38 INFO: Retrieving Pricing Info for: v3-standard-4 20:23:39 INFO: Archiving Costs [Pipeline] sh 20:23:40 + cat /w/workspace/device-virtual-go/4/archives/cost.csv 20:23:40 + cut -d, -f6 [Pipeline] lock 20:23:40 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] 20:23:40 Resource [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] did not exist. Created. 20:23:40 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:23:40 /w/workspace/device-virtual-go/4@tmp/durable-54e549f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:23:41 + echo total: 0.10999999940395355 [Pipeline] stash 20:23:41 Warning: overwriting stash ‘stack-cost’ 20:23:41 Stashed 1 file(s) [Pipeline] } 20:23:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-317-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:23:41 $ docker stop --time=1 61214ed74a168d16640e752b2299e02a843aba12e3cd1a5a59216e2d6cfcb695 20:23:43 $ docker rm -f 61214ed74a168d16640e752b2299e02a843aba12e3cd1a5a59216e2d6cfcb695 [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:23:43 provisioning config files... 20:23:43 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config9493481170922777180tmp [Pipeline] { [Pipeline] sh 20:23:43 + set +x 20:23:43 + bash -s -- 20:23:43 + curl -s https://codecov.io/bash 20:23:43 20:23:43 _____ _ 20:23:43 / ____| | | 20:23:43 | | ___ __| | ___ ___ _____ __ 20:23:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:23:43 | |___| (_) | (_| | __/ (_| (_) \ V / 20:23:43 \_____\___/ \__,_|\___|\___\___/ \_/ 20:23:43 Bash-1.0.6 20:23:43 20:23:43 20:23:43 ==> git version 2.25.1 found 20:23:43 ==> 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:23:43 Release-Date: 2020-01-08 20:23:43 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:23:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:23:43 ==> Jenkins CI detected. 20:23:43 current dir:  /w/workspace/foundry_device-virtual-go_PR-317 20:23:43 project root: . 20:23:43 --> token set from env 20:23:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:23:43 ==> Running gcov in . (disable via -X gcov) 20:23:43 ==> Python coveragepy not found 20:23:43 ==> Searching for coverage reports in: 20:23:43 + . 20:23:43 -> Found 1 reports 20:23:43 ==> Detecting git/mercurial file structure 20:23:43 ==> Reading reports 20:23:43 + ./coverage.out bytes=44128 20:23:43 ==> Appending adjustments 20:23:43 https://docs.codecov.io/docs/fixing-reports 20:23:44 + Found adjustments 20:23:44 ==> Gzipping contents 20:23:44 8.0K /tmp/codecov.BRRYbA.gz 20:23:44 ==> Uploading reports 20:23:44 url: https://codecov.io 20:23:44 query: branch=PR-317&commit=b442787d94312e06e4a88d8e9302be5c07189cfc&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= 20:23:44 -> Pinging Codecov 20:23:44 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=b442787d94312e06e4a88d8e9302be5c07189cfc&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-317%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=317&job=&cmd_args= 20:23:44 -> Uploading to 20:23:44 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/5E52B4B073DB2E39498172D8E973AA87/b442787d94312e06e4a88d8e9302be5c07189cfc/c7a47b16-9f65-436f-9e09-830799ae4893.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T202344Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=51be15deb514f5f059d594b16988768d8f4940a4735bf4c3fb197c55f7c5cb43 20:23:44 % Total % Received % Xferd Average Speed Time Time Time Current 20:23:44 Dload Upload Total Spent Left Speed 20:23:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5521 0 0 100 5521 0 22172 --:--:-- --:--:-- --:--:-- 22172 20:23:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/b442787d94312e06e4a88d8e9302be5c07189cfc [Pipeline] } 20:23:44 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:23:45 + [ -d /w/workspace/foundry_device-virtual-go_PR-317/archives ] 20:23:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives 20:23:45 total 16 20:23:45 drwxr-xr-x 3 root root 4096 Oct 26 20:14 . 20:23:45 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:14 .. 20:23:45 drwxr-xr-x 2 root root 4096 Oct 26 20:14 cost 20:23:45 -rw-r--r-- 1 root root 89 Oct 26 20:14 cost.csv 20:23:45 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-317/archives 20:23:45 + ls -al /w/workspace/foundry_device-virtual-go_PR-317/archives 20:23:45 total 16 20:23:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:14 . 20:23:45 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:14 .. 20:23:45 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:14 cost 20:23:45 -rw-r--r-- 1 jenkins jenkins 89 Oct 26 20:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:23:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:23:46 ---> package-listing.sh 20:23:46 ++ facter osfamily 20:23:46 ++ tr '[:upper:]' '[:lower:]' 20:23:46 + OS_FAMILY=debian 20:23:46 + workspace=/w/workspace/foundry_device-virtual-go_PR-317 20:23:46 + START_PACKAGES=/tmp/packages_start.txt 20:23:46 + END_PACKAGES=/tmp/packages_end.txt 20:23:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:23:46 + PACKAGES=/tmp/packages_start.txt 20:23:46 + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' 20:23:46 + PACKAGES=/tmp/packages_end.txt 20:23:46 + case "${OS_FAMILY}" in 20:23:46 + dpkg -l 20:23:46 + grep '^ii' 20:23:46 + '[' -f /tmp/packages_start.txt ']' 20:23:46 + '[' -f /tmp/packages_end.txt ']' 20:23:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:23:46 + '[' /w/workspace/foundry_device-virtual-go_PR-317 ']' 20:23:46 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-317/archives/ 20:23:46 + 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:23:46 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:23:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:23:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:47 prd-ubuntu20.04-docker-8c-8g-117292 does not seem to be running inside a container 20:23:47 $ 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:23:47 $ docker top 2675382e71605a3e90d1d9d8a652f2efd5f2e566486f0b69dbe7faab270e5d7b -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:48 + touch /tmp/pre-build-complete [Pipeline] sh 20:23:48 + mkdir -p /var/log/sysstat [Pipeline] sh 20:23:48 + ls /var/log/sa-host 20:23:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:23:48 provisioning config files... 20:23:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-317@tmp/config11789392962422435930tmp [Pipeline] { [Pipeline] echo 20:23:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:23:49 ---> create-netrc.sh [Pipeline] } 20:23:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:23:49 ---> python-tools-install.sh [Pipeline] echo 20:23:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:23:49 ---> sudo-logs.sh 20:23:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:23:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:23:50 ---> job-cost.sh 20:23:50 lf-activate-venv: SKIPPING 20:23:50 DEBUG: total: 0.2199999988079071 20:23:50 INFO: Retrieving Stack Cost... 20:23:50 INFO: Retrieving Pricing Info for: v3-standard-8 20:23:50 INFO: Archiving Costs [Pipeline] echo 20:23:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:23:51 ---> logs-deploy.sh 20:23:51 lf-activate-venv: SKIPPING 20:23:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-317/4 20:23:51 INFO: archiving workspace using pattern(s): 20:23:52 Archives upload complete. 20:23:52 INFO: archiving logs to Nexus 20:23:52 ---> uname -a: 20:23:52 Linux prd-ubuntu20-04-docker-8c-8g-117292 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:23:52 20:23:52 20:23:52 ---> lscpu: 20:23:52 Architecture: x86_64 20:23:52 CPU op-mode(s): 32-bit, 64-bit 20:23:52 Byte Order: Little Endian 20:23:52 Address sizes: 40 bits physical, 48 bits virtual 20:23:52 CPU(s): 8 20:23:52 On-line CPU(s) list: 0-7 20:23:52 Thread(s) per core: 1 20:23:52 Core(s) per socket: 1 20:23:52 Socket(s): 8 20:23:52 NUMA node(s): 1 20:23:52 Vendor ID: AuthenticAMD 20:23:52 CPU family: 23 20:23:52 Model: 49 20:23:52 Model name: AMD EPYC-Rome Processor 20:23:52 Stepping: 0 20:23:52 CPU MHz: 2799.998 20:23:52 BogoMIPS: 5599.99 20:23:52 Virtualization: AMD-V 20:23:52 Hypervisor vendor: KVM 20:23:52 Virtualization type: full 20:23:52 L1d cache: 256 KiB 20:23:52 L1i cache: 256 KiB 20:23:52 L2 cache: 4 MiB 20:23:52 L3 cache: 128 MiB 20:23:52 NUMA node0 CPU(s): 0-7 20:23:52 Vulnerability Itlb multihit: Not affected 20:23:52 Vulnerability L1tf: Not affected 20:23:52 Vulnerability Mds: Not affected 20:23:52 Vulnerability Meltdown: Not affected 20:23:52 Vulnerability Mmio stale data: Not affected 20:23:52 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:23:52 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:23:52 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:23:52 Vulnerability Srbds: Not affected 20:23:52 Vulnerability Tsx async abort: Not affected 20:23:52 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:23:52 20:23:52 20:23:52 ---> nproc: 20:23:52 8 20:23:52 20:23:52 20:23:52 ---> df -h: 20:23:52 Filesystem Size Used Avail Use% Mounted on 20:23:52 overlay 155G 12G 144G 8% / 20:23:52 tmpfs 64M 0 64M 0% /dev 20:23:52 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:23:52 shm 64M 0 64M 0% /dev/shm 20:23:52 /dev/vda1 155G 12G 144G 8% /facter-os 20:23:52 20:23:52