Pull request #305 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from d070edb31437feaa294966818fefefe6b79f45cf+e9e78a70a342ea66ab18edf5d69a1655646d3b52 (a8f2ddfd714d39c78d3bce8d062016b56093e66a) 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-ssh4628510823139388312.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-ssh2644565473528648205.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14786980872451132523.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11100225027868727157.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4536538039124522953.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13406952541866975921.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-627 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 > 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 Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit d070edb31437feaa294966818fefefe6b79f45cf Merge succeeded, producing d070edb31437feaa294966818fefefe6b79f45cf Checking out Revision d070edb31437feaa294966818fefefe6b79f45cf (PR-305) > git config core.sparsecheckout # timeout=10 > git checkout -f d070edb31437feaa294966818fefefe6b79f45cf # 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 d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 Commit message: "feat: Add NATS Subject configuration" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:43:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:43:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:43:22 ========================================================= 19:43:22 EdgeX Global Pipelines Version Info 19:43:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:43:22 ------------------- 19:43:22 stable info: 19:43:22 ------------------- 19:43:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:43:22 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:43:22 Message: update stable to v1.0.239 19:43:23 ------------------- 19:43:23 experimental info: 19:43:23 ------------------- 19:43:23 Commited By: **** collab-it+edgex@linuxfoundation.org 19:43:23 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:43:23 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:43:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 19:43:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 19:43:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:43:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-305 [Pipeline] echo 19:43:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-305 [Pipeline] echo 19:43:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-305 [Pipeline] echo 19:43:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] echo 19:43:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d070edb [Pipeline] echo 19:43:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:43:25 provisioning config files... 19:43:25 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config13308429585075587875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:43:25 ---> docker-login.sh 19:43:25 nexus3.edgexfoundry.org:10001 19:43:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:26 Configure a credential helper to remove this warning. See 19:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:26 19:43:26 Login Succeeded 19:43:26 nexus3.edgexfoundry.org:10002 19:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:26 Configure a credential helper to remove this warning. See 19:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:26 19:43:26 Login Succeeded 19:43:26 nexus3.edgexfoundry.org:10003 19:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:26 Configure a credential helper to remove this warning. See 19:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:26 19:43:26 Login Succeeded 19:43:26 nexus3.edgexfoundry.org:10004 19:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:26 Configure a credential helper to remove this warning. See 19:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:26 19:43:26 Login Succeeded 19:43:26 docker.io 19:43:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:26 Configure a credential helper to remove this warning. See 19:43:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:26 19:43:26 Login Succeeded 19:43:26 ---> docker-login.sh ends [Pipeline] } 19:43:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:43:27 + git rev-list -1 --merges d070edb31437feaa294966818fefefe6b79f45cf~1..d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] echo 19:43:27 -----------> git rev-list -1 --merges d070edb31437feaa294966818fefefe6b79f45cf~1..d070edb31437feaa294966818fefefe6b79f45cf d070edb31437feaa294966818fefefe6b79f45cf [false] [Pipeline] sh 19:43:27 + git log --format=format:%s -1 d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] echo 19:43:27 ========================================================= 19:43:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:43:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:43:28 + git log --format=format:%s -1 d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] echo 19:43:28 [semverPrep] GIT_COMMIT: d070edb31437feaa294966818fefefe6b79f45cf, Commit Message: feat: Add NATS Subject configuration [Pipeline] echo 19:43:28 [semverPrep] This is not a build commit. [Pipeline] sh 19:43:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:43:28 + grep -v github /etc/ssh/ssh_known_hosts 19:43:28 + [ -e /tmp/ssh_known_hosts ] 19:43:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:43:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:43:28 + sudo tee -a /etc/ssh/ssh_known_hosts 19:43:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:29 19:43:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:29 0.1.4: Pulling from edgex-devops/py-git-semver 19:43:29 b85a868b505f: Pulling fs layer 19:43:29 e2be974225ed: Pulling fs layer 19:43:29 339a4e72a1f5: Pulling fs layer 19:43:29 988bab9f4d93: Pulling fs layer 19:43:29 1469e6f7b9e6: Pulling fs layer 19:43:29 eaf3925da568: Pulling fs layer 19:43:29 bab4dde63d76: Pulling fs layer 19:43:29 bde34c3a00c8: Pulling fs layer 19:43:29 b352a97aabf1: Pulling fs layer 19:43:29 4872d77fe225: Pulling fs layer 19:43:29 5851b861e8e6: Pulling fs layer 19:43:29 988bab9f4d93: Waiting 19:43:29 bde34c3a00c8: Waiting 19:43:29 b352a97aabf1: Waiting 19:43:29 1469e6f7b9e6: Waiting 19:43:29 4872d77fe225: Waiting 19:43:29 bab4dde63d76: Waiting 19:43:29 eaf3925da568: Waiting 19:43:29 5851b861e8e6: Waiting 19:43:29 e2be974225ed: Download complete 19:43:29 988bab9f4d93: Download complete 19:43:29 1469e6f7b9e6: Verifying Checksum 19:43:29 1469e6f7b9e6: Download complete 19:43:29 eaf3925da568: Download complete 19:43:29 339a4e72a1f5: Verifying Checksum 19:43:29 339a4e72a1f5: Download complete 19:43:29 bde34c3a00c8: Verifying Checksum 19:43:29 bde34c3a00c8: Download complete 19:43:29 b352a97aabf1: Download complete 19:43:29 4872d77fe225: Download complete 19:43:29 5851b861e8e6: Verifying Checksum 19:43:29 5851b861e8e6: Download complete 19:43:29 b85a868b505f: Verifying Checksum 19:43:29 b85a868b505f: Download complete 19:43:30 bab4dde63d76: Verifying Checksum 19:43:30 bab4dde63d76: Download complete 19:43:31 b85a868b505f: Pull complete 19:43:31 e2be974225ed: Pull complete 19:43:31 339a4e72a1f5: Pull complete 19:43:31 988bab9f4d93: Pull complete 19:43:31 1469e6f7b9e6: Pull complete 19:43:31 eaf3925da568: Pull complete 19:43:33 bab4dde63d76: Pull complete 19:43:33 bde34c3a00c8: Pull complete 19:43:33 b352a97aabf1: Pull complete 19:43:33 4872d77fe225: Pull complete 19:43:33 5851b861e8e6: Pull complete 19:43:33 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:33 prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container 19:43:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:43:34 $ docker top c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:43:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:35 [ssh-agent] Looking for ssh-agent implementation... 19:43:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:35 $ docker exec c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f ssh-agent 19:43:35 SSH_AUTH_SOCK=/tmp/ssh-uLz4hCQQozYh/agent.33 19:43:35 SSH_AGENT_PID=39 19:43:35 Running ssh-add (command line suppressed) 19:43:35 Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_7133478423351417648.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_7133478423351417648.key) 19:43:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:35 + git tag --points-at HEAD [Pipeline] } 19:43:35 $ docker exec --env ******** --env ******** c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f ssh-agent -k 19:43:35 unset SSH_AUTH_SOCK; 19:43:35 unset SSH_AGENT_PID; 19:43:35 echo Agent pid 39 killed; 19:43:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:43:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:35 [ssh-agent] Looking for ssh-agent implementation... 19:43:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:36 $ docker exec c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f ssh-agent 19:43:36 SSH_AUTH_SOCK=/tmp/ssh-WCZw9z2GK3FN/agent.72 19:43:36 SSH_AGENT_PID=78 19:43:36 Running ssh-add (command line suppressed) 19:43:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_14723524002677850281.key (/w/workspace/foundry_device-virtual-go_PR-305@tmp/private_key_14723524002677850281.key) 19:43:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:36 + git semver init 19:43:36 2022-09-22 19:43:36,841 [run_init] DEBUG init version:0.0.0 force:False 19:43:36 2022-09-22 19:43:36,842 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-305/.semver 19:43:36 2022-09-22 19:43:36,842 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-305/.semver 19:43:36 2022-09-22 19:43:36,843 [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) 19:43:38 2022-09-22 19:43:37,883 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-305/.git/info/exclude 19:43:38 2022-09-22 19:43:37,884 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 with force:False 19:43:38 2022-09-22 19:43:37,884 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 19:43:38 2022-09-22 19:43:37,888 [execute] INFO git cat-file --batch-check 19:43:38 2022-09-22 19:43:37,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) 19:43:38 2022-09-22 19:43:37,894 [execute] INFO git cat-file --batch 19:43:38 2022-09-22 19:43:37,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-305/.semver, universal_newlines=False, shell=None, istream=) 19:43:38 2022-09-22 19:43:37,899 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-305/.semver/PR-305 19:43:38 0.0.0 [Pipeline] } 19:43:38 $ docker exec --env ******** --env ******** c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f ssh-agent -k 19:43:38 unset SSH_AUTH_SOCK; 19:43:38 unset SSH_AGENT_PID; 19:43:38 echo Agent pid 78 killed; 19:43:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:43:38 + git semver [Pipeline] } 19:43:39 $ docker stop --time=1 c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f 19:43:40 $ docker rm -f c7af474c809b16df6e3c53b8eee9831ccfac9cbfee9785c6f8d5ce99db30105f [Pipeline] // withDockerContainer [Pipeline] sh 19:43:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:43:41 Stashed 1 file(s) [Pipeline] echo 19:43:41 [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 19:43:41 provisioning config files... 19:43:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config11404151964771169316tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:43:42 ---> docker-login.sh 19:43:42 nexus3.edgexfoundry.org:10001 19:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:42 Configure a credential helper to remove this warning. See 19:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:42 19:43:42 Login Succeeded 19:43:42 nexus3.edgexfoundry.org:10002 19:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:42 Configure a credential helper to remove this warning. See 19:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:42 19:43:42 Login Succeeded 19:43:42 nexus3.edgexfoundry.org:10003 19:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:42 Configure a credential helper to remove this warning. See 19:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:42 19:43:42 Login Succeeded 19:43:42 nexus3.edgexfoundry.org:10004 19:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:42 Configure a credential helper to remove this warning. See 19:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:42 19:43:42 Login Succeeded 19:43:42 docker.io 19:43:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:42 Configure a credential helper to remove this warning. See 19:43:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:42 19:43:42 Login Succeeded 19:43:42 ---> docker-login.sh ends [Pipeline] } 19:43:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:43:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:43:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:43:43 ========================================================= 19:43:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:43:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:43 + 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 . 19:43:43 Sending build context to Docker daemon 23.14MB 19:43:43 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:43:43 Step 2/13 : FROM ${BASE} AS builder 19:43:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:43:43 2408cc74d12b: Pulling fs layer 19:43:43 ea60b727a1ce: Pulling fs layer 19:43:43 30c4a7721957: Pulling fs layer 19:43:43 370296b7ddb6: Pulling fs layer 19:43:43 7c6cee850709: Pulling fs layer 19:43:43 39a5fcdaea64: Pulling fs layer 19:43:43 d94ebbe4e438: Pulling fs layer 19:43:43 bcfd1f05c69d: Pulling fs layer 19:43:43 59ccb84bbe0f: Pulling fs layer 19:43:43 370296b7ddb6: Waiting 19:43:43 7c6cee850709: Waiting 19:43:43 39a5fcdaea64: Waiting 19:43:43 d94ebbe4e438: Waiting 19:43:43 bcfd1f05c69d: Waiting 19:43:43 59ccb84bbe0f: Waiting 19:43:43 30c4a7721957: Verifying Checksum 19:43:43 30c4a7721957: Download complete 19:43:43 ea60b727a1ce: Verifying Checksum 19:43:43 ea60b727a1ce: Download complete 19:43:43 7c6cee850709: Verifying Checksum 19:43:43 7c6cee850709: Download complete 19:43:43 39a5fcdaea64: Verifying Checksum 19:43:43 39a5fcdaea64: Download complete 19:43:43 2408cc74d12b: Verifying Checksum 19:43:43 2408cc74d12b: Download complete 19:43:43 d94ebbe4e438: Verifying Checksum 19:43:43 d94ebbe4e438: Download complete 19:43:43 2408cc74d12b: Pull complete 19:43:44 ea60b727a1ce: Pull complete 19:43:44 30c4a7721957: Pull complete 19:43:44 59ccb84bbe0f: Verifying Checksum 19:43:44 59ccb84bbe0f: Download complete 19:43:44 bcfd1f05c69d: Verifying Checksum 19:43:44 bcfd1f05c69d: Download complete 19:43:44 370296b7ddb6: Verifying Checksum 19:43:44 370296b7ddb6: Download complete 19:43:48 370296b7ddb6: Pull complete 19:43:48 7c6cee850709: Pull complete 19:43:48 39a5fcdaea64: Pull complete 19:43:48 d94ebbe4e438: Pull complete 19:43:49 bcfd1f05c69d: Pull complete 19:43:50 59ccb84bbe0f: Pull complete 19:43:50 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 19:43:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:43:50 ---> a4fb48ad2a94 19:43:50 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:43:52 ---> Running in 9448797d0b17 19:43:52 Removing intermediate container 9448797d0b17 19:43:52 ---> a4300aaac060 19:43:52 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:43:52 ---> Running in dd995554db46 19:43:52 Removing intermediate container dd995554db46 19:43:52 ---> 3376fc7b87ad 19:43:52 Step 5/13 : ARG ADD_BUILD_TAGS="" 19:43:52 ---> Running in a27529928fb6 19:43:52 Removing intermediate container a27529928fb6 19:43:52 ---> fff1a1343ebd 19:43:52 Step 6/13 : WORKDIR /device-virtual-go 19:43:52 ---> Running in cb25ecf321a2 19:43:52 Removing intermediate container cb25ecf321a2 19:43:52 ---> c72b4d0fe278 19:43:52 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:43:52 ---> Running in e8d3b2c4f3ca 19:43:53 Removing intermediate container e8d3b2c4f3ca 19:43:53 ---> cc78ac5c7b52 19:43:53 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:43:53 ---> Running in f48c39542f8c 19:43:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:43:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:43:54 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:43:54 (2/4) Installing libedit (20210910.3.1-r0) 19:43:54 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:43:54 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:43:55 Executing busybox-1.35.0-r13.trigger 19:43:55 OK: 216 MiB in 55 packages 19:43:55 Removing intermediate container f48c39542f8c 19:43:55 ---> 0685677a9729 19:43:55 Step 9/13 : COPY go.mod vendor* ./ 19:43:55 ---> f5c20ba71acd 19:43:55 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:43:55 ---> Running in 88bf5484697f 19:43:56 Still waiting to schedule task 19:43:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:44:13 Removing intermediate container 88bf5484697f 19:44:13 ---> 81570a1d394d 19:44:13 Step 11/13 : COPY . . 19:44:13 ---> bdf304911c3e 19:44:13 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:44:13 ---> Running in e303fdc3ce16 19:44:13 Removing intermediate container e303fdc3ce16 19:44:13 ---> 4e853a4766ec 19:44:13 Step 13/13 : RUN $MAKE 19:44:13 ---> Running in e9360f43e396 19:44:13 noop 19:44:14 Removing intermediate container e9360f43e396 19:44:14 ---> fa22ba06c00e 19:44:14 Successfully built fa22ba06c00e 19:44:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:14 + docker inspect -f . ci-base-image-x86_64 19:44:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:15 prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container 19:44:15 $ 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 ******** ci-base-image-x86_64 cat 19:44:15 $ docker top 7d9b1d61fc4bdd2f0f0682a43531ab706e56ed90d58a739fcdf86ca48806deba -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:15 + go version 19:44:15 go version go1.18.3 linux/amd64 [Pipeline] } 19:44:15 $ docker stop --time=1 7d9b1d61fc4bdd2f0f0682a43531ab706e56ed90d58a739fcdf86ca48806deba 19:44:17 $ docker rm -f 7d9b1d61fc4bdd2f0f0682a43531ab706e56ed90d58a739fcdf86ca48806deba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:17 + docker inspect -f . ci-base-image-x86_64 19:44:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:17 prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container 19:44:18 $ 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 ******** ci-base-image-x86_64 cat 19:44:18 $ docker top a8068a16bd6e3d285ddfdb412e72ba1892a3282de90f915eff2d7b9d8506bcb1 -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:18 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] fileExists [Pipeline] sh 19:44:19 + make test 19:44:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:44:19 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:44:29 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:44:29 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 19:44:34 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." 19:44:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:44:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:44:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:44:37 ./bin/test-attribution-txt.sh 19:44:37 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 19:44:37 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 19:44:37 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 19:44:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:44:37 $ docker stop --time=1 a8068a16bd6e3d285ddfdb412e72ba1892a3282de90f915eff2d7b9d8506bcb1 19:44:39 $ docker rm -f a8068a16bd6e3d285ddfdb412e72ba1892a3282de90f915eff2d7b9d8506bcb1 [Pipeline] // withDockerContainer [Pipeline] sh 19:44:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:44:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:44:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:44:41 + ls -al . 19:44:41 total 192 19:44:41 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 19:44 . 19:44:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:43 .. 19:44:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 19:44 .git 19:44:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:43 .github 19:44:41 -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 19:43 .gitignore 19:44:41 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 19:43 .golangci.yml 19:44:41 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 19:43 .semver 19:44:41 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 22 19:43 Attribution.txt 19:44:41 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 19:43 CHANGELOG.md 19:44:41 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 19:43 Dockerfile 19:44:41 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 19:43 GOVERNANCE.md 19:44:41 -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 19:43 Jenkinsfile 19:44:41 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 19:43 LICENSE 19:44:41 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 19:43 Makefile 19:44:41 -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 19:43 OWNERS.md 19:44:41 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 19:43 README.md 19:44:41 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 19:43 VERSION 19:44:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:43 bin 19:44:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:43 cmd 19:44:41 -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 19:44 coverage.out 19:44:41 -rw-rw-r-- 1 jenkins jenkins 3328 Sep 22 19:43 go.mod 19:44:41 -rw-rw-r-- 1 jenkins jenkins 36202 Sep 22 19:43 go.sum 19:44:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:43 internal 19:44:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:43 snap 19:44:41 -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 19:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:41 + 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=d070edb31437feaa294966818fefefe6b79f45cf --label arch=amd64 --label version=0.0.0 . 19:44:41 Sending build context to Docker daemon 23.18MB 19:44:41 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 19:44:41 Step 2/27 : FROM ${BASE} AS builder 19:44:41 ---> fa22ba06c00e 19:44:41 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:44:41 ---> Running in 171d7b9f55d7 19:44:41 Removing intermediate container 171d7b9f55d7 19:44:41 ---> 089e9919a7fe 19:44:41 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:44:41 ---> Running in f9f566fdb9c1 19:44:41 Removing intermediate container f9f566fdb9c1 19:44:41 ---> 5a73164c2a79 19:44:41 Step 5/27 : ARG ADD_BUILD_TAGS="" 19:44:41 ---> Running in 2678f0bcf708 19:44:41 Removing intermediate container 2678f0bcf708 19:44:41 ---> aaf5b8784040 19:44:41 Step 6/27 : WORKDIR /device-virtual-go 19:44:41 ---> Running in 16178d650a53 19:44:41 Removing intermediate container 16178d650a53 19:44:41 ---> a913686ead83 19:44:41 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:44:41 ---> Running in cef0edd04656 19:44:42 Removing intermediate container cef0edd04656 19:44:42 ---> 80ba34ef56c1 19:44:42 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:44:42 ---> Running in 7c22e90cfea3 19:44:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:44:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:44:43 OK: 216 MiB in 55 packages 19:44:44 Removing intermediate container 7c22e90cfea3 19:44:44 ---> 694edd2c1f51 19:44:44 Step 9/27 : COPY go.mod vendor* ./ 19:44:44 ---> e1a05e84fabe 19:44:44 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:44:44 ---> Running in 7d963d936e54 19:44:45 Removing intermediate container 7d963d936e54 19:44:45 ---> 82e903f867ac 19:44:45 Step 11/27 : COPY . . 19:44:45 ---> 92c4414cd16d 19:44:45 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:44:45 ---> Running in 60fca3339307 19:44:45 Removing intermediate container 60fca3339307 19:44:45 ---> ab2f992100b6 19:44:45 Step 13/27 : RUN $MAKE 19:44:45 ---> Running in fce30713101b 19:44:45 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 19:45:03 Removing intermediate container fce30713101b 19:45:03 ---> e7ddff500428 19:45:03 Step 14/27 : FROM alpine:3.16 19:45:04 3.16: Pulling from library/alpine 19:45:04 213ec9aee27d: Pulling fs layer 19:45:04 213ec9aee27d: Verifying Checksum 19:45:04 213ec9aee27d: Download complete 19:45:04 213ec9aee27d: Pull complete 19:45:04 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:45:04 Status: Downloaded newer image for alpine:3.16 19:45:04 ---> 9c6f07244728 19:45:04 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:45:04 ---> Running in bac00a251d5d 19:45:04 Removing intermediate container bac00a251d5d 19:45:04 ---> db7043710d3b 19:45:04 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:45:04 ---> Running in 5c363c7dee4c 19:45:05 Removing intermediate container 5c363c7dee4c 19:45:05 ---> c2df4a1a5ac1 19:45:05 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 19:45:05 ---> Running in 0c1f39f5b84f 19:45:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:45:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:45:06 (1/6) Installing dumb-init (1.2.5-r1) 19:45:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:45:06 (3/6) Installing libsodium (1.0.18-r0) 19:45:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:45:06 (5/6) Installing libzmq (4.3.4-r0) 19:45:07 (6/6) Installing zeromq (4.3.4-r0) 19:45:07 Executing busybox-1.35.0-r17.trigger 19:45:07 OK: 8 MiB in 20 packages 19:45:07 Removing intermediate container 0c1f39f5b84f 19:45:07 ---> d6205b9b875c 19:45:07 Step 18/27 : WORKDIR / 19:45:07 ---> Running in 34898ec97838 19:45:07 Removing intermediate container 34898ec97838 19:45:07 ---> 68462085189b 19:45:07 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:45:07 ---> 431176203a24 19:45:07 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 19:45:08 ---> 01d7012f91e6 19:45:08 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 19:45:08 ---> 97fdf7d7a523 19:45:08 Step 22/27 : EXPOSE 59900 19:45:08 ---> Running in ccc4e918c7cd 19:45:08 Removing intermediate container ccc4e918c7cd 19:45:08 ---> e04437c8db92 19:45:08 Step 23/27 : ENTRYPOINT ["/device-virtual"] 19:45:08 ---> Running in 4b577b3a361d 19:45:08 Removing intermediate container 4b577b3a361d 19:45:08 ---> d65e70d560ad 19:45:08 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:45:08 ---> Running in 61baf703a2f3 19:45:08 Removing intermediate container 61baf703a2f3 19:45:08 ---> 763ac5b02af2 19:45:08 Step 25/27 : LABEL arch=amd64 19:45:08 ---> Running in 6764d04abbd9 19:45:08 Removing intermediate container 6764d04abbd9 19:45:08 ---> 0b640ad21a41 19:45:08 Step 26/27 : LABEL git_sha=d070edb31437feaa294966818fefefe6b79f45cf 19:45:08 ---> Running in 10688600ae94 19:45:08 Removing intermediate container 10688600ae94 19:45:08 ---> bf1af2fee5d1 19:45:08 Step 27/27 : LABEL version=0.0.0 19:45:09 ---> Running in cbaf58ab9230 19:45:09 Removing intermediate container cbaf58ab9230 19:45:09 ---> 3361f27eb2cb 19:45:09 [Warning] One or more build-args [ARCH] were not consumed 19:45:09 Successfully built 3361f27eb2cb 19:45:09 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 19:45:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:10 19:45:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:10 latest: Pulling from edgex-lftools-log-publisher 19:45:10 5eb5b503b376: Pulling fs layer 19:45:10 5c69ac0246d0: Pulling fs layer 19:45:10 ec43610c2a17: Pulling fs layer 19:45:10 3a2ae6a8a46f: Pulling fs layer 19:45:10 33b1e0a273af: Pulling fs layer 19:45:10 5d3b04190fa2: Pulling fs layer 19:45:10 2f39f015ded8: Pulling fs layer 19:45:10 3a2ae6a8a46f: Waiting 19:45:10 33b1e0a273af: Waiting 19:45:10 5d3b04190fa2: Waiting 19:45:10 2f39f015ded8: Waiting 19:45:10 5c69ac0246d0: Download complete 19:45:10 3a2ae6a8a46f: Verifying Checksum 19:45:10 3a2ae6a8a46f: Download complete 19:45:10 33b1e0a273af: Verifying Checksum 19:45:10 33b1e0a273af: Download complete 19:45:10 5d3b04190fa2: Download complete 19:45:10 ec43610c2a17: Verifying Checksum 19:45:10 ec43610c2a17: Download complete 19:45:10 5eb5b503b376: Verifying Checksum 19:45:10 5eb5b503b376: Download complete 19:45:11 2f39f015ded8: Download complete 19:45:11 5eb5b503b376: Pull complete 19:45:11 5c69ac0246d0: Pull complete 19:45:12 ec43610c2a17: Pull complete 19:45:12 3a2ae6a8a46f: Pull complete 19:45:12 33b1e0a273af: Pull complete 19:45:12 5d3b04190fa2: Pull complete 19:45:16 2f39f015ded8: Pull complete 19:45:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:45:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:45:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:45:16 prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container 19:45:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:45:18 $ docker top bc0e0bc3d98eb48af4fb751bc0381da8364bd0842a28c0f679916c268835e940 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:45:18 ---> job-cost.sh 19:45:18 lf-activate-venv: SKIPPING 19:45:18 INFO: No Stack... 19:45:18 INFO: Retrieving Pricing Info for: v3-standard-8 19:45:19 INFO: Archiving Costs [Pipeline] sh 19:45:19 + cat /w/workspace/foundry_device-virtual-go_PR-305/archives/cost.csv 19:45:19 + cut -d, -f6 [Pipeline] lock 19:45:19 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] 19:45:19 Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] did not exist. Created. 19:45:19 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:45:20 + echo total: 0.6600000262260437 [Pipeline] stash 19:45:20 Stashed 1 file(s) [Pipeline] } 19:45:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:45:20 $ docker stop --time=1 bc0e0bc3d98eb48af4fb751bc0381da8364bd0842a28c0f679916c268835e940 19:45:21 $ docker rm -f bc0e0bc3d98eb48af4fb751bc0381da8364bd0842a28c0f679916c268835e940 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:46:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-635 in /w/workspace/foundry_device-virtual-go_PR-305 [Pipeline] { [Pipeline] ws 19:46:00 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 19:46:00 The recommended git tool is: git 19:46:05 using credential edgex-jenkins-ssh 19:46:05 Cloning the remote Git repository 19:46:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 19:46:05 > git init /w/workspace/device-virtual-go/1 # timeout=10 19:46:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:46:06 > git --version # timeout=10 19:46:06 > git --version # 'git version 2.25.1' 19:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 19:46:06 Verifying host key using known hosts file 19:46:06 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. 19:46:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:46:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:46:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:46:09 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 19:46:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 19:46:09 using GIT_SSH to set credentials SSH Credentials for GitHub 19:46:09 Verifying host key using known hosts file 19:46:09 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:46:09 > 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 19:46:09 Merging remotes/origin/main commit e9e78a70a342ea66ab18edf5d69a1655646d3b52 into PR head commit d070edb31437feaa294966818fefefe6b79f45cf 19:46:10 Merge succeeded, producing d070edb31437feaa294966818fefefe6b79f45cf 19:46:10 Checking out Revision d070edb31437feaa294966818fefefe6b79f45cf (PR-305) 19:46:09 > git config core.sparsecheckout # timeout=10 19:46:09 > git checkout -f d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 19:46:09 > git remote # timeout=10 19:46:09 > git config --get remote.origin.url # timeout=10 19:46:10 using GIT_SSH to set credentials SSH Credentials for GitHub 19:46:10 Verifying host key using known hosts file 19:46:10 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. 19:46:10 > git merge e9e78a70a342ea66ab18edf5d69a1655646d3b52 # timeout=10 19:46:10 > git rev-parse HEAD^{commit} # timeout=10 19:46:10 > git config core.sparsecheckout # timeout=10 19:46:10 > git checkout -f d070edb31437feaa294966818fefefe6b79f45cf # timeout=10 19:46:13 Commit message: "feat: Add NATS Subject configuration" 19:46:13 > git --version # timeout=10 19:46:13 > git --version # 'git version 2.25.1' 19:46:13 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:46:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:46:14 % Total % Received % Xferd Average Speed Time Time Time Current 19:46:14 Dload Upload Total Spent Left Speed 19:46:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75011 0 --:--:-- --:--:-- --:--:-- 75011 [Pipeline] sh 19:46:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:46:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:46:15 + sudo tee /etc/docker/daemon.new 19:46:15 { 19:46:15 "registry-mirrors": [ 19:46:15 "https://nexus3.edgexfoundry.org:10001" 19:46:15 ], 19:46:15 "bip": "10.250.0.254/24", 19:46:15 "hosts": [ 19:46:15 "tcp://0.0.0.0:5555", 19:46:15 "unix:///var/run/docker.sock" 19:46:15 ], 19:46:15 "mtu": 1458, 19:46:15 "selinux-enabled": true, 19:46:15 "seccomp-profile": "/etc/docker/seccomp.json" 19:46:15 } [Pipeline] sh 19:46:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:46:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:46:34 provisioning config files... 19:46:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5017623340565089622tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:35 ---> docker-login.sh 19:46:35 nexus3.edgexfoundry.org:10001 19:46:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:35 Configure a credential helper to remove this warning. See 19:46:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:35 19:46:35 Login Succeeded 19:46:35 nexus3.edgexfoundry.org:10002 19:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:36 Configure a credential helper to remove this warning. See 19:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:36 19:46:36 Login Succeeded 19:46:36 nexus3.edgexfoundry.org:10003 19:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:36 Configure a credential helper to remove this warning. See 19:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:36 19:46:36 Login Succeeded 19:46:36 nexus3.edgexfoundry.org:10004 19:46:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:36 Configure a credential helper to remove this warning. See 19:46:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:36 19:46:36 Login Succeeded 19:46:36 docker.io 19:46:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:46:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:46:37 Configure a credential helper to remove this warning. See 19:46:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:46:37 19:46:37 Login Succeeded 19:46:37 ---> docker-login.sh ends [Pipeline] } 19:46:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:46:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:46:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:46:37 ========================================================= 19:46:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:46:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:38 + 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 . 19:46:38 Sending build context to Docker daemon 11.71MB 19:46:38 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:46:38 Step 2/13 : FROM ${BASE} AS builder 19:46:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:46:38 b3c136eddcbf: Pulling fs layer 19:46:38 c0a3192eca97: Pulling fs layer 19:46:38 a050256f5b6f: Pulling fs layer 19:46:38 656be50a0ddc: Pulling fs layer 19:46:38 2bbca73fdf42: Pulling fs layer 19:46:38 46d945488cbd: Pulling fs layer 19:46:38 8a5474983e97: Pulling fs layer 19:46:38 329c88fbcd65: Pulling fs layer 19:46:38 656be50a0ddc: Waiting 19:46:38 2bbca73fdf42: Waiting 19:46:38 46d945488cbd: Waiting 19:46:38 8a5474983e97: Waiting 19:46:38 329c88fbcd65: Waiting 19:46:38 a050256f5b6f: Download complete 19:46:38 c0a3192eca97: Verifying Checksum 19:46:38 c0a3192eca97: Download complete 19:46:38 2bbca73fdf42: Verifying Checksum 19:46:38 2bbca73fdf42: Download complete 19:46:38 46d945488cbd: Verifying Checksum 19:46:38 46d945488cbd: Download complete 19:46:38 b3c136eddcbf: Verifying Checksum 19:46:38 b3c136eddcbf: Download complete 19:46:39 b3c136eddcbf: Pull complete 19:46:40 329c88fbcd65: Download complete 19:46:40 c0a3192eca97: Pull complete 19:46:40 a050256f5b6f: Pull complete 19:46:41 8a5474983e97: Verifying Checksum 19:46:41 8a5474983e97: Download complete 19:46:41 656be50a0ddc: Verifying Checksum 19:46:41 656be50a0ddc: Download complete 19:46:54 656be50a0ddc: Pull complete 19:46:54 2bbca73fdf42: Pull complete 19:46:54 46d945488cbd: Pull complete 19:47:00 8a5474983e97: Pull complete 19:47:02 329c88fbcd65: Pull complete 19:47:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 19:47:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:47:02 ---> ff4287adb874 19:47:02 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:47:04 ---> Running in e6b32b1ae37c 19:47:04 Removing intermediate container e6b32b1ae37c 19:47:04 ---> c1957e071125 19:47:04 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 19:47:04 ---> Running in 14e65bf42095 19:47:04 Removing intermediate container 14e65bf42095 19:47:04 ---> 0eda30683b02 19:47:04 Step 5/13 : ARG ADD_BUILD_TAGS="" 19:47:04 ---> Running in 2f7ba42b9288 19:47:04 Removing intermediate container 2f7ba42b9288 19:47:04 ---> 7009d50cdf24 19:47:04 Step 6/13 : WORKDIR /device-virtual-go 19:47:05 ---> Running in 612a030ee3ec 19:47:05 Removing intermediate container 612a030ee3ec 19:47:05 ---> 0b81e6b17f6f 19:47:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:47:05 ---> Running in 401e5cadcbd2 19:47:07 Removing intermediate container 401e5cadcbd2 19:47:07 ---> 3c166fb9672b 19:47:07 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:47:07 ---> Running in 5cbebf06df39 19:47:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:47:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:47:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:47:09 (2/4) Installing libedit (20210910.3.1-r0) 19:47:09 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:47:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:47:10 Executing busybox-1.35.0-r13.trigger 19:47:10 OK: 226 MiB in 55 packages 19:47:10 Removing intermediate container 5cbebf06df39 19:47:10 ---> 8e3016d26861 19:47:10 Step 9/13 : COPY go.mod vendor* ./ 19:47:11 ---> b6fb7c49e0ea 19:47:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:47:11 ---> Running in 4e6d7ef241fd 19:47:58 Removing intermediate container 4e6d7ef241fd 19:47:58 ---> 3e6bc7b44c21 19:47:58 Step 11/13 : COPY . . 19:47:58 ---> 080d753cf6ca 19:47:58 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:47:58 ---> Running in 312300164d50 19:47:58 Removing intermediate container 312300164d50 19:47:58 ---> 6ef5aca28a7d 19:47:58 Step 13/13 : RUN $MAKE 19:47:58 ---> Running in 8817c90e8e58 19:47:59 noop 19:47:59 Removing intermediate container 8817c90e8e58 19:47:59 ---> 3cc23070e7e7 19:47:59 Successfully built 3cc23070e7e7 19:47:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:00 + docker inspect -f . ci-base-image-arm64 19:48:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:00 prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container 19:48:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:48:02 $ docker top 3458572c6175a384fb7f37a2c73e9266bfde62e241256b5e0df7364d610d084f -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:02 + go version 19:48:02 go version go1.18.3 linux/arm64 [Pipeline] } 19:48:02 $ docker stop --time=1 3458572c6175a384fb7f37a2c73e9266bfde62e241256b5e0df7364d610d084f 19:48:04 $ docker rm -f 3458572c6175a384fb7f37a2c73e9266bfde62e241256b5e0df7364d610d084f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:48:05 + docker inspect -f . ci-base-image-arm64 19:48:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:48:05 prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container 19:48:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:48:07 $ docker top fbd5dbc11ab0e9101d6b2af73a9615502ebf051393b2b80f02e2507af18d2a2c -eo pid,comm [Pipeline] { [Pipeline] sh 19:48:07 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 19:48:08 + make test 19:48:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:48:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 19:49:31 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 19:49:31 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements 19:49:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:49:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 19:49:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:49:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:49:50 ./bin/test-attribution-txt.sh 19:49:50 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 19:49:50 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 19:49:50 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 19:49:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:49:50 $ docker stop --time=1 fbd5dbc11ab0e9101d6b2af73a9615502ebf051393b2b80f02e2507af18d2a2c 19:49:51 $ docker rm -f fbd5dbc11ab0e9101d6b2af73a9615502ebf051393b2b80f02e2507af18d2a2c [Pipeline] // withDockerContainer [Pipeline] sh 19:49:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:49:52 Warning: overwriting stash ‘coverage-report’ 19:49:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:49:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:49:54 + ls -al . 19:49:54 total 188 19:49:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 19:48 . 19:49:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:46 .. 19:49:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 19:46 .git 19:49:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:46 .github 19:49:54 -rw-rw-r-- 1 jenkins jenkins 337 Sep 22 19:46 .gitignore 19:49:54 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 19:46 .golangci.yml 19:49:54 -rw-rw-r-- 1 jenkins jenkins 8152 Sep 22 19:46 Attribution.txt 19:49:54 -rw-rw-r-- 1 jenkins jenkins 9649 Sep 22 19:46 CHANGELOG.md 19:49:54 -rw-rw-r-- 1 jenkins jenkins 2034 Sep 22 19:46 Dockerfile 19:49:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 19:46 GOVERNANCE.md 19:49:54 -rw-rw-r-- 1 jenkins jenkins 660 Sep 22 19:46 Jenkinsfile 19:49:54 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 19:46 LICENSE 19:49:54 -rw-rw-r-- 1 jenkins jenkins 2457 Sep 22 19:46 Makefile 19:49:54 -rw-rw-r-- 1 jenkins jenkins 623 Sep 22 19:46 OWNERS.md 19:49:54 -rw-rw-r-- 1 jenkins jenkins 3578 Sep 22 19:46 README.md 19:49:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 19:43 VERSION 19:49:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 19:46 bin 19:49:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:46 cmd 19:49:54 -rw-r--r-- 1 jenkins jenkins 44128 Sep 22 19:49 coverage.out 19:49:54 -rw-rw-r-- 1 jenkins jenkins 3328 Sep 22 19:46 go.mod 19:49:54 -rw-rw-r-- 1 jenkins jenkins 36202 Sep 22 19:46 go.sum 19:49:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 19:46 internal 19:49:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 19:46 snap 19:49:54 -rw-rw-r-- 1 jenkins jenkins 235 Sep 22 19:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:49:54 + 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=d070edb31437feaa294966818fefefe6b79f45cf --label arch=arm64 --label version=0.0.0 . 19:49:54 Sending build context to Docker daemon 11.75MB 19:49:54 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 19:49:54 Step 2/27 : FROM ${BASE} AS builder 19:49:54 ---> 3cc23070e7e7 19:49:54 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:49:55 ---> Running in f9f37c18dff9 19:49:55 Removing intermediate container f9f37c18dff9 19:49:55 ---> c235e0773b6f 19:49:55 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 19:49:55 ---> Running in 7141c1e72106 19:49:55 Removing intermediate container 7141c1e72106 19:49:55 ---> 8d148f7d7a0e 19:49:55 Step 5/27 : ARG ADD_BUILD_TAGS="" 19:49:55 ---> Running in 48463693c8fd 19:49:56 Removing intermediate container 48463693c8fd 19:49:56 ---> 9e61e03abd02 19:49:56 Step 6/27 : WORKDIR /device-virtual-go 19:49:56 ---> Running in 545c9ee79356 19:49:56 Removing intermediate container 545c9ee79356 19:49:56 ---> b5f65854247d 19:49:56 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:49:56 ---> Running in 84ea7d8ef824 19:49:57 Removing intermediate container 84ea7d8ef824 19:49:57 ---> 3d23a8a044b4 19:49:57 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:49:58 ---> Running in aa0c01f74711 19:49:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:49:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:50:00 OK: 226 MiB in 55 packages 19:50:01 Removing intermediate container aa0c01f74711 19:50:01 ---> fab9ab04b411 19:50:01 Step 9/27 : COPY go.mod vendor* ./ 19:50:02 ---> e32475d0779a 19:50:02 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:50:02 ---> Running in 0b5ffa05b94f 19:50:04 Removing intermediate container 0b5ffa05b94f 19:50:04 ---> dbd3485764d5 19:50:04 Step 11/27 : COPY . . 19:50:05 ---> 5386aefde50a 19:50:05 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:50:05 ---> Running in bd053c8ff23f 19:50:05 Removing intermediate container bd053c8ff23f 19:50:05 ---> 69d09f084cd4 19:50:05 Step 13/27 : RUN $MAKE 19:50:05 ---> Running in dfd8db9a8a95 19:50:06 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 19:52:43 Removing intermediate container dfd8db9a8a95 19:52:43 ---> ce4ed1dbc226 19:52:43 Step 14/27 : FROM alpine:3.16 19:52:43 3.16: Pulling from library/alpine 19:52:43 9b18e9b68314: Pulling fs layer 19:52:43 9b18e9b68314: Verifying Checksum 19:52:43 9b18e9b68314: Download complete 19:52:43 9b18e9b68314: Pull complete 19:52:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:52:43 Status: Downloaded newer image for alpine:3.16 19:52:43 ---> a6215f271958 19:52:43 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 19:52:43 ---> Running in e2528df2f20b 19:52:43 Removing intermediate container e2528df2f20b 19:52:43 ---> 3c33ecfc1778 19:52:43 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:52:43 ---> Running in f8decaf3225c 19:52:43 Removing intermediate container f8decaf3225c 19:52:43 ---> bb7c15e53d33 19:52:43 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 19:52:43 ---> Running in 4a42910c79e1 19:52:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:52:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:52:43 (1/6) Installing dumb-init (1.2.5-r1) 19:52:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:52:43 (3/6) Installing libsodium (1.0.18-r0) 19:52:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:52:43 (5/6) Installing libzmq (4.3.4-r0) 19:52:43 (6/6) Installing zeromq (4.3.4-r0) 19:52:43 Executing busybox-1.35.0-r17.trigger 19:52:43 OK: 8 MiB in 20 packages 19:52:43 Removing intermediate container 4a42910c79e1 19:52:43 ---> b5c8687dd7df 19:52:43 Step 18/27 : WORKDIR / 19:52:43 ---> Running in 7e28f5ea459b 19:52:43 Removing intermediate container 7e28f5ea459b 19:52:43 ---> 7baebff9abc6 19:52:43 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 19:52:43 ---> dfe4f5ad0b08 19:52:43 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 19:52:44 ---> 5ce77b33a725 19:52:44 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 19:52:45 ---> 75cdd3136795 19:52:45 Step 22/27 : EXPOSE 59900 19:52:45 ---> Running in a683cfcc0bf4 19:52:45 Removing intermediate container a683cfcc0bf4 19:52:45 ---> 75ffa18f2257 19:52:45 Step 23/27 : ENTRYPOINT ["/device-virtual"] 19:52:46 ---> Running in eeebe0617116 19:52:46 Removing intermediate container eeebe0617116 19:52:46 ---> f5ad2c6d83e7 19:52:46 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:52:46 ---> Running in a8ace01bc42f 19:52:46 Removing intermediate container a8ace01bc42f 19:52:46 ---> 6db760eded40 19:52:46 Step 25/27 : LABEL arch=arm64 19:52:46 ---> Running in 89e7508af282 19:52:46 Removing intermediate container 89e7508af282 19:52:46 ---> 9d0249b3347c 19:52:46 Step 26/27 : LABEL git_sha=d070edb31437feaa294966818fefefe6b79f45cf 19:52:46 ---> Running in 1532de6d7e47 19:52:47 Removing intermediate container 1532de6d7e47 19:52:47 ---> c578b03c1ae4 19:52:47 Step 27/27 : LABEL version=0.0.0 19:52:47 ---> Running in 87dd24d00542 19:52:47 Removing intermediate container 87dd24d00542 19:52:47 ---> 316ffa59e5dc 19:52:47 [Warning] One or more build-args [ARCH] were not consumed 19:52:47 Successfully built 316ffa59e5dc 19:52:47 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 19:52:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:52:48 19:52:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:52:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:52:48 arm64: Pulling from edgex-lftools-log-publisher 19:52:48 8998bd30e6a1: Pulling fs layer 19:52:48 04944245beec: Pulling fs layer 19:52:48 699f458cf7ca: Pulling fs layer 19:52:48 765212b225bb: Pulling fs layer 19:52:48 f23df028b6ca: Pulling fs layer 19:52:48 d65c8cfc05b1: Pulling fs layer 19:52:48 2437ff75d9bd: Pulling fs layer 19:52:48 765212b225bb: Waiting 19:52:48 f23df028b6ca: Waiting 19:52:48 d65c8cfc05b1: Waiting 19:52:48 2437ff75d9bd: Waiting 19:52:48 04944245beec: Verifying Checksum 19:52:48 04944245beec: Download complete 19:52:48 765212b225bb: Download complete 19:52:48 f23df028b6ca: Download complete 19:52:48 d65c8cfc05b1: Download complete 19:52:48 699f458cf7ca: Verifying Checksum 19:52:48 699f458cf7ca: Download complete 19:52:49 8998bd30e6a1: Verifying Checksum 19:52:49 8998bd30e6a1: Download complete 19:52:51 2437ff75d9bd: Verifying Checksum 19:52:51 2437ff75d9bd: Download complete 19:52:53 8998bd30e6a1: Pull complete 19:52:53 04944245beec: Pull complete 19:52:55 699f458cf7ca: Pull complete 19:52:55 765212b225bb: Pull complete 19:52:55 f23df028b6ca: Pull complete 19:52:56 d65c8cfc05b1: Pull complete 19:53:11 2437ff75d9bd: Pull complete 19:53:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:53:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:53:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:53:11 prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container 19:53:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:53:14 $ docker top 5be2da3bc469cb2a08a13f1e46c901972902875b00357bf5e503fca9044ee7c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:53:15 ---> job-cost.sh 19:53:15 lf-activate-venv: SKIPPING 19:53:15 INFO: No Stack... 19:53:16 INFO: Retrieving Pricing Info for: v3-standard-4 19:53:16 INFO: Archiving Costs [Pipeline] sh 19:53:17 + cut -d, -f6 19:53:17 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 19:53:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] 19:53:17 Resource [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] did not exist. Created. 19:53:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:53:18 /w/workspace/device-virtual-go/1@tmp/durable-2413437a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:53:18 + echo total: 0.10999999940395355 [Pipeline] stash 19:53:18 Warning: overwriting stash ‘stack-cost’ 19:53:18 Stashed 1 file(s) [Pipeline] } 19:53:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-305-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:53:18 $ docker stop --time=1 5be2da3bc469cb2a08a13f1e46c901972902875b00357bf5e503fca9044ee7c4 19:53:20 $ docker rm -f 5be2da3bc469cb2a08a13f1e46c901972902875b00357bf5e503fca9044ee7c4 [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 19:53:21 provisioning config files... 19:53:21 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config12332806048266970885tmp [Pipeline] { [Pipeline] sh 19:53:22 + set +x 19:53:22 + curl -s https://codecov.io/bash 19:53:22 + bash -s -- 19:53:22 19:53:22 _____ _ 19:53:22 / ____| | | 19:53:22 | | ___ __| | ___ ___ _____ __ 19:53:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:53:22 | |___| (_) | (_| | __/ (_| (_) \ V / 19:53:22 \_____\___/ \__,_|\___|\___\___/ \_/ 19:53:22 Bash-1.0.6 19:53:22 19:53:22 19:53:22 ==> git version 2.25.1 found 19:53:22 ==> 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 19:53:22 Release-Date: 2020-01-08 19:53:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:53:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:53:22 ==> Jenkins CI detected. 19:53:22 current dir:  /w/workspace/foundry_device-virtual-go_PR-305 19:53:22 project root: . 19:53:22 --> token set from env 19:53:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:53:22 ==> Running gcov in . (disable via -X gcov) 19:53:22 ==> Python coveragepy not found 19:53:22 ==> Searching for coverage reports in: 19:53:22 + . 19:53:22 -> Found 1 reports 19:53:22 ==> Detecting git/mercurial file structure 19:53:22 ==> Reading reports 19:53:22 + ./coverage.out bytes=44128 19:53:22 ==> Appending adjustments 19:53:22 https://docs.codecov.io/docs/fixing-reports 19:53:22 + Found adjustments 19:53:22 ==> Gzipping contents 19:53:22 8.0K /tmp/codecov.WftG2l.gz 19:53:22 ==> Uploading reports 19:53:22 url: https://codecov.io 19:53:22 query: branch=PR-305&commit=d070edb31437feaa294966818fefefe6b79f45cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= 19:53:22 -> Pinging Codecov 19:53:22 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=d070edb31437feaa294966818fefefe6b79f45cf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-305%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=305&job=&cmd_args= 19:53:22 -> Uploading to 19:53:22 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/5E52B4B073DB2E39498172D8E973AA87/d070edb31437feaa294966818fefefe6b79f45cf/9df25511-c235-4443-b120-40b1da03cd13.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T195322Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=faa88aa9ae87fb0b77fd2c7c075b0e6c0192239e1212b01505fd019542f71ed4 19:53:22 % Total % Received % Xferd Average Speed Time Time Time Current 19:53:22 Dload Upload Total Spent Left Speed 19:53:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5492 0 0 100 5492 0 23672 --:--:-- --:--:-- --:--:-- 23672 19:53:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/d070edb31437feaa294966818fefefe6b79f45cf [Pipeline] } 19:53:22 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 19:53:24 + [ -d /w/workspace/foundry_device-virtual-go_PR-305/archives ] 19:53:24 + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives 19:53:24 total 16 19:53:24 drwxr-xr-x 3 root root 4096 Sep 22 19:45 . 19:53:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 19:45 .. 19:53:24 drwxr-xr-x 2 root root 4096 Sep 22 19:45 cost 19:53:24 -rw-r--r-- 1 root root 90 Sep 22 19:45 cost.csv 19:53:24 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-305/archives 19:53:24 + ls -al /w/workspace/foundry_device-virtual-go_PR-305/archives 19:53:24 total 16 19:53:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 19:45 . 19:53:24 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 19:45 .. 19:53:24 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 19:45 cost 19:53:24 -rw-r--r-- 1 jenkins jenkins 90 Sep 22 19:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:53:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:53:25 ---> package-listing.sh 19:53:25 ++ facter osfamily 19:53:25 ++ tr '[:upper:]' '[:lower:]' 19:53:26 + OS_FAMILY=debian 19:53:26 + workspace=/w/workspace/foundry_device-virtual-go_PR-305 19:53:26 + START_PACKAGES=/tmp/packages_start.txt 19:53:26 + END_PACKAGES=/tmp/packages_end.txt 19:53:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:53:26 + PACKAGES=/tmp/packages_start.txt 19:53:26 + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' 19:53:26 + PACKAGES=/tmp/packages_end.txt 19:53:26 + case "${OS_FAMILY}" in 19:53:26 + dpkg -l 19:53:26 + grep '^ii' 19:53:26 + '[' -f /tmp/packages_start.txt ']' 19:53:26 + '[' -f /tmp/packages_end.txt ']' 19:53:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:53:26 + '[' /w/workspace/foundry_device-virtual-go_PR-305 ']' 19:53:26 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-305/archives/ 19:53:26 + 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 19:53:26 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 19:53:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:53:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:53:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:53:27 prd-ubuntu20.04-docker-8c-8g-627 does not seem to be running inside a container 19:53:27 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:53:27 $ docker top 4abe10ee836dbd757a3d37113d3d57a5e723afca1dc4e844f7217c3fc0ee54a0 -eo pid,comm [Pipeline] { [Pipeline] sh 19:53:27 + touch /tmp/pre-build-complete [Pipeline] sh 19:53:28 + mkdir -p /var/log/sysstat [Pipeline] sh 19:53:28 + ls /var/log/sa-host 19:53:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:53:28 provisioning config files... 19:53:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-305@tmp/config1205016121301274544tmp [Pipeline] { [Pipeline] echo 19:53:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:53:28 ---> create-netrc.sh [Pipeline] } 19:53:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:53:29 ---> python-tools-install.sh [Pipeline] echo 19:53:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:53:29 ---> sudo-logs.sh 19:53:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:53:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:53:30 ---> job-cost.sh 19:53:30 lf-activate-venv: SKIPPING 19:53:30 DEBUG: total: 0.6600000262260437 19:53:30 INFO: Retrieving Stack Cost... 19:53:30 INFO: Retrieving Pricing Info for: v3-standard-8 19:53:30 INFO: Archiving Costs [Pipeline] echo 19:53:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:53:31 ---> logs-deploy.sh 19:53:31 lf-activate-venv: SKIPPING 19:53:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-305/1 19:53:31 INFO: archiving workspace using pattern(s): 19:53:32 Archives upload complete. 19:53:32 INFO: archiving logs to Nexus