Pull request #305 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from c492918df114aea48d87c626b4428d7f9950dc90+e9e78a70a342ea66ab18edf5d69a1655646d3b52 (4dc61ecff71e261fc7ec5344a84f58611ea048ab) 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-ssh9689115129273979887.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-ssh7638670872911755188.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6403708684600371593.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 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-ssh15336045453513358735.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9175678996321179965.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-640 in /w/workspace/foundry_device-virtual-go_PR-305 [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-305 # 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 e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit c492918df114aea48d87c626b4428d7f9950dc90 Merge succeeded, producing c492918df114aea48d87c626b4428d7f9950dc90 Checking out Revision c492918df114aea48d87c626b4428d7f9950dc90 (PR-305) > 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/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c492918df114aea48d87c626b4428d7f9950dc90 # 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 e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c492918df114aea48d87c626b4428d7f9950dc90 # timeout=10 Commit message: "feat: Add NATS Subject configuration" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:01:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:01:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:01:57 ========================================================= 20:01:57 EdgeX Global Pipelines Version Info 20:01:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:01:57 ------------------- 20:01:57 stable info: 20:01:57 ------------------- 20:01:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:01:57 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:01:57 Message: update stable to v1.0.239 > git rev-list --no-walk d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 20:01:58 ------------------- 20:01:58 experimental info: 20:01:58 ------------------- 20:01:58 Commited By: **** collab-it+edgex@linuxfoundation.org 20:01:58 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:01:58 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 20:01:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 20:01:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] echo 20:01:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c492918 [Pipeline] echo 20:01:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:01:59 provisioning config files... 20:01:59 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config8695223631572283900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:01:59 ---> docker-login.sh 20:01:59 nexus3.edgexfoundry.org:10001 20:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:59 Configure a credential helper to remove this warning. See 20:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:59 20:01:59 Login Succeeded 20:01:59 nexus3.edgexfoundry.org:10002 20:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:59 Configure a credential helper to remove this warning. See 20:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:59 20:01:59 Login Succeeded 20:01:59 nexus3.edgexfoundry.org:10003 20:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:59 Configure a credential helper to remove this warning. See 20:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:59 20:01:59 Login Succeeded 20:01:59 nexus3.edgexfoundry.org:10004 20:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:01:59 Configure a credential helper to remove this warning. See 20:01:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:01:59 20:01:59 Login Succeeded 20:01:59 docker.io 20:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:00 Configure a credential helper to remove this warning. See 20:02:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:00 20:02:00 Login Succeeded 20:02:00 ---> docker-login.sh ends [Pipeline] } 20:02:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:02:00 + git rev-list -1 --merges c492918df114aea48d87c626b4428d7f9950dc90~1..c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] echo 20:02:00 -----------> git rev-list -1 --merges c492918df114aea48d87c626b4428d7f9950dc90~1..c492918df114aea48d87c626b4428d7f9950dc90 c492918df114aea48d87c626b4428d7f9950dc90 [false] [Pipeline] sh 20:02:01 + git log --format=format:%s -1 c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] echo 20:02:01 ========================================================= 20:02:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:02:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:02:01 + git log --format=format:%s -1 c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] echo 20:02:01 [semverPrep] GIT_COMMIT: c492918df114aea48d87c626b4428d7f9950dc90, Commit Message: feat: Add NATS Subject configuration [Pipeline] echo 20:02:01 [semverPrep] This is not a build commit. [Pipeline] sh 20:02:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:02:01 + grep -v github /etc/ssh/ssh_known_hosts 20:02:01 + [ -e /tmp/ssh_known_hosts ] 20:02:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:02:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:02:01 + sudo tee -a /etc/ssh/ssh_known_hosts 20:02:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:02 20:02:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:02 0.1.4: Pulling from edgex-devops/py-git-semver 20:02:02 b85a868b505f: Pulling fs layer 20:02:02 e2be974225ed: Pulling fs layer 20:02:02 339a4e72a1f5: Pulling fs layer 20:02:02 988bab9f4d93: Pulling fs layer 20:02:02 1469e6f7b9e6: Pulling fs layer 20:02:02 eaf3925da568: Pulling fs layer 20:02:02 bab4dde63d76: Pulling fs layer 20:02:02 bde34c3a00c8: Pulling fs layer 20:02:02 b352a97aabf1: Pulling fs layer 20:02:02 4872d77fe225: Pulling fs layer 20:02:02 5851b861e8e6: Pulling fs layer 20:02:02 988bab9f4d93: Waiting 20:02:02 1469e6f7b9e6: Waiting 20:02:02 eaf3925da568: Waiting 20:02:02 4872d77fe225: Waiting 20:02:02 bab4dde63d76: Waiting 20:02:02 5851b861e8e6: Waiting 20:02:02 b352a97aabf1: Waiting 20:02:02 bde34c3a00c8: Waiting 20:02:02 e2be974225ed: Download complete 20:02:02 988bab9f4d93: Verifying Checksum 20:02:02 988bab9f4d93: Download complete 20:02:02 1469e6f7b9e6: Verifying Checksum 20:02:02 1469e6f7b9e6: Download complete 20:02:02 eaf3925da568: Verifying Checksum 20:02:02 eaf3925da568: Download complete 20:02:02 339a4e72a1f5: Verifying Checksum 20:02:02 339a4e72a1f5: Download complete 20:02:02 bde34c3a00c8: Verifying Checksum 20:02:02 bde34c3a00c8: Download complete 20:02:02 b352a97aabf1: Verifying Checksum 20:02:02 b352a97aabf1: Download complete 20:02:02 4872d77fe225: Download complete 20:02:02 5851b861e8e6: Verifying Checksum 20:02:02 5851b861e8e6: Download complete 20:02:02 b85a868b505f: Verifying Checksum 20:02:02 b85a868b505f: Download complete 20:02:03 bab4dde63d76: Verifying Checksum 20:02:03 bab4dde63d76: Download complete 20:02:04 b85a868b505f: Pull complete 20:02:04 e2be974225ed: Pull complete 20:02:04 339a4e72a1f5: Pull complete 20:02:04 988bab9f4d93: Pull complete 20:02:05 1469e6f7b9e6: Pull complete 20:02:05 eaf3925da568: Pull complete 20:02:07 bab4dde63d76: Pull complete 20:02:07 bde34c3a00c8: Pull complete 20:02:07 b352a97aabf1: Pull complete 20:02:07 4872d77fe225: Pull complete 20:02:07 5851b861e8e6: Pull complete 20:02:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:02:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:02:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:07 prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container 20:02:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:02:10 $ docker top d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d -eo pid,comm 20:02:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:02:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:02:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:10 [ssh-agent] Looking for ssh-agent implementation... 20:02:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:10 $ docker exec d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d ssh-agent 20:02:10 SSH_AUTH_SOCK=/tmp/ssh-Zvscks2atvRz/agent.32 20:02:10 SSH_AGENT_PID=38 20:02:10 Running ssh-add (command line suppressed) 20:02:10 Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_10860098995492152360.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_10860098995492152360.key) 20:02:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:02:11 + git tag --points-at HEAD [Pipeline] } 20:02:11 $ docker exec --env ******** --env ******** d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d ssh-agent -k 20:02:11 unset SSH_AUTH_SOCK; 20:02:11 unset SSH_AGENT_PID; 20:02:11 echo Agent pid 38 killed; 20:02:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:02:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:02:11 [ssh-agent] Looking for ssh-agent implementation... 20:02:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:02:11 $ docker exec d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d ssh-agent 20:02:11 SSH_AUTH_SOCK=/tmp/ssh-JfdDps3W4YBE/agent.70 20:02:11 SSH_AGENT_PID=76 20:02:11 Running ssh-add (command line suppressed) 20:02:11 Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_1982320760045703841.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_1982320760045703841.key) 20:02:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:02:11 + git semver init 20:02:12 2022-09-22 20:02:12,127 [run_init] DEBUG init version:0.0.0 force:False 20:02:12 2022-09-22 20:02:12,128 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-305/.semver 20:02:12 2022-09-22 20:02:12,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-305/.semver 20:02:12 2022-09-22 20:02:12,128 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-305/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-305, universal_newlines=False, shell=None, istream=None) 20:02:13 2022-09-22 20:02:13,310 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-305/.git/info/exclude 20:02:13 2022-09-22 20:02:13,310 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 with force:False 20:02:13 2022-09-22 20:02:13,311 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 20:02:13 2022-09-22 20:02:13,313 [execute] INFO git cat-file --batch-check 20:02:13 2022-09-22 20:02:13,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) 20:02:13 2022-09-22 20:02:13,320 [execute] INFO git cat-file --batch 20:02:13 2022-09-22 20:02:13,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) 20:02:13 2022-09-22 20:02:13,326 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 20:02:13 0.0.0 [Pipeline] } 20:02:13 $ docker exec --env ******** --env ******** d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d ssh-agent -k 20:02:13 unset SSH_AUTH_SOCK; 20:02:13 unset SSH_AGENT_PID; 20:02:13 echo Agent pid 76 killed; 20:02:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:02:13 + git semver [Pipeline] } 20:02:14 $ docker stop --time=1 d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d 20:02:15 $ docker rm -f d160884e8a5569646e829337f0a0b020eb9855988aeeb454dde6c82541aa551d [Pipeline] // withDockerContainer [Pipeline] sh 20:02:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:02:16 Stashed 1 file(s) [Pipeline] echo 20:02:16 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:02:16 provisioning config files... 20:02:16 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config6701737987397911901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:02:16 ---> docker-login.sh 20:02:16 nexus3.edgexfoundry.org:10001 20:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:16 Configure a credential helper to remove this warning. See 20:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:16 20:02:16 Login Succeeded 20:02:16 nexus3.edgexfoundry.org:10002 20:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:16 Configure a credential helper to remove this warning. See 20:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:16 20:02:16 Login Succeeded 20:02:16 nexus3.edgexfoundry.org:10003 20:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:16 Configure a credential helper to remove this warning. See 20:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:16 20:02:16 Login Succeeded 20:02:16 nexus3.edgexfoundry.org:10004 20:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:16 Configure a credential helper to remove this warning. See 20:02:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:16 20:02:16 Login Succeeded 20:02:16 docker.io 20:02:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:02:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:02:17 Configure a credential helper to remove this warning. See 20:02:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:02:17 20:02:17 Login Succeeded 20:02:17 ---> docker-login.sh ends [Pipeline] } 20:02:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:02:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:02:17 ========================================================= 20:02:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:02:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:02:17 Sending build context to Docker daemon 23.16MB 20:02:17 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:02:17 Step 2/13 : FROM ${BASE} AS builder 20:02:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:02:17 2408cc74d12b: Pulling fs layer 20:02:17 ea60b727a1ce: Pulling fs layer 20:02:17 30c4a7721957: Pulling fs layer 20:02:17 370296b7ddb6: Pulling fs layer 20:02:17 7c6cee850709: Pulling fs layer 20:02:17 39a5fcdaea64: Pulling fs layer 20:02:17 d94ebbe4e438: Pulling fs layer 20:02:17 7c6cee850709: Waiting 20:02:17 39a5fcdaea64: Waiting 20:02:17 370296b7ddb6: Waiting 20:02:17 bcfd1f05c69d: Pulling fs layer 20:02:17 59ccb84bbe0f: Pulling fs layer 20:02:17 d94ebbe4e438: Waiting 20:02:17 59ccb84bbe0f: Waiting 20:02:17 30c4a7721957: Verifying Checksum 20:02:17 30c4a7721957: Download complete 20:02:17 ea60b727a1ce: Verifying Checksum 20:02:17 ea60b727a1ce: Download complete 20:02:17 7c6cee850709: Verifying Checksum 20:02:17 7c6cee850709: Download complete 20:02:17 39a5fcdaea64: Download complete 20:02:17 2408cc74d12b: Verifying Checksum 20:02:17 2408cc74d12b: Download complete 20:02:17 d94ebbe4e438: Verifying Checksum 20:02:17 d94ebbe4e438: Download complete 20:02:18 2408cc74d12b: Pull complete 20:02:18 ea60b727a1ce: Pull complete 20:02:18 30c4a7721957: Pull complete 20:02:18 59ccb84bbe0f: Verifying Checksum 20:02:18 59ccb84bbe0f: Download complete 20:02:18 370296b7ddb6: Verifying Checksum 20:02:18 370296b7ddb6: Download complete 20:02:18 bcfd1f05c69d: Verifying Checksum 20:02:18 bcfd1f05c69d: Download complete 20:02:23 370296b7ddb6: Pull complete 20:02:23 7c6cee850709: Pull complete 20:02:23 39a5fcdaea64: Pull complete 20:02:23 d94ebbe4e438: Pull complete 20:02:25 bcfd1f05c69d: Pull complete 20:02:25 59ccb84bbe0f: Pull complete 20:02:25 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:02:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:02:25 ---> a4fb48ad2a94 20:02:25 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:02:29 ---> Running in 4d47c471d93d 20:02:29 Removing intermediate container 4d47c471d93d 20:02:29 ---> 3f3cf73d3b91 20:02:29 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 20:02:29 ---> Running in 3bf20c0ff7f9 20:02:29 Removing intermediate container 3bf20c0ff7f9 20:02:29 ---> 07ce2062c27d 20:02:29 Step 5/13 : ARG ADD_BUILD_TAGS="" 20:02:29 ---> Running in 75868b9620d1 20:02:29 Removing intermediate container 75868b9620d1 20:02:29 ---> a7f2f06a8304 20:02:29 Step 6/13 : WORKDIR /device-virtual-go 20:02:29 ---> Running in 103d285b484e 20:02:30 Removing intermediate container 103d285b484e 20:02:30 ---> d3abf7406361 20:02:30 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:02:30 ---> Running in 6eeb4da4b9ec 20:02:30 Removing intermediate container 6eeb4da4b9ec 20:02:30 ---> c34d9bd91079 20:02:30 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:02:30 ---> Running in 437c913615fc 20:02:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:02:31 Still waiting to schedule task 20:02:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:02:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:02:32 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:02:32 (2/4) Installing libedit (20210910.3.1-r0) 20:02:32 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:02:32 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:02:32 Executing busybox-1.35.0-r13.trigger 20:02:32 OK: 216 MiB in 55 packages 20:02:32 Removing intermediate container 437c913615fc 20:02:32 ---> 429ee03576da 20:02:32 Step 9/13 : COPY go.mod vendor* ./ 20:02:32 ---> c5c978d2dbfc 20:02:32 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:02:32 ---> Running in 40a9a1d6fbc4 20:02:54 Removing intermediate container 40a9a1d6fbc4 20:02:54 ---> 9c31d2d4d02f 20:02:54 Step 11/13 : COPY . . 20:02:55 ---> ee6457d67fa9 20:02:55 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:02:55 ---> Running in bd08629312c0 20:02:55 Removing intermediate container bd08629312c0 20:02:55 ---> 3de9091bf728 20:02:55 Step 13/13 : RUN $MAKE 20:02:55 ---> Running in c8e27b95dc23 20:02:55 noop 20:02:55 Removing intermediate container c8e27b95dc23 20:02:55 ---> f37426691189 20:02:55 Successfully built f37426691189 20:02:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:56 + docker inspect -f . ci-base-image-x86_64 20:02:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:56 prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container 20:02:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:02:56 $ docker top ff2fcda7de110669314311612dbc01cb3a24620dcc555a3c5a95ebb659ecce89 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:57 + go version 20:02:57 go version go1.18.3 linux/amd64 [Pipeline] } 20:02:57 $ docker stop --time=1 ff2fcda7de110669314311612dbc01cb3a24620dcc555a3c5a95ebb659ecce89 20:02:58 $ docker rm -f ff2fcda7de110669314311612dbc01cb3a24620dcc555a3c5a95ebb659ecce89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:02:58 + docker inspect -f . ci-base-image-x86_64 20:02:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:02:58 prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container 20:02:58 $ 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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:02:59 $ docker top 0fd48eca806901d801c77194db2b76203793df80a50b192470a8ab559b8905f5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:02:59 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] fileExists [Pipeline] sh 20:02:59 + make test 20:02:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:03:00 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:03:10 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:03:10 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 20:03:16 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:03:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:03:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:03:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:03:19 ./bin/test-attribution-txt.sh [Pipeline] echo 20:03:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:03:19 $ docker stop --time=1 0fd48eca806901d801c77194db2b76203793df80a50b192470a8ab559b8905f5 20:03:22 $ docker rm -f 0fd48eca806901d801c77194db2b76203793df80a50b192470a8ab559b8905f5 [Pipeline] // withDockerContainer [Pipeline] sh 20:03:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:03:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:03:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:03:23 + ls -al . 20:03:23 total 200 20:03:23 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 20:02 . 20:03:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:01 .. 20:03:23 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 20:03 .git 20:03:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:01 .github 20:03:23 -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 20:01 .gitignore 20:03:23 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 20:01 .golangci.yml 20:03:23 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 20:02 .semver 20:03:23 -rw-rw-r-- 1 jenkins jenkins 8527 Sep 22 20:01 Attribution.txt 20:03:23 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 20:01 CHANGELOG.md 20:03:23 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 20:01 Dockerfile 20:03:23 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 20:01 GOVERNANCE.md 20:03:23 -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 20:01 Jenkinsfile 20:03:23 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 20:01 LICENSE 20:03:23 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 20:01 Makefile 20:03:23 -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 20:01 OWNERS.md 20:03:23 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 20:01 README.md 20:03:23 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 20:02 VERSION 20:03:23 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:01 bin 20:03:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:01 cmd 20:03:23 -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 20:03 coverage.out 20:03:23 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 22 20:01 go.mod 20:03:23 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 22 20:01 go.sum 20:03:23 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:01 internal 20:03:23 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:01 snap 20:03:23 -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 20:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:23 + 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=c492918df114aea48d87c626b4428d7f9950dc90 --label arch=amd64 --label version=0.0.0 . 20:03:23 Sending build context to Docker daemon 23.21MB 20:03:23 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 20:03:23 Step 2/27 : FROM ${BASE} AS builder 20:03:23 ---> f37426691189 20:03:23 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:03:24 ---> Running in 010413c55c59 20:03:24 Removing intermediate container 010413c55c59 20:03:24 ---> 0d1aa25e9763 20:03:24 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 20:03:24 ---> Running in 6928453d68d1 20:03:24 Removing intermediate container 6928453d68d1 20:03:24 ---> 597fae4e530a 20:03:24 Step 5/27 : ARG ADD_BUILD_TAGS="" 20:03:24 ---> Running in 01845880dbaf 20:03:24 Removing intermediate container 01845880dbaf 20:03:24 ---> 241edb6e7443 20:03:24 Step 6/27 : WORKDIR /device-virtual-go 20:03:24 ---> Running in 1e8488ab3cb7 20:03:24 Removing intermediate container 1e8488ab3cb7 20:03:24 ---> 26e000125a46 20:03:24 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:03:24 ---> Running in e200deab8e0f 20:03:24 Removing intermediate container e200deab8e0f 20:03:24 ---> eccca9ca9366 20:03:24 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:03:24 ---> Running in 5868ea41f914 20:03:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:03:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:03:26 OK: 216 MiB in 55 packages 20:03:26 Removing intermediate container 5868ea41f914 20:03:26 ---> 04259ca4b928 20:03:26 Step 9/27 : COPY go.mod vendor* ./ 20:03:26 ---> aee566643c00 20:03:26 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:26 ---> Running in ee26ffa76aa1 20:03:27 Removing intermediate container ee26ffa76aa1 20:03:27 ---> d6a3d38ab01c 20:03:27 Step 11/27 : COPY . . 20:03:28 ---> bd7d47b09b44 20:03:28 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:03:28 ---> Running in e710b8fc0978 20:03:28 Removing intermediate container e710b8fc0978 20:03:28 ---> c78d1db312b1 20:03:28 Step 13/27 : RUN $MAKE 20:03:28 ---> Running in 82bd4f04070e 20:03:28 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 20:03:50 Removing intermediate container 82bd4f04070e 20:03:50 ---> 2a72d1f779c3 20:03:50 Step 14/27 : FROM alpine:3.16 20:03:50 3.16: Pulling from library/alpine 20:03:50 213ec9aee27d: Pulling fs layer 20:03:50 213ec9aee27d: Verifying Checksum 20:03:50 213ec9aee27d: Download complete 20:03:50 213ec9aee27d: Pull complete 20:03:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:03:50 Status: Downloaded newer image for alpine:3.16 20:03:50 ---> 9c6f07244728 20:03:50 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:03:50 ---> Running in c8807f48caf2 20:03:50 Removing intermediate container c8807f48caf2 20:03:50 ---> 2c033d7c3f6d 20:03:50 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:03:50 ---> Running in 7468db685420 20:03:51 Removing intermediate container 7468db685420 20:03:51 ---> 3e872088741d 20:03:51 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 20:03:51 ---> Running in 3184ad468e45 20:03:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:03:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:03:53 (1/6) Installing dumb-init (1.2.5-r1) 20:03:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:03:53 (3/6) Installing libsodium (1.0.18-r0) 20:03:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:03:53 (5/6) Installing libzmq (4.3.4-r0) 20:03:53 (6/6) Installing zeromq (4.3.4-r0) 20:03:53 Executing busybox-1.35.0-r17.trigger 20:03:53 OK: 8 MiB in 20 packages 20:03:54 Removing intermediate container 3184ad468e45 20:03:54 ---> ef07b4a492d7 20:03:54 Step 18/27 : WORKDIR / 20:03:54 ---> Running in 7af99aaf2486 20:03:54 Removing intermediate container 7af99aaf2486 20:03:54 ---> 3c07f9be335e 20:03:54 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:03:54 ---> a55be471418d 20:03:54 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 20:03:54 ---> db15a9ae99e6 20:03:54 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 20:03:55 ---> 2ac031d9bba8 20:03:55 Step 22/27 : EXPOSE 59900 20:03:55 ---> Running in 571abc747a13 20:03:55 Removing intermediate container 571abc747a13 20:03:55 ---> 9e209febdc5b 20:03:55 Step 23/27 : ENTRYPOINT ["/device-virtual"] 20:03:55 ---> Running in 0eac275631df 20:03:55 Removing intermediate container 0eac275631df 20:03:55 ---> 326db691acb6 20:03:55 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:03:55 ---> Running in 9d0df58a38a2 20:03:55 Removing intermediate container 9d0df58a38a2 20:03:55 ---> 3fa43def8229 20:03:55 Step 25/27 : LABEL arch=amd64 20:03:55 ---> Running in 6cbf8f2beb64 20:03:55 Removing intermediate container 6cbf8f2beb64 20:03:55 ---> 87d6e7f0fb85 20:03:55 Step 26/27 : LABEL git_sha=c492918df114aea48d87c626b4428d7f9950dc90 20:03:55 ---> Running in a45f411effad 20:03:55 Removing intermediate container a45f411effad 20:03:55 ---> 5da0032b34e5 20:03:55 Step 27/27 : LABEL version=0.0.0 20:03:55 ---> Running in edd3c5f0c795 20:03:55 Removing intermediate container edd3c5f0c795 20:03:55 ---> f48baddccbe9 20:03:55 [Warning] One or more build-args [ARCH] were not consumed 20:03:55 Successfully built f48baddccbe9 20:03:55 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:55 20:03:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:03:56 latest: Pulling from edgex-lftools-log-publisher 20:03:56 5eb5b503b376: Pulling fs layer 20:03:56 5c69ac0246d0: Pulling fs layer 20:03:56 ec43610c2a17: Pulling fs layer 20:03:56 3a2ae6a8a46f: Pulling fs layer 20:03:56 33b1e0a273af: Pulling fs layer 20:03:56 5d3b04190fa2: Pulling fs layer 20:03:56 2f39f015ded8: Pulling fs layer 20:03:56 3a2ae6a8a46f: Waiting 20:03:56 33b1e0a273af: Waiting 20:03:56 5d3b04190fa2: Waiting 20:03:56 5c69ac0246d0: Download complete 20:03:56 3a2ae6a8a46f: Verifying Checksum 20:03:56 3a2ae6a8a46f: Download complete 20:03:56 33b1e0a273af: Verifying Checksum 20:03:56 33b1e0a273af: Download complete 20:03:56 5d3b04190fa2: Verifying Checksum 20:03:56 5d3b04190fa2: Download complete 20:03:56 ec43610c2a17: Verifying Checksum 20:03:56 ec43610c2a17: Download complete 20:03:56 5eb5b503b376: Verifying Checksum 20:03:56 5eb5b503b376: Download complete 20:03:57 2f39f015ded8: Download complete 20:03:57 5eb5b503b376: Pull complete 20:03:57 5c69ac0246d0: Pull complete 20:03:58 ec43610c2a17: Pull complete 20:03:58 3a2ae6a8a46f: Pull complete 20:03:58 33b1e0a273af: Pull complete 20:03:58 5d3b04190fa2: Pull complete 20:04:02 2f39f015ded8: Pull complete 20:04:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:04:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:04:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:02 prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container 20:04:02 $ 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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:04:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-642 in /w/workspace/foundry_device-virtual-go_PR-305 20:04:06 $ docker top 271d83142be64354894a488bff5c981909143afaf6a253537e46504f0444f0a3 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 20:04:06 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 20:04:06 The recommended git tool is: git 20:04:06 ---> job-cost.sh 20:04:06 lf-activate-venv: SKIPPING 20:04:06 INFO: No Stack... 20:04:07 INFO: Retrieving Pricing Info for: v3-standard-8 20:04:07 INFO: Archiving Costs [Pipeline] sh 20:04:08 + cat /w/workspace/foundry_device-virtual-go_PR-305/archives/cost.csv 20:04:08 + cut -d, -f6 [Pipeline] lock 20:04:08 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] 20:04:08 Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] did not exist. Created. 20:04:08 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:04:08 + echo total: 0.2199999988079071 [Pipeline] stash 20:04:08 Stashed 1 file(s) [Pipeline] } 20:04:08 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:04:08 $ docker stop --time=1 271d83142be64354894a488bff5c981909143afaf6a253537e46504f0444f0a3 20:04:09 $ docker rm -f 271d83142be64354894a488bff5c981909143afaf6a253537e46504f0444f0a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:04:11 using credential edgex-jenkins-ssh 20:04:11 Cloning the remote Git repository 20:04:11 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 20:04:11 > git init /w/workspace/device-virtual-go/2 # timeout=10 20:04:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:04:12 > git --version # timeout=10 20:04:12 > git --version # 'git version 2.25.1' 20:04:12 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:12 Verifying host key using known hosts file 20:04:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:04:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:04:14 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:04:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:04:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 20:04:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 20:04:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:15 Verifying host key using known hosts file 20:04:15 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:04:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/305/head:refs/remotes/origin/PR-305 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:04:15 Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit c492918df114aea48d87c626b4428d7f9950dc90 20:04:16 Merge succeeded, producing c492918df114aea48d87c626b4428d7f9950dc90 20:04:16 Checking out Revision c492918df114aea48d87c626b4428d7f9950dc90 (PR-305) 20:04:15 > git config core.sparsecheckout # timeout=10 20:04:15 > git checkout -f c492918df114aea48d87c626b4428d7f9950dc90 # timeout=10 20:04:15 > git remote # timeout=10 20:04:15 > git config --get remote.origin.url # timeout=10 20:04:15 using GIT_SSH to set credentials SSH Credentials for GitHub 20:04:15 Verifying host key using known hosts file 20:04:15 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:04:15 > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 20:04:16 > git rev-parse HEAD^{commit} # timeout=10 20:04:16 > git config core.sparsecheckout # timeout=10 20:04:16 > git checkout -f c492918df114aea48d87c626b4428d7f9950dc90 # timeout=10 20:04:19 Commit message: "feat: Add NATS Subject configuration" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:04:20 % Total % Received % Xferd Average Speed Time Time Time Current 20:04:20 Dload Upload Total Spent Left Speed 20:04:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh 20:04:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:04:21 + sudo tee /etc/docker/daemon.new+ sudo jq 20:04:21 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:04:21 { 20:04:21 "registry-mirrors": [ 20:04:21 "https://nexus3.edgexfoundry.org:10001" 20:04:21 ], 20:04:21 "bip": "10.250.0.254/24", 20:04:21 "hosts": [ 20:04:21 "tcp://0.0.0.0:5555", 20:04:21 "unix:///var/run/docker.sock" 20:04:21 ], 20:04:21 "mtu": 1458, 20:04:21 "selinux-enabled": true, 20:04:21 "seccomp-profile": "/etc/docker/seccomp.json" 20:04:21 } [Pipeline] sh 20:04:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:04:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:40 provisioning config files... 20:04:40 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config15527960133166852403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:40 ---> docker-login.sh 20:04:40 nexus3.edgexfoundry.org:10001 20:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:41 Configure a credential helper to remove this warning. See 20:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:41 20:04:41 Login Succeeded 20:04:41 nexus3.edgexfoundry.org:10002 20:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:41 Configure a credential helper to remove this warning. See 20:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:41 20:04:41 Login Succeeded 20:04:41 nexus3.edgexfoundry.org:10003 20:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:41 Configure a credential helper to remove this warning. See 20:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:41 20:04:41 Login Succeeded 20:04:41 nexus3.edgexfoundry.org:10004 20:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:42 Configure a credential helper to remove this warning. See 20:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:42 20:04:42 Login Succeeded 20:04:42 docker.io 20:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:42 Configure a credential helper to remove this warning. See 20:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:42 20:04:42 Login Succeeded 20:04:42 ---> docker-login.sh ends [Pipeline] } 20:04:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:42 ========================================================= 20:04:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:04:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:04:43 Sending build context to Docker daemon 11.73MB 20:04:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:04:43 Step 2/13 : FROM ${BASE} AS builder 20:04:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:04:44 b3c136eddcbf: Pulling fs layer 20:04:44 c0a3192eca97: Pulling fs layer 20:04:44 a050256f5b6f: Pulling fs layer 20:04:44 656be50a0ddc: Pulling fs layer 20:04:44 2bbca73fdf42: Pulling fs layer 20:04:44 46d945488cbd: Pulling fs layer 20:04:44 8a5474983e97: Pulling fs layer 20:04:44 329c88fbcd65: Pulling fs layer 20:04:44 46d945488cbd: Waiting 20:04:44 8a5474983e97: Waiting 20:04:44 329c88fbcd65: Waiting 20:04:44 656be50a0ddc: Waiting 20:04:44 2bbca73fdf42: Waiting 20:04:44 a050256f5b6f: Verifying Checksum 20:04:44 a050256f5b6f: Download complete 20:04:44 c0a3192eca97: Download complete 20:04:44 2bbca73fdf42: Verifying Checksum 20:04:44 2bbca73fdf42: Download complete 20:04:44 46d945488cbd: Verifying Checksum 20:04:44 46d945488cbd: Download complete 20:04:44 b3c136eddcbf: Verifying Checksum 20:04:44 b3c136eddcbf: Download complete 20:04:45 b3c136eddcbf: Pull complete 20:04:45 329c88fbcd65: Verifying Checksum 20:04:45 329c88fbcd65: Download complete 20:04:45 c0a3192eca97: Pull complete 20:04:46 a050256f5b6f: Pull complete 20:04:46 8a5474983e97: Verifying Checksum 20:04:46 8a5474983e97: Download complete 20:04:47 656be50a0ddc: Verifying Checksum 20:04:47 656be50a0ddc: Download complete 20:04:59 656be50a0ddc: Pull complete 20:04:59 2bbca73fdf42: Pull complete 20:04:59 46d945488cbd: Pull complete 20:05:06 8a5474983e97: Pull complete 20:05:07 329c88fbcd65: Pull complete 20:05:07 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 20:05:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:05:07 ---> ff4287adb874 20:05:07 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:09 ---> Running in b65832b04d24 20:05:09 Removing intermediate container b65832b04d24 20:05:09 ---> c6ca5db7660f 20:05:09 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 20:05:09 ---> Running in f713cd494d28 20:05:09 Removing intermediate container f713cd494d28 20:05:09 ---> 8f144ff7c349 20:05:09 Step 5/13 : ARG ADD_BUILD_TAGS="" 20:05:09 ---> Running in 0b249d96d2e3 20:05:10 Removing intermediate container 0b249d96d2e3 20:05:10 ---> 13e239c5586b 20:05:10 Step 6/13 : WORKDIR /device-virtual-go 20:05:10 ---> Running in 9b35b6050e50 20:05:10 Removing intermediate container 9b35b6050e50 20:05:10 ---> 5ef5b0764fb1 20:05:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:10 ---> Running in 79ca0cf0966f 20:05:12 Removing intermediate container 79ca0cf0966f 20:05:12 ---> e00e6d887c54 20:05:12 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:12 ---> Running in 0915c2c5451b 20:05:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:05:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:05:15 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:05:15 (2/4) Installing libedit (20210910.3.1-r0) 20:05:15 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:05:15 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:05:15 Executing busybox-1.35.0-r13.trigger 20:05:15 OK: 226 MiB in 55 packages 20:05:16 Removing intermediate container 0915c2c5451b 20:05:16 ---> d6022af387d6 20:05:16 Step 9/13 : COPY go.mod vendor* ./ 20:05:17 ---> f3380b40fc88 20:05:17 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:17 ---> Running in dd109f9b26b5 20:06:04 Removing intermediate container dd109f9b26b5 20:06:04 ---> badade7cf118 20:06:04 Step 11/13 : COPY . . 20:06:04 ---> 79b09ba8a578 20:06:04 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:06:04 ---> Running in 11638ef6f3f4 20:06:05 Removing intermediate container 11638ef6f3f4 20:06:05 ---> ba489e69c6d3 20:06:05 Step 13/13 : RUN $MAKE 20:06:05 ---> Running in 0317d792a246 20:06:06 noop 20:06:06 Removing intermediate container 0317d792a246 20:06:06 ---> 2bc74a1f8c02 20:06:06 Successfully built 2bc74a1f8c02 20:06:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:07 + docker inspect -f . ci-base-image-arm64 20:06:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:07 prd-ubuntu20.04-docker-arm64-4c-16g-642 does not seem to be running inside a container 20:06:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:06:08 $ docker top 2bdc2a78961079861df1eae03d0c4b8bb5194c626d5be110291979b12c696aab -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:09 + go version 20:06:09 go version go1.18.3 linux/arm64 [Pipeline] } 20:06:09 $ docker stop --time=1 2bdc2a78961079861df1eae03d0c4b8bb5194c626d5be110291979b12c696aab 20:06:10 $ docker rm -f 2bdc2a78961079861df1eae03d0c4b8bb5194c626d5be110291979b12c696aab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:06:11 + docker inspect -f . ci-base-image-arm64 20:06:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:06:11 prd-ubuntu20.04-docker-arm64-4c-16g-642 does not seem to be running inside a container 20:06:11 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:06:12 $ docker top 1db5b2e196523124e72afedd4e4074b24a57ce3510cb8e63afca26853b3b3944 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:13 + git config --global --add safe.directory /w/workspace/device-virtual-go/2 [Pipeline] fileExists [Pipeline] sh 20:06:13 + make test 20:06:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:06:15 ? github.com/edgexfoundry/device-virtual-go [no test files] 20:07:37 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 20:07:37 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.130s coverage: 65.7% of statements 20:07:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:07:37 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:07:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:07:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:07:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:07:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:07:55 $ docker stop --time=1 1db5b2e196523124e72afedd4e4074b24a57ce3510cb8e63afca26853b3b3944 20:07:57 $ docker rm -f 1db5b2e196523124e72afedd4e4074b24a57ce3510cb8e63afca26853b3b3944 [Pipeline] // withDockerContainer [Pipeline] sh 20:07:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:07:57 Warning: overwriting stash ‘coverage-report’ 20:07:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:07:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:07:59 + ls -al . 20:07:59 total 196 20:07:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 20:06 . 20:07:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:04 .. 20:07:59 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 20:04 .git 20:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:04 .github 20:07:59 -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 20:04 .gitignore 20:07:59 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 20:04 .golangci.yml 20:07:59 -rw-rw-r-- 1 jenkins jenkins 8527 Sep 22 20:04 Attribution.txt 20:07:59 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 20:04 CHANGELOG.md 20:07:59 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 20:04 Dockerfile 20:07:59 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 20:04 GOVERNANCE.md 20:07:59 -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 20:04 Jenkinsfile 20:07:59 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 20:04 LICENSE 20:07:59 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 20:04 Makefile 20:07:59 -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 20:04 OWNERS.md 20:07:59 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 20:04 README.md 20:07:59 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 20:02 VERSION 20:07:59 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 20:04 bin 20:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:04 cmd 20:07:59 -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 20:07 coverage.out 20:07:59 -rw-rw-r-- 1 jenkins jenkins 3399 Sep 22 20:04 go.mod 20:07:59 -rw-rw-r-- 1 jenkins jenkins 37521 Sep 22 20:04 go.sum 20:07:59 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 20:04 internal 20:07:59 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 20:04 snap 20:07:59 -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:59 + 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=c492918df114aea48d87c626b4428d7f9950dc90 --label arch=arm64 --label version=0.0.0 . 20:07:59 Sending build context to Docker daemon 11.78MB 20:07:59 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 20:07:59 Step 2/27 : FROM ${BASE} AS builder 20:07:59 ---> 2bc74a1f8c02 20:07:59 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:59 ---> Running in 50240eddc862 20:08:00 Removing intermediate container 50240eddc862 20:08:00 ---> 9cac1861c849 20:08:00 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 20:08:00 ---> Running in fb46f52a1cba 20:08:00 Removing intermediate container fb46f52a1cba 20:08:00 ---> 318c3658c4e4 20:08:00 Step 5/27 : ARG ADD_BUILD_TAGS="" 20:08:00 ---> Running in 9b7822157672 20:08:01 Removing intermediate container 9b7822157672 20:08:01 ---> fa322d6a86cb 20:08:01 Step 6/27 : WORKDIR /device-virtual-go 20:08:01 ---> Running in afe92fc5ebed 20:08:01 Removing intermediate container afe92fc5ebed 20:08:01 ---> c18168ba7a56 20:08:01 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:08:01 ---> Running in 7bc1d7f04ed6 20:08:03 Removing intermediate container 7bc1d7f04ed6 20:08:03 ---> ed1dc82ca815 20:08:03 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:08:03 ---> Running in 75f74d677211 20:08:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:08:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:08:05 OK: 226 MiB in 55 packages 20:08:06 Removing intermediate container 75f74d677211 20:08:06 ---> d48a3c86ffe7 20:08:06 Step 9/27 : COPY go.mod vendor* ./ 20:08:06 ---> 6860faaef4ab 20:08:06 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:08:06 ---> Running in 0b7d2125bf8d 20:08:08 Removing intermediate container 0b7d2125bf8d 20:08:08 ---> 908d51ee6c30 20:08:08 Step 11/27 : COPY . . 20:08:09 ---> cbdbe2f9cd59 20:08:09 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:08:10 ---> Running in 8e8e485a0876 20:08:10 Removing intermediate container 8e8e485a0876 20:08:10 ---> a5315223a19e 20:08:10 Step 13/27 : RUN $MAKE 20:08:10 ---> Running in b681998ff38a 20:08:11 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 20:10:48 Removing intermediate container b681998ff38a 20:10:48 ---> 2e762ba741b1 20:10:48 Step 14/27 : FROM alpine:3.16 20:10:48 3.16: Pulling from library/alpine 20:10:48 9b18e9b68314: Pulling fs layer 20:10:48 9b18e9b68314: Download complete 20:10:48 9b18e9b68314: Pull complete 20:10:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:10:48 Status: Downloaded newer image for alpine:3.16 20:10:48 ---> a6215f271958 20:10:48 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 20:10:48 ---> Running in fef1b3a5897f 20:10:48 Removing intermediate container fef1b3a5897f 20:10:48 ---> 8f6f320cfcb4 20:10:48 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:48 ---> Running in f9d700097bfe 20:10:48 Removing intermediate container f9d700097bfe 20:10:48 ---> e2dbb5119e00 20:10:48 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 20:10:48 ---> Running in 8ca31e557c0d 20:10:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:10:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:10:48 (1/6) Installing dumb-init (1.2.5-r1) 20:10:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:10:48 (3/6) Installing libsodium (1.0.18-r0) 20:10:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:10:48 (5/6) Installing libzmq (4.3.4-r0) 20:10:48 (6/6) Installing zeromq (4.3.4-r0) 20:10:48 Executing busybox-1.35.0-r17.trigger 20:10:48 OK: 8 MiB in 20 packages 20:10:48 Removing intermediate container 8ca31e557c0d 20:10:48 ---> bd7f336da127 20:10:48 Step 18/27 : WORKDIR / 20:10:48 ---> Running in 93e75700dea4 20:10:48 Removing intermediate container 93e75700dea4 20:10:48 ---> af7c185333c1 20:10:48 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 20:10:48 ---> 4b4df33ca2ee 20:10:48 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 20:10:48 ---> 7867318d2f03 20:10:48 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 20:10:48 ---> 2b20d495e4d3 20:10:48 Step 22/27 : EXPOSE 59900 20:10:48 ---> Running in 0b0b7eb0195b 20:10:48 Removing intermediate container 0b0b7eb0195b 20:10:48 ---> 7ad430f46953 20:10:48 Step 23/27 : ENTRYPOINT ["/device-virtual"] 20:10:48 ---> Running in 43b1bf960503 20:10:48 Removing intermediate container 43b1bf960503 20:10:48 ---> 12f87e9a4b76 20:10:48 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:10:48 ---> Running in 3f040b7c821b 20:10:48 Removing intermediate container 3f040b7c821b 20:10:48 ---> 600472c121f9 20:10:48 Step 25/27 : LABEL arch=arm64 20:10:48 ---> Running in f9075d97ff5c 20:10:48 Removing intermediate container f9075d97ff5c 20:10:48 ---> b7a7ccc590ee 20:10:48 Step 26/27 : LABEL git_sha=c492918df114aea48d87c626b4428d7f9950dc90 20:10:49 ---> Running in 7363510a3bf4 20:10:49 Removing intermediate container 7363510a3bf4 20:10:49 ---> 69c3e9de917d 20:10:49 Step 27/27 : LABEL version=0.0.0 20:10:49 ---> Running in 8854bbe802a7 20:10:49 Removing intermediate container 8854bbe802a7 20:10:49 ---> e10c6a3c8b7c 20:10:49 [Warning] One or more build-args [ARCH] were not consumed 20:10:49 Successfully built e10c6a3c8b7c 20:10:49 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:50 20:10:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:10:50 arm64: Pulling from edgex-lftools-log-publisher 20:10:50 8998bd30e6a1: Pulling fs layer 20:10:50 04944245beec: Pulling fs layer 20:10:50 699f458cf7ca: Pulling fs layer 20:10:50 765212b225bb: Pulling fs layer 20:10:50 f23df028b6ca: Pulling fs layer 20:10:50 d65c8cfc05b1: Pulling fs layer 20:10:50 2437ff75d9bd: Pulling fs layer 20:10:50 f23df028b6ca: Waiting 20:10:50 d65c8cfc05b1: Waiting 20:10:50 2437ff75d9bd: Waiting 20:10:50 04944245beec: Verifying Checksum 20:10:50 04944245beec: Download complete 20:10:50 765212b225bb: Verifying Checksum 20:10:50 765212b225bb: Download complete 20:10:50 f23df028b6ca: Verifying Checksum 20:10:50 f23df028b6ca: Download complete 20:10:50 d65c8cfc05b1: Verifying Checksum 20:10:50 d65c8cfc05b1: Download complete 20:10:50 699f458cf7ca: Verifying Checksum 20:10:50 699f458cf7ca: Download complete 20:10:51 8998bd30e6a1: Download complete 20:10:53 2437ff75d9bd: Verifying Checksum 20:10:53 2437ff75d9bd: Download complete 20:10:55 8998bd30e6a1: Pull complete 20:10:55 04944245beec: Pull complete 20:10:56 699f458cf7ca: Pull complete 20:10:56 765212b225bb: Pull complete 20:10:57 f23df028b6ca: Pull complete 20:10:57 d65c8cfc05b1: Pull complete 20:11:12 2437ff75d9bd: Pull complete 20:11:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:11:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:12 prd-ubuntu20.04-docker-arm64-4c-16g-642 does not seem to be running inside a container 20:11:12 $ 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/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:11:15 $ docker top ac71ab1e95abff5629be314e7ec91c2195aadc08c0eb7de872d5240a805a7d7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:16 ---> job-cost.sh 20:11:16 lf-activate-venv: SKIPPING 20:11:16 INFO: No Stack... 20:11:17 INFO: Retrieving Pricing Info for: v3-standard-4 20:11:17 INFO: Archiving Costs [Pipeline] sh 20:11:18 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 20:11:18 + cut -d, -f6 [Pipeline] lock 20:11:18 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] 20:11:18 Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] did not exist. Created. 20:11:18 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:18 /w/workspace/device-virtual-go/2@tmp/durable-20c8a25e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:11:18 + echo total: 0.10999999940395355 [Pipeline] stash 20:11:18 Warning: overwriting stash ‘stack-cost’ 20:11:18 Stashed 1 file(s) [Pipeline] } 20:11:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:11:18 $ docker stop --time=1 ac71ab1e95abff5629be314e7ec91c2195aadc08c0eb7de872d5240a805a7d7e 20:11:20 $ docker rm -f ac71ab1e95abff5629be314e7ec91c2195aadc08c0eb7de872d5240a805a7d7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:11:20 provisioning config files... 20:11:20 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config11792085365224016847tmp [Pipeline] { [Pipeline] sh 20:11:20 + set +x 20:11:20 + curl -s https://codecov.io/bash 20:11:20 + bash -s -- 20:11:20 20:11:20 _____ _ 20:11:20 / ____| | | 20:11:20 | | ___ __| | ___ ___ _____ __ 20:11:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:11:20 | |___| (_) | (_| | __/ (_| (_) \ V / 20:11:20 \_____\___/ \__,_|\___|\___\___/ \_/ 20:11:20 Bash-1.0.6 20:11:20 20:11:20 20:11:20 ==> git version 2.25.1 found 20:11:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:11:20 Release-Date: 2020-01-08 20:11:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:11:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:11:20 ==> Jenkins CI detected. 20:11:20 current dir:  /w/workspace/foundry_device-virtual-go_PR-305 20:11:20 project root: . 20:11:20 --> token set from env 20:11:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:11:20 ==> Running gcov in . (disable via -X gcov) 20:11:20 ==> Python coveragepy not found 20:11:20 ==> Searching for coverage reports in: 20:11:20 + . 20:11:21 -> Found 1 reports 20:11:21 ==> Detecting git/mercurial file structure 20:11:21 ==> Reading reports 20:11:21 + ./coverage.out bytes=44128 20:11:21 ==> Appending adjustments 20:11:21 https://docs.codecov.io/docs/fixing-reports 20:11:21 + Found adjustments 20:11:21 ==> Gzipping contents 20:11:21 8.0K /tmp/codecov.8DhsqC.gz 20:11:21 ==> Uploading reports 20:11:21 url: https://codecov.io 20:11:21 query: branch=PR-305&commit=c492918df114aea48d87c626b4428d7f9950dc90&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= 20:11:21 -> Pinging Codecov 20:11:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-305&commit=c492918df114aea48d87c626b4428d7f9950dc90&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= 20:11:21 -> Uploading to 20:11:21 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/5E52B4B073DB2E39498172D8E973AA87/c492918df114aea48d87c626b4428d7f9950dc90/298364f2-5553-41b5-8080-d140d8bdbd07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T201121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f6d0c60b86838dfa05dbd0578011b2216349510995febc5ffa97c8234d4846b 20:11:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:11:21 Dload Upload Total Spent Left Speed 20:11:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5498 0 0 100 5498 0 22813 --:--:-- --:--:-- --:--:-- 22813 20:11:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/c492918df114aea48d87c626b4428d7f9950dc90 [Pipeline] } 20:11:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:11:22 + [ -d /w/workspace/foundry_device-virtual-go_PR-305/archives ] 20:11:22 + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives 20:11:22 total 16 20:11:22 drwxr-xr-x 3 root root 4096 Sep 22 20:04 . 20:11:22 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 20:04 .. 20:11:22 drwxr-xr-x 2 root root 4096 Sep 22 20:04 cost 20:11:22 -rw-r--r-- 1 root root 89 Sep 22 20:04 cost.csv 20:11:22 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-305/archives 20:11:22 + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives 20:11:22 total 16 20:11:22 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 20:04 . 20:11:22 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 20:04 .. 20:11:22 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 20:04 cost 20:11:22 -rw-r--r-- 1 jenkins jenkins 89 Sep 22 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:11:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:11:23 ---> package-listing.sh 20:11:23 ++ facter osfamily 20:11:23 ++ tr '[:upper:]' '[:lower:]' 20:11:23 + OS_FAMILY=debian 20:11:23 + workspace=/w/workspace/foundry_device-virtual-go_PR-305 20:11:23 + START_PACKAGES=/tmp/packages_start.txt 20:11:23 + END_PACKAGES=/tmp/packages_end.txt 20:11:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:11:23 + PACKAGES=/tmp/packages_start.txt 20:11:23 + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' 20:11:23 + PACKAGES=/tmp/packages_end.txt 20:11:23 + case "${OS_FAMILY}" in 20:11:23 + dpkg -l 20:11:23 + grep '^ii' 20:11:23 + '[' -f /tmp/packages_start.txt ']' 20:11:23 + '[' -f /tmp/packages_end.txt ']' 20:11:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:11:23 + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' 20:11:23 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-305/archives/ 20:11:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-305/archives/ [Pipeline] echo 20:11:23 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-305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:11:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:11:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:11:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:11:24 prd-ubuntu20.04-docker-8c-8g-640 does not seem to be running inside a container 20:11:24 $ 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-305/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-305 -v /w/workspace/foundry_device-virtual-go_PR-305:/w/workspace/foundry_device-virtual-go_PR-305:rw,z -v /w/workspace/foundry_device-virtual-go_PR-305@tmp:/w/workspace/foundry_device-virtual-go_PR-305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:11:25 $ docker top f16a4503af5595e6fb0d2c3b8b1e4c12d677abe348922b7dbc507f1a0252c2f8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:11:25 + touch /tmp/pre-build-complete [Pipeline] sh 20:11:25 + mkdir -p /var/log/sysstat [Pipeline] sh 20:11:25 + ls /var/log/sa-host 20:11:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:11:26 provisioning config files... 20:11:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config15792099072574617995tmp [Pipeline] { [Pipeline] echo 20:11:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:11:26 ---> create-netrc.sh [Pipeline] } 20:11:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:11:26 ---> python-tools-install.sh [Pipeline] echo 20:11:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:11:27 ---> sudo-logs.sh 20:11:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:11:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:11:27 ---> job-cost.sh 20:11:27 lf-activate-venv: SKIPPING 20:11:27 DEBUG: total: 0.2199999988079071 20:11:27 INFO: Retrieving Stack Cost... 20:11:27 INFO: Retrieving Pricing Info for: v3-standard-8 20:11:28 INFO: Archiving Costs [Pipeline] echo 20:11:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:11:28 ---> logs-deploy.sh 20:11:28 lf-activate-venv: SKIPPING 20:11:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-305/2 20:11:28 INFO: archiving workspace using pattern(s): 20:11:29 Archives upload complete. 20:11:29 INFO: archiving logs to Nexus