Pull request #314 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 22d768529fbb3a99908fcf631ac5c84028b44c46+2ecf0fc734cc14a642189e470a894444964f864e (f511d08b69f19d446c06278f343bc38054c25673) 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-ssh15055379471464526592.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-ssh7992600436834095058.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-314/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-314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3212288431182589599.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-314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4974117995616055102.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-ssh12820707410608589989.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-314/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-314/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2020216397243664873.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-8299 in /w/workspace/foundry_device-virtual-go_PR-314 [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-314 # 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/314/head:refs/remotes/origin/PR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ecf0fc734cc14a642189e470a894444964f864e into PR head commit 22d768529fbb3a99908fcf631ac5c84028b44c46 Merge succeeded, producing 22d768529fbb3a99908fcf631ac5c84028b44c46 Checking out Revision 22d768529fbb3a99908fcf631ac5c84028b44c46 (PR-314) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 22d768529fbb3a99908fcf631ac5c84028b44c46 # 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 2ecf0fc734cc14a642189e470a894444964f864e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22d768529fbb3a99908fcf631ac5c84028b44c46 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:06:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:06:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:06:51 ========================================================= 11:06:51 EdgeX Global Pipelines Version Info 11:06:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:52 ------------------- 11:06:52 stable info: 11:06:52 ------------------- 11:06:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:52 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:06:52 Message: update stable to v1.0.239 11:06:52 ------------------- 11:06:52 experimental info: 11:06:52 ------------------- 11:06:52 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:52 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 11:06:52 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:06:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:06:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-314 [Pipeline] echo 11:06:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-314 [Pipeline] echo 11:06:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-314 [Pipeline] echo 11:06:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] echo 11:06:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22d7685 [Pipeline] echo 11:06:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:54 provisioning config files... 11:06:54 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-314@tmp/config9298103598723373514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:54 ---> docker-login.sh 11:06:54 nexus3.edgexfoundry.org:10001 11:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:55 Configure a credential helper to remove this warning. See 11:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:55 11:06:55 Login Succeeded 11:06:55 nexus3.edgexfoundry.org:10002 11:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:55 Configure a credential helper to remove this warning. See 11:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:55 11:06:55 Login Succeeded 11:06:55 nexus3.edgexfoundry.org:10003 11:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:55 Configure a credential helper to remove this warning. See 11:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:55 11:06:55 Login Succeeded 11:06:55 nexus3.edgexfoundry.org:10004 11:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:56 Configure a credential helper to remove this warning. See 11:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:56 11:06:56 Login Succeeded 11:06:56 docker.io 11:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:56 Configure a credential helper to remove this warning. See 11:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:56 11:06:56 Login Succeeded 11:06:56 ---> docker-login.sh ends [Pipeline] } 11:06:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:06:56 + git rev-list -1 --merges 22d768529fbb3a99908fcf631ac5c84028b44c46~1..22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] echo 11:06:57 -----------> git rev-list -1 --merges 22d768529fbb3a99908fcf631ac5c84028b44c46~1..22d768529fbb3a99908fcf631ac5c84028b44c46 22d768529fbb3a99908fcf631ac5c84028b44c46 [false] [Pipeline] sh 11:06:57 + git log --format=format:%s -1 22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] echo 11:06:57 ========================================================= 11:06:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:06:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:57 + git log --format=format:%s -1 22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] echo 11:06:57 [semverPrep] GIT_COMMIT: 22d768529fbb3a99908fcf631ac5c84028b44c46, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 11:06:57 [semverPrep] This is not a build commit. [Pipeline] sh 11:06:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:58 + grep -v github /etc/ssh/ssh_known_hosts 11:06:58 + [ -e /tmp/ssh_known_hosts ] 11:06:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:06:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:06:58 + sudo tee -a /etc/ssh/ssh_known_hosts 11:06:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:58 11:06:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:06:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:06:59 0.1.4: Pulling from edgex-devops/py-git-semver 11:06:59 b85a868b505f: Pulling fs layer 11:06:59 e2be974225ed: Pulling fs layer 11:06:59 339a4e72a1f5: Pulling fs layer 11:06:59 988bab9f4d93: Pulling fs layer 11:06:59 1469e6f7b9e6: Pulling fs layer 11:06:59 eaf3925da568: Pulling fs layer 11:06:59 bab4dde63d76: Pulling fs layer 11:06:59 bde34c3a00c8: Pulling fs layer 11:06:59 b352a97aabf1: Pulling fs layer 11:06:59 4872d77fe225: Pulling fs layer 11:06:59 5851b861e8e6: Pulling fs layer 11:06:59 988bab9f4d93: Waiting 11:06:59 1469e6f7b9e6: Waiting 11:06:59 eaf3925da568: Waiting 11:06:59 bab4dde63d76: Waiting 11:06:59 bde34c3a00c8: Waiting 11:06:59 b352a97aabf1: Waiting 11:06:59 5851b861e8e6: Waiting 11:06:59 4872d77fe225: Waiting 11:06:59 e2be974225ed: Download complete 11:06:59 988bab9f4d93: Verifying Checksum 11:06:59 988bab9f4d93: Download complete 11:06:59 1469e6f7b9e6: Verifying Checksum 11:06:59 1469e6f7b9e6: Download complete 11:06:59 339a4e72a1f5: Verifying Checksum 11:06:59 339a4e72a1f5: Download complete 11:06:59 eaf3925da568: Verifying Checksum 11:06:59 eaf3925da568: Download complete 11:06:59 bde34c3a00c8: Verifying Checksum 11:06:59 bde34c3a00c8: Download complete 11:06:59 b352a97aabf1: Verifying Checksum 11:06:59 4872d77fe225: Download complete 11:06:59 b85a868b505f: Verifying Checksum 11:06:59 b85a868b505f: Download complete 11:06:59 5851b861e8e6: Verifying Checksum 11:06:59 5851b861e8e6: Download complete 11:06:59 bab4dde63d76: Verifying Checksum 11:06:59 bab4dde63d76: Download complete 11:07:00 b85a868b505f: Pull complete 11:07:00 e2be974225ed: Pull complete 11:07:01 339a4e72a1f5: Pull complete 11:07:01 988bab9f4d93: Pull complete 11:07:01 1469e6f7b9e6: Pull complete 11:07:01 eaf3925da568: Pull complete 11:07:03 bab4dde63d76: Pull complete 11:07:03 bde34c3a00c8: Pull complete 11:07:03 b352a97aabf1: Pull complete 11:07:03 4872d77fe225: Pull complete 11:07:04 5851b861e8e6: Pull complete 11:07:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:07:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:07:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:04 prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container 11:07:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:07:07 $ docker top 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f -eo pid,comm 11:07:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:07:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:07:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:07:07 [ssh-agent] Looking for ssh-agent implementation... 11:07:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:07:07 $ docker exec 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f ssh-agent 11:07:07 SSH_AUTH_SOCK=/tmp/ssh-kqTMbFnNwMhM/agent.32 11:07:07 SSH_AGENT_PID=38 11:07:07 Running ssh-add (command line suppressed) 11:07:07 Identity added: /w/workspace/foundry_device-virtual-go_PR-314@tmp/private_key_12491092756329165709.key (/w/workspace/foundry_device-virtual-go_PR-314@tmp/private_key_12491092756329165709.key) 11:07:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:07:08 + git tag --points-at HEAD [Pipeline] } 11:07:08 $ docker exec --env ******** --env ******** 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f ssh-agent -k 11:07:08 unset SSH_AUTH_SOCK; 11:07:08 unset SSH_AGENT_PID; 11:07:08 echo Agent pid 38 killed; 11:07:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:07:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:07:08 [ssh-agent] Looking for ssh-agent implementation... 11:07:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:07:08 $ docker exec 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f ssh-agent 11:07:08 SSH_AUTH_SOCK=/tmp/ssh-vF6cvmWXmb8A/agent.70 11:07:08 SSH_AGENT_PID=76 11:07:08 Running ssh-add (command line suppressed) 11:07:08 Identity added: /w/workspace/foundry_device-virtual-go_PR-314@tmp/private_key_14277857370105046211.key (/w/workspace/foundry_device-virtual-go_PR-314@tmp/private_key_14277857370105046211.key) 11:07:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:07:08 + git semver init 11:07:09 2022-10-17 11:07:09,179 [run_init] DEBUG init version:0.0.0 force:False 11:07:09 2022-10-17 11:07:09,180 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-314/.semver 11:07:09 2022-10-17 11:07:09,180 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-314/.semver 11:07:09 2022-10-17 11:07:09,180 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-314/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-314, universal_newlines=False, shell=None, istream=None) 11:07:10 2022-10-17 11:07:10,347 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-314/.git/info/exclude 11:07:10 2022-10-17 11:07:10,348 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-314/.semver/PR-314 with force:False 11:07:10 2022-10-17 11:07:10,348 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-314/.semver/PR-314 11:07:10 2022-10-17 11:07:10,352 [execute] INFO git cat-file --batch-check 11:07:10 2022-10-17 11:07:10,353 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-314/.semver, universal_newlines=False, shell=None, istream=) 11:07:10 2022-10-17 11:07:10,359 [execute] INFO git cat-file --batch 11:07:10 2022-10-17 11:07:10,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-314/.semver, universal_newlines=False, shell=None, istream=) 11:07:10 2022-10-17 11:07:10,367 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-314/.semver/PR-314 11:07:10 0.0.0 [Pipeline] } 11:07:10 $ docker exec --env ******** --env ******** 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f ssh-agent -k 11:07:10 unset SSH_AUTH_SOCK; 11:07:10 unset SSH_AGENT_PID; 11:07:10 echo Agent pid 76 killed; 11:07:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:07:11 + git semver [Pipeline] } 11:07:11 $ docker stop --time=1 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f 11:07:12 $ docker rm -f 0587e5627356477977cdcfe27144be4f1a48b49bb0cb2aa218940e0ce37d465f [Pipeline] // withDockerContainer [Pipeline] sh 11:07:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:07:13 Stashed 1 file(s) [Pipeline] echo 11:07:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:07:13 provisioning config files... 11:07:13 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-314@tmp/config4859904034891382366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:07:14 ---> docker-login.sh 11:07:14 nexus3.edgexfoundry.org:10001 11:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:14 Configure a credential helper to remove this warning. See 11:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:14 11:07:14 Login Succeeded 11:07:14 nexus3.edgexfoundry.org:10002 11:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:14 Configure a credential helper to remove this warning. See 11:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:14 11:07:14 Login Succeeded 11:07:14 nexus3.edgexfoundry.org:10003 11:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:14 Configure a credential helper to remove this warning. See 11:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:14 11:07:14 Login Succeeded 11:07:14 nexus3.edgexfoundry.org:10004 11:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:14 Configure a credential helper to remove this warning. See 11:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:14 11:07:14 Login Succeeded 11:07:14 docker.io 11:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:07:15 Configure a credential helper to remove this warning. See 11:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:07:15 11:07:15 Login Succeeded 11:07:15 ---> docker-login.sh ends [Pipeline] } 11:07:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:07:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:07:15 ========================================================= 11:07:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 11:07:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 11:07:15 Sending build context to Docker daemon 23.2MB 11:07:15 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:07:15 Step 2/13 : FROM ${BASE} AS builder 11:07:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 11:07:16 213ec9aee27d: Pulling fs layer 11:07:16 4583459ba037: Pulling fs layer 11:07:16 93c1e223e6f2: Pulling fs layer 11:07:16 53926ce57604: Pulling fs layer 11:07:16 21b2b0c7a3f4: Pulling fs layer 11:07:16 30f14e443154: Pulling fs layer 11:07:16 801331c1e519: Pulling fs layer 11:07:16 99cc6dd402b0: Pulling fs layer 11:07:16 7d9ed39f4882: Pulling fs layer 11:07:16 30f14e443154: Waiting 11:07:16 7d9ed39f4882: Waiting 11:07:16 801331c1e519: Waiting 11:07:16 99cc6dd402b0: Waiting 11:07:16 53926ce57604: Waiting 11:07:16 21b2b0c7a3f4: Waiting 11:07:16 93c1e223e6f2: Verifying Checksum 11:07:16 93c1e223e6f2: Download complete 11:07:16 4583459ba037: Verifying Checksum 11:07:16 4583459ba037: Download complete 11:07:16 21b2b0c7a3f4: Verifying Checksum 11:07:16 21b2b0c7a3f4: Download complete 11:07:16 30f14e443154: Verifying Checksum 11:07:16 30f14e443154: Download complete 11:07:16 213ec9aee27d: Verifying Checksum 11:07:16 213ec9aee27d: Download complete 11:07:16 801331c1e519: Download complete 11:07:16 213ec9aee27d: Pull complete 11:07:16 4583459ba037: Pull complete 11:07:16 93c1e223e6f2: Pull complete 11:07:16 7d9ed39f4882: Verifying Checksum 11:07:16 7d9ed39f4882: Download complete 11:07:16 99cc6dd402b0: Verifying Checksum 11:07:16 99cc6dd402b0: Download complete 11:07:16 53926ce57604: Verifying Checksum 11:07:16 53926ce57604: Download complete 11:07:21 53926ce57604: Pull complete 11:07:21 21b2b0c7a3f4: Pull complete 11:07:21 30f14e443154: Pull complete 11:07:21 801331c1e519: Pull complete 11:07:23 99cc6dd402b0: Pull complete 11:07:23 7d9ed39f4882: Pull complete 11:07:23 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 11:07:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 11:07:23 ---> 1dedd983c030 11:07:23 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:28 ---> Running in 0cd74bfabb66 11:07:28 Removing intermediate container 0cd74bfabb66 11:07:28 ---> 7becee6d037b 11:07:28 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:07:28 ---> Running in 2b171fe51830 11:07:28 Removing intermediate container 2b171fe51830 11:07:28 ---> 869dfd04e5dc 11:07:28 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:07:28 ---> Running in 439dd13453b7 11:07:28 Removing intermediate container 439dd13453b7 11:07:28 ---> a02b1a7ba221 11:07:28 Step 6/13 : WORKDIR /device-virtual-go 11:07:28 ---> Running in ba85687886e2 11:07:28 Removing intermediate container ba85687886e2 11:07:28 ---> d9fbb7f09b51 11:07:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:28 ---> Running in 64efa5b36d78 11:07:28 Removing intermediate container 64efa5b36d78 11:07:28 ---> 8b526d6a5632 11:07:28 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:28 ---> Running in ff21f76702ca 11:07:28 Still waiting to schedule task 11:07:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:07:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:07:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:07:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:07:30 (2/4) Installing libedit (20210910.3.1-r0) 11:07:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:07:31 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:07:31 Executing busybox-1.35.0-r17.trigger 11:07:31 OK: 216 MiB in 55 packages 11:07:31 Removing intermediate container ff21f76702ca 11:07:31 ---> 3a682dfc47ad 11:07:31 Step 9/13 : COPY go.mod vendor* ./ 11:07:31 ---> 2cfa83e7ce63 11:07:31 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:31 ---> Running in 7f80c6190458 11:07:58 Removing intermediate container 7f80c6190458 11:07:58 ---> 1e5f4b502f69 11:07:58 Step 11/13 : COPY . . 11:07:58 ---> 003d81478211 11:07:58 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:07:58 ---> Running in 54c7ce522df8 11:07:58 Removing intermediate container 54c7ce522df8 11:07:58 ---> 1d819e928f96 11:07:58 Step 13/13 : RUN $MAKE 11:07:58 ---> Running in 239130a8082d 11:07:58 noop 11:07:58 Removing intermediate container 239130a8082d 11:07:58 ---> 344747be2139 11:07:58 Successfully built 344747be2139 11:07:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:07:58 + docker inspect -f . ci-base-image-x86_64 11:07:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:07:58 prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container 11:07:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:07:59 $ docker top a9a3be8b0a5262e9f99d8ae54927f865ce3e4bdd04a72ccc8a8eb17e871b0534 -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:59 + go version 11:07:59 go version go1.18.7 linux/amd64 [Pipeline] } 11:07:59 $ docker stop --time=1 a9a3be8b0a5262e9f99d8ae54927f865ce3e4bdd04a72ccc8a8eb17e871b0534 11:08:00 $ docker rm -f a9a3be8b0a5262e9f99d8ae54927f865ce3e4bdd04a72ccc8a8eb17e871b0534 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:01 + docker inspect -f . ci-base-image-x86_64 11:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:08:01 prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container 11:08:01 $ 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-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:08:02 $ docker top 117d8de64af75d26ff0e331f96d1f0c71c06d490412d3d6e608af00e48730bf1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:08:02 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-314 [Pipeline] fileExists [Pipeline] sh 11:08:02 + make test 11:08:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:08:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:08:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:08:14 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.042s coverage: 65.7% of statements 11:08:22 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 11:08:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:08:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:08:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:08:24 ./bin/test-attribution-txt.sh [Pipeline] echo 11:08:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:08:25 $ docker stop --time=1 117d8de64af75d26ff0e331f96d1f0c71c06d490412d3d6e608af00e48730bf1 11:08:27 $ docker rm -f 117d8de64af75d26ff0e331f96d1f0c71c06d490412d3d6e608af00e48730bf1 [Pipeline] // withDockerContainer [Pipeline] sh 11:08:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:08:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:08:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:08:29 + ls -al . 11:08:29 total 200 11:08:29 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 11:08 . 11:08:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:06 .. 11:08:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:08 .git 11:08:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:06 .github 11:08:29 -rw-rw-r-- 1 jenkins jenkins 337 Oct 17 11:06 .gitignore 11:08:29 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 11:06 .golangci.yml 11:08:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 11:07 .semver 11:08:29 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 17 11:06 Attribution.txt 11:08:29 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 17 11:06 CHANGELOG.md 11:08:29 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 17 11:06 Dockerfile 11:08:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 11:06 GOVERNANCE.md 11:08:29 -rw-rw-r-- 1 jenkins jenkins 660 Oct 17 11:06 Jenkinsfile 11:08:29 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 11:06 LICENSE 11:08:29 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 17 11:06 Makefile 11:08:29 -rw-rw-r-- 1 jenkins jenkins 623 Oct 17 11:06 OWNERS.md 11:08:29 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 17 11:06 README.md 11:08:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 11:07 VERSION 11:08:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 11:06 bin 11:08:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:06 cmd 11:08:29 -rw-r--r-- 1 jenkins jenkins 44128 Oct 17 11:08 coverage.out 11:08:29 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 17 11:06 go.mod 11:08:29 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 17 11:06 go.sum 11:08:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:06 internal 11:08:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:06 snap 11:08:29 -rw-rw-r-- 1 jenkins jenkins 235 Oct 17 11:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:08:29 + 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=22d768529fbb3a99908fcf631ac5c84028b44c46 --label arch=amd64 --label version=0.0.0 . 11:08:29 Sending build context to Docker daemon 23.25MB 11:08:29 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:08:29 Step 2/27 : FROM ${BASE} AS builder 11:08:29 ---> 344747be2139 11:08:29 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:08:29 ---> Running in d73d3fc8008e 11:08:29 Removing intermediate container d73d3fc8008e 11:08:29 ---> c764b07c4228 11:08:29 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:08:30 ---> Running in 08b9cf9c0a65 11:08:30 Removing intermediate container 08b9cf9c0a65 11:08:30 ---> 7cd0bd41a6c3 11:08:30 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:08:30 ---> Running in 8e35a48c4e1c 11:08:30 Removing intermediate container 8e35a48c4e1c 11:08:30 ---> ece91fe78562 11:08:30 Step 6/27 : WORKDIR /device-virtual-go 11:08:30 ---> Running in 7bfc00401426 11:08:30 Removing intermediate container 7bfc00401426 11:08:30 ---> 518d07fd932e 11:08:30 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:08:30 ---> Running in a50c39a75e8a 11:08:30 Removing intermediate container a50c39a75e8a 11:08:30 ---> 7dc84e4617c2 11:08:30 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:08:30 ---> Running in 7b7e71757c69 11:08:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:08:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:08:32 OK: 216 MiB in 55 packages 11:08:32 Removing intermediate container 7b7e71757c69 11:08:32 ---> ef7f96566725 11:08:32 Step 9/27 : COPY go.mod vendor* ./ 11:08:32 ---> e4932626f56a 11:08:32 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:08:32 ---> Running in 384a261587fb 11:08:33 Removing intermediate container 384a261587fb 11:08:33 ---> 44547c6a6b52 11:08:33 Step 11/27 : COPY . . 11:08:34 ---> c21de8cfe5ce 11:08:34 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:08:34 ---> Running in e812e1e3443f 11:08:34 Removing intermediate container e812e1e3443f 11:08:34 ---> baf44b628b14 11:08:34 Step 13/27 : RUN $MAKE 11:08:34 ---> Running in 31ee71c7d534 11:08:34 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:08:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8300 in /w/workspace/foundry_device-virtual-go_PR-314 [Pipeline] { [Pipeline] ws 11:08:56 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:08:56 The recommended git tool is: git 11:09:01 Removing intermediate container 31ee71c7d534 11:09:01 ---> 5cb0cab914fc 11:09:01 Step 14/27 : FROM alpine:3.16 11:09:01 3.16: Pulling from library/alpine 11:09:01 213ec9aee27d: Already exists 11:09:01 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:09:01 Status: Downloaded newer image for alpine:3.16 11:09:01 ---> 9c6f07244728 11:09:01 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:09:01 ---> Running in 55fa89d404e8 11:09:01 Removing intermediate container 55fa89d404e8 11:09:01 ---> ddbf0c495a09 11:09:01 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:01 ---> Running in fdede16eb919 11:09:01 Removing intermediate container fdede16eb919 11:09:01 ---> 9ef2509cd235 11:09:01 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:09:01 ---> Running in b81ce8161d87 11:09:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 11:09:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 11:09:01 (1/6) Installing dumb-init (1.2.5-r1) 11:09:01 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:09:01 (3/6) Installing libsodium (1.0.18-r0) 11:09:01 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:09:01 (5/6) Installing libzmq (4.3.4-r0) 11:09:01 (6/6) Installing zeromq (4.3.4-r0) 11:09:01 Executing busybox-1.35.0-r17.trigger 11:09:01 OK: 8 MiB in 20 packages 11:09:01 Removing intermediate container b81ce8161d87 11:09:01 ---> 08dc7a6f698f 11:09:01 Step 18/27 : WORKDIR / 11:09:01 ---> Running in 09eccbfcc5a8 11:09:01 Removing intermediate container 09eccbfcc5a8 11:09:01 ---> d1c0bf7d140d 11:09:01 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:09:01 ---> 8b933a10f858 11:09:01 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:09:01 ---> e32f6549ac78 11:09:01 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:09:01 using credential edgex-jenkins-ssh 11:09:01 Cloning the remote Git repository 11:09:02 ---> 4537ec272bd9 11:09:02 Step 22/27 : EXPOSE 59900 11:09:02 ---> Running in 6387df1ecad0 11:09:02 Removing intermediate container 6387df1ecad0 11:09:02 ---> 8d0144a5f6bf 11:09:02 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:09:02 ---> Running in e3d6e7d0d12a 11:09:02 Removing intermediate container e3d6e7d0d12a 11:09:02 ---> 33ffb87ac78d 11:09:02 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:09:02 ---> Running in 11a15c69e79b 11:09:02 Removing intermediate container 11a15c69e79b 11:09:02 ---> 6fd292653420 11:09:02 Step 25/27 : LABEL arch=amd64 11:09:02 ---> Running in f7f7572cb3cd 11:09:02 Removing intermediate container f7f7572cb3cd 11:09:02 ---> df887798a790 11:09:02 Step 26/27 : LABEL git_sha=22d768529fbb3a99908fcf631ac5c84028b44c46 11:09:02 ---> Running in 9dd119db60f0 11:09:02 Removing intermediate container 9dd119db60f0 11:09:02 ---> 4a56d65368f3 11:09:02 Step 27/27 : LABEL version=0.0.0 11:09:02 ---> Running in f3ac23a4f136 11:09:02 Removing intermediate container f3ac23a4f136 11:09:02 ---> 9a69e6d59b72 11:09:02 [Warning] One or more build-args [ARCH] were not consumed 11:09:02 Successfully built 9a69e6d59b72 11:09:02 Successfully tagged device-virtual:latest 11:09:01 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:09:01 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:09:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:09:02 > git --version # timeout=10 11:09:02 > git --version # 'git version 2.25.1' 11:09:02 using GIT_SSH to set credentials SSH Credentials for GitHub 11:09:02 Verifying host key using known hosts file 11:09:02 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:09:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:03 11:09:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:03 latest: Pulling from edgex-lftools-log-publisher 11:09:03 5eb5b503b376: Pulling fs layer 11:09:03 5c69ac0246d0: Pulling fs layer 11:09:03 ec43610c2a17: Pulling fs layer 11:09:03 3a2ae6a8a46f: Pulling fs layer 11:09:03 33b1e0a273af: Pulling fs layer 11:09:03 5d3b04190fa2: Pulling fs layer 11:09:03 2f39f015ded8: Pulling fs layer 11:09:03 3a2ae6a8a46f: Waiting 11:09:03 33b1e0a273af: Waiting 11:09:03 5d3b04190fa2: Waiting 11:09:03 2f39f015ded8: Waiting 11:09:03 5c69ac0246d0: Verifying Checksum 11:09:03 5c69ac0246d0: Download complete 11:09:03 3a2ae6a8a46f: Verifying Checksum 11:09:03 3a2ae6a8a46f: Download complete 11:09:03 33b1e0a273af: Verifying Checksum 11:09:03 33b1e0a273af: Download complete 11:09:03 5d3b04190fa2: Download complete 11:09:03 ec43610c2a17: Verifying Checksum 11:09:03 ec43610c2a17: Download complete 11:09:04 5eb5b503b376: Verifying Checksum 11:09:04 5eb5b503b376: Download complete 11:09:04 2f39f015ded8: Download complete 11:09:05 5eb5b503b376: Pull complete 11:09:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:09:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:09:05 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:09:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:09:05 Verifying host key using known hosts file 11:09:05 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:09:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/314/head:refs/remotes/origin/PR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:09:05 5c69ac0246d0: Pull complete 11:09:05 Merging remotes/origin/main commit 2ecf0fc734cc14a642189e470a894444964f864e into PR head commit 22d768529fbb3a99908fcf631ac5c84028b44c46 11:09:05 Merge succeeded, producing 22d768529fbb3a99908fcf631ac5c84028b44c46 11:09:05 Checking out Revision 22d768529fbb3a99908fcf631ac5c84028b44c46 (PR-314) 11:09:06 ec43610c2a17: Pull complete 11:09:06 3a2ae6a8a46f: Pull complete 11:09:06 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 11:09:06 33b1e0a273af: Pull complete 11:09:06 5d3b04190fa2: Pull complete 11:09:06 > git --version # timeout=10 11:09:06 > git --version # 'git version 2.25.1' 11:09:06 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 11:09:05 > git config core.sparsecheckout # timeout=10 11:09:05 > git checkout -f 22d768529fbb3a99908fcf631ac5c84028b44c46 # timeout=10 11:09:05 > git remote # timeout=10 11:09:05 > git config --get remote.origin.url # timeout=10 11:09:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:09:05 Verifying host key using known hosts file 11:09:05 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 11:09:05 > git merge 2ecf0fc734cc14a642189e470a894444964f864e # timeout=10 11:09:05 > git rev-parse HEAD^{commit} # timeout=10 11:09:05 > git config core.sparsecheckout # timeout=10 11:09:05 > git checkout -f 22d768529fbb3a99908fcf631ac5c84028b44c46 # timeout=10 11:09:06 11:09:06 GitHub has been notified of this commit’s build result 11:09:06 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:09:07 % Total % Received % Xferd Average Speed Time Time Time Current 11:09:07 Dload Upload Total Spent Left Speed 11:09:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 82366 0 --:--:-- --:--:-- --:--:-- 82907 [Pipeline] sh 11:09:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:09:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:09:08 + sudo tee /etc/docker/daemon.new 11:09:08 { 11:09:08 "registry-mirrors": [ 11:09:08 "https://nexus3.edgexfoundry.org:10001" 11:09:08 ], 11:09:08 "bip": "10.250.0.254/24", 11:09:08 "hosts": [ 11:09:08 "tcp://0.0.0.0:5555", 11:09:08 "unix:///var/run/docker.sock" 11:09:08 ], 11:09:08 "mtu": 1458, 11:09:08 "selinux-enabled": true, 11:09:08 "seccomp-profile": "/etc/docker/seccomp.json" 11:09:08 } [Pipeline] sh 11:09:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:09:09 + sudo service docker restart 11:09:11 2f39f015ded8: Pull complete 11:09:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:09:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:09:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:09:11 prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container 11:09:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:09:17 $ docker top b64168c6d013b397bcee1772504e04025cfad864c6827261335c3e25350b7496 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:17 ---> job-cost.sh 11:09:17 lf-activate-venv: SKIPPING 11:09:17 INFO: No Stack... 11:09:17 INFO: Retrieving Pricing Info for: v3-standard-8 11:09:18 INFO: Archiving Costs [Pipeline] sh 11:09:18 + cat /w/workspace/foundry_device-virtual-go_PR-314/archives/cost.csv 11:09:18 + cut -d, -f6 [Pipeline] lock 11:09:18 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] 11:09:18 Resource [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] did not exist. Created. 11:09:18 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:09:18 + echo total: 0.2199999988079071 [Pipeline] stash 11:09:18 Stashed 1 file(s) [Pipeline] } 11:09:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:09:18 $ docker stop --time=1 b64168c6d013b397bcee1772504e04025cfad864c6827261335c3e25350b7496 11:09:20 $ docker rm -f b64168c6d013b397bcee1772504e04025cfad864c6827261335c3e25350b7496 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:27 provisioning config files... 11:09:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17814347277516298705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:28 ---> docker-login.sh 11:09:28 nexus3.edgexfoundry.org:10001 11:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:28 Configure a credential helper to remove this warning. See 11:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:28 11:09:28 Login Succeeded 11:09:28 nexus3.edgexfoundry.org:10002 11:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:28 Configure a credential helper to remove this warning. See 11:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:28 11:09:28 Login Succeeded 11:09:29 nexus3.edgexfoundry.org:10003 11:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:29 Configure a credential helper to remove this warning. See 11:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:29 11:09:29 Login Succeeded 11:09:29 nexus3.edgexfoundry.org:10004 11:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:29 Configure a credential helper to remove this warning. See 11:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:29 11:09:29 Login Succeeded 11:09:29 docker.io 11:09:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:09:30 Configure a credential helper to remove this warning. See 11:09:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:09:30 11:09:30 Login Succeeded 11:09:30 ---> docker-login.sh ends [Pipeline] } 11:09:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:09:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:09:30 ========================================================= 11:09:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 11:09:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09: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 . 11:09:31 Sending build context to Docker daemon 11.74MB 11:09:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 11:09:31 Step 2/13 : FROM ${BASE} AS builder 11:09:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:09:31 9b18e9b68314: Pulling fs layer 11:09:31 d32db5db7311: Pulling fs layer 11:09:31 d0c4b47475fc: Pulling fs layer 11:09:31 5831b945b038: Pulling fs layer 11:09:31 86bbec2aaacd: Pulling fs layer 11:09:31 e10730c5d714: Pulling fs layer 11:09:31 5dd5c2283517: Pulling fs layer 11:09:31 d5ac0230b979: Pulling fs layer 11:09:31 5831b945b038: Waiting 11:09:31 86bbec2aaacd: Waiting 11:09:31 e10730c5d714: Waiting 11:09:31 5dd5c2283517: Waiting 11:09:31 d5ac0230b979: Waiting 11:09:31 d0c4b47475fc: Download complete 11:09:31 d32db5db7311: Verifying Checksum 11:09:31 d32db5db7311: Download complete 11:09:31 86bbec2aaacd: Verifying Checksum 11:09:31 86bbec2aaacd: Download complete 11:09:31 e10730c5d714: Verifying Checksum 11:09:31 e10730c5d714: Download complete 11:09:31 9b18e9b68314: Verifying Checksum 11:09:31 9b18e9b68314: Download complete 11:09:32 9b18e9b68314: Pull complete 11:09:32 d5ac0230b979: Verifying Checksum 11:09:32 d5ac0230b979: Download complete 11:09:33 d32db5db7311: Pull complete 11:09:33 d0c4b47475fc: Pull complete 11:09:34 5dd5c2283517: Verifying Checksum 11:09:34 5dd5c2283517: Download complete 11:09:34 5831b945b038: Verifying Checksum 11:09:34 5831b945b038: Download complete 11:09:47 5831b945b038: Pull complete 11:09:47 86bbec2aaacd: Pull complete 11:09:47 e10730c5d714: Pull complete 11:09:52 5dd5c2283517: Pull complete 11:09:54 d5ac0230b979: Pull complete 11:09:54 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 11:09:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 11:09:54 ---> 59b3b1a385d4 11:09:54 Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:09:56 ---> Running in 319f85c7fd7f 11:09:56 Removing intermediate container 319f85c7fd7f 11:09:56 ---> 41516f6590a2 11:09:56 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 11:09:56 ---> Running in 488d3bb5f7d1 11:09:56 Removing intermediate container 488d3bb5f7d1 11:09:56 ---> 02a35c1f5ca8 11:09:56 Step 5/13 : ARG ADD_BUILD_TAGS="" 11:09:56 ---> Running in 86360b3b2a20 11:09:57 Removing intermediate container 86360b3b2a20 11:09:57 ---> cf6874a99181 11:09:57 Step 6/13 : WORKDIR /device-virtual-go 11:09:57 ---> Running in 96422a0c2630 11:09:57 Removing intermediate container 96422a0c2630 11:09:57 ---> 23ca352f8cf0 11:09:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:09:57 ---> Running in 37e87fcbb813 11:09:59 Removing intermediate container 37e87fcbb813 11:09:59 ---> db91eabc3cdc 11:09:59 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:09:59 ---> Running in 234fa7859e92 11:10:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:10:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:10:02 (1/4) Installing openssh-keygen (9.0_p1-r2) 11:10:02 (2/4) Installing libedit (20210910.3.1-r0) 11:10:02 (3/4) Installing openssh-client-common (9.0_p1-r2) 11:10:02 (4/4) Installing openssh-client-default (9.0_p1-r2) 11:10:02 Executing busybox-1.35.0-r17.trigger 11:10:02 OK: 226 MiB in 55 packages 11:10:03 Removing intermediate container 234fa7859e92 11:10:03 ---> 86f5d087d9ce 11:10:03 Step 9/13 : COPY go.mod vendor* ./ 11:10:04 ---> 073513408bfc 11:10:04 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:04 ---> Running in e049772d54c3 11:10:51 Removing intermediate container e049772d54c3 11:10:51 ---> b02e72a5903b 11:10:51 Step 11/13 : COPY . . 11:10:51 ---> a3a6ca737712 11:10:51 Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:10:51 ---> Running in d008bd033957 11:10:51 Removing intermediate container d008bd033957 11:10:51 ---> 2a340955254d 11:10:51 Step 13/13 : RUN $MAKE 11:10:51 ---> Running in c3df47b8b221 11:10:52 noop 11:10:53 Removing intermediate container c3df47b8b221 11:10:53 ---> f76058bf05b9 11:10:53 Successfully built f76058bf05b9 11:10:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:54 + docker inspect -f . ci-base-image-arm64 11:10:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:10:54 prd-ubuntu20.04-docker-arm64-4c-16g-8300 does not seem to be running inside a container 11:10: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 ******** ci-base-image-arm64 cat 11:10:55 $ docker top 424e5b78542cb45e63d6191d842243a866d92c5f6b7a9f35d537de3a62cc96ee -eo pid,comm [Pipeline] { [Pipeline] sh 11:10:56 + go version 11:10:56 go version go1.18.7 linux/arm64 [Pipeline] } 11:10:56 $ docker stop --time=1 424e5b78542cb45e63d6191d842243a866d92c5f6b7a9f35d537de3a62cc96ee 11:10:59 $ docker rm -f 424e5b78542cb45e63d6191d842243a866d92c5f6b7a9f35d537de3a62cc96ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:00 + docker inspect -f . ci-base-image-arm64 11:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:00 prd-ubuntu20.04-docker-arm64-4c-16g-8300 does not seem to be running inside a container 11:11:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:11:01 $ docker top c4937b80d2ca8135d75ba18c899e30ecfe38b55b3d7abba6902af58c6fbeba41 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:02 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:11:02 + make test 11:11:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:11:04 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:12:26 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:12:26 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements 11:12:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:12:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:12:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:12:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:12:44 ./bin/test-attribution-txt.sh [Pipeline] echo 11:12:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:12:44 $ docker stop --time=1 c4937b80d2ca8135d75ba18c899e30ecfe38b55b3d7abba6902af58c6fbeba41 11:12:47 $ docker rm -f c4937b80d2ca8135d75ba18c899e30ecfe38b55b3d7abba6902af58c6fbeba41 [Pipeline] // withDockerContainer [Pipeline] sh 11:12:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:12:48 Warning: overwriting stash ‘coverage-report’ 11:12:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:12:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:12:49 + ls -al . 11:12:49 total 196 11:12:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:11 . 11:12:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:09 .. 11:12:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 11:09 .git 11:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:09 .github 11:12:49 -rw-rw-r-- 1 jenkins jenkins 337 Oct 17 11:09 .gitignore 11:12:49 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 11:09 .golangci.yml 11:12:49 -rw-rw-r-- 1 jenkins jenkins 8527 Oct 17 11:09 Attribution.txt 11:12:49 -rw-rw-r-- 1 jenkins jenkins 9649 Oct 17 11:09 CHANGELOG.md 11:12:49 -rw-rw-r-- 1 jenkins jenkins 2034 Oct 17 11:09 Dockerfile 11:12:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 11:09 GOVERNANCE.md 11:12:49 -rw-rw-r-- 1 jenkins jenkins 660 Oct 17 11:09 Jenkinsfile 11:12:49 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 11:09 LICENSE 11:12:49 -rw-rw-r-- 1 jenkins jenkins 2457 Oct 17 11:09 Makefile 11:12:49 -rw-rw-r-- 1 jenkins jenkins 623 Oct 17 11:09 OWNERS.md 11:12:49 -rw-rw-r-- 1 jenkins jenkins 3578 Oct 17 11:09 README.md 11:12:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 11:07 VERSION 11:12:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 11:09 bin 11:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:09 cmd 11:12:49 -rw-r--r-- 1 jenkins jenkins 44128 Oct 17 11:12 coverage.out 11:12:49 -rw-rw-r-- 1 jenkins jenkins 3399 Oct 17 11:09 go.mod 11:12:49 -rw-rw-r-- 1 jenkins jenkins 37522 Oct 17 11:09 go.sum 11:12:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 11:09 internal 11:12:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 11:09 snap 11:12:49 -rw-rw-r-- 1 jenkins jenkins 235 Oct 17 11:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:49 + 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=22d768529fbb3a99908fcf631ac5c84028b44c46 --label arch=arm64 --label version=0.0.0 . 11:12:50 Sending build context to Docker daemon 11.79MB 11:12:50 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 11:12:50 Step 2/27 : FROM ${BASE} AS builder 11:12:50 ---> f76058bf05b9 11:12:50 Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:12:50 ---> Running in 88835acfb6ed 11:12:50 Removing intermediate container 88835acfb6ed 11:12:50 ---> 4ebc5fb87232 11:12:50 Step 4/27 : ARG ALPINE_PKG_EXTRA="" 11:12:50 ---> Running in 5c0c96f9212e 11:12:50 Removing intermediate container 5c0c96f9212e 11:12:50 ---> a492c7be09f0 11:12:50 Step 5/27 : ARG ADD_BUILD_TAGS="" 11:12:50 ---> Running in f03893973bc0 11:12:51 Removing intermediate container f03893973bc0 11:12:51 ---> 9a1cbc240fb8 11:12:51 Step 6/27 : WORKDIR /device-virtual-go 11:12:51 ---> Running in 4f578011328a 11:12:51 Removing intermediate container 4f578011328a 11:12:51 ---> e36b726bce01 11:12:51 Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:12:51 ---> Running in 498fbcbcd3d8 11:12:53 Removing intermediate container 498fbcbcd3d8 11:12:53 ---> d8412ac6e797 11:12:53 Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:12:53 ---> Running in ba5c6abaa381 11:12:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:12:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:12:56 OK: 226 MiB in 55 packages 11:12:57 Removing intermediate container ba5c6abaa381 11:12:57 ---> 0a508b38add0 11:12:57 Step 9/27 : COPY go.mod vendor* ./ 11:12:58 ---> d6982a97bc85 11:12:58 Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:12:58 ---> Running in b3290ae6c090 11:12:59 Removing intermediate container b3290ae6c090 11:12:59 ---> fc2bb87143cb 11:12:59 Step 11/27 : COPY . . 11:13:00 ---> 8f5b11f51a2c 11:13:00 Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:13:01 ---> Running in 6782ec3c3bd9 11:13:01 Removing intermediate container 6782ec3c3bd9 11:13:01 ---> 9e7b9bf2f70d 11:13:01 Step 13/27 : RUN $MAKE 11:13:01 ---> Running in 326ff20d73d4 11:13:02 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 11:15:39 Removing intermediate container 326ff20d73d4 11:15:39 ---> 935bb40025d1 11:15:39 Step 14/27 : FROM alpine:3.16 11:15:39 3.16: Pulling from library/alpine 11:15:39 9b18e9b68314: Already exists 11:15:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 11:15:39 Status: Downloaded newer image for alpine:3.16 11:15:39 ---> a6215f271958 11:15:39 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:15:39 ---> Running in 06ba9980ac3b 11:15:39 Removing intermediate container 06ba9980ac3b 11:15:39 ---> 114698a0e846 11:15:39 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 11:15:39 ---> Running in 6afaa8f1426e 11:15:39 Removing intermediate container 6afaa8f1426e 11:15:39 ---> 310d699f7f30 11:15:39 Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init 11:15:39 ---> Running in 5fab00c8c373 11:15:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 11:15:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 11:15:39 (1/6) Installing dumb-init (1.2.5-r1) 11:15:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 11:15:39 (3/6) Installing libsodium (1.0.18-r0) 11:15:39 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 11:15:39 (5/6) Installing libzmq (4.3.4-r0) 11:15:39 (6/6) Installing zeromq (4.3.4-r0) 11:15:39 Executing busybox-1.35.0-r17.trigger 11:15:39 OK: 8 MiB in 20 packages 11:15:39 Removing intermediate container 5fab00c8c373 11:15:39 ---> 68b425674948 11:15:39 Step 18/27 : WORKDIR / 11:15:39 ---> Running in 6f9aea7a0523 11:15:39 Removing intermediate container 6f9aea7a0523 11:15:39 ---> 37c705108e67 11:15:39 Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:15:39 ---> f72b8d2e2704 11:15:39 Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / 11:15:39 ---> 5196fd33aab6 11:15:39 Step 21/27 : COPY --from=builder /device-virtual-go/cmd / 11:15:39 ---> 401631b2deea 11:15:39 Step 22/27 : EXPOSE 59900 11:15:39 ---> Running in b61be697afc6 11:15:39 Removing intermediate container b61be697afc6 11:15:39 ---> 76f35e61e947 11:15:39 Step 23/27 : ENTRYPOINT ["/device-virtual"] 11:15:39 ---> Running in 856b9a6b940a 11:15:39 Removing intermediate container 856b9a6b940a 11:15:39 ---> b3a1bf6d969f 11:15:39 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:15:39 ---> Running in 4e79709e7a36 11:15:39 Removing intermediate container 4e79709e7a36 11:15:39 ---> 9a9649649d0a 11:15:39 Step 25/27 : LABEL arch=arm64 11:15:39 ---> Running in b6bc17867eed 11:15:39 Removing intermediate container b6bc17867eed 11:15:39 ---> 335d1ac3b9c2 11:15:39 Step 26/27 : LABEL git_sha=22d768529fbb3a99908fcf631ac5c84028b44c46 11:15:39 ---> Running in d5f360ed602a 11:15:39 Removing intermediate container d5f360ed602a 11:15:39 ---> dc7cebbc0395 11:15:39 Step 27/27 : LABEL version=0.0.0 11:15:39 ---> Running in d7f4116545f5 11:15:39 Removing intermediate container d7f4116545f5 11:15:39 ---> 0bdf37fd1954 11:15:39 [Warning] One or more build-args [ARCH] were not consumed 11:15:39 Successfully built 0bdf37fd1954 11:15:39 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:40 11:15:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:15:40 arm64: Pulling from edgex-lftools-log-publisher 11:15:40 8998bd30e6a1: Pulling fs layer 11:15:40 04944245beec: Pulling fs layer 11:15:40 699f458cf7ca: Pulling fs layer 11:15:40 765212b225bb: Pulling fs layer 11:15:40 f23df028b6ca: Pulling fs layer 11:15:40 d65c8cfc05b1: Pulling fs layer 11:15:40 2437ff75d9bd: Pulling fs layer 11:15:40 765212b225bb: Waiting 11:15:40 f23df028b6ca: Waiting 11:15:40 d65c8cfc05b1: Waiting 11:15:40 2437ff75d9bd: Waiting 11:15:40 04944245beec: Verifying Checksum 11:15:40 04944245beec: Download complete 11:15:40 765212b225bb: Verifying Checksum 11:15:40 765212b225bb: Download complete 11:15:40 f23df028b6ca: Verifying Checksum 11:15:40 f23df028b6ca: Download complete 11:15:40 d65c8cfc05b1: Verifying Checksum 11:15:40 d65c8cfc05b1: Download complete 11:15:40 699f458cf7ca: Verifying Checksum 11:15:40 699f458cf7ca: Download complete 11:15:41 8998bd30e6a1: Verifying Checksum 11:15:41 8998bd30e6a1: Download complete 11:15:44 2437ff75d9bd: Verifying Checksum 11:15:44 2437ff75d9bd: Download complete 11:15:45 8998bd30e6a1: Pull complete 11:15:45 04944245beec: Pull complete 11:15:47 699f458cf7ca: Pull complete 11:15:47 765212b225bb: Pull complete 11:15:47 f23df028b6ca: Pull complete 11:15:47 d65c8cfc05b1: Pull complete 11:16:02 2437ff75d9bd: Pull complete 11:16:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:16:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:16:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:03 prd-ubuntu20.04-docker-arm64-4c-16g-8300 does not seem to be running inside a container 11:16:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:16:05 $ docker top c4585c9830f9d209938066877b272caa3f3bc5ab54d1076fba7fd44d4926486d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:06 ---> job-cost.sh 11:16:06 lf-activate-venv: SKIPPING 11:16:06 INFO: No Stack... 11:16:06 INFO: Retrieving Pricing Info for: v3-standard-4 11:16:07 INFO: Archiving Costs [Pipeline] sh 11:16:08 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:16:08 + cut -d, -f6 [Pipeline] lock 11:16:08 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] 11:16:08 Resource [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] did not exist. Created. 11:16:08 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:16:09 /w/workspace/device-virtual-go/1@tmp/durable-770d68d8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:16:09 + echo total: 0.10999999940395355 [Pipeline] stash 11:16:09 Warning: overwriting stash ‘stack-cost’ 11:16:09 Stashed 1 file(s) [Pipeline] } 11:16:09 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-314-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:16:09 $ docker stop --time=1 c4585c9830f9d209938066877b272caa3f3bc5ab54d1076fba7fd44d4926486d 11:16:11 $ docker rm -f c4585c9830f9d209938066877b272caa3f3bc5ab54d1076fba7fd44d4926486d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:16:12 provisioning config files... 11:16:12 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-314@tmp/config14436279159362413984tmp [Pipeline] { [Pipeline] sh 11:16:12 + set +x 11:16:12 + curl -s https://codecov.io/bash 11:16:12 + bash -s -- 11:16:12 11:16:12 _____ _ 11:16:12 / ____| | | 11:16:12 | | ___ __| | ___ ___ _____ __ 11:16:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:16:12 | |___| (_) | (_| | __/ (_| (_) \ V / 11:16:12 \_____\___/ \__,_|\___|\___\___/ \_/ 11:16:12 Bash-1.0.6 11:16:12 11:16:12 11:16:12 ==> git version 2.25.1 found 11:16:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:16:12 Release-Date: 2020-01-08 11:16:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:16:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:16:12 ==> Jenkins CI detected. 11:16:12 current dir:  /w/workspace/foundry_device-virtual-go_PR-314 11:16:12 project root: . 11:16:12 --> token set from env 11:16:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:16:12 ==> Running gcov in . (disable via -X gcov) 11:16:12 ==> Python coveragepy not found 11:16:12 ==> Searching for coverage reports in: 11:16:12 + . 11:16:12 -> Found 1 reports 11:16:12 ==> Detecting git/mercurial file structure 11:16:12 ==> Reading reports 11:16:12 + ./coverage.out bytes=44128 11:16:12 ==> Appending adjustments 11:16:12 https://docs.codecov.io/docs/fixing-reports 11:16:12 + Found adjustments 11:16:12 ==> Gzipping contents 11:16:12 8.0K /tmp/codecov.yZkNCp.gz 11:16:12 ==> Uploading reports 11:16:12 url: https://codecov.io 11:16:12 query: branch=PR-314&commit=22d768529fbb3a99908fcf631ac5c84028b44c46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-314%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=314&job=&cmd_args= 11:16:12 -> Pinging Codecov 11:16:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-314&commit=22d768529fbb3a99908fcf631ac5c84028b44c46&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-314%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=314&job=&cmd_args= 11:16:13 -> Uploading to 11:16:13 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/5E52B4B073DB2E39498172D8E973AA87/22d768529fbb3a99908fcf631ac5c84028b44c46/f7595d70-b35e-4b0e-8387-1006878307ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T111613Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e42aef3d692e8757e6c43c654ecaf61234bc33cfd87d34a6ecc50ade61fd35b 11:16:13 % Total % Received % Xferd Average Speed Time Time Time Current 11:16:13 Dload Upload Total Spent Left Speed 11:16:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5486 0 0 100 5486 0 22953 --:--:-- --:--:-- --:--:-- 22953 11:16:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/22d768529fbb3a99908fcf631ac5c84028b44c46 [Pipeline] } 11:16:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:16:15 + [ -d /w/workspace/foundry_device-virtual-go_PR-314/archives ] 11:16:15 + ls -al /w/workspace/foundry_device-virtual-go_PR-314/archives 11:16:15 total 16 11:16:15 drwxr-xr-x 3 root root 4096 Oct 17 11:09 . 11:16:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 11:09 .. 11:16:15 drwxr-xr-x 2 root root 4096 Oct 17 11:09 cost 11:16:15 -rw-r--r-- 1 root root 89 Oct 17 11:09 cost.csv 11:16:15 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-314/archives 11:16:15 + ls -al /w/workspace/foundry_device-virtual-go_PR-314/archives 11:16:15 total 16 11:16:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 11:09 . 11:16:15 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 11:09 .. 11:16:15 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 11:09 cost 11:16:15 -rw-r--r-- 1 jenkins jenkins 89 Oct 17 11:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:16:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:16:16 ---> package-listing.sh 11:16:16 ++ facter osfamily 11:16:16 ++ tr '[:upper:]' '[:lower:]' 11:16:16 + OS_FAMILY=debian 11:16:16 + workspace=/w/workspace/foundry_device-virtual-go_PR-314 11:16:16 + START_PACKAGES=/tmp/packages_start.txt 11:16:16 + END_PACKAGES=/tmp/packages_end.txt 11:16:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:16:16 + PACKAGES=/tmp/packages_start.txt 11:16:16 + '[' /w/workspace/foundry_device-virtual-go_PR-314 ']' 11:16:16 + PACKAGES=/tmp/packages_end.txt 11:16:16 + case "${OS_FAMILY}" in 11:16:16 + dpkg -l 11:16:16 + grep '^ii' 11:16:16 + '[' -f /tmp/packages_start.txt ']' 11:16:16 + '[' -f /tmp/packages_end.txt ']' 11:16:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:16:16 + '[' /w/workspace/foundry_device-virtual-go_PR-314 ']' 11:16:16 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-314/archives/ 11:16:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-314/archives/ [Pipeline] echo 11:16:16 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-314/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:16:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:16:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:17 prd-ubuntu20.04-docker-8c-8g-8299 does not seem to be running inside a container 11:16:17 $ 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-314/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-314 -v /w/workspace/foundry_device-virtual-go_PR-314:/w/workspace/foundry_device-virtual-go_PR-314:rw,z -v /w/workspace/foundry_device-virtual-go_PR-314@tmp:/w/workspace/foundry_device-virtual-go_PR-314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:16:17 $ docker top 57079d327aa71cdc54cc8d369ee90b9d8d06038ad6e5f06ba636cb1deab03a36 -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:18 + touch /tmp/pre-build-complete [Pipeline] sh 11:16:18 + mkdir -p /var/log/sysstat [Pipeline] sh 11:16:18 + ls /var/log/sa-host 11:16:18 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:16:19 provisioning config files... 11:16:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-314@tmp/config15749575983988832617tmp [Pipeline] { [Pipeline] echo 11:16:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:16:19 ---> create-netrc.sh [Pipeline] } 11:16:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:16:19 ---> python-tools-install.sh [Pipeline] echo 11:16:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:16:20 ---> sudo-logs.sh 11:16:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:16:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:16:20 ---> job-cost.sh 11:16:20 lf-activate-venv: SKIPPING 11:16:20 DEBUG: total: 0.2199999988079071 11:16:20 INFO: Retrieving Stack Cost... 11:16:21 INFO: Retrieving Pricing Info for: v3-standard-8 11:16:21 INFO: Archiving Costs [Pipeline] echo 11:16:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:16:21 ---> logs-deploy.sh 11:16:21 lf-activate-venv: SKIPPING 11:16:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-314/1 11:16:21 INFO: archiving workspace using pattern(s): 11:16:22 Archives upload complete. 11:16:23 INFO: archiving logs to Nexus