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 721fa828bf61e692f5af7701e9ac6b8230464ade 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-ssh15315501210744176766.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-ssh15290949548124190116.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-ssh15105277947173115372.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-ssh10620983479548748291.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-ssh11762815052602029311.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-15155 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 721fa828bf61e692f5af7701e9ac6b8230464ade Merge succeeded, producing 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 Checking out Revision 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 (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 721fa828bf61e692f5af7701e9ac6b8230464ade # 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 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 # timeout=10 Commit message: "Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-20T13:00:17.413Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-20T13:00:17.473Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 9f47a2640d7f3d0098937265c8fc34b7cb336ead # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-20T13:00:17.492Z] ========================================================= [2022-06-20T13:00:17.493Z] EdgeX Global Pipelines Version Info [2022-06-20T13:00:17.493Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:00:18.241Z] ------------------- [2022-06-20T13:00:18.241Z] stable info: [2022-06-20T13:00:18.241Z] ------------------- [2022-06-20T13:00:18.241Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-20T13:00:18.241Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T13:00:18.241Z] Message: update stable to v1.0.234 [2022-06-20T13:00:18.817Z] ------------------- [2022-06-20T13:00:18.817Z] experimental info: [2022-06-20T13:00:18.817Z] ------------------- [2022-06-20T13:00:18.817Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-20T13:00:18.817Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T13:00:18.817Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-20T13:00:18.998Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-20T13:00:19.007Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-20T13:00:19.017Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-20T13:00:19.027Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-20T13:00:19.044Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-20T13:00:19.061Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-20T13:00:19.078Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-20T13:00:19.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-20T13:00:19.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-20T13:00:19.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-20T13:00:19.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-20T13:00:19.144Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-20T13:00:19.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-20T13:00:19.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-20T13:00:19.181Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T13:00:19.196Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T13:00:19.210Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T13:00:19.220Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T13:00:19.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-20T13:00:19.252Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-20T13:00:19.264Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-20T13:00:19.276Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-20T13:00:19.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-20T13:00:19.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-20T13:00:19.322Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-20T13:00:19.333Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-20T13:00:19.344Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-20T13:00:19.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-20T13:00:19.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-20T13:00:19.379Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-20T13:00:19.391Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 [Pipeline] echo [2022-06-20T13:00:19.406Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c0f1ff [Pipeline] echo [2022-06-20T13:00:19.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T13:00:19.458Z] provisioning config files... [2022-06-20T13:00:19.471Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config8262221297919435254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:00:19.769Z] ---> docker-login.sh [2022-06-20T13:00:19.769Z] nexus3.edgexfoundry.org:10001 [2022-06-20T13:00:20.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:20.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:20.030Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:20.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:20.030Z] [2022-06-20T13:00:20.030Z] Login Succeeded [2022-06-20T13:00:20.030Z] nexus3.edgexfoundry.org:10002 [2022-06-20T13:00:20.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:20.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:20.292Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:20.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:20.292Z] [2022-06-20T13:00:20.292Z] Login Succeeded [2022-06-20T13:00:20.292Z] nexus3.edgexfoundry.org:10003 [2022-06-20T13:00:20.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:20.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:20.292Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:20.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:20.292Z] [2022-06-20T13:00:20.292Z] Login Succeeded [2022-06-20T13:00:20.292Z] nexus3.edgexfoundry.org:10004 [2022-06-20T13:00:20.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:20.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:20.552Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:20.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:20.552Z] [2022-06-20T13:00:20.552Z] Login Succeeded [2022-06-20T13:00:20.552Z] docker.io [2022-06-20T13:00:20.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:20.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:20.814Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:20.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:20.814Z] [2022-06-20T13:00:20.814Z] Login Succeeded [2022-06-20T13:00:20.814Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T13:00:20.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-20T13:00:21.201Z] + git rev-list -1 --merges 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1~1..3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 [Pipeline] echo [2022-06-20T13:00:21.232Z] -----------> git rev-list -1 --merges 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1~1..3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 [2022-06-20T13:00:21.232Z] 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 [false] [Pipeline] sh [2022-06-20T13:00:21.526Z] + git log --format=format:%s -1 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 [Pipeline] echo [2022-06-20T13:00:21.543Z] ========================================================= [2022-06-20T13:00:21.543Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-20T13:00:21.543Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T13:00:21.885Z] + git log --format=format:%s -1 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 [Pipeline] echo [2022-06-20T13:00:21.897Z] [semverPrep] GIT_COMMIT: 3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1, Commit Message: Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD [Pipeline] echo [2022-06-20T13:00:21.908Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-20T13:00:22.283Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-20T13:00:22.283Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-20T13:00:22.283Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-20T13:00:22.283Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-20T13:00:22.283Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-20T13:00:22.283Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-20T13:00:22.283Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:00:22.719Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T13:00:22.719Z] [2022-06-20T13:00:22.719Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:00:23.021Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T13:00:23.021Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-20T13:00:23.021Z] 42c077c10790: Pulling fs layer [2022-06-20T13:00:23.021Z] f63e77b7563a: Pulling fs layer [2022-06-20T13:00:23.021Z] bd5fdadae976: Pulling fs layer [2022-06-20T13:00:23.021Z] 205491f53016: Pulling fs layer [2022-06-20T13:00:23.021Z] df18705c85c3: Pulling fs layer [2022-06-20T13:00:23.021Z] bdb3f477010e: Pulling fs layer [2022-06-20T13:00:23.021Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-20T13:00:23.021Z] 2c6e9b1d212d: Pulling fs layer [2022-06-20T13:00:23.021Z] bdb8f0575790: Pulling fs layer [2022-06-20T13:00:23.021Z] 386e3cb2ff24: Pulling fs layer [2022-06-20T13:00:23.021Z] 2343380bae48: Pulling fs layer [2022-06-20T13:00:23.021Z] c8a8fc8e1c8f: Waiting [2022-06-20T13:00:23.021Z] 2c6e9b1d212d: Waiting [2022-06-20T13:00:23.021Z] bdb8f0575790: Waiting [2022-06-20T13:00:23.021Z] 386e3cb2ff24: Waiting [2022-06-20T13:00:23.021Z] df18705c85c3: Waiting [2022-06-20T13:00:23.021Z] bdb3f477010e: Waiting [2022-06-20T13:00:23.021Z] 205491f53016: Waiting [2022-06-20T13:00:23.021Z] f63e77b7563a: Download complete [2022-06-20T13:00:23.021Z] 205491f53016: Download complete [2022-06-20T13:00:23.285Z] df18705c85c3: Verifying Checksum [2022-06-20T13:00:23.285Z] df18705c85c3: Download complete [2022-06-20T13:00:23.285Z] bd5fdadae976: Verifying Checksum [2022-06-20T13:00:23.285Z] bd5fdadae976: Download complete [2022-06-20T13:00:23.285Z] bdb3f477010e: Download complete [2022-06-20T13:00:23.285Z] 2c6e9b1d212d: Verifying Checksum [2022-06-20T13:00:23.285Z] 2c6e9b1d212d: Download complete [2022-06-20T13:00:23.285Z] bdb8f0575790: Download complete [2022-06-20T13:00:23.285Z] 386e3cb2ff24: Verifying Checksum [2022-06-20T13:00:23.285Z] 386e3cb2ff24: Download complete [2022-06-20T13:00:23.285Z] 2343380bae48: Verifying Checksum [2022-06-20T13:00:23.285Z] 2343380bae48: Download complete [2022-06-20T13:00:23.285Z] 42c077c10790: Download complete [2022-06-20T13:00:23.545Z] c8a8fc8e1c8f: Download complete [2022-06-20T13:00:24.485Z] 42c077c10790: Pull complete [2022-06-20T13:00:24.745Z] f63e77b7563a: Pull complete [2022-06-20T13:00:25.005Z] bd5fdadae976: Pull complete [2022-06-20T13:00:25.265Z] 205491f53016: Pull complete [2022-06-20T13:00:25.526Z] df18705c85c3: Pull complete [2022-06-20T13:00:25.526Z] bdb3f477010e: Pull complete [2022-06-20T13:00:27.455Z] c8a8fc8e1c8f: Pull complete [2022-06-20T13:00:27.455Z] 2c6e9b1d212d: Pull complete [2022-06-20T13:00:27.716Z] bdb8f0575790: Pull complete [2022-06-20T13:00:27.716Z] 386e3cb2ff24: Pull complete [2022-06-20T13:00:27.716Z] 2343380bae48: Pull complete [2022-06-20T13:00:27.716Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-20T13:00:27.716Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T13:00:27.716Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T13:00:27.820Z] prd-ubuntu20.04-docker-8c-8g-15155 does not seem to be running inside a container [2022-06-20T13:00:27.862Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-20T13:00:28.976Z] $ docker top 2b5951f21a47fd779714d646958091f9ad7deffd4c7c3374d097f18b9f5fa5c7 -eo pid,comm [2022-06-20T13:00:29.042Z] 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). [2022-06-20T13:00:29.042Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-20T13:00:29.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T13:00:29.081Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T13:00:29.221Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T13:00:29.231Z] $ docker exec 2b5951f21a47fd779714d646958091f9ad7deffd4c7c3374d097f18b9f5fa5c7 ssh-agent [2022-06-20T13:00:29.355Z] SSH_AUTH_SOCK=/tmp/ssh-uYCudaA0CcLW/agent.34 [2022-06-20T13:00:29.355Z] SSH_AGENT_PID=41 [2022-06-20T13:00:29.363Z] Running ssh-add (command line suppressed) [2022-06-20T13:00:29.485Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_8262311182404846175.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_8262311182404846175.key) [2022-06-20T13:00:29.496Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T13:00:29.794Z] + git tag --points-at HEAD [Pipeline] } [2022-06-20T13:00:29.819Z] $ docker exec --env ******** --env ******** 2b5951f21a47fd779714d646958091f9ad7deffd4c7c3374d097f18b9f5fa5c7 ssh-agent -k [2022-06-20T13:00:29.929Z] unset SSH_AUTH_SOCK; [2022-06-20T13:00:29.930Z] unset SSH_AGENT_PID; [2022-06-20T13:00:29.930Z] echo Agent pid 41 killed; [2022-06-20T13:00:29.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-20T13:00:29.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T13:00:29.961Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T13:00:30.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T13:00:30.091Z] $ docker exec 2b5951f21a47fd779714d646958091f9ad7deffd4c7c3374d097f18b9f5fa5c7 ssh-agent [2022-06-20T13:00:30.211Z] SSH_AUTH_SOCK=/tmp/ssh-wQTQlGmxmmvx/agent.75 [2022-06-20T13:00:30.211Z] SSH_AGENT_PID=82 [2022-06-20T13:00:30.217Z] Running ssh-add (command line suppressed) [2022-06-20T13:00:30.347Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_9029031238649752273.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_9029031238649752273.key) [2022-06-20T13:00:30.359Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T13:00:30.657Z] + git semver init [2022-06-20T13:00:30.921Z] 2022-06-20 13:00:30,872 [run_init] DEBUG init version:0.0.0 force:False [2022-06-20T13:00:30.921Z] 2022-06-20 13:00:30,873 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-20T13:00:30.921Z] 2022-06-20 13:00:30,873 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-20T13:00:30.921Z] 2022-06-20 13:00:30,873 [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) [2022-06-20T13:00:31.864Z] 2022-06-20 13:00:31,762 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-20T13:00:31.864Z] 2022-06-20 13:00:31,763 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 with force:False [2022-06-20T13:00:31.864Z] 2022-06-20 13:00:31,763 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-20T13:00:31.864Z] 2022-06-20 13:00:31,767 [execute] INFO git cat-file --batch-check [2022-06-20T13:00:31.864Z] 2022-06-20 13:00:31,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T13:00:31.864Z] 2022-06-20 13:00:31,773 [execute] INFO git cat-file --batch [2022-06-20T13:00:31.864Z] 2022-06-20 13:00:31,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T13:00:31.864Z] 2022-06-20 13:00:31,780 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-20T13:00:31.864Z] 0.0.0 [Pipeline] } [2022-06-20T13:00:31.881Z] $ docker exec --env ******** --env ******** 2b5951f21a47fd779714d646958091f9ad7deffd4c7c3374d097f18b9f5fa5c7 ssh-agent -k [2022-06-20T13:00:31.996Z] unset SSH_AUTH_SOCK; [2022-06-20T13:00:31.996Z] unset SSH_AGENT_PID; [2022-06-20T13:00:31.996Z] echo Agent pid 82 killed; [2022-06-20T13:00:32.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T13:00:32.312Z] + git semver [Pipeline] } [2022-06-20T13:00:32.596Z] $ docker stop --time=1 2b5951f21a47fd779714d646958091f9ad7deffd4c7c3374d097f18b9f5fa5c7 [2022-06-20T13:00:33.913Z] $ docker rm -f 2b5951f21a47fd779714d646958091f9ad7deffd4c7c3374d097f18b9f5fa5c7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T13:00:34.268Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-20T13:00:34.545Z] Stashed 1 file(s) [Pipeline] echo [2022-06-20T13:00:34.548Z] [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 [2022-06-20T13:00:34.678Z] provisioning config files... [2022-06-20T13:00:34.691Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6967205460040186952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:00:35.006Z] ---> docker-login.sh [2022-06-20T13:00:35.006Z] nexus3.edgexfoundry.org:10001 [2022-06-20T13:00:35.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:35.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:35.006Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:35.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:35.006Z] [2022-06-20T13:00:35.006Z] Login Succeeded [2022-06-20T13:00:35.006Z] nexus3.edgexfoundry.org:10002 [2022-06-20T13:00:35.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:35.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:35.268Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:35.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:35.268Z] [2022-06-20T13:00:35.268Z] Login Succeeded [2022-06-20T13:00:35.268Z] nexus3.edgexfoundry.org:10003 [2022-06-20T13:00:35.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:35.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:35.268Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:35.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:35.268Z] [2022-06-20T13:00:35.268Z] Login Succeeded [2022-06-20T13:00:35.268Z] nexus3.edgexfoundry.org:10004 [2022-06-20T13:00:35.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:35.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:35.530Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:35.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:35.530Z] [2022-06-20T13:00:35.530Z] Login Succeeded [2022-06-20T13:00:35.530Z] docker.io [2022-06-20T13:00:35.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:00:35.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:00:35.794Z] Configure a credential helper to remove this warning. See [2022-06-20T13:00:35.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:00:35.794Z] [2022-06-20T13:00:35.794Z] Login Succeeded [2022-06-20T13:00:35.794Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T13:00:35.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T13:00:35.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T13:00:35.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T13:00:35.891Z] ========================================================= [2022-06-20T13:00:35.891Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-20T13:00:35.891Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:00:36.220Z] + 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 . [2022-06-20T13:00:36.220Z] Sending build context to Docker daemon 23.12MB [2022-06-20T13:00:36.220Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T13:00:36.220Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T13:00:36.482Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-20T13:00:36.482Z] 59bf1c3509f3: Pulling fs layer [2022-06-20T13:00:36.482Z] 666ba61612fd: Pulling fs layer [2022-06-20T13:00:36.482Z] 8ed8ca486205: Pulling fs layer [2022-06-20T13:00:36.482Z] cc1cd167ecdc: Pulling fs layer [2022-06-20T13:00:36.482Z] c516ae0d96e1: Pulling fs layer [2022-06-20T13:00:36.482Z] 684cea983483: Pulling fs layer [2022-06-20T13:00:36.482Z] dd3240ac7de5: Pulling fs layer [2022-06-20T13:00:36.482Z] b1e948a4e11c: Pulling fs layer [2022-06-20T13:00:36.482Z] a8fd76ee1af6: Pulling fs layer [2022-06-20T13:00:36.482Z] 646ad004c059: Pulling fs layer [2022-06-20T13:00:36.482Z] dd3240ac7de5: Waiting [2022-06-20T13:00:36.482Z] b1e948a4e11c: Waiting [2022-06-20T13:00:36.482Z] a8fd76ee1af6: Waiting [2022-06-20T13:00:36.482Z] 646ad004c059: Waiting [2022-06-20T13:00:36.482Z] cc1cd167ecdc: Waiting [2022-06-20T13:00:36.482Z] c516ae0d96e1: Waiting [2022-06-20T13:00:36.482Z] 684cea983483: Waiting [2022-06-20T13:00:36.482Z] 8ed8ca486205: Verifying Checksum [2022-06-20T13:00:36.482Z] 8ed8ca486205: Download complete [2022-06-20T13:00:36.482Z] 666ba61612fd: Download complete [2022-06-20T13:00:36.482Z] c516ae0d96e1: Verifying Checksum [2022-06-20T13:00:36.482Z] c516ae0d96e1: Download complete [2022-06-20T13:00:36.482Z] 684cea983483: Download complete [2022-06-20T13:00:36.482Z] 59bf1c3509f3: Verifying Checksum [2022-06-20T13:00:36.482Z] 59bf1c3509f3: Download complete [2022-06-20T13:00:36.482Z] dd3240ac7de5: Verifying Checksum [2022-06-20T13:00:36.482Z] dd3240ac7de5: Download complete [2022-06-20T13:00:36.482Z] b1e948a4e11c: Verifying Checksum [2022-06-20T13:00:36.482Z] b1e948a4e11c: Download complete [2022-06-20T13:00:36.746Z] 59bf1c3509f3: Pull complete [2022-06-20T13:00:36.746Z] 666ba61612fd: Pull complete [2022-06-20T13:00:36.746Z] 8ed8ca486205: Pull complete [2022-06-20T13:00:37.007Z] 646ad004c059: Verifying Checksum [2022-06-20T13:00:37.007Z] 646ad004c059: Download complete [2022-06-20T13:00:37.267Z] a8fd76ee1af6: Download complete [2022-06-20T13:00:37.267Z] cc1cd167ecdc: Verifying Checksum [2022-06-20T13:00:37.267Z] cc1cd167ecdc: Download complete [2022-06-20T13:00:41.473Z] cc1cd167ecdc: Pull complete [2022-06-20T13:00:41.473Z] c516ae0d96e1: Pull complete [2022-06-20T13:00:41.473Z] 684cea983483: Pull complete [2022-06-20T13:00:41.473Z] dd3240ac7de5: Pull complete [2022-06-20T13:00:41.473Z] b1e948a4e11c: Pull complete [2022-06-20T13:00:44.013Z] a8fd76ee1af6: Pull complete [2022-06-20T13:00:44.582Z] 646ad004c059: Pull complete [2022-06-20T13:00:44.582Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-20T13:00:44.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T13:00:44.582Z] ---> 8f69c11f6b0c [2022-06-20T13:00:44.582Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T13:00:45.970Z] ---> Running in 199a9f6d7cbd [2022-06-20T13:00:45.970Z] Removing intermediate container 199a9f6d7cbd [2022-06-20T13:00:45.970Z] ---> bff40dbf2969 [2022-06-20T13:00:45.970Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T13:00:45.970Z] ---> Running in dc8f033a17d6 [2022-06-20T13:00:45.970Z] Removing intermediate container dc8f033a17d6 [2022-06-20T13:00:45.970Z] ---> 5b606302e8ff [2022-06-20T13:00:45.970Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-20T13:00:45.970Z] ---> Running in a96192c7ddec [2022-06-20T13:00:45.970Z] Removing intermediate container a96192c7ddec [2022-06-20T13:00:45.970Z] ---> 46b5def416a5 [2022-06-20T13:00:45.970Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T13:00:45.970Z] ---> Running in 1b1003be5c23 [2022-06-20T13:00:46.542Z] Removing intermediate container 1b1003be5c23 [2022-06-20T13:00:46.542Z] ---> 248227146aec [2022-06-20T13:00:46.542Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T13:00:46.803Z] ---> Running in 11be94e087e3 [2022-06-20T13:00:47.063Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T13:00:48.007Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T13:00:48.274Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T13:00:48.274Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T13:00:48.535Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T13:00:48.535Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T13:00:48.535Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T13:00:48.535Z] OK: 224 MiB in 56 packages [2022-06-20T13:00:49.106Z] Removing intermediate container 11be94e087e3 [2022-06-20T13:00:49.106Z] ---> 9f62a2148519 [2022-06-20T13:00:49.106Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-20T13:00:49.106Z] ---> 48ae0957022d [2022-06-20T13:00:49.106Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T13:00:49.106Z] ---> Running in b346e9b55018 [2022-06-20T13:00:49.639Z] Still waiting to schedule task [2022-06-20T13:00:49.640Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-20T13:01:07.222Z] Removing intermediate container b346e9b55018 [2022-06-20T13:01:07.222Z] ---> fee82c334159 [2022-06-20T13:01:07.222Z] Step 10/12 : COPY . . [2022-06-20T13:01:07.222Z] ---> 5e387dd12676 [2022-06-20T13:01:07.222Z] Step 11/12 : ARG MAKE='make build' [2022-06-20T13:01:07.222Z] ---> Running in 763e10989c4b [2022-06-20T13:01:07.222Z] Removing intermediate container 763e10989c4b [2022-06-20T13:01:07.222Z] ---> 9c805301cf29 [2022-06-20T13:01:07.222Z] Step 12/12 : RUN $MAKE [2022-06-20T13:01:07.222Z] ---> Running in 99f1472ebb2d [2022-06-20T13:01:07.222Z] noop [2022-06-20T13:01:07.484Z] Removing intermediate container 99f1472ebb2d [2022-06-20T13:01:07.484Z] ---> 2f365f45a31c [2022-06-20T13:01:07.484Z] Successfully built 2f365f45a31c [2022-06-20T13:01:07.484Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:01:07.811Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T13:01:07.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T13:01:07.905Z] prd-ubuntu20.04-docker-8c-8g-15155 does not seem to be running inside a container [2022-06-20T13:01:07.947Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-20T13:01:08.311Z] $ docker top c5aa060c4c4b6783da48a9fab0afb8a4ebba26732206d1357a295da2599a6758 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T13:01:08.654Z] + go version [2022-06-20T13:01:08.654Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-20T13:01:08.671Z] $ docker stop --time=1 c5aa060c4c4b6783da48a9fab0afb8a4ebba26732206d1357a295da2599a6758 [2022-06-20T13:01:09.962Z] $ docker rm -f c5aa060c4c4b6783da48a9fab0afb8a4ebba26732206d1357a295da2599a6758 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:01:10.353Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T13:01:10.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T13:01:10.434Z] prd-ubuntu20.04-docker-8c-8g-15155 does not seem to be running inside a container [2022-06-20T13:01:10.481Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-20T13:01:10.857Z] $ docker top acfa64e10bc8d3cee0304ba4c9de408f6566a26a55ace9d4d08fb07c67e124e9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T13:01:11.214Z] + make test [2022-06-20T13:01:11.214Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-20T13:01:11.479Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-20T13:01:21.484Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-20T13:01:21.484Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.036s coverage: 65.7% of statements [2022-06-20T13:01:28.061Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T13:01:31.360Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T13:01:31.360Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T13:01:31.360Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T13:01:31.376Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T13:01:31.396Z] $ docker stop --time=1 acfa64e10bc8d3cee0304ba4c9de408f6566a26a55ace9d4d08fb07c67e124e9 [2022-06-20T13:01:33.016Z] $ docker rm -f acfa64e10bc8d3cee0304ba4c9de408f6566a26a55ace9d4d08fb07c67e124e9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T13:01:33.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T13:01:33.519Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-20T13:01:34.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T13:01:34.341Z] + ls -al . [2022-06-20T13:01:34.341Z] total 192 [2022-06-20T13:01:34.341Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 13:01 . [2022-06-20T13:01:34.341Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 13:00 .. [2022-06-20T13:01:34.341Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 13:00 .git [2022-06-20T13:01:34.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:00 .github [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 13:00 .gitignore [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 13:00 .golangci.yml [2022-06-20T13:01:34.341Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 13:00 .semver [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 13:00 Attribution.txt [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 13:00 CHANGELOG.md [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 13:00 Dockerfile [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 13:00 GOVERNANCE.md [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 13:00 Jenkinsfile [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 13:00 LICENSE [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 13:00 Makefile [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 13:00 OWNERS.md [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 13:00 README.md [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 13:00 VERSION [2022-06-20T13:01:34.341Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 13:00 bin [2022-06-20T13:01:34.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:00 cmd [2022-06-20T13:01:34.341Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 13:01 coverage.out [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 13:00 go.mod [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 13:00 go.sum [2022-06-20T13:01:34.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:00 internal [2022-06-20T13:01:34.341Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:00 snap [2022-06-20T13:01:34.341Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 13:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:01:34.696Z] + 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=3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 --label arch=amd64 --label version=0.0.0 . [2022-06-20T13:01:34.696Z] Sending build context to Docker daemon 23.17MB [2022-06-20T13:01:34.696Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T13:01:34.696Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-20T13:01:34.696Z] ---> 2f365f45a31c [2022-06-20T13:01:34.696Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T13:01:34.957Z] ---> Running in 2a20984e032f [2022-06-20T13:01:34.957Z] Removing intermediate container 2a20984e032f [2022-06-20T13:01:34.957Z] ---> 518ae946e91e [2022-06-20T13:01:34.957Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T13:01:34.957Z] ---> Running in 45de0788f047 [2022-06-20T13:01:34.957Z] Removing intermediate container 45de0788f047 [2022-06-20T13:01:34.957Z] ---> 0eaf7bd60ee2 [2022-06-20T13:01:34.957Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-20T13:01:35.216Z] ---> Running in ab0b7e3e771c [2022-06-20T13:01:35.216Z] Removing intermediate container ab0b7e3e771c [2022-06-20T13:01:35.216Z] ---> 181005e09093 [2022-06-20T13:01:35.216Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T13:01:35.216Z] ---> Running in fc5a65424eae [2022-06-20T13:01:35.786Z] Removing intermediate container fc5a65424eae [2022-06-20T13:01:35.786Z] ---> ae2989df4104 [2022-06-20T13:01:35.786Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T13:01:35.786Z] ---> Running in f338ab9467c9 [2022-06-20T13:01:36.047Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T13:01:36.989Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T13:01:37.250Z] OK: 224 MiB in 56 packages [2022-06-20T13:01:37.510Z] Removing intermediate container f338ab9467c9 [2022-06-20T13:01:37.510Z] ---> aa57e4d44700 [2022-06-20T13:01:37.510Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-20T13:01:37.771Z] ---> 2bed6432d157 [2022-06-20T13:01:37.771Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T13:01:37.771Z] ---> Running in e419914afff2 [2022-06-20T13:01:38.341Z] Removing intermediate container e419914afff2 [2022-06-20T13:01:38.341Z] ---> 7ccf7af72333 [2022-06-20T13:01:38.341Z] Step 10/26 : COPY . . [2022-06-20T13:01:38.910Z] ---> 3cf452fc0a83 [2022-06-20T13:01:38.911Z] Step 11/26 : ARG MAKE='make build' [2022-06-20T13:01:38.911Z] ---> Running in b3574ef32e72 [2022-06-20T13:01:38.911Z] Removing intermediate container b3574ef32e72 [2022-06-20T13:01:38.911Z] ---> 94e52e4dedde [2022-06-20T13:01:38.911Z] Step 12/26 : RUN $MAKE [2022-06-20T13:01:38.911Z] ---> Running in a3780d4b36a5 [2022-06-20T13:01:39.170Z] 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 [2022-06-20T13:02:01.129Z] Removing intermediate container a3780d4b36a5 [2022-06-20T13:02:01.129Z] ---> 8f9008d9abdc [2022-06-20T13:02:01.129Z] Step 13/26 : FROM alpine:3.14 [2022-06-20T13:02:01.129Z] 3.14: Pulling from library/alpine [2022-06-20T13:02:01.129Z] 8663204ce13b: Pulling fs layer [2022-06-20T13:02:01.129Z] 8663204ce13b: Verifying Checksum [2022-06-20T13:02:01.129Z] 8663204ce13b: Download complete [2022-06-20T13:02:01.129Z] 8663204ce13b: Pull complete [2022-06-20T13:02:01.129Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T13:02:01.129Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T13:02:01.129Z] ---> e04c818066af [2022-06-20T13:02:01.129Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-20T13:02:01.129Z] ---> Running in f3eca0a8ee2f [2022-06-20T13:02:01.129Z] Removing intermediate container f3eca0a8ee2f [2022-06-20T13:02:01.129Z] ---> 8e71ca7a7170 [2022-06-20T13:02:01.129Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T13:02:01.129Z] ---> Running in 71d43ef556e8 [2022-06-20T13:02:01.129Z] Removing intermediate container 71d43ef556e8 [2022-06-20T13:02:01.129Z] ---> 0335a36f9982 [2022-06-20T13:02:01.129Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T13:02:01.129Z] ---> Running in c66e01c554da [2022-06-20T13:02:01.129Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-20T13:02:01.129Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-20T13:02:01.129Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T13:02:01.129Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T13:02:01.129Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T13:02:01.129Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T13:02:01.129Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T13:02:01.129Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T13:02:01.129Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T13:02:01.129Z] OK: 8 MiB in 20 packages [2022-06-20T13:02:01.699Z] Removing intermediate container c66e01c554da [2022-06-20T13:02:01.699Z] ---> 8b03e559b7b5 [2022-06-20T13:02:01.699Z] Step 17/26 : WORKDIR / [2022-06-20T13:02:01.699Z] ---> Running in a93c8464326e [2022-06-20T13:02:01.699Z] Removing intermediate container a93c8464326e [2022-06-20T13:02:01.699Z] ---> 30be904c7379 [2022-06-20T13:02:01.699Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-20T13:02:01.699Z] ---> 3f5e4c1d2041 [2022-06-20T13:02:01.699Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-20T13:02:01.958Z] ---> b270a4afbe25 [2022-06-20T13:02:01.958Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-20T13:02:02.528Z] ---> e80912ba7144 [2022-06-20T13:02:02.528Z] Step 21/26 : EXPOSE 59900 [2022-06-20T13:02:02.528Z] ---> Running in 2037ebb93a90 [2022-06-20T13:02:02.528Z] Removing intermediate container 2037ebb93a90 [2022-06-20T13:02:02.528Z] ---> c7278c13a0fa [2022-06-20T13:02:02.528Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-20T13:02:02.528Z] ---> Running in ddb4d7d42030 [2022-06-20T13:02:02.528Z] Removing intermediate container ddb4d7d42030 [2022-06-20T13:02:02.528Z] ---> 6075364d1048 [2022-06-20T13:02:02.528Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-20T13:02:02.789Z] ---> Running in 1d7a7b67744e [2022-06-20T13:02:02.789Z] Removing intermediate container 1d7a7b67744e [2022-06-20T13:02:02.789Z] ---> b2b4fbd4b125 [2022-06-20T13:02:02.789Z] Step 24/26 : LABEL arch=amd64 [2022-06-20T13:02:02.789Z] ---> Running in 66222dc0affc [2022-06-20T13:02:02.789Z] Removing intermediate container 66222dc0affc [2022-06-20T13:02:02.789Z] ---> ce7e9d713358 [2022-06-20T13:02:02.789Z] Step 25/26 : LABEL git_sha=3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 [2022-06-20T13:02:02.789Z] ---> Running in 03eb40b0b804 [2022-06-20T13:02:03.050Z] Removing intermediate container 03eb40b0b804 [2022-06-20T13:02:03.050Z] ---> f05e2575772c [2022-06-20T13:02:03.050Z] Step 26/26 : LABEL version=0.0.0 [2022-06-20T13:02:03.050Z] ---> Running in 3fa822278a91 [2022-06-20T13:02:03.050Z] Removing intermediate container 3fa822278a91 [2022-06-20T13:02:03.050Z] ---> f7b684013c8a [2022-06-20T13:02:03.050Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T13:02:03.050Z] Successfully built f7b684013c8a [2022-06-20T13:02:03.050Z] 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 [2022-06-20T13:02:03.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T13:02:03.469Z] [2022-06-20T13:02:03.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:02:03.781Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T13:02:03.781Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-20T13:02:03.781Z] 5eb5b503b376: Pulling fs layer [2022-06-20T13:02:03.781Z] 5c69ac0246d0: Pulling fs layer [2022-06-20T13:02:03.781Z] ec43610c2a17: Pulling fs layer [2022-06-20T13:02:03.781Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-20T13:02:03.781Z] 33b1e0a273af: Pulling fs layer [2022-06-20T13:02:03.781Z] 5d3b04190fa2: Pulling fs layer [2022-06-20T13:02:03.781Z] 2f39f015ded8: Pulling fs layer [2022-06-20T13:02:03.781Z] 33b1e0a273af: Waiting [2022-06-20T13:02:03.781Z] 5d3b04190fa2: Waiting [2022-06-20T13:02:03.781Z] 2f39f015ded8: Waiting [2022-06-20T13:02:03.781Z] 3a2ae6a8a46f: Waiting [2022-06-20T13:02:03.781Z] 5c69ac0246d0: Verifying Checksum [2022-06-20T13:02:03.781Z] 5c69ac0246d0: Download complete [2022-06-20T13:02:03.781Z] 3a2ae6a8a46f: Download complete [2022-06-20T13:02:03.781Z] 33b1e0a273af: Verifying Checksum [2022-06-20T13:02:03.781Z] 33b1e0a273af: Download complete [2022-06-20T13:02:03.781Z] 5d3b04190fa2: Download complete [2022-06-20T13:02:03.781Z] ec43610c2a17: Verifying Checksum [2022-06-20T13:02:03.781Z] ec43610c2a17: Download complete [2022-06-20T13:02:04.043Z] 5eb5b503b376: Verifying Checksum [2022-06-20T13:02:04.043Z] 5eb5b503b376: Download complete [2022-06-20T13:02:04.614Z] 2f39f015ded8: Verifying Checksum [2022-06-20T13:02:04.614Z] 2f39f015ded8: Download complete [2022-06-20T13:02:05.182Z] 5eb5b503b376: Pull complete [2022-06-20T13:02:05.442Z] 5c69ac0246d0: Pull complete [2022-06-20T13:02:05.702Z] ec43610c2a17: Pull complete [2022-06-20T13:02:05.702Z] 3a2ae6a8a46f: Pull complete [2022-06-20T13:02:05.964Z] 33b1e0a273af: Pull complete [2022-06-20T13:02:05.964Z] 5d3b04190fa2: Pull complete [2022-06-20T13:02:10.161Z] 2f39f015ded8: Pull complete [2022-06-20T13:02:10.161Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-20T13:02:10.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T13:02:10.161Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T13:02:10.245Z] prd-ubuntu20.04-docker-8c-8g-15155 does not seem to be running inside a container [2022-06-20T13:02:10.281Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T13:02:11.574Z] $ docker top c0c4d0bc630ff398408712ab0652af403a384546d9d3a4fce42f4336971fe369 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:02:11.994Z] ---> job-cost.sh [2022-06-20T13:02:11.994Z] lf-activate-venv: SKIPPING [2022-06-20T13:02:11.994Z] INFO: No Stack... [2022-06-20T13:02:12.255Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T13:02:12.824Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T13:02:13.113Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-20T13:02:13.113Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T13:02:13.125Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-19-stack-cost] [2022-06-20T13:02:13.131Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-19-stack-cost] did not exist. Created. [2022-06-20T13:02:13.131Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T13:02:13.431Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-20T13:02:13.453Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T13:02:13.462Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T13:02:13.485Z] $ docker stop --time=1 c0c4d0bc630ff398408712ab0652af403a384546d9d3a4fce42f4336971fe369 [2022-06-20T13:02:14.632Z] $ docker rm -f c0c4d0bc630ff398408712ab0652af403a384546d9d3a4fce42f4336971fe369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-20T13:02:29.098Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15156 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-20T13:02:29.110Z] Running in /w/workspace/device-virtual-go/19 [Pipeline] { [Pipeline] checkout [2022-06-20T13:02:29.151Z] The recommended git tool is: git [2022-06-20T13:02:34.878Z] using credential edgex-jenkins-ssh [2022-06-20T13:02:34.896Z] Cloning the remote Git repository [2022-06-20T13:02:35.015Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T13:02:35.238Z] > git init /w/workspace/device-virtual-go/19 # timeout=10 [2022-06-20T13:02:35.356Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T13:02:35.357Z] > git --version # timeout=10 [2022-06-20T13:02:35.381Z] > git --version # 'git version 2.25.1' [2022-06-20T13:02:35.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T13:02:35.452Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T13:02:37.984Z] Merging remotes/origin/main commit 36f1c9105c586ba8e2014e0f524de26550782ad6 into PR head commit 721fa828bf61e692f5af7701e9ac6b8230464ade [2022-06-20T13:02:37.355Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-20T13:02:37.381Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T13:02:37.407Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-20T13:02:37.441Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T13:02:37.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T13:02:37.455Z] > 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 [2022-06-20T13:02:38.005Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T13:02:38.019Z] > git checkout -f 721fa828bf61e692f5af7701e9ac6b8230464ade # timeout=10 [2022-06-20T13:02:38.108Z] > git remote # timeout=10 [2022-06-20T13:02:38.126Z] > git config --get remote.origin.url # timeout=10 [2022-06-20T13:02:38.140Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T13:02:38.151Z] > git merge 36f1c9105c586ba8e2014e0f524de26550782ad6 # timeout=10 [2022-06-20T13:02:38.223Z] Merge succeeded, producing e52cca2959151ac3ee509c3e12d7c12478e89d0a [2022-06-20T13:02:38.223Z] Checking out Revision e52cca2959151ac3ee509c3e12d7c12478e89d0a (PR-290) [2022-06-20T13:02:38.211Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-20T13:02:38.233Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T13:02:38.245Z] > git checkout -f e52cca2959151ac3ee509c3e12d7c12478e89d0a # timeout=10 [2022-06-20T13:02:42.395Z] Commit message: "Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD" [2022-06-20T13:02:42.419Z] First time build. Skipping changelog. [2022-06-20T13:02:42.408Z] > git rev-list --no-walk 9f47a2640d7f3d0098937265c8fc34b7cb336ead # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T13:02:43.425Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-20T13:02:43.425Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T13:02:43.425Z] Dload Upload Total Spent Left Speed [2022-06-20T13:02:43.425Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 63487 0 --:--:-- --:--:-- --:--:-- 63817 [Pipeline] sh [2022-06-20T13:02:44.124Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-20T13:02:44.483Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-20T13:02:44.483Z] sudo tee /etc/docker/daemon.new [2022-06-20T13:02:44.483Z] { [2022-06-20T13:02:44.483Z] "registry-mirrors": [ [2022-06-20T13:02:44.483Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-20T13:02:44.483Z] ], [2022-06-20T13:02:44.483Z] "bip": "10.250.0.254/24", [2022-06-20T13:02:44.483Z] "hosts": [ [2022-06-20T13:02:44.483Z] "tcp://0.0.0.0:5555", [2022-06-20T13:02:44.483Z] "unix:///var/run/docker.sock" [2022-06-20T13:02:44.483Z] ], [2022-06-20T13:02:44.483Z] "mtu": 1458, [2022-06-20T13:02:44.483Z] "selinux-enabled": true, [2022-06-20T13:02:44.483Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-20T13:02:44.483Z] } [Pipeline] sh [2022-06-20T13:02:44.835Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-20T13:02:45.173Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T13:03:03.500Z] provisioning config files... [2022-06-20T13:03:03.522Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/19@tmp/config571618235018292419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:03:03.881Z] ---> docker-login.sh [2022-06-20T13:03:03.881Z] nexus3.edgexfoundry.org:10001 [2022-06-20T13:03:04.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:03:04.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:03:04.755Z] Configure a credential helper to remove this warning. See [2022-06-20T13:03:04.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:03:04.755Z] [2022-06-20T13:03:04.755Z] Login Succeeded [2022-06-20T13:03:04.755Z] nexus3.edgexfoundry.org:10002 [2022-06-20T13:03:05.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:03:05.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:03:05.027Z] Configure a credential helper to remove this warning. See [2022-06-20T13:03:05.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:03:05.027Z] [2022-06-20T13:03:05.027Z] Login Succeeded [2022-06-20T13:03:05.300Z] nexus3.edgexfoundry.org:10003 [2022-06-20T13:03:05.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:03:05.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:03:05.574Z] Configure a credential helper to remove this warning. See [2022-06-20T13:03:05.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:03:05.574Z] [2022-06-20T13:03:05.574Z] Login Succeeded [2022-06-20T13:03:05.574Z] nexus3.edgexfoundry.org:10004 [2022-06-20T13:03:06.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:03:06.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:03:06.175Z] Configure a credential helper to remove this warning. See [2022-06-20T13:03:06.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:03:06.175Z] [2022-06-20T13:03:06.175Z] Login Succeeded [2022-06-20T13:03:06.175Z] docker.io [2022-06-20T13:03:06.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T13:03:06.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T13:03:06.724Z] Configure a credential helper to remove this warning. See [2022-06-20T13:03:06.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T13:03:06.724Z] [2022-06-20T13:03:06.993Z] Login Succeeded [2022-06-20T13:03:06.993Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T13:03:07.011Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T13:03:07.489Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T13:03:07.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T13:03:07.525Z] ========================================================= [2022-06-20T13:03:07.525Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-20T13:03:07.525Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:03:07.893Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-20T13:03:08.493Z] Sending build context to Docker daemon 11.75MB [2022-06-20T13:03:08.494Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T13:03:08.494Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T13:03:08.494Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-20T13:03:08.494Z] 9b3977197b4f: Pulling fs layer [2022-06-20T13:03:08.494Z] 1a89e8eeedd5: Pulling fs layer [2022-06-20T13:03:08.494Z] 94645a83ff95: Pulling fs layer [2022-06-20T13:03:08.494Z] e6fb740bc735: Pulling fs layer [2022-06-20T13:03:08.494Z] 3a77bd46dcc9: Pulling fs layer [2022-06-20T13:03:08.494Z] 355e64cbe906: Pulling fs layer [2022-06-20T13:03:08.494Z] 63ab81a10011: Pulling fs layer [2022-06-20T13:03:08.494Z] 555d1d1c4555: Pulling fs layer [2022-06-20T13:03:08.494Z] 7d9057610161: Pulling fs layer [2022-06-20T13:03:08.494Z] e6fb740bc735: Waiting [2022-06-20T13:03:08.494Z] 3a77bd46dcc9: Waiting [2022-06-20T13:03:08.494Z] 355e64cbe906: Waiting [2022-06-20T13:03:08.494Z] 63ab81a10011: Waiting [2022-06-20T13:03:08.494Z] 555d1d1c4555: Waiting [2022-06-20T13:03:08.494Z] 7d9057610161: Waiting [2022-06-20T13:03:08.780Z] 94645a83ff95: Verifying Checksum [2022-06-20T13:03:08.780Z] 94645a83ff95: Download complete [2022-06-20T13:03:08.780Z] 1a89e8eeedd5: Verifying Checksum [2022-06-20T13:03:08.780Z] 1a89e8eeedd5: Download complete [2022-06-20T13:03:08.780Z] 3a77bd46dcc9: Verifying Checksum [2022-06-20T13:03:08.780Z] 3a77bd46dcc9: Download complete [2022-06-20T13:03:08.780Z] 355e64cbe906: Verifying Checksum [2022-06-20T13:03:08.780Z] 355e64cbe906: Download complete [2022-06-20T13:03:08.780Z] 9b3977197b4f: Download complete [2022-06-20T13:03:08.780Z] 63ab81a10011: Verifying Checksum [2022-06-20T13:03:08.780Z] 63ab81a10011: Download complete [2022-06-20T13:03:09.774Z] 9b3977197b4f: Pull complete [2022-06-20T13:03:09.774Z] 7d9057610161: Verifying Checksum [2022-06-20T13:03:09.774Z] 7d9057610161: Download complete [2022-06-20T13:03:10.378Z] 1a89e8eeedd5: Pull complete [2022-06-20T13:03:10.651Z] 94645a83ff95: Pull complete [2022-06-20T13:03:10.651Z] 555d1d1c4555: Verifying Checksum [2022-06-20T13:03:10.651Z] 555d1d1c4555: Download complete [2022-06-20T13:03:11.250Z] e6fb740bc735: Verifying Checksum [2022-06-20T13:03:11.250Z] e6fb740bc735: Download complete [2022-06-20T13:03:23.656Z] e6fb740bc735: Pull complete [2022-06-20T13:03:23.656Z] 3a77bd46dcc9: Pull complete [2022-06-20T13:03:23.656Z] 355e64cbe906: Pull complete [2022-06-20T13:03:23.656Z] 63ab81a10011: Pull complete [2022-06-20T13:03:30.388Z] 555d1d1c4555: Pull complete [2022-06-20T13:03:31.834Z] 7d9057610161: Pull complete [2022-06-20T13:03:31.834Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-20T13:03:31.834Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T13:03:31.834Z] ---> 819e984ddca1 [2022-06-20T13:03:31.834Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T13:03:33.826Z] ---> Running in ba9178baecb1 [2022-06-20T13:03:33.826Z] Removing intermediate container ba9178baecb1 [2022-06-20T13:03:33.826Z] ---> edb11f37326d [2022-06-20T13:03:33.826Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T13:03:34.100Z] ---> Running in b3f5269ef6f6 [2022-06-20T13:03:34.378Z] Removing intermediate container b3f5269ef6f6 [2022-06-20T13:03:34.378Z] ---> 008804b54982 [2022-06-20T13:03:34.378Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-20T13:03:34.378Z] ---> Running in 0c85923062d1 [2022-06-20T13:03:35.820Z] Removing intermediate container 0c85923062d1 [2022-06-20T13:03:35.820Z] ---> cd073088cd30 [2022-06-20T13:03:35.820Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T13:03:35.820Z] ---> Running in 83dfc6e5e2cb [2022-06-20T13:03:37.818Z] Removing intermediate container 83dfc6e5e2cb [2022-06-20T13:03:37.818Z] ---> 0466f2f0d40d [2022-06-20T13:03:37.818Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T13:03:37.818Z] ---> Running in 20a0f9cbec1a [2022-06-20T13:03:38.812Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T13:03:39.405Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T13:03:40.384Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T13:03:40.384Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T13:03:40.384Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T13:03:40.658Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T13:03:40.930Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T13:03:40.930Z] OK: 224 MiB in 56 packages [2022-06-20T13:03:41.914Z] Removing intermediate container 20a0f9cbec1a [2022-06-20T13:03:41.914Z] ---> 3f7751004ea8 [2022-06-20T13:03:41.914Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-20T13:03:42.194Z] ---> dd549d6f996d [2022-06-20T13:03:42.194Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T13:03:42.475Z] ---> Running in 15731d8ab971 [2022-06-20T13:04:29.514Z] Removing intermediate container 15731d8ab971 [2022-06-20T13:04:29.514Z] ---> 9e42ad906544 [2022-06-20T13:04:29.514Z] Step 10/12 : COPY . . [2022-06-20T13:04:29.514Z] ---> 3e3cfa778782 [2022-06-20T13:04:29.514Z] Step 11/12 : ARG MAKE='make build' [2022-06-20T13:04:29.514Z] ---> Running in dcb9cbe3acee [2022-06-20T13:04:29.514Z] Removing intermediate container dcb9cbe3acee [2022-06-20T13:04:29.514Z] ---> 3b9ea2b28341 [2022-06-20T13:04:29.514Z] Step 12/12 : RUN $MAKE [2022-06-20T13:04:29.514Z] ---> Running in 51911cf300d1 [2022-06-20T13:04:29.514Z] noop [2022-06-20T13:04:29.514Z] Removing intermediate container 51911cf300d1 [2022-06-20T13:04:29.514Z] ---> 609aa36bfc38 [2022-06-20T13:04:29.514Z] Successfully built 609aa36bfc38 [2022-06-20T13:04:29.514Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:04:29.886Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T13:04:29.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T13:04:30.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-15156 does not seem to be running inside a container [2022-06-20T13:04:30.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/19 -v /w/workspace/device-virtual-go/19:/w/workspace/device-virtual-go/19:rw,z -v /w/workspace/device-virtual-go/19@tmp:/w/workspace/device-virtual-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-20T13:04:31.542Z] $ docker top 1e35db481a78172100f3529de1f721ddff7ede3ea1ea113adc799a5c3656d1a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T13:04:32.440Z] + go version [2022-06-20T13:04:32.440Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-20T13:04:32.474Z] $ docker stop --time=1 1e35db481a78172100f3529de1f721ddff7ede3ea1ea113adc799a5c3656d1a6 [2022-06-20T13:04:34.130Z] $ docker rm -f 1e35db481a78172100f3529de1f721ddff7ede3ea1ea113adc799a5c3656d1a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:04:34.725Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T13:04:34.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T13:04:34.979Z] prd-ubuntu20.04-docker-arm64-4c-16g-15156 does not seem to be running inside a container [2022-06-20T13:04:35.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/19 -v /w/workspace/device-virtual-go/19:/w/workspace/device-virtual-go/19:rw,z -v /w/workspace/device-virtual-go/19@tmp:/w/workspace/device-virtual-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-20T13:04:36.384Z] $ docker top aef20d6d2f1ba0a2bd4934391f66acd56cd1e988149cbaee403d71dea29bd791 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T13:04:37.297Z] + make test [2022-06-20T13:04:37.297Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-20T13:04:38.752Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-20T13:06:00.606Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-20T13:06:00.606Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.134s coverage: 65.7% of statements [2022-06-20T13:06:00.606Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-20T13:06:00.606Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T13:06:22.818Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T13:06:22.818Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T13:06:22.818Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T13:06:24.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T13:06:24.301Z] $ docker stop --time=1 aef20d6d2f1ba0a2bd4934391f66acd56cd1e988149cbaee403d71dea29bd791 [2022-06-20T13:06:26.014Z] $ docker rm -f aef20d6d2f1ba0a2bd4934391f66acd56cd1e988149cbaee403d71dea29bd791 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T13:06:26.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T13:06:26.930Z] Warning: overwriting stash ‘coverage-report’ [2022-06-20T13:06:27.445Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T13:06:27.858Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T13:06:28.196Z] + ls -al . [2022-06-20T13:06:28.196Z] total 188 [2022-06-20T13:06:28.196Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 13:06 . [2022-06-20T13:06:28.196Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 13:02 .. [2022-06-20T13:06:28.196Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 13:02 .git [2022-06-20T13:06:28.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:02 .github [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 13:02 .gitignore [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 13:02 .golangci.yml [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 13:02 Attribution.txt [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 13:02 CHANGELOG.md [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 13:02 Dockerfile [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 13:02 GOVERNANCE.md [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 13:02 Jenkinsfile [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 13:02 LICENSE [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 13:02 Makefile [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 13:02 OWNERS.md [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 13:02 README.md [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 13:00 VERSION [2022-06-20T13:06:28.196Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 13:02 bin [2022-06-20T13:06:28.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:02 cmd [2022-06-20T13:06:28.196Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 13:05 coverage.out [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 13:02 go.mod [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 13:02 go.sum [2022-06-20T13:06:28.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:02 internal [2022-06-20T13:06:28.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 13:02 snap [2022-06-20T13:06:28.196Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 13:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:06:28.550Z] + 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=e52cca2959151ac3ee509c3e12d7c12478e89d0a --label arch=arm64 --label version=0.0.0 . [2022-06-20T13:06:29.195Z] Sending build context to Docker daemon 11.79MB [2022-06-20T13:06:29.195Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T13:06:29.195Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-20T13:06:29.195Z] ---> 609aa36bfc38 [2022-06-20T13:06:29.195Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T13:06:29.488Z] ---> Running in 17b272958766 [2022-06-20T13:06:29.795Z] Removing intermediate container 17b272958766 [2022-06-20T13:06:29.795Z] ---> f9d0dd1d9f7e [2022-06-20T13:06:29.795Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T13:06:29.795Z] ---> Running in 322539d54833 [2022-06-20T13:06:30.410Z] Removing intermediate container 322539d54833 [2022-06-20T13:06:30.410Z] ---> ce2975e975d3 [2022-06-20T13:06:30.410Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-20T13:06:30.410Z] ---> Running in e5d3818f5bfb [2022-06-20T13:06:30.694Z] Removing intermediate container e5d3818f5bfb [2022-06-20T13:06:30.694Z] ---> 5f84cbe6bafc [2022-06-20T13:06:30.694Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T13:06:30.694Z] ---> Running in b8643b03a4e2 [2022-06-20T13:06:32.682Z] Removing intermediate container b8643b03a4e2 [2022-06-20T13:06:32.682Z] ---> ae7d4372528c [2022-06-20T13:06:32.682Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T13:06:32.682Z] ---> Running in 7431f647f9d1 [2022-06-20T13:06:33.661Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T13:06:34.264Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T13:06:35.242Z] OK: 224 MiB in 56 packages [2022-06-20T13:06:35.846Z] Removing intermediate container 7431f647f9d1 [2022-06-20T13:06:35.846Z] ---> 5847ff68485a [2022-06-20T13:06:35.846Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-20T13:06:36.451Z] ---> 5baf90e55682 [2022-06-20T13:06:36.451Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T13:06:36.451Z] ---> Running in 276512700fb7 [2022-06-20T13:06:38.426Z] Removing intermediate container 276512700fb7 [2022-06-20T13:06:38.426Z] ---> 2d9d9229281f [2022-06-20T13:06:38.426Z] Step 10/26 : COPY . . [2022-06-20T13:06:39.858Z] ---> e120ea8dbef6 [2022-06-20T13:06:39.858Z] Step 11/26 : ARG MAKE='make build' [2022-06-20T13:06:39.858Z] ---> Running in d84fc38a9376 [2022-06-20T13:06:40.136Z] Removing intermediate container d84fc38a9376 [2022-06-20T13:06:40.136Z] ---> 991fdc023aad [2022-06-20T13:06:40.136Z] Step 12/26 : RUN $MAKE [2022-06-20T13:06:40.136Z] ---> Running in 33cbb131c808 [2022-06-20T13:06:41.117Z] 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 [2022-06-20T13:08:47.997Z] Removing intermediate container 33cbb131c808 [2022-06-20T13:08:47.997Z] ---> 20aa40bfab38 [2022-06-20T13:08:47.997Z] Step 13/26 : FROM alpine:3.14 [2022-06-20T13:08:47.997Z] 3.14: Pulling from library/alpine [2022-06-20T13:08:47.997Z] 455c02918c45: Pulling fs layer [2022-06-20T13:08:47.997Z] 455c02918c45: Verifying Checksum [2022-06-20T13:08:47.997Z] 455c02918c45: Download complete [2022-06-20T13:08:47.997Z] 455c02918c45: Pull complete [2022-06-20T13:08:47.997Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T13:08:47.997Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T13:08:47.997Z] ---> ac73e934f311 [2022-06-20T13:08:47.997Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-20T13:08:47.997Z] ---> Running in aadcc34ef700 [2022-06-20T13:08:47.997Z] Removing intermediate container aadcc34ef700 [2022-06-20T13:08:47.997Z] ---> c78b63ecfe95 [2022-06-20T13:08:47.997Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T13:08:47.997Z] ---> Running in 32b4865435cc [2022-06-20T13:08:47.997Z] Removing intermediate container 32b4865435cc [2022-06-20T13:08:47.997Z] ---> fc984df40df9 [2022-06-20T13:08:47.997Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T13:08:47.997Z] ---> Running in dd86ecd2de27 [2022-06-20T13:08:47.997Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-20T13:08:47.997Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-20T13:08:47.997Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T13:08:47.997Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T13:08:47.997Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T13:08:47.997Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T13:08:47.997Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T13:08:47.997Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T13:08:47.997Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T13:08:47.997Z] OK: 8 MiB in 20 packages [2022-06-20T13:08:47.997Z] Removing intermediate container dd86ecd2de27 [2022-06-20T13:08:47.997Z] ---> 7d0bbbbed78f [2022-06-20T13:08:47.997Z] Step 17/26 : WORKDIR / [2022-06-20T13:08:47.997Z] ---> Running in 8ffdc54107d7 [2022-06-20T13:08:47.997Z] Removing intermediate container 8ffdc54107d7 [2022-06-20T13:08:47.997Z] ---> d7934863a2af [2022-06-20T13:08:47.997Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-20T13:08:47.997Z] ---> 463bcc57c794 [2022-06-20T13:08:47.997Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-20T13:08:47.997Z] ---> 29b43f745ac1 [2022-06-20T13:08:47.997Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-20T13:08:47.997Z] ---> a5e3c547da5b [2022-06-20T13:08:47.997Z] Step 21/26 : EXPOSE 59900 [2022-06-20T13:08:47.997Z] ---> Running in 388e8bbae4c6 [2022-06-20T13:08:47.997Z] Removing intermediate container 388e8bbae4c6 [2022-06-20T13:08:47.997Z] ---> e1783ffd5f29 [2022-06-20T13:08:47.997Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-20T13:08:47.997Z] ---> Running in d8563780cbc6 [2022-06-20T13:08:47.997Z] Removing intermediate container d8563780cbc6 [2022-06-20T13:08:47.997Z] ---> e98daa7d2900 [2022-06-20T13:08:47.997Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-20T13:08:47.997Z] ---> Running in 8eb7a92793a5 [2022-06-20T13:08:47.997Z] Removing intermediate container 8eb7a92793a5 [2022-06-20T13:08:47.997Z] ---> 34bb69879f25 [2022-06-20T13:08:47.997Z] Step 24/26 : LABEL arch=arm64 [2022-06-20T13:08:47.997Z] ---> Running in 9283bf95b992 [2022-06-20T13:08:47.997Z] Removing intermediate container 9283bf95b992 [2022-06-20T13:08:47.997Z] ---> 8635dab4a257 [2022-06-20T13:08:47.997Z] Step 25/26 : LABEL git_sha=e52cca2959151ac3ee509c3e12d7c12478e89d0a [2022-06-20T13:08:47.997Z] ---> Running in e67fa1cc0c90 [2022-06-20T13:08:47.997Z] Removing intermediate container e67fa1cc0c90 [2022-06-20T13:08:47.997Z] ---> e2bc276ed563 [2022-06-20T13:08:47.997Z] Step 26/26 : LABEL version=0.0.0 [2022-06-20T13:08:47.997Z] ---> Running in 3e43e79e3932 [2022-06-20T13:08:48.275Z] Removing intermediate container 3e43e79e3932 [2022-06-20T13:08:48.275Z] ---> ec079978cd1e [2022-06-20T13:08:48.275Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T13:08:48.275Z] Successfully built ec079978cd1e [2022-06-20T13:08:48.275Z] 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 [2022-06-20T13:08:48.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T13:08:48.751Z] [2022-06-20T13:08:48.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:08:49.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T13:08:49.385Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-20T13:08:49.385Z] 8998bd30e6a1: Pulling fs layer [2022-06-20T13:08:49.385Z] 04944245beec: Pulling fs layer [2022-06-20T13:08:49.385Z] 699f458cf7ca: Pulling fs layer [2022-06-20T13:08:49.385Z] 765212b225bb: Pulling fs layer [2022-06-20T13:08:49.385Z] f23df028b6ca: Pulling fs layer [2022-06-20T13:08:49.385Z] d65c8cfc05b1: Pulling fs layer [2022-06-20T13:08:49.385Z] 2437ff75d9bd: Pulling fs layer [2022-06-20T13:08:49.385Z] f23df028b6ca: Waiting [2022-06-20T13:08:49.385Z] d65c8cfc05b1: Waiting [2022-06-20T13:08:49.385Z] 2437ff75d9bd: Waiting [2022-06-20T13:08:49.385Z] 765212b225bb: Waiting [2022-06-20T13:08:49.385Z] 04944245beec: Verifying Checksum [2022-06-20T13:08:49.385Z] 04944245beec: Download complete [2022-06-20T13:08:49.385Z] 765212b225bb: Verifying Checksum [2022-06-20T13:08:49.385Z] 765212b225bb: Download complete [2022-06-20T13:08:49.385Z] f23df028b6ca: Verifying Checksum [2022-06-20T13:08:49.385Z] f23df028b6ca: Download complete [2022-06-20T13:08:49.385Z] d65c8cfc05b1: Verifying Checksum [2022-06-20T13:08:49.385Z] d65c8cfc05b1: Download complete [2022-06-20T13:08:49.662Z] 699f458cf7ca: Verifying Checksum [2022-06-20T13:08:49.662Z] 699f458cf7ca: Download complete [2022-06-20T13:08:49.935Z] 8998bd30e6a1: Verifying Checksum [2022-06-20T13:08:49.935Z] 8998bd30e6a1: Download complete [2022-06-20T13:08:52.562Z] 2437ff75d9bd: Verifying Checksum [2022-06-20T13:08:52.562Z] 2437ff75d9bd: Download complete [2022-06-20T13:08:54.546Z] 8998bd30e6a1: Pull complete [2022-06-20T13:08:54.819Z] 04944245beec: Pull complete [2022-06-20T13:08:56.253Z] 699f458cf7ca: Pull complete [2022-06-20T13:08:56.527Z] 765212b225bb: Pull complete [2022-06-20T13:08:57.506Z] f23df028b6ca: Pull complete [2022-06-20T13:08:57.506Z] d65c8cfc05b1: Pull complete [2022-06-20T13:09:12.593Z] 2437ff75d9bd: Pull complete [2022-06-20T13:09:12.593Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-20T13:09:12.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T13:09:12.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T13:09:13.005Z] prd-ubuntu20.04-docker-arm64-4c-16g-15156 does not seem to be running inside a container [2022-06-20T13:09:13.107Z] $ 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/19 -v /w/workspace/device-virtual-go/19:/w/workspace/device-virtual-go/19:rw,z -v /w/workspace/device-virtual-go/19@tmp:/w/workspace/device-virtual-go/19@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-20T13:09:15.649Z] $ docker top 9bd3e989a29e27cd1a6c562a9d8b1a914036de4fcb8ad59d0b81207b7ce87753 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:09:16.560Z] ---> job-cost.sh [2022-06-20T13:09:16.560Z] lf-activate-venv: SKIPPING [2022-06-20T13:09:16.560Z] INFO: No Stack... [2022-06-20T13:09:16.834Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-20T13:09:17.811Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T13:09:18.470Z] + cat /w/workspace/device-virtual-go/19/archives/cost.csv [2022-06-20T13:09:18.470Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T13:09:18.534Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-19-stack-cost] [2022-06-20T13:09:18.540Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-19-stack-cost] did not exist. Created. [2022-06-20T13:09:18.540Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T13:09:19.228Z] /w/workspace/device-virtual-go/19@tmp/durable-091e69c6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-20T13:09:19.913Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-20T13:09:19.942Z] Warning: overwriting stash ‘stack-cost’ [2022-06-20T13:09:19.987Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T13:09:19.994Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-19-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T13:09:20.032Z] $ docker stop --time=1 9bd3e989a29e27cd1a6c562a9d8b1a914036de4fcb8ad59d0b81207b7ce87753 [2022-06-20T13:09:21.560Z] $ docker rm -f 9bd3e989a29e27cd1a6c562a9d8b1a914036de4fcb8ad59d0b81207b7ce87753 [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 [2022-06-20T13:09:22.032Z] provisioning config files... [2022-06-20T13:09:22.040Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config4602405924882222803tmp [Pipeline] { [Pipeline] sh [2022-06-20T13:09:22.339Z] + set +x [2022-06-20T13:09:22.339Z] + curl -s https://codecov.io/bash [2022-06-20T13:09:22.339Z] + bash -s -- [2022-06-20T13:09:22.339Z] [2022-06-20T13:09:22.339Z] _____ _ [2022-06-20T13:09:22.339Z] / ____| | | [2022-06-20T13:09:22.339Z] | | ___ __| | ___ ___ _____ __ [2022-06-20T13:09:22.339Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-20T13:09:22.339Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-20T13:09:22.339Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-20T13:09:22.339Z] Bash-1.0.6 [2022-06-20T13:09:22.339Z] [2022-06-20T13:09:22.339Z] [2022-06-20T13:09:22.339Z] ==> git version 2.25.1 found [2022-06-20T13:09:22.339Z] ==> 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 [2022-06-20T13:09:22.339Z] Release-Date: 2020-01-08 [2022-06-20T13:09:22.339Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-20T13:09:22.339Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-20T13:09:22.339Z] ==> Jenkins CI detected. [2022-06-20T13:09:22.339Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-20T13:09:22.339Z] project root: . [2022-06-20T13:09:22.339Z] --> token set from env [2022-06-20T13:09:22.339Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-20T13:09:22.339Z] ==> Running gcov in . (disable via -X gcov) [2022-06-20T13:09:22.339Z] ==> Python coveragepy not found [2022-06-20T13:09:22.339Z] ==> Searching for coverage reports in: [2022-06-20T13:09:22.339Z] + . [2022-06-20T13:09:22.339Z] -> Found 1 reports [2022-06-20T13:09:22.339Z] ==> Detecting git/mercurial file structure [2022-06-20T13:09:22.339Z] ==> Reading reports [2022-06-20T13:09:22.339Z] + ./coverage.out bytes=44128 [2022-06-20T13:09:22.339Z] ==> Appending adjustments [2022-06-20T13:09:22.339Z] https://docs.codecov.io/docs/fixing-reports [2022-06-20T13:09:22.600Z] + Found adjustments [2022-06-20T13:09:22.600Z] ==> Gzipping contents [2022-06-20T13:09:22.600Z] 8.0K /tmp/codecov.p410gk.gz [2022-06-20T13:09:22.600Z] ==> Uploading reports [2022-06-20T13:09:22.600Z] url: https://codecov.io [2022-06-20T13:09:22.600Z] query: branch=PR-290&commit=3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-20T13:09:22.600Z] -> Pinging Codecov [2022-06-20T13:09:22.600Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-290&commit=3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-20T13:09:22.861Z] -> Uploading to [2022-06-20T13:09:22.861Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-20/5E52B4B073DB2E39498172D8E973AA87/3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1/ae3242d0-7d41-4dbd-91a8-b708e0d3af79.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T130922Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b2308a6c11e0e3d195bbf40676771198abd47f8cc0f76231dd0b64d9306daa85 [2022-06-20T13:09:22.861Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T13:09:22.861Z] Dload Upload Total Spent Left Speed [2022-06-20T13:09:23.120Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5497 0 0 100 5497 0 25331 --:--:-- --:--:-- --:--:-- 25331 [2022-06-20T13:09:23.120Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/3c0f1ff1cafaa16df2f81444c75f05bc22e1d1e1 [Pipeline] } [2022-06-20T13:09:23.128Z] 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 [2022-06-20T13:09:23.846Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-20T13:09:23.846Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T13:09:23.846Z] total 16 [2022-06-20T13:09:23.846Z] drwxr-xr-x 3 root root 4096 Jun 20 13:02 . [2022-06-20T13:09:23.846Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 13:02 .. [2022-06-20T13:09:23.846Z] drwxr-xr-x 2 root root 4096 Jun 20 13:02 cost [2022-06-20T13:09:23.846Z] -rw-r--r-- 1 root root 89 Jun 20 13:02 cost.csv [2022-06-20T13:09:23.846Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T13:09:23.846Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T13:09:23.846Z] total 16 [2022-06-20T13:09:23.846Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 13:02 . [2022-06-20T13:09:23.846Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 13:02 .. [2022-06-20T13:09:23.846Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 13:02 cost [2022-06-20T13:09:23.846Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 20 13:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:09:24.148Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:09:25.027Z] ---> package-listing.sh [2022-06-20T13:09:25.027Z] ++ facter osfamily [2022-06-20T13:09:25.027Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-20T13:09:25.291Z] + OS_FAMILY=debian [2022-06-20T13:09:25.291Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-20T13:09:25.291Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-20T13:09:25.291Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-20T13:09:25.291Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-20T13:09:25.291Z] + PACKAGES=/tmp/packages_start.txt [2022-06-20T13:09:25.291Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-20T13:09:25.291Z] + PACKAGES=/tmp/packages_end.txt [2022-06-20T13:09:25.291Z] + case "${OS_FAMILY}" in [2022-06-20T13:09:25.291Z] + dpkg -l [2022-06-20T13:09:25.291Z] + grep '^ii' [2022-06-20T13:09:25.291Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-20T13:09:25.291Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-20T13:09:25.291Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-20T13:09:25.291Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-20T13:09:25.291Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-20T13:09:25.291Z] + 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 [2022-06-20T13:09:25.304Z] 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 [2022-06-20T13:09:25.590Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T13:09:26.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T13:09:26.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T13:09:26.314Z] prd-ubuntu20.04-docker-8c-8g-15155 does not seem to be running inside a container [2022-06-20T13:09:26.376Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T13:09:26.598Z] $ docker top 2f429dc99826f1ee476e3cdfeeda9e385dcf8d73035eba76f2ee0358a5040a93 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T13:09:27.013Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-20T13:09:27.301Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-20T13:09:27.596Z] + ls /var/log/sa-host [2022-06-20T13:09:27.596Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T13:09:27.725Z] provisioning config files... [2022-06-20T13:09:27.734Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config2760024904203403823tmp [Pipeline] { [Pipeline] echo [2022-06-20T13:09:27.746Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:09:28.031Z] ---> create-netrc.sh [Pipeline] } [2022-06-20T13:09:28.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:09:28.369Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-20T13:09:28.378Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:09:28.664Z] ---> sudo-logs.sh [2022-06-20T13:09:28.664Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-20T13:09:28.684Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:09:28.970Z] ---> job-cost.sh [2022-06-20T13:09:28.970Z] lf-activate-venv: SKIPPING [2022-06-20T13:09:28.970Z] DEBUG: total: 0.2199999988079071 [2022-06-20T13:09:28.970Z] INFO: Retrieving Stack Cost... [2022-06-20T13:09:29.545Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T13:09:29.806Z] INFO: Archiving Costs [Pipeline] echo [2022-06-20T13:09:29.818Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T13:09:30.104Z] ---> logs-deploy.sh [2022-06-20T13:09:30.104Z] lf-activate-venv: SKIPPING [2022-06-20T13:09:30.104Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/19 [2022-06-20T13:09:30.104Z] INFO: archiving workspace using pattern(s): [2022-06-20T13:09:31.044Z] Archives upload complete. [2022-06-20T13:09:31.304Z] INFO: archiving logs to Nexus