Pull request #290 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 36f1c9105c586ba8e2014e0f524de26550782ad6 rather than 96bc7feab8d80dfedadf3e3d964b45693e69c121 Obtained Jenkinsfile from 36f1c9105c586ba8e2014e0f524de26550782ad6 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-ssh14061692774917692513.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh2792823637553170771.key > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18407332893002114291.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18108538170040565602.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11576006545646642278.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 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-15137 in /w/workspace/foundry_device-virtual-go_PR-290 [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-290 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 36f1c9105c586ba8e2014e0f524de26550782ad6 into PR head commit 96bc7feab8d80dfedadf3e3d964b45693e69c121 Merge succeeded, producing 96bc7feab8d80dfedadf3e3d964b45693e69c121 Checking out Revision 96bc7feab8d80dfedadf3e3d964b45693e69c121 (PR-290) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96bc7feab8d80dfedadf3e3d964b45693e69c121 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 36f1c9105c586ba8e2014e0f524de26550782ad6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96bc7feab8d80dfedadf3e3d964b45693e69c121 # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into EDGEX-394-Invalid-.env-files" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:52:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk ca5d2fcc6b7c3eb19d25e2e837325699b58b9395 # timeout=10 [Pipeline] withCredentials 09:52:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:52:44 ========================================================= 09:52:44 EdgeX Global Pipelines Version Info 09:52:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:52:45 ------------------- 09:52:45 stable info: 09:52:45 ------------------- 09:52:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:52:45 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 09:52:45 Message: update stable to v1.0.234 09:52:45 ------------------- 09:52:45 experimental info: 09:52:45 ------------------- 09:52:45 Commited By: **** collab-it+edgex@linuxfoundation.org 09:52:45 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 09:52:45 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:52:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 09:52:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 09:52:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:52:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:52:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:52:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96bc7feab8d80dfedadf3e3d964b45693e69c121 [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96bc7fe [Pipeline] echo 09:52:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:52:46 provisioning config files... 09:52:46 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config8301812276957716153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:46 ---> docker-login.sh 09:52:46 nexus3.edgexfoundry.org:10001 09:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:47 Configure a credential helper to remove this warning. See 09:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:47 09:52:47 Login Succeeded 09:52:47 nexus3.edgexfoundry.org:10002 09:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:47 Configure a credential helper to remove this warning. See 09:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:47 09:52:47 Login Succeeded 09:52:47 nexus3.edgexfoundry.org:10003 09:52:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:47 Configure a credential helper to remove this warning. See 09:52:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:47 09:52:47 Login Succeeded 09:52:47 nexus3.edgexfoundry.org:10004 09:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:48 Configure a credential helper to remove this warning. See 09:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:48 09:52:48 Login Succeeded 09:52:48 docker.io 09:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:48 Configure a credential helper to remove this warning. See 09:52:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:48 09:52:48 Login Succeeded 09:52:48 ---> docker-login.sh ends [Pipeline] } 09:52:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:52:48 + git rev-list -1 --merges 96bc7feab8d80dfedadf3e3d964b45693e69c121~1..96bc7feab8d80dfedadf3e3d964b45693e69c121 [Pipeline] echo 09:52:48 -----------> git rev-list -1 --merges 96bc7feab8d80dfedadf3e3d964b45693e69c121~1..96bc7feab8d80dfedadf3e3d964b45693e69c121 96bc7feab8d80dfedadf3e3d964b45693e69c121 09:52:48 96bc7feab8d80dfedadf3e3d964b45693e69c121 [false] [Pipeline] sh 09:52:49 + git log --format=format:%s -1 96bc7feab8d80dfedadf3e3d964b45693e69c121 [Pipeline] echo 09:52:49 ========================================================= 09:52:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:52:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:52:49 + git log --format=format:%s -1 96bc7feab8d80dfedadf3e3d964b45693e69c121 [Pipeline] echo 09:52:49 [semverPrep] GIT_COMMIT: 96bc7feab8d80dfedadf3e3d964b45693e69c121, Commit Message: Merge branch 'edgexfoundry:main' into EDGEX-394-Invalid-.env-files [Pipeline] echo 09:52:49 [semverPrep] This is not a build commit. [Pipeline] sh 09:52:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:52:49 + grep -v github /etc/ssh/ssh_known_hosts 09:52:49 + [ -e /tmp/ssh_known_hosts ] 09:52:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:52:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:52:49 + sudo tee -a /etc/ssh/ssh_known_hosts 09:52:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:52:50 09:52:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:52:50 0.1.4: Pulling from edgex-devops/py-git-semver 09:52:50 42c077c10790: Pulling fs layer 09:52:50 f63e77b7563a: Pulling fs layer 09:52:50 bd5fdadae976: Pulling fs layer 09:52:50 205491f53016: Pulling fs layer 09:52:50 df18705c85c3: Pulling fs layer 09:52:50 bdb3f477010e: Pulling fs layer 09:52:50 c8a8fc8e1c8f: Pulling fs layer 09:52:50 2c6e9b1d212d: Pulling fs layer 09:52:50 bdb8f0575790: Pulling fs layer 09:52:50 386e3cb2ff24: Pulling fs layer 09:52:50 2343380bae48: Pulling fs layer 09:52:50 386e3cb2ff24: Waiting 09:52:50 2343380bae48: Waiting 09:52:50 c8a8fc8e1c8f: Waiting 09:52:50 2c6e9b1d212d: Waiting 09:52:50 205491f53016: Waiting 09:52:50 bdb8f0575790: Waiting 09:52:50 df18705c85c3: Waiting 09:52:50 bdb3f477010e: Waiting 09:52:50 f63e77b7563a: Verifying Checksum 09:52:50 f63e77b7563a: Download complete 09:52:50 205491f53016: Verifying Checksum 09:52:50 205491f53016: Download complete 09:52:50 df18705c85c3: Verifying Checksum 09:52:50 df18705c85c3: Download complete 09:52:50 bdb3f477010e: Download complete 09:52:50 bd5fdadae976: Verifying Checksum 09:52:50 bd5fdadae976: Download complete 09:52:50 2c6e9b1d212d: Verifying Checksum 09:52:50 2c6e9b1d212d: Download complete 09:52:50 bdb8f0575790: Verifying Checksum 09:52:50 bdb8f0575790: Download complete 09:52:50 386e3cb2ff24: Download complete 09:52:50 2343380bae48: Verifying Checksum 09:52:50 2343380bae48: Download complete 09:52:50 42c077c10790: Verifying Checksum 09:52:50 42c077c10790: Download complete 09:52:51 c8a8fc8e1c8f: Verifying Checksum 09:52:51 c8a8fc8e1c8f: Download complete 09:52:52 42c077c10790: Pull complete 09:52:52 f63e77b7563a: Pull complete 09:52:53 bd5fdadae976: Pull complete 09:52:53 205491f53016: Pull complete 09:52:53 df18705c85c3: Pull complete 09:52:53 bdb3f477010e: Pull complete 09:52:55 c8a8fc8e1c8f: Pull complete 09:52:55 2c6e9b1d212d: Pull complete 09:52:55 bdb8f0575790: Pull complete 09:52:55 386e3cb2ff24: Pull complete 09:52:55 2343380bae48: Pull complete 09:52:55 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 09:52:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:52:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:52:55 prd-ubuntu20.04-docker-8c-8g-15137 does not seem to be running inside a container 09:52:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:52:57 $ docker top 391e0470dc64e9863aeac4e1a62b845642583cfea7a832969abd3705da5c2152 -eo pid,comm 09:52:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:52:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:52:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:52:57 [ssh-agent] Looking for ssh-agent implementation... 09:52:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:52:57 $ docker exec 391e0470dc64e9863aeac4e1a62b845642583cfea7a832969abd3705da5c2152 ssh-agent 09:52:58 SSH_AUTH_SOCK=/tmp/ssh-xXN1qq26q4nQ/agent.35 09:52:58 SSH_AGENT_PID=41 09:52:58 Running ssh-add (command line suppressed) 09:52:58 Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_1751864730170370287.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_1751864730170370287.key) 09:52:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:52:58 + git tag --points-at HEAD [Pipeline] } 09:52:58 $ docker exec --env ******** --env ******** 391e0470dc64e9863aeac4e1a62b845642583cfea7a832969abd3705da5c2152 ssh-agent -k 09:52:58 unset SSH_AUTH_SOCK; 09:52:58 unset SSH_AGENT_PID; 09:52:58 echo Agent pid 41 killed; 09:52:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:52:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:52:58 [ssh-agent] Looking for ssh-agent implementation... 09:52:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:52:58 $ docker exec 391e0470dc64e9863aeac4e1a62b845642583cfea7a832969abd3705da5c2152 ssh-agent 09:52:58 SSH_AUTH_SOCK=/tmp/ssh-ELHKAyJGcq7U/agent.75 09:52:58 SSH_AGENT_PID=81 09:52:58 Running ssh-add (command line suppressed) 09:52:59 Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_6251737301220981220.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_6251737301220981220.key) 09:52:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:52:59 + git semver init 09:52:59 2022-06-20 09:52:59,625 [run_init] DEBUG init version:0.0.0 force:False 09:52:59 2022-06-20 09:52:59,625 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver 09:52:59 2022-06-20 09:52:59,626 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-290/.semver 09:52:59 2022-06-20 09:52:59,626 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-290/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-290, universal_newlines=False, shell=None, istream=None) 09:53:01 2022-06-20 09:53:00,655 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude 09:53:01 2022-06-20 09:53:00,655 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 with force:False 09:53:01 2022-06-20 09:53:00,655 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 09:53:01 2022-06-20 09:53:00,658 [execute] INFO git cat-file --batch-check 09:53:01 2022-06-20 09:53:00,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) 09:53:01 2022-06-20 09:53:00,664 [execute] INFO git cat-file --batch 09:53:01 2022-06-20 09:53:00,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) 09:53:01 2022-06-20 09:53:00,669 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 09:53:01 0.0.0 [Pipeline] } 09:53:01 $ docker exec --env ******** --env ******** 391e0470dc64e9863aeac4e1a62b845642583cfea7a832969abd3705da5c2152 ssh-agent -k 09:53:01 unset SSH_AUTH_SOCK; 09:53:01 unset SSH_AGENT_PID; 09:53:01 echo Agent pid 81 killed; 09:53:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:53:01 + git semver [Pipeline] } 09:53:02 $ docker stop --time=1 391e0470dc64e9863aeac4e1a62b845642583cfea7a832969abd3705da5c2152 09:53:03 $ docker rm -f 391e0470dc64e9863aeac4e1a62b845642583cfea7a832969abd3705da5c2152 [Pipeline] // withDockerContainer [Pipeline] sh 09:53:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:53:04 Stashed 1 file(s) [Pipeline] echo 09:53:04 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:53:04 provisioning config files... 09:53:04 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config7191379421313824220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:04 ---> docker-login.sh 09:53:04 nexus3.edgexfoundry.org:10001 09:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:04 Configure a credential helper to remove this warning. See 09:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:04 09:53:04 Login Succeeded 09:53:04 nexus3.edgexfoundry.org:10002 09:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:04 Configure a credential helper to remove this warning. See 09:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:04 09:53:04 Login Succeeded 09:53:04 nexus3.edgexfoundry.org:10003 09:53:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:04 Configure a credential helper to remove this warning. See 09:53:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:04 09:53:04 Login Succeeded 09:53:04 nexus3.edgexfoundry.org:10004 09:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:05 Configure a credential helper to remove this warning. See 09:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:05 09:53:05 Login Succeeded 09:53:05 docker.io 09:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:53:05 Configure a credential helper to remove this warning. See 09:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:53:05 09:53:05 Login Succeeded 09:53:05 ---> docker-login.sh ends [Pipeline] } 09:53:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:53:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:53:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:53:05 ========================================================= 09:53:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:53:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 09:53:05 Sending build context to Docker daemon 23.08MB 09:53:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:53:05 Step 2/12 : FROM ${BASE} AS builder 09:53:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:53:05 59bf1c3509f3: Pulling fs layer 09:53:05 666ba61612fd: Pulling fs layer 09:53:05 8ed8ca486205: Pulling fs layer 09:53:05 cc1cd167ecdc: Pulling fs layer 09:53:05 c516ae0d96e1: Pulling fs layer 09:53:05 684cea983483: Pulling fs layer 09:53:05 dd3240ac7de5: Pulling fs layer 09:53:05 b1e948a4e11c: Pulling fs layer 09:53:05 a8fd76ee1af6: Pulling fs layer 09:53:05 646ad004c059: Pulling fs layer 09:53:05 cc1cd167ecdc: Waiting 09:53:05 b1e948a4e11c: Waiting 09:53:05 dd3240ac7de5: Waiting 09:53:05 a8fd76ee1af6: Waiting 09:53:05 684cea983483: Waiting 09:53:05 c516ae0d96e1: Waiting 09:53:05 646ad004c059: Waiting 09:53:05 8ed8ca486205: Download complete 09:53:05 666ba61612fd: Verifying Checksum 09:53:05 666ba61612fd: Download complete 09:53:05 c516ae0d96e1: Verifying Checksum 09:53:05 c516ae0d96e1: Download complete 09:53:05 684cea983483: Verifying Checksum 09:53:05 684cea983483: Download complete 09:53:05 59bf1c3509f3: Verifying Checksum 09:53:05 dd3240ac7de5: Download complete 09:53:05 b1e948a4e11c: Verifying Checksum 09:53:05 b1e948a4e11c: Download complete 09:53:06 59bf1c3509f3: Pull complete 09:53:06 666ba61612fd: Pull complete 09:53:06 8ed8ca486205: Pull complete 09:53:06 646ad004c059: Verifying Checksum 09:53:06 646ad004c059: Download complete 09:53:06 a8fd76ee1af6: Verifying Checksum 09:53:06 a8fd76ee1af6: Download complete 09:53:06 cc1cd167ecdc: Verifying Checksum 09:53:06 cc1cd167ecdc: Download complete 09:53:10 cc1cd167ecdc: Pull complete 09:53:10 c516ae0d96e1: Pull complete 09:53:10 684cea983483: Pull complete 09:53:10 dd3240ac7de5: Pull complete 09:53:10 b1e948a4e11c: Pull complete 09:53:13 a8fd76ee1af6: Pull complete 09:53:14 646ad004c059: Pull complete 09:53:14 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 09:53:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:53:14 ---> 8f69c11f6b0c 09:53:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:53:16 ---> Running in 0adb8104ca4b 09:53:16 Removing intermediate container 0adb8104ca4b 09:53:16 ---> 297ddbe5d96c 09:53:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 09:53:16 ---> Running in e40ffdc083aa 09:53:16 Removing intermediate container e40ffdc083aa 09:53:16 ---> 5eeced68c874 09:53:16 Step 5/12 : WORKDIR /device-virtual-go 09:53:16 ---> Running in 61ecb34297ac 09:53:16 Removing intermediate container 61ecb34297ac 09:53:16 ---> ec4473d3b518 09:53:16 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:53:16 ---> Running in f334a92cadf9 09:53:17 Removing intermediate container f334a92cadf9 09:53:17 ---> 5be529f7e2c5 09:53:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:53:17 ---> Running in 756a374db26a 09:53:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:53:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:53:18 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:53:18 (2/4) Installing libedit (20210910.3.1-r0) 09:53:18 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:53:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:53:19 Still waiting to schedule task 09:53:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:53:19 Executing busybox-1.34.1-r3.trigger 09:53:19 OK: 224 MiB in 56 packages 09:53:19 Removing intermediate container 756a374db26a 09:53:19 ---> c500508f1c5d 09:53:19 Step 8/12 : COPY go.mod vendor* ./ 09:53:19 ---> 0383bb3edec8 09:53:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:53:19 ---> Running in 2648ab23b75c 09:53:41 Removing intermediate container 2648ab23b75c 09:53:41 ---> 7e29249e2ebe 09:53:41 Step 10/12 : COPY . . 09:53:41 ---> 864543c21377 09:53:41 Step 11/12 : ARG MAKE='make build' 09:53:41 ---> Running in fb82ba1d9179 09:53:41 Removing intermediate container fb82ba1d9179 09:53:41 ---> eb256c1bef5b 09:53:41 Step 12/12 : RUN $MAKE 09:53:41 ---> Running in 3db1b64888ca 09:53:42 noop 09:53:42 Removing intermediate container 3db1b64888ca 09:53:42 ---> 1a6a11a13a45 09:53:42 Successfully built 1a6a11a13a45 09:53:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:42 + docker inspect -f . ci-base-image-x86_64 09:53:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:42 prd-ubuntu20.04-docker-8c-8g-15137 does not seem to be running inside a container 09:53:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:53:43 $ docker top dc627f9fcb3569389bffff469918f7d8027edf469d688f6ea64b119cdad1b5c6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:43 + go version 09:53:43 go version go1.17.7 linux/amd64 [Pipeline] } 09:53:43 $ docker stop --time=1 dc627f9fcb3569389bffff469918f7d8027edf469d688f6ea64b119cdad1b5c6 09:53:44 $ docker rm -f dc627f9fcb3569389bffff469918f7d8027edf469d688f6ea64b119cdad1b5c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:45 + docker inspect -f . ci-base-image-x86_64 09:53:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:45 prd-ubuntu20.04-docker-8c-8g-15137 does not seem to be running inside a container 09:53:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:53:46 $ docker top 423989dcd3559be355542cf61d8c81a85cd4f127ba6863aa0b34fc7969b3634d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:53:46 + make test 09:53:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 09:53:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 09:53:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 09:53:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.043s coverage: 65.7% of statements 09:54:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:54:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:54:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:54:09 ./bin/test-attribution-txt.sh [Pipeline] echo 09:54:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:54:09 $ docker stop --time=1 423989dcd3559be355542cf61d8c81a85cd4f127ba6863aa0b34fc7969b3634d 09:54:11 $ docker rm -f 423989dcd3559be355542cf61d8c81a85cd4f127ba6863aa0b34fc7969b3634d [Pipeline] // withDockerContainer [Pipeline] sh 09:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:54:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:54:13 + ls -al . 09:54:13 total 192 09:54:13 drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 09:54 . 09:54:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 09:52 .. 09:54:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 09:53 .git 09:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:52 .github 09:54:13 -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 09:52 .gitignore 09:54:13 -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 09:52 .golangci.yml 09:54:13 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 09:53 .semver 09:54:13 -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 09:52 Attribution.txt 09:54:13 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 09:52 CHANGELOG.md 09:54:13 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 09:52 Dockerfile 09:54:13 -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 09:52 GOVERNANCE.md 09:54:13 -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 09:52 Jenkinsfile 09:54:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 09:52 LICENSE 09:54:13 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 09:52 Makefile 09:54:13 -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 09:52 OWNERS.md 09:54:13 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 09:52 README.md 09:54:13 -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 09:53 VERSION 09:54:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 09:52 bin 09:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:52 cmd 09:54:13 -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 09:53 coverage.out 09:54:13 -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 09:52 go.mod 09:54:13 -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 09:52 go.sum 09:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:52 internal 09:54:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:52 snap 09:54:13 -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 09:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:13 + 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=96bc7feab8d80dfedadf3e3d964b45693e69c121 --label arch=amd64 --label version=0.0.0 . 09:54:13 Sending build context to Docker daemon 23.13MB 09:54:13 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:54:13 Step 2/26 : FROM ${BASE} AS builder 09:54:13 ---> 1a6a11a13a45 09:54:13 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:54:13 ---> Running in 177a2123621b 09:54:13 Removing intermediate container 177a2123621b 09:54:13 ---> b85d763802c4 09:54:13 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 09:54:13 ---> Running in 1740f04cdd34 09:54:13 Removing intermediate container 1740f04cdd34 09:54:13 ---> 9a0fac7bc13e 09:54:13 Step 5/26 : WORKDIR /device-virtual-go 09:54:13 ---> Running in 00ed8dcefdf2 09:54:13 Removing intermediate container 00ed8dcefdf2 09:54:13 ---> cb0cae44e141 09:54:13 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:54:14 ---> Running in 8dba98f075f7 09:54:14 Removing intermediate container 8dba98f075f7 09:54:14 ---> 698fcd20f68c 09:54:14 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:54:14 ---> Running in 95aec06c4840 09:54:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:54:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:54:16 OK: 224 MiB in 56 packages 09:54:16 Removing intermediate container 95aec06c4840 09:54:16 ---> 62fefaac480e 09:54:16 Step 8/26 : COPY go.mod vendor* ./ 09:54:16 ---> 15ca49690924 09:54:16 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:54:16 ---> Running in 7b553e5af949 09:54:17 Removing intermediate container 7b553e5af949 09:54:17 ---> 7bf57c653fdb 09:54:17 Step 10/26 : COPY . . 09:54:18 ---> 84f8db554b30 09:54:18 Step 11/26 : ARG MAKE='make build' 09:54:18 ---> Running in 9832fc32bd97 09:54:18 Removing intermediate container 9832fc32bd97 09:54:18 ---> 4b0599fe8397 09:54:18 Step 12/26 : RUN $MAKE 09:54:18 ---> Running in 78f8e93e9bf0 09:54:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 09:54:40 Removing intermediate container 78f8e93e9bf0 09:54:40 ---> 9daa087a6d3a 09:54:40 Step 13/26 : FROM alpine:3.14 09:54:40 3.14: Pulling from library/alpine 09:54:40 8663204ce13b: Pulling fs layer 09:54:40 8663204ce13b: Verifying Checksum 09:54:40 8663204ce13b: Download complete 09:54:40 8663204ce13b: Pull complete 09:54:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:54:40 Status: Downloaded newer image for alpine:3.14 09:54:40 ---> e04c818066af 09:54:40 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 09:54:40 ---> Running in bc293280f150 09:54:40 Removing intermediate container bc293280f150 09:54:40 ---> 70816522e3f7 09:54:40 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:54:40 ---> Running in ced03cde842d 09:54:41 Removing intermediate container ced03cde842d 09:54:41 ---> b0774c7002cc 09:54:41 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 09:54:41 ---> Running in cae782ee69b1 09:54:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:54:42 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:54:42 (1/6) Installing dumb-init (1.2.5-r1) 09:54:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 09:54:42 (3/6) Installing libsodium (1.0.18-r0) 09:54:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 09:54:42 (5/6) Installing libzmq (4.3.4-r0) 09:54:42 (6/6) Installing zeromq (4.3.4-r0) 09:54:42 Executing busybox-1.33.1-r7.trigger 09:54:43 OK: 8 MiB in 20 packages 09:54:43 Removing intermediate container cae782ee69b1 09:54:43 ---> da153905f242 09:54:43 Step 17/26 : WORKDIR / 09:54:43 ---> Running in b2a5015422d9 09:54:43 Removing intermediate container b2a5015422d9 09:54:43 ---> 97904d7037c3 09:54:43 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 09:54:43 ---> f7c89814b409 09:54:43 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 09:54:43 ---> 410727fd8750 09:54:43 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 09:54:44 ---> 1c4a34f85495 09:54:44 Step 21/26 : EXPOSE 59900 09:54:44 ---> Running in 40813c51dea5 09:54:44 Removing intermediate container 40813c51dea5 09:54:44 ---> 1ef9e1220d4e 09:54:44 Step 22/26 : ENTRYPOINT ["/device-virtual"] 09:54:44 ---> Running in 8f6e2ed9681a 09:54:44 Removing intermediate container 8f6e2ed9681a 09:54:44 ---> 198cd5978918 09:54:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:54:45 ---> Running in c14940181278 09:54:45 Removing intermediate container c14940181278 09:54:45 ---> bd77acc0903b 09:54:45 Step 24/26 : LABEL arch=amd64 09:54:45 ---> Running in 2c9a04f6d33d 09:54:45 Removing intermediate container 2c9a04f6d33d 09:54:45 ---> 3e4c428b5644 09:54:45 Step 25/26 : LABEL git_sha=96bc7feab8d80dfedadf3e3d964b45693e69c121 09:54:45 ---> Running in 072cd5bfa629 09:54:45 Removing intermediate container 072cd5bfa629 09:54:45 ---> 3b4ade637855 09:54:45 Step 26/26 : LABEL version=0.0.0 09:54:45 ---> Running in 2908d296ece8 09:54:45 Removing intermediate container 2908d296ece8 09:54:45 ---> 38776b6c63a3 09:54:45 [Warning] One or more build-args [ARCH] were not consumed 09:54:45 Successfully built 38776b6c63a3 09:54:45 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:46 09:54:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:46 latest: Pulling from edgex-lftools-log-publisher 09:54:46 5eb5b503b376: Pulling fs layer 09:54:46 5c69ac0246d0: Pulling fs layer 09:54:46 ec43610c2a17: Pulling fs layer 09:54:46 3a2ae6a8a46f: Pulling fs layer 09:54:46 33b1e0a273af: Pulling fs layer 09:54:46 5d3b04190fa2: Pulling fs layer 09:54:46 2f39f015ded8: Pulling fs layer 09:54:46 3a2ae6a8a46f: Waiting 09:54:46 5d3b04190fa2: Waiting 09:54:46 2f39f015ded8: Waiting 09:54:46 5c69ac0246d0: Download complete 09:54:46 3a2ae6a8a46f: Verifying Checksum 09:54:46 3a2ae6a8a46f: Download complete 09:54:46 33b1e0a273af: Verifying Checksum 09:54:46 33b1e0a273af: Download complete 09:54:46 5d3b04190fa2: Verifying Checksum 09:54:46 5d3b04190fa2: Download complete 09:54:46 ec43610c2a17: Download complete 09:54:46 5eb5b503b376: Verifying Checksum 09:54:46 5eb5b503b376: Download complete 09:54:47 2f39f015ded8: Download complete 09:54:48 5eb5b503b376: Pull complete 09:54:48 5c69ac0246d0: Pull complete 09:54:48 ec43610c2a17: Pull complete 09:54:48 3a2ae6a8a46f: Pull complete 09:54:49 33b1e0a273af: Pull complete 09:54:49 5d3b04190fa2: Pull complete 09:54:54 2f39f015ded8: Pull complete 09:54:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:54:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:54 prd-ubuntu20.04-docker-8c-8g-15137 does not seem to be running inside a container 09:54:54 $ 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-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:54:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15138 in /w/workspace/foundry_device-virtual-go_PR-290 09:54:56 $ docker top a27a50ae384bf8f048df2bba0ef9a5eacda36cf6582208520cc9a2ee4148dd81 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 09:54:56 Running in /w/workspace/device-virtual-go/15 [Pipeline] { [Pipeline] checkout 09:54:56 The recommended git tool is: git 09:54:57 ---> job-cost.sh 09:54:57 lf-activate-venv: SKIPPING 09:54:57 INFO: No Stack... 09:54:57 INFO: Retrieving Pricing Info for: v3-standard-8 09:54:57 INFO: Archiving Costs [Pipeline] sh 09:54:58 + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv 09:54:58 + cut -d, -f6 [Pipeline] lock 09:54:58 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-15-stack-cost] 09:54:58 Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-15-stack-cost] did not exist. Created. 09:54:58 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:54:58 + echo total: 0.2199999988079071 [Pipeline] stash 09:54:58 Stashed 1 file(s) [Pipeline] } 09:54:58 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-15-stack-cost] [Pipeline] // lock [Pipeline] } 09:54:58 $ docker stop --time=1 a27a50ae384bf8f048df2bba0ef9a5eacda36cf6582208520cc9a2ee4148dd81 09:54:59 $ docker rm -f a27a50ae384bf8f048df2bba0ef9a5eacda36cf6582208520cc9a2ee4148dd81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:55:04 using credential edgex-jenkins-ssh 09:55:04 Cloning the remote Git repository 09:55:04 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 09:55:04 > git init /w/workspace/device-virtual-go/15 # timeout=10 09:55:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:55:04 > git --version # timeout=10 09:55:04 > git --version # 'git version 2.25.1' 09:55:04 using GIT_SSH to set credentials SSH Credentials for GitHub 09:55:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:55:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:55:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:55:06 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 09:55:07 Merging remotes/origin/main commit 36f1c9105c586ba8e2014e0f524de26550782ad6 into PR head commit 96bc7feab8d80dfedadf3e3d964b45693e69c121 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:55:07 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:55:08 + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] 09:55:08 + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives 09:55:08 total 16 09:55:08 drwxr-xr-x 3 root root 4096 Jun 20 09:54 . 09:55:08 drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 09:54 .. 09:55:08 drwxr-xr-x 2 root root 4096 Jun 20 09:54 cost 09:55:08 -rw-r--r-- 1 root root 89 Jun 20 09:54 cost.csv 09:55:08 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives 09:55:08 + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives 09:55:08 total 16 09:55:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 09:54 . 09:55:08 drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 09:54 .. 09:55:08 drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 09:54 cost 09:55:08 -rw-r--r-- 1 jenkins jenkins 89 Jun 20 09:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:55:06 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 09:55:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:55:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:55:07 > git config core.sparsecheckout # timeout=10 09:55:07 > git checkout -f 96bc7feab8d80dfedadf3e3d964b45693e69c121 # timeout=10 09:55:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:55:09 ---> package-listing.sh 09:55:09 ++ facter osfamily 09:55:09 ++ tr '[:upper:]' '[:lower:]' 09:55:09 + OS_FAMILY=debian 09:55:09 + workspace=/w/workspace/foundry_device-virtual-go_PR-290 09:55:09 + START_PACKAGES=/tmp/packages_start.txt 09:55:09 + END_PACKAGES=/tmp/packages_end.txt 09:55:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:55:09 + PACKAGES=/tmp/packages_start.txt 09:55:09 + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' 09:55:09 + PACKAGES=/tmp/packages_end.txt 09:55:09 + case "${OS_FAMILY}" in 09:55:09 + dpkg -l 09:55:09 + grep '^ii' 09:55:09 + '[' -f /tmp/packages_start.txt ']' 09:55:09 + '[' -f /tmp/packages_end.txt ']' 09:55:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:55:09 + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' 09:55:09 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ 09:55:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-290/archives/ [Pipeline] echo 09:55:09 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-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:55:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:55:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:55:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:55:10 prd-ubuntu20.04-docker-8c-8g-15137 does not seem to be running inside a container 09:55:10 $ 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-290/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-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:55:10 $ docker top 5860f65c88467bf7096f66448721f581463ecd3eb96c0960df7e2c37c4bd4383 -eo pid,comm [Pipeline] { [Pipeline] sh 09:55:11 + touch /tmp/pre-build-complete [Pipeline] sh 09:55:11 + mkdir -p /var/log/sysstat [Pipeline] sh 09:55:11 + ls /var/log/sa-host 09:55:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:55:11 provisioning config files... 09:55:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config7121384175656354499tmp [Pipeline] { [Pipeline] echo 09:55:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:55:12 ---> create-netrc.sh [Pipeline] } 09:55:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:55:12 ---> python-tools-install.sh [Pipeline] echo 09:55:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:55:12 ---> sudo-logs.sh 09:55:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:55:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:55:13 ---> job-cost.sh 09:55:13 lf-activate-venv: SKIPPING 09:55:13 DEBUG: total: 0.2199999988079071 09:55:13 INFO: Retrieving Stack Cost... 09:55:13 INFO: Retrieving Pricing Info for: v3-standard-8 09:55:14 INFO: Archiving Costs [Pipeline] echo 09:55:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:55:14 ---> logs-deploy.sh 09:55:14 lf-activate-venv: SKIPPING 09:55:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/15 09:55:14 INFO: archiving workspace using pattern(s): 09:55:15 Archives upload complete. 09:55:15 INFO: archiving logs to Nexus