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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a rather than 1af9114e22c5bb728a095b2c8f11620960646e7a Obtained Jenkinsfile from dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a 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-ssh15890704326280033495.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-ssh1654977358294690594.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-ssh13885686995855179186.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-ssh316491898234119286.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-ssh9131215617979528583.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2586 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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit 1af9114e22c5bb728a095b2c8f11620960646e7a Merge succeeded, producing 1af9114e22c5bb728a095b2c8f11620960646e7a Checking out Revision 1af9114e22c5bb728a095b2c8f11620960646e7a (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 1af9114e22c5bb728a095b2c8f11620960646e7a # 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 dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1af9114e22c5bb728a095b2c8f11620960646e7a # timeout=10 Commit message: "fix(snap): Use local build snap for testing" > git rev-list --no-walk 2f7c6def428852450d0e08c4526510d83eeebd00 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T14:44:32.995Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T14:44:33.056Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T14:44:33.075Z] ========================================================= [2022-06-17T14:44:33.075Z] EdgeX Global Pipelines Version Info [2022-06-17T14:44:33.075Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:44:33.854Z] ------------------- [2022-06-17T14:44:33.854Z] stable info: [2022-06-17T14:44:33.854Z] ------------------- [2022-06-17T14:44:33.854Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T14:44:33.854Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T14:44:33.854Z] Message: update stable to v1.0.234 [2022-06-17T14:44:34.431Z] ------------------- [2022-06-17T14:44:34.431Z] experimental info: [2022-06-17T14:44:34.431Z] ------------------- [2022-06-17T14:44:34.431Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T14:44:34.431Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T14:44:34.431Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T14:44:34.701Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-17T14:44:34.715Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-17T14:44:34.727Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T14:44:34.739Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T14:44:34.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T14:44:34.762Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T14:44:34.774Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T14:44:34.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T14:44:34.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T14:44:34.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T14:44:34.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T14:44:34.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-17T14:44:34.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T14:44:34.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T14:44:34.892Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T14:44:34.907Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T14:44:34.919Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T14:44:34.933Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T14:44:34.946Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T14:44:34.960Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T14:44:34.977Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T14:44:34.989Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T14:44:35.003Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T14:44:35.014Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T14:44:35.026Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T14:44:35.038Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T14:44:35.050Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T14:44:35.061Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-17T14:44:35.072Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-17T14:44:35.083Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-17T14:44:35.097Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1af9114e22c5bb728a095b2c8f11620960646e7a [Pipeline] echo [2022-06-17T14:44:35.115Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1af9114 [Pipeline] echo [2022-06-17T14:44:35.125Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T14:44:35.169Z] provisioning config files... [2022-06-17T14:44:35.186Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config4528922344576485191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:44:35.492Z] ---> docker-login.sh [2022-06-17T14:44:35.492Z] nexus3.edgexfoundry.org:10001 [2022-06-17T14:44:35.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:35.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:35.755Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:35.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:35.755Z] [2022-06-17T14:44:35.755Z] Login Succeeded [2022-06-17T14:44:35.755Z] nexus3.edgexfoundry.org:10002 [2022-06-17T14:44:36.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:36.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:36.016Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:36.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:36.016Z] [2022-06-17T14:44:36.016Z] Login Succeeded [2022-06-17T14:44:36.016Z] nexus3.edgexfoundry.org:10003 [2022-06-17T14:44:36.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:36.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:36.016Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:36.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:36.016Z] [2022-06-17T14:44:36.016Z] Login Succeeded [2022-06-17T14:44:36.016Z] nexus3.edgexfoundry.org:10004 [2022-06-17T14:44:36.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:36.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:36.280Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:36.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:36.280Z] [2022-06-17T14:44:36.280Z] Login Succeeded [2022-06-17T14:44:36.280Z] docker.io [2022-06-17T14:44:36.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:36.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:36.854Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:36.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:36.854Z] [2022-06-17T14:44:36.854Z] Login Succeeded [2022-06-17T14:44:36.854Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T14:44:36.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T14:44:37.247Z] + git rev-list -1 --merges 1af9114e22c5bb728a095b2c8f11620960646e7a~1..1af9114e22c5bb728a095b2c8f11620960646e7a [Pipeline] echo [2022-06-17T14:44:37.287Z] -----------> git rev-list -1 --merges 1af9114e22c5bb728a095b2c8f11620960646e7a~1..1af9114e22c5bb728a095b2c8f11620960646e7a 1af9114e22c5bb728a095b2c8f11620960646e7a [false] [Pipeline] sh [2022-06-17T14:44:37.606Z] + git log --format=format:%s -1 1af9114e22c5bb728a095b2c8f11620960646e7a [Pipeline] echo [2022-06-17T14:44:37.618Z] ========================================================= [2022-06-17T14:44:37.618Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T14:44:37.618Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T14:44:37.942Z] + git log --format=format:%s -1 1af9114e22c5bb728a095b2c8f11620960646e7a [Pipeline] echo [2022-06-17T14:44:37.954Z] [semverPrep] GIT_COMMIT: 1af9114e22c5bb728a095b2c8f11620960646e7a, Commit Message: fix(snap): Use local build snap for testing [Pipeline] echo [2022-06-17T14:44:37.966Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T14:44:38.330Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T14:44:38.330Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T14:44:38.330Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T14:44:38.330Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T14:44:38.330Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T14:44:38.330Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T14:44:38.330Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:44:38.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T14:44:38.748Z] [2022-06-17T14:44:38.748Z] 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-17T14:44:39.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T14:44:39.058Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T14:44:39.058Z] 42c077c10790: Pulling fs layer [2022-06-17T14:44:39.058Z] f63e77b7563a: Pulling fs layer [2022-06-17T14:44:39.058Z] bd5fdadae976: Pulling fs layer [2022-06-17T14:44:39.058Z] 205491f53016: Pulling fs layer [2022-06-17T14:44:39.058Z] df18705c85c3: Pulling fs layer [2022-06-17T14:44:39.058Z] bdb3f477010e: Pulling fs layer [2022-06-17T14:44:39.058Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T14:44:39.058Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T14:44:39.058Z] bdb8f0575790: Pulling fs layer [2022-06-17T14:44:39.058Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T14:44:39.058Z] 2343380bae48: Pulling fs layer [2022-06-17T14:44:39.058Z] c8a8fc8e1c8f: Waiting [2022-06-17T14:44:39.058Z] 2c6e9b1d212d: Waiting [2022-06-17T14:44:39.058Z] 386e3cb2ff24: Waiting [2022-06-17T14:44:39.058Z] bdb8f0575790: Waiting [2022-06-17T14:44:39.058Z] bdb3f477010e: Waiting [2022-06-17T14:44:39.058Z] 205491f53016: Waiting [2022-06-17T14:44:39.058Z] 2343380bae48: Waiting [2022-06-17T14:44:39.058Z] df18705c85c3: Waiting [2022-06-17T14:44:39.058Z] f63e77b7563a: Verifying Checksum [2022-06-17T14:44:39.058Z] f63e77b7563a: Download complete [2022-06-17T14:44:39.058Z] 205491f53016: Download complete [2022-06-17T14:44:39.318Z] df18705c85c3: Verifying Checksum [2022-06-17T14:44:39.318Z] df18705c85c3: Download complete [2022-06-17T14:44:39.318Z] bdb3f477010e: Verifying Checksum [2022-06-17T14:44:39.318Z] bdb3f477010e: Download complete [2022-06-17T14:44:39.318Z] bd5fdadae976: Verifying Checksum [2022-06-17T14:44:39.318Z] bd5fdadae976: Download complete [2022-06-17T14:44:39.318Z] 2c6e9b1d212d: Verifying Checksum [2022-06-17T14:44:39.318Z] 2c6e9b1d212d: Download complete [2022-06-17T14:44:39.318Z] bdb8f0575790: Verifying Checksum [2022-06-17T14:44:39.318Z] bdb8f0575790: Download complete [2022-06-17T14:44:39.318Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T14:44:39.318Z] 386e3cb2ff24: Download complete [2022-06-17T14:44:39.318Z] 2343380bae48: Verifying Checksum [2022-06-17T14:44:39.318Z] 2343380bae48: Download complete [2022-06-17T14:44:39.318Z] 42c077c10790: Download complete [2022-06-17T14:44:39.577Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-17T14:44:39.577Z] c8a8fc8e1c8f: Download complete [2022-06-17T14:44:40.517Z] 42c077c10790: Pull complete [2022-06-17T14:44:40.778Z] f63e77b7563a: Pull complete [2022-06-17T14:44:41.039Z] bd5fdadae976: Pull complete [2022-06-17T14:44:41.302Z] 205491f53016: Pull complete [2022-06-17T14:44:41.302Z] df18705c85c3: Pull complete [2022-06-17T14:44:41.564Z] bdb3f477010e: Pull complete [2022-06-17T14:44:43.479Z] c8a8fc8e1c8f: Pull complete [2022-06-17T14:44:43.479Z] 2c6e9b1d212d: Pull complete [2022-06-17T14:44:43.479Z] bdb8f0575790: Pull complete [2022-06-17T14:44:43.479Z] 386e3cb2ff24: Pull complete [2022-06-17T14:44:43.479Z] 2343380bae48: Pull complete [2022-06-17T14:44:43.741Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T14:44:43.741Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T14:44:43.741Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:44:43.835Z] prd-ubuntu20.04-docker-8c-8g-2586 does not seem to be running inside a container [2022-06-17T14:44:43.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T14:44:45.181Z] $ docker top ca36082abc772b44b18d1c6a10756f850366a14423cbe908394370fb7951639c -eo pid,comm [2022-06-17T14:44:45.246Z] 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-17T14:44:45.246Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T14:44:45.287Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T14:44:45.287Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T14:44:45.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T14:44:45.410Z] $ docker exec ca36082abc772b44b18d1c6a10756f850366a14423cbe908394370fb7951639c ssh-agent [2022-06-17T14:44:45.538Z] SSH_AUTH_SOCK=/tmp/ssh-nZo9H5qYxoXK/agent.37 [2022-06-17T14:44:45.538Z] SSH_AGENT_PID=44 [2022-06-17T14:44:45.544Z] Running ssh-add (command line suppressed) [2022-06-17T14:44:45.663Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_2435783781848333715.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_2435783781848333715.key) [2022-06-17T14:44:45.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T14:44:45.963Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T14:44:45.983Z] $ docker exec --env ******** --env ******** ca36082abc772b44b18d1c6a10756f850366a14423cbe908394370fb7951639c ssh-agent -k [2022-06-17T14:44:46.083Z] unset SSH_AUTH_SOCK; [2022-06-17T14:44:46.083Z] unset SSH_AGENT_PID; [2022-06-17T14:44:46.083Z] echo Agent pid 44 killed; [2022-06-17T14:44:46.090Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T14:44:46.122Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T14:44:46.122Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T14:44:46.257Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T14:44:46.266Z] $ docker exec ca36082abc772b44b18d1c6a10756f850366a14423cbe908394370fb7951639c ssh-agent [2022-06-17T14:44:46.393Z] SSH_AUTH_SOCK=/tmp/ssh-HAuKKMbiUB9P/agent.78 [2022-06-17T14:44:46.393Z] SSH_AGENT_PID=85 [2022-06-17T14:44:46.400Z] Running ssh-add (command line suppressed) [2022-06-17T14:44:46.534Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_2069183655979794579.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_2069183655979794579.key) [2022-06-17T14:44:46.546Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T14:44:46.845Z] + git semver init [2022-06-17T14:44:47.104Z] 2022-06-17 14:44:47,055 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T14:44:47.105Z] 2022-06-17 14:44:47,055 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-17T14:44:47.105Z] 2022-06-17 14:44:47,056 [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-17T14:44:47.105Z] 2022-06-17 14:44:47,056 [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-17T14:44:48.048Z] 2022-06-17 14:44:48,003 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-17T14:44:48.048Z] 2022-06-17 14:44:48,004 [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-17T14:44:48.048Z] 2022-06-17 14:44:48,004 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-17T14:44:48.048Z] 2022-06-17 14:44:48,008 [execute] INFO git cat-file --batch-check [2022-06-17T14:44:48.048Z] 2022-06-17 14:44:48,009 [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-17T14:44:48.048Z] 2022-06-17 14:44:48,016 [execute] INFO git cat-file --batch [2022-06-17T14:44:48.048Z] 2022-06-17 14:44:48,016 [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-17T14:44:48.048Z] 2022-06-17 14:44:48,022 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-17T14:44:48.048Z] 0.0.0 [Pipeline] } [2022-06-17T14:44:48.065Z] $ docker exec --env ******** --env ******** ca36082abc772b44b18d1c6a10756f850366a14423cbe908394370fb7951639c ssh-agent -k [2022-06-17T14:44:48.186Z] unset SSH_AUTH_SOCK; [2022-06-17T14:44:48.187Z] unset SSH_AGENT_PID; [2022-06-17T14:44:48.187Z] echo Agent pid 85 killed; [2022-06-17T14:44:48.192Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T14:44:48.502Z] + git semver [Pipeline] } [2022-06-17T14:44:48.782Z] $ docker stop --time=1 ca36082abc772b44b18d1c6a10756f850366a14423cbe908394370fb7951639c [2022-06-17T14:44:50.107Z] $ docker rm -f ca36082abc772b44b18d1c6a10756f850366a14423cbe908394370fb7951639c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T14:44:50.444Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T14:44:50.691Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T14:44:50.694Z] [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-17T14:44:50.856Z] provisioning config files... [2022-06-17T14:44:50.866Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config1447827947221884654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:44:51.170Z] ---> docker-login.sh [2022-06-17T14:44:51.171Z] nexus3.edgexfoundry.org:10001 [2022-06-17T14:44:51.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:51.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:51.171Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:51.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:51.171Z] [2022-06-17T14:44:51.171Z] Login Succeeded [2022-06-17T14:44:51.171Z] nexus3.edgexfoundry.org:10002 [2022-06-17T14:44:51.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:51.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:51.434Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:51.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:51.434Z] [2022-06-17T14:44:51.434Z] Login Succeeded [2022-06-17T14:44:51.434Z] nexus3.edgexfoundry.org:10003 [2022-06-17T14:44:51.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:51.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:51.434Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:51.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:51.434Z] [2022-06-17T14:44:51.434Z] Login Succeeded [2022-06-17T14:44:51.434Z] nexus3.edgexfoundry.org:10004 [2022-06-17T14:44:51.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:51.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:51.696Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:51.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:51.696Z] [2022-06-17T14:44:51.696Z] Login Succeeded [2022-06-17T14:44:51.696Z] docker.io [2022-06-17T14:44:51.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:44:51.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:44:51.957Z] Configure a credential helper to remove this warning. See [2022-06-17T14:44:51.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:44:51.957Z] [2022-06-17T14:44:51.957Z] Login Succeeded [2022-06-17T14:44:51.957Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T14:44:51.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T14:44:52.030Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T14:44:52.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T14:44:52.055Z] ========================================================= [2022-06-17T14:44:52.055Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T14:44:52.055Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:44:52.380Z] + 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-17T14:44:52.380Z] Sending build context to Docker daemon 23.05MB [2022-06-17T14:44:52.380Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T14:44:52.380Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T14:44:52.642Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T14:44:52.642Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T14:44:52.642Z] 666ba61612fd: Pulling fs layer [2022-06-17T14:44:52.642Z] 8ed8ca486205: Pulling fs layer [2022-06-17T14:44:52.642Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T14:44:52.642Z] c516ae0d96e1: Pulling fs layer [2022-06-17T14:44:52.642Z] 684cea983483: Pulling fs layer [2022-06-17T14:44:52.642Z] dd3240ac7de5: Pulling fs layer [2022-06-17T14:44:52.642Z] b1e948a4e11c: Pulling fs layer [2022-06-17T14:44:52.642Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T14:44:52.642Z] 646ad004c059: Pulling fs layer [2022-06-17T14:44:52.642Z] cc1cd167ecdc: Waiting [2022-06-17T14:44:52.642Z] c516ae0d96e1: Waiting [2022-06-17T14:44:52.642Z] dd3240ac7de5: Waiting [2022-06-17T14:44:52.642Z] b1e948a4e11c: Waiting [2022-06-17T14:44:52.642Z] a8fd76ee1af6: Waiting [2022-06-17T14:44:52.642Z] 684cea983483: Waiting [2022-06-17T14:44:52.642Z] 646ad004c059: Waiting [2022-06-17T14:44:52.642Z] 8ed8ca486205: Verifying Checksum [2022-06-17T14:44:52.642Z] 8ed8ca486205: Download complete [2022-06-17T14:44:52.642Z] 666ba61612fd: Download complete [2022-06-17T14:44:52.642Z] c516ae0d96e1: Verifying Checksum [2022-06-17T14:44:52.642Z] c516ae0d96e1: Download complete [2022-06-17T14:44:52.642Z] 684cea983483: Verifying Checksum [2022-06-17T14:44:52.642Z] dd3240ac7de5: Verifying Checksum [2022-06-17T14:44:52.642Z] dd3240ac7de5: Download complete [2022-06-17T14:44:52.642Z] 59bf1c3509f3: Download complete [2022-06-17T14:44:52.642Z] b1e948a4e11c: Verifying Checksum [2022-06-17T14:44:52.642Z] b1e948a4e11c: Download complete [2022-06-17T14:44:52.905Z] 59bf1c3509f3: Pull complete [2022-06-17T14:44:52.905Z] 666ba61612fd: Pull complete [2022-06-17T14:44:52.905Z] 8ed8ca486205: Pull complete [2022-06-17T14:44:53.167Z] 646ad004c059: Verifying Checksum [2022-06-17T14:44:53.167Z] 646ad004c059: Download complete [2022-06-17T14:44:53.429Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T14:44:53.429Z] a8fd76ee1af6: Download complete [2022-06-17T14:44:53.429Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T14:44:53.429Z] cc1cd167ecdc: Download complete [2022-06-17T14:44:57.636Z] cc1cd167ecdc: Pull complete [2022-06-17T14:44:57.636Z] c516ae0d96e1: Pull complete [2022-06-17T14:44:57.636Z] 684cea983483: Pull complete [2022-06-17T14:44:57.636Z] dd3240ac7de5: Pull complete [2022-06-17T14:44:57.897Z] b1e948a4e11c: Pull complete [2022-06-17T14:45:00.436Z] a8fd76ee1af6: Pull complete [2022-06-17T14:45:01.006Z] 646ad004c059: Pull complete [2022-06-17T14:45:01.006Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T14:45:01.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T14:45:01.006Z] ---> 8f69c11f6b0c [2022-06-17T14:45:01.006Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T14:45:02.924Z] ---> Running in df4c5e69a9a3 [2022-06-17T14:45:02.924Z] Removing intermediate container df4c5e69a9a3 [2022-06-17T14:45:02.924Z] ---> 726b343ce36c [2022-06-17T14:45:02.924Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T14:45:02.924Z] ---> Running in 92695d495ce6 [2022-06-17T14:45:02.924Z] Removing intermediate container 92695d495ce6 [2022-06-17T14:45:02.924Z] ---> bded9fc25527 [2022-06-17T14:45:02.924Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T14:45:02.924Z] ---> Running in f4ac0cd32b29 [2022-06-17T14:45:02.924Z] Removing intermediate container f4ac0cd32b29 [2022-06-17T14:45:02.924Z] ---> ea2e652ddc9a [2022-06-17T14:45:02.924Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:45:02.924Z] ---> Running in 07187df99b54 [2022-06-17T14:45:03.497Z] Removing intermediate container 07187df99b54 [2022-06-17T14:45:03.497Z] ---> 72d9620ffa2b [2022-06-17T14:45:03.497Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T14:45:03.758Z] ---> Running in 2312bcc80ad8 [2022-06-17T14:45:04.019Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T14:45:04.593Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T14:45:04.855Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T14:45:05.117Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T14:45:05.117Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T14:45:05.380Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T14:45:05.380Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T14:45:05.380Z] OK: 224 MiB in 56 packages [2022-06-17T14:45:05.641Z] Removing intermediate container 2312bcc80ad8 [2022-06-17T14:45:05.641Z] ---> 5a98e30f7a4a [2022-06-17T14:45:05.641Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T14:45:05.811Z] Still waiting to schedule task [2022-06-17T14:45:05.811Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-17T14:45:05.901Z] ---> a6fd7c2d5b53 [2022-06-17T14:45:05.901Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T14:45:05.901Z] ---> Running in ea62b9b9de1d [2022-06-17T14:45:20.813Z] Removing intermediate container ea62b9b9de1d [2022-06-17T14:45:20.813Z] ---> 34aac6ef30ab [2022-06-17T14:45:20.813Z] Step 10/12 : COPY . . [2022-06-17T14:45:20.813Z] ---> cf96c1b35df1 [2022-06-17T14:45:20.813Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T14:45:21.074Z] ---> Running in b81ea7772945 [2022-06-17T14:45:21.074Z] Removing intermediate container b81ea7772945 [2022-06-17T14:45:21.074Z] ---> 547ff2e5cf09 [2022-06-17T14:45:21.074Z] Step 12/12 : RUN $MAKE [2022-06-17T14:45:21.074Z] ---> Running in cc79b11d6ee4 [2022-06-17T14:45:21.343Z] noop [2022-06-17T14:45:21.608Z] Removing intermediate container cc79b11d6ee4 [2022-06-17T14:45:21.608Z] ---> d9ea4d011a2a [2022-06-17T14:45:21.608Z] Successfully built d9ea4d011a2a [2022-06-17T14:45:21.608Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:45:21.992Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T14:45:21.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:45:22.075Z] prd-ubuntu20.04-docker-8c-8g-2586 does not seem to be running inside a container [2022-06-17T14:45:22.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T14:45:22.526Z] $ docker top 2e373340bb5ecfa9321796817f843dce997d346da8729cde5a71c8f2dba2a860 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T14:45:22.889Z] + go version [2022-06-17T14:45:22.889Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T14:45:22.907Z] $ docker stop --time=1 2e373340bb5ecfa9321796817f843dce997d346da8729cde5a71c8f2dba2a860 [2022-06-17T14:45:24.193Z] $ docker rm -f 2e373340bb5ecfa9321796817f843dce997d346da8729cde5a71c8f2dba2a860 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:45:24.617Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T14:45:24.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:45:24.702Z] prd-ubuntu20.04-docker-8c-8g-2586 does not seem to be running inside a container [2022-06-17T14:45:24.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T14:45:25.123Z] $ docker top d9d8d354c7471f94db6cf05f8601aedb4caecf1d1661bf661033ffa4fe52b8b2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T14:45:25.495Z] + make test [2022-06-17T14:45:25.495Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T14:45:25.755Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T14:45:35.743Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T14:45:35.743Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2022-06-17T14:45:42.324Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T14:45:46.523Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T14:45:46.523Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T14:45:46.523Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T14:45:46.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T14:45:46.559Z] $ docker stop --time=1 d9d8d354c7471f94db6cf05f8601aedb4caecf1d1661bf661033ffa4fe52b8b2 [2022-06-17T14:45:48.255Z] $ docker rm -f d9d8d354c7471f94db6cf05f8601aedb4caecf1d1661bf661033ffa4fe52b8b2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T14:45:48.697Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T14:45:48.759Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T14:45:49.269Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T14:45:49.561Z] + ls -al . [2022-06-17T14:45:49.561Z] total 192 [2022-06-17T14:45:49.561Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 14:45 . [2022-06-17T14:45:49.561Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 14:44 .. [2022-06-17T14:45:49.561Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 14:44 .git [2022-06-17T14:45:49.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:44 .github [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 14:44 .gitignore [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 14:44 .golangci.yml [2022-06-17T14:45:49.561Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 14:44 .semver [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 17 14:44 Attribution.txt [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 14:44 CHANGELOG.md [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 14:44 Dockerfile [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 14:44 GOVERNANCE.md [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 14:44 Jenkinsfile [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 14:44 LICENSE [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 14:44 Makefile [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 14:44 OWNERS.md [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 14:44 README.md [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 14:44 VERSION [2022-06-17T14:45:49.561Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 14:44 bin [2022-06-17T14:45:49.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:44 cmd [2022-06-17T14:45:49.561Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 14:45 coverage.out [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 17 14:44 go.mod [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 17 14:44 go.sum [2022-06-17T14:45:49.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:44 internal [2022-06-17T14:45:49.561Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:44 snap [2022-06-17T14:45:49.561Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 14:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:45:49.870Z] + 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=1af9114e22c5bb728a095b2c8f11620960646e7a --label arch=amd64 --label version=0.0.0 . [2022-06-17T14:45:49.871Z] Sending build context to Docker daemon 23.09MB [2022-06-17T14:45:49.871Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T14:45:49.871Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T14:45:49.871Z] ---> d9ea4d011a2a [2022-06-17T14:45:49.871Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T14:45:50.132Z] ---> Running in 7b7a19c0dd4e [2022-06-17T14:45:50.132Z] Removing intermediate container 7b7a19c0dd4e [2022-06-17T14:45:50.132Z] ---> 36c7a25715c1 [2022-06-17T14:45:50.132Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T14:45:50.132Z] ---> Running in a61fb838b45c [2022-06-17T14:45:50.395Z] Removing intermediate container a61fb838b45c [2022-06-17T14:45:50.395Z] ---> f66e04d914f4 [2022-06-17T14:45:50.395Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T14:45:50.395Z] ---> Running in d99af10f5f66 [2022-06-17T14:45:50.395Z] Removing intermediate container d99af10f5f66 [2022-06-17T14:45:50.395Z] ---> ffdeee8ffbe1 [2022-06-17T14:45:50.395Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:45:50.395Z] ---> Running in c541b7f61356 [2022-06-17T14:45:50.964Z] Removing intermediate container c541b7f61356 [2022-06-17T14:45:50.964Z] ---> 6b804022ef8a [2022-06-17T14:45:50.964Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T14:45:50.964Z] ---> Running in 5049ced0434e [2022-06-17T14:45:51.224Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T14:45:52.172Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T14:45:52.433Z] OK: 224 MiB in 56 packages [2022-06-17T14:45:53.008Z] Removing intermediate container 5049ced0434e [2022-06-17T14:45:53.008Z] ---> e10a221fdd63 [2022-06-17T14:45:53.008Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T14:45:53.008Z] ---> dfc2e43976ce [2022-06-17T14:45:53.008Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T14:45:53.008Z] ---> Running in 4648c22e3851 [2022-06-17T14:45:53.581Z] Removing intermediate container 4648c22e3851 [2022-06-17T14:45:53.581Z] ---> 5d7ccaf8b85c [2022-06-17T14:45:53.581Z] Step 10/26 : COPY . . [2022-06-17T14:45:54.153Z] ---> a962368f0837 [2022-06-17T14:45:54.153Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T14:45:54.153Z] ---> Running in ccbcbb3b20cf [2022-06-17T14:45:54.153Z] Removing intermediate container ccbcbb3b20cf [2022-06-17T14:45:54.153Z] ---> 7c35e3bfb12b [2022-06-17T14:45:54.153Z] Step 12/26 : RUN $MAKE [2022-06-17T14:45:54.153Z] ---> Running in cd605e52209a [2022-06-17T14:45:54.414Z] 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-17T14:46:12.522Z] Removing intermediate container cd605e52209a [2022-06-17T14:46:12.522Z] ---> 08ad081ee4b7 [2022-06-17T14:46:12.522Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T14:46:13.094Z] 3.14: Pulling from library/alpine [2022-06-17T14:46:13.354Z] 8663204ce13b: Pulling fs layer [2022-06-17T14:46:13.614Z] 8663204ce13b: Verifying Checksum [2022-06-17T14:46:13.614Z] 8663204ce13b: Download complete [2022-06-17T14:46:13.614Z] 8663204ce13b: Pull complete [2022-06-17T14:46:13.614Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T14:46:13.614Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T14:46:13.614Z] ---> e04c818066af [2022-06-17T14:46:13.614Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T14:46:13.875Z] ---> Running in f11e10faa207 [2022-06-17T14:46:13.875Z] Removing intermediate container f11e10faa207 [2022-06-17T14:46:13.875Z] ---> 217edbddf786 [2022-06-17T14:46:13.875Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:46:13.875Z] ---> Running in dca28944c7a6 [2022-06-17T14:46:14.445Z] Removing intermediate container dca28944c7a6 [2022-06-17T14:46:14.445Z] ---> fc120a7ef48c [2022-06-17T14:46:14.445Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T14:46:14.445Z] ---> Running in 15b6fda2eb41 [2022-06-17T14:46:14.707Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T14:46:15.652Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T14:46:15.912Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T14:46:15.912Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T14:46:15.912Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T14:46:16.173Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T14:46:16.173Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T14:46:16.173Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T14:46:16.432Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T14:46:16.432Z] OK: 8 MiB in 20 packages [2022-06-17T14:46:16.698Z] Removing intermediate container 15b6fda2eb41 [2022-06-17T14:46:16.698Z] ---> b1b4fc53530e [2022-06-17T14:46:16.698Z] Step 17/26 : WORKDIR / [2022-06-17T14:46:16.698Z] ---> Running in 70f581f5c635 [2022-06-17T14:46:16.960Z] Removing intermediate container 70f581f5c635 [2022-06-17T14:46:16.960Z] ---> b19d04479bc1 [2022-06-17T14:46:16.960Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T14:46:16.960Z] ---> 4f3b56d00ff3 [2022-06-17T14:46:16.960Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T14:46:17.220Z] ---> f3a88f515126 [2022-06-17T14:46:17.220Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T14:46:17.793Z] ---> bd824b8815f1 [2022-06-17T14:46:17.793Z] Step 21/26 : EXPOSE 59900 [2022-06-17T14:46:17.793Z] ---> Running in 9e1fe6390d21 [2022-06-17T14:46:17.793Z] Removing intermediate container 9e1fe6390d21 [2022-06-17T14:46:17.793Z] ---> d7cad988d9bd [2022-06-17T14:46:17.793Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T14:46:17.793Z] ---> Running in e42f1614d45f [2022-06-17T14:46:18.053Z] Removing intermediate container e42f1614d45f [2022-06-17T14:46:18.054Z] ---> a668bc921d20 [2022-06-17T14:46:18.054Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T14:46:18.054Z] ---> Running in b249a97ade88 [2022-06-17T14:46:18.054Z] Removing intermediate container b249a97ade88 [2022-06-17T14:46:18.054Z] ---> 2589048da9da [2022-06-17T14:46:18.054Z] Step 24/26 : LABEL arch=amd64 [2022-06-17T14:46:18.054Z] ---> Running in 3a60a1b4043e [2022-06-17T14:46:18.313Z] Removing intermediate container 3a60a1b4043e [2022-06-17T14:46:18.313Z] ---> 5a78753579f6 [2022-06-17T14:46:18.313Z] Step 25/26 : LABEL git_sha=1af9114e22c5bb728a095b2c8f11620960646e7a [2022-06-17T14:46:18.313Z] ---> Running in 721947b547ed [2022-06-17T14:46:18.313Z] Removing intermediate container 721947b547ed [2022-06-17T14:46:18.313Z] ---> 12cae4a2613e [2022-06-17T14:46:18.313Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T14:46:18.313Z] ---> Running in af541d149ad9 [2022-06-17T14:46:18.573Z] Removing intermediate container af541d149ad9 [2022-06-17T14:46:18.573Z] ---> 1210361a4b74 [2022-06-17T14:46:18.573Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T14:46:18.574Z] Successfully built 1210361a4b74 [2022-06-17T14:46:18.574Z] 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-17T14:46:19.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T14:46:19.054Z] [2022-06-17T14:46:19.054Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:46:19.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T14:46:19.361Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T14:46:19.361Z] 5eb5b503b376: Pulling fs layer [2022-06-17T14:46:19.361Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T14:46:19.361Z] ec43610c2a17: Pulling fs layer [2022-06-17T14:46:19.361Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T14:46:19.361Z] 33b1e0a273af: Pulling fs layer [2022-06-17T14:46:19.361Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T14:46:19.361Z] 2f39f015ded8: Pulling fs layer [2022-06-17T14:46:19.361Z] 33b1e0a273af: Waiting [2022-06-17T14:46:19.361Z] 3a2ae6a8a46f: Waiting [2022-06-17T14:46:19.361Z] 5d3b04190fa2: Waiting [2022-06-17T14:46:19.361Z] 2f39f015ded8: Waiting [2022-06-17T14:46:19.361Z] 5c69ac0246d0: Download complete [2022-06-17T14:46:19.361Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T14:46:19.361Z] 3a2ae6a8a46f: Download complete [2022-06-17T14:46:19.361Z] 33b1e0a273af: Verifying Checksum [2022-06-17T14:46:19.361Z] 33b1e0a273af: Download complete [2022-06-17T14:46:19.361Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T14:46:19.361Z] 5d3b04190fa2: Download complete [2022-06-17T14:46:19.361Z] ec43610c2a17: Verifying Checksum [2022-06-17T14:46:19.361Z] ec43610c2a17: Download complete [2022-06-17T14:46:19.622Z] 5eb5b503b376: Verifying Checksum [2022-06-17T14:46:19.622Z] 5eb5b503b376: Download complete [2022-06-17T14:46:20.193Z] 2f39f015ded8: Verifying Checksum [2022-06-17T14:46:20.193Z] 2f39f015ded8: Download complete [2022-06-17T14:46:21.131Z] 5eb5b503b376: Pull complete [2022-06-17T14:46:21.131Z] 5c69ac0246d0: Pull complete [2022-06-17T14:46:21.700Z] ec43610c2a17: Pull complete [2022-06-17T14:46:21.700Z] 3a2ae6a8a46f: Pull complete [2022-06-17T14:46:21.958Z] 33b1e0a273af: Pull complete [2022-06-17T14:46:21.958Z] 5d3b04190fa2: Pull complete [2022-06-17T14:46:27.236Z] 2f39f015ded8: Pull complete [2022-06-17T14:46:27.236Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T14:46:27.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T14:46:27.236Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:46:27.337Z] prd-ubuntu20.04-docker-8c-8g-2586 does not seem to be running inside a container [2022-06-17T14:46:27.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T14:46:28.940Z] $ docker top 7361ab075144841e1e7a1700c66bc5683a6b16d3158254ba9ab051a5d765b1dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:46:29.406Z] ---> job-cost.sh [2022-06-17T14:46:29.406Z] lf-activate-venv: SKIPPING [2022-06-17T14:46:29.406Z] INFO: No Stack... [2022-06-17T14:46:29.681Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T14:46:29.955Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T14:46:30.254Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-17T14:46:30.254Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T14:46:30.268Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-6-stack-cost] [2022-06-17T14:46:30.277Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-6-stack-cost] did not exist. Created. [2022-06-17T14:46:30.277Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T14:46:30.584Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T14:46:30.617Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T14:46:30.626Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T14:46:30.651Z] $ docker stop --time=1 7361ab075144841e1e7a1700c66bc5683a6b16d3158254ba9ab051a5d765b1dc [2022-06-17T14:46:31.811Z] $ docker rm -f 7361ab075144841e1e7a1700c66bc5683a6b16d3158254ba9ab051a5d765b1dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T14:46:47.628Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2587 in /w/workspace/foundry_device-virtual-go_PR-290 [Pipeline] { [Pipeline] ws [2022-06-17T14:46:47.641Z] Running in /w/workspace/device-virtual-go/6 [Pipeline] { [Pipeline] checkout [2022-06-17T14:46:47.693Z] The recommended git tool is: git [2022-06-17T14:46:54.274Z] using credential edgex-jenkins-ssh [2022-06-17T14:46:54.291Z] Cloning the remote Git repository [2022-06-17T14:46:54.344Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T14:46:54.415Z] > git init /w/workspace/device-virtual-go/6 # timeout=10 [2022-06-17T14:46:54.482Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T14:46:54.483Z] > git --version # timeout=10 [2022-06-17T14:46:54.499Z] > git --version # 'git version 2.25.1' [2022-06-17T14:46:54.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T14:46:54.582Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T14:46:56.544Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T14:46:56.563Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T14:46:56.589Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-17T14:46:56.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-17T14:46:56.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T14:46:56.633Z] > 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-17T14:46:57.129Z] Merging remotes/origin/main commit dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a into PR head commit 1af9114e22c5bb728a095b2c8f11620960646e7a [2022-06-17T14:46:57.345Z] Merge succeeded, producing 1af9114e22c5bb728a095b2c8f11620960646e7a [2022-06-17T14:46:57.346Z] Checking out Revision 1af9114e22c5bb728a095b2c8f11620960646e7a (PR-290) [2022-06-17T14:46:57.150Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T14:46:57.172Z] > git checkout -f 1af9114e22c5bb728a095b2c8f11620960646e7a # timeout=10 [2022-06-17T14:46:57.262Z] > git remote # timeout=10 [2022-06-17T14:46:57.280Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T14:46:57.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T14:46:57.306Z] > git merge dce4ce0a514b4bc15d53e5a9f9fadfed4bd3c91a # timeout=10 [2022-06-17T14:46:57.331Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T14:46:57.355Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T14:46:57.370Z] > git checkout -f 1af9114e22c5bb728a095b2c8f11620960646e7a # timeout=10 [2022-06-17T14:47:01.459Z] Commit message: "fix(snap): Use local build snap for testing" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T14:47:02.505Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T14:47:02.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T14:47:02.505Z] Dload Upload Total Spent Left Speed [2022-06-17T14:47:02.505Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 58347 0 --:--:-- --:--:-- --:--:-- 58347 [Pipeline] sh [2022-06-17T14:47:03.189Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T14:47:03.531Z] + sudo tee /etc/docker/daemon.new [2022-06-17T14:47:03.531Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T14:47:03.531Z] { [2022-06-17T14:47:03.531Z] "registry-mirrors": [ [2022-06-17T14:47:03.531Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T14:47:03.531Z] ], [2022-06-17T14:47:03.531Z] "bip": "10.250.0.254/24", [2022-06-17T14:47:03.531Z] "hosts": [ [2022-06-17T14:47:03.531Z] "tcp://0.0.0.0:5555", [2022-06-17T14:47:03.531Z] "unix:///var/run/docker.sock" [2022-06-17T14:47:03.531Z] ], [2022-06-17T14:47:03.531Z] "mtu": 1458, [2022-06-17T14:47:03.531Z] "selinux-enabled": true, [2022-06-17T14:47:03.531Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T14:47:03.531Z] } [Pipeline] sh [2022-06-17T14:47:03.877Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T14:47:04.216Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T14:47:22.560Z] provisioning config files... [2022-06-17T14:47:22.583Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/6@tmp/config2255621959628047341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:47:22.938Z] ---> docker-login.sh [2022-06-17T14:47:22.938Z] nexus3.edgexfoundry.org:10001 [2022-06-17T14:47:23.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:47:23.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:47:23.815Z] Configure a credential helper to remove this warning. See [2022-06-17T14:47:23.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:47:23.815Z] [2022-06-17T14:47:23.815Z] Login Succeeded [2022-06-17T14:47:23.815Z] nexus3.edgexfoundry.org:10002 [2022-06-17T14:47:24.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:47:24.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:47:24.366Z] Configure a credential helper to remove this warning. See [2022-06-17T14:47:24.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:47:24.366Z] [2022-06-17T14:47:24.366Z] Login Succeeded [2022-06-17T14:47:24.366Z] nexus3.edgexfoundry.org:10003 [2022-06-17T14:47:24.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:47:24.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:47:24.639Z] Configure a credential helper to remove this warning. See [2022-06-17T14:47:24.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:47:24.639Z] [2022-06-17T14:47:24.639Z] Login Succeeded [2022-06-17T14:47:24.639Z] nexus3.edgexfoundry.org:10004 [2022-06-17T14:47:25.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:47:25.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:47:25.241Z] Configure a credential helper to remove this warning. See [2022-06-17T14:47:25.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:47:25.241Z] [2022-06-17T14:47:25.241Z] Login Succeeded [2022-06-17T14:47:25.241Z] docker.io [2022-06-17T14:47:25.515Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T14:47:26.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T14:47:26.111Z] Configure a credential helper to remove this warning. See [2022-06-17T14:47:26.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T14:47:26.111Z] [2022-06-17T14:47:26.111Z] Login Succeeded [2022-06-17T14:47:26.111Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T14:47:26.129Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T14:47:26.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T14:47:26.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T14:47:26.657Z] ========================================================= [2022-06-17T14:47:26.657Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T14:47:26.657Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:47:27.027Z] + 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-17T14:47:27.642Z] Sending build context to Docker daemon 11.67MB [2022-06-17T14:47:27.642Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T14:47:27.642Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T14:47:27.642Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T14:47:27.642Z] 9b3977197b4f: Pulling fs layer [2022-06-17T14:47:27.642Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T14:47:27.642Z] 94645a83ff95: Pulling fs layer [2022-06-17T14:47:27.642Z] e6fb740bc735: Pulling fs layer [2022-06-17T14:47:27.642Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T14:47:27.642Z] 355e64cbe906: Pulling fs layer [2022-06-17T14:47:27.642Z] 63ab81a10011: Pulling fs layer [2022-06-17T14:47:27.642Z] 555d1d1c4555: Pulling fs layer [2022-06-17T14:47:27.642Z] 7d9057610161: Pulling fs layer [2022-06-17T14:47:27.642Z] e6fb740bc735: Waiting [2022-06-17T14:47:27.642Z] 3a77bd46dcc9: Waiting [2022-06-17T14:47:27.642Z] 355e64cbe906: Waiting [2022-06-17T14:47:27.642Z] 555d1d1c4555: Waiting [2022-06-17T14:47:27.642Z] 7d9057610161: Waiting [2022-06-17T14:47:27.642Z] 63ab81a10011: Waiting [2022-06-17T14:47:27.642Z] 94645a83ff95: Verifying Checksum [2022-06-17T14:47:27.642Z] 94645a83ff95: Download complete [2022-06-17T14:47:27.642Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T14:47:27.642Z] 1a89e8eeedd5: Download complete [2022-06-17T14:47:27.642Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T14:47:27.642Z] 3a77bd46dcc9: Download complete [2022-06-17T14:47:27.642Z] 355e64cbe906: Download complete [2022-06-17T14:47:27.931Z] 9b3977197b4f: Verifying Checksum [2022-06-17T14:47:27.931Z] 9b3977197b4f: Download complete [2022-06-17T14:47:27.931Z] 63ab81a10011: Verifying Checksum [2022-06-17T14:47:27.931Z] 63ab81a10011: Download complete [2022-06-17T14:47:28.929Z] 9b3977197b4f: Pull complete [2022-06-17T14:47:28.929Z] 7d9057610161: Verifying Checksum [2022-06-17T14:47:28.929Z] 7d9057610161: Download complete [2022-06-17T14:47:29.534Z] 1a89e8eeedd5: Pull complete [2022-06-17T14:47:29.812Z] 94645a83ff95: Pull complete [2022-06-17T14:47:30.087Z] 555d1d1c4555: Verifying Checksum [2022-06-17T14:47:30.087Z] 555d1d1c4555: Download complete [2022-06-17T14:47:30.683Z] e6fb740bc735: Verifying Checksum [2022-06-17T14:47:30.683Z] e6fb740bc735: Download complete [2022-06-17T14:47:43.080Z] e6fb740bc735: Pull complete [2022-06-17T14:47:43.080Z] 3a77bd46dcc9: Pull complete [2022-06-17T14:47:43.080Z] 355e64cbe906: Pull complete [2022-06-17T14:47:43.080Z] 63ab81a10011: Pull complete [2022-06-17T14:47:49.804Z] 555d1d1c4555: Pull complete [2022-06-17T14:47:51.797Z] 7d9057610161: Pull complete [2022-06-17T14:47:51.797Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T14:47:51.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T14:47:51.797Z] ---> 819e984ddca1 [2022-06-17T14:47:51.797Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T14:47:52.401Z] ---> Running in 972b73e0609e [2022-06-17T14:47:52.678Z] Removing intermediate container 972b73e0609e [2022-06-17T14:47:52.678Z] ---> 9ecc054b0b13 [2022-06-17T14:47:52.678Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T14:47:52.958Z] ---> Running in 4f08ec9bd99c [2022-06-17T14:47:53.238Z] Removing intermediate container 4f08ec9bd99c [2022-06-17T14:47:53.238Z] ---> fe3e68c26535 [2022-06-17T14:47:53.238Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-17T14:47:53.238Z] ---> Running in 5350d573c4d4 [2022-06-17T14:47:53.524Z] Removing intermediate container 5350d573c4d4 [2022-06-17T14:47:53.524Z] ---> 7cb2f6185b97 [2022-06-17T14:47:53.524Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:47:53.524Z] ---> Running in b172a5d1ab9d [2022-06-17T14:47:56.936Z] Removing intermediate container b172a5d1ab9d [2022-06-17T14:47:56.936Z] ---> 370ee40951ff [2022-06-17T14:47:56.936Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T14:47:56.936Z] ---> Running in 29088bbe48f5 [2022-06-17T14:47:57.535Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T14:47:58.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T14:47:59.501Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T14:47:59.501Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T14:47:59.501Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T14:47:59.777Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T14:47:59.777Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T14:47:59.777Z] OK: 224 MiB in 56 packages [2022-06-17T14:48:00.764Z] Removing intermediate container 29088bbe48f5 [2022-06-17T14:48:00.764Z] ---> 59501692ebf8 [2022-06-17T14:48:00.764Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-17T14:48:01.373Z] ---> e3574221f49e [2022-06-17T14:48:01.373Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T14:48:01.373Z] ---> Running in b399044d3389 [2022-06-17T14:48:48.353Z] Removing intermediate container b399044d3389 [2022-06-17T14:48:48.353Z] ---> e51341975aaf [2022-06-17T14:48:48.353Z] Step 10/12 : COPY . . [2022-06-17T14:48:48.353Z] ---> 651fba590f0a [2022-06-17T14:48:48.353Z] Step 11/12 : ARG MAKE='make build' [2022-06-17T14:48:48.353Z] ---> Running in 41999619b1f2 [2022-06-17T14:48:48.353Z] Removing intermediate container 41999619b1f2 [2022-06-17T14:48:48.353Z] ---> 7090603d07ab [2022-06-17T14:48:48.353Z] Step 12/12 : RUN $MAKE [2022-06-17T14:48:48.353Z] ---> Running in 03413763855d [2022-06-17T14:48:48.353Z] noop [2022-06-17T14:48:48.353Z] Removing intermediate container 03413763855d [2022-06-17T14:48:48.353Z] ---> 6c822bed1ea2 [2022-06-17T14:48:48.353Z] Successfully built 6c822bed1ea2 [2022-06-17T14:48:48.353Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:48:48.715Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T14:48:48.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:48:48.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-2587 does not seem to be running inside a container [2022-06-17T14:48:49.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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-17T14:48:50.277Z] $ docker top 4a098ac18ed0ef7e8db988eb383ad54afd2e36a38e9736f091802649ba10400b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T14:48:51.152Z] + go version [2022-06-17T14:48:51.152Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T14:48:51.181Z] $ docker stop --time=1 4a098ac18ed0ef7e8db988eb383ad54afd2e36a38e9736f091802649ba10400b [2022-06-17T14:48:52.804Z] $ docker rm -f 4a098ac18ed0ef7e8db988eb383ad54afd2e36a38e9736f091802649ba10400b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:48:53.400Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T14:48:53.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:48:53.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-2587 does not seem to be running inside a container [2022-06-17T14:48:53.723Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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-17T14:48:54.949Z] $ docker top 40886eec39f081e63d90ec929d1b359c20d32e384c2759e44497290c24120abb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T14:48:55.873Z] + make test [2022-06-17T14:48:55.873Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-17T14:48:57.321Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-17T14:50:19.177Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-17T14:50:19.177Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2022-06-17T14:50:19.177Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T14:50:19.177Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T14:50:37.536Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T14:50:37.536Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T14:50:37.536Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T14:50:40.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T14:50:40.976Z] $ docker stop --time=1 40886eec39f081e63d90ec929d1b359c20d32e384c2759e44497290c24120abb [2022-06-17T14:50:42.748Z] $ docker rm -f 40886eec39f081e63d90ec929d1b359c20d32e384c2759e44497290c24120abb [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T14:50:43.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T14:50:43.724Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T14:50:44.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T14:50:44.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T14:50:44.984Z] + ls -al . [2022-06-17T14:50:44.984Z] total 188 [2022-06-17T14:50:44.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 14:50 . [2022-06-17T14:50:44.984Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 14:46 .. [2022-06-17T14:50:44.984Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 14:47 .git [2022-06-17T14:50:44.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:46 .github [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 17 14:46 .gitignore [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 14:46 .golangci.yml [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 8026 Jun 17 14:46 Attribution.txt [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 17 14:46 CHANGELOG.md [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 17 14:46 Dockerfile [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 14:46 GOVERNANCE.md [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 17 14:46 Jenkinsfile [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 14:46 LICENSE [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 17 14:46 Makefile [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 17 14:46 OWNERS.md [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 17 14:46 README.md [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 14:44 VERSION [2022-06-17T14:50:44.984Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 14:46 bin [2022-06-17T14:50:44.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:46 cmd [2022-06-17T14:50:44.984Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 17 14:50 coverage.out [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 3139 Jun 17 14:46 go.mod [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 35006 Jun 17 14:46 go.sum [2022-06-17T14:50:44.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:46 internal [2022-06-17T14:50:44.984Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 14:46 snap [2022-06-17T14:50:44.984Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 17 14:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:50:45.352Z] + 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=1af9114e22c5bb728a095b2c8f11620960646e7a --label arch=arm64 --label version=0.0.0 . [2022-06-17T14:50:45.956Z] Sending build context to Docker daemon 11.72MB [2022-06-17T14:50:45.956Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T14:50:45.956Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-17T14:50:45.956Z] ---> 6c822bed1ea2 [2022-06-17T14:50:45.956Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T14:50:45.956Z] ---> Running in 2452d66979ad [2022-06-17T14:50:46.229Z] Removing intermediate container 2452d66979ad [2022-06-17T14:50:46.229Z] ---> 7096e7649fe1 [2022-06-17T14:50:46.229Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T14:50:46.507Z] ---> Running in 71b8aa050129 [2022-06-17T14:50:46.780Z] Removing intermediate container 71b8aa050129 [2022-06-17T14:50:46.780Z] ---> e398d28554c4 [2022-06-17T14:50:46.780Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-17T14:50:46.780Z] ---> Running in f3740a7e07a2 [2022-06-17T14:50:47.065Z] Removing intermediate container f3740a7e07a2 [2022-06-17T14:50:47.065Z] ---> 852d0ec0be10 [2022-06-17T14:50:47.065Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:50:47.065Z] ---> Running in 7852900ac277 [2022-06-17T14:50:49.069Z] Removing intermediate container 7852900ac277 [2022-06-17T14:50:49.069Z] ---> 21cbde1f5a35 [2022-06-17T14:50:49.069Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T14:50:49.069Z] ---> Running in 88ad0e2db77c [2022-06-17T14:50:49.676Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T14:50:50.681Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T14:50:51.665Z] OK: 224 MiB in 56 packages [2022-06-17T14:50:52.288Z] Removing intermediate container 88ad0e2db77c [2022-06-17T14:50:52.288Z] ---> 35c79ca51cf2 [2022-06-17T14:50:52.288Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-17T14:50:52.888Z] ---> fe4222864969 [2022-06-17T14:50:52.888Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T14:50:52.888Z] ---> Running in 32529c26b648 [2022-06-17T14:50:54.864Z] Removing intermediate container 32529c26b648 [2022-06-17T14:50:54.864Z] ---> f600e9e903d6 [2022-06-17T14:50:54.864Z] Step 10/26 : COPY . . [2022-06-17T14:50:56.308Z] ---> 25d031c7121f [2022-06-17T14:50:56.308Z] Step 11/26 : ARG MAKE='make build' [2022-06-17T14:50:56.308Z] ---> Running in fc46d81956e3 [2022-06-17T14:50:56.308Z] Removing intermediate container fc46d81956e3 [2022-06-17T14:50:56.308Z] ---> 83e5fea52028 [2022-06-17T14:50:56.308Z] Step 12/26 : RUN $MAKE [2022-06-17T14:50:56.582Z] ---> Running in 237fe3fdc7e5 [2022-06-17T14:50:57.565Z] 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-17T14:53:04.439Z] Removing intermediate container 237fe3fdc7e5 [2022-06-17T14:53:04.439Z] ---> 3b0519a3643d [2022-06-17T14:53:04.439Z] Step 13/26 : FROM alpine:3.14 [2022-06-17T14:53:04.439Z] 3.14: Pulling from library/alpine [2022-06-17T14:53:04.439Z] 455c02918c45: Pulling fs layer [2022-06-17T14:53:04.439Z] 455c02918c45: Verifying Checksum [2022-06-17T14:53:04.439Z] 455c02918c45: Download complete [2022-06-17T14:53:04.439Z] 455c02918c45: Pull complete [2022-06-17T14:53:04.439Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T14:53:04.439Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T14:53:04.439Z] ---> ac73e934f311 [2022-06-17T14:53:04.439Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-17T14:53:04.439Z] ---> Running in 37310bbd311e [2022-06-17T14:53:04.439Z] Removing intermediate container 37310bbd311e [2022-06-17T14:53:04.439Z] ---> c80115b48899 [2022-06-17T14:53:04.439Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T14:53:04.439Z] ---> Running in 82aa32e59c09 [2022-06-17T14:53:04.439Z] Removing intermediate container 82aa32e59c09 [2022-06-17T14:53:04.439Z] ---> d858a143171f [2022-06-17T14:53:04.439Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T14:53:04.439Z] ---> Running in f0dd947203ff [2022-06-17T14:53:04.439Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T14:53:04.439Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T14:53:04.439Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T14:53:04.439Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T14:53:04.439Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T14:53:04.439Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T14:53:04.439Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T14:53:04.439Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T14:53:04.439Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T14:53:04.439Z] OK: 8 MiB in 20 packages [2022-06-17T14:53:04.439Z] Removing intermediate container f0dd947203ff [2022-06-17T14:53:04.440Z] ---> c7e9930f4e69 [2022-06-17T14:53:04.440Z] Step 17/26 : WORKDIR / [2022-06-17T14:53:04.440Z] ---> Running in 23c3a9d2bec9 [2022-06-17T14:53:04.440Z] Removing intermediate container 23c3a9d2bec9 [2022-06-17T14:53:04.440Z] ---> 0c4a7056fa3b [2022-06-17T14:53:04.440Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-17T14:53:04.440Z] ---> efe3cf1ccb57 [2022-06-17T14:53:04.440Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-17T14:53:04.440Z] ---> 943ca16265ff [2022-06-17T14:53:04.440Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-17T14:53:04.440Z] ---> 7240e6190ef3 [2022-06-17T14:53:04.440Z] Step 21/26 : EXPOSE 59900 [2022-06-17T14:53:04.440Z] ---> Running in 99fe4cc37f50 [2022-06-17T14:53:04.440Z] Removing intermediate container 99fe4cc37f50 [2022-06-17T14:53:04.440Z] ---> fa4bac6d5c91 [2022-06-17T14:53:04.440Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-17T14:53:04.714Z] ---> Running in 101c1d7908d5 [2022-06-17T14:53:04.989Z] Removing intermediate container 101c1d7908d5 [2022-06-17T14:53:04.989Z] ---> fce24ff7ebba [2022-06-17T14:53:04.989Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T14:53:04.989Z] ---> Running in 9503deaae10b [2022-06-17T14:53:05.270Z] Removing intermediate container 9503deaae10b [2022-06-17T14:53:05.270Z] ---> d4816ea9604e [2022-06-17T14:53:05.270Z] Step 24/26 : LABEL arch=arm64 [2022-06-17T14:53:05.270Z] ---> Running in 73914edf680f [2022-06-17T14:53:05.545Z] Removing intermediate container 73914edf680f [2022-06-17T14:53:05.545Z] ---> 7bd2306483a3 [2022-06-17T14:53:05.545Z] Step 25/26 : LABEL git_sha=1af9114e22c5bb728a095b2c8f11620960646e7a [2022-06-17T14:53:05.821Z] ---> Running in af405d77f7db [2022-06-17T14:53:06.095Z] Removing intermediate container af405d77f7db [2022-06-17T14:53:06.095Z] ---> 1af83167e39e [2022-06-17T14:53:06.095Z] Step 26/26 : LABEL version=0.0.0 [2022-06-17T14:53:06.095Z] ---> Running in bf2b5ec869d5 [2022-06-17T14:53:06.371Z] Removing intermediate container bf2b5ec869d5 [2022-06-17T14:53:06.371Z] ---> 05e40ab7bca7 [2022-06-17T14:53:06.371Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T14:53:06.371Z] Successfully built 05e40ab7bca7 [2022-06-17T14:53:06.371Z] 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-17T14:53:06.840Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T14:53:06.840Z] [2022-06-17T14:53:06.840Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:53:07.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T14:53:07.471Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T14:53:07.471Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T14:53:07.471Z] 04944245beec: Pulling fs layer [2022-06-17T14:53:07.471Z] 699f458cf7ca: Pulling fs layer [2022-06-17T14:53:07.471Z] 765212b225bb: Pulling fs layer [2022-06-17T14:53:07.471Z] f23df028b6ca: Pulling fs layer [2022-06-17T14:53:07.471Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T14:53:07.471Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T14:53:07.471Z] f23df028b6ca: Waiting [2022-06-17T14:53:07.471Z] d65c8cfc05b1: Waiting [2022-06-17T14:53:07.471Z] 2437ff75d9bd: Waiting [2022-06-17T14:53:07.471Z] 765212b225bb: Waiting [2022-06-17T14:53:07.471Z] 04944245beec: Verifying Checksum [2022-06-17T14:53:07.471Z] 04944245beec: Download complete [2022-06-17T14:53:07.471Z] 765212b225bb: Verifying Checksum [2022-06-17T14:53:07.471Z] 765212b225bb: Download complete [2022-06-17T14:53:07.471Z] f23df028b6ca: Verifying Checksum [2022-06-17T14:53:07.471Z] f23df028b6ca: Download complete [2022-06-17T14:53:07.471Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T14:53:07.471Z] d65c8cfc05b1: Download complete [2022-06-17T14:53:07.749Z] 699f458cf7ca: Verifying Checksum [2022-06-17T14:53:07.749Z] 699f458cf7ca: Download complete [2022-06-17T14:53:08.029Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T14:53:08.029Z] 8998bd30e6a1: Download complete [2022-06-17T14:53:10.663Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T14:53:10.663Z] 2437ff75d9bd: Download complete [2022-06-17T14:53:12.647Z] 8998bd30e6a1: Pull complete [2022-06-17T14:53:12.647Z] 04944245beec: Pull complete [2022-06-17T14:53:14.634Z] 699f458cf7ca: Pull complete [2022-06-17T14:53:14.634Z] 765212b225bb: Pull complete [2022-06-17T14:53:15.235Z] f23df028b6ca: Pull complete [2022-06-17T14:53:15.509Z] d65c8cfc05b1: Pull complete [2022-06-17T14:53:30.617Z] 2437ff75d9bd: Pull complete [2022-06-17T14:53:30.617Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T14:53:30.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T14:53:30.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:53:30.901Z] prd-ubuntu20.04-docker-arm64-4c-16g-2587 does not seem to be running inside a container [2022-06-17T14:53:31.019Z] $ 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/6 -v /w/workspace/device-virtual-go/6:/w/workspace/device-virtual-go/6:rw,z -v /w/workspace/device-virtual-go/6@tmp:/w/workspace/device-virtual-go/6@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-17T14:53:33.553Z] $ docker top 9c920c7df92fddb86ea6f528ff08de1156594872658978cc1775755887a9843c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:53:34.460Z] ---> job-cost.sh [2022-06-17T14:53:34.460Z] lf-activate-venv: SKIPPING [2022-06-17T14:53:34.460Z] INFO: No Stack... [2022-06-17T14:53:34.732Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T14:53:35.711Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T14:53:36.389Z] + cut -d, -f6 [2022-06-17T14:53:36.389Z] + cat /w/workspace/device-virtual-go/6/archives/cost.csv [Pipeline] lock [2022-06-17T14:53:36.453Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-6-stack-cost] [2022-06-17T14:53:36.458Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-6-stack-cost] did not exist. Created. [2022-06-17T14:53:36.459Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T14:53:37.150Z] /w/workspace/device-virtual-go/6@tmp/durable-3bf485f9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T14:53:37.833Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T14:53:37.866Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T14:53:37.920Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T14:53:37.930Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T14:53:37.964Z] $ docker stop --time=1 9c920c7df92fddb86ea6f528ff08de1156594872658978cc1775755887a9843c [2022-06-17T14:53:39.455Z] $ docker rm -f 9c920c7df92fddb86ea6f528ff08de1156594872658978cc1775755887a9843c [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-17T14:53:39.892Z] provisioning config files... [2022-06-17T14:53:39.902Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config214825124126610895tmp [Pipeline] { [Pipeline] sh [2022-06-17T14:53:40.204Z] + set +x [2022-06-17T14:53:40.204Z] + curl -s https://codecov.io/bash [2022-06-17T14:53:40.204Z] + bash -s -- [2022-06-17T14:53:40.204Z] [2022-06-17T14:53:40.204Z] _____ _ [2022-06-17T14:53:40.204Z] / ____| | | [2022-06-17T14:53:40.204Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T14:53:40.204Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T14:53:40.204Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T14:53:40.204Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T14:53:40.204Z] Bash-1.0.6 [2022-06-17T14:53:40.204Z] [2022-06-17T14:53:40.204Z] [2022-06-17T14:53:40.204Z] ==> git version 2.25.1 found [2022-06-17T14:53:40.204Z] ==> 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-17T14:53:40.204Z] Release-Date: 2020-01-08 [2022-06-17T14:53:40.204Z] 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-17T14:53:40.204Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T14:53:40.204Z] ==> Jenkins CI detected. [2022-06-17T14:53:40.204Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-17T14:53:40.204Z] project root: . [2022-06-17T14:53:40.204Z] --> token set from env [2022-06-17T14:53:40.204Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T14:53:40.204Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T14:53:40.204Z] ==> Python coveragepy not found [2022-06-17T14:53:40.204Z] ==> Searching for coverage reports in: [2022-06-17T14:53:40.204Z] + . [2022-06-17T14:53:40.204Z] -> Found 1 reports [2022-06-17T14:53:40.204Z] ==> Detecting git/mercurial file structure [2022-06-17T14:53:40.204Z] ==> Reading reports [2022-06-17T14:53:40.204Z] + ./coverage.out bytes=44128 [2022-06-17T14:53:40.204Z] ==> Appending adjustments [2022-06-17T14:53:40.204Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T14:53:40.466Z] + Found adjustments [2022-06-17T14:53:40.466Z] ==> Gzipping contents [2022-06-17T14:53:40.466Z] 8.0K /tmp/codecov.McNMZl.gz [2022-06-17T14:53:40.466Z] ==> Uploading reports [2022-06-17T14:53:40.466Z] url: https://codecov.io [2022-06-17T14:53:40.466Z] query: branch=PR-290&commit=1af9114e22c5bb728a095b2c8f11620960646e7a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-17T14:53:40.466Z] -> Pinging Codecov [2022-06-17T14:53:40.466Z] 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=1af9114e22c5bb728a095b2c8f11620960646e7a&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-17T14:53:40.729Z] -> Uploading to [2022-06-17T14:53:40.729Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/5E52B4B073DB2E39498172D8E973AA87/1af9114e22c5bb728a095b2c8f11620960646e7a/524daf66-25ac-4f34-8bff-96c75cab9073.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T145340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25238e27519b559a086e25e7cf0ba1b47c7b5f55034c9539d5665634fdf1f282 [2022-06-17T14:53:40.729Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T14:53:40.729Z] Dload Upload Total Spent Left Speed [2022-06-17T14:53:40.990Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5490 0 0 100 5490 0 24400 --:--:-- --:--:-- --:--:-- 24292 [2022-06-17T14:53:40.990Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/1af9114e22c5bb728a095b2c8f11620960646e7a [Pipeline] } [2022-06-17T14:53:41.000Z] 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-17T14:53:41.699Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-17T14:53:41.699Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T14:53:41.699Z] total 16 [2022-06-17T14:53:41.699Z] drwxr-xr-x 3 root root 4096 Jun 17 14:46 . [2022-06-17T14:53:41.699Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 14:46 .. [2022-06-17T14:53:41.699Z] drwxr-xr-x 2 root root 4096 Jun 17 14:46 cost [2022-06-17T14:53:41.699Z] -rw-r--r-- 1 root root 88 Jun 17 14:46 cost.csv [2022-06-17T14:53:41.699Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T14:53:41.699Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-17T14:53:41.699Z] total 16 [2022-06-17T14:53:41.699Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 14:46 . [2022-06-17T14:53:41.699Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 14:46 .. [2022-06-17T14:53:41.699Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 14:46 cost [2022-06-17T14:53:41.699Z] -rw-r--r-- 1 jenkins jenkins 88 Jun 17 14:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:53:41.993Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:53:42.860Z] ---> package-listing.sh [2022-06-17T14:53:42.861Z] ++ facter osfamily [2022-06-17T14:53:42.861Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T14:53:43.123Z] + OS_FAMILY=debian [2022-06-17T14:53:43.123Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-17T14:53:43.123Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T14:53:43.123Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T14:53:43.123Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T14:53:43.123Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T14:53:43.123Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-17T14:53:43.123Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T14:53:43.123Z] + case "${OS_FAMILY}" in [2022-06-17T14:53:43.123Z] + dpkg -l [2022-06-17T14:53:43.123Z] + grep '^ii' [2022-06-17T14:53:43.123Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T14:53:43.123Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T14:53:43.123Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T14:53:43.123Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-17T14:53:43.123Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-17T14:53:43.123Z] + 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-17T14:53:43.132Z] 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-17T14:53:43.412Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T14:53:43.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T14:53:43.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T14:53:44.067Z] prd-ubuntu20.04-docker-8c-8g-2586 does not seem to be running inside a container [2022-06-17T14:53:44.106Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T14:53:44.349Z] $ docker top e1abdd30752eb6ea688d6dc927e966237e831d20a9b5f27c01de43fbb07ffe1c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T14:53:44.708Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T14:53:45.000Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T14:53:45.293Z] + ls /var/log/sa-host [2022-06-17T14:53:45.293Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T14:53:45.430Z] provisioning config files... [2022-06-17T14:53:45.440Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config4669333519309282194tmp [Pipeline] { [Pipeline] echo [2022-06-17T14:53:45.457Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:53:45.741Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T14:53:45.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:53:46.088Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T14:53:46.098Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:53:46.387Z] ---> sudo-logs.sh [2022-06-17T14:53:46.387Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T14:53:46.419Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:53:46.708Z] ---> job-cost.sh [2022-06-17T14:53:46.708Z] lf-activate-venv: SKIPPING [2022-06-17T14:53:46.708Z] DEBUG: total: 0.2199999988079071 [2022-06-17T14:53:46.708Z] INFO: Retrieving Stack Cost... [2022-06-17T14:53:46.971Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T14:53:47.543Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T14:53:47.555Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T14:53:47.843Z] ---> logs-deploy.sh [2022-06-17T14:53:47.843Z] lf-activate-venv: SKIPPING [2022-06-17T14:53:47.843Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/6 [2022-06-17T14:53:47.843Z] INFO: archiving workspace using pattern(s): [2022-06-17T14:53:48.787Z] Archives upload complete. [2022-06-17T14:53:48.787Z] INFO: archiving logs to Nexus