Pull request #311 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 MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at dc6526b820fce363f7c4f2d6ce852272454ac71f rather than 16d50189d2567c1e7ce66d0a270a8db246af86fa Obtained Jenkinsfile from dc6526b820fce363f7c4f2d6ce852272454ac71f 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-ssh10043517764215524079.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-ssh719511278804974839.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-311/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-311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh271010329286390396.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-311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15813412942895445414.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-ssh11908219733196457437.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-311/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-311/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16326726085774495652.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7311 in /w/workspace/foundry_device-virtual-go_PR-311 [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-311 # 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/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dc6526b820fce363f7c4f2d6ce852272454ac71f into PR head commit 16d50189d2567c1e7ce66d0a270a8db246af86fa Merge succeeded, producing 16d50189d2567c1e7ce66d0a270a8db246af86fa Checking out Revision 16d50189d2567c1e7ce66d0a270a8db246af86fa (PR-311) > git config core.sparsecheckout # timeout=10 > git checkout -f 16d50189d2567c1e7ce66d0a270a8db246af86fa # 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 dc6526b820fce363f7c4f2d6ce852272454ac71f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16d50189d2567c1e7ce66d0a270a8db246af86fa # timeout=10 Commit message: "fix(snap): Remove duplicate file copying in install hook" 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 09:43:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:43:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:43:45 ========================================================= 09:43:45 EdgeX Global Pipelines Version Info 09:43:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:43:46 ------------------- 09:43:46 stable info: 09:43:46 ------------------- 09:43:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:43:46 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:43:46 Message: update stable to v1.0.239 09:43:47 ------------------- 09:43:47 experimental info: 09:43:47 ------------------- 09:43:47 Commited By: **** collab-it+edgex@linuxfoundation.org 09:43:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:43:47 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:43:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-311 [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-311 [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-311 [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16d5018 [Pipeline] echo 09:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:43:48 provisioning config files... 09:43:48 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-311@tmp/config6605835284875806915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:49 ---> docker-login.sh 09:43:49 nexus3.edgexfoundry.org:10001 09:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:49 Configure a credential helper to remove this warning. See 09:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:49 09:43:49 Login Succeeded 09:43:49 nexus3.edgexfoundry.org:10002 09:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:49 Configure a credential helper to remove this warning. See 09:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:49 09:43:49 Login Succeeded 09:43:49 nexus3.edgexfoundry.org:10003 09:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:50 Configure a credential helper to remove this warning. See 09:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:50 09:43:50 Login Succeeded 09:43:50 nexus3.edgexfoundry.org:10004 09:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:50 Configure a credential helper to remove this warning. See 09:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:50 09:43:50 Login Succeeded 09:43:50 docker.io 09:43:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:43:50 Configure a credential helper to remove this warning. See 09:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:43:50 09:43:50 Login Succeeded 09:43:50 ---> docker-login.sh ends [Pipeline] } 09:43:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:43:51 + git rev-list -1 --merges 16d50189d2567c1e7ce66d0a270a8db246af86fa~1..16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] echo 09:43:51 -----------> git rev-list -1 --merges 16d50189d2567c1e7ce66d0a270a8db246af86fa~1..16d50189d2567c1e7ce66d0a270a8db246af86fa 16d50189d2567c1e7ce66d0a270a8db246af86fa [false] [Pipeline] sh 09:43:51 + git log --format=format:%s -1 16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] echo 09:43:51 ========================================================= 09:43:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:43:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:43:52 + git log --format=format:%s -1 16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] echo 09:43:52 [semverPrep] GIT_COMMIT: 16d50189d2567c1e7ce66d0a270a8db246af86fa, Commit Message: fix(snap): Remove duplicate file copying in install hook [Pipeline] echo 09:43:52 [semverPrep] This is not a build commit. [Pipeline] sh 09:43:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:43:52 + grep -v github /etc/ssh/ssh_known_hosts 09:43:52 + [ -e /tmp/ssh_known_hosts ] 09:43:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:43:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:43:52 + sudo tee -a /etc/ssh/ssh_known_hosts 09:43:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:43:53 09:43:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:43:53 0.1.4: Pulling from edgex-devops/py-git-semver 09:43:53 b85a868b505f: Pulling fs layer 09:43:53 e2be974225ed: Pulling fs layer 09:43:53 339a4e72a1f5: Pulling fs layer 09:43:53 988bab9f4d93: Pulling fs layer 09:43:53 1469e6f7b9e6: Pulling fs layer 09:43:53 eaf3925da568: Pulling fs layer 09:43:53 bab4dde63d76: Pulling fs layer 09:43:53 bde34c3a00c8: Pulling fs layer 09:43:53 b352a97aabf1: Pulling fs layer 09:43:53 4872d77fe225: Pulling fs layer 09:43:53 5851b861e8e6: Pulling fs layer 09:43:53 b352a97aabf1: Waiting 09:43:53 bab4dde63d76: Waiting 09:43:53 4872d77fe225: Waiting 09:43:53 5851b861e8e6: Waiting 09:43:53 1469e6f7b9e6: Waiting 09:43:53 bde34c3a00c8: Waiting 09:43:53 eaf3925da568: Waiting 09:43:53 e2be974225ed: Verifying Checksum 09:43:53 e2be974225ed: Download complete 09:43:53 988bab9f4d93: Download complete 09:43:53 1469e6f7b9e6: Verifying Checksum 09:43:53 1469e6f7b9e6: Download complete 09:43:53 339a4e72a1f5: Verifying Checksum 09:43:53 339a4e72a1f5: Download complete 09:43:53 eaf3925da568: Verifying Checksum 09:43:53 eaf3925da568: Download complete 09:43:53 bde34c3a00c8: Verifying Checksum 09:43:53 bde34c3a00c8: Download complete 09:43:53 b352a97aabf1: Download complete 09:43:53 4872d77fe225: Verifying Checksum 09:43:53 4872d77fe225: Download complete 09:43:53 5851b861e8e6: Verifying Checksum 09:43:53 5851b861e8e6: Download complete 09:43:53 b85a868b505f: Verifying Checksum 09:43:53 b85a868b505f: Download complete 09:43:53 bab4dde63d76: Verifying Checksum 09:43:53 bab4dde63d76: Download complete 09:43:54 b85a868b505f: Pull complete 09:43:55 e2be974225ed: Pull complete 09:43:55 339a4e72a1f5: Pull complete 09:43:55 988bab9f4d93: Pull complete 09:43:55 1469e6f7b9e6: Pull complete 09:43:55 eaf3925da568: Pull complete 09:43:57 bab4dde63d76: Pull complete 09:43:57 bde34c3a00c8: Pull complete 09:43:57 b352a97aabf1: Pull complete 09:43:57 4872d77fe225: Pull complete 09:43:57 5851b861e8e6: Pull complete 09:43:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:43:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:43:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:58 prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container 09:43:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:44:00 $ docker top 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 -eo pid,comm 09:44:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:44:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:44:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:00 [ssh-agent] Looking for ssh-agent implementation... 09:44:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:00 $ docker exec 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 ssh-agent 09:44:00 SSH_AUTH_SOCK=/tmp/ssh-sqY67VatJFv7/agent.31 09:44:00 SSH_AGENT_PID=37 09:44:00 Running ssh-add (command line suppressed) 09:44:01 Identity added: /w/workspace/foundry_device-virtual-go_PR-311@tmp/private_key_7627492234167393726.key (/w/workspace/foundry_device-virtual-go_PR-311@tmp/private_key_7627492234167393726.key) 09:44:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:01 + git tag --points-at HEAD [Pipeline] } 09:44:01 $ docker exec --env ******** --env ******** 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 ssh-agent -k 09:44:01 unset SSH_AUTH_SOCK; 09:44:01 unset SSH_AGENT_PID; 09:44:01 echo Agent pid 37 killed; 09:44:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:44:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:01 [ssh-agent] Looking for ssh-agent implementation... 09:44:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:01 $ docker exec 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 ssh-agent 09:44:01 SSH_AUTH_SOCK=/tmp/ssh-zQ7gOfNzc3jz/agent.69 09:44:01 SSH_AGENT_PID=75 09:44:01 Running ssh-add (command line suppressed) 09:44:02 Identity added: /w/workspace/foundry_device-virtual-go_PR-311@tmp/private_key_7684134986517182748.key (/w/workspace/foundry_device-virtual-go_PR-311@tmp/private_key_7684134986517182748.key) 09:44:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:02 + git semver init 09:44:02 2022-10-07 09:44:02,545 [run_init] DEBUG init version:0.0.0 force:False 09:44:02 2022-10-07 09:44:02,546 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-311/.semver 09:44:02 2022-10-07 09:44:02,546 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-311/.semver 09:44:02 2022-10-07 09:44:02,546 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-311/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-311, universal_newlines=False, shell=None, istream=None) 09:44:04 2022-10-07 09:44:03,798 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-311/.git/info/exclude 09:44:04 2022-10-07 09:44:03,799 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-311/.semver/PR-311 with force:False 09:44:04 2022-10-07 09:44:03,799 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-311/.semver/PR-311 09:44:04 2022-10-07 09:44:03,803 [execute] INFO git cat-file --batch-check 09:44:04 2022-10-07 09:44:03,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-311/.semver, universal_newlines=False, shell=None, istream=) 09:44:04 2022-10-07 09:44:03,809 [execute] INFO git cat-file --batch 09:44:04 2022-10-07 09:44:03,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-311/.semver, universal_newlines=False, shell=None, istream=) 09:44:04 2022-10-07 09:44:03,814 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-311/.semver/PR-311 09:44:04 0.0.0 [Pipeline] } 09:44:04 $ docker exec --env ******** --env ******** 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 ssh-agent -k 09:44:04 unset SSH_AUTH_SOCK; 09:44:04 unset SSH_AGENT_PID; 09:44:04 echo Agent pid 75 killed; 09:44:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:44:04 + git semver [Pipeline] } 09:44:04 $ docker stop --time=1 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 09:44:06 $ docker rm -f 6ba896a6844629f0f684beffc8edff3e60d4fc7555e29f4791d0e3f38bb194e9 [Pipeline] // withDockerContainer [Pipeline] sh 09:44:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:44:06 Stashed 1 file(s) [Pipeline] echo 09:44:06 [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 09:44:07 provisioning config files... 09:44:07 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-311@tmp/config4658306204888223087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:07 ---> docker-login.sh 09:44:07 nexus3.edgexfoundry.org:10001 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 nexus3.edgexfoundry.org:10002 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 nexus3.edgexfoundry.org:10003 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 nexus3.edgexfoundry.org:10004 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:07 Configure a credential helper to remove this warning. See 09:44:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:07 09:44:07 Login Succeeded 09:44:07 docker.io 09:44:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:44:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:44:08 Configure a credential helper to remove this warning. See 09:44:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:44:08 09:44:08 Login Succeeded 09:44:08 ---> docker-login.sh ends [Pipeline] } 09:44:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:44:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:44:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:44:08 ========================================================= 09:44:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:44:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:09 + 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 . 09:44:09 Sending build context to Docker daemon 23.18MB 09:44:09 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:44:09 Step 2/13 : FROM ${BASE} AS builder 09:44:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:44:09 2408cc74d12b: Pulling fs layer 09:44:09 ea60b727a1ce: Pulling fs layer 09:44:09 30c4a7721957: Pulling fs layer 09:44:09 370296b7ddb6: Pulling fs layer 09:44:09 7c6cee850709: Pulling fs layer 09:44:09 aa9baa53a306: Pulling fs layer 09:44:09 8b309c321861: Pulling fs layer 09:44:09 d8d76fd02f46: Pulling fs layer 09:44:09 fa31f396de31: Pulling fs layer 09:44:09 8b309c321861: Waiting 09:44:09 d8d76fd02f46: Waiting 09:44:09 fa31f396de31: Waiting 09:44:09 aa9baa53a306: Waiting 09:44:09 30c4a7721957: Verifying Checksum 09:44:09 30c4a7721957: Download complete 09:44:09 ea60b727a1ce: Verifying Checksum 09:44:09 ea60b727a1ce: Download complete 09:44:09 7c6cee850709: Verifying Checksum 09:44:09 7c6cee850709: Download complete 09:44:09 aa9baa53a306: Verifying Checksum 09:44:09 aa9baa53a306: Download complete 09:44:09 2408cc74d12b: Verifying Checksum 09:44:09 2408cc74d12b: Download complete 09:44:09 8b309c321861: Verifying Checksum 09:44:09 8b309c321861: Download complete 09:44:09 2408cc74d12b: Pull complete 09:44:09 ea60b727a1ce: Pull complete 09:44:09 30c4a7721957: Pull complete 09:44:10 d8d76fd02f46: Verifying Checksum 09:44:10 d8d76fd02f46: Download complete 09:44:10 fa31f396de31: Verifying Checksum 09:44:10 fa31f396de31: Download complete 09:44:10 370296b7ddb6: Verifying Checksum 09:44:10 370296b7ddb6: Download complete 09:44:13 370296b7ddb6: Pull complete 09:44:13 7c6cee850709: Pull complete 09:44:13 aa9baa53a306: Pull complete 09:44:13 8b309c321861: Pull complete 09:44:15 d8d76fd02f46: Pull complete 09:44:16 fa31f396de31: Pull complete 09:44:16 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 09:44:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:44:16 ---> cef68f9685f8 09:44:16 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:44:20 ---> Running in 786567e42c06 09:44:20 Removing intermediate container 786567e42c06 09:44:20 ---> 894c60e6d1e4 09:44:20 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:44:20 ---> Running in a7fbae6f3735 09:44:20 Removing intermediate container a7fbae6f3735 09:44:20 ---> 94c8fd3b1d16 09:44:20 Step 5/13 : ARG ADD_BUILD_TAGS="" 09:44:20 ---> Running in 6b9a57ad2591 09:44:20 Removing intermediate container 6b9a57ad2591 09:44:20 ---> 54878d8b2787 09:44:20 Step 6/13 : WORKDIR /device-virtual-go 09:44:20 ---> Running in 93212d440e5e 09:44:21 Removing intermediate container 93212d440e5e 09:44:21 ---> 93655c2bc693 09:44:21 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:44:21 ---> Running in 6c9e2255bd0a 09:44:21 Removing intermediate container 6c9e2255bd0a 09:44:21 ---> 5e3b785237c0 09:44:21 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:44:21 ---> Running in ef17c9180011 09:44:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:44:22 Still waiting to schedule task 09:44:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:44:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:44:23 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:44:23 (2/4) Installing libedit (20210910.3.1-r0) 09:44:23 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:44:23 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:44:23 Executing busybox-1.35.0-r13.trigger 09:44:23 OK: 216 MiB in 55 packages 09:44:23 Removing intermediate container ef17c9180011 09:44:23 ---> 8013c7948d17 09:44:23 Step 9/13 : COPY go.mod vendor* ./ 09:44:24 ---> 1089315edf6b 09:44:24 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:24 ---> Running in 01bc2205ce64 09:44:50 Removing intermediate container 01bc2205ce64 09:44:50 ---> 0e62bf7a3d10 09:44:50 Step 11/13 : COPY . . 09:44:50 ---> 293a4e5f9729 09:44:50 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:44:50 ---> Running in a9eca2245a35 09:44:50 Removing intermediate container a9eca2245a35 09:44:50 ---> c4cc8993754b 09:44:50 Step 13/13 : RUN $MAKE 09:44:50 ---> Running in 3518fcc64669 09:44:51 noop 09:44:51 Removing intermediate container 3518fcc64669 09:44:51 ---> 0cf55f40362c 09:44:51 Successfully built 0cf55f40362c 09:44:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:51 + docker inspect -f . ci-base-image-x86_64 09:44:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:51 prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container 09:44:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@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-x86_64 cat 09:44:52 $ docker top c0231ffabb50407f97f2f81ff80ee0d67abab417d9462d1142ccc49180c789cc -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:52 + go version 09:44:52 go version go1.18.3 linux/amd64 [Pipeline] } 09:44:52 $ docker stop --time=1 c0231ffabb50407f97f2f81ff80ee0d67abab417d9462d1142ccc49180c789cc 09:44:54 $ docker rm -f c0231ffabb50407f97f2f81ff80ee0d67abab417d9462d1142ccc49180c789cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:54 + docker inspect -f . ci-base-image-x86_64 09:44:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:54 prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container 09:44:54 $ 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-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@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-x86_64 cat 09:44:55 $ docker top fa13cd7e104f6f2497a24016239d8683b6fab9952377cb233f28d474e52bbeca -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:55 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-311 [Pipeline] fileExists [Pipeline] sh 09:44:55 + make test 09:44:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:44:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:45:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:45:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 09:45:12 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." 09:45:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:45:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:45:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:45:14 ./bin/test-attribution-txt.sh [Pipeline] echo 09:45:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:45:14 $ docker stop --time=1 fa13cd7e104f6f2497a24016239d8683b6fab9952377cb233f28d474e52bbeca 09:45:17 $ docker rm -f fa13cd7e104f6f2497a24016239d8683b6fab9952377cb233f28d474e52bbeca [Pipeline] // withDockerContainer [Pipeline] sh 09:45:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:45:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:45:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:45:18 + ls -al . 09:45:18 total 200 09:45:18 drwxrwxr-x 9 jenkins jenkins 4096 Oct 7 09:44 . 09:45:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:43 .. 09:45:18 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:45 .git 09:45:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:43 .github 09:45:18 -rw-rw-r-- 1 jenkins jenkins 337 Oct 7 09:43 .gitignore 09:45:18 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 09:43 .golangci.yml 09:45:18 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:44 .semver 09:45:18 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 7 09:43 Attribution.txt 09:45:18 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 7 09:43 CHANGELOG.md 09:45:18 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 7 09:43 Dockerfile 09:45:18 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:43 GOVERNANCE.md 09:45:18 -rw-rw-r-- 1 jenkins jenkins 660 Oct 7 09:43 Jenkinsfile 09:45:18 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 09:43 LICENSE 09:45:18 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 7 09:43 Makefile 09:45:18 -rw-rw-r-- 1 jenkins jenkins 623 Oct 7 09:43 OWNERS.md 09:45:18 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 7 09:43 README.md 09:45:18 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:44 VERSION 09:45:18 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:43 bin 09:45:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:43 cmd 09:45:18 -rw-r--r-- 1 jenkins jenkins 44128 Oct 7 09:45 coverage.out 09:45:18 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 7 09:43 go.mod 09:45:18 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 7 09:43 go.sum 09:45:18 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:43 internal 09:45:18 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:43 snap 09:45:18 -rw-rw-r-- 1 jenkins jenkins 235 Oct 7 09:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:19 + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=16d50189d2567c1e7ce66d0a270a8db246af86fa --label arch=amd64 --label version=0.0.0 . 09:45:19 Sending build context to Docker daemon 23.23MB 09:45:19 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:45:19 Step 2/27 : FROM ${BASE} AS builder 09:45:19 ---> 0cf55f40362c 09:45:19 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:45:19 ---> Running in 56dfaef32fcb 09:45:19 Removing intermediate container 56dfaef32fcb 09:45:19 ---> 1dbb06451fce 09:45:19 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:45:19 ---> Running in b94a0a50d869 09:45:19 Removing intermediate container b94a0a50d869 09:45:19 ---> 596d77bcb40b 09:45:19 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:45:19 ---> Running in e38d9e51794e 09:45:19 Removing intermediate container e38d9e51794e 09:45:19 ---> 4c3c1c5278a7 09:45:19 Step 6/27 : WORKDIR /device-virtual-go 09:45:19 ---> Running in d2d3cf8428d5 09:45:19 Removing intermediate container d2d3cf8428d5 09:45:19 ---> 8a01e319fce0 09:45:19 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:45:19 ---> Running in 26e759bdb282 09:45:20 Removing intermediate container 26e759bdb282 09:45:20 ---> 6f63819db742 09:45:20 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:45:20 ---> Running in e4373dac27d2 09:45:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:45:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:45:21 OK: 216 MiB in 55 packages 09:45:22 Removing intermediate container e4373dac27d2 09:45:22 ---> 7e5327b0ebb5 09:45:22 Step 9/27 : COPY go.mod vendor* ./ 09:45:22 ---> e821575fc677 09:45:22 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:22 ---> Running in ba2e67d38bdf 09:45:22 Removing intermediate container ba2e67d38bdf 09:45:22 ---> 2ba67e172bce 09:45:22 Step 11/27 : COPY . . 09:45:23 ---> 2bb5f3637a32 09:45:23 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:45:23 ---> Running in a0ca08670fc6 09:45:23 Removing intermediate container a0ca08670fc6 09:45:23 ---> bf0b306e148b 09:45:23 Step 13/27 : RUN $MAKE 09:45:23 ---> Running in a3562f5472c9 09:45:23 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 09:45:45 Removing intermediate container a3562f5472c9 09:45:45 ---> 990431f354e2 09:45:45 Step 14/27 : FROM alpine:3.16 09:45:45 3.16: Pulling from library/alpine 09:45:45 213ec9aee27d: Pulling fs layer 09:45:45 213ec9aee27d: Verifying Checksum 09:45:45 213ec9aee27d: Download complete 09:45:45 213ec9aee27d: Pull complete 09:45:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:45:45 Status: Downloaded newer image for alpine:3.16 09:45:45 ---> 9c6f07244728 09:45:45 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:45:45 ---> Running in dd9b0e45203e 09:45:45 Removing intermediate container dd9b0e45203e 09:45:45 ---> 37f46eaf9e3b 09:45:45 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:45:45 ---> Running in 0952b191783f 09:45:45 Removing intermediate container 0952b191783f 09:45:45 ---> c9cd0fdb9a5e 09:45:45 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 09:45:45 ---> Running in dce8f0dfaad9 09:45:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:45:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:45:46 (1/6) Installing dumb-init (1.2.5-r1) 09:45:46 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:45:46 (3/6) Installing libsodium (1.0.18-r0) 09:45:47 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:45:47 (5/6) Installing libzmq (4.3.4-r0) 09:45:47 (6/6) Installing zeromq (4.3.4-r0) 09:45:47 Executing busybox-1.35.0-r17.trigger 09:45:47 OK: 8 MiB in 20 packages 09:45:48 Removing intermediate container dce8f0dfaad9 09:45:48 ---> d29470cf5bc0 09:45:48 Step 18/27 : WORKDIR / 09:45:48 ---> Running in fe94c0a45e41 09:45:48 Removing intermediate container fe94c0a45e41 09:45:48 ---> a3aa5fce8186 09:45:48 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:45:49 ---> ce3335a910af 09:45:49 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 09:45:49 ---> faa781313b2a 09:45:49 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 09:45:50 ---> ce4a398bd280 09:45:50 Step 22/27 : EXPOSE 59900 09:45:50 ---> Running in 57bce07602c2 09:45:50 Removing intermediate container 57bce07602c2 09:45:50 ---> 059bcf909812 09:45:50 Step 23/27 : ENTRYPOINT ["/device-virtual"] 09:45:51 ---> Running in d85d7ddaca64 09:45:51 Removing intermediate container d85d7ddaca64 09:45:51 ---> 2fc4686346ad 09:45:51 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:45:51 ---> Running in 2705faada3df 09:45:51 Removing intermediate container 2705faada3df 09:45:51 ---> c8a7048626f4 09:45:51 Step 25/27 : LABEL arch=amd64 09:45:51 ---> Running in 179fc167ac47 09:45:52 Removing intermediate container 179fc167ac47 09:45:52 ---> e98fe00f19c4 09:45:52 Step 26/27 : LABEL git_sha=16d50189d2567c1e7ce66d0a270a8db246af86fa 09:45:52 ---> Running in 80a363380a59 09:45:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7312 in /w/workspace/foundry_device-virtual-go_PR-311 [Pipeline] { [Pipeline] ws 09:45:52 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 09:45:52 The recommended git tool is: git 09:45:52 Removing intermediate container 80a363380a59 09:45:52 ---> 92b6f00b3e56 09:45:52 Step 27/27 : LABEL version=0.0.0 09:45:53 ---> Running in 777604eacb48 09:45:53 Removing intermediate container 777604eacb48 09:45:53 ---> f3045e84dcce 09:45:53 [Warning] One or more build-args [ARCH] were not consumed 09:45:53 Successfully built f3045e84dcce 09:45:53 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 09:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:45:54 09:45:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:45:54 latest: Pulling from edgex-lftools-log-publisher 09:45:54 5eb5b503b376: Pulling fs layer 09:45:54 5c69ac0246d0: Pulling fs layer 09:45:54 ec43610c2a17: Pulling fs layer 09:45:54 3a2ae6a8a46f: Pulling fs layer 09:45:54 33b1e0a273af: Pulling fs layer 09:45:54 5d3b04190fa2: Pulling fs layer 09:45:54 2f39f015ded8: Pulling fs layer 09:45:54 2f39f015ded8: Waiting 09:45:54 33b1e0a273af: Waiting 09:45:54 5d3b04190fa2: Waiting 09:45:54 3a2ae6a8a46f: Waiting 09:45:54 5c69ac0246d0: Verifying Checksum 09:45:54 5c69ac0246d0: Download complete 09:45:54 3a2ae6a8a46f: Verifying Checksum 09:45:54 3a2ae6a8a46f: Download complete 09:45:54 33b1e0a273af: Verifying Checksum 09:45:54 33b1e0a273af: Download complete 09:45:54 5d3b04190fa2: Verifying Checksum 09:45:54 5d3b04190fa2: Download complete 09:45:54 ec43610c2a17: Verifying Checksum 09:45:54 ec43610c2a17: Download complete 09:45:54 5eb5b503b376: Verifying Checksum 09:45:54 5eb5b503b376: Download complete 09:45:55 2f39f015ded8: Download complete 09:45:55 5eb5b503b376: Pull complete 09:45:55 5c69ac0246d0: Pull complete 09:45:56 ec43610c2a17: Pull complete 09:45:56 3a2ae6a8a46f: Pull complete 09:45:56 33b1e0a273af: Pull complete 09:45:56 5d3b04190fa2: Pull complete 09:45:57 using credential edgex-jenkins-ssh 09:45:57 Cloning the remote Git repository 09:45:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:45:57 > git init /w/workspace/device-virtual-go/1 # timeout=10 09:45:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:45:57 > git --version # timeout=10 09:45:57 > git --version # 'git version 2.25.1' 09:45:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:45:57 Verifying host key using known hosts file 09:45:57 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. 09:45:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:45:59 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:46:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:46:00 2f39f015ded8: Pull complete 09:46:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:46:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:46:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:01 prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container 09:46:01 $ 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-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@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:latest cat 09:46:01 Merging remotes/origin/main commit dc6526b820fce363f7c4f2d6ce852272454ac71f into PR head commit 16d50189d2567c1e7ce66d0a270a8db246af86fa 09:46:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:46:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:46:00 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:00 Verifying host key using known hosts file 09:46:00 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. 09:46:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/311/head:refs/remotes/origin/PR-311 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:46:01 > git config core.sparsecheckout # timeout=10 09:46:01 Merge succeeded, producing 16d50189d2567c1e7ce66d0a270a8db246af86fa 09:46:01 Checking out Revision 16d50189d2567c1e7ce66d0a270a8db246af86fa (PR-311) 09:46:01 > git checkout -f 16d50189d2567c1e7ce66d0a270a8db246af86fa # timeout=10 09:46:01 > git remote # timeout=10 09:46:01 > git config --get remote.origin.url # timeout=10 09:46:01 using GIT_SSH to set credentials SSH Credentials for GitHub 09:46:01 Verifying host key using known hosts file 09:46:01 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:46:01 > git merge dc6526b820fce363f7c4f2d6ce852272454ac71f # timeout=10 09:46:01 > git rev-parse HEAD^{commit} # timeout=10 09:46:01 > git config core.sparsecheckout # timeout=10 09:46:01 > git checkout -f 16d50189d2567c1e7ce66d0a270a8db246af86fa # timeout=10 09:46:04 $ docker top ca11cc7ffd796e4642965d5fad11d14880bf3630cfbeb3409150689ae13e0e37 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:46:05 Commit message: "fix(snap): Remove duplicate file copying in install hook" 09:46:05 > git --version # timeout=10 09:46:05 > git --version # 'git version 2.25.1' 09:46:05 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 09:46:05 ---> job-cost.sh 09:46:05 lf-activate-venv: SKIPPING 09:46:05 INFO: No Stack... 09:46:05 INFO: Retrieving Pricing Info for: v3-standard-8 09:46:05 09:46:05 GitHub has been notified of this commit’s build result 09:46:05 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 09:46:05 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 09:46:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:46:06 % Total % Received % Xferd Average Speed Time Time Time Current 09:46:06 Dload Upload Total Spent Left Speed 09:46:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96198 0 --:--:-- --:--:-- --:--:-- 96938 09:46:06 + cut -d, -f6 09:46:06 + cat /w/workspace/foundry_device-virtual-go_PR-311/archives/cost.csv [Pipeline] lock 09:46:06 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] 09:46:06 Resource [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] did not exist. Created. 09:46:06 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:46:06 + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash 09:46:06 Stashed 1 file(s) [Pipeline] } 09:46:06 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:46:07 $ docker stop --time=1 ca11cc7ffd796e4642965d5fad11d14880bf3630cfbeb3409150689ae13e0e37 09:46:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 09:46:08 $ docker rm -f ca11cc7ffd796e4642965d5fad11d14880bf3630cfbeb3409150689ae13e0e37 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:46:08 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 09:46:08 /etc/docker/daemon.json 09:46:08 { 09:46:08 "registry-mirrors": [ 09:46:08 "https://nexus3.edgexfoundry.org:10001" 09:46:08 ], 09:46:08 "bip": "10.250.0.254/24", 09:46:08 "hosts": [ 09:46:08 "tcp://0.0.0.0:5555", 09:46:08 "unix:///var/run/docker.sock" 09:46:08 ], 09:46:08 "mtu": 1458, 09:46:08 "selinux-enabled": true, 09:46:08 "seccomp-profile": "/etc/docker/seccomp.json" 09:46:08 } [Pipeline] sh 09:46:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:46:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:46:27 provisioning config files... 09:46:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7038919966140944577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:46:28 ---> docker-login.sh 09:46:28 nexus3.edgexfoundry.org:10001 09:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:28 Configure a credential helper to remove this warning. See 09:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:28 09:46:28 Login Succeeded 09:46:28 nexus3.edgexfoundry.org:10002 09:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:28 Configure a credential helper to remove this warning. See 09:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:28 09:46:28 Login Succeeded 09:46:28 nexus3.edgexfoundry.org:10003 09:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:29 Configure a credential helper to remove this warning. See 09:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:29 09:46:29 Login Succeeded 09:46:29 nexus3.edgexfoundry.org:10004 09:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:29 Configure a credential helper to remove this warning. See 09:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:29 09:46:29 Login Succeeded 09:46:29 docker.io 09:46:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:46:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:46:30 Configure a credential helper to remove this warning. See 09:46:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:46:30 09:46:30 Login Succeeded 09:46:30 ---> docker-login.sh ends [Pipeline] } 09:46:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:46:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:46:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:46:30 ========================================================= 09:46:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:46:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:31 + 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 . 09:46:31 Sending build context to Docker daemon 11.73MB 09:46:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:46:31 Step 2/13 : FROM ${BASE} AS builder 09:46:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:46:31 b3c136eddcbf: Pulling fs layer 09:46:31 c0a3192eca97: Pulling fs layer 09:46:31 a050256f5b6f: Pulling fs layer 09:46:31 656be50a0ddc: Pulling fs layer 09:46:31 2bbca73fdf42: Pulling fs layer 09:46:31 f607e4fc86c3: Pulling fs layer 09:46:31 4d572c569a2c: Pulling fs layer 09:46:31 fcf976331f73: Pulling fs layer 09:46:31 656be50a0ddc: Waiting 09:46:31 2bbca73fdf42: Waiting 09:46:31 f607e4fc86c3: Waiting 09:46:31 4d572c569a2c: Waiting 09:46:31 a050256f5b6f: Download complete 09:46:31 c0a3192eca97: Verifying Checksum 09:46:31 c0a3192eca97: Download complete 09:46:31 2bbca73fdf42: Verifying Checksum 09:46:31 2bbca73fdf42: Download complete 09:46:31 f607e4fc86c3: Download complete 09:46:31 b3c136eddcbf: Verifying Checksum 09:46:31 b3c136eddcbf: Download complete 09:46:32 b3c136eddcbf: Pull complete 09:46:32 fcf976331f73: Verifying Checksum 09:46:33 c0a3192eca97: Pull complete 09:46:33 a050256f5b6f: Pull complete 09:46:34 4d572c569a2c: Verifying Checksum 09:46:34 4d572c569a2c: Download complete 09:46:34 656be50a0ddc: Verifying Checksum 09:46:34 656be50a0ddc: Download complete 09:46:46 656be50a0ddc: Pull complete 09:46:46 2bbca73fdf42: Pull complete 09:46:46 f607e4fc86c3: Pull complete 09:46:52 4d572c569a2c: Pull complete 09:46:54 fcf976331f73: Pull complete 09:46:54 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 09:46:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:46:54 ---> 3970a7415f9e 09:46:54 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:46:56 ---> Running in f7fd8c2d480a 09:46:56 Removing intermediate container f7fd8c2d480a 09:46:56 ---> 903af4963fea 09:46:56 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 09:46:56 ---> Running in dafc5ab365e1 09:46:56 Removing intermediate container dafc5ab365e1 09:46:56 ---> 8099a9f8200f 09:46:56 Step 5/13 : ARG ADD_BUILD_TAGS="" 09:46:56 ---> Running in 3b38325fc67b 09:46:57 Removing intermediate container 3b38325fc67b 09:46:57 ---> b4dc680f6c8d 09:46:57 Step 6/13 : WORKDIR /device-virtual-go 09:46:57 ---> Running in b96be36e5448 09:46:57 Removing intermediate container b96be36e5448 09:46:57 ---> c0f5b5793abc 09:46:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:46:57 ---> Running in fb074b65eadb 09:46:59 Removing intermediate container fb074b65eadb 09:46:59 ---> 4632393f212f 09:46:59 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:46:59 ---> Running in e91e72751d10 09:47:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:47:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:47:02 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:47:02 (2/4) Installing libedit (20210910.3.1-r0) 09:47:02 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:47:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:47:02 Executing busybox-1.35.0-r13.trigger 09:47:02 OK: 226 MiB in 55 packages 09:47:03 Removing intermediate container e91e72751d10 09:47:03 ---> f9cc3968c192 09:47:03 Step 9/13 : COPY go.mod vendor* ./ 09:47:04 ---> 394ebd263787 09:47:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:47:04 ---> Running in 1aa49154fb83 09:47:51 Removing intermediate container 1aa49154fb83 09:47:51 ---> dcbe88b134ba 09:47:51 Step 11/13 : COPY . . 09:47:51 ---> 788aa9f46af7 09:47:51 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:47:51 ---> Running in 234e0f18b75e 09:47:51 Removing intermediate container 234e0f18b75e 09:47:51 ---> ce2d93a65e95 09:47:51 Step 13/13 : RUN $MAKE 09:47:51 ---> Running in f0cc909e9568 09:47:52 noop 09:47:53 Removing intermediate container f0cc909e9568 09:47:53 ---> 2607cfca75c6 09:47:53 Successfully built 2607cfca75c6 09:47:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:54 + docker inspect -f . ci-base-image-arm64 09:47:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:54 prd-ubuntu20.04-docker-arm64-4c-16g-7312 does not seem to be running inside a container 09:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:47:55 $ docker top 3d4ea389fc2e3e2396a0a949420ad0519349f79067e80a68663f00c107b870cd -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:56 + go version 09:47:56 go version go1.18.3 linux/arm64 [Pipeline] } 09:47:56 $ docker stop --time=1 3d4ea389fc2e3e2396a0a949420ad0519349f79067e80a68663f00c107b870cd 09:47:58 $ docker rm -f 3d4ea389fc2e3e2396a0a949420ad0519349f79067e80a68663f00c107b870cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:59 + docker inspect -f . ci-base-image-arm64 09:47:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:59 prd-ubuntu20.04-docker-arm64-4c-16g-7312 does not seem to be running inside a container 09:47:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:48:00 $ docker top 018a48a21e378d5a531e1271250364fd7ecf3d3e2d58ae845f215db4a35821a7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:48:01 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 09:48:02 + make test 09:48:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:48:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:49:25 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:49:25 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.131s coverage: 65.7% of statements 09:49:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:49:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:49:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:49:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:49:43 ./bin/test-attribution-txt.sh [Pipeline] echo 09:49:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:49:43 $ docker stop --time=1 018a48a21e378d5a531e1271250364fd7ecf3d3e2d58ae845f215db4a35821a7 09:49:45 $ docker rm -f 018a48a21e378d5a531e1271250364fd7ecf3d3e2d58ae845f215db4a35821a7 [Pipeline] // withDockerContainer [Pipeline] sh 09:49:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:49:46 Warning: overwriting stash ‘coverage-report’ 09:49:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:49:47 + ls -al . 09:49:47 total 196 09:49:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:48 . 09:49:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:45 .. 09:49:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 7 09:46 .git 09:49:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:46 .github 09:49:47 -rw-rw-r-- 1 jenkins jenkins 337 Oct 7 09:46 .gitignore 09:49:47 -rw-rw-r-- 1 jenkins jenkins 41 Oct 7 09:46 .golangci.yml 09:49:47 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 7 09:46 Attribution.txt 09:49:47 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 7 09:46 CHANGELOG.md 09:49:47 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 7 09:46 Dockerfile 09:49:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 7 09:46 GOVERNANCE.md 09:49:47 -rw-rw-r-- 1 jenkins jenkins 660 Oct 7 09:46 Jenkinsfile 09:49:47 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 7 09:46 LICENSE 09:49:47 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 7 09:46 Makefile 09:49:47 -rw-rw-r-- 1 jenkins jenkins 623 Oct 7 09:46 OWNERS.md 09:49:47 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 7 09:46 README.md 09:49:47 -rw-rw-r-- 1 jenkins jenkins 5 Oct 7 09:44 VERSION 09:49:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 7 09:46 bin 09:49:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:46 cmd 09:49:47 -rw-r--r-- 1 jenkins jenkins 44128 Oct 7 09:49 coverage.out 09:49:47 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 7 09:46 go.mod 09:49:47 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 7 09:46 go.sum 09:49:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 7 09:46 internal 09:49:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 7 09:46 snap 09:49:47 -rw-rw-r-- 1 jenkins jenkins 235 Oct 7 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:47 + 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=16d50189d2567c1e7ce66d0a270a8db246af86fa --label arch=arm64 --label version=0.0.0 . 09:49:48 Sending build context to Docker daemon 11.78MB 09:49:48 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 09:49:48 Step 2/27 : FROM ${BASE} AS builder 09:49:48 ---> 2607cfca75c6 09:49:48 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:49:48 ---> Running in b5c9db6974e7 09:49:48 Removing intermediate container b5c9db6974e7 09:49:48 ---> 6ad172d00c64 09:49:48 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 09:49:48 ---> Running in 04d8b77fd5ce 09:49:48 Removing intermediate container 04d8b77fd5ce 09:49:48 ---> 673f5504a53b 09:49:48 Step 5/27 : ARG ADD_BUILD_TAGS="" 09:49:48 ---> Running in cf9bc79616dd 09:49:49 Removing intermediate container cf9bc79616dd 09:49:49 ---> 05330bb68d3d 09:49:49 Step 6/27 : WORKDIR /device-virtual-go 09:49:49 ---> Running in c986aed066d6 09:49:49 Removing intermediate container c986aed066d6 09:49:49 ---> 4958cfb395f8 09:49:49 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:49:49 ---> Running in 03d7d756dba0 09:49:51 Removing intermediate container 03d7d756dba0 09:49:51 ---> 0c99c5b5dd80 09:49:51 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:49:51 ---> Running in c8d119ae0b27 09:49:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:49:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:49:53 OK: 226 MiB in 55 packages 09:49:54 Removing intermediate container c8d119ae0b27 09:49:54 ---> 2308c93e7726 09:49:54 Step 9/27 : COPY go.mod vendor* ./ 09:49:55 ---> 7893208d6c7b 09:49:55 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:49:55 ---> Running in 1ef18d879e4e 09:49:57 Removing intermediate container 1ef18d879e4e 09:49:57 ---> 1d80b0ff1f95 09:49:57 Step 11/27 : COPY . . 09:49:58 ---> fcb6a4026ecd 09:49:58 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:49:58 ---> Running in e20641b90951 09:49:58 Removing intermediate container e20641b90951 09:49:58 ---> fe84ec5ad11c 09:49:58 Step 13/27 : RUN $MAKE 09:49:58 ---> Running in 2539e75570ce 09:49:59 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 09:52:36 Removing intermediate container 2539e75570ce 09:52:36 ---> 1fbeee3efcf7 09:52:36 Step 14/27 : FROM alpine:3.16 09:52:36 3.16: Pulling from library/alpine 09:52:36 9b18e9b68314: Pulling fs layer 09:52:36 9b18e9b68314: Download complete 09:52:36 9b18e9b68314: Pull complete 09:52:36 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:52:36 Status: Downloaded newer image for alpine:3.16 09:52:36 ---> a6215f271958 09:52:36 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:52:36 ---> Running in ccb891be6ec4 09:52:36 Removing intermediate container ccb891be6ec4 09:52:36 ---> 478173f2fd25 09:52:36 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:52:36 ---> Running in fad1753e61c9 09:52:36 Removing intermediate container fad1753e61c9 09:52:36 ---> e382444adeba 09:52:36 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 09:52:36 ---> Running in 661c47f75d74 09:52:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:52:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:52:36 (1/6) Installing dumb-init (1.2.5-r1) 09:52:36 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:52:36 (3/6) Installing libsodium (1.0.18-r0) 09:52:36 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:52:36 (5/6) Installing libzmq (4.3.4-r0) 09:52:36 (6/6) Installing zeromq (4.3.4-r0) 09:52:36 Executing busybox-1.35.0-r17.trigger 09:52:36 OK: 8 MiB in 20 packages 09:52:36 Removing intermediate container 661c47f75d74 09:52:36 ---> eb61358d6352 09:52:36 Step 18/27 : WORKDIR / 09:52:36 ---> Running in 5dbe6e81a899 09:52:36 Removing intermediate container 5dbe6e81a899 09:52:36 ---> c864daba1223 09:52:36 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:52:36 ---> 714577b85296 09:52:36 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 09:52:36 ---> da7337e0c889 09:52:36 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 09:52:36 ---> bed614a9817c 09:52:36 Step 22/27 : EXPOSE 59900 09:52:36 ---> Running in bf6e5f17882e 09:52:36 Removing intermediate container bf6e5f17882e 09:52:36 ---> 0c1cd06d81f8 09:52:36 Step 23/27 : ENTRYPOINT ["/device-virtual"] 09:52:36 ---> Running in d4b737361cac 09:52:36 Removing intermediate container d4b737361cac 09:52:36 ---> c1f5496b0ac4 09:52:36 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:52:36 ---> Running in 44a927267787 09:52:36 Removing intermediate container 44a927267787 09:52:36 ---> 65096218dfd8 09:52:36 Step 25/27 : LABEL arch=arm64 09:52:36 ---> Running in caaa3877d6e1 09:52:36 Removing intermediate container caaa3877d6e1 09:52:36 ---> 823cef0ca8c3 09:52:36 Step 26/27 : LABEL git_sha=16d50189d2567c1e7ce66d0a270a8db246af86fa 09:52:36 ---> Running in c6edb8d217fb 09:52:36 Removing intermediate container c6edb8d217fb 09:52:36 ---> 8203757d031b 09:52:36 Step 27/27 : LABEL version=0.0.0 09:52:36 ---> Running in 0d9a32468c7d 09:52:36 Removing intermediate container 0d9a32468c7d 09:52:36 ---> e31311972818 09:52:36 [Warning] One or more build-args [ARCH] were not consumed 09:52:36 Successfully built e31311972818 09:52:36 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 09:52:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:37 09:52:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:52:38 arm64: Pulling from edgex-lftools-log-publisher 09:52:38 8998bd30e6a1: Pulling fs layer 09:52:38 04944245beec: Pulling fs layer 09:52:38 699f458cf7ca: Pulling fs layer 09:52:38 765212b225bb: Pulling fs layer 09:52:38 f23df028b6ca: Pulling fs layer 09:52:38 d65c8cfc05b1: Pulling fs layer 09:52:38 2437ff75d9bd: Pulling fs layer 09:52:38 d65c8cfc05b1: Waiting 09:52:38 2437ff75d9bd: Waiting 09:52:38 765212b225bb: Waiting 09:52:38 f23df028b6ca: Waiting 09:52:38 04944245beec: Verifying Checksum 09:52:38 04944245beec: Download complete 09:52:38 765212b225bb: Verifying Checksum 09:52:38 765212b225bb: Download complete 09:52:38 f23df028b6ca: Verifying Checksum 09:52:38 f23df028b6ca: Download complete 09:52:38 d65c8cfc05b1: Verifying Checksum 09:52:38 d65c8cfc05b1: Download complete 09:52:38 699f458cf7ca: Verifying Checksum 09:52:38 699f458cf7ca: Download complete 09:52:38 8998bd30e6a1: Download complete 09:52:40 2437ff75d9bd: Verifying Checksum 09:52:40 2437ff75d9bd: Download complete 09:52:42 8998bd30e6a1: Pull complete 09:52:43 04944245beec: Pull complete 09:52:44 699f458cf7ca: Pull complete 09:52:44 765212b225bb: Pull complete 09:52:45 f23df028b6ca: Pull complete 09:52:45 d65c8cfc05b1: Pull complete 09:53:00 2437ff75d9bd: Pull complete 09:53:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:53:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:00 prd-ubuntu20.04-docker-arm64-4c-16g-7312 does not seem to be running inside a container 09:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:53:03 $ docker top 4dc32978e7a8eda1ad859318cb986e3d1aecff019bb65c79033729fc65ee4f16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:04 ---> job-cost.sh 09:53:04 lf-activate-venv: SKIPPING 09:53:04 INFO: No Stack... 09:53:04 INFO: Retrieving Pricing Info for: v3-standard-4 09:53:05 INFO: Archiving Costs [Pipeline] sh 09:53:05 + cat+ /w/workspace/device-virtual-go/1/archives/cost.csv 09:53:05 cut -d, -f6 [Pipeline] lock 09:53:05 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] 09:53:05 Resource [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] did not exist. Created. 09:53:05 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:53:06 /w/workspace/device-virtual-go/1@tmp/durable-03699cc1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:53:07 + echo total: 0.10999999940395355 [Pipeline] stash 09:53:07 Warning: overwriting stash ‘stack-cost’ 09:53:07 Stashed 1 file(s) [Pipeline] } 09:53:07 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-311-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:53:07 $ docker stop --time=1 4dc32978e7a8eda1ad859318cb986e3d1aecff019bb65c79033729fc65ee4f16 09:53:09 $ docker rm -f 4dc32978e7a8eda1ad859318cb986e3d1aecff019bb65c79033729fc65ee4f16 [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 09:53:10 provisioning config files... 09:53:10 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-311@tmp/config4697296462170183583tmp [Pipeline] { [Pipeline] sh 09:53:10 + set +x 09:53:10 + curl -s https://codecov.io/bash 09:53:10 + bash -s -- 09:53:10 09:53:10 _____ _ 09:53:10 / ____| | | 09:53:10 | | ___ __| | ___ ___ _____ __ 09:53:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:53:10 | |___| (_) | (_| | __/ (_| (_) \ V / 09:53:10 \_____\___/ \__,_|\___|\___\___/ \_/ 09:53:10 Bash-1.0.6 09:53:10 09:53:10 09:53:10 ==> git version 2.25.1 found 09:53:10 ==> 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 09:53:10 Release-Date: 2020-01-08 09:53:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:53:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:53:10 ==> Jenkins CI detected. 09:53:10 current dir:  /w/workspace/foundry_device-virtual-go_PR-311 09:53:10 project root: . 09:53:10 --> token set from env 09:53:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:53:10 ==> Running gcov in . (disable via -X gcov) 09:53:10 ==> Python coveragepy not found 09:53:10 ==> Searching for coverage reports in: 09:53:10 + . 09:53:10 -> Found 1 reports 09:53:10 ==> Detecting git/mercurial file structure 09:53:10 ==> Reading reports 09:53:10 + ./coverage.out bytes=44128 09:53:10 ==> Appending adjustments 09:53:10 https://docs.codecov.io/docs/fixing-reports 09:53:10 + Found adjustments 09:53:10 ==> Gzipping contents 09:53:10 8.0K /tmp/codecov.RcDO9p.gz 09:53:10 ==> Uploading reports 09:53:10 url: https://codecov.io 09:53:10 query: branch=PR-311&commit=16d50189d2567c1e7ce66d0a270a8db246af86fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-311%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=311&job=&cmd_args= 09:53:10 -> Pinging Codecov 09:53:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-311&commit=16d50189d2567c1e7ce66d0a270a8db246af86fa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-311%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=311&job=&cmd_args= 09:53:10 -> Uploading to 09:53:10 https://storage.googleapis.com/codecov/v4/raw/2022-10-07/5E52B4B073DB2E39498172D8E973AA87/16d50189d2567c1e7ce66d0a270a8db246af86fa/dbbd4598-7ed3-4fca-86f8-60f843302edd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221007%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221007T095310Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cedf4d66b31dbc71a79209f52f761afa8e03e1c4c9f72c2416575b25a9ef6f97 09:53:10 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:10 Dload Upload Total Spent Left Speed 09:53:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5489 0 0 100 5489 0 21275 --:--:-- --:--:-- --:--:-- 21275 09:53:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/16d50189d2567c1e7ce66d0a270a8db246af86fa [Pipeline] } 09:53:11 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 09:53:13 + [ -d /w/workspace/foundry_device-virtual-go_PR-311/archives ] 09:53:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-311/archives 09:53:13 total 16 09:53:13 drwxr-xr-x 3 root root 4096 Oct 7 09:46 . 09:53:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 09:46 .. 09:53:13 drwxr-xr-x 2 root root 4096 Oct 7 09:46 cost 09:53:13 -rw-r--r-- 1 root root 89 Oct 7 09:46 cost.csv 09:53:13 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-311/archives 09:53:13 + ls -al /w/workspace/foundry_device-virtual-go_PR-311/archives 09:53:13 total 16 09:53:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 7 09:46 . 09:53:13 drwxrwxr-x 10 jenkins jenkins 4096 Oct 7 09:46 .. 09:53:13 drwxr-xr-x 2 jenkins jenkins 4096 Oct 7 09:46 cost 09:53:13 -rw-r--r-- 1 jenkins jenkins 89 Oct 7 09:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:53:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:53:14 ---> package-listing.sh 09:53:14 ++ facter osfamily 09:53:14 ++ tr '[:upper:]' '[:lower:]' 09:53:14 + OS_FAMILY=debian 09:53:14 + workspace=/w/workspace/foundry_device-virtual-go_PR-311 09:53:14 + START_PACKAGES=/tmp/packages_start.txt 09:53:14 + END_PACKAGES=/tmp/packages_end.txt 09:53:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:53:14 + PACKAGES=/tmp/packages_start.txt 09:53:14 + '[' /w/workspace/foundry_device-virtual-go_PR-311 ']' 09:53:14 + PACKAGES=/tmp/packages_end.txt 09:53:14 + case "${OS_FAMILY}" in 09:53:14 + dpkg -l 09:53:14 + grep '^ii' 09:53:14 + '[' -f /tmp/packages_start.txt ']' 09:53:14 + '[' -f /tmp/packages_end.txt ']' 09:53:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:53:14 + '[' /w/workspace/foundry_device-virtual-go_PR-311 ']' 09:53:14 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-311/archives/ 09:53:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-311/archives/ [Pipeline] echo 09:53:14 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-311/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:53:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:53:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:15 prd-ubuntu20.04-docker-8c-8g-7311 does not seem to be running inside a container 09:53:15 $ 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-311/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-311 -v /w/workspace/foundry_device-virtual-go_PR-311:/w/workspace/foundry_device-virtual-go_PR-311:rw,z -v /w/workspace/foundry_device-virtual-go_PR-311@tmp:/w/workspace/foundry_device-virtual-go_PR-311@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 09:53:15 $ docker top 188378946e5c74f222f334ae4cd347542b905c5caa90d59e5f642e6033582483 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:16 + touch /tmp/pre-build-complete [Pipeline] sh 09:53:16 + mkdir -p /var/log/sysstat [Pipeline] sh 09:53:16 + ls /var/log/sa-host 09:53:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:53:17 provisioning config files... 09:53:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-311@tmp/config12462241883648502675tmp [Pipeline] { [Pipeline] echo 09:53:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:53:17 ---> create-netrc.sh [Pipeline] } 09:53:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:53:17 ---> python-tools-install.sh [Pipeline] echo 09:53:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:53:18 ---> sudo-logs.sh 09:53:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:53:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:53:18 ---> job-cost.sh 09:53:18 lf-activate-venv: SKIPPING 09:53:18 DEBUG: total: 0.2199999988079071 09:53:18 INFO: Retrieving Stack Cost... 09:53:19 INFO: Retrieving Pricing Info for: v3-standard-8 09:53:19 INFO: Archiving Costs [Pipeline] echo 09:53:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:53:19 ---> logs-deploy.sh 09:53:19 lf-activate-venv: SKIPPING 09:53:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-311/1 09:53:19 INFO: archiving workspace using pattern(s): 09:53:20 Archives upload complete. 09:53:20 INFO: archiving logs to Nexus