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 cc923fdff6d9022cf3180b638c85956248d936e6 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-ssh12593645189473526119.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-ssh10443145439104728684.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-ssh5912737990201040565.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-ssh2379471095529245253.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-ssh9021173899859434445.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 ‘prd-ubuntu20.04-docker-8c-8g-15132’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15135 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 cc923fdff6d9022cf3180b638c85956248d936e6 Merge succeeded, producing 210ca876eaeee179d25e884df239013f257827b4 Checking out Revision 210ca876eaeee179d25e884df239013f257827b4 (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 cc923fdff6d9022cf3180b638c85956248d936e6 # 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 210ca876eaeee179d25e884df239013f257827b4 # timeout=10 Commit message: "Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 54f9b26d0ceb4bbe8559920232d892f03ae04dfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-20T09:07:01.999Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-20T09:07:02.052Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-20T09:07:02.069Z] ========================================================= [2022-06-20T09:07:02.069Z] EdgeX Global Pipelines Version Info [2022-06-20T09:07:02.069Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:07:02.854Z] ------------------- [2022-06-20T09:07:02.854Z] stable info: [2022-06-20T09:07:02.854Z] ------------------- [2022-06-20T09:07:02.854Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-20T09:07:02.854Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T09:07:02.854Z] Message: update stable to v1.0.234 [2022-06-20T09:07:03.429Z] ------------------- [2022-06-20T09:07:03.429Z] experimental info: [2022-06-20T09:07:03.429Z] ------------------- [2022-06-20T09:07:03.429Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-20T09:07:03.429Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T09:07:03.429Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-20T09:07:03.609Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-20T09:07:03.618Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-20T09:07:03.626Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-20T09:07:03.635Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-20T09:07:03.643Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-20T09:07:03.651Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-20T09:07:03.659Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-20T09:07:03.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-20T09:07:03.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-20T09:07:03.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-20T09:07:03.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-20T09:07:03.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-20T09:07:03.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-20T09:07:03.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-20T09:07:03.731Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T09:07:03.739Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T09:07:03.748Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T09:07:03.756Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T09:07:03.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-20T09:07:03.775Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-20T09:07:03.787Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-20T09:07:03.799Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-20T09:07:03.809Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-20T09:07:03.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-20T09:07:03.832Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-20T09:07:03.843Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-20T09:07:03.851Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-20T09:07:03.860Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-20T09:07:03.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-20T09:07:03.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-20T09:07:03.897Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 210ca876eaeee179d25e884df239013f257827b4 [Pipeline] echo [2022-06-20T09:07:03.909Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 210ca87 [Pipeline] echo [2022-06-20T09:07:03.920Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T09:07:03.951Z] provisioning config files... [2022-06-20T09:07:03.966Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config4785925776073793141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:07:04.277Z] ---> docker-login.sh [2022-06-20T09:07:04.277Z] nexus3.edgexfoundry.org:10001 [2022-06-20T09:07:04.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:04.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:04.539Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:04.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:04.539Z] [2022-06-20T09:07:04.539Z] Login Succeeded [2022-06-20T09:07:04.539Z] nexus3.edgexfoundry.org:10002 [2022-06-20T09:07:04.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:04.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:04.803Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:04.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:04.803Z] [2022-06-20T09:07:04.803Z] Login Succeeded [2022-06-20T09:07:04.803Z] nexus3.edgexfoundry.org:10003 [2022-06-20T09:07:04.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:04.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:04.803Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:04.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:04.803Z] [2022-06-20T09:07:04.803Z] Login Succeeded [2022-06-20T09:07:04.803Z] nexus3.edgexfoundry.org:10004 [2022-06-20T09:07:05.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:05.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:05.065Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:05.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:05.065Z] [2022-06-20T09:07:05.065Z] Login Succeeded [2022-06-20T09:07:05.065Z] docker.io [2022-06-20T09:07:05.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:05.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:05.640Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:05.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:05.640Z] [2022-06-20T09:07:05.640Z] Login Succeeded [2022-06-20T09:07:05.640Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T09:07:05.649Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-20T09:07:06.007Z] + git rev-list -1 --merges 210ca876eaeee179d25e884df239013f257827b4~1..210ca876eaeee179d25e884df239013f257827b4 [Pipeline] echo [2022-06-20T09:07:06.099Z] -----------> git rev-list -1 --merges 210ca876eaeee179d25e884df239013f257827b4~1..210ca876eaeee179d25e884df239013f257827b4 210ca876eaeee179d25e884df239013f257827b4 [2022-06-20T09:07:06.099Z] 210ca876eaeee179d25e884df239013f257827b4 [false] [Pipeline] sh [2022-06-20T09:07:06.387Z] + git log --format=format:%s -1 210ca876eaeee179d25e884df239013f257827b4 [Pipeline] echo [2022-06-20T09:07:06.402Z] ========================================================= [2022-06-20T09:07:06.402Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-20T09:07:06.402Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T09:07:06.729Z] + git log --format=format:%s -1 210ca876eaeee179d25e884df239013f257827b4 [Pipeline] echo [2022-06-20T09:07:06.740Z] [semverPrep] GIT_COMMIT: 210ca876eaeee179d25e884df239013f257827b4, Commit Message: Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD [Pipeline] echo [2022-06-20T09:07:06.749Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-20T09:07:07.095Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-20T09:07:07.095Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-20T09:07:07.095Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-20T09:07:07.095Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-20T09:07:07.095Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-20T09:07:07.095Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-20T09:07:07.095Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:07:07.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T09:07:07.447Z] [2022-06-20T09:07:07.447Z] 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-20T09:07:07.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T09:07:07.757Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-20T09:07:07.757Z] 42c077c10790: Pulling fs layer [2022-06-20T09:07:07.757Z] f63e77b7563a: Pulling fs layer [2022-06-20T09:07:07.757Z] bd5fdadae976: Pulling fs layer [2022-06-20T09:07:07.757Z] 205491f53016: Pulling fs layer [2022-06-20T09:07:07.757Z] df18705c85c3: Pulling fs layer [2022-06-20T09:07:07.757Z] bdb3f477010e: Pulling fs layer [2022-06-20T09:07:07.757Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-20T09:07:07.757Z] 2c6e9b1d212d: Pulling fs layer [2022-06-20T09:07:07.757Z] bdb8f0575790: Pulling fs layer [2022-06-20T09:07:07.757Z] 386e3cb2ff24: Pulling fs layer [2022-06-20T09:07:07.757Z] 2343380bae48: Pulling fs layer [2022-06-20T09:07:07.757Z] df18705c85c3: Waiting [2022-06-20T09:07:07.757Z] bdb3f477010e: Waiting [2022-06-20T09:07:07.757Z] c8a8fc8e1c8f: Waiting [2022-06-20T09:07:07.757Z] 2c6e9b1d212d: Waiting [2022-06-20T09:07:07.757Z] 386e3cb2ff24: Waiting [2022-06-20T09:07:07.757Z] 2343380bae48: Waiting [2022-06-20T09:07:07.757Z] bdb8f0575790: Waiting [2022-06-20T09:07:07.757Z] 205491f53016: Waiting [2022-06-20T09:07:07.757Z] f63e77b7563a: Verifying Checksum [2022-06-20T09:07:07.757Z] f63e77b7563a: Download complete [2022-06-20T09:07:07.757Z] 205491f53016: Verifying Checksum [2022-06-20T09:07:07.757Z] 205491f53016: Download complete [2022-06-20T09:07:08.018Z] df18705c85c3: Verifying Checksum [2022-06-20T09:07:08.018Z] df18705c85c3: Download complete [2022-06-20T09:07:08.018Z] bdb3f477010e: Download complete [2022-06-20T09:07:08.018Z] bd5fdadae976: Verifying Checksum [2022-06-20T09:07:08.018Z] bd5fdadae976: Download complete [2022-06-20T09:07:08.018Z] 2c6e9b1d212d: Verifying Checksum [2022-06-20T09:07:08.018Z] 2c6e9b1d212d: Download complete [2022-06-20T09:07:08.018Z] bdb8f0575790: Verifying Checksum [2022-06-20T09:07:08.018Z] bdb8f0575790: Download complete [2022-06-20T09:07:08.018Z] 386e3cb2ff24: Verifying Checksum [2022-06-20T09:07:08.018Z] 386e3cb2ff24: Download complete [2022-06-20T09:07:08.018Z] 2343380bae48: Verifying Checksum [2022-06-20T09:07:08.018Z] 2343380bae48: Download complete [2022-06-20T09:07:08.018Z] 42c077c10790: Verifying Checksum [2022-06-20T09:07:08.018Z] 42c077c10790: Download complete [2022-06-20T09:07:08.278Z] c8a8fc8e1c8f: Download complete [2022-06-20T09:07:09.669Z] 42c077c10790: Pull complete [2022-06-20T09:07:09.669Z] f63e77b7563a: Pull complete [2022-06-20T09:07:09.930Z] bd5fdadae976: Pull complete [2022-06-20T09:07:10.191Z] 205491f53016: Pull complete [2022-06-20T09:07:10.451Z] df18705c85c3: Pull complete [2022-06-20T09:07:10.451Z] bdb3f477010e: Pull complete [2022-06-20T09:07:12.360Z] c8a8fc8e1c8f: Pull complete [2022-06-20T09:07:12.360Z] 2c6e9b1d212d: Pull complete [2022-06-20T09:07:12.360Z] bdb8f0575790: Pull complete [2022-06-20T09:07:12.621Z] 386e3cb2ff24: Pull complete [2022-06-20T09:07:12.621Z] 2343380bae48: Pull complete [2022-06-20T09:07:12.621Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-20T09:07:12.621Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T09:07:12.621Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T09:07:12.723Z] prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container [2022-06-20T09:07:12.750Z] $ 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-20T09:07:14.063Z] $ docker top afede812e7381e751bc27589fe1c399afa7f09f2f5731476a53960c4c2f7cafb -eo pid,comm [2022-06-20T09:07:14.144Z] 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-20T09:07:14.144Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-20T09:07:14.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T09:07:14.176Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T09:07:14.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T09:07:14.296Z] $ docker exec afede812e7381e751bc27589fe1c399afa7f09f2f5731476a53960c4c2f7cafb ssh-agent [2022-06-20T09:07:14.444Z] SSH_AUTH_SOCK=/tmp/ssh-YT48tDtgvk4k/agent.33 [2022-06-20T09:07:14.444Z] SSH_AGENT_PID=40 [2022-06-20T09:07:14.451Z] Running ssh-add (command line suppressed) [2022-06-20T09:07:14.554Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_975737425134244674.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_975737425134244674.key) [2022-06-20T09:07:14.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T09:07:14.874Z] + git tag --points-at HEAD [Pipeline] } [2022-06-20T09:07:14.880Z] $ docker exec --env ******** --env ******** afede812e7381e751bc27589fe1c399afa7f09f2f5731476a53960c4c2f7cafb ssh-agent -k [2022-06-20T09:07:14.985Z] unset SSH_AUTH_SOCK; [2022-06-20T09:07:14.987Z] unset SSH_AGENT_PID; [2022-06-20T09:07:14.987Z] echo Agent pid 40 killed; [2022-06-20T09:07:15.005Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-20T09:07:15.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T09:07:15.031Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T09:07:15.161Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T09:07:15.152Z] $ docker exec afede812e7381e751bc27589fe1c399afa7f09f2f5731476a53960c4c2f7cafb ssh-agent [2022-06-20T09:07:15.276Z] SSH_AUTH_SOCK=/tmp/ssh-7zvW3nYc5bDO/agent.72 [2022-06-20T09:07:15.277Z] SSH_AGENT_PID=78 [2022-06-20T09:07:15.282Z] Running ssh-add (command line suppressed) [2022-06-20T09:07:15.379Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_6719717652902313442.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_6719717652902313442.key) [2022-06-20T09:07:15.409Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T09:07:15.702Z] + git semver init [2022-06-20T09:07:15.965Z] 2022-06-20 09:07:15,885 [run_init] DEBUG init version:0.0.0 force:False [2022-06-20T09:07:15.965Z] 2022-06-20 09:07:15,886 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-20T09:07:15.965Z] 2022-06-20 09:07:15,887 [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-20T09:07:15.965Z] 2022-06-20 09:07:15,887 [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-20T09:07:16.909Z] 2022-06-20 09:07:16,856 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-20T09:07:16.909Z] 2022-06-20 09:07:16,857 [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-20T09:07:16.909Z] 2022-06-20 09:07:16,857 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-20T09:07:16.909Z] 2022-06-20 09:07:16,862 [execute] INFO git cat-file --batch-check [2022-06-20T09:07:16.909Z] 2022-06-20 09:07:16,862 [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-20T09:07:16.909Z] 2022-06-20 09:07:16,868 [execute] INFO git cat-file --batch [2022-06-20T09:07:16.909Z] 2022-06-20 09:07:16,868 [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-20T09:07:16.909Z] 2022-06-20 09:07:16,874 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-20T09:07:16.909Z] 0.0.0 [Pipeline] } [2022-06-20T09:07:16.910Z] $ docker exec --env ******** --env ******** afede812e7381e751bc27589fe1c399afa7f09f2f5731476a53960c4c2f7cafb ssh-agent -k [2022-06-20T09:07:17.021Z] unset SSH_AUTH_SOCK; [2022-06-20T09:07:17.022Z] unset SSH_AGENT_PID; [2022-06-20T09:07:17.022Z] echo Agent pid 78 killed; [2022-06-20T09:07:17.044Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T09:07:17.364Z] + git semver [Pipeline] } [2022-06-20T09:07:17.632Z] $ docker stop --time=1 afede812e7381e751bc27589fe1c399afa7f09f2f5731476a53960c4c2f7cafb [2022-06-20T09:07:18.964Z] $ docker rm -f afede812e7381e751bc27589fe1c399afa7f09f2f5731476a53960c4c2f7cafb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T09:07:19.323Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-20T09:07:19.594Z] Stashed 1 file(s) [Pipeline] echo [2022-06-20T09:07:19.597Z] [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-20T09:07:19.703Z] provisioning config files... [2022-06-20T09:07:19.713Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config8920865341558444893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:07:20.012Z] ---> docker-login.sh [2022-06-20T09:07:20.013Z] nexus3.edgexfoundry.org:10001 [2022-06-20T09:07:20.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:20.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:20.013Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:20.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:20.013Z] [2022-06-20T09:07:20.013Z] Login Succeeded [2022-06-20T09:07:20.013Z] nexus3.edgexfoundry.org:10002 [2022-06-20T09:07:20.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:20.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:20.013Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:20.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:20.013Z] [2022-06-20T09:07:20.013Z] Login Succeeded [2022-06-20T09:07:20.272Z] nexus3.edgexfoundry.org:10003 [2022-06-20T09:07:20.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:20.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:20.272Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:20.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:20.272Z] [2022-06-20T09:07:20.272Z] Login Succeeded [2022-06-20T09:07:20.272Z] nexus3.edgexfoundry.org:10004 [2022-06-20T09:07:20.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:20.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:20.533Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:20.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:20.533Z] [2022-06-20T09:07:20.533Z] Login Succeeded [2022-06-20T09:07:20.533Z] docker.io [2022-06-20T09:07:20.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:07:20.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:07:20.793Z] Configure a credential helper to remove this warning. See [2022-06-20T09:07:20.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:07:20.793Z] [2022-06-20T09:07:20.793Z] Login Succeeded [2022-06-20T09:07:20.793Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T09:07:20.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T09:07:20.860Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T09:07:20.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T09:07:20.877Z] ========================================================= [2022-06-20T09:07:20.877Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-20T09:07:20.877Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:07:21.193Z] + 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-20T09:07:21.193Z] Sending build context to Docker daemon 23.08MB [2022-06-20T09:07:21.193Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T09:07:21.193Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T09:07:21.455Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-20T09:07:21.455Z] 59bf1c3509f3: Pulling fs layer [2022-06-20T09:07:21.455Z] 666ba61612fd: Pulling fs layer [2022-06-20T09:07:21.455Z] 8ed8ca486205: Pulling fs layer [2022-06-20T09:07:21.455Z] cc1cd167ecdc: Pulling fs layer [2022-06-20T09:07:21.455Z] c516ae0d96e1: Pulling fs layer [2022-06-20T09:07:21.455Z] 684cea983483: Pulling fs layer [2022-06-20T09:07:21.455Z] dd3240ac7de5: Pulling fs layer [2022-06-20T09:07:21.455Z] b1e948a4e11c: Pulling fs layer [2022-06-20T09:07:21.455Z] a8fd76ee1af6: Pulling fs layer [2022-06-20T09:07:21.455Z] 646ad004c059: Pulling fs layer [2022-06-20T09:07:21.455Z] c516ae0d96e1: Waiting [2022-06-20T09:07:21.455Z] cc1cd167ecdc: Waiting [2022-06-20T09:07:21.455Z] dd3240ac7de5: Waiting [2022-06-20T09:07:21.455Z] a8fd76ee1af6: Waiting [2022-06-20T09:07:21.455Z] b1e948a4e11c: Waiting [2022-06-20T09:07:21.455Z] 8ed8ca486205: Verifying Checksum [2022-06-20T09:07:21.455Z] 666ba61612fd: Verifying Checksum [2022-06-20T09:07:21.455Z] 666ba61612fd: Download complete [2022-06-20T09:07:21.455Z] c516ae0d96e1: Verifying Checksum [2022-06-20T09:07:21.455Z] c516ae0d96e1: Download complete [2022-06-20T09:07:21.455Z] 684cea983483: Verifying Checksum [2022-06-20T09:07:21.455Z] 684cea983483: Download complete [2022-06-20T09:07:21.455Z] dd3240ac7de5: Verifying Checksum [2022-06-20T09:07:21.455Z] dd3240ac7de5: Download complete [2022-06-20T09:07:21.455Z] 59bf1c3509f3: Verifying Checksum [2022-06-20T09:07:21.455Z] 59bf1c3509f3: Download complete [2022-06-20T09:07:21.455Z] b1e948a4e11c: Verifying Checksum [2022-06-20T09:07:21.455Z] b1e948a4e11c: Download complete [2022-06-20T09:07:21.724Z] 59bf1c3509f3: Pull complete [2022-06-20T09:07:21.724Z] 666ba61612fd: Pull complete [2022-06-20T09:07:21.998Z] 8ed8ca486205: Pull complete [2022-06-20T09:07:22.262Z] cc1cd167ecdc: Verifying Checksum [2022-06-20T09:07:22.262Z] cc1cd167ecdc: Download complete [2022-06-20T09:07:22.262Z] 646ad004c059: Verifying Checksum [2022-06-20T09:07:22.262Z] 646ad004c059: Download complete [2022-06-20T09:07:22.262Z] a8fd76ee1af6: Verifying Checksum [2022-06-20T09:07:22.262Z] a8fd76ee1af6: Download complete [2022-06-20T09:07:26.460Z] cc1cd167ecdc: Pull complete [2022-06-20T09:07:26.460Z] c516ae0d96e1: Pull complete [2022-06-20T09:07:26.460Z] 684cea983483: Pull complete [2022-06-20T09:07:26.460Z] dd3240ac7de5: Pull complete [2022-06-20T09:07:26.460Z] b1e948a4e11c: Pull complete [2022-06-20T09:07:28.376Z] a8fd76ee1af6: Pull complete [2022-06-20T09:07:28.959Z] 646ad004c059: Pull complete [2022-06-20T09:07:29.224Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-20T09:07:29.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T09:07:29.224Z] ---> 8f69c11f6b0c [2022-06-20T09:07:29.224Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T09:07:30.619Z] ---> Running in 89c3c6290ddd [2022-06-20T09:07:30.619Z] Removing intermediate container 89c3c6290ddd [2022-06-20T09:07:30.619Z] ---> 30d499a7dfb6 [2022-06-20T09:07:30.619Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T09:07:30.881Z] ---> Running in 713e774db7aa [2022-06-20T09:07:30.881Z] Removing intermediate container 713e774db7aa [2022-06-20T09:07:30.881Z] ---> 1eb6e996332c [2022-06-20T09:07:30.881Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-20T09:07:30.881Z] ---> Running in aa21e9b1ecf6 [2022-06-20T09:07:30.881Z] Removing intermediate container aa21e9b1ecf6 [2022-06-20T09:07:30.881Z] ---> 5e5669dcbec4 [2022-06-20T09:07:30.881Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T09:07:31.140Z] ---> Running in e91eb1336a5e [2022-06-20T09:07:31.711Z] Removing intermediate container e91eb1336a5e [2022-06-20T09:07:31.711Z] ---> e4c55394d396 [2022-06-20T09:07:31.711Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T09:07:31.711Z] ---> Running in e4cec4e6afe3 [2022-06-20T09:07:31.972Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T09:07:32.913Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T09:07:33.175Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T09:07:33.175Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T09:07:33.437Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T09:07:33.437Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T09:07:33.437Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T09:07:33.437Z] OK: 224 MiB in 56 packages [2022-06-20T09:07:34.008Z] Removing intermediate container e4cec4e6afe3 [2022-06-20T09:07:34.008Z] ---> ae861fd1e935 [2022-06-20T09:07:34.008Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-20T09:07:34.008Z] ---> b7cd61e655db [2022-06-20T09:07:34.008Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T09:07:34.008Z] ---> Running in 5535f5a6389b [2022-06-20T09:07:34.676Z] Still waiting to schedule task [2022-06-20T09:07:34.676Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-15133’ is offline [2022-06-20T09:07:46.226Z] Removing intermediate container 5535f5a6389b [2022-06-20T09:07:46.226Z] ---> ca5d8051da7a [2022-06-20T09:07:46.226Z] Step 10/12 : COPY . . [2022-06-20T09:07:46.795Z] ---> bb6a875fdc3f [2022-06-20T09:07:46.795Z] Step 11/12 : ARG MAKE='make build' [2022-06-20T09:07:46.795Z] ---> Running in 7fb8678b52fb [2022-06-20T09:07:46.795Z] Removing intermediate container 7fb8678b52fb [2022-06-20T09:07:46.795Z] ---> 343b7dfee607 [2022-06-20T09:07:46.795Z] Step 12/12 : RUN $MAKE [2022-06-20T09:07:46.795Z] ---> Running in 62fcf1feb0ec [2022-06-20T09:07:47.054Z] noop [2022-06-20T09:07:47.313Z] Removing intermediate container 62fcf1feb0ec [2022-06-20T09:07:47.313Z] ---> 38c49bf1c53d [2022-06-20T09:07:47.313Z] Successfully built 38c49bf1c53d [2022-06-20T09:07:47.313Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:07:47.630Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T09:07:47.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T09:07:47.712Z] prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container [2022-06-20T09:07:47.754Z] $ 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-20T09:07:48.116Z] $ docker top 873d3d55d84ba68eeb55110274f3b67da427d97435a54d13107f410647ad2393 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T09:07:48.459Z] + go version [2022-06-20T09:07:48.459Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-20T09:07:48.475Z] $ docker stop --time=1 873d3d55d84ba68eeb55110274f3b67da427d97435a54d13107f410647ad2393 [2022-06-20T09:07:49.831Z] $ docker rm -f 873d3d55d84ba68eeb55110274f3b67da427d97435a54d13107f410647ad2393 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:07:50.229Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T09:07:50.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T09:07:50.306Z] prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container [2022-06-20T09:07:50.353Z] $ 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-20T09:07:50.715Z] $ docker top 7aa4945fd0216dee12a0b4d64a043c9b151892f43a3e8681bcff3f415d03dd46 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T09:07:51.122Z] + make test [2022-06-20T09:07:51.122Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-20T09:07:51.386Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-20T09:08:01.418Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-20T09:08:01.418Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-06-20T09:08:08.007Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T09:08:10.554Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T09:08:10.554Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T09:08:10.554Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T09:08:11.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T09:08:11.157Z] $ docker stop --time=1 7aa4945fd0216dee12a0b4d64a043c9b151892f43a3e8681bcff3f415d03dd46 [2022-06-20T09:08:12.964Z] $ docker rm -f 7aa4945fd0216dee12a0b4d64a043c9b151892f43a3e8681bcff3f415d03dd46 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T09:08:13.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T09:08:13.445Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-20T09:08:13.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T09:08:14.136Z] + ls -al . [2022-06-20T09:08:14.136Z] total 192 [2022-06-20T09:08:14.136Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 09:08 . [2022-06-20T09:08:14.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 09:06 .. [2022-06-20T09:08:14.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 09:07 .git [2022-06-20T09:08:14.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:06 .github [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 09:06 .gitignore [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 09:06 .golangci.yml [2022-06-20T09:08:14.136Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 09:07 .semver [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 09:06 Attribution.txt [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 09:06 CHANGELOG.md [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 09:06 Dockerfile [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 09:06 GOVERNANCE.md [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 09:06 Jenkinsfile [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 09:06 LICENSE [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 09:06 Makefile [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 09:06 OWNERS.md [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 09:06 README.md [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 09:07 VERSION [2022-06-20T09:08:14.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 09:06 bin [2022-06-20T09:08:14.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:06 cmd [2022-06-20T09:08:14.136Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 09:07 coverage.out [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 09:06 go.mod [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 09:06 go.sum [2022-06-20T09:08:14.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:06 internal [2022-06-20T09:08:14.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:06 snap [2022-06-20T09:08:14.136Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 09:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:08:14.451Z] + 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=210ca876eaeee179d25e884df239013f257827b4 --label arch=amd64 --label version=0.0.0 . [2022-06-20T09:08:14.451Z] Sending build context to Docker daemon 23.13MB [2022-06-20T09:08:14.451Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T09:08:14.451Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-20T09:08:14.451Z] ---> 38c49bf1c53d [2022-06-20T09:08:14.451Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T09:08:14.710Z] ---> Running in f67977c2b172 [2022-06-20T09:08:14.710Z] Removing intermediate container f67977c2b172 [2022-06-20T09:08:14.710Z] ---> 68a65aa47971 [2022-06-20T09:08:14.710Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T09:08:14.710Z] ---> Running in a2f095c9cbae [2022-06-20T09:08:14.710Z] Removing intermediate container a2f095c9cbae [2022-06-20T09:08:14.710Z] ---> 61603c049c62 [2022-06-20T09:08:14.710Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-20T09:08:14.969Z] ---> Running in ad98d2a273d6 [2022-06-20T09:08:14.969Z] Removing intermediate container ad98d2a273d6 [2022-06-20T09:08:14.969Z] ---> fa7704e04d3c [2022-06-20T09:08:14.969Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T09:08:14.969Z] ---> Running in 0dccd1d6d624 [2022-06-20T09:08:15.538Z] Removing intermediate container 0dccd1d6d624 [2022-06-20T09:08:15.538Z] ---> ca62b08160fe [2022-06-20T09:08:15.538Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T09:08:15.538Z] ---> Running in edecc03b7727 [2022-06-20T09:08:15.798Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T09:08:16.741Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T09:08:17.001Z] OK: 224 MiB in 56 packages [2022-06-20T09:08:17.260Z] Removing intermediate container edecc03b7727 [2022-06-20T09:08:17.260Z] ---> d14489206386 [2022-06-20T09:08:17.260Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-20T09:08:17.260Z] ---> 709b2ed7be2e [2022-06-20T09:08:17.260Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T09:08:17.519Z] ---> Running in 7b29735ddd25 [2022-06-20T09:08:18.088Z] Removing intermediate container 7b29735ddd25 [2022-06-20T09:08:18.088Z] ---> ecfd47c245be [2022-06-20T09:08:18.088Z] Step 10/26 : COPY . . [2022-06-20T09:08:18.658Z] ---> fac469db3fde [2022-06-20T09:08:18.658Z] Step 11/26 : ARG MAKE='make build' [2022-06-20T09:08:18.658Z] ---> Running in 3ccd02eb47a1 [2022-06-20T09:08:18.658Z] Removing intermediate container 3ccd02eb47a1 [2022-06-20T09:08:18.658Z] ---> 08da7372dc53 [2022-06-20T09:08:18.658Z] Step 12/26 : RUN $MAKE [2022-06-20T09:08:18.658Z] ---> Running in d6bd05ab9782 [2022-06-20T09:08:18.918Z] 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-20T09:08:40.874Z] Removing intermediate container d6bd05ab9782 [2022-06-20T09:08:40.874Z] ---> 03b2a4f3d847 [2022-06-20T09:08:40.874Z] Step 13/26 : FROM alpine:3.14 [2022-06-20T09:08:40.874Z] 3.14: Pulling from library/alpine [2022-06-20T09:08:40.874Z] 8663204ce13b: Pulling fs layer [2022-06-20T09:08:40.874Z] 8663204ce13b: Verifying Checksum [2022-06-20T09:08:40.874Z] 8663204ce13b: Download complete [2022-06-20T09:08:40.874Z] 8663204ce13b: Pull complete [2022-06-20T09:08:40.874Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T09:08:40.874Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T09:08:40.874Z] ---> e04c818066af [2022-06-20T09:08:40.874Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-20T09:08:40.874Z] ---> Running in dff50feebdf7 [2022-06-20T09:08:40.874Z] Removing intermediate container dff50feebdf7 [2022-06-20T09:08:40.874Z] ---> ea8da53f7145 [2022-06-20T09:08:40.874Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T09:08:40.874Z] ---> Running in 4a1e6371808b [2022-06-20T09:08:40.874Z] Removing intermediate container 4a1e6371808b [2022-06-20T09:08:40.874Z] ---> 41ceb39f0b30 [2022-06-20T09:08:40.874Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T09:08:40.874Z] ---> Running in 07f43f7346bb [2022-06-20T09:08:40.874Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-20T09:08:40.874Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-20T09:08:40.874Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T09:08:40.874Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T09:08:40.874Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T09:08:41.135Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T09:08:41.135Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T09:08:41.135Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T09:08:41.397Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T09:08:41.397Z] OK: 8 MiB in 20 packages [2022-06-20T09:08:41.658Z] Removing intermediate container 07f43f7346bb [2022-06-20T09:08:41.658Z] ---> 2b768fffe622 [2022-06-20T09:08:41.658Z] Step 17/26 : WORKDIR / [2022-06-20T09:08:41.658Z] ---> Running in 58966af15d58 [2022-06-20T09:08:41.918Z] Removing intermediate container 58966af15d58 [2022-06-20T09:08:41.918Z] ---> 5f49f88a10dc [2022-06-20T09:08:41.918Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-20T09:08:41.918Z] ---> d4453fcbd787 [2022-06-20T09:08:41.918Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-20T09:08:42.178Z] ---> 800e550cca93 [2022-06-20T09:08:42.178Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-20T09:08:42.751Z] ---> be07e9220025 [2022-06-20T09:08:42.751Z] Step 21/26 : EXPOSE 59900 [2022-06-20T09:08:42.751Z] ---> Running in 621c3397c23b [2022-06-20T09:08:43.012Z] Removing intermediate container 621c3397c23b [2022-06-20T09:08:43.012Z] ---> e19c32c68c50 [2022-06-20T09:08:43.012Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-20T09:08:43.012Z] ---> Running in b8e6fd31acac [2022-06-20T09:08:43.012Z] Removing intermediate container b8e6fd31acac [2022-06-20T09:08:43.012Z] ---> dafee0fc02af [2022-06-20T09:08:43.012Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-20T09:08:43.012Z] ---> Running in 56742fb06d1c [2022-06-20T09:08:43.277Z] Removing intermediate container 56742fb06d1c [2022-06-20T09:08:43.277Z] ---> dfac833391e4 [2022-06-20T09:08:43.277Z] Step 24/26 : LABEL arch=amd64 [2022-06-20T09:08:43.277Z] ---> Running in 0d85023d6a05 [2022-06-20T09:08:43.277Z] Removing intermediate container 0d85023d6a05 [2022-06-20T09:08:43.277Z] ---> 4c45caad4ee4 [2022-06-20T09:08:43.277Z] Step 25/26 : LABEL git_sha=210ca876eaeee179d25e884df239013f257827b4 [2022-06-20T09:08:43.539Z] ---> Running in f61283c6c035 [2022-06-20T09:08:43.539Z] Removing intermediate container f61283c6c035 [2022-06-20T09:08:43.539Z] ---> 87bd369f72a5 [2022-06-20T09:08:43.539Z] Step 26/26 : LABEL version=0.0.0 [2022-06-20T09:08:43.802Z] ---> Running in eec6931b0b72 [2022-06-20T09:08:43.802Z] Removing intermediate container eec6931b0b72 [2022-06-20T09:08:43.802Z] ---> d24885e003b5 [2022-06-20T09:08:43.802Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T09:08:43.802Z] Successfully built d24885e003b5 [2022-06-20T09:08:43.802Z] 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-20T09:08:44.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T09:08:44.258Z] [2022-06-20T09:08:44.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:08:44.564Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T09:08:44.564Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-20T09:08:44.564Z] 5eb5b503b376: Pulling fs layer [2022-06-20T09:08:44.564Z] 5c69ac0246d0: Pulling fs layer [2022-06-20T09:08:44.564Z] ec43610c2a17: Pulling fs layer [2022-06-20T09:08:44.564Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-20T09:08:44.564Z] 33b1e0a273af: Pulling fs layer [2022-06-20T09:08:44.564Z] 5d3b04190fa2: Pulling fs layer [2022-06-20T09:08:44.564Z] 2f39f015ded8: Pulling fs layer [2022-06-20T09:08:44.564Z] 33b1e0a273af: Waiting [2022-06-20T09:08:44.564Z] 3a2ae6a8a46f: Waiting [2022-06-20T09:08:44.564Z] 5d3b04190fa2: Waiting [2022-06-20T09:08:44.564Z] 2f39f015ded8: Waiting [2022-06-20T09:08:44.564Z] 5c69ac0246d0: Download complete [2022-06-20T09:08:44.564Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-20T09:08:44.564Z] 3a2ae6a8a46f: Download complete [2022-06-20T09:08:44.564Z] 33b1e0a273af: Verifying Checksum [2022-06-20T09:08:44.564Z] 33b1e0a273af: Download complete [2022-06-20T09:08:44.824Z] 5d3b04190fa2: Verifying Checksum [2022-06-20T09:08:44.824Z] 5d3b04190fa2: Download complete [2022-06-20T09:08:44.824Z] ec43610c2a17: Verifying Checksum [2022-06-20T09:08:44.824Z] ec43610c2a17: Download complete [2022-06-20T09:08:44.824Z] 5eb5b503b376: Verifying Checksum [2022-06-20T09:08:44.824Z] 5eb5b503b376: Download complete [2022-06-20T09:08:45.396Z] 2f39f015ded8: Download complete [2022-06-20T09:08:46.337Z] 5eb5b503b376: Pull complete [2022-06-20T09:08:46.337Z] 5c69ac0246d0: Pull complete [2022-06-20T09:08:46.909Z] ec43610c2a17: Pull complete [2022-06-20T09:08:46.909Z] 3a2ae6a8a46f: Pull complete [2022-06-20T09:08:47.170Z] 33b1e0a273af: Pull complete [2022-06-20T09:08:47.431Z] 5d3b04190fa2: Pull complete [2022-06-20T09:08:52.714Z] 2f39f015ded8: Pull complete [2022-06-20T09:08:52.714Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-20T09:08:52.714Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T09:08:52.714Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T09:08:52.812Z] prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container [2022-06-20T09:08:52.857Z] $ 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-20T09:08:54.588Z] $ docker top eb01c20d8bd8ecdbfe2e2de80bcd8abe18fc742773e4e7222ed03c4cdec3cd06 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:08:54.978Z] ---> job-cost.sh [2022-06-20T09:08:54.978Z] lf-activate-venv: SKIPPING [2022-06-20T09:08:54.978Z] INFO: No Stack... [2022-06-20T09:08:55.239Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T09:08:55.809Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T09:08:56.111Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-20T09:08:56.111Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T09:08:56.126Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-14-stack-cost] [2022-06-20T09:08:56.131Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-14-stack-cost] did not exist. Created. [2022-06-20T09:08:56.131Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T09:08:56.437Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-20T09:08:56.467Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T09:08:56.473Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T09:08:56.505Z] $ docker stop --time=1 eb01c20d8bd8ecdbfe2e2de80bcd8abe18fc742773e4e7222ed03c4cdec3cd06 [2022-06-20T09:08:57.668Z] $ docker rm -f eb01c20d8bd8ecdbfe2e2de80bcd8abe18fc742773e4e7222ed03c4cdec3cd06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-20T09:09:07.923Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15136 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-20T09:09:07.943Z] Running in /w/workspace/device-virtual-go/14 [Pipeline] { [Pipeline] checkout [2022-06-20T09:09:08.006Z] The recommended git tool is: git [2022-06-20T09:09:14.662Z] using credential edgex-jenkins-ssh [2022-06-20T09:09:14.679Z] Cloning the remote Git repository [2022-06-20T09:09:14.746Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T09:09:14.827Z] > git init /w/workspace/device-virtual-go/14 # timeout=10 [2022-06-20T09:09:14.943Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T09:09:14.944Z] > git --version # timeout=10 [2022-06-20T09:09:14.995Z] > git --version # 'git version 2.25.1' [2022-06-20T09:09:15.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T09:09:15.098Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T09:09:17.896Z] Merging remotes/origin/main commit 36f1c9105c586ba8e2014e0f524de26550782ad6 into PR head commit cc923fdff6d9022cf3180b638c85956248d936e6 [2022-06-20T09:09:18.176Z] Merge succeeded, producing ca5d2fcc6b7c3eb19d25e2e837325699b58b9395 [2022-06-20T09:09:18.177Z] Checking out Revision ca5d2fcc6b7c3eb19d25e2e837325699b58b9395 (PR-290) [2022-06-20T09:09:17.268Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-20T09:09:17.285Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T09:09:17.322Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-20T09:09:17.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T09:09:17.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T09:09:17.374Z] > 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-20T09:09:17.922Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T09:09:17.954Z] > git checkout -f cc923fdff6d9022cf3180b638c85956248d936e6 # timeout=10 [2022-06-20T09:09:18.057Z] > git remote # timeout=10 [2022-06-20T09:09:18.081Z] > git config --get remote.origin.url # timeout=10 [2022-06-20T09:09:18.097Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T09:09:18.107Z] > git merge 36f1c9105c586ba8e2014e0f524de26550782ad6 # timeout=10 [2022-06-20T09:09:18.162Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-20T09:09:18.188Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T09:09:18.204Z] > git checkout -f ca5d2fcc6b7c3eb19d25e2e837325699b58b9395 # timeout=10 [2022-06-20T09:09:22.329Z] Commit message: "Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD" [2022-06-20T09:09:22.352Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T09:09:22.342Z] > git rev-list --no-walk 54f9b26d0ceb4bbe8559920232d892f03ae04dfa # timeout=10 [2022-06-20T09:09:23.349Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-20T09:09:23.349Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T09:09:23.349Z] Dload Upload Total Spent Left Speed [2022-06-20T09:09:23.349Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 60063 0 --:--:-- --:--:-- --:--:-- 60063 [Pipeline] sh [2022-06-20T09:09:24.131Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-20T09:09:24.473Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-20T09:09:24.473Z] + sudo tee /etc/docker/daemon.new [2022-06-20T09:09:24.473Z] { [2022-06-20T09:09:24.473Z] "registry-mirrors": [ [2022-06-20T09:09:24.473Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-20T09:09:24.473Z] ], [2022-06-20T09:09:24.473Z] "bip": "10.250.0.254/24", [2022-06-20T09:09:24.473Z] "hosts": [ [2022-06-20T09:09:24.473Z] "tcp://0.0.0.0:5555", [2022-06-20T09:09:24.473Z] "unix:///var/run/docker.sock" [2022-06-20T09:09:24.473Z] ], [2022-06-20T09:09:24.473Z] "mtu": 1458, [2022-06-20T09:09:24.473Z] "selinux-enabled": true, [2022-06-20T09:09:24.473Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-20T09:09:24.473Z] } [Pipeline] sh [2022-06-20T09:09:24.822Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-20T09:09:25.160Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T09:09:43.508Z] provisioning config files... [2022-06-20T09:09:43.532Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/14@tmp/config78109609690861705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:09:43.893Z] ---> docker-login.sh [2022-06-20T09:09:43.893Z] nexus3.edgexfoundry.org:10001 [2022-06-20T09:09:44.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:09:44.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:09:44.774Z] Configure a credential helper to remove this warning. See [2022-06-20T09:09:44.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:09:44.774Z] [2022-06-20T09:09:44.774Z] Login Succeeded [2022-06-20T09:09:44.774Z] nexus3.edgexfoundry.org:10002 [2022-06-20T09:09:45.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:09:45.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:09:45.322Z] Configure a credential helper to remove this warning. See [2022-06-20T09:09:45.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:09:45.322Z] [2022-06-20T09:09:45.322Z] Login Succeeded [2022-06-20T09:09:45.322Z] nexus3.edgexfoundry.org:10003 [2022-06-20T09:09:45.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:09:45.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:09:45.606Z] Configure a credential helper to remove this warning. See [2022-06-20T09:09:45.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:09:45.606Z] [2022-06-20T09:09:45.606Z] Login Succeeded [2022-06-20T09:09:45.606Z] nexus3.edgexfoundry.org:10004 [2022-06-20T09:09:45.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:09:46.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:09:46.158Z] Configure a credential helper to remove this warning. See [2022-06-20T09:09:46.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:09:46.158Z] [2022-06-20T09:09:46.158Z] Login Succeeded [2022-06-20T09:09:46.158Z] docker.io [2022-06-20T09:09:46.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T09:09:46.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T09:09:46.709Z] Configure a credential helper to remove this warning. See [2022-06-20T09:09:46.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T09:09:46.709Z] [2022-06-20T09:09:46.709Z] Login Succeeded [2022-06-20T09:09:46.709Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T09:09:46.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T09:09:47.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T09:09:47.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T09:09:47.256Z] ========================================================= [2022-06-20T09:09:47.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-20T09:09:47.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:09:47.625Z] + 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-20T09:09:48.230Z] Sending build context to Docker daemon 11.71MB [2022-06-20T09:09:48.230Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T09:09:48.230Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T09:09:48.230Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-20T09:09:48.230Z] 9b3977197b4f: Pulling fs layer [2022-06-20T09:09:48.230Z] 1a89e8eeedd5: Pulling fs layer [2022-06-20T09:09:48.230Z] 94645a83ff95: Pulling fs layer [2022-06-20T09:09:48.230Z] e6fb740bc735: Pulling fs layer [2022-06-20T09:09:48.230Z] 3a77bd46dcc9: Pulling fs layer [2022-06-20T09:09:48.230Z] 355e64cbe906: Pulling fs layer [2022-06-20T09:09:48.230Z] 63ab81a10011: Pulling fs layer [2022-06-20T09:09:48.230Z] 555d1d1c4555: Pulling fs layer [2022-06-20T09:09:48.230Z] 7d9057610161: Pulling fs layer [2022-06-20T09:09:48.230Z] e6fb740bc735: Waiting [2022-06-20T09:09:48.230Z] 3a77bd46dcc9: Waiting [2022-06-20T09:09:48.230Z] 355e64cbe906: Waiting [2022-06-20T09:09:48.230Z] 63ab81a10011: Waiting [2022-06-20T09:09:48.230Z] 555d1d1c4555: Waiting [2022-06-20T09:09:48.230Z] 7d9057610161: Waiting [2022-06-20T09:09:48.230Z] 94645a83ff95: Verifying Checksum [2022-06-20T09:09:48.230Z] 94645a83ff95: Download complete [2022-06-20T09:09:48.508Z] 1a89e8eeedd5: Verifying Checksum [2022-06-20T09:09:48.508Z] 1a89e8eeedd5: Download complete [2022-06-20T09:09:48.508Z] 3a77bd46dcc9: Verifying Checksum [2022-06-20T09:09:48.508Z] 3a77bd46dcc9: Download complete [2022-06-20T09:09:48.508Z] 355e64cbe906: Verifying Checksum [2022-06-20T09:09:48.508Z] 355e64cbe906: Download complete [2022-06-20T09:09:48.508Z] 9b3977197b4f: Download complete [2022-06-20T09:09:48.508Z] 63ab81a10011: Verifying Checksum [2022-06-20T09:09:48.508Z] 63ab81a10011: Download complete [2022-06-20T09:09:49.499Z] 9b3977197b4f: Pull complete [2022-06-20T09:09:49.499Z] 7d9057610161: Verifying Checksum [2022-06-20T09:09:49.499Z] 7d9057610161: Download complete [2022-06-20T09:09:50.116Z] 1a89e8eeedd5: Pull complete [2022-06-20T09:09:50.116Z] 94645a83ff95: Pull complete [2022-06-20T09:09:50.391Z] 555d1d1c4555: Verifying Checksum [2022-06-20T09:09:50.391Z] 555d1d1c4555: Download complete [2022-06-20T09:09:50.988Z] e6fb740bc735: Verifying Checksum [2022-06-20T09:09:50.988Z] e6fb740bc735: Download complete [2022-06-20T09:10:03.389Z] e6fb740bc735: Pull complete [2022-06-20T09:10:03.389Z] 3a77bd46dcc9: Pull complete [2022-06-20T09:10:03.389Z] 355e64cbe906: Pull complete [2022-06-20T09:10:03.663Z] 63ab81a10011: Pull complete [2022-06-20T09:10:10.406Z] 555d1d1c4555: Pull complete [2022-06-20T09:10:12.394Z] 7d9057610161: Pull complete [2022-06-20T09:10:12.394Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-20T09:10:12.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T09:10:12.394Z] ---> 819e984ddca1 [2022-06-20T09:10:12.394Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T09:10:13.002Z] ---> Running in 443708ee8137 [2022-06-20T09:10:13.002Z] Removing intermediate container 443708ee8137 [2022-06-20T09:10:13.002Z] ---> bb8c541df46f [2022-06-20T09:10:13.002Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T09:10:13.280Z] ---> Running in 2329805c1af7 [2022-06-20T09:10:13.555Z] Removing intermediate container 2329805c1af7 [2022-06-20T09:10:13.555Z] ---> a46fd86165c4 [2022-06-20T09:10:13.555Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-20T09:10:13.555Z] ---> Running in 2b0226da8e71 [2022-06-20T09:10:13.829Z] Removing intermediate container 2b0226da8e71 [2022-06-20T09:10:13.829Z] ---> a87c9a32e57e [2022-06-20T09:10:13.829Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T09:10:13.829Z] ---> Running in 2976b3d11264 [2022-06-20T09:10:15.826Z] Removing intermediate container 2976b3d11264 [2022-06-20T09:10:15.826Z] ---> b9070da473cf [2022-06-20T09:10:15.826Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T09:10:15.826Z] ---> Running in 0d547df21a3f [2022-06-20T09:10:16.819Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T09:10:17.802Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T09:10:18.791Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T09:10:18.791Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T09:10:18.791Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T09:10:19.063Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T09:10:19.063Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T09:10:19.338Z] OK: 224 MiB in 56 packages [2022-06-20T09:10:20.318Z] Removing intermediate container 0d547df21a3f [2022-06-20T09:10:20.318Z] ---> f31323bb9326 [2022-06-20T09:10:20.318Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-20T09:10:20.600Z] ---> fa38f27c65ee [2022-06-20T09:10:20.601Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T09:10:20.601Z] ---> Running in aacd44503b1f [2022-06-20T09:11:07.608Z] Removing intermediate container aacd44503b1f [2022-06-20T09:11:07.608Z] ---> 01f8c0626e2e [2022-06-20T09:11:07.608Z] Step 10/12 : COPY . . [2022-06-20T09:11:07.608Z] ---> e1b9c424d537 [2022-06-20T09:11:07.608Z] Step 11/12 : ARG MAKE='make build' [2022-06-20T09:11:07.608Z] ---> Running in ff2919f028f7 [2022-06-20T09:11:07.608Z] Removing intermediate container ff2919f028f7 [2022-06-20T09:11:07.608Z] ---> b3b4f21fd9bd [2022-06-20T09:11:07.608Z] Step 12/12 : RUN $MAKE [2022-06-20T09:11:07.608Z] ---> Running in 081a513cd6a1 [2022-06-20T09:11:07.608Z] noop [2022-06-20T09:11:07.608Z] Removing intermediate container 081a513cd6a1 [2022-06-20T09:11:07.608Z] ---> 340ed663e2f8 [2022-06-20T09:11:07.608Z] Successfully built 340ed663e2f8 [2022-06-20T09:11:07.608Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:11:07.970Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T09:11:07.970Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T09:11:08.200Z] prd-ubuntu20.04-docker-arm64-4c-16g-15136 does not seem to be running inside a container [2022-06-20T09:11:08.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/14 -v /w/workspace/device-virtual-go/14:/w/workspace/device-virtual-go/14:rw,z -v /w/workspace/device-virtual-go/14@tmp:/w/workspace/device-virtual-go/14@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-20T09:11:09.506Z] $ docker top 7f67dc60c68aec010ba24df411246c7923c228cebcff8c2c46dae926475740ff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T09:11:10.380Z] + go version [2022-06-20T09:11:10.380Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-20T09:11:10.411Z] $ docker stop --time=1 7f67dc60c68aec010ba24df411246c7923c228cebcff8c2c46dae926475740ff [2022-06-20T09:11:12.057Z] $ docker rm -f 7f67dc60c68aec010ba24df411246c7923c228cebcff8c2c46dae926475740ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:11:12.642Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T09:11:12.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T09:11:12.873Z] prd-ubuntu20.04-docker-arm64-4c-16g-15136 does not seem to be running inside a container [2022-06-20T09:11:12.962Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/14 -v /w/workspace/device-virtual-go/14:/w/workspace/device-virtual-go/14:rw,z -v /w/workspace/device-virtual-go/14@tmp:/w/workspace/device-virtual-go/14@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-20T09:11:14.171Z] $ docker top a8486fb242f0b0d4f77b3d2b11f3e46c0502c1f9fb47c0eeb4224993e61de0b4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T09:11:15.076Z] + make test [2022-06-20T09:11:15.076Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-20T09:11:16.525Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-20T09:12:38.386Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-20T09:12:38.386Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.132s coverage: 65.7% of statements [2022-06-20T09:12:38.386Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-20T09:12:38.386Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T09:13:00.635Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T09:13:00.635Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T09:13:00.635Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T09:13:01.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T09:13:01.278Z] $ docker stop --time=1 a8486fb242f0b0d4f77b3d2b11f3e46c0502c1f9fb47c0eeb4224993e61de0b4 [2022-06-20T09:13:03.077Z] $ docker rm -f a8486fb242f0b0d4f77b3d2b11f3e46c0502c1f9fb47c0eeb4224993e61de0b4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T09:13:03.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T09:13:04.025Z] Warning: overwriting stash ‘coverage-report’ [2022-06-20T09:13:04.529Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T09:13:04.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T09:13:05.257Z] + ls -al . [2022-06-20T09:13:05.257Z] total 188 [2022-06-20T09:13:05.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 09:13 . [2022-06-20T09:13:05.257Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 09:09 .. [2022-06-20T09:13:05.257Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 09:09 .git [2022-06-20T09:13:05.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:09 .github [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 09:09 .gitignore [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 09:09 .golangci.yml [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 09:09 Attribution.txt [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 09:09 CHANGELOG.md [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 09:09 Dockerfile [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 09:09 GOVERNANCE.md [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 09:09 Jenkinsfile [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 09:09 LICENSE [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 09:09 Makefile [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 09:09 OWNERS.md [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 09:09 README.md [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 09:07 VERSION [2022-06-20T09:13:05.257Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 09:09 bin [2022-06-20T09:13:05.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:09 cmd [2022-06-20T09:13:05.257Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 09:12 coverage.out [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 09:09 go.mod [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 09:09 go.sum [2022-06-20T09:13:05.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:09 internal [2022-06-20T09:13:05.257Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 09:09 snap [2022-06-20T09:13:05.257Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 09:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:13:05.613Z] + 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=ca5d2fcc6b7c3eb19d25e2e837325699b58b9395 --label arch=arm64 --label version=0.0.0 . [2022-06-20T09:13:06.212Z] Sending build context to Docker daemon 11.76MB [2022-06-20T09:13:06.212Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T09:13:06.212Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-20T09:13:06.212Z] ---> 340ed663e2f8 [2022-06-20T09:13:06.212Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T09:13:06.212Z] ---> Running in 0cfc922569b8 [2022-06-20T09:13:06.487Z] Removing intermediate container 0cfc922569b8 [2022-06-20T09:13:06.487Z] ---> c1634e256ad7 [2022-06-20T09:13:06.487Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T09:13:06.487Z] ---> Running in cd7efea948bc [2022-06-20T09:13:06.762Z] Removing intermediate container cd7efea948bc [2022-06-20T09:13:06.762Z] ---> b9646e5b86e5 [2022-06-20T09:13:06.762Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-20T09:13:07.044Z] ---> Running in f6ae31dbc710 [2022-06-20T09:13:07.318Z] Removing intermediate container f6ae31dbc710 [2022-06-20T09:13:07.318Z] ---> 5c07d1293bae [2022-06-20T09:13:07.318Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T09:13:07.318Z] ---> Running in 029ea4128857 [2022-06-20T09:13:09.340Z] Removing intermediate container 029ea4128857 [2022-06-20T09:13:09.340Z] ---> 08ad5fc580c4 [2022-06-20T09:13:09.340Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T09:13:09.340Z] ---> Running in b112b38f1543 [2022-06-20T09:13:10.355Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T09:13:11.001Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T09:13:11.985Z] OK: 224 MiB in 56 packages [2022-06-20T09:13:12.580Z] Removing intermediate container b112b38f1543 [2022-06-20T09:13:12.580Z] ---> b2ff77d56501 [2022-06-20T09:13:12.580Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-20T09:13:13.175Z] ---> e7c4da2fbec4 [2022-06-20T09:13:13.175Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T09:13:13.175Z] ---> Running in e01936376e92 [2022-06-20T09:13:15.152Z] Removing intermediate container e01936376e92 [2022-06-20T09:13:15.152Z] ---> ef689962bc7b [2022-06-20T09:13:15.152Z] Step 10/26 : COPY . . [2022-06-20T09:13:16.591Z] ---> 93ed281840a8 [2022-06-20T09:13:16.591Z] Step 11/26 : ARG MAKE='make build' [2022-06-20T09:13:16.591Z] ---> Running in f971df9fb669 [2022-06-20T09:13:16.591Z] Removing intermediate container f971df9fb669 [2022-06-20T09:13:16.591Z] ---> 2168f943109c [2022-06-20T09:13:16.591Z] Step 12/26 : RUN $MAKE [2022-06-20T09:13:16.873Z] ---> Running in cb932dff2432 [2022-06-20T09:13:17.854Z] 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-20T09:15:24.708Z] Removing intermediate container cb932dff2432 [2022-06-20T09:15:24.708Z] ---> 9b81789d047e [2022-06-20T09:15:24.708Z] Step 13/26 : FROM alpine:3.14 [2022-06-20T09:15:24.708Z] 3.14: Pulling from library/alpine [2022-06-20T09:15:24.708Z] 455c02918c45: Pulling fs layer [2022-06-20T09:15:24.708Z] 455c02918c45: Download complete [2022-06-20T09:15:24.708Z] 455c02918c45: Pull complete [2022-06-20T09:15:24.708Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T09:15:24.708Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T09:15:24.708Z] ---> ac73e934f311 [2022-06-20T09:15:24.708Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-20T09:15:24.708Z] ---> Running in 0ae26f017e82 [2022-06-20T09:15:24.708Z] Removing intermediate container 0ae26f017e82 [2022-06-20T09:15:24.708Z] ---> 8b911911149f [2022-06-20T09:15:24.708Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T09:15:24.708Z] ---> Running in fbc7a8cf1c4b [2022-06-20T09:15:24.708Z] Removing intermediate container fbc7a8cf1c4b [2022-06-20T09:15:24.708Z] ---> 474505d466ac [2022-06-20T09:15:24.708Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T09:15:24.708Z] ---> Running in 0169453e82bc [2022-06-20T09:15:24.708Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-20T09:15:24.708Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-20T09:15:24.708Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T09:15:24.708Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T09:15:24.708Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T09:15:24.708Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T09:15:24.708Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T09:15:24.708Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T09:15:24.708Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T09:15:24.708Z] OK: 8 MiB in 20 packages [2022-06-20T09:15:24.708Z] Removing intermediate container 0169453e82bc [2022-06-20T09:15:24.708Z] ---> a8e506f462d9 [2022-06-20T09:15:24.708Z] Step 17/26 : WORKDIR / [2022-06-20T09:15:24.708Z] ---> Running in eb9037a1d1a2 [2022-06-20T09:15:24.708Z] Removing intermediate container eb9037a1d1a2 [2022-06-20T09:15:24.708Z] ---> 833c62b2eb59 [2022-06-20T09:15:24.708Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-20T09:15:24.708Z] ---> b6df4b709a4c [2022-06-20T09:15:24.708Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-20T09:15:24.708Z] ---> cbc14f8c0712 [2022-06-20T09:15:24.708Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-20T09:15:24.708Z] ---> 585618db8d88 [2022-06-20T09:15:24.708Z] Step 21/26 : EXPOSE 59900 [2022-06-20T09:15:24.708Z] ---> Running in ff11b15d7a17 [2022-06-20T09:15:24.708Z] Removing intermediate container ff11b15d7a17 [2022-06-20T09:15:24.708Z] ---> 73d22e68745e [2022-06-20T09:15:24.708Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-20T09:15:24.708Z] ---> Running in 6a0f657a786d [2022-06-20T09:15:24.708Z] Removing intermediate container 6a0f657a786d [2022-06-20T09:15:24.708Z] ---> 39d047ea37cd [2022-06-20T09:15:24.708Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-20T09:15:24.708Z] ---> Running in 0f25d19d771a [2022-06-20T09:15:24.708Z] Removing intermediate container 0f25d19d771a [2022-06-20T09:15:24.708Z] ---> 72bef5fb0e8b [2022-06-20T09:15:24.708Z] Step 24/26 : LABEL arch=arm64 [2022-06-20T09:15:24.708Z] ---> Running in dd694eed9005 [2022-06-20T09:15:24.708Z] Removing intermediate container dd694eed9005 [2022-06-20T09:15:24.708Z] ---> 10e7201300a9 [2022-06-20T09:15:24.708Z] Step 25/26 : LABEL git_sha=ca5d2fcc6b7c3eb19d25e2e837325699b58b9395 [2022-06-20T09:15:24.708Z] ---> Running in 1fee0fda3215 [2022-06-20T09:15:24.982Z] Removing intermediate container 1fee0fda3215 [2022-06-20T09:15:24.982Z] ---> 1d3b748a7d94 [2022-06-20T09:15:24.982Z] Step 26/26 : LABEL version=0.0.0 [2022-06-20T09:15:24.982Z] ---> Running in 6f734a1e3a44 [2022-06-20T09:15:25.257Z] Removing intermediate container 6f734a1e3a44 [2022-06-20T09:15:25.257Z] ---> 4523f16aaa7e [2022-06-20T09:15:25.257Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T09:15:25.257Z] Successfully built 4523f16aaa7e [2022-06-20T09:15:25.257Z] 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-20T09:15:25.698Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T09:15:25.699Z] [2022-06-20T09:15:25.699Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:15:26.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T09:15:26.331Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-20T09:15:26.331Z] 8998bd30e6a1: Pulling fs layer [2022-06-20T09:15:26.331Z] 04944245beec: Pulling fs layer [2022-06-20T09:15:26.331Z] 699f458cf7ca: Pulling fs layer [2022-06-20T09:15:26.331Z] 765212b225bb: Pulling fs layer [2022-06-20T09:15:26.331Z] f23df028b6ca: Pulling fs layer [2022-06-20T09:15:26.331Z] d65c8cfc05b1: Pulling fs layer [2022-06-20T09:15:26.331Z] 2437ff75d9bd: Pulling fs layer [2022-06-20T09:15:26.331Z] 765212b225bb: Waiting [2022-06-20T09:15:26.331Z] f23df028b6ca: Waiting [2022-06-20T09:15:26.331Z] d65c8cfc05b1: Waiting [2022-06-20T09:15:26.331Z] 2437ff75d9bd: Waiting [2022-06-20T09:15:26.331Z] 04944245beec: Verifying Checksum [2022-06-20T09:15:26.331Z] 04944245beec: Download complete [2022-06-20T09:15:26.331Z] 765212b225bb: Download complete [2022-06-20T09:15:26.331Z] f23df028b6ca: Download complete [2022-06-20T09:15:26.331Z] d65c8cfc05b1: Verifying Checksum [2022-06-20T09:15:26.331Z] d65c8cfc05b1: Download complete [2022-06-20T09:15:26.608Z] 699f458cf7ca: Verifying Checksum [2022-06-20T09:15:26.608Z] 699f458cf7ca: Download complete [2022-06-20T09:15:26.881Z] 8998bd30e6a1: Download complete [2022-06-20T09:15:29.512Z] 2437ff75d9bd: Verifying Checksum [2022-06-20T09:15:29.512Z] 2437ff75d9bd: Download complete [2022-06-20T09:15:31.499Z] 8998bd30e6a1: Pull complete [2022-06-20T09:15:31.775Z] 04944245beec: Pull complete [2022-06-20T09:15:33.211Z] 699f458cf7ca: Pull complete [2022-06-20T09:15:33.486Z] 765212b225bb: Pull complete [2022-06-20T09:15:34.084Z] f23df028b6ca: Pull complete [2022-06-20T09:15:34.357Z] d65c8cfc05b1: Pull complete [2022-06-20T09:15:49.443Z] 2437ff75d9bd: Pull complete [2022-06-20T09:15:49.443Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-20T09:15:49.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T09:15:49.443Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T09:15:49.712Z] prd-ubuntu20.04-docker-arm64-4c-16g-15136 does not seem to be running inside a container [2022-06-20T09:15:49.813Z] $ 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/14 -v /w/workspace/device-virtual-go/14:/w/workspace/device-virtual-go/14:rw,z -v /w/workspace/device-virtual-go/14@tmp:/w/workspace/device-virtual-go/14@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-20T09:15:52.491Z] $ docker top 953503625ed458609f2d56db8280dca13d74cea8bf776c0110e97ca08278fb5d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:15:53.411Z] ---> job-cost.sh [2022-06-20T09:15:53.411Z] lf-activate-venv: SKIPPING [2022-06-20T09:15:53.411Z] INFO: No Stack... [2022-06-20T09:15:53.682Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-20T09:15:54.655Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T09:15:55.313Z] + cut -d, -f6 [2022-06-20T09:15:55.313Z] + cat /w/workspace/device-virtual-go/14/archives/cost.csv [Pipeline] lock [2022-06-20T09:15:55.375Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-14-stack-cost] [2022-06-20T09:15:55.382Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-14-stack-cost] did not exist. Created. [2022-06-20T09:15:55.382Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T09:15:56.049Z] /w/workspace/device-virtual-go/14@tmp/durable-2a57e12e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-20T09:15:56.726Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-20T09:15:56.755Z] Warning: overwriting stash ‘stack-cost’ [2022-06-20T09:15:56.796Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T09:15:56.804Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-14-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T09:15:56.827Z] $ docker stop --time=1 953503625ed458609f2d56db8280dca13d74cea8bf776c0110e97ca08278fb5d [2022-06-20T09:15:58.300Z] $ docker rm -f 953503625ed458609f2d56db8280dca13d74cea8bf776c0110e97ca08278fb5d [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-20T09:15:58.768Z] provisioning config files... [2022-06-20T09:15:58.778Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config7666483092026709071tmp [Pipeline] { [Pipeline] sh [2022-06-20T09:15:59.074Z] + set +x [2022-06-20T09:15:59.074Z] + curl -s https://codecov.io/bash [2022-06-20T09:15:59.074Z] + bash -s -- [2022-06-20T09:15:59.074Z] [2022-06-20T09:15:59.074Z] _____ _ [2022-06-20T09:15:59.074Z] / ____| | | [2022-06-20T09:15:59.074Z] | | ___ __| | ___ ___ _____ __ [2022-06-20T09:15:59.074Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-20T09:15:59.074Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-20T09:15:59.074Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-20T09:15:59.074Z] Bash-1.0.6 [2022-06-20T09:15:59.074Z] [2022-06-20T09:15:59.074Z] [2022-06-20T09:15:59.074Z] ==> git version 2.25.1 found [2022-06-20T09:15:59.074Z] ==> 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-20T09:15:59.074Z] Release-Date: 2020-01-08 [2022-06-20T09:15:59.074Z] 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-20T09:15:59.074Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-20T09:15:59.074Z] ==> Jenkins CI detected. [2022-06-20T09:15:59.074Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-20T09:15:59.074Z] project root: . [2022-06-20T09:15:59.074Z] --> token set from env [2022-06-20T09:15:59.074Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-20T09:15:59.074Z] ==> Running gcov in . (disable via -X gcov) [2022-06-20T09:15:59.074Z] ==> Python coveragepy not found [2022-06-20T09:15:59.074Z] ==> Searching for coverage reports in: [2022-06-20T09:15:59.074Z] + . [2022-06-20T09:15:59.074Z] -> Found 1 reports [2022-06-20T09:15:59.074Z] ==> Detecting git/mercurial file structure [2022-06-20T09:15:59.074Z] ==> Reading reports [2022-06-20T09:15:59.074Z] + ./coverage.out bytes=44128 [2022-06-20T09:15:59.074Z] ==> Appending adjustments [2022-06-20T09:15:59.074Z] https://docs.codecov.io/docs/fixing-reports [2022-06-20T09:15:59.335Z] + Found adjustments [2022-06-20T09:15:59.335Z] ==> Gzipping contents [2022-06-20T09:15:59.335Z] 8.0K /tmp/codecov.QMjseP.gz [2022-06-20T09:15:59.335Z] ==> Uploading reports [2022-06-20T09:15:59.335Z] url: https://codecov.io [2022-06-20T09:15:59.335Z] query: branch=PR-290&commit=210ca876eaeee179d25e884df239013f257827b4&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-20T09:15:59.335Z] -> Pinging Codecov [2022-06-20T09:15:59.335Z] 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=210ca876eaeee179d25e884df239013f257827b4&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-20T09:15:59.596Z] -> Uploading to [2022-06-20T09:15:59.596Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-20/5E52B4B073DB2E39498172D8E973AA87/210ca876eaeee179d25e884df239013f257827b4/645929b4-52cf-4d56-80c6-7b0895c95a37.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T091559Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=defe4d419e497eefdf32a3241a86a81946ccafb1892986266c7ac4f93007abcb [2022-06-20T09:15:59.596Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T09:15:59.596Z] Dload Upload Total Spent Left Speed [2022-06-20T09:15:59.856Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5515 0 0 100 5515 0 24842 --:--:-- --:--:-- --:--:-- 24730 100 5515 0 0 100 5515 0 24842 --:--:-- --:--:-- --:--:-- 24730 [2022-06-20T09:15:59.856Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/210ca876eaeee179d25e884df239013f257827b4 [Pipeline] } [2022-06-20T09:15:59.865Z] 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-20T09:16:00.527Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-20T09:16:00.527Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T09:16:00.527Z] total 16 [2022-06-20T09:16:00.528Z] drwxr-xr-x 3 root root 4096 Jun 20 09:08 . [2022-06-20T09:16:00.528Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 09:08 .. [2022-06-20T09:16:00.528Z] drwxr-xr-x 2 root root 4096 Jun 20 09:08 cost [2022-06-20T09:16:00.528Z] -rw-r--r-- 1 root root 89 Jun 20 09:08 cost.csv [2022-06-20T09:16:00.528Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T09:16:00.528Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T09:16:00.528Z] total 16 [2022-06-20T09:16:00.528Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 09:08 . [2022-06-20T09:16:00.528Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 09:08 .. [2022-06-20T09:16:00.528Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 09:08 cost [2022-06-20T09:16:00.528Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 20 09:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:16:00.823Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:16:01.721Z] ---> package-listing.sh [2022-06-20T09:16:01.721Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-20T09:16:01.721Z] ++ facter osfamily [2022-06-20T09:16:01.721Z] + OS_FAMILY=debian [2022-06-20T09:16:01.721Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-20T09:16:01.721Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-20T09:16:01.721Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-20T09:16:01.721Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-20T09:16:01.721Z] + PACKAGES=/tmp/packages_start.txt [2022-06-20T09:16:01.721Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-20T09:16:01.721Z] + PACKAGES=/tmp/packages_end.txt [2022-06-20T09:16:01.721Z] + case "${OS_FAMILY}" in [2022-06-20T09:16:01.721Z] + dpkg -l [2022-06-20T09:16:02.008Z] + grep '^ii' [2022-06-20T09:16:02.008Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-20T09:16:02.008Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-20T09:16:02.008Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-20T09:16:02.008Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-20T09:16:02.008Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-20T09:16:02.008Z] + 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-20T09:16:02.042Z] 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-20T09:16:02.353Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T09:16:02.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T09:16:02.924Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T09:16:03.003Z] prd-ubuntu20.04-docker-8c-8g-15135 does not seem to be running inside a container [2022-06-20T09:16:03.054Z] $ 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-20T09:16:03.301Z] $ docker top a269c8bbccdbdd360bdcc4f51566eb1f8f9bfb64573616e520f7b5aca685c706 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T09:16:03.654Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-20T09:16:03.944Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-20T09:16:04.232Z] + ls /var/log/sa-host [2022-06-20T09:16:04.232Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T09:16:04.304Z] provisioning config files... [2022-06-20T09:16:04.314Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config8710344775581639105tmp [Pipeline] { [Pipeline] echo [2022-06-20T09:16:04.329Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:16:04.615Z] ---> create-netrc.sh [Pipeline] } [2022-06-20T09:16:04.624Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:16:04.954Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-20T09:16:04.963Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:16:05.251Z] ---> sudo-logs.sh [2022-06-20T09:16:05.252Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-20T09:16:05.278Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:16:05.565Z] ---> job-cost.sh [2022-06-20T09:16:05.565Z] lf-activate-venv: SKIPPING [2022-06-20T09:16:05.565Z] DEBUG: total: 0.2199999988079071 [2022-06-20T09:16:05.565Z] INFO: Retrieving Stack Cost... [2022-06-20T09:16:05.827Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T09:16:06.397Z] INFO: Archiving Costs [Pipeline] echo [2022-06-20T09:16:06.409Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T09:16:06.695Z] ---> logs-deploy.sh [2022-06-20T09:16:06.695Z] lf-activate-venv: SKIPPING [2022-06-20T09:16:06.695Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/14 [2022-06-20T09:16:06.695Z] INFO: archiving workspace using pattern(s): [2022-06-20T09:16:07.637Z] Archives upload complete. [2022-06-20T09:16:07.637Z] INFO: archiving logs to Nexus