Pull request #313 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 068f6fd71b490d48a74cf43e13cff0e93a74c51f+476f8fe53201fee1938bf38d508323121d922085 (207cbab4ee708edfd76ec544cebda8dd58d97819) 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-ssh788080369956409606.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6405383469269371130.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11898496149573391532.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5722851816075976392.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16716499786979968066.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-313/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8751554997262058533.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7715 in /w/workspace/foundry_device-virtual-go_PR-313 [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-313 # 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/313/head:refs/remotes/origin/PR-313 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 476f8fe53201fee1938bf38d508323121d922085 into PR head commit 068f6fd71b490d48a74cf43e13cff0e93a74c51f Merge succeeded, producing 068f6fd71b490d48a74cf43e13cff0e93a74c51f Checking out Revision 068f6fd71b490d48a74cf43e13cff0e93a74c51f (PR-313) > git config core.sparsecheckout # timeout=10 > git checkout -f 068f6fd71b490d48a74cf43e13cff0e93a74c51f # 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 476f8fe53201fee1938bf38d508323121d922085 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 068f6fd71b490d48a74cf43e13cff0e93a74c51f # timeout=10 Commit message: "fix: update example request/response topic scheme" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:37:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:37:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:37:54 ========================================================= 03:37:54 EdgeX Global Pipelines Version Info 03:37:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:37:55 ------------------- 03:37:55 stable info: 03:37:55 ------------------- 03:37:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:37:55 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:37:55 Message: update stable to v1.0.239 03:37:55 ------------------- 03:37:55 experimental info: 03:37:55 ------------------- 03:37:55 Commited By: **** collab-it+edgex@linuxfoundation.org 03:37:55 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:37:55 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:37:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-313 [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-313 [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-313 [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 068f6fd [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:57 provisioning config files... 03:37:57 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-313@tmp/config13356532482555471854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:57 ---> docker-login.sh 03:37:57 nexus3.edgexfoundry.org:10001 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 nexus3.edgexfoundry.org:10002 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 nexus3.edgexfoundry.org:10003 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 nexus3.edgexfoundry.org:10004 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 docker.io 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 ---> docker-login.sh ends [Pipeline] } 03:37:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:37:59 + git rev-list -1 --merges 068f6fd71b490d48a74cf43e13cff0e93a74c51f~1..068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] echo 03:37:59 -----------> git rev-list -1 --merges 068f6fd71b490d48a74cf43e13cff0e93a74c51f~1..068f6fd71b490d48a74cf43e13cff0e93a74c51f 068f6fd71b490d48a74cf43e13cff0e93a74c51f [false] [Pipeline] sh 03:37:59 + git log --format=format:%s -1 068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] echo 03:37:59 ========================================================= 03:37:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:37:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:00 + git log --format=format:%s -1 068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] echo 03:38:00 [semverPrep] GIT_COMMIT: 068f6fd71b490d48a74cf43e13cff0e93a74c51f, Commit Message: fix: update example request/response topic scheme [Pipeline] echo 03:38:00 [semverPrep] This is not a build commit. [Pipeline] sh 03:38:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:00 + grep -v github /etc/ssh/ssh_known_hosts 03:38:00 + [ -e /tmp/ssh_known_hosts ] 03:38:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:38:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:38:00 + sudo tee -a /etc/ssh/ssh_known_hosts 03:38:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:01 03:38:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:01 0.1.4: Pulling from edgex-devops/py-git-semver 03:38:01 b85a868b505f: Pulling fs layer 03:38:01 e2be974225ed: Pulling fs layer 03:38:01 339a4e72a1f5: Pulling fs layer 03:38:01 988bab9f4d93: Pulling fs layer 03:38:01 1469e6f7b9e6: Pulling fs layer 03:38:01 eaf3925da568: Pulling fs layer 03:38:01 bab4dde63d76: Pulling fs layer 03:38:01 bde34c3a00c8: Pulling fs layer 03:38:01 b352a97aabf1: Pulling fs layer 03:38:01 4872d77fe225: Pulling fs layer 03:38:01 5851b861e8e6: Pulling fs layer 03:38:01 bab4dde63d76: Waiting 03:38:01 bde34c3a00c8: Waiting 03:38:01 b352a97aabf1: Waiting 03:38:01 4872d77fe225: Waiting 03:38:01 988bab9f4d93: Waiting 03:38:01 5851b861e8e6: Waiting 03:38:01 1469e6f7b9e6: Waiting 03:38:01 eaf3925da568: Waiting 03:38:01 e2be974225ed: Verifying Checksum 03:38:01 e2be974225ed: Download complete 03:38:01 988bab9f4d93: Verifying Checksum 03:38:01 988bab9f4d93: Download complete 03:38:02 339a4e72a1f5: Verifying Checksum 03:38:02 339a4e72a1f5: Download complete 03:38:02 1469e6f7b9e6: Verifying Checksum 03:38:02 1469e6f7b9e6: Download complete 03:38:02 eaf3925da568: Download complete 03:38:02 bde34c3a00c8: Download complete 03:38:02 b352a97aabf1: Download complete 03:38:02 4872d77fe225: Download complete 03:38:02 5851b861e8e6: Download complete 03:38:02 b85a868b505f: Verifying Checksum 03:38:02 b85a868b505f: Download complete 03:38:02 bab4dde63d76: Download complete 03:38:03 b85a868b505f: Pull complete 03:38:03 e2be974225ed: Pull complete 03:38:03 339a4e72a1f5: Pull complete 03:38:04 988bab9f4d93: Pull complete 03:38:04 1469e6f7b9e6: Pull complete 03:38:04 eaf3925da568: Pull complete 03:38:06 bab4dde63d76: Pull complete 03:38:06 bde34c3a00c8: Pull complete 03:38:06 b352a97aabf1: Pull complete 03:38:06 4872d77fe225: Pull complete 03:38:06 5851b861e8e6: Pull complete 03:38:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:38:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:06 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 03:38:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:38:08 $ docker top bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 -eo pid,comm 03:38:08 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). 03:38:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:08 [ssh-agent] Looking for ssh-agent implementation... 03:38:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:08 $ docker exec bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 ssh-agent 03:38:08 SSH_AUTH_SOCK=/tmp/ssh-rZafKQlhmkiw/agent.32 03:38:08 SSH_AGENT_PID=38 03:38:08 Running ssh-add (command line suppressed) 03:38:08 Identity added: /w/workspace/foundry_device-virtual-go_PR-313@tmp/private_key_10637987835993340743.key (/w/workspace/foundry_device-virtual-go_PR-313@tmp/private_key_10637987835993340743.key) 03:38:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:09 + git tag --points-at HEAD [Pipeline] } 03:38:09 $ docker exec --env ******** --env ******** bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 ssh-agent -k 03:38:09 unset SSH_AUTH_SOCK; 03:38:09 unset SSH_AGENT_PID; 03:38:09 echo Agent pid 38 killed; 03:38:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:38:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:09 [ssh-agent] Looking for ssh-agent implementation... 03:38:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:09 $ docker exec bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 ssh-agent 03:38:09 SSH_AUTH_SOCK=/tmp/ssh-siyShgXZMZgg/agent.71 03:38:09 SSH_AGENT_PID=77 03:38:09 Running ssh-add (command line suppressed) 03:38:09 Identity added: /w/workspace/foundry_device-virtual-go_PR-313@tmp/private_key_9051450979788687005.key (/w/workspace/foundry_device-virtual-go_PR-313@tmp/private_key_9051450979788687005.key) 03:38:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:10 + git semver init 03:38:10 2022-10-12 03:38:10,503 [run_init] DEBUG init version:0.0.0 force:False 03:38:10 2022-10-12 03:38:10,504 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-313/.semver 03:38:10 2022-10-12 03:38:10,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-313/.semver 03:38:10 2022-10-12 03:38:10,505 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-313/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-313, universal_newlines=False, shell=None, istream=None) 03:38:11 2022-10-12 03:38:11,598 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-313/.git/info/exclude 03:38:11 2022-10-12 03:38:11,599 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-313/.semver/PR-313 with force:False 03:38:11 2022-10-12 03:38:11,599 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-313/.semver/PR-313 03:38:11 2022-10-12 03:38:11,603 [execute] INFO git cat-file --batch-check 03:38:11 2022-10-12 03:38:11,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-313/.semver, universal_newlines=False, shell=None, istream=) 03:38:11 2022-10-12 03:38:11,610 [execute] INFO git cat-file --batch 03:38:11 2022-10-12 03:38:11,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-313/.semver, universal_newlines=False, shell=None, istream=) 03:38:11 2022-10-12 03:38:11,616 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-313/.semver/PR-313 03:38:11 0.0.0 [Pipeline] } 03:38:11 $ docker exec --env ******** --env ******** bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 ssh-agent -k 03:38:12 unset SSH_AUTH_SOCK; 03:38:12 unset SSH_AGENT_PID; 03:38:12 echo Agent pid 77 killed; 03:38:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:12 + git semver [Pipeline] } 03:38:12 $ docker stop --time=1 bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 03:38:14 $ docker rm -f bfe207e5270f73b5b2d75304f21bc66b2fc518c359a4647ec5b5fd12258f8ec7 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:38:14 Stashed 1 file(s) [Pipeline] echo 03:38:14 [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 03:38:15 provisioning config files... 03:38:15 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-313@tmp/config13742775297759151665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:15 ---> docker-login.sh 03:38:15 nexus3.edgexfoundry.org:10001 03:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:15 Configure a credential helper to remove this warning. See 03:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:15 03:38:15 Login Succeeded 03:38:15 nexus3.edgexfoundry.org:10002 03:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:15 Configure a credential helper to remove this warning. See 03:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:15 03:38:15 Login Succeeded 03:38:16 nexus3.edgexfoundry.org:10003 03:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:16 Configure a credential helper to remove this warning. See 03:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:16 03:38:16 Login Succeeded 03:38:16 nexus3.edgexfoundry.org:10004 03:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:16 Configure a credential helper to remove this warning. See 03:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:16 03:38:16 Login Succeeded 03:38:16 docker.io 03:38:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:16 Configure a credential helper to remove this warning. See 03:38:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:16 03:38:16 Login Succeeded 03:38:16 ---> docker-login.sh ends [Pipeline] } 03:38:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:38:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:38:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:38:16 ========================================================= 03:38:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:38:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:17 + 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 . 03:38:17 Sending build context to Docker daemon 23.2MB 03:38:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:38:17 Step 2/13 : FROM ${BASE} AS builder 03:38:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:38:17 213ec9aee27d: Pulling fs layer 03:38:17 4583459ba037: Pulling fs layer 03:38:17 93c1e223e6f2: Pulling fs layer 03:38:17 53926ce57604: Pulling fs layer 03:38:17 21b2b0c7a3f4: Pulling fs layer 03:38:17 30f14e443154: Pulling fs layer 03:38:17 801331c1e519: Pulling fs layer 03:38:17 99cc6dd402b0: Pulling fs layer 03:38:17 7d9ed39f4882: Pulling fs layer 03:38:17 801331c1e519: Waiting 03:38:17 53926ce57604: Waiting 03:38:17 21b2b0c7a3f4: Waiting 03:38:17 30f14e443154: Waiting 03:38:17 7d9ed39f4882: Waiting 03:38:17 99cc6dd402b0: Waiting 03:38:17 93c1e223e6f2: Verifying Checksum 03:38:17 93c1e223e6f2: Download complete 03:38:17 4583459ba037: Verifying Checksum 03:38:17 4583459ba037: Download complete 03:38:17 21b2b0c7a3f4: Verifying Checksum 03:38:17 21b2b0c7a3f4: Download complete 03:38:17 30f14e443154: Download complete 03:38:17 213ec9aee27d: Verifying Checksum 03:38:17 213ec9aee27d: Download complete 03:38:17 801331c1e519: Verifying Checksum 03:38:17 801331c1e519: Download complete 03:38:17 213ec9aee27d: Pull complete 03:38:17 4583459ba037: Pull complete 03:38:17 93c1e223e6f2: Pull complete 03:38:18 7d9ed39f4882: Verifying Checksum 03:38:18 7d9ed39f4882: Download complete 03:38:18 99cc6dd402b0: Verifying Checksum 03:38:18 99cc6dd402b0: Download complete 03:38:18 53926ce57604: Verifying Checksum 03:38:18 53926ce57604: Download complete 03:38:22 53926ce57604: Pull complete 03:38:22 21b2b0c7a3f4: Pull complete 03:38:22 30f14e443154: Pull complete 03:38:22 801331c1e519: Pull complete 03:38:24 99cc6dd402b0: Pull complete 03:38:25 7d9ed39f4882: Pull complete 03:38:25 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 03:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:38:25 ---> 1dedd983c030 03:38:25 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:38:27 ---> Running in 3d232fae7889 03:38:27 Removing intermediate container 3d232fae7889 03:38:27 ---> 1d588f377de3 03:38:27 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 03:38:27 ---> Running in e52dfaf4f00d 03:38:27 Removing intermediate container e52dfaf4f00d 03:38:27 ---> 9316dcdae6c8 03:38:27 Step 5/13 : ARG ADD_BUILD_TAGS="" 03:38:27 ---> Running in 633e98c1c608 03:38:27 Removing intermediate container 633e98c1c608 03:38:27 ---> 0fc207a18f5a 03:38:27 Step 6/13 : WORKDIR /device-virtual-go 03:38:27 ---> Running in e489ce9eee16 03:38:27 Removing intermediate container e489ce9eee16 03:38:27 ---> 75ef82810d60 03:38:27 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:38:28 ---> Running in b21d1422ecce 03:38:28 Removing intermediate container b21d1422ecce 03:38:28 ---> 7e0d2a0c2f60 03:38:28 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:38:28 ---> Running in 163695b5cc49 03:38:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:38:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:38:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:38:30 (2/4) Installing libedit (20210910.3.1-r0) 03:38:30 Still waiting to schedule task 03:38:30 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:38:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:38:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:38:30 Executing busybox-1.35.0-r17.trigger 03:38:30 OK: 216 MiB in 55 packages 03:38:31 Removing intermediate container 163695b5cc49 03:38:31 ---> c9e4074f00e4 03:38:31 Step 9/13 : COPY go.mod vendor* ./ 03:38:31 ---> b21c050abd72 03:38:31 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:31 ---> Running in 4b1cce72008b 03:38:49 Removing intermediate container 4b1cce72008b 03:38:49 ---> 11b7b468d1b1 03:38:49 Step 11/13 : COPY . . 03:38:49 ---> d5fd33321e8e 03:38:49 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:38:49 ---> Running in 2aa424b4fc93 03:38:49 Removing intermediate container 2aa424b4fc93 03:38:49 ---> 2047f2ab3e46 03:38:49 Step 13/13 : RUN $MAKE 03:38:49 ---> Running in c3f5d05ff863 03:38:49 noop 03:38:49 Removing intermediate container c3f5d05ff863 03:38:49 ---> 3093e9d0b027 03:38:49 Successfully built 3093e9d0b027 03:38:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:49 + docker inspect -f . ci-base-image-x86_64 03:38:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:49 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 03:38:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@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 ******** ci-base-image-x86_64 cat 03:38:50 $ docker top 65c600a9c566486dac88b66bd201f4ee0bc426adc041c913861b951c75fa896a -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:50 + go version 03:38:50 go version go1.18.7 linux/amd64 [Pipeline] } 03:38:50 $ docker stop --time=1 65c600a9c566486dac88b66bd201f4ee0bc426adc041c913861b951c75fa896a 03:38:52 $ docker rm -f 65c600a9c566486dac88b66bd201f4ee0bc426adc041c913861b951c75fa896a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:52 + docker inspect -f . ci-base-image-x86_64 03:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:52 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 03:38:53 $ 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-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@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 ******** ci-base-image-x86_64 cat 03:38:53 $ docker top a9cd620a0948cf15eb80c9c0a548108646ade67aacda32ea248169fc87d7db20 -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:53 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-313 [Pipeline] fileExists [Pipeline] sh 03:38:54 + make test 03:38:54 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:38:54 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:39:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:39:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 03:39:11 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." 03:39:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:39:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:39:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:39:15 ./bin/test-attribution-txt.sh [Pipeline] echo 03:39:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:39:15 $ docker stop --time=1 a9cd620a0948cf15eb80c9c0a548108646ade67aacda32ea248169fc87d7db20 03:39:17 $ docker rm -f a9cd620a0948cf15eb80c9c0a548108646ade67aacda32ea248169fc87d7db20 [Pipeline] // withDockerContainer [Pipeline] sh 03:39:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:39:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:39:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:18 + ls -al . 03:39:18 total 200 03:39:18 drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 03:38 . 03:39:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:37 .. 03:39:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:39 .git 03:39:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:37 .github 03:39:18 -rw-rw-r-- 1 jenkins jenkins 337 Oct 12 03:37 .gitignore 03:39:18 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 03:37 .golangci.yml 03:39:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:38 .semver 03:39:18 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 12 03:37 Attribution.txt 03:39:18 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 12 03:37 CHANGELOG.md 03:39:18 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 12 03:37 Dockerfile 03:39:18 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:37 GOVERNANCE.md 03:39:18 -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 03:37 Jenkinsfile 03:39:18 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 03:37 LICENSE 03:39:18 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 12 03:37 Makefile 03:39:18 -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 03:37 OWNERS.md 03:39:18 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 12 03:37 README.md 03:39:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:38 VERSION 03:39:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:37 bin 03:39:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:37 cmd 03:39:18 -rw-r--r-- 1 jenkins jenkins 44128 Oct 12 03:39 coverage.out 03:39:18 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 12 03:37 go.mod 03:39:18 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 12 03:37 go.sum 03:39:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:37 internal 03:39:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:37 snap 03:39:18 -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 03:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:19 + 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=068f6fd71b490d48a74cf43e13cff0e93a74c51f --label arch=amd64 --label version=0.0.0 . 03:39:19 Sending build context to Docker daemon 23.24MB 03:39:19 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 03:39:19 Step 2/27 : FROM ${BASE} AS builder 03:39:19 ---> 3093e9d0b027 03:39:19 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:39:19 ---> Running in 068d3b758de3 03:39:19 Removing intermediate container 068d3b758de3 03:39:19 ---> 87a876daab4a 03:39:19 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:39:19 ---> Running in 266a03f2e10c 03:39:19 Removing intermediate container 266a03f2e10c 03:39:19 ---> 745ab1b7ef81 03:39:19 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:39:19 ---> Running in 6c6c3205cc71 03:39:19 Removing intermediate container 6c6c3205cc71 03:39:19 ---> 750c90dada23 03:39:19 Step 6/27 : WORKDIR /device-virtual-go 03:39:19 ---> Running in 8d6841f3cd6e 03:39:19 Removing intermediate container 8d6841f3cd6e 03:39:19 ---> 8fb41d614e47 03:39:19 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:19 ---> Running in eb57988ac210 03:39:20 Removing intermediate container eb57988ac210 03:39:20 ---> 52b730860127 03:39:20 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:39:20 ---> Running in 426328fc290a 03:39:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:39:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:39:22 OK: 216 MiB in 55 packages 03:39:22 Removing intermediate container 426328fc290a 03:39:22 ---> 721ceb891c7b 03:39:22 Step 9/27 : COPY go.mod vendor* ./ 03:39:22 ---> 5052a560648f 03:39:22 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:22 ---> Running in 6fc721c02d45 03:39:23 Removing intermediate container 6fc721c02d45 03:39:23 ---> 52b27abad9b1 03:39:23 Step 11/27 : COPY . . 03:39:23 ---> c9ed705e54f8 03:39:23 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:39:23 ---> Running in 80cd2dee65ba 03:39:23 Removing intermediate container 80cd2dee65ba 03:39:23 ---> 892f3993e84f 03:39:23 Step 13/27 : RUN $MAKE 03:39:24 ---> Running in e004c70602a5 03:39:24 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 03:39:46 Removing intermediate container e004c70602a5 03:39:46 ---> 228c1b651342 03:39:46 Step 14/27 : FROM alpine:3.16 03:39:46 3.16: Pulling from library/alpine 03:39:46 213ec9aee27d: Already exists 03:39:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:39:46 Status: Downloaded newer image for alpine:3.16 03:39:46 ---> 9c6f07244728 03:39:46 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:39:46 ---> Running in d877bb55b3d3 03:39:46 Removing intermediate container d877bb55b3d3 03:39:46 ---> bed8acf516af 03:39:46 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:46 ---> Running in b32a5f196e26 03:39:47 Removing intermediate container b32a5f196e26 03:39:47 ---> f0df43cbf8ae 03:39:47 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 03:39:47 ---> Running in e13f793731cd 03:39:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:39:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:39:48 (1/6) Installing dumb-init (1.2.5-r1) 03:39:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:39:48 (3/6) Installing libsodium (1.0.18-r0) 03:39:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:39:49 (5/6) Installing libzmq (4.3.4-r0) 03:39:49 (6/6) Installing zeromq (4.3.4-r0) 03:39:49 Executing busybox-1.35.0-r17.trigger 03:39:49 OK: 8 MiB in 20 packages 03:39:49 Removing intermediate container e13f793731cd 03:39:49 ---> d341813b058e 03:39:49 Step 18/27 : WORKDIR / 03:39:49 ---> Running in 31f680a0eaba 03:39:49 Removing intermediate container 31f680a0eaba 03:39:49 ---> 90a09d6497c9 03:39:49 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:39:49 ---> 709ba2784b3f 03:39:49 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 03:39:50 ---> 9f16af586ee9 03:39:50 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 03:39:50 ---> b7edc44ba030 03:39:50 Step 22/27 : EXPOSE 59900 03:39:50 ---> Running in b00af19ac9de 03:39:50 Removing intermediate container b00af19ac9de 03:39:50 ---> 4f4f112844b2 03:39:50 Step 23/27 : ENTRYPOINT ["/device-virtual"] 03:39:51 ---> Running in 38ce86d3c9b8 03:39:51 Removing intermediate container 38ce86d3c9b8 03:39:51 ---> bcd596ebe13f 03:39:51 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:39:51 ---> Running in b2414d674f16 03:39:51 Removing intermediate container b2414d674f16 03:39:51 ---> 3300055185b6 03:39:51 Step 25/27 : LABEL arch=amd64 03:39:51 ---> Running in b768088fb778 03:39:51 Removing intermediate container b768088fb778 03:39:51 ---> 08026a6bc300 03:39:51 Step 26/27 : LABEL git_sha=068f6fd71b490d48a74cf43e13cff0e93a74c51f 03:39:51 ---> Running in 5683857293d2 03:39:51 Removing intermediate container 5683857293d2 03:39:51 ---> dfb2668dfac8 03:39:51 Step 27/27 : LABEL version=0.0.0 03:39:51 ---> Running in ec4b93906396 03:39:51 Removing intermediate container ec4b93906396 03:39:51 ---> 401d44dc912c 03:39:51 [Warning] One or more build-args [ARCH] were not consumed 03:39:51 Successfully built 401d44dc912c 03:39:51 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 03:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:52 03:39:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:52 latest: Pulling from edgex-lftools-log-publisher 03:39:52 5eb5b503b376: Pulling fs layer 03:39:52 5c69ac0246d0: Pulling fs layer 03:39:52 ec43610c2a17: Pulling fs layer 03:39:52 3a2ae6a8a46f: Pulling fs layer 03:39:52 33b1e0a273af: Pulling fs layer 03:39:52 5d3b04190fa2: Pulling fs layer 03:39:52 2f39f015ded8: Pulling fs layer 03:39:52 5d3b04190fa2: Waiting 03:39:52 3a2ae6a8a46f: Waiting 03:39:52 33b1e0a273af: Waiting 03:39:52 2f39f015ded8: Waiting 03:39:52 5c69ac0246d0: Download complete 03:39:52 3a2ae6a8a46f: Verifying Checksum 03:39:52 33b1e0a273af: Verifying Checksum 03:39:52 33b1e0a273af: Download complete 03:39:52 ec43610c2a17: Verifying Checksum 03:39:52 ec43610c2a17: Download complete 03:39:52 5d3b04190fa2: Verifying Checksum 03:39:52 5d3b04190fa2: Download complete 03:39:52 5eb5b503b376: Download complete 03:39:53 2f39f015ded8: Download complete 03:39:54 5eb5b503b376: Pull complete 03:39:54 5c69ac0246d0: Pull complete 03:39:54 ec43610c2a17: Pull complete 03:39:54 3a2ae6a8a46f: Pull complete 03:39:54 33b1e0a273af: Pull complete 03:39:54 5d3b04190fa2: Pull complete 03:39:59 2f39f015ded8: Pull complete 03:39:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:39:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:59 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 03:39:59 $ 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-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:40:01 $ docker top 25f6db6ac65816054139aefaf59673bf6a8cbdaef28bdb7ce623dc253123dcf1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:40:01 ---> job-cost.sh 03:40:01 lf-activate-venv: SKIPPING 03:40:01 INFO: No Stack... 03:40:01 INFO: Retrieving Pricing Info for: v3-standard-8 03:40:02 INFO: Archiving Costs [Pipeline] sh 03:40:02 + + cut -d, -f6 03:40:02 cat /w/workspace/foundry_device-virtual-go_PR-313/archives/cost.csv [Pipeline] lock 03:40:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] 03:40:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] did not exist. Created. 03:40:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:40:03 + echo total: 0.2199999988079071 [Pipeline] stash 03:40:03 Stashed 1 file(s) [Pipeline] } 03:40:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:40:03 $ docker stop --time=1 25f6db6ac65816054139aefaf59673bf6a8cbdaef28bdb7ce623dc253123dcf1 03:40:04 $ docker rm -f 25f6db6ac65816054139aefaf59673bf6a8cbdaef28bdb7ce623dc253123dcf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:42:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7716 in /w/workspace/foundry_device-virtual-go_PR-313 [Pipeline] { [Pipeline] ws 03:42:45 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 03:42:45 The recommended git tool is: git 03:42:51 using credential edgex-jenkins-ssh 03:42:51 Cloning the remote Git repository 03:42:51 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:42:51 > git init /w/workspace/device-virtual-go/1 # timeout=10 03:42:51 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:42:51 > git --version # timeout=10 03:42:51 > git --version # 'git version 2.25.1' 03:42:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:51 Verifying host key using known hosts file 03:42:51 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. 03:42:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:42:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:42:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:42:55 Merging remotes/origin/main commit 476f8fe53201fee1938bf38d508323121d922085 into PR head commit 068f6fd71b490d48a74cf43e13cff0e93a74c51f 03:42:55 Merge succeeded, producing 068f6fd71b490d48a74cf43e13cff0e93a74c51f 03:42:55 Checking out Revision 068f6fd71b490d48a74cf43e13cff0e93a74c51f (PR-313) 03:42:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:42:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:42:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:55 Verifying host key using known hosts file 03:42:55 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. 03:42:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/313/head:refs/remotes/origin/PR-313 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:42:55 > git config core.sparsecheckout # timeout=10 03:42:55 > git checkout -f 068f6fd71b490d48a74cf43e13cff0e93a74c51f # timeout=10 03:42:55 > git remote # timeout=10 03:42:55 > git config --get remote.origin.url # timeout=10 03:42:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:42:55 Verifying host key using known hosts file 03:42:55 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. 03:42:55 > git merge 476f8fe53201fee1938bf38d508323121d922085 # timeout=10 03:42:55 > git rev-parse HEAD^{commit} # timeout=10 03:42:55 > git config core.sparsecheckout # timeout=10 03:42:55 > git checkout -f 068f6fd71b490d48a74cf43e13cff0e93a74c51f # timeout=10 03:42:59 Commit message: "fix: update example request/response topic scheme" 03:42:59 > git --version # timeout=10 03:42:59 > git --version # 'git version 2.25.1' 03:42:59 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:43:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:43:00 % Total % Received % Xferd Average Speed Time Time Time Current 03:43:00 Dload Upload Total Spent Left Speed 03:43:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 03:43:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:43:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:43:01 + sudo tee /etc/docker/daemon.new 03:43:01 { 03:43:01 "registry-mirrors": [ 03:43:01 "https://nexus3.edgexfoundry.org:10001" 03:43:01 ], 03:43:01 "bip": "10.250.0.254/24", 03:43:01 "hosts": [ 03:43:01 "tcp://0.0.0.0:5555", 03:43:01 "unix:///var/run/docker.sock" 03:43:01 ], 03:43:01 "mtu": 1458, 03:43:01 "selinux-enabled": true, 03:43:01 "seccomp-profile": "/etc/docker/seccomp.json" 03:43:01 } [Pipeline] sh 03:43:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:43:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:20 provisioning config files... 03:43:20 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config18003877125861877959tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:21 ---> docker-login.sh 03:43:21 nexus3.edgexfoundry.org:10001 03:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:21 Configure a credential helper to remove this warning. See 03:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:21 03:43:21 Login Succeeded 03:43:21 nexus3.edgexfoundry.org:10002 03:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:22 Configure a credential helper to remove this warning. See 03:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:22 03:43:22 Login Succeeded 03:43:22 nexus3.edgexfoundry.org:10003 03:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:22 Configure a credential helper to remove this warning. See 03:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:22 03:43:22 Login Succeeded 03:43:22 nexus3.edgexfoundry.org:10004 03:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:22 Configure a credential helper to remove this warning. See 03:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:22 03:43:22 Login Succeeded 03:43:22 docker.io 03:43:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:23 Configure a credential helper to remove this warning. See 03:43:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:23 03:43:23 Login Succeeded 03:43:23 ---> docker-login.sh ends [Pipeline] } 03:43:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:43:24 ========================================================= 03:43:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:43:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:24 + 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 . 03:43:24 Sending build context to Docker daemon 11.74MB 03:43:24 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 03:43:24 Step 2/13 : FROM ${BASE} AS builder 03:43:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:43:25 9b18e9b68314: Pulling fs layer 03:43:25 d32db5db7311: Pulling fs layer 03:43:25 d0c4b47475fc: Pulling fs layer 03:43:25 5831b945b038: Pulling fs layer 03:43:25 86bbec2aaacd: Pulling fs layer 03:43:25 e10730c5d714: Pulling fs layer 03:43:25 5dd5c2283517: Pulling fs layer 03:43:25 d5ac0230b979: Pulling fs layer 03:43:25 e10730c5d714: Waiting 03:43:25 86bbec2aaacd: Waiting 03:43:25 5dd5c2283517: Waiting 03:43:25 d5ac0230b979: Waiting 03:43:25 5831b945b038: Waiting 03:43:25 d0c4b47475fc: Verifying Checksum 03:43:25 d0c4b47475fc: Download complete 03:43:25 d32db5db7311: Verifying Checksum 03:43:25 d32db5db7311: Download complete 03:43:25 86bbec2aaacd: Verifying Checksum 03:43:25 86bbec2aaacd: Download complete 03:43:25 e10730c5d714: Verifying Checksum 03:43:25 e10730c5d714: Download complete 03:43:25 9b18e9b68314: Verifying Checksum 03:43:25 9b18e9b68314: Download complete 03:43:26 9b18e9b68314: Pull complete 03:43:26 d5ac0230b979: Verifying Checksum 03:43:26 d5ac0230b979: Download complete 03:43:26 d32db5db7311: Pull complete 03:43:26 d0c4b47475fc: Pull complete 03:43:27 5dd5c2283517: Verifying Checksum 03:43:28 5831b945b038: Verifying Checksum 03:43:28 5831b945b038: Download complete 03:43:40 5831b945b038: Pull complete 03:43:40 86bbec2aaacd: Pull complete 03:43:40 e10730c5d714: Pull complete 03:43:47 5dd5c2283517: Pull complete 03:43:48 d5ac0230b979: Pull complete 03:43:48 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 03:43:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:43:48 ---> 59b3b1a385d4 03:43:48 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:43:50 ---> Running in be64d685274a 03:43:50 Removing intermediate container be64d685274a 03:43:50 ---> 899c1e440240 03:43:50 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 03:43:50 ---> Running in d6abe8d979be 03:43:50 Removing intermediate container d6abe8d979be 03:43:50 ---> 2f2fb1608cfd 03:43:50 Step 5/13 : ARG ADD_BUILD_TAGS="" 03:43:50 ---> Running in 913aff6a5dab 03:43:51 Removing intermediate container 913aff6a5dab 03:43:51 ---> 846c4cdec114 03:43:51 Step 6/13 : WORKDIR /device-virtual-go 03:43:51 ---> Running in 50ff1bf22a1c 03:43:51 Removing intermediate container 50ff1bf22a1c 03:43:51 ---> 77b42c78028a 03:43:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:43:51 ---> Running in fcfa56c72004 03:43:53 Removing intermediate container fcfa56c72004 03:43:53 ---> 2a3ca6ebc030 03:43:53 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:43:53 ---> Running in 5ed377bfe948 03:43:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:43:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:43:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 03:43:56 (2/4) Installing libedit (20210910.3.1-r0) 03:43:56 (3/4) Installing openssh-client-common (9.0_p1-r2) 03:43:56 (4/4) Installing openssh-client-default (9.0_p1-r2) 03:43:56 Executing busybox-1.35.0-r17.trigger 03:43:56 OK: 226 MiB in 55 packages 03:43:57 Removing intermediate container 5ed377bfe948 03:43:57 ---> 485bb9a5b322 03:43:57 Step 9/13 : COPY go.mod vendor* ./ 03:43:58 ---> b94716ef3e75 03:43:58 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:43:58 ---> Running in f2f387db4d5e 03:44:54 Removing intermediate container f2f387db4d5e 03:44:54 ---> 421cf12b2aa8 03:44:54 Step 11/13 : COPY . . 03:44:54 ---> 96c27e67955b 03:44:54 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:44:54 ---> Running in 2d1c68c0382d 03:44:54 Removing intermediate container 2d1c68c0382d 03:44:54 ---> 0dd460942d5c 03:44:54 Step 13/13 : RUN $MAKE 03:44:54 ---> Running in 3898358bf7a7 03:44:54 noop 03:44:54 Removing intermediate container 3898358bf7a7 03:44:54 ---> db657a4ad628 03:44:54 Successfully built db657a4ad628 03:44:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:54 + docker inspect -f . ci-base-image-arm64 03:44:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:55 prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container 03:44:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:44:56 $ docker top 43bcfec032bec47928cb59a28e600db76c1dfc539cd7fbd5f670f7e3731f45ee -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:57 + go version 03:44:57 go version go1.18.7 linux/arm64 [Pipeline] } 03:44:57 $ docker stop --time=1 43bcfec032bec47928cb59a28e600db76c1dfc539cd7fbd5f670f7e3731f45ee 03:44:59 $ docker rm -f 43bcfec032bec47928cb59a28e600db76c1dfc539cd7fbd5f670f7e3731f45ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:59 + docker inspect -f . ci-base-image-arm64 03:44:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:45:00 prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container 03:45:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:45:01 $ docker top 1756db5b3f55f3355f8dd4b502b59965a479262410edb0c42ce8548a16bb6cf2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:02 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 03:45:02 + make test 03:45:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:45:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:46:40 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:46:40 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.143s coverage: 65.7% of statements 03:46:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:46:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:46:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:46:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:46:55 ./bin/test-attribution-txt.sh [Pipeline] echo 03:46:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:46:55 $ docker stop --time=1 1756db5b3f55f3355f8dd4b502b59965a479262410edb0c42ce8548a16bb6cf2 03:46:57 $ docker rm -f 1756db5b3f55f3355f8dd4b502b59965a479262410edb0c42ce8548a16bb6cf2 [Pipeline] // withDockerContainer [Pipeline] sh 03:46:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:46:58 Warning: overwriting stash ‘coverage-report’ 03:46:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:46:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:47:00 + ls -al . 03:47:00 total 196 03:47:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:45 . 03:47:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:42 .. 03:47:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:42 .git 03:47:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:42 .github 03:47:00 -rw-rw-r-- 1 jenkins jenkins 337 Oct 12 03:42 .gitignore 03:47:00 -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 03:42 .golangci.yml 03:47:00 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 12 03:42 Attribution.txt 03:47:00 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 12 03:42 CHANGELOG.md 03:47:00 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 12 03:42 Dockerfile 03:47:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:42 GOVERNANCE.md 03:47:00 -rw-rw-r-- 1 jenkins jenkins 660 Oct 12 03:42 Jenkinsfile 03:47:00 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 03:42 LICENSE 03:47:00 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 12 03:42 Makefile 03:47:00 -rw-rw-r-- 1 jenkins jenkins 623 Oct 12 03:42 OWNERS.md 03:47:00 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 12 03:42 README.md 03:47:00 -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 03:38 VERSION 03:47:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:42 bin 03:47:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:42 cmd 03:47:00 -rw-r--r-- 1 jenkins jenkins 44128 Oct 12 03:46 coverage.out 03:47:00 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 12 03:42 go.mod 03:47:00 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 12 03:42 go.sum 03:47:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:42 internal 03:47:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:42 snap 03:47:00 -rw-rw-r-- 1 jenkins jenkins 235 Oct 12 03:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:00 + 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=068f6fd71b490d48a74cf43e13cff0e93a74c51f --label arch=arm64 --label version=0.0.0 . 03:47:01 Sending build context to Docker daemon 11.79MB 03:47:01 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 03:47:01 Step 2/27 : FROM ${BASE} AS builder 03:47:01 ---> db657a4ad628 03:47:01 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:47:01 ---> Running in 8d4e9995194f 03:47:01 Removing intermediate container 8d4e9995194f 03:47:01 ---> 7f1421953af5 03:47:01 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 03:47:01 ---> Running in f62e1fbb3412 03:47:02 Removing intermediate container f62e1fbb3412 03:47:02 ---> bb33744b9a78 03:47:02 Step 5/27 : ARG ADD_BUILD_TAGS="" 03:47:02 ---> Running in e51f78b8de6c 03:47:02 Removing intermediate container e51f78b8de6c 03:47:02 ---> 77d787e4c714 03:47:02 Step 6/27 : WORKDIR /device-virtual-go 03:47:02 ---> Running in 536a701ea1a9 03:47:03 Removing intermediate container 536a701ea1a9 03:47:03 ---> 5504d08feccb 03:47:03 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:47:03 ---> Running in a251f98a6888 03:47:06 Removing intermediate container a251f98a6888 03:47:06 ---> 64cd92af6260 03:47:06 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:47:06 ---> Running in 750f6f4ddc0b 03:47:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:47:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:47:09 OK: 226 MiB in 55 packages 03:47:10 Removing intermediate container 750f6f4ddc0b 03:47:10 ---> 1ac609db26c1 03:47:10 Step 9/27 : COPY go.mod vendor* ./ 03:47:11 ---> 0de24e48281c 03:47:11 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:47:11 ---> Running in 85a507cfa14b 03:47:14 Removing intermediate container 85a507cfa14b 03:47:14 ---> 4569f187bd89 03:47:14 Step 11/27 : COPY . . 03:47:15 ---> c6d71423af0b 03:47:15 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:47:15 ---> Running in 456750148b83 03:47:15 Removing intermediate container 456750148b83 03:47:15 ---> 41dd5dd6d5c0 03:47:15 Step 13/27 : RUN $MAKE 03:47:15 ---> Running in bbc1b11f265d 03:47:16 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 03:49:53 Removing intermediate container bbc1b11f265d 03:49:53 ---> 903b3b37aa4f 03:49:53 Step 14/27 : FROM alpine:3.16 03:49:53 3.16: Pulling from library/alpine 03:49:53 9b18e9b68314: Already exists 03:49:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:49:53 Status: Downloaded newer image for alpine:3.16 03:49:53 ---> a6215f271958 03:49:53 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:49:53 ---> Running in 9a0b09c57234 03:49:53 Removing intermediate container 9a0b09c57234 03:49:53 ---> 9f1e22f0474a 03:49:53 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:49:53 ---> Running in 31e9c98a69cf 03:49:54 Removing intermediate container 31e9c98a69cf 03:49:54 ---> d97a311dbc82 03:49:54 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 03:49:54 ---> Running in d72f9b9b82b7 03:49:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:49:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:49:57 (1/6) Installing dumb-init (1.2.5-r1) 03:49:57 (2/6) Installing libgcc (11.2.1_git20220219-r2) 03:49:57 (3/6) Installing libsodium (1.0.18-r0) 03:49:57 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 03:49:57 (5/6) Installing libzmq (4.3.4-r0) 03:49:57 (6/6) Installing zeromq (4.3.4-r0) 03:49:57 Executing busybox-1.35.0-r17.trigger 03:49:57 OK: 8 MiB in 20 packages 03:49:58 Removing intermediate container d72f9b9b82b7 03:49:58 ---> cb3fbab97329 03:49:58 Step 18/27 : WORKDIR / 03:49:58 ---> Running in 63ffa2530d57 03:49:59 Removing intermediate container 63ffa2530d57 03:49:59 ---> f736392b443f 03:49:59 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:49:59 ---> 72728685298b 03:49:59 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 03:50:00 ---> 107d62a6a36e 03:50:00 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 03:50:01 ---> 8c52895a4692 03:50:01 Step 22/27 : EXPOSE 59900 03:50:01 ---> Running in 65308b4f0b14 03:50:01 Removing intermediate container 65308b4f0b14 03:50:01 ---> 6c3a678d0931 03:50:01 Step 23/27 : ENTRYPOINT ["/device-virtual"] 03:50:02 ---> Running in 4673e2504eca 03:50:02 Removing intermediate container 4673e2504eca 03:50:02 ---> 933481841c13 03:50:02 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:50:02 ---> Running in e90cfdf1d879 03:50:02 Removing intermediate container e90cfdf1d879 03:50:02 ---> 1f59c26c92ee 03:50:02 Step 25/27 : LABEL arch=arm64 03:50:02 ---> Running in 2c50c8b6c1be 03:50:03 Removing intermediate container 2c50c8b6c1be 03:50:03 ---> 30224ff54e38 03:50:03 Step 26/27 : LABEL git_sha=068f6fd71b490d48a74cf43e13cff0e93a74c51f 03:50:03 ---> Running in ce924286d44f 03:50:03 Removing intermediate container ce924286d44f 03:50:03 ---> 9ecb06b8cf5e 03:50:03 Step 27/27 : LABEL version=0.0.0 03:50:03 ---> Running in 2ae02917cc76 03:50:03 Removing intermediate container 2ae02917cc76 03:50:03 ---> 4eb36af15c67 03:50:03 [Warning] One or more build-args [ARCH] were not consumed 03:50:03 Successfully built 4eb36af15c67 03:50:03 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 03:50:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:04 03:50:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:05 arm64: Pulling from edgex-lftools-log-publisher 03:50:05 8998bd30e6a1: Pulling fs layer 03:50:05 04944245beec: Pulling fs layer 03:50:05 699f458cf7ca: Pulling fs layer 03:50:05 765212b225bb: Pulling fs layer 03:50:05 f23df028b6ca: Pulling fs layer 03:50:05 d65c8cfc05b1: Pulling fs layer 03:50:05 2437ff75d9bd: Pulling fs layer 03:50:05 765212b225bb: Waiting 03:50:05 f23df028b6ca: Waiting 03:50:05 d65c8cfc05b1: Waiting 03:50:05 2437ff75d9bd: Waiting 03:50:05 04944245beec: Verifying Checksum 03:50:05 04944245beec: Download complete 03:50:05 765212b225bb: Verifying Checksum 03:50:05 765212b225bb: Download complete 03:50:05 f23df028b6ca: Verifying Checksum 03:50:05 f23df028b6ca: Download complete 03:50:05 d65c8cfc05b1: Verifying Checksum 03:50:05 d65c8cfc05b1: Download complete 03:50:05 699f458cf7ca: Verifying Checksum 03:50:05 699f458cf7ca: Download complete 03:50:05 8998bd30e6a1: Verifying Checksum 03:50:05 8998bd30e6a1: Download complete 03:50:07 2437ff75d9bd: Verifying Checksum 03:50:07 2437ff75d9bd: Download complete 03:50:09 8998bd30e6a1: Pull complete 03:50:10 04944245beec: Pull complete 03:50:11 699f458cf7ca: Pull complete 03:50:11 765212b225bb: Pull complete 03:50:13 f23df028b6ca: Pull complete 03:50:13 d65c8cfc05b1: Pull complete 03:50:25 2437ff75d9bd: Pull complete 03:50:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:50:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:50:26 prd-ubuntu20.04-docker-arm64-4c-16g-7716 does not seem to be running inside a container 03:50:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:50:28 $ docker top dbb805c4259dd05c2ff5e15c711e43f69177ce7655c4854be82350104aa0079e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:50:29 ---> job-cost.sh 03:50:29 lf-activate-venv: SKIPPING 03:50:29 INFO: No Stack... 03:50:29 INFO: Retrieving Pricing Info for: v3-standard-4 03:50:30 INFO: Archiving Costs [Pipeline] sh 03:50:31 + + cut -d, -f6 03:50:31 cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 03:50:31 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] 03:50:31 Resource [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] did not exist. Created. 03:50:31 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:50:32 /w/workspace/device-virtual-go/1@tmp/durable-fe2529f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:50:32 + echo total: 0.10999999940395355 [Pipeline] stash 03:50:32 Warning: overwriting stash ‘stack-cost’ 03:50:32 Stashed 1 file(s) [Pipeline] } 03:50:32 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-313-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:50:32 $ docker stop --time=1 dbb805c4259dd05c2ff5e15c711e43f69177ce7655c4854be82350104aa0079e 03:50:34 $ docker rm -f dbb805c4259dd05c2ff5e15c711e43f69177ce7655c4854be82350104aa0079e [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 03:50:35 provisioning config files... 03:50:35 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-313@tmp/config18399002148184432574tmp [Pipeline] { [Pipeline] sh 03:50:35 + set +x 03:50:35 + curl -s https://codecov.io/bash 03:50:35 + bash -s -- 03:50:35 03:50:35 _____ _ 03:50:35 / ____| | | 03:50:35 | | ___ __| | ___ ___ _____ __ 03:50:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:50:35 | |___| (_) | (_| | __/ (_| (_) \ V / 03:50:35 \_____\___/ \__,_|\___|\___\___/ \_/ 03:50:35 Bash-1.0.6 03:50:35 03:50:35 03:50:35 ==> git version 2.25.1 found 03:50:35 ==> 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 03:50:35 Release-Date: 2020-01-08 03:50:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:50:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:50:35 ==> Jenkins CI detected. 03:50:35 current dir:  /w/workspace/foundry_device-virtual-go_PR-313 03:50:35 project root: . 03:50:35 --> token set from env 03:50:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:50:35 ==> Running gcov in . (disable via -X gcov) 03:50:35 ==> Python coveragepy not found 03:50:35 ==> Searching for coverage reports in: 03:50:35 + . 03:50:35 -> Found 1 reports 03:50:35 ==> Detecting git/mercurial file structure 03:50:35 ==> Reading reports 03:50:35 + ./coverage.out bytes=44128 03:50:35 ==> Appending adjustments 03:50:35 https://docs.codecov.io/docs/fixing-reports 03:50:36 + Found adjustments 03:50:36 ==> Gzipping contents 03:50:36 8.0K /tmp/codecov.PLNURU.gz 03:50:36 ==> Uploading reports 03:50:36 url: https://codecov.io 03:50:36 query: branch=PR-313&commit=068f6fd71b490d48a74cf43e13cff0e93a74c51f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-313%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=313&job=&cmd_args= 03:50:36 -> Pinging Codecov 03:50:36 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-313&commit=068f6fd71b490d48a74cf43e13cff0e93a74c51f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-313%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=313&job=&cmd_args= 03:50:36 -> Uploading to 03:50:36 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/5E52B4B073DB2E39498172D8E973AA87/068f6fd71b490d48a74cf43e13cff0e93a74c51f/f2124272-1fc3-4fb2-ad58-ca84cedc114b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T035036Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=054146cbdddc1a6c1fe4a7d04fd2179b03975589306e4a3b5bd024bd2bc6d869 03:50:36 % Total % Received % Xferd Average Speed Time Time Time Current 03:50:36 Dload Upload Total Spent Left Speed 03:50:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5491 0 0 100 5491 0 25073 --:--:-- --:--:-- --:--:-- 25073 03:50:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/068f6fd71b490d48a74cf43e13cff0e93a74c51f [Pipeline] } 03:50:36 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 03:50:38 + [ -d /w/workspace/foundry_device-virtual-go_PR-313/archives ] 03:50:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-313/archives 03:50:38 total 16 03:50:38 drwxr-xr-x 3 root root 4096 Oct 12 03:40 . 03:50:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 03:40 .. 03:50:38 drwxr-xr-x 2 root root 4096 Oct 12 03:40 cost 03:50:38 -rw-r--r-- 1 root root 89 Oct 12 03:40 cost.csv 03:50:38 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-313/archives 03:50:38 + ls -al /w/workspace/foundry_device-virtual-go_PR-313/archives 03:50:38 total 16 03:50:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:40 . 03:50:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 03:40 .. 03:50:38 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 03:40 cost 03:50:38 -rw-r--r-- 1 jenkins jenkins 89 Oct 12 03:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:50:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:50:39 ---> package-listing.sh 03:50:39 ++ facter osfamily 03:50:39 ++ tr '[:upper:]' '[:lower:]' 03:50:39 + OS_FAMILY=debian 03:50:39 + workspace=/w/workspace/foundry_device-virtual-go_PR-313 03:50:39 + START_PACKAGES=/tmp/packages_start.txt 03:50:39 + END_PACKAGES=/tmp/packages_end.txt 03:50:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:50:39 + PACKAGES=/tmp/packages_start.txt 03:50:39 + '[' /w/workspace/foundry_device-virtual-go_PR-313 ']' 03:50:39 + PACKAGES=/tmp/packages_end.txt 03:50:39 + case "${OS_FAMILY}" in 03:50:39 + dpkg -l 03:50:39 + grep '^ii' 03:50:39 + '[' -f /tmp/packages_start.txt ']' 03:50:39 + '[' -f /tmp/packages_end.txt ']' 03:50:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:50:39 + '[' /w/workspace/foundry_device-virtual-go_PR-313 ']' 03:50:39 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-313/archives/ 03:50:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-313/archives/ [Pipeline] echo 03:50:39 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-313/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:50:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:50:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:50:40 prd-ubuntu20.04-docker-8c-8g-7715 does not seem to be running inside a container 03:50:40 $ 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-313/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-313 -v /w/workspace/foundry_device-virtual-go_PR-313:/w/workspace/foundry_device-virtual-go_PR-313:rw,z -v /w/workspace/foundry_device-virtual-go_PR-313@tmp:/w/workspace/foundry_device-virtual-go_PR-313@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:50:41 $ docker top d4f7fafb2f9a6dbd2560f7b9a048d126f2bd7d4e97a617a43be17d770c16daae -eo pid,comm [Pipeline] { [Pipeline] sh 03:50:41 + touch /tmp/pre-build-complete [Pipeline] sh 03:50:41 + mkdir -p /var/log/sysstat [Pipeline] sh 03:50:42 + ls /var/log/sa-host 03:50:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:50:42 provisioning config files... 03:50:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-313@tmp/config16115925210168135171tmp [Pipeline] { [Pipeline] echo 03:50:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:50:42 ---> create-netrc.sh [Pipeline] } 03:50:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:50:43 ---> python-tools-install.sh [Pipeline] echo 03:50:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:50:43 ---> sudo-logs.sh 03:50:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:50:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:50:44 ---> job-cost.sh 03:50:44 lf-activate-venv: SKIPPING 03:50:44 DEBUG: total: 0.2199999988079071 03:50:44 INFO: Retrieving Stack Cost... 03:50:44 INFO: Retrieving Pricing Info for: v3-standard-8 03:50:44 INFO: Archiving Costs [Pipeline] echo 03:50:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:50:45 ---> logs-deploy.sh 03:50:45 lf-activate-venv: SKIPPING 03:50:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-313/1 03:50:45 INFO: archiving workspace using pattern(s): 03:50:46 Archives upload complete. 03:50:46 INFO: archiving logs to Nexus 03:50:47 ---> uname -a: 03:50:47 Linux prd-ubuntu20-04-docker-8c-8g-7715 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:50:47 03:50:47 03:50:47 ---> lscpu: 03:50:47 Architecture: x86_64 03:50:47 CPU op-mode(s): 32-bit, 64-bit 03:50:47 Byte Order: Little Endian 03:50:47 Address sizes: 40 bits physical, 48 bits virtual 03:50:47 CPU(s): 8 03:50:47 On-line CPU(s) list: 0-7 03:50:47 Thread(s) per core: 1 03:50:47 Core(s) per socket: 1 03:50:47 Socket(s): 8 03:50:47 NUMA node(s): 1 03:50:47 Vendor ID: AuthenticAMD 03:50:47 CPU family: 23 03:50:47 Model: 49 03:50:47 Model name: AMD EPYC-Rome Processor 03:50:47 Stepping: 0 03:50:47 CPU MHz: 2799.994 03:50:47 BogoMIPS: 5599.98 03:50:47 Virtualization: AMD-V 03:50:47 Hypervisor vendor: KVM 03:50:47 Virtualization type: full 03:50:47 L1d cache: 256 KiB 03:50:47 L1i cache: 256 KiB 03:50:47 L2 cache: 4 MiB 03:50:47 L3 cache: 128 MiB 03:50:47 NUMA node0 CPU(s): 0-7 03:50:47 Vulnerability Itlb multihit: Not affected 03:50:47 Vulnerability L1tf: Not affected 03:50:47 Vulnerability Mds: Not affected 03:50:47 Vulnerability Meltdown: Not affected 03:50:47 Vulnerability Mmio stale data: Not affected 03:50:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:50:47 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:50:47 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:50:47 Vulnerability Srbds: Not affected 03:50:47 Vulnerability Tsx async abort: Not affected 03:50:47 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 03:50:47 03:50:47 03:50:47 ---> nproc: 03:50:47 8 03:50:47 03:50:47