Pull request #310 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d2cc3ac2a98df30ac48200989cdfb25a4b3c037d+48c3520914e7ddb9ffda7de700a6b80bd4b3dbae (8bbfce55c0d1dfe97a3fb2deffe71285ad9c0e44) 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-ssh8810941562858715405.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-ssh656091384747725079.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-310/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-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9355454471719543257.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-310/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10862061924827643967.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-ssh4546554867729549051.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-310/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-310/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12743995594376863237.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6860 in /w/workspace/foundry_device-virtual-go_PR-310 [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-310 # 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 Merging remotes/origin/main commit 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae into PR head commit d2cc3ac2a98df30ac48200989cdfb25a4b3c037d Merge succeeded, producing d2cc3ac2a98df30ac48200989cdfb25a4b3c037d Checking out Revision d2cc3ac2a98df30ac48200989cdfb25a4b3c037d (PR-310) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > 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/310/head:refs/remotes/origin/PR-310 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2cc3ac2a98df30ac48200989cdfb25a4b3c037d # 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 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2cc3ac2a98df30ac48200989cdfb25a4b3c037d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:04:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:04:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:04:50 ========================================================= 11:04:50 EdgeX Global Pipelines Version Info 11:04:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:04:51 ------------------- 11:04:51 stable info: 11:04:51 ------------------- 11:04:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:04:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:04:51 Message: update stable to v1.0.239 11:04:51 ------------------- 11:04:51 experimental info: 11:04:51 ------------------- 11:04:51 Commited By: **** collab-it+edgex@linuxfoundation.org 11:04:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:04:51 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:04:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-310 [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-310 [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-310 [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2cc3ac [Pipeline] echo 11:04:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:53 provisioning config files... 11:04:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-310@tmp/config6397244111378155204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:54 ---> docker-login.sh 11:04:54 nexus3.edgexfoundry.org:10001 11:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:54 Configure a credential helper to remove this warning. See 11:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:54 11:04:54 Login Succeeded 11:04:54 nexus3.edgexfoundry.org:10002 11:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:54 Configure a credential helper to remove this warning. See 11:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:54 11:04:54 Login Succeeded 11:04:54 nexus3.edgexfoundry.org:10003 11:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:54 Configure a credential helper to remove this warning. See 11:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:54 11:04:54 Login Succeeded 11:04:54 nexus3.edgexfoundry.org:10004 11:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:54 Configure a credential helper to remove this warning. See 11:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:54 11:04:54 Login Succeeded 11:04:54 docker.io 11:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:55 Configure a credential helper to remove this warning. See 11:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:55 11:04:55 Login Succeeded 11:04:55 ---> docker-login.sh ends [Pipeline] } 11:04:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:04:55 + git rev-list -1 --merges d2cc3ac2a98df30ac48200989cdfb25a4b3c037d~1..d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] echo 11:04:56 -----------> git rev-list -1 --merges d2cc3ac2a98df30ac48200989cdfb25a4b3c037d~1..d2cc3ac2a98df30ac48200989cdfb25a4b3c037d d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [false] [Pipeline] sh 11:04:56 + git log --format=format:%s -1 d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] echo 11:04:56 ========================================================= 11:04:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:04:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:04:56 + git log --format=format:%s -1 d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] echo 11:04:56 [semverPrep] GIT_COMMIT: d2cc3ac2a98df30ac48200989cdfb25a4b3c037d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:04:56 [semverPrep] This is not a build commit. [Pipeline] sh 11:04:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:04:57 + grep -v github /etc/ssh/ssh_known_hosts 11:04:57 + [ -e /tmp/ssh_known_hosts ] 11:04:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:04:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:04:57 + sudo tee -a /etc/ssh/ssh_known_hosts 11:04:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:57 11:04:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:04:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:04:58 0.1.4: Pulling from edgex-devops/py-git-semver 11:04:58 b85a868b505f: Pulling fs layer 11:04:58 e2be974225ed: Pulling fs layer 11:04:58 339a4e72a1f5: Pulling fs layer 11:04:58 988bab9f4d93: Pulling fs layer 11:04:58 1469e6f7b9e6: Pulling fs layer 11:04:58 eaf3925da568: Pulling fs layer 11:04:58 bab4dde63d76: Pulling fs layer 11:04:58 bde34c3a00c8: Pulling fs layer 11:04:58 b352a97aabf1: Pulling fs layer 11:04:58 4872d77fe225: Pulling fs layer 11:04:58 5851b861e8e6: Pulling fs layer 11:04:58 988bab9f4d93: Waiting 11:04:58 1469e6f7b9e6: Waiting 11:04:58 eaf3925da568: Waiting 11:04:58 bab4dde63d76: Waiting 11:04:58 bde34c3a00c8: Waiting 11:04:58 b352a97aabf1: Waiting 11:04:58 4872d77fe225: Waiting 11:04:58 5851b861e8e6: Waiting 11:04:58 e2be974225ed: Verifying Checksum 11:04:58 e2be974225ed: Download complete 11:04:58 988bab9f4d93: Verifying Checksum 11:04:58 988bab9f4d93: Download complete 11:04:58 1469e6f7b9e6: Verifying Checksum 11:04:58 1469e6f7b9e6: Download complete 11:04:58 339a4e72a1f5: Verifying Checksum 11:04:58 339a4e72a1f5: Download complete 11:04:58 eaf3925da568: Verifying Checksum 11:04:58 eaf3925da568: Download complete 11:04:58 bde34c3a00c8: Verifying Checksum 11:04:58 bde34c3a00c8: Download complete 11:04:58 b352a97aabf1: Verifying Checksum 11:04:58 b352a97aabf1: Download complete 11:04:58 4872d77fe225: Verifying Checksum 11:04:58 4872d77fe225: Download complete 11:04:58 5851b861e8e6: Verifying Checksum 11:04:58 5851b861e8e6: Download complete 11:04:58 b85a868b505f: Download complete 11:04:58 bab4dde63d76: Verifying Checksum 11:04:58 bab4dde63d76: Download complete 11:04:59 b85a868b505f: Pull complete 11:04:59 e2be974225ed: Pull complete 11:05:00 339a4e72a1f5: Pull complete 11:05:00 988bab9f4d93: Pull complete 11:05:00 1469e6f7b9e6: Pull complete 11:05:00 eaf3925da568: Pull complete 11:05:02 bab4dde63d76: Pull complete 11:05:02 bde34c3a00c8: Pull complete 11:05:02 b352a97aabf1: Pull complete 11:05:02 4872d77fe225: Pull complete 11:05:02 5851b861e8e6: Pull complete 11:05:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:05:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:05:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:03 prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container 11:05:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:05:04 $ docker top e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 -eo pid,comm 11:05:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:05:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:05:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:05 [ssh-agent] Looking for ssh-agent implementation... 11:05:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:05 $ docker exec e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 ssh-agent 11:05:05 SSH_AUTH_SOCK=/tmp/ssh-gvNfGdMbUDlJ/agent.32 11:05:05 SSH_AGENT_PID=38 11:05:05 Running ssh-add (command line suppressed) 11:05:05 Identity added: /w/workspace/foundry_device-virtual-go_PR-310@tmp/private_key_2374249324099675697.key (/w/workspace/foundry_device-virtual-go_PR-310@tmp/private_key_2374249324099675697.key) 11:05:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:05 + git tag --points-at HEAD [Pipeline] } 11:05:05 $ docker exec --env ******** --env ******** e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 ssh-agent -k 11:05:05 unset SSH_AUTH_SOCK; 11:05:05 unset SSH_AGENT_PID; 11:05:05 echo Agent pid 38 killed; 11:05:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:05:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:06 [ssh-agent] Looking for ssh-agent implementation... 11:05:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:06 $ docker exec e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 ssh-agent 11:05:06 SSH_AUTH_SOCK=/tmp/ssh-HRBUY85HBRtv/agent.70 11:05:06 SSH_AGENT_PID=76 11:05:06 Running ssh-add (command line suppressed) 11:05:06 Identity added: /w/workspace/foundry_device-virtual-go_PR-310@tmp/private_key_16081558237782432043.key (/w/workspace/foundry_device-virtual-go_PR-310@tmp/private_key_16081558237782432043.key) 11:05:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:06 + git semver init 11:05:06 2022-10-03 11:05:06,827 [run_init] DEBUG init version:0.0.0 force:False 11:05:06 2022-10-03 11:05:06,828 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-310/.semver 11:05:06 2022-10-03 11:05:06,829 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-310/.semver 11:05:06 2022-10-03 11:05:06,829 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-310/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-310, universal_newlines=False, shell=None, istream=None) 11:05:08 2022-10-03 11:05:08,130 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-310/.git/info/exclude 11:05:08 2022-10-03 11:05:08,131 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-310/.semver/PR-310 with force:False 11:05:08 2022-10-03 11:05:08,131 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-310/.semver/PR-310 11:05:08 2022-10-03 11:05:08,135 [execute] INFO git cat-file --batch-check 11:05:08 2022-10-03 11:05:08,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-310/.semver, universal_newlines=False, shell=None, istream=) 11:05:08 2022-10-03 11:05:08,141 [execute] INFO git cat-file --batch 11:05:08 2022-10-03 11:05:08,141 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-310/.semver, universal_newlines=False, shell=None, istream=) 11:05:08 2022-10-03 11:05:08,145 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-310/.semver/PR-310 11:05:08 0.0.0 [Pipeline] } 11:05:08 $ docker exec --env ******** --env ******** e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 ssh-agent -k 11:05:08 unset SSH_AUTH_SOCK; 11:05:08 unset SSH_AGENT_PID; 11:05:08 echo Agent pid 76 killed; 11:05:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:05:08 + git semver [Pipeline] } 11:05:09 $ docker stop --time=1 e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 11:05:10 $ docker rm -f e696a8dee5b970bf4ec2f32dd37efc4f122e01f6b6e395111124a169453c4cd7 [Pipeline] // withDockerContainer [Pipeline] sh 11:05:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:05:11 Stashed 1 file(s) [Pipeline] echo 11:05:11 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:05:11 provisioning config files... 11:05:11 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-310@tmp/config8795573786393865924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:12 ---> docker-login.sh 11:05:12 nexus3.edgexfoundry.org:10001 11:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:12 Configure a credential helper to remove this warning. See 11:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:12 11:05:12 Login Succeeded 11:05:12 nexus3.edgexfoundry.org:10002 11:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:12 Configure a credential helper to remove this warning. See 11:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:12 11:05:12 Login Succeeded 11:05:12 nexus3.edgexfoundry.org:10003 11:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:12 Configure a credential helper to remove this warning. See 11:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:12 11:05:12 Login Succeeded 11:05:12 nexus3.edgexfoundry.org:10004 11:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:12 Configure a credential helper to remove this warning. See 11:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:12 11:05:12 Login Succeeded 11:05:12 docker.io 11:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:05:12 Configure a credential helper to remove this warning. See 11:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:05:12 11:05:12 Login Succeeded 11:05:12 ---> docker-login.sh ends [Pipeline] } 11:05:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:05:13 ========================================================= 11:05:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:05:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:13 + 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 . 11:05:13 Sending build context to Docker daemon 23.18MB 11:05:13 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:05:13 Step 2/13 : FROM ${BASE} AS builder 11:05:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:05:13 2408cc74d12b: Pulling fs layer 11:05:13 ea60b727a1ce: Pulling fs layer 11:05:13 30c4a7721957: Pulling fs layer 11:05:13 370296b7ddb6: Pulling fs layer 11:05:13 7c6cee850709: Pulling fs layer 11:05:13 aa9baa53a306: Pulling fs layer 11:05:13 8b309c321861: Pulling fs layer 11:05:13 d8d76fd02f46: Pulling fs layer 11:05:13 fa31f396de31: Pulling fs layer 11:05:13 7c6cee850709: Waiting 11:05:13 aa9baa53a306: Waiting 11:05:13 8b309c321861: Waiting 11:05:13 d8d76fd02f46: Waiting 11:05:13 fa31f396de31: Waiting 11:05:13 370296b7ddb6: Waiting 11:05:13 30c4a7721957: Download complete 11:05:13 ea60b727a1ce: Verifying Checksum 11:05:13 ea60b727a1ce: Download complete 11:05:13 7c6cee850709: Verifying Checksum 11:05:13 7c6cee850709: Download complete 11:05:13 aa9baa53a306: Verifying Checksum 11:05:13 aa9baa53a306: Download complete 11:05:13 2408cc74d12b: Verifying Checksum 11:05:13 8b309c321861: Verifying Checksum 11:05:13 8b309c321861: Download complete 11:05:13 2408cc74d12b: Pull complete 11:05:14 ea60b727a1ce: Pull complete 11:05:14 30c4a7721957: Pull complete 11:05:14 d8d76fd02f46: Verifying Checksum 11:05:14 d8d76fd02f46: Download complete 11:05:14 fa31f396de31: Download complete 11:05:14 370296b7ddb6: Verifying Checksum 11:05:14 370296b7ddb6: Download complete 11:05:18 370296b7ddb6: Pull complete 11:05:18 7c6cee850709: Pull complete 11:05:18 aa9baa53a306: Pull complete 11:05:18 8b309c321861: Pull complete 11:05:20 d8d76fd02f46: Pull complete 11:05:21 fa31f396de31: Pull complete 11:05:21 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 11:05:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:05:21 ---> cef68f9685f8 11:05:21 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:05:23 ---> Running in a21f2b6ee531 11:05:23 Removing intermediate container a21f2b6ee531 11:05:23 ---> 9a2d163e067d 11:05:23 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:05:23 ---> Running in 781565bef375 11:05:23 Removing intermediate container 781565bef375 11:05:23 ---> b4067529289c 11:05:23 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:05:23 ---> Running in 0224186aaaac 11:05:23 Removing intermediate container 0224186aaaac 11:05:23 ---> 6318451df5b4 11:05:23 Step 6/13 : WORKDIR /device-virtual-go 11:05:23 ---> Running in 524deeb6b250 11:05:23 Removing intermediate container 524deeb6b250 11:05:23 ---> d0e2070e519a 11:05:23 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:05:23 ---> Running in e724b0d9577a 11:05:24 Removing intermediate container e724b0d9577a 11:05:24 ---> 16a2f0f8e0a1 11:05:24 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:05:24 ---> Running in eeb442f667ad 11:05:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:05:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:05:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:05:25 (2/4) Installing libedit (20210910.3.1-r0) 11:05:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:05:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:05:26 Executing busybox-1.35.0-r13.trigger 11:05:26 OK: 216 MiB in 55 packages 11:05:26 Still waiting to schedule task 11:05:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:05:27 Removing intermediate container eeb442f667ad 11:05:27 ---> e0007c5ba140 11:05:27 Step 9/13 : COPY go.mod vendor* ./ 11:05:27 ---> 5253dfda2622 11:05:27 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:05:27 ---> Running in 2a3a4c8726aa 11:05:45 Removing intermediate container 2a3a4c8726aa 11:05:45 ---> bc07395d9ef0 11:05:45 Step 11/13 : COPY . . 11:05:45 ---> 9861062234d0 11:05:45 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:05:45 ---> Running in ced16dc5bcd8 11:05:45 Removing intermediate container ced16dc5bcd8 11:05:45 ---> e988cf96aa5c 11:05:45 Step 13/13 : RUN $MAKE 11:05:45 ---> Running in 6379dbf34f05 11:05:45 noop 11:05:45 Removing intermediate container 6379dbf34f05 11:05:45 ---> 7e33b3996929 11:05:45 Successfully built 7e33b3996929 11:05:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:45 + docker inspect -f . ci-base-image-x86_64 11:05:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:46 prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container 11:05:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@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 ******** ci-base-image-x86_64 cat 11:05:46 $ docker top b58a6d367fd634723d20c04babd79bf455da22776a5d8bd5f505546bc030baaf -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:46 + go version 11:05:46 go version go1.18.3 linux/amd64 [Pipeline] } 11:05:46 $ docker stop --time=1 b58a6d367fd634723d20c04babd79bf455da22776a5d8bd5f505546bc030baaf 11:05:48 $ docker rm -f b58a6d367fd634723d20c04babd79bf455da22776a5d8bd5f505546bc030baaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:05:48 + docker inspect -f . ci-base-image-x86_64 11:05:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:05:49 prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container 11:05:49 $ 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-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@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 ******** ci-base-image-x86_64 cat 11:05:49 $ docker top f1d119cf7c9f0f3a92b02699eccf6ed3cebd8cab1dc2a7e72456e71d3ba37829 -eo pid,comm [Pipeline] { [Pipeline] sh 11:05:49 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-310 [Pipeline] fileExists [Pipeline] sh 11:05:50 + make test 11:05:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:05:50 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:05:58 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:05:59 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 11:06:06 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." 11:06:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:06:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:06:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:06:08 ./bin/test-attribution-txt.sh [Pipeline] echo 11:06:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:06:08 $ docker stop --time=1 f1d119cf7c9f0f3a92b02699eccf6ed3cebd8cab1dc2a7e72456e71d3ba37829 11:06:10 $ docker rm -f f1d119cf7c9f0f3a92b02699eccf6ed3cebd8cab1dc2a7e72456e71d3ba37829 [Pipeline] // withDockerContainer [Pipeline] sh 11:06:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:06:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:06:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:06:12 + ls -al . 11:06:12 total 200 11:06:12 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 11:05 . 11:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 11:04 .. 11:06:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 11:06 .git 11:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:04 .github 11:06:12 -rw-rw-r-- 1 jenkins jenkins 337 Oct 3 11:04 .gitignore 11:06:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 11:04 .golangci.yml 11:06:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 11:05 .semver 11:06:12 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 3 11:04 Attribution.txt 11:06:12 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 3 11:04 CHANGELOG.md 11:06:12 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 3 11:04 Dockerfile 11:06:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 11:04 GOVERNANCE.md 11:06:12 -rw-rw-r-- 1 jenkins jenkins 660 Oct 3 11:04 Jenkinsfile 11:06:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 11:04 LICENSE 11:06:12 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 3 11:04 Makefile 11:06:12 -rw-rw-r-- 1 jenkins jenkins 623 Oct 3 11:04 OWNERS.md 11:06:12 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 3 11:04 README.md 11:06:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 11:05 VERSION 11:06:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 11:04 bin 11:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:04 cmd 11:06:12 -rw-r--r-- 1 jenkins jenkins 44128 Oct 3 11:05 coverage.out 11:06:12 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 3 11:04 go.mod 11:06:12 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 3 11:04 go.sum 11:06:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:04 internal 11:06:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 11:04 snap 11:06:12 -rw-rw-r-- 1 jenkins jenkins 235 Oct 3 11:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:12 + 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=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d --label arch=amd64 --label version=0.0.0 . 11:06:12 Sending build context to Docker daemon 23.22MB 11:06:12 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:06:12 Step 2/27 : FROM ${BASE} AS builder 11:06:12 ---> 7e33b3996929 11:06:12 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:06:13 ---> Running in daade8381632 11:06:13 Removing intermediate container daade8381632 11:06:13 ---> 88fba7920819 11:06:13 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:06:13 ---> Running in f677da32fee8 11:06:13 Removing intermediate container f677da32fee8 11:06:13 ---> 1bba4fc2f5c6 11:06:13 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:06:13 ---> Running in 47f6fce4f896 11:06:13 Removing intermediate container 47f6fce4f896 11:06:13 ---> 173ab1ca9ff4 11:06:13 Step 6/27 : WORKDIR /device-virtual-go 11:06:13 ---> Running in 5bc2a7a3d88b 11:06:13 Removing intermediate container 5bc2a7a3d88b 11:06:13 ---> 1b893d0ec918 11:06:13 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:13 ---> Running in ae5e736427d3 11:06:14 Removing intermediate container ae5e736427d3 11:06:14 ---> 81d7659e2f44 11:06:14 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:06:14 ---> Running in aad532dcd2c2 11:06:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:15 OK: 216 MiB in 55 packages 11:06:15 Removing intermediate container aad532dcd2c2 11:06:15 ---> 89de31a1cf50 11:06:15 Step 9/27 : COPY go.mod vendor* ./ 11:06:16 ---> 89b74b2812bd 11:06:16 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:06:16 ---> Running in 67b1fe25b25c 11:06:16 Removing intermediate container 67b1fe25b25c 11:06:16 ---> b88634228efe 11:06:16 Step 11/27 : COPY . . 11:06:17 ---> d4e89f7da56c 11:06:17 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:06:17 ---> Running in 7750caa52cec 11:06:17 Removing intermediate container 7750caa52cec 11:06:17 ---> c764b66af06d 11:06:17 Step 13/27 : RUN $MAKE 11:06:17 ---> Running in bbfd1109bdca 11:06:17 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 11:06:39 Removing intermediate container bbfd1109bdca 11:06:39 ---> 36790f0e93b6 11:06:39 Step 14/27 : FROM alpine:3.16 11:06:39 3.16: Pulling from library/alpine 11:06:39 213ec9aee27d: Pulling fs layer 11:06:39 213ec9aee27d: Verifying Checksum 11:06:39 213ec9aee27d: Download complete 11:06:39 213ec9aee27d: Pull complete 11:06:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:06:39 Status: Downloaded newer image for alpine:3.16 11:06:39 ---> 9c6f07244728 11:06:39 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:06:39 ---> Running in 8afa4b7d3b5d 11:06:39 Removing intermediate container 8afa4b7d3b5d 11:06:39 ---> 6c1e92c7e535 11:06:39 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:06:39 ---> Running in 4b0b6b814d7e 11:06:39 Removing intermediate container 4b0b6b814d7e 11:06:39 ---> d62638dfa91b 11:06:39 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:06:39 ---> Running in 0985022c455b 11:06:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:06:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:06:39 (1/6) Installing dumb-init (1.2.5-r1) 11:06:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:06:40 (3/6) Installing libsodium (1.0.18-r0) 11:06:40 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:06:40 (5/6) Installing libzmq (4.3.4-r0) 11:06:40 (6/6) Installing zeromq (4.3.4-r0) 11:06:40 Executing busybox-1.35.0-r17.trigger 11:06:40 OK: 8 MiB in 20 packages 11:06:41 Removing intermediate container 0985022c455b 11:06:41 ---> e36c58a91cc4 11:06:41 Step 18/27 : WORKDIR / 11:06:41 ---> Running in 4d0bca688f21 11:06:41 Removing intermediate container 4d0bca688f21 11:06:41 ---> d065db8dad15 11:06:41 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:06:41 ---> cece3b2ed649 11:06:41 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:06:41 ---> e006ffcb373d 11:06:41 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:06:41 ---> 3683eb1e9d6e 11:06:41 Step 22/27 : EXPOSE 59900 11:06:41 ---> Running in 04afac0e7820 11:06:42 Removing intermediate container 04afac0e7820 11:06:42 ---> e6886137b06a 11:06:42 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:06:42 ---> Running in 159436d0b435 11:06:42 Removing intermediate container 159436d0b435 11:06:42 ---> eae612f0f903 11:06:42 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:06:42 ---> Running in 544dcb8eadff 11:06:42 Removing intermediate container 544dcb8eadff 11:06:42 ---> dd60d213b8bb 11:06:42 Step 25/27 : LABEL arch=amd64 11:06:42 ---> Running in 8e30488b7564 11:06:42 Removing intermediate container 8e30488b7564 11:06:42 ---> 4f83de7c5f1c 11:06:42 Step 26/27 : LABEL git_sha=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d 11:06:42 ---> Running in fbc29b9fab0b 11:06:42 Removing intermediate container fbc29b9fab0b 11:06:42 ---> 12d476811366 11:06:42 Step 27/27 : LABEL version=0.0.0 11:06:42 ---> Running in a587484de5a2 11:06:42 Removing intermediate container a587484de5a2 11:06:42 ---> 8f1c37b64499 11:06:42 [Warning] One or more build-args [ARCH] were not consumed 11:06:42 Successfully built 8f1c37b64499 11:06:42 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:43 11:06:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:44 latest: Pulling from edgex-lftools-log-publisher 11:06:44 5eb5b503b376: Pulling fs layer 11:06:44 5c69ac0246d0: Pulling fs layer 11:06:44 ec43610c2a17: Pulling fs layer 11:06:44 3a2ae6a8a46f: Pulling fs layer 11:06:44 33b1e0a273af: Pulling fs layer 11:06:44 5d3b04190fa2: Pulling fs layer 11:06:44 2f39f015ded8: Pulling fs layer 11:06:44 3a2ae6a8a46f: Waiting 11:06:44 33b1e0a273af: Waiting 11:06:44 5d3b04190fa2: Waiting 11:06:44 2f39f015ded8: Waiting 11:06:44 5c69ac0246d0: Download complete 11:06:44 3a2ae6a8a46f: Verifying Checksum 11:06:44 3a2ae6a8a46f: Download complete 11:06:44 33b1e0a273af: Verifying Checksum 11:06:44 33b1e0a273af: Download complete 11:06:44 5d3b04190fa2: Verifying Checksum 11:06:44 5d3b04190fa2: Download complete 11:06:44 ec43610c2a17: Verifying Checksum 11:06:44 ec43610c2a17: Download complete 11:06:44 5eb5b503b376: Download complete 11:06:44 2f39f015ded8: Verifying Checksum 11:06:44 2f39f015ded8: Download complete 11:06:45 5eb5b503b376: Pull complete 11:06:45 5c69ac0246d0: Pull complete 11:06:45 ec43610c2a17: Pull complete 11:06:46 3a2ae6a8a46f: Pull complete 11:06:46 33b1e0a273af: Pull complete 11:06:46 5d3b04190fa2: Pull complete 11:06:50 2f39f015ded8: Pull complete 11:06:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:06:50 prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container 11:06:50 $ 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-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:06:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6861 in /w/workspace/foundry_device-virtual-go_PR-310 11:06:52 $ docker top a20dd5cc2f7429044a885d467d3f3f3bc6235a5574433a022074e26874e56fe7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 11:06:52 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:06:53 The recommended git tool is: git 11:06:53 ---> job-cost.sh 11:06:53 lf-activate-venv: SKIPPING 11:06:53 INFO: No Stack... 11:06:53 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:53 INFO: Archiving Costs [Pipeline] sh 11:06:54 + + cut -d, -f6 11:06:54 cat /w/workspace/foundry_device-virtual-go_PR-310/archives/cost.csv [Pipeline] lock 11:06:54 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] 11:06:54 Resource [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] did not exist. Created. 11:06:54 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:06:54 + echo total: 0.2199999988079071 [Pipeline] stash 11:06:54 Stashed 1 file(s) [Pipeline] } 11:06:54 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:06:54 $ docker stop --time=1 a20dd5cc2f7429044a885d467d3f3f3bc6235a5574433a022074e26874e56fe7 11:06:55 $ docker rm -f a20dd5cc2f7429044a885d467d3f3f3bc6235a5574433a022074e26874e56fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:06:57 using credential edgex-jenkins-ssh 11:06:58 Cloning the remote Git repository 11:06:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:06:58 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:06:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:06:58 > git --version # timeout=10 11:06:58 > git --version # 'git version 2.25.1' 11:06:58 using GIT_SSH to set credentials SSH Credentials for GitHub 11:06:58 Verifying host key using known hosts file 11:06:58 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. 11:06:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:07:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:07:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:07:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:07:01 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:01 Verifying host key using known hosts file 11:07:01 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. 11:07:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/310/head:refs/remotes/origin/PR-310 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:07:01 Merging remotes/origin/main commit 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae into PR head commit d2cc3ac2a98df30ac48200989cdfb25a4b3c037d 11:07:02 Merge succeeded, producing d2cc3ac2a98df30ac48200989cdfb25a4b3c037d 11:07:02 Checking out Revision d2cc3ac2a98df30ac48200989cdfb25a4b3c037d (PR-310) 11:07:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:07:02 > git --version # timeout=10 11:07:02 > git --version # 'git version 2.25.1' 11:07:02 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 11:07:02 > git config core.sparsecheckout # timeout=10 11:07:02 > git checkout -f d2cc3ac2a98df30ac48200989cdfb25a4b3c037d # timeout=10 11:07:02 > git remote # timeout=10 11:07:02 > git config --get remote.origin.url # timeout=10 11:07:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:07:02 Verifying host key using known hosts file 11:07:02 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. 11:07:02 > git merge 48c3520914e7ddb9ffda7de700a6b80bd4b3dbae # timeout=10 11:07:02 > git rev-parse HEAD^{commit} # timeout=10 11:07:02 > git config core.sparsecheckout # timeout=10 11:07:02 > git checkout -f d2cc3ac2a98df30ac48200989cdfb25a4b3c037d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:07:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:07:03 % Total % Received % Xferd Average Speed Time Time Time Current 11:07:03 Dload Upload Total Spent Left Speed 11:07:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 11:07:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:07:04 + + sudo teesudo /etc/docker/daemon.new jq 11:07:04 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:07:04 { 11:07:04 "registry-mirrors": [ 11:07:04 "https://nexus3.edgexfoundry.org:10001" 11:07:04 ], 11:07:04 "bip": "10.250.0.254/24", 11:07:04 "hosts": [ 11:07:04 "tcp://0.0.0.0:5555", 11:07:04 "unix:///var/run/docker.sock" 11:07:04 ], 11:07:04 "mtu": 1458, 11:07:04 "selinux-enabled": true, 11:07:04 "seccomp-profile": "/etc/docker/seccomp.json" 11:07:04 } [Pipeline] sh 11:07:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:07:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:23 provisioning config files... 11:07:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config10141625192483186183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:24 ---> docker-login.sh 11:07:24 nexus3.edgexfoundry.org:10001 11:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:25 Configure a credential helper to remove this warning. See 11:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:25 11:07:25 Login Succeeded 11:07:25 nexus3.edgexfoundry.org:10002 11:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:25 Configure a credential helper to remove this warning. See 11:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:25 11:07:25 Login Succeeded 11:07:25 nexus3.edgexfoundry.org:10003 11:07:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:25 Configure a credential helper to remove this warning. See 11:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:25 11:07:25 Login Succeeded 11:07:25 nexus3.edgexfoundry.org:10004 11:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:26 Configure a credential helper to remove this warning. See 11:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:26 11:07:26 Login Succeeded 11:07:26 docker.io 11:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:26 Configure a credential helper to remove this warning. See 11:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:26 11:07:26 Login Succeeded 11:07:26 ---> docker-login.sh ends [Pipeline] } 11:07:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:27 ========================================================= 11:07:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:07:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:27 + 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 . 11:07:27 Sending build context to Docker daemon 11.73MB 11:07:27 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:07:27 Step 2/13 : FROM ${BASE} AS builder 11:07:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:07:28 b3c136eddcbf: Pulling fs layer 11:07:28 c0a3192eca97: Pulling fs layer 11:07:28 a050256f5b6f: Pulling fs layer 11:07:28 656be50a0ddc: Pulling fs layer 11:07:28 2bbca73fdf42: Pulling fs layer 11:07:28 f607e4fc86c3: Pulling fs layer 11:07:28 4d572c569a2c: Pulling fs layer 11:07:28 fcf976331f73: Pulling fs layer 11:07:28 f607e4fc86c3: Waiting 11:07:28 4d572c569a2c: Waiting 11:07:28 656be50a0ddc: Waiting 11:07:28 2bbca73fdf42: Waiting 11:07:28 fcf976331f73: Waiting 11:07:28 a050256f5b6f: Verifying Checksum 11:07:28 a050256f5b6f: Download complete 11:07:28 c0a3192eca97: Verifying Checksum 11:07:28 c0a3192eca97: Download complete 11:07:28 2bbca73fdf42: Verifying Checksum 11:07:28 2bbca73fdf42: Download complete 11:07:28 f607e4fc86c3: Verifying Checksum 11:07:28 f607e4fc86c3: Download complete 11:07:28 b3c136eddcbf: Download complete 11:07:29 b3c136eddcbf: Pull complete 11:07:29 fcf976331f73: Verifying Checksum 11:07:29 fcf976331f73: Download complete 11:07:29 c0a3192eca97: Pull complete 11:07:29 a050256f5b6f: Pull complete 11:07:30 4d572c569a2c: Verifying Checksum 11:07:30 4d572c569a2c: Download complete 11:07:31 656be50a0ddc: Verifying Checksum 11:07:31 656be50a0ddc: Download complete 11:07:43 656be50a0ddc: Pull complete 11:07:43 2bbca73fdf42: Pull complete 11:07:43 f607e4fc86c3: Pull complete 11:07:50 4d572c569a2c: Pull complete 11:07:51 fcf976331f73: Pull complete 11:07:51 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 11:07:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:07:51 ---> 3970a7415f9e 11:07:51 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:53 ---> Running in 0db0edb41f3b 11:07:53 Removing intermediate container 0db0edb41f3b 11:07:53 ---> 4cbaa569a119 11:07:53 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:07:53 ---> Running in 1eb5ef2da726 11:07:53 Removing intermediate container 1eb5ef2da726 11:07:53 ---> 4bbb7b067804 11:07:53 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:07:53 ---> Running in b908c1f513fa 11:07:54 Removing intermediate container b908c1f513fa 11:07:54 ---> 04fffecee670 11:07:54 Step 6/13 : WORKDIR /device-virtual-go 11:07:54 ---> Running in 76f31583343e 11:07:54 Removing intermediate container 76f31583343e 11:07:54 ---> f28bda1008b8 11:07:54 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:54 ---> Running in 7073e9dcdfdc 11:07:57 Removing intermediate container 7073e9dcdfdc 11:07:57 ---> 2aba048e184f 11:07:57 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:57 ---> Running in 146300dfcf34 11:07:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:07:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:07:59 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:07:59 (2/4) Installing libedit (20210910.3.1-r0) 11:08:00 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:08:00 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:08:00 Executing busybox-1.35.0-r13.trigger 11:08:00 OK: 226 MiB in 55 packages 11:08:01 Removing intermediate container 146300dfcf34 11:08:01 ---> eb46b7d5ca7e 11:08:01 Step 9/13 : COPY go.mod vendor* ./ 11:08:01 ---> e53469c35eef 11:08:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:08:01 ---> Running in 7d82079a3637 11:08:48 Removing intermediate container 7d82079a3637 11:08:48 ---> 41523cdfe630 11:08:48 Step 11/13 : COPY . . 11:08:49 ---> 40e438e68da3 11:08:49 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:08:49 ---> Running in e08e1088c4ad 11:08:49 Removing intermediate container e08e1088c4ad 11:08:49 ---> ad7ac10572a0 11:08:49 Step 13/13 : RUN $MAKE 11:08:49 ---> Running in c8323f5f5b2d 11:08:50 noop 11:08:51 Removing intermediate container c8323f5f5b2d 11:08:51 ---> f3c23e3d1e94 11:08:51 Successfully built f3c23e3d1e94 11:08:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:51 + docker inspect -f . ci-base-image-arm64 11:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:52 prd-ubuntu20.04-docker-arm64-4c-16g-6861 does not seem to be running inside a container 11:08:52 $ 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 ******** ci-base-image-arm64 cat 11:08:53 $ docker top c8ca081f45b0977b69b53ebe9d4aa30cc2d803d3948ac6d032d2192916a1d66d -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:54 + go version 11:08:54 go version go1.18.3 linux/arm64 [Pipeline] } 11:08:54 $ docker stop --time=1 c8ca081f45b0977b69b53ebe9d4aa30cc2d803d3948ac6d032d2192916a1d66d 11:08:55 $ docker rm -f c8ca081f45b0977b69b53ebe9d4aa30cc2d803d3948ac6d032d2192916a1d66d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:56 + docker inspect -f . ci-base-image-arm64 11:08:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:56 prd-ubuntu20.04-docker-arm64-4c-16g-6861 does not seem to be running inside a container 11:08:56 $ 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 ******** ci-base-image-arm64 cat 11:08:57 $ docker top 99d87154fc3d20b518d49badc2934b103e8a673e5d22834ca2501796401f9bd3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:58 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:08:58 + make test 11:08:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:09:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:10:22 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:10:22 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.126s coverage: 65.7% of statements 11:10:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:10:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:10:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:10:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:10:40 ./bin/test-attribution-txt.sh [Pipeline] echo 11:10:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:10:40 $ docker stop --time=1 99d87154fc3d20b518d49badc2934b103e8a673e5d22834ca2501796401f9bd3 11:10:42 $ docker rm -f 99d87154fc3d20b518d49badc2934b103e8a673e5d22834ca2501796401f9bd3 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:10:43 Warning: overwriting stash ‘coverage-report’ 11:10:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:10:44 + ls -al . 11:10:44 total 196 11:10:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 11:08 . 11:10:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 11:06 .. 11:10:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 11:07 .git 11:10:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:07 .github 11:10:44 -rw-rw-r-- 1 jenkins jenkins 337 Oct 3 11:07 .gitignore 11:10:44 -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 11:07 .golangci.yml 11:10:44 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 3 11:07 Attribution.txt 11:10:44 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 3 11:07 CHANGELOG.md 11:10:44 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 3 11:07 Dockerfile 11:10:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 11:07 GOVERNANCE.md 11:10:44 -rw-rw-r-- 1 jenkins jenkins 660 Oct 3 11:07 Jenkinsfile 11:10:44 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 11:07 LICENSE 11:10:44 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 3 11:07 Makefile 11:10:44 -rw-rw-r-- 1 jenkins jenkins 623 Oct 3 11:07 OWNERS.md 11:10:44 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 3 11:07 README.md 11:10:44 -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 11:05 VERSION 11:10:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 11:07 bin 11:10:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:07 cmd 11:10:44 -rw-r--r-- 1 jenkins jenkins 44128 Oct 3 11:10 coverage.out 11:10:44 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 3 11:07 go.mod 11:10:44 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 3 11:07 go.sum 11:10:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 11:07 internal 11:10:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 11:07 snap 11:10:44 -rw-rw-r-- 1 jenkins jenkins 235 Oct 3 11:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:45 + 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=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d --label arch=arm64 --label version=0.0.0 . 11:10:45 Sending build context to Docker daemon 11.77MB 11:10:45 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:10:45 Step 2/27 : FROM ${BASE} AS builder 11:10:45 ---> f3c23e3d1e94 11:10:45 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:10:45 ---> Running in 9d27fc732695 11:10:45 Removing intermediate container 9d27fc732695 11:10:45 ---> fa697e9bea2e 11:10:45 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:10:45 ---> Running in d610f2e6a33b 11:10:46 Removing intermediate container d610f2e6a33b 11:10:46 ---> e5fb2034d560 11:10:46 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:10:46 ---> Running in 210ce61ffd1f 11:10:46 Removing intermediate container 210ce61ffd1f 11:10:46 ---> b5b8451b9e6f 11:10:46 Step 6/27 : WORKDIR /device-virtual-go 11:10:46 ---> Running in 964b686f8188 11:10:47 Removing intermediate container 964b686f8188 11:10:47 ---> c11477b80804 11:10:47 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:10:47 ---> Running in 03b27b3d1b76 11:10:48 Removing intermediate container 03b27b3d1b76 11:10:48 ---> 729755a5d6d8 11:10:48 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:48 ---> Running in 30783cd62cce 11:10:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:10:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:10:51 OK: 226 MiB in 55 packages 11:10:51 Removing intermediate container 30783cd62cce 11:10:51 ---> 87b24d9bfbc4 11:10:51 Step 9/27 : COPY go.mod vendor* ./ 11:10:52 ---> b047a456c9e3 11:10:52 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:52 ---> Running in 559c07018478 11:10:54 Removing intermediate container 559c07018478 11:10:54 ---> 77a36ba59418 11:10:54 Step 11/27 : COPY . . 11:10:55 ---> 0c1630fd5d27 11:10:55 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:10:56 ---> Running in 3d2ba97912f5 11:10:56 Removing intermediate container 3d2ba97912f5 11:10:56 ---> e39d07e9a47e 11:10:56 Step 13/27 : RUN $MAKE 11:10:56 ---> Running in 25899ecfb0ea 11:10:57 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 11:13:33 Removing intermediate container 25899ecfb0ea 11:13:33 ---> e04d79f6e49e 11:13:33 Step 14/27 : FROM alpine:3.16 11:13:33 3.16: Pulling from library/alpine 11:13:33 9b18e9b68314: Pulling fs layer 11:13:33 9b18e9b68314: Download complete 11:13:33 9b18e9b68314: Pull complete 11:13:33 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:13:33 Status: Downloaded newer image for alpine:3.16 11:13:33 ---> a6215f271958 11:13:33 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:13:33 ---> Running in cddce4e82f9f 11:13:33 Removing intermediate container cddce4e82f9f 11:13:33 ---> 17b2a0d4404d 11:13:33 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:13:33 ---> Running in 50dc6006f86b 11:13:33 Removing intermediate container 50dc6006f86b 11:13:33 ---> 15352af33ed0 11:13:33 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:13:33 ---> Running in ae80e0e2cea4 11:13:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:13:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:13:33 (1/6) Installing dumb-init (1.2.5-r1) 11:13:33 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:13:33 (3/6) Installing libsodium (1.0.18-r0) 11:13:33 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:13:33 (5/6) Installing libzmq (4.3.4-r0) 11:13:33 (6/6) Installing zeromq (4.3.4-r0) 11:13:33 Executing busybox-1.35.0-r17.trigger 11:13:33 OK: 8 MiB in 20 packages 11:13:33 Removing intermediate container ae80e0e2cea4 11:13:33 ---> be2cca0705cf 11:13:33 Step 18/27 : WORKDIR / 11:13:33 ---> Running in 432b2325012c 11:13:33 Removing intermediate container 432b2325012c 11:13:33 ---> 39976c31dc49 11:13:33 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:13:33 ---> 73e8c666ef3e 11:13:33 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:13:33 ---> b706a3b8907c 11:13:33 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:13:33 ---> 6131b664372a 11:13:33 Step 22/27 : EXPOSE 59900 11:13:33 ---> Running in 90abea3d7650 11:13:33 Removing intermediate container 90abea3d7650 11:13:33 ---> 1c6c961dac05 11:13:33 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:13:33 ---> Running in 619e456a5ff6 11:13:33 Removing intermediate container 619e456a5ff6 11:13:33 ---> 3c0812d7a60c 11:13:33 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:13:33 ---> Running in 03bfaabc6ac6 11:13:33 Removing intermediate container 03bfaabc6ac6 11:13:33 ---> 203de4c84c1d 11:13:33 Step 25/27 : LABEL arch=arm64 11:13:33 ---> Running in 372fd77fed41 11:13:33 Removing intermediate container 372fd77fed41 11:13:33 ---> ded410dfb234 11:13:33 Step 26/27 : LABEL git_sha=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d 11:13:33 ---> Running in dfe058e82d52 11:13:33 Removing intermediate container dfe058e82d52 11:13:33 ---> c2fb854e623c 11:13:33 Step 27/27 : LABEL version=0.0.0 11:13:33 ---> Running in b07be4a7a4f7 11:13:33 Removing intermediate container b07be4a7a4f7 11:13:33 ---> 1547e4dfdaf9 11:13:33 [Warning] One or more build-args [ARCH] were not consumed 11:13:33 Successfully built 1547e4dfdaf9 11:13:33 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:34 11:13:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:35 arm64: Pulling from edgex-lftools-log-publisher 11:13:35 8998bd30e6a1: Pulling fs layer 11:13:35 04944245beec: Pulling fs layer 11:13:35 699f458cf7ca: Pulling fs layer 11:13:35 765212b225bb: Pulling fs layer 11:13:35 f23df028b6ca: Pulling fs layer 11:13:35 d65c8cfc05b1: Pulling fs layer 11:13:35 2437ff75d9bd: Pulling fs layer 11:13:35 f23df028b6ca: Waiting 11:13:35 d65c8cfc05b1: Waiting 11:13:35 2437ff75d9bd: Waiting 11:13:35 765212b225bb: Waiting 11:13:35 04944245beec: Verifying Checksum 11:13:35 04944245beec: Download complete 11:13:35 765212b225bb: Verifying Checksum 11:13:35 765212b225bb: Download complete 11:13:35 f23df028b6ca: Verifying Checksum 11:13:35 f23df028b6ca: Download complete 11:13:35 d65c8cfc05b1: Verifying Checksum 11:13:35 d65c8cfc05b1: Download complete 11:13:35 699f458cf7ca: Verifying Checksum 11:13:35 699f458cf7ca: Download complete 11:13:36 8998bd30e6a1: Download complete 11:13:37 2437ff75d9bd: Verifying Checksum 11:13:37 2437ff75d9bd: Download complete 11:13:39 8998bd30e6a1: Pull complete 11:13:39 04944245beec: Pull complete 11:13:41 699f458cf7ca: Pull complete 11:13:41 765212b225bb: Pull complete 11:13:42 f23df028b6ca: Pull complete 11:13:42 d65c8cfc05b1: Pull complete 11:13:57 2437ff75d9bd: Pull complete 11:13:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:13:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:13:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:13:57 prd-ubuntu20.04-docker-arm64-4c-16g-6861 does not seem to be running inside a container 11:13:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:14:00 $ docker top 43d437ce32e0a990179c418e79c191dc71b102c9e5cd611e68cd44c4056ee4cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:14:01 ---> job-cost.sh 11:14:01 lf-activate-venv: SKIPPING 11:14:01 INFO: No Stack... 11:14:01 INFO: Retrieving Pricing Info for: v3-standard-4 11:14:02 INFO: Archiving Costs [Pipeline] sh 11:14:02 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:14:02 + cut -d, -f6 [Pipeline] lock 11:14:02 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] 11:14:02 Resource [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] did not exist. Created. 11:14:02 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:14:03 /w/workspace/device-virtual-go/1@tmp/durable-f2f81711/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:14:03 + echo total: 0.10999999940395355 [Pipeline] stash 11:14:03 Warning: overwriting stash ‘stack-cost’ 11:14:03 Stashed 1 file(s) [Pipeline] } 11:14:03 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-310-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:14:03 $ docker stop --time=1 43d437ce32e0a990179c418e79c191dc71b102c9e5cd611e68cd44c4056ee4cc 11:14:05 $ docker rm -f 43d437ce32e0a990179c418e79c191dc71b102c9e5cd611e68cd44c4056ee4cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:14:06 provisioning config files... 11:14:06 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-310@tmp/config8863375699637190305tmp [Pipeline] { [Pipeline] sh 11:14:06 + set +x 11:14:06 + curl -s https://codecov.io/bash 11:14:06 + bash -s -- 11:14:06 11:14:06 _____ _ 11:14:06 / ____| | | 11:14:06 | | ___ __| | ___ ___ _____ __ 11:14:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:14:06 | |___| (_) | (_| | __/ (_| (_) \ V / 11:14:06 \_____\___/ \__,_|\___|\___\___/ \_/ 11:14:06 Bash-1.0.6 11:14:06 11:14:06 11:14:06 ==> git version 2.25.1 found 11:14:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:14:06 Release-Date: 2020-01-08 11:14:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:14:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:14:06 ==> Jenkins CI detected. 11:14:06 current dir:  /w/workspace/foundry_device-virtual-go_PR-310 11:14:06 project root: . 11:14:06 --> token set from env 11:14:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:14:06 ==> Running gcov in . (disable via -X gcov) 11:14:06 ==> Python coveragepy not found 11:14:06 ==> Searching for coverage reports in: 11:14:06 + . 11:14:06 -> Found 1 reports 11:14:06 ==> Detecting git/mercurial file structure 11:14:06 ==> Reading reports 11:14:06 + ./coverage.out bytes=44128 11:14:06 ==> Appending adjustments 11:14:06 https://docs.codecov.io/docs/fixing-reports 11:14:07 + Found adjustments 11:14:07 ==> Gzipping contents 11:14:07 8.0K /tmp/codecov.Wq14V8.gz 11:14:07 ==> Uploading reports 11:14:07 url: https://codecov.io 11:14:07 query: branch=PR-310&commit=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-310%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=310&job=&cmd_args= 11:14:07 -> Pinging Codecov 11:14:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-310&commit=d2cc3ac2a98df30ac48200989cdfb25a4b3c037d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-310%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=310&job=&cmd_args= 11:14:07 -> Uploading to 11:14:07 https://storage.googleapis.com/codecov/v4/raw/2022-10-03/5E52B4B073DB2E39498172D8E973AA87/d2cc3ac2a98df30ac48200989cdfb25a4b3c037d/10467445-dbec-4e70-bff1-d724ffb60e03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T111407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a1470fa6efcde683faa3c4c7b4ccc6c23e751124bacd8389bf45f57e6492e536 11:14:07 % Total % Received % Xferd Average Speed Time Time Time Current 11:14:07 Dload Upload Total Spent Left Speed 11:14:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5496 0 0 100 5496 0 24211 --:--:-- --:--:-- --:--:-- 24318 11:14:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d2cc3ac2a98df30ac48200989cdfb25a4b3c037d [Pipeline] } 11:14:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:14:09 + [ -d /w/workspace/foundry_device-virtual-go_PR-310/archives ] 11:14:09 + ls -al /w/workspace/foundry_device-virtual-go_PR-310/archives 11:14:09 total 16 11:14:09 drwxr-xr-x 3 root root 4096 Oct 3 11:06 . 11:14:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 11:06 .. 11:14:09 drwxr-xr-x 2 root root 4096 Oct 3 11:06 cost 11:14:09 -rw-r--r-- 1 root root 89 Oct 3 11:06 cost.csv 11:14:09 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-310/archives 11:14:09 + ls -al /w/workspace/foundry_device-virtual-go_PR-310/archives 11:14:09 total 16 11:14:09 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 11:06 . 11:14:09 drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 11:06 .. 11:14:09 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 11:06 cost 11:14:09 -rw-r--r-- 1 jenkins jenkins 89 Oct 3 11:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:14:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:14:10 ---> package-listing.sh 11:14:10 ++ facter osfamily 11:14:10 ++ tr '[:upper:]' '[:lower:]' 11:14:10 + OS_FAMILY=debian 11:14:10 + workspace=/w/workspace/foundry_device-virtual-go_PR-310 11:14:10 + START_PACKAGES=/tmp/packages_start.txt 11:14:10 + END_PACKAGES=/tmp/packages_end.txt 11:14:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:14:10 + PACKAGES=/tmp/packages_start.txt 11:14:10 + '[' /w/workspace/foundry_device-virtual-go_PR-310 ']' 11:14:10 + PACKAGES=/tmp/packages_end.txt 11:14:10 + case "${OS_FAMILY}" in 11:14:10 + dpkg -l 11:14:10 + grep '^ii' 11:14:10 + '[' -f /tmp/packages_start.txt ']' 11:14:10 + '[' -f /tmp/packages_end.txt ']' 11:14:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:14:10 + '[' /w/workspace/foundry_device-virtual-go_PR-310 ']' 11:14:10 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-310/archives/ 11:14:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-310/archives/ [Pipeline] echo 11:14:10 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-310/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:14:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:14:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:11 prd-ubuntu20.04-docker-8c-8g-6860 does not seem to be running inside a container 11:14:11 $ 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-310/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-310 -v /w/workspace/foundry_device-virtual-go_PR-310:/w/workspace/foundry_device-virtual-go_PR-310:rw,z -v /w/workspace/foundry_device-virtual-go_PR-310@tmp:/w/workspace/foundry_device-virtual-go_PR-310@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:14:12 $ docker top f462c87fc37899579ca9b93ee81020e7524fc12194745a0c3e981842b2bb584e -eo pid,comm [Pipeline] { [Pipeline] sh 11:14:12 + touch /tmp/pre-build-complete [Pipeline] sh 11:14:12 + mkdir -p /var/log/sysstat [Pipeline] sh 11:14:13 + ls /var/log/sa-host 11:14:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:14:13 provisioning config files... 11:14:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-310@tmp/config7550192496626528513tmp [Pipeline] { [Pipeline] echo 11:14:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:14:14 ---> create-netrc.sh [Pipeline] } 11:14:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:14:14 ---> python-tools-install.sh [Pipeline] echo 11:14:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:14:14 ---> sudo-logs.sh 11:14:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:14:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:14:15 ---> job-cost.sh 11:14:15 lf-activate-venv: SKIPPING 11:14:15 DEBUG: total: 0.2199999988079071 11:14:15 INFO: Retrieving Stack Cost... 11:14:15 INFO: Retrieving Pricing Info for: v3-standard-8 11:14:16 INFO: Archiving Costs [Pipeline] echo 11:14:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:14:16 ---> logs-deploy.sh 11:14:16 lf-activate-venv: SKIPPING 11:14:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-310/1 11:14:16 INFO: archiving workspace using pattern(s): 11:14:17 Archives upload complete. 11:14:17 INFO: archiving logs to Nexus